ia64: fix build failure after async tls updates
[glibc.git] / ChangeLog
blob2acd69d9832e2ae55ac1e0979fa885d0a42eb8b6
1 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
3         * nscd/nscd.c: Improve usage() output.
5 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
7         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8         * sysdeps/unix/sysv/linux/configure: Regenerated.
9         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14         [BZ #16390]
15         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21         extra tokens at end of #undef directive.
22         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26 2014-01-03  Andrew Hunter  <ahh@google.com>
28         * elf/dl-open.c (dl_open_worker): New comment.
29         * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
30         atomic_compare_and_exchange_bool_acq
31         (_dl_allocate_static_tls): Block signals.
32         * elf/dl-tls.c (allocate_and_init): Return void.
33         (_dl_update_slotinfo): Block signals, use atomic update.
35 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39         * math/auto-libm-test-in: Mark various tests with
40         xfail-rounding:ldbl-128ibm.
41         * math/auto-libm-test-out: Regenerated.
43 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45         [BZ #16386]
46         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47         numbers with subnormal high part when calculating exponent.
49         [BZ #16385]
50         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51         fabs.
53         [BZ #16384]
54         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
55         M_LN2l.
56         (__ieee754_acoshl): Use __log1pl not __log1p.
58 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
60         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
61         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
62         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
63         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
64         Convert to GNU style.
65         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
66         mem2mem_check, mem2chunk_check, top_check, realloc_check,
67         memalign_check, __malloc_set_state): Likewise.
68         * malloc/mallocbug.c (main): Likewise.
69         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
70         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
71         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
72         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
73         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
74         * malloc/malloc.h: Likewise.
75         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
76         memalignhook, reallochook, mabort): Likewise.
77         * malloc/mcheck.h: Likewise.
78         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
79         mmap64, mremap, munmap, dest): Likewise.
80         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
81         * malloc/morecore.c (__default_morecore): Likewise.
82         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
83         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
84         _obstack_allocated_p, obstack_free, _obstack_memory_used,
85         print_and_abort): Likewise.
86         * malloc/obstack.h: Likewise.
87         * malloc/set-freeres.c (__libc_freeres): Likewise.
88         * malloc/tst-mallocstate.c (main): Likewise.
89         * malloc/tst-mtrace.c (main): Likewise.
90         * malloc/tst-realloc.c (do_test): Likewise.
92 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
94         [BZ #16366]
95         * nscd/netgroupcache.c (do_notfound): New function.
96         (addgetnetgrentX): Use it.
98         [BZ # 16365]
99         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
100         NSS_STATUS_NOTFOUND.
102 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
104         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
107 2014-01-01  Allan McRae  <allan@archlinux.org>
109         * scripts/update-copyrights: Update configure input file suffix.
111         * NEWS: Update copyright year.
112         * catgets/gencat.c: Likewise.
113         * csu/version.c: Likewise.
114         * debug/catchsegv.sh: Likewise.
115         * debug/pcprofiledump.c: Likewise.
116         * debug/xtrace.sh: Likewise.
117         * elf/ldconfig.c: Likewise.
118         * elf/ldd.bash.in: Likewise.
119         * elf/pldd.c: Likewise.
120         * elf/sotruss.ksh: Likewise.
121         * elf/sprof.c: Likewise.
122         * iconv/iconv_prog.c: Likewise.
123         * iconv/iconvconfig.c: Likewise.
124         * locale/programs/locale.c: Likewise.
125         * locale/programs/localedef.c: Likewise.
126         * login/programs/pt_chown.c: Likewise.
127         * malloc/memusage.sh: Likewise.
128         * malloc/memusagestat.c: Likewise.
129         * malloc/mtrace.pl: Likewise.
130         * manual/libc.texinfo: Likewise.
131         * nscd/nscd.c: Likewise.
132         * nss/getent.c: Likewise.
133         * nss/makedb.c: Likewise.
134         * posix/getconf.c: Likewise.
135         * scripts/test-installation.pl: Likewise.
137         * All files with FSF copyright notices: Update copyright dates
138         using scripts/update-copyrights.
139         * intl/plural.c: Regenerated.
140         * locale/programs/charmap-kw.h: Likewise.
141         * locale/programs/locfile-kw.h: Likewise.
143 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
145         * sysdeps/unix/sysv/linux/configure: Regenerated.
146         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
147         the linux/fanotify.h header.
148         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
149         HAVE_LINUX_FANOTIFY_H is defined.
151 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
153         * benchtests/cos-inputs: New inputs.
154         * benchtests/sin-inputs: Likewise.
156         * benchtests/atan-inputs: New inputs. Fix name of multiple
157         precision fallback inputs.
159         * benchtests/atanh-inputs: New inputs.
160         * benchtests/tanh-inputs: Likewise.
162         * benchtests/acosh-inputs: New inputs.
163         * benchtests/asinh-inputs: Likewise.
165         * benchtests/cosh-inputs: New inputs.
166         * benchtests/sinh-inputs: Likewise.
168         * benchtests/acos-inputs: Add more inputs.
169         * benchtests/asin-inputs: Likewise.
171 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
173         [BZ #16375]
174         * manual/arith.texi: Fix spelling.
175         * manual/charset.texi: Likewise.
176         * manual/errno.texi: Likewise.
177         * manual/filesys.texi: Likewise.
178         * manual/lang.texi: Likewise.
179         * manual/llio.texi: Likewise.
180         * manual/locale.texi: Likewise.
181         * manual/message.texi: Likewise.
182         * manual/resource.texi: Likewise.
183         * manual/search.texi: Likewise.
184         * manual/setjmp.texi: Likewise.
185         * manual/stdio.texi: Likewise.
186         * manual/string.texi: Likewise.
187         * manual/sysinfo.texi: Likewise.
188         * manual/time.texi: Likewise.
190 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
192         * po/sl.po: New file.
194 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
196         * .gitignore: Add core/.gdbinit/.gdb_history.
198 2013-12-27  Allan McRae  <allan@archlinux.org>
200         [BZ #16369]
201         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
202         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
204 2013-12-24  Brooks Moses  <bmoses@google.com>
206         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
207         all compilers that claim C++98 compliance, not just GCC.
208         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
209         Likewise.
211 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
213         * NEWS: Restore accidentally deleted bug-fix entries.
215 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
216             Ondřej Bílka  <neleai@seznam.cz>
218         [BZ #15073]
219         * malloc/malloc.c (_int_free): Perform sanity check only if we
220         have_lock.
222 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
224         [BZ #12986]
225         * manual/stdio.texi (String Input Conversions): Clarify that character
226         classes are not supported.
228 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
232 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
234         [BZ #16337]
235         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
236         Calculate results for small negative arguments directly rather
237         than using reflection formula with special underflow handling.
239         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
240         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
241         sysdeps/unix/bsd/bsd4.4/syscalls.list.
242         (fchflags): Likewise.
243         (revoke): Likewise.
244         (setlogin): Likewise.
245         (sigaltstack): Likewise.
246         (wait4): Likewise.
247         (sigblock): Remove.
248         (sigsetmask): Likewise.
249         (wait3): Likewise.
250         (waitpid): Likewise.
251         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
252         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
253         file.
254         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
255         * sysdeps/unix/bsd/Makefile: ... here.
256         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
257         * sysdeps/unix/bsd/Versions: ... here.
258         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
259         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
260         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
261         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
262         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
263         * sysdeps/unix/bsd/sigblock.c: ... here.
264         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
265         * sysdeps/unix/bsd/sigsetmask.c: ... here.
266         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
267         * sysdeps/unix/bsd/sigvec.c: ... here.
268         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
269         * sysdeps/unix/bsd/tcdrain.c: ... here.
270         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
271         * sysdeps/unix/bsd/tcgetattr.c: ... here.
272         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
273         * sysdeps/unix/bsd/tcsetattr.c: ... here.
274         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
275         * sysdeps/unix/bsd/wait.c: ... here.
276         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
277         * sysdeps/unix/bsd/wait3.c: ... here.
278         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
279         * sysdeps/unix/bsd/waitpid.c: ... here.
281 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
283         [BZ #16356]
284         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
285         round-to-nearest for [!USE_AS_EXPM1L].
286         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
287         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
288         more tests of exp and exp10.  Expect some exp10 tests to miss
289         exceptions or fail in directed rounding modes.
290         * math/auto-libm-test-out: Regenerated.
291         * math/libm-test.inc (exp10_tonearest_test_data): New array.
292         (exp10_test_tonearest): New function.
293         (exp10_towardzero_test_data): New array.
294         (exp10_test_towardzero): New function.
295         (exp10_downward_test_data): New array.
296         (exp10_test_downward): New function.
297         (exp10_upward_test_data): New array.
298         (exp10_test_upward): New function.
299         (main): Call the new functions.
300         * sysdeps/i386/fpu/libm-test-ulps: Update.
301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
303 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
305         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
306         asinh, atan, atan2, atanh, cbrt, cos and cosh.
307         * math/auto-libm-test-out: Regenerated.
308         * math/libm-test.inc (acosh_test_data): Add more tests.
309         (atanh_test_data): Likewise.
310         (ceil_test_data): Likewise.
311         (copysign_test_data): Likewise.
312         * sysdeps/i386/fpu/libm-test-ulps: Update.
313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
315         * timezone/checktab.awk: Update from tzcode 2013i.
316         * timezone/private.h: Likewise.
317         * timezone/scheck.c: Likewise.
318         * timezone/tzfile.h: Likewise.
319         * timezone/tzselect.ksh: Likewise.
320         * timezone/zdump.c: Likewise.
321         * timezone/zic.c: Likewise.
323         * math/auto-libm-test-in: Add tests of cpow.
324         * math/auto-libm-test-out: Regenerated.
325         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
326         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
327         mpc_cc_c.
328         (func_calc_desc): Add mpc_cc_c union field.
329         (test_functions): Add cpow.
330         (special_fill_2pi): New function.
331         (special_real_inputs): Add 2pi.
332         (calc_generic_results): Handle mpc_cc_c.
333         * sysdeps/i386/fpu/libm-test-ulps: Update.
334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
336         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
337         csqrt, ctan and ctanh.
338         * math/auto-libm-test-out: Regenerated.
339         * math/libm-test.inc (TEST_COND_x86_64): New macro.
340         (TEST_COND_x86): Likewise.
341         (ccos_test_data): Use AUTO_TESTS_c_c.
342         (ccosh_test_data): Likewise.
343         (cexp_test_data): Likewise.
344         (clog_test_data): Likewise.
345         (csqrt_test_data): Likewise.
346         (ctan_test_data): Likewise.
347         (ctan_tonearest_test_data): Likewise.
348         (ctan_towardzero_test_data): Likewise.
349         (ctan_downward_test_data): Likewise.
350         (ctan_upward_test_data): Likewise.
351         (ctanh_test_data): Likewise.
352         (ctanh_tonearest_test_data): Likewise.
353         (ctanh_towardzero_test_data): Likewise.
354         (ctanh_downward_test_data): Likewise.
355         (ctanh_upward_test_data): Likewise.
356         * math/gen-auto-libm-tests.c (func_calc_method): Add value
357         mpc_c_c.
358         (func_calc_desc): Add mpc_c_c union field.
359         (FUNC_mpc_c_c): New macro.
360         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
361         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
362         ctanh.
363         (special_fill_min_subnorm_p120): New function.
364         (special_real_inputs): Add min_subnorm_p120.
365         (calc_generic_results): Handle mpc_c_c.
366         * sysdeps/i386/fpu/libm-test-ulps: Update.
367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
369 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
371         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
372         do_sin_slow): New functions.
373         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
374         cslow2, csloww1, csloww2): Use the new functions.
376         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
377         Use M to change sign of result instead of X.  Assume X is
378         positive.
379         (csloww1): Likewise.
380         (__sin): Adjust.
381         (__cos): Adjust.
383         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
384         arguments A and DA.
385         (__sin): Adjust.
386         (__cos): Likewise.
388         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
389         (__cos): Likewise.
390         (sloww1): Don't adjust sign of DX.
391         (csloww1): Likewise.
392         (sloww2): Use X directly and don't adjust sign of DX.
393         (csloww2): Likewise.
395 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
397         * math/auto-libm-test-in: Add tests of cabs and carg.
398         * math/auto-libm-test-out: Regenerated.
399         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
400         (carg_test_data): Likewise.
401         * math/gen-auto-libm-tests.c (func_calc_method): Add value
402         mpc_c_f.
403         (func_calc_desc): Add mpc_c_f union field.
404         (test_functions): Add cabs and carg.
405         (calc_generic_results): Handle mpc_c_f.
407         * sysdeps/powerpc/powerpc32/libgcc-compat.S
408         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
409         as a macro and a compat symbol.
410         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
411         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
412         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
413         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
414         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
415         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
416         not use .hidden.
417         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
418         Likewise.
419         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
420         Likewise.
421         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
422         Likewise.
423         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
424         Likewise.
425         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
426         Likewise.
427         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
428         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
429         from GLIBC_2.3.2.
431 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
435 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
437         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
438         (__signal_safe_memalign, __signal_safe_free): Use it.
439         (__signal_safe_realloc): Likewise.
441 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
443         * manual/texinfo.tex: Update to version 2013-11-26.10 with
444         trailing whitespace removed.
445         * scripts/config.guess: Update to version 2013-11-29.
446         * scripts/config.sub: Update to version 2013-10-01.
448         * math/auto-libm-test-in: Add tests of sincos.
449         * math/auto-libm-test-out: Regenerated.
450         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
451         * math/gen-auto-libm-tests.c (func_calc_method): Add value
452         mpfr_f_11.
453         (func_calc_desc): Add mpfr_f_11 union field.
454         (test_functions): Add sincos.
455         (calc_generic_results): Handle mpfr_f_11.
456         * sysdeps/i386/fpu/libm-test-ulps: Update.
457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
459 2013-12-19  Andreas Schwab  <schwab@suse.de>
461         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
462         CALL_MCOUNT.
463         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
464         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
465         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
467 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
469         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
470         * sysdeps/i386/fpu/libm-test-ulps: Update.
471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
473         [BZ #16293]
474         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
475         round-to-nearest mode when using frndint.
476         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
477         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
478         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
479         Likewise.
480         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
481         sinh test to fail.
482         * math/auto-libm-test-out: Regenerated.
483         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
484         (TEST_COND_x86): Likewise.
485         (expm1_tonearest_test_data): New array.
486         (expm1_test_tonearest): New function.
487         (expm1_towardzero_test_data): New array.
488         (expm1_test_towardzero): New function.
489         (expm1_downward_test_data): New array.
490         (expm1_test_downward): New function.
491         (expm1_upward_test_data): New array.
492         (expm1_test_upward): New function.
493         (main): Run the new test functions.
494         * sysdeps/i386/fpu/libm-test-ulps: Update.
495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
497         * include/features.h: Update comment documenting feature test
498         macros.  Mention _DEFAULT_SOURCE in comment.
499         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
500         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
501         _BSD_SOURCE and _SVID_SOURCE.
502         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
503         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
504         !_SVID_SOURCE]: Likewise.
505         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
506         (__USE_POSIX_IMPLICITLY): Define.
507         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
508         (_POSIX_SOURCE): Undefine and redefine.
509         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
510         (_POSIX_C_SOURCE): Likewise.
511         * manual/creature.texi (_DEFAULT_SOURCE): Document.
512         (Feature Test Macros): Update documentation of default features.
514 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
516         * benchtests/Makefile: Add bench-strtok.
517         * benchtests/bench-strtok.c: New file: strtok benchtest.
519 2013-12-19  Allan McRae  <allan@archlinux.org>
521         * manual/install.texi: Suppress menu for plain text output.
522         * INSTALL: Regenerated.
524 2013-12-18  Andrew Hunter  <ahh@google.com>
526         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
527         (__signal_safe_malloc, __signal_safe_free): Likewise.
528         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
529         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
530         (__signal_safe_memalign, __signal_safe_malloc): New function.
531         (__signal_safe_free, __signal_safe_realloc): Likewise.
532         (__signal_safe_calloc): Likewise.
533         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
534         functions.
535         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
537 2013-12-18  Andrew Hunter  <ahh@google.com>
539         * elf/Versions (ld): Add _dl_clear_dtv.
540         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
541         * elf/dl-tls.c (_dl_clear_dtv): New function.
542         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
544 2013-12-18  Andrew Hunter  <ahh@google.com>
546         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
547         (_dl_unmask_signals): Likewise.
548         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
549         (_dl_unmask_all_signals): Likewise.
550         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
551         (_dl_unmask_all_signals): Likewise.
552         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
553         (_dl_unmask_signals): Likewise.
555 2013-12-18  Brooks Moses  <bmoses@google.com>
557         [BZ #15846]
558         * misc/getauxval.c: Include errno.h.
559         (__getauxval): Set errno to ENOENT if the requested type is not
560         found.
561         * misc/sys/auxv.h (getauxval): Document that it may set errno;
562         don't declare with __attribute_const__.
563         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
564         * manual/startup.texi: Document that getauxval sets errno.
566 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
568         * math/auto-libm-test-in: Add tests of jn and yn.
569         * math/auto-libm-test-out: Regenerated.
570         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
571         (yn_test_data): Likewise.
572         * math/gen-auto-libm-tests.c (func_calc_method): Add value
573         mpfr_if_f.
574         (func_calc_desc): Add mpfr_if_f union field.
575         (FUNC_mpfr_if_f): New macro.
576         (test_functions): Add jn and yn.
577         (calc_generic_results): Assert type of second input for
578         mpfr_ff_f.  Handle mpfr_if_f.
579         (output_for_one_input_case): Disable all checking for arguments
580         fitting floating-point types in case of an integer argument.
581         * sysdeps/i386/fpu/libm-test-ulps: Update.
582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
585         Don't expect fegetround reference in libm.so.
587 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
589         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
590         $(config-cflags-nofma).
592 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
594         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
595         * math/auto-libm-test-out: Regenerated.
597         [BZ #16338]
598         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
599         to determine exponent and adjust argument to have exponent of -1.
600         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
601         log2.
602         * math/auto-libm-test-out: Regenerated.
603         * sysdeps/i386/fpu/libm-test-ulps: Update.
604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
606 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
608         * manual/probes.texi: Remove cases when per-thread arenas are
609         disabled.
611 2013-12-18  Andreas Schwab  <schwab@suse.de>
613         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
614         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
615         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
616         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
617         * sysdeps/i386/i686/multiarch/Makefile: Update.
618         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
620 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
622         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
623         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
625 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
627         Support TZ transition times < 00:00:00.
628         This is needed for version-3 tz-format files; it supports time
629         stamps past 2037 for America/Godthab (the only entry in the tz
630         database for which this change is relevant).
631         * manual/time.texi (TZ Variable): Document transition times
632         from -167:59:59 through -00:00:01.
633         * time/tzset.c (tz_rule): Time of day is now signed.
634         (__tzset_parse_tz): Parse negative time of day.
636         Document TZ transition times >= 25:00:00.
637         * manual/time.texi (TZ Variable): Document transition times from
638         25:00:00 through 167:59:59.  These are already supported, and this
639         support will help with version-3 tz-format files.
641         * manual/time.texi (TZ Variable): Modernize North America example
642         to reflect current (i.e., 2007-and-later) daylight saving rules.
644         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
646 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
648         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
649         * sysdeps/unix/bsd/bits/stat.h: Likewise.
650         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
651         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
652         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
653         * sysdeps/unix/bsd/bsdstat.h: Likewise.
654         * sysdeps/unix/bsd/clock.c: Likewise.
655         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
656         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
657         * sysdeps/unix/bsd/init-posix.c: Likewise.
658         * sysdeps/unix/bsd/poll.c: Likewise.
659         * sysdeps/unix/bsd/ptsname.c: Likewise.
660         * sysdeps/unix/bsd/seekdir.c: Likewise.
661         * sysdeps/unix/bsd/setegid.c: Likewise.
662         * sysdeps/unix/bsd/seteuid.c: Likewise.
663         * sysdeps/unix/bsd/setgid.c: Likewise.
664         * sysdeps/unix/bsd/setrgid.c: Likewise.
665         * sysdeps/unix/bsd/setruid.c: Likewise.
666         * sysdeps/unix/bsd/setsid.c: Likewise.
667         * sysdeps/unix/bsd/setuid.c: Likewise.
668         * sysdeps/unix/bsd/sigaction.c: Likewise.
669         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
670         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
671         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
672         * sysdeps/unix/bsd/telldir.c: Likewise.
673         * sysdeps/unix/bsd/times.c: Likewise.
674         * sysdeps/unix/bsd/usleep.c: Likewise.
676         * misc/Makefile (install-lib): Remove libbsd-compat.a.
677         ($(objpfx)libbsd-compat.a): Remove rule.
679         * include/features.h (__FAVOR_BSD): Do not define.
680         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
681         features conflicting with POSIX.
682         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
683         (_BSD_SOURCE): Remove description of not being a subset of other
684         feature test macros.
685         * manual/job.texi (getpgrp): Do not document BSD version.
686         (getpgid): Do not document by reference to BSD getpgrp.
687         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
688         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
689         * signal/signal.h [__FAVOR_BSD]: Likewise.
690         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
691         instead of making contents conditional on [__FAVOR_BSD].
692         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
694 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
698 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
700         [BZ #16314]
701         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
702         values below 2**-450, not 2**-500.
703         * math/auto-libm-test-in: Don't allow spurious underflow from
704         hypot.
705         * math/auto-libm-test-out: Regenerated.
707         [BZ #16316]
708         [BZ #16330]
709         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
710         values of ha and hb and sort them after adjusting subnormal
711         arguments.
712         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
713         Likewise.
714         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
715         values of ea and eb and sort them after adjusting subnormal
716         arguments.
717         * math/auto-libm-test-in: Do not expect some hypot tests of
718         subnormals to fail.  Add more hypot tests.
719         * math/auto-libm-test-out: Regenerated.
721 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
723         [BZ #13304]
724         * sysdeps/sh/s_fma.c: New file.
725         * sysdeps/sh/s_fmaf.c: New file.
726         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
727         version.
728         * sysdeps/sh/Implies: Add sh/soft-fp.
730 2013-12-16  Roland McGrath  <roland@hack.frob.com>
732         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
733         level of indirection to members `objname', `errstring', `malloced'.
734         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
735         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
736         it as the __longjmp argument (just pass 1 instead).
737         (_dl_catch_error): Initialize C with argument pointers and address of
738         volatile local ERRCODE rather than copying values out of C at return.
740 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
742         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
743         * math/auto-libm-test-out: Regenerated.
744         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
745         (hypot_test_data): Likewise.
746         (pow_test_data): Likewise.
747         (pow_tonearest_test_data): Likewise.
748         * math/gen-auto-libm-tests.c (func_calc_method): Add value
749         mpfr_ff_f.
750         (func_calc_desc): Add mpfr_ff_f union field.
751         (FUNC_mpfr_ff_f): New macro.
752         (test_functions): Add atan2, hypot and pow.
753         (special_fill_min): New function.
754         (special_fill_minus_min): Likewise.
755         (special_fill_min_subnorm): Likewise.
756         (special_fill_minus_min_subnorm): Likewise.
757         (special_real_inputs): Add min, -min, min_subnorm and
758         -min_subnorm.
759         (calc_generic_results): Handle mpfr_ff_f.
760         * sysdeps/i386/fpu/libm-test-ulps: Update.
761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
763 2013-12-16  Will Newton  <will.newton@linaro.org>
765         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
766         (Aligned Memory Blocks): Add documentation for aligned_alloc
767         and suggest it as an alternative to posix_memalign.
768         (Hooks for Malloc): Document __memalign_hook is also called
769         for aligned_alloc.  (Summary of Malloc): Add summary for
770         aligned alloc.  Document __memalign_hook is also called
771         for aligned_alloc.
773 2013-12-16  Will Newton  <will.newton@linaro.org>
775         * manual/memory.texi (Malloc Examples): Clarify default
776         alignment documentation.  Suggest posix_memalign rather
777         than memalign or valloc.
778         (Aligned Memory Blocks): Remove suggestion to use memalign
779         or valloc.  Remove obsolete comment about BSD.
780         Document memalign errno values and mark the function obsolete.
781         Document posix_memalign returned error codes.  Mark valloc
782         as obsolete.  (Hooks for Malloc): __memalign_hook is also
783         called for posix_memalign and valloc.
784         (Summary of Malloc): Add posix_memalign to function summary.
785         __memalign_hook is also called for posix_memalign and valloc.
787 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
789         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
790         TAYLOR_SIN.
791         (__sin): Adjust.
792         (__cos): Likewise.
793         (sloww): Use mynumber union.  Expand ternary operator into
794         if-else statements.
795         (cslow): use mynumber union.
797 2013-12-16  Allan McRae  <allan@archlinux.org>
799         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
800         * configure: Regenerated.
802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
804         [BZ #14120]
805         * configure.ac: Added --enable-maintainer-mode. Check for
806         autoconf when enabled.
807         * configure: Regenerated.
809         * nscd/nscd.service: New file.
810         * nscd/nscd.tmpfiles: New file.
812 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
814         [BZ #12100]
815         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
816         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
817         * sysdeps/x86_64/multiarch/strstr.c: ... here.
818         (strstr): Add __strstr_sse2_unaligned ifunc.
819         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
820         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
821         (strcasestr): Remove __strcasestr_sse42 ifunc.
822         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
824         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
826 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
828         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
829         * sysdeps/sh/bits/fenv.h: ... here.
830         * sysdeps/sh/sh4/fpu/bits: Remove directory.
832 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
834         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
836 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
838         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
839         hypotf multiarch implementations.
840         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
841         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
842         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
843         multiarch hypot for PPC64.
844         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
845         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
846         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
847         multiarch hypotf for PPC64.
849 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
851         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
852         modff multiarch implementations.
853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
856         multiarch modf for PPC64.
857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
860         multiarch modff for PPC64.
862 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
865         and logl multiarch implementations.
866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
869         multiarch logb for PPC64.
870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
873         multiarch logb for PPC64.
874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
877         multiarch logb for PPC64.
879 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
881         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
882         isinff multiarch implementation.
883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
884         file.
885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
887         multiarch isinf for PPC64.
888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
889         file.
890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
891         multiarch isinff for PPC64.
893 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
896         finitef multiarch implementation.
897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
898         file.
899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
901         multiarch finite for PPC64.
902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
903         file.
904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
905         multiarch finitef for PPC64.
907 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
910         lrint multiarch implementation.
911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
912         file.
913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
915         multiarch llrint for PPC64.
916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
917         multiarch lrint for PPC64.
919 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
922         copysignf multiarch implementation.
923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
924         file.
925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
926         file.
927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
928         multiarch copysign for PPC64.
929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
930         multiarch copysignf for PPC64.
932 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
935         multiarch implementation.
936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
937         file.
938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
939         file.
940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
941         file.
942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
943         file.
944         multiarch llround for PPC64.
945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
946         multiarch trunc for PPC64.
947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
948         multiarch truncf for PPC64.
950 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
952         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
953         multiarch implementation.
954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
955         file.
956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
957         file.
958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
959         file.
960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
961         file.
962         multiarch llround for PPC64.
963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
964         multiarch round for PPC64.
965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
966         multiarch roundf for PPC64.
968 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
971         multiarch implementation.
972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
973         file.
974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
975         file.
976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
977         file.
978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
979         file.
980         multiarch llround for PPC64.
981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
982         multiarch floor for PPC64.
983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
984         multiarch floorf for PPC64.
986 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
989         multiarch implementation.
990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
991         file.
992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
993         file.
994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
995         file.
996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
997         file.
998         multiarch llround for PPC64.
999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1000         multiarch ceil for PPC64.
1001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1002         multiarch ceilf for PPC64.
1004 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1007         multiarch implementation.
1008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1009         file.
1010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1011         file.
1012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1013         file.
1014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1015         multiarch llround for PPC64.
1016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1017         multiarch lround for PPC64.
1019 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1021         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1022         multiarch implementation.
1023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1026         file.
1027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1030         multiarch isnan for PPC64.
1031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1032         multiarch isnanf for PPC64.
1034 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1036         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1037         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1038         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1039         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1040         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1043 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1045         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1046         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1047         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1048         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1050 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1053         multiarch implementations.
1054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1055         (__libc_ifunc_impl_list): Likewise.
1056         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1058         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1059         multiarch stpcpy for PPC64.
1061 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1064         multiarch implementations.
1065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1066         (__libc_ifunc_impl_list): Likewise.
1067         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1068         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1069         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1070         multiarch strcpy for PPC64.
1072 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1074         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1075         redefine function name.
1076         (_wordcopy_fwd_dest_aligned): Likewise.
1077         (_wordcopy_bwd_aligned): Likewise.
1078         (_wordcopy_bwd_dest_aligned): Likewise.
1079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1080         multiarch implementations.
1081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1082         (__libc_ifunc_impl_list): Likewise.
1083         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1084         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1085         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1086         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1087         multiarch wcscpy for PPC64.
1089 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1092         multiarch implementations.
1093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1094         (__libc_ifunc_impl_list): Likewise.
1095         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1096         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1097         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1098         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1099         multiarch wcscpy for PPC64.
1101 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1104         multiarch implementations.
1105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1106         (__libc_ifunc_impl_list): Likewise.
1107         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1108         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1109         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1110         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1111         multiarch wcsrchr for PPC64.
1113 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1116         multiarch implementations.
1117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1118         (__libc_ifunc_impl_list): Likewise.
1119         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1120         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1121         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1122         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1123         multiarch wcschr for PPC64.
1125 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1128         multiarch implementations.
1129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1130         (__libc_ifunc_impl_list): Likewise.
1131         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1132         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1133         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1134         multiarch strchrnul for PPC64.
1136 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1139         implementations.
1140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1141         (__libc_ifunc_impl_list): Likewise.
1142         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1143         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1144         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1145         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1146         strchr for PPC64.
1148 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1151         implementations.
1152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1153         (__libc_ifunc_impl_list): Likewise.
1154         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1155         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1156         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1157         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1158         strncmp for PPC64.
1160 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1163         multiarch implementations.
1164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1165         (__libc_ifunc_impl_list): Likewise.
1166         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1167         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1168         strncasecmp for PPC64.
1169         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1170         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1171         multiarch strncasecmp_l for PPC64.
1173 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1176         multiarch implementations.
1177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1178         (__libc_ifunc_impl_list): Likewise.
1179         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1180         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1181         multiarch strcasecmp for PPC64.
1182         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1183         file.
1184         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1185         multiarch strcasecmp_l for PPC64.
1187 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1190         implementations.
1191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1192         (__libc_ifunc_impl_list): Likewise.
1193         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1194         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1195         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1196         strnlen for PPC64.
1198 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1201         implementations.
1202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1203         (__libc_ifunc_impl_list): Likewise.
1204         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1205         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1206         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1207         strlen for PPC64.
1209 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1212         implementations.
1213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1214         (__libc_ifunc_impl_list): Likewise.
1215         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1216         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1217         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1218         rawmemrchr for PPC64.
1220 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1223         implementation.
1224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1225         (__libc_ifunc_impl_list): Likewise.
1226         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1227         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1228         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1229         memrchr for PPC64.
1231 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1234         implementation.
1235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1236         (__libc_ifunc_impl_list): Likewise.
1237         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1238         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1239         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1240         memchr for PPC64.
1242 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1245         implementation.
1246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1247         (__libc_ifunc_impl_list): Likewise.
1248         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1249         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1250         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1251         mempcpy for PPC64.
1253 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1255         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1256         avoid cretion of __bzero symbol.
1257         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1258         Likewise.
1259         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1260         Likewise.
1261         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1262         Likewise.
1263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1264         multiarch implementations.
1265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1266         (__libc_ifunc_impl_list): Likewise.
1267         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1268         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1269         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1270         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1271         bzero for PPC32.
1272         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1273         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1274         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1275         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1276         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1277         memset for PPC64.
1278         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1280 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1282         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1284         implementations.
1285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1286         (__libc_ifunc_impl_list): Likewise.
1287         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1288         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1289         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1290         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1291         memcmp for PPC64.
1293 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1296         multiarch for POWER/PPC64.
1297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1298         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1299         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1300         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1301         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1302         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1303         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1304         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1305         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1306         memcpy for PPC64.
1308 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1310         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1311         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1312         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1313         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1314         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1315         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1316         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1317         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1318         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1319         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1320         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1321         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1322         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1323         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1324         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1333 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1335         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1337 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1339         * benchtests/Makefile (bench): Add exp2 and log2.
1340         (LDLIBS-bench-exp2): Add -lm.
1341         (LDLIBS-bench-log2): Likewise.
1342         * benchtests/exp2-inputs: New inputs file.
1343         * benchtests/log2-inputs: New inputs file.
1344         * benchtests/log-inputs: Add new inputs.
1345         * benchtests/tan-inputs: Likewise.
1347 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1349         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1350         definition...
1351         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1352         csloww1, csloww2): ... from here.
1354         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1355         instead of structures.
1356         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1357         (POLYNOMIAL): Likewise.
1358         (TAYLOR_SLOW): Likewise.
1359         (__sin): Likewise.
1360         (__cos): Likewise.
1361         (slow1): Likewise.
1362         (slow2): Likewise.
1363         (sloww): Likewise.
1364         (sloww1); Likewise.
1365         (sloww2): Likewise.
1366         (bsloww1): Likewise.
1367         (bsloww2): Likewise.
1368         (cslow2): Likewise.
1369         (csloww): Likewise.
1370         (csloww1): Likewise.
1371         (csloww2): Likewise.
1373 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1375         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1376         (__malloc_assert, __libc_realloc, __libc_calloc,
1377         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1378         memcpy and memset.
1379         * malloc/hooks.c (realloc_check): Likewise.
1381 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1383         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1384         * malloc/arena.c: Remove PER_THREAD conditional.
1385         [!PER_THREAD]: Remove code.
1386         (ptmalloc_unlock_all2): Likewise.
1387         (ptmalloc_init): Likewise.
1388         (_int_new_arena): Likewise.
1389         (arena_get2): Likewise.
1390         * malloc/hooks.c (__malloc_get_state): Likewise.
1391         (__malloc_set_state): Likewise.
1392         * malloc/malloc.c: Likewise.
1393         (struct malloc_state): Likewise.
1394         (struct malloc_par): Likewise.
1395         (__libc_realloc): Likewise.
1396         (__libc_mallopt): Likewise.
1398 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1400         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1402 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1404         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1405         macro to a function.  Check for zero perturb_byte.
1406         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1408 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1410         * malloc/malloc.c: (force_reg): Remove.
1411         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1412         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1413         force_reg by atomic_forced_read.
1414         * malloc/arena.c (ptmalloc_init): Likewise.
1415         * malloc/hooks.c (top_check): Likewise.
1417 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1421 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1423         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1425 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1427         * math/auto-libm-test-in: Add tests of lgamma.
1428         * math/auto-libm-test-out: Regenerated.
1429         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1430         (M_LOG_2_SQRT_PIl): Likewise.
1431         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1432         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1433         mpfr_f_f1.
1434         (func_calc_desc): Add mpfr_f_f1 union field.
1435         (ARGS1): New macro.
1436         (ARGS2): Likewise.
1437         (ARGS3): Likewise.
1438         (ARGS4): Likewise.
1439         (RET1): Likewise.
1440         (RET2): Likewise.
1441         (CALC): Likewise.
1442         (FUNC): Likewise.
1443         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1444         (test_functions): Add lgamma.
1445         (calc_generic_results): Handle mpfr_f_f1.
1446         * sysdeps/i386/fpu/libm-test-ulps: Update.
1447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1449 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1451         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1452         __mpn_add_n for PowerPC64/POWER7.
1453         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1454         __mpn_sub_n for PowerPC64/POWER7.
1456 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1458         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1459         __mpn_addmul_1 for PowerPC64.
1460         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1461         __mpn_submul_1 for PowerPC64.
1462         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1463         for PowerPC64.
1464         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1465         for PowerPC64.
1467 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1469         [BZ #15089]
1470         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1472 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1474         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1476 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1478         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1479         add multiarch folders.
1480         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1481         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1482         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1483         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1484         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1485         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1486         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1487         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1488         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1489         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1490         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1498 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1501         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1503         New file.
1504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1505         New file.
1506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1507         multiarch __ieee754_hypot for PowerPC32.
1508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1509         New file.
1510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1511         New file.
1512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1513         multiarch __ieee754_hypotf for PowerPC32.
1515 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1517         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1518         long_double_symbol only if __logbl is defined.
1519         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1520         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1521         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1522         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1523         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1524         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1525         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1526         path for implementation.
1527         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1528         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1530         logb, and logbl multiarch implementations for PowerPC32.
1531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1532         file.
1533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1534         file.
1535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1536         multiarch logb for PowerPC32.
1537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1538         file.
1539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1540         file.
1541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1542         multiarch logbf for PowerPC32.
1543         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1545         file.
1546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1547         multiarch logbl implementation for PowerPC32.
1549 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1552         and modff multiarch implementations.
1553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1554         New file.
1555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1556         New file.
1557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1558         multiarch modf for PowerPC32.
1559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1560         New file.
1561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1562         New file.
1563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1564         multiarch modff for PowerPC32.
1566 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1569         and lrintf multiarch implementations.
1570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1571         New file.
1572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1573         New file.
1574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1575         multiarch lrint for PowerPC32.
1576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1577         file: multiarch lrintf for PowerPC32.
1579 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1582         and lroundf multiarch implementations.
1583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1584         New file.
1585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1586         New file.
1587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1588         New file.
1589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1590         multiarch lround for PowerPC32.
1591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1592         file: multiarch lroundf for PowerPC32.
1594 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1597         copysign and copysignf multiarch implementations.
1598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1599         New file.
1600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1601         New file.
1602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1603         file: multiarch copysign for PowerPC32.
1604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1605         file: multiarch copysignf for PowerPC32.
1607 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1610         and truncf multiarch implementations.
1611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1612         New file.
1613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1614         file.
1615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1616         multiarch trunc for PowerPC32.
1617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1618         New file.
1619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1620         New file.
1621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1622         multiarch truncf for PowerPC32.
1624 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1627         and roundf multiarch implementations.
1628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1629         New file.
1630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1631         file.
1632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1633         multiarch round for PowerPC32.
1634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1635         New file.
1636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1637         New file.
1638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1639         multiarch roundf for PowerPC32.
1641 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1644         and floorf multiarch implementations.
1645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1646         New file.
1647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1648         file.
1649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1650         multiarch floor for PowerPC32.
1651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1652         New file.
1653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1654         New file.
1655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1656         multiarch floorf for PowerPC32.
1658 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1661         and ceilf multiarch implementations.
1662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1663         New file.
1664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1665         file.
1666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1667         multiarch ceil for PowerPC32.
1668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1669         New file.
1670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1671         file.
1672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1673         multiarch ceilf for PowerPC32.
1675 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1677         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1678         is defined.
1679         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1680         FINITEF is defined.
1681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1682         and finitef multiarch implementations.
1683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1684         New file.
1685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1686         file.
1687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1688         multiarch finite for PowerPC32.
1689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1690         New file.
1691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1692         file: multiarch finitef for PowerPC32.
1694 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1697         and isinff multiarch implementations.
1698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1699         file.
1700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1701         file.
1702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1703         multiarch isinf for PowerPC32.
1704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1705         New file.
1706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1707         multiarch isinff for PowerPC32.
1709 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1711         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1712         alias when __isnan is defined.
1713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1714         and isnanf multiarch implementations.
1715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1716         file.
1717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1718         file.
1719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1720         file.
1721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1722         file.
1723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1724         multiarch isnan for PowerPC32.
1725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1726         New file.
1727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1728         New file.
1729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1730         multiarch isnanf for PowerPC32.
1732 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1735         and sqrtf multiarch implementations.
1736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1737         file.
1738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1739         file.
1740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1741         multiarch sqrt for PowerPC32.
1742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1743         file.
1744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1745         file.
1746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1747         multiarch sqrtf for PowerPC32.
1749 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1752         and llroundf multiarch implementations.
1753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1754         New file.
1755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1756         New file.
1757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1758         New file.
1759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1760         file: multiarch llround for PowerPC32.
1761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1762         file: multiarch llroundf for PowerPC32.
1764 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1767         multiarch PowerPC32 fpu implementations.
1768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1769         New file.
1770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1771         New file.
1772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1773         multiarch llrint for PowerPC32.
1774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1775         New file.
1776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1777         New file.
1778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1779         file.
1781 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1785 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1787         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1788         file.
1789         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1790         file.
1791         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1792         file.
1793         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1794         multiarch wordcopy for PPC32.
1795         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1796         wordcopy objects.
1797         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1798         (__libc_ifunc_impl_list): Likewise.
1799         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1800         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1801         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1802         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1803         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1804         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1806 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1808         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1810         file.
1811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1812         file.
1813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1814         file.
1815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1816         multiarch wcscpy for PPC32.
1817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1818         multiarch objects.
1819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1820         (__libc_ifunc_impl_list): Likewise.
1821         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1822         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1823         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1824         sysdeps/powerpc/power6/wcscpy.c.
1826 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1828         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1829         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1830         file.
1831         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1832         file.
1833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1834         file.
1835         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1836         multiarch wcsrchr for PPC32.
1837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1838         multiarch objects.
1839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1840         (__libc_ifunc_impl_list): Likewise.
1841         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1842         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1843         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1844         sysdeps/powerpc/power6/wcsrchr.c.
1846 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1849         file.
1850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1851         file.
1852         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1854         multiarch wcschr for PPc32.
1855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1856         multiarch objects.
1857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1858         (__libc_ifunc_impl_list): Likewise.
1859         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1860         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1861         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1862         sysdeps/powerpc/power6/wcschr.c.
1864 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1866         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1867         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1868         file.
1869         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1870         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1871         file: multiarch strchr for PPC32.
1872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1873         multiarch objects.
1874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1875         (__libc_ifunc_impl_list): Likewise.
1877 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1879         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1880         name.
1881         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1882         file.
1883         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1884         file.
1885         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1886         multiarch strchrnul for PPC32.
1887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1888         multiarch objects.
1889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1890         (__libc_ifunc_impl_list): Likewise.
1892 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1894         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1895         file.
1896         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1897         multiarch strncasecmp for PPC32.
1898         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1899         file.
1900         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1901         multiarch strncasecmp_l for PPC32.
1902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1903         strncasecmp multiarch objects.
1904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1905         (__libc_ifunc_impl_list): Likewise.
1907 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1909         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1910         file.
1911         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1912         multiarch strncasecmp for PPC32.
1913         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1914         New file.
1915         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1916         multiarch strcasecmp_l for PPC32.
1917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1918         multiarch objects.
1919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1920         (__libc_ifunc_impl_list): Likewise.
1922 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1924         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1925         file.
1926         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1927         file.
1928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1929         multiarch strncmp for PPC32.
1930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1931         multiarch objects.
1932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1933         (__libc_ifunc_impl_list): Likewise.
1935 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1937         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1938         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1939         file.
1940         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1941         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1943         multiarch objects.
1944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1945         (__libc_ifunc_impl_list): Likewise.
1947 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1949         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1950         file.
1951         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1952         file.
1953         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1955         multiarch objects.
1956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1957         (__libc_ifunc_impl_list): Likewise.
1959 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1961         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1962         file.
1963         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1964         file.
1965         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1966         multiarch rawmemchr for PPC32.
1967         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1968         multiarch objects.
1969         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1970         (__libc_ifunc_impl_list): Likewise.
1972 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1974         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1975         file.
1976         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1977         file.
1978         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1979         file: memrchr multiarch for PPC32.
1980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1981         multiarch objects.
1982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1983         (__libc_ifunc_impl_list): Likewise.
1985 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1987         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1988         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1989         file.
1990         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1991         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1992         multiarch memchr for PPC32.
1993         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1994         multiarch objects.
1995         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1996         (__libc_ifunc_impl_list): Likewise.
1998 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2000         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2001         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2002         file.
2003         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2004         file.
2005         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2006         file: multiarch mempcpy for PPC32.
2007         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2008         multiarch objects.
2009         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2010         (__libc_ifunc_impl_list): Likewise.
2012 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2014         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2015         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2016         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2017         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2018         multiarch bzero for PPC32.
2019         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2020         file.
2021         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2022         file.
2023         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2024         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2025         file: multiarch memset for PPC32.
2026         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2028         memset multiarch objects.
2029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2030         (__libc_ifunc_impl_list): Likewise.
2032 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2034         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2035         file.
2036         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2037         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2038         memcmp for PPC32.
2039         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2040         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2041         multiarch objects.
2042         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2043         (__libc_ifunc_impl_list): Likewise.
2045 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2047         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2049         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2050         file.
2051         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2052         file.
2053         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2054         file.
2055         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2056         multiarch memcpy for PPC32.
2057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2058         multiarch objects.
2059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2060         (__libc_ifunc_impl_list): Likewise.
2062 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2064         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2065         support multiarch for POWER/PPC32.
2066         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2067         Likewise.
2068         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2070         Implies file to make multiarch folder appers before the fpu and
2071         default folder for power4 configuration.
2073 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2075         * scripts/bench.pl: Append volatile keyword to type.
2077 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2079         * sysdeps/sh/sotruss-lib.c: New file.
2080         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2082 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2086 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2088         [BZ #6810]
2089         * math/w_tgamma.c: Include <errno.h>.
2090         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2091         * math/w_tgammaf.c: Include <errno.h>.
2092         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2093         * math/w_tgammal.c: Include <errno.h>.
2094         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2095         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2096         underflow.  Add more tgamma tests.
2097         * math/auto-libm-test-out: Regenerated.
2098         * sysdeps/i386/fpu/libm-test-ulps: Update.
2099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2101         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2102         sin, sinh, tan, tanh, tgamma, y0 and y1.
2103         * math/auto-libm-test-out: Regenerated.
2104         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2105         (TEST_COND_x86): Likewise.
2106         (M_E2l): Remove macro.
2107         (M_E3l): Likewise.
2108         (M_2_SQRT_PIl): Likewise.
2109         (M_SQRT_PIl): Likewise.
2110         (M_1_DIV_El): Likewise.
2111         (log_test_data): Use AUTO_TESTS_f_f.
2112         (log10_test_data): Likewise.
2113         (log1p_test_data): Likewise.
2114         (log2_test_data): Likewise.
2115         (sin_test_data): Likewise.
2116         (sin_tonearest_test_data): Likewise.
2117         (sin_towardzero_test_data): Likewise.
2118         (sin_downward_test_data): Likewise.
2119         (sin_upward_test_data): Likewise.
2120         (sinh_test_data): Likewise.
2121         (sinh_tonearest_test_data): Likewise.
2122         (sinh_towardzero_test_data): Likewise.
2123         (sinh_downward_test_data): Likewise.
2124         (sinh_upward_test_data): Likewise.
2125         (tan_test_data): Likewise.
2126         (tan_tonearest_test_data): Likewise.
2127         (tan_towardzero_test_data): Likewise.
2128         (tan_downward_test_data): Likewise.
2129         (tan_upward_test_data): Likewise.
2130         (tanh_test_data): Likewise.
2131         (tgamma_test_data): Likewise.
2132         (y0_test_data): Likewise.
2133         (y1_test_data): Likewise.
2134         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2135         (special_real_inputs): Add pi/4.
2136         * sysdeps/i386/fpu/libm-test-ulps: Update.
2137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2139 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2141         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2142         "longjmp_target" static probes.
2143         (__longjmp): Rename to __longjmp_symbol.
2144         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2145         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2146         on which longjmp to generate.
2147         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2148         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2149         probe.
2150         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2151         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2152         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2153         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2154         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2155         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2157         __longjmp_symbol based on which __longjmp to generate.
2158         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2159         probe.
2160         (setjmp): Rename to setjmp_symbol.
2161         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2162         (_setjmp): Rename to _setjmp_symbol.
2163         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2164         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2165         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2166         which setjmp to generate.
2167         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2168         "longjmp_target" static probes.
2170 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2172         * benchtests/README: Add note about output arguments.
2173         * benchtests/bench-sincos.c: Remove file.
2174         * benchtests/sincos-inputs: New file.
2175         * scripts/bench.pl: Identify output arguments and define
2176         static variables for them.
2178         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2180         [BZ #15941]
2181         * Makefile (INSTALL): Add install-plain.texi as the primary
2182         dependency.
2183         * manual/install-plain.texi: New file.
2184         * manual/install.texi: Include node directive only for
2185         non-plaintext output.
2187 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2189         * stdlib/longlong.h: Update from GCC.
2191         [BZ #6807]
2192         [BZ #15901]
2193         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2194         * math/w_j0f.c (y0f): Likewise.
2195         * math/w_j0l.c (__y0l): Likewise.
2196         * math/w_j1.c (y1): Likewise.
2197         * math/w_j1f.c (y1f): Likewise.
2198         * math/w_j1l.c (__y1l): Likewise
2199         * math/w_jn.c (yn): Likewise.
2200         * math/w_jnf.c (ynf): Likewise.
2201         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2202         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2203         value for Bessel function domain errors outside _SVID_ mode.
2204         Adjust sign of return value for yn (negative integer, 0).
2205         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2206         by zero in return for negative x and set sign appropriately for
2207         negative n.
2208         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2209         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2210         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2211         expectations in error cases.
2212         (y1_test_data): Likewise.
2213         (yn_test_data): Likewise.
2214         * sysdeps/i386/fpu/libm-test-ulps: Update.
2215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2217 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2219         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2220         "64" to "64-v1".  Add "64-v2".
2221         (abi-64-options): Rename to ...
2222         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2223         (abi-64-condition): Rename to ...
2224         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2225         (abi-64-ld-soname): Rename to ...
2226         (abi-64-v1-ld-soname): ... this.
2227         (abi-64-v2-options): Define.
2228         (abi-64-v2-condition): Likewise.
2229         (abi-64-v2-ld-soname): Likewise.
2230         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2231         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2236 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2237             Alan Modra  <amodra@gmail.com>
2239         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2240         New versions for use with the ELFv2 ABI.
2241         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2242         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2243         declaration.
2244         (struct La_ppc64v2_retval): Likewise.
2245         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2246         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2247         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2248         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2249         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2250         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2251         Do not save or restore CR.
2252         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2253         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2254         return values for ELFv2 ABI.  Fix location of FPR return registers.
2255         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2256         updated values for _CALL_ELF == 2.
2257         (La_regs, La_retval, int_retval): Likewise.
2259 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2261         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2262         (FRAME_MIN_SIZE_PARM): Likewise.
2263         (FRAME_BACKCHAIN): Likewise.
2264         (FRAME_CR_SAVE): Likewise.
2265         (FRAME_LR_SAVE): Likewise.
2266         (FRAME_TOC_SAVE): Likewise.
2267         (FRAME_PARM_SAVE): Likewise.
2268         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2269         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2270         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2271         (call_mcount_parm_offset): New macro.
2272         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2273         (PROF): Use symbolic stack frame offsets.
2274         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2275         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2276         Redefine in terms of FRAME_MIN_SIZE.
2277         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2278         (_dl_profile_resolve): Likewise.  Update comment.
2279         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2280         symbols stack frame offsets.
2281         (__sigsetjmp): Likewise.
2282         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2283         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2284         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2285         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2288         (FRAME_BACKCHAIN): Remove.
2289         (FRAME_CR_SAVE): Likewise.
2290         (FRAME_LR_SAVE): Likewise.
2291         (FRAME_COMPILER_DW): Likewise.
2292         (FRAME_LINKER_DW): Likewise.
2293         (FRAME_TOC_SAVE): Likewise.
2294         (FRAME_PARM_SAVE): Likewise.
2295         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2296         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2297         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2299         (CHECK_SP): Use symbolic stack frame offsets.
2300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2301         zone" instead of caller's parameter save area for temp storage.
2302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2303         Likewise.  Also, use symbolic stack frame offsets.
2304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2305         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2306         our own stack frame instead of the caller's.
2307         (__socket): Use symbolic stack frame offsets.
2309 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2310             Alan Modra  <amodra@gmail.com>
2312         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2313         Define.
2314         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2315         PPC64_LOCAL_ENTRY_OFFSET): Define.
2316         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2317         New function.
2318         (elf_machine_fixup_plt): Call it.
2319         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2320         reloc arguments.
2321         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2322         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2323         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2324         r2 before calling target.
2326 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2327             Alan Modra  <amodra@gmail.com>
2329         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2330         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2331         versions of macros to support ELFv2 ABI.
2332         (LOCALENTRY): New macro.
2333         (ENTRY, EALIGN): Use it.
2334         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2335         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2336         fall through into ENTRY entry point.
2337         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2338         Only define if _CALL_ELF != 2.
2340         (elf_machine_matches_host): Verify ABI version matches.
2341         (RTLD_START): Use LOCALENTRY.
2342         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2343         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2344         (PLT_ENTRY_WORDS): New macro.
2345         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2346         (elf_machine_runtime_setup): Support ELFv2 ABI.
2347         (elf_machine_fixup_plt): Likewise.
2348         (elf_machine_plt_conflict): Likewise.
2349         (resolve_ifunc): Likewise.
2350         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2351         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2352         Likewise.
2353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2354         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2356         (makecontext): Support ELFv2 ABI.
2357         * elf/elf.h (EF_PPC64_ABI): Define.
2359 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2361         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2362         New assembler macro.
2363         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2364         [ASSEMBLER] (ENTRY): ... but instead here ...
2365         [ASSEMBLER] (EALIGN): ... and here.
2366         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2367         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2368         [!ASSEMBLER] (ENTRY_2): Use it.
2369         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2370         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2371         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2372         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2373         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2375         Use PPC64_LOAD_FUNCPTR.
2377 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2379         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2381 2013-12-04  Alan Modra  <amodra@gmail.com>
2383         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2384         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2385         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2386         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2388         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2389         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2390         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2391         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2392         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2393         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2395 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2398         (__makecontext): Fix incorrect CFI when backtracing out of
2399         context created via makecontext.
2400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2401         (__setcontext): Fix incorrect CFI during switch to new context.
2402         (__novec_setcontext): Likewise.
2404 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2406         [BZ #4772]
2407         * time/strptime_l.c (__strptime_internal): Allow modifiers
2408         in strptime.
2409         * time/tst-strptime.c (day_tests): Add testcase.
2412 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2414         * scripts/bench.pl: Skip over blank lines.
2416 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2418         [BZ #926]
2419         * manual/time.texi (Calendar Time): Clarify what timezone functions
2420         use.
2422 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2426 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2428         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2429         implementation.
2430         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2431         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2432         * debug/memset_chk.c (__memset_chk): Likewise.
2433         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2434         * debug/strncpy_chk.c: Likewise.
2436 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2438         [BZ #15268]
2439         [BZ #15425]
2440         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2441         (__ieee754_exp): For possibly underflowing results, check size of
2442         result and force underflow exception if required.
2443         * math/auto-libm-test-in: Add more tests of exp.
2444         * math/auto-libm-test-out: Regenerated.
2445         * sysdeps/i386/fpu/libm-test-ulps: Update.
2446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2448         [BZ #16283]
2449         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2450         * math/w_exp2f.c (__exp2f): Likewise.
2451         * math/w_exp2l.c (__exp2l): Likewise.
2452         * math/auto-libm-test-in: Do not allow missing errno on exp2
2453         underflow.
2454         * math/auto-libm-test-out: Regenerated.
2456 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2458         [BZ #16274]
2459         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2460         handle filename validation.
2461         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2462         (do_open): Delete.
2464 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2466         [BZ #6786]
2467         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2468         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2469         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2470         <float.h>.
2471         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2472         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2473         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2474         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2475         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2476         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2477         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2478         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2479         Add more erfc tests.
2480         * math/auto-libm-test-out: Regenerated.
2481         * sysdeps/i386/fpu/libm-test-ulps: Update.
2482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2484         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2485         exp2, expm1, j0 and j1.
2486         * math/auto-libm-test-out: Regenerated.
2487         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2488         (erfc_test_data): Likewise.
2489         (exp_test_data): Likewise.
2490         (exp_tonearest_test_data): Likewise.
2491         (exp_towardzero_test_data): Likewise.
2492         (exp_downward_test_data): Likewise.
2493         (exp_upward_test_data): Likewise.
2494         (exp10_test_data): Likewise.
2495         (exp2_test_data): Likewise.
2496         (expm1_test_data): Likewise.
2497         (j0_test_data): Likewise.
2498         (j1_test_data): Likewise.
2499         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2500         (input_flag_type): Add flag_xfail_rounding.
2501         (input_flags): Add xfail-rounding.
2502         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2503         (output_for_one_input_case): Handle flag_xfail_rounding.
2504         * sysdeps/i386/fpu/libm-test-ulps: Update.
2505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2507 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2509         [BZ #16289]
2510         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2511         division by 0.
2513 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2515         [BZ #16195]
2516         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2517         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2518         (STAP_PROBE0): New macro.
2519         (STAP_PROBE1): Likewise.
2520         (STAP_PROBE2): Likewise.
2521         (STAP_PROBE3): Likewise.
2522         (STAP_PROBE4): Likewise.
2524 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2526         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2528 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2530         * benchtests/Makefile (bench): Add sqrt.
2531         (LDLIBS-bench-sqrt): New.
2532         * benchtests/sqrt-input: New.
2534 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2536         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2537         (GAIH_EAI): Likewise.
2538         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2539         (gaih_inet): Likewise.
2540         (getaddrinfo): Don't use GAIH_EAI.
2542         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2543         (struct gaih): Remove definition.
2545 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2547         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2548         Use HERRNOP directly.
2550 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2554 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2556         * math/gen-auto-libm-tests.c (test_functions): Add more
2557         single-argument functions.
2558         (special_fill_pi_2): New function.
2559         (special_fill_minus_pi_2): Likewise.
2560         (special_fill_pi_6): Likewise.
2561         (special_fill_minus_pi_6): Likewise.
2562         (special_fill_pi_3): Likewise.
2563         (special_fill_2pi_3): Likewise.
2564         (special_fill_e): Likewise.
2565         (special_fill_1_e): Likewise.
2566         (special_fill_e_minus_1): Likewise.
2567         (special_real_inputs): Add more special inputs.
2568         (output_for_one_input_case): Do not require ERANGE on underflow to
2569         zero if round-to-nearest result does not underflow to zero, unless
2570         exact results required.
2571         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2572         atan, atanh, cbrt, cos and cosh.
2573         * math/auto-libm-test-out: Regenerated.
2574         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2575         (acos_tonearest_test_data): Likewise.
2576         (acos_towardzero_test_data): Likewise.
2577         (acos_downward_test_data): Likewise.
2578         (acos_upward_test_data): Likewise.
2579         (acosh_test_data): Likewise.
2580         (asin_test_data): Likewise.
2581         (asin_tonearest_test_data): Likewise.
2582         (asin_towardzero_test_data): Likewise.
2583         (asin_upward_test_data): Likewise.
2584         (asinh_test_data): Likewise.
2585         (atan_test_data): Likewise.
2586         (atanh_test_data): Likewise.
2587         (cbrt_test_data): Likewise.
2588         (cos_test_data): Likewise.
2589         (cos_tonearest_test_data): Likewise.
2590         (cos_towardzero_test_data): Likewise.
2591         (cos_downward_test_data): Likewise.
2592         (cos_upward_test_data): Likewise.
2593         (cosh_test_data): Likewise.
2594         (cosh_tonearest_test_data): Likewise.
2595         (cosh_towardzero_test_data): Likewise.
2596         (cosh_downward_test_data): Likewise.
2597         (cosh_upward_test_data): Likewise.
2598         * sysdeps/i386/fpu/libm-test-ulps: Update.
2599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2601 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2603         [BZ #6787]
2604         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2605         * math/w_exp10f.c (__exp10f): Likewise.
2606         * math/w_exp10l.c (__exp10l): Likewise.
2607         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2608         errno settings in existing tests.
2610         [BZ #14032]
2611         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2612         precision control set to double precision.
2613         * sysdeps/i386/fpu/w_sqrt.c: New file.
2614         * math/auto-libm-test-in: Add more tests.
2615         * math/auto-libm-test-out: Update.
2617         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2618         (sqrt_test_tonearest): New function.
2619         (sqrt_towardzero_test_data): New variable.
2620         (sqrt_test_towardzero): New function.
2621         (sqrt_downward_test_data): New variable.
2622         (sqrt_test_downward): New function.
2623         (sqrt_upward_test_data): New variable.
2624         (sqrt_test_upward): New function.
2625         (main): Call the new functions.
2627         * math/gen-auto-libm-tests.c: New file.
2628         * math/auto-libm-test-in: Likewise.
2629         * math/auto-libm-test-out: New generated file.
2630         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2631         variables.
2632         (%beautify): Add generated representations of zero.
2633         (top level): Set $auto_input and call parse_auto_input.
2634         (beautify): Remove trailing "f" from hex float constants.
2635         (parse_args): Handle XFAIL_TEST.
2636         (convert_condition): New function.
2637         (or_value): Likewise.
2638         (or_cond_value): Likewise.
2639         (generate_testfile): Handle AUTO_TESTS_* lines.
2640         (parse_auto_input): New function.
2641         * math/libm-test.inc (XFAIL_TEST): New macro.
2642         (ERRNO_UNCHANGED): Update value.
2643         (ERRNO_EDOM): Likewise.
2644         (ERRNO_ERANGE): Likewise.
2645         (IGNORE_RESULT): Likewise.
2646         (TEST_COND_flt_32): New macro.
2647         (TEST_COND_dbl_64): Likewise.
2648         (TEST_COND_ldbl_96_intel): Likewise.
2649         (TEST_COND_ldbl_96_m68k): Likewise.
2650         (TEST_COND_ldbl_128): Likewise.
2651         (TEST_COND_ldbl_128ibm): Likewise.
2652         (TEST_COND_long32): Likewise.
2653         (TEST_COND_long64): Likewise.
2654         (TEST_COND_before_rounding): Likewise.
2655         (TEST_COND_after_rounding): Likewise.
2656         (enable_test): Handle XFAIL_TEST flag.
2657         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2658         with finite results.
2659         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2660         auto-libm-test-out.
2662 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2663             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2665         [BZ #16214]
2666         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2667         __tls_get_addr_internal instead of __tls_get_offset in order to
2668         avoid GOT pointer dependency.  Make rtld export
2669         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2670         __tls_get_addr since we are a __tls_get_offset platform.
2671         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2672         GOT pointer being set up before.
2673         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2675 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2677         * manual/math.texi (Errors in Math Functions): Document accuracy
2678         goals.
2680         [BZ #15004]
2681         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2682         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2683         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2684         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2685         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2686         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2687         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2688         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2689         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2690         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2691         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2692         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2693         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2694         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2695         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2696         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2698         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2699         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2700         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2701         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2702         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2703         Likewise.
2704         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2705         Likewise.
2706         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2707         Likewise.
2708         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2709         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2710         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2711         atomic-feupdateenv and flt-rounds.
2712         * sysdeps/powerpc/nofpu/Versions (libc): Add
2713         __atomic_feholdexcept, __atomic_feclearexcept,
2714         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2715         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2716         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2717         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2718         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2719         here.
2720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2721         Update.
2723         * manual/arith.texi (FP Exceptions): Document that exceptions may
2724         not be raised when matherr is used.
2725         (Math Error Reporting): Document overflow in directed rounding
2726         modes.  Document that errno may not be set when finite values are
2727         returned on overflow.  Document intent to set errno on underflow
2728         only for underflow to zero.
2730         [BZ #16271]
2731         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2732         round-to-nearest then adjust result for other rounding modes.
2733         * include/fenv.h (fegetround): Use libm_hidden_proto.
2734         * math/fegetround.c (fegetround): Use libm_hidden_def.
2735         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2736         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2737         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2738         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2739         Likewise.
2740         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2741         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2742         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2743         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2745 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2747         [BZ #16077]
2748         * nss/Versions (libnss_files): Add
2749         _nss_files_gethostbyname3_r.
2750         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2751         New function.
2752         (HOST_DB_LOOKUP): Remove macro.
2753         (_nss_files_gethostbyname_r): Implement function without the
2754         HOST_DB_LOOKUP macro.
2755         (_nss_files_gethostbyname2_r): Likewise.
2757 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2759         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2761 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2763         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2764         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2765         warning.
2767 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2769         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2770         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2771         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2772         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2773         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2774         __fe_nomask_env_priv and attribute_hidden.
2775         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2776         (libc_feupdateenv_test_ppc): Likewise.
2777         (libc_feresetround_ppc): Likewise.
2778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2779         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2780         compat_symbol macro.
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2782         (__fe_nomask_env): Likewise.
2783         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2785 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2787         * string/Makefile: Remove ifunc tests.
2788         * string/test-string.h: Define TEST_IFUNC.
2789         * string/test-bcopy-ifunc.c: Remove.
2790         * string/test-bzero-ifunc.c: Likewise.
2791         * string/test-memccpy-ifunc.c: Likewise.
2792         * string/test-memchr-ifunc.c: Likewise.
2793         * string/test-memcmp-ifunc.c: Likewise.
2794         * string/test-memcpy-ifunc.c: Likewise.
2795         * string/test-memmem-ifunc.c: Likewise.
2796         * string/test-memmove-ifunc.c: Likewise.
2797         * string/test-mempcpy-ifunc.c: Likewise.
2798         * string/test-memrchr-ifunc.c: Likewise.
2799         * string/test-memset-ifunc.c: Likewise.
2800         * string/test-rawmemchr-ifunc.c: Likewise.
2801         * string/test-stpcpy-ifunc.c: Likewise.
2802         * string/test-stpncpy-ifunc.c: Likewise.
2803         * string/test-strcasecmp-ifunc.c: Likewise.
2804         * string/test-strcasestr-ifunc.c: Likewise.
2805         * string/test-strcat-ifunc.c: Likewise.
2806         * string/test-strchr-ifunc.c: Likewise.
2807         * string/test-strchrnul-ifunc.c: Likewise.
2808         * string/test-strcmp-ifunc.c: Likewise.
2809         * string/test-strcpy-ifunc.c: Likewise.
2810         * string/test-strcspn-ifunc.c: Likewise.
2811         * string/test-strlen-ifunc.c: Likewise.
2812         * string/test-strncasecmp-ifunc.c: Likewise.
2813         * string/test-strncat-ifunc.c: Likewise.
2814         * string/test-strncmp-ifunc.c: Likewise.
2815         * string/test-strncpy-ifunc.c: Likewise.
2816         * string/test-strnlen-ifunc.c: Likewise.
2817         * string/test-strpbrk-ifunc.c: Likewise.
2818         * string/test-strrchr-ifunc.c: Likewise.
2819         * string/test-strspn-ifunc.c: Likewise.
2820         * string/test-strstr-ifunc.c: Likewise.
2822 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2824         * benchtests/Makefile: Remove ifunc tests.
2825         * benchtests/bench-string.h: Define TEST_IFUNC.
2826         * benchtests/bench-bcopy-ifunc.c: Remove.
2827         * benchtests/bench-bzero-ifunc.c: Likewise.
2828         * benchtests/bench-memccpy-ifunc.c: Likewise.
2829         * benchtests/bench-memchr-ifunc.c: Likewise.
2830         * benchtests/bench-memcmp-ifunc.c: Likewise.
2831         * benchtests/bench-memcpy-ifunc.c: Likewise.
2832         * benchtests/bench-memmem-ifunc.c: Likewise.
2833         * benchtests/bench-memmove-ifunc.c: Likewise.
2834         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2835         * benchtests/bench-memrchr-ifunc.c: Likewise.
2836         * benchtests/bench-memset-ifunc.c: Likewise.
2837         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2838         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2839         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2840         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2841         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2842         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2843         * benchtests/bench-strcat-ifunc.c: Likewise.
2844         * benchtests/bench-strchr-ifunc.c: Likewise.
2845         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2846         * benchtests/bench-strcmp-ifunc.c: Likewise.
2847         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2848         * benchtests/bench-strcpy-ifunc.c: Likewise.
2849         * benchtests/bench-strcspn-ifunc.c: Likewise.
2850         * benchtests/bench-strlen-ifunc.c: Likewise.
2851         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2852         * benchtests/bench-strncat-ifunc.c: Likewise.
2853         * benchtests/bench-strncmp-ifunc.c: Likewise.
2854         * benchtests/bench-strncpy-ifunc.c: Likewise.
2855         * benchtests/bench-strnlen-ifunc.c: Likewise.
2856         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2857         * benchtests/bench-strrchr-ifunc.c: Likewise.
2858         * benchtests/bench-strsep-ifunc.c: Likewise.
2859         * benchtests/bench-strspn-ifunc.c: Likewise.
2860         * benchtests/bench-strstr-ifunc.c: Likewise.
2862 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2864         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2866 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2868         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2869         * rt/aio.h: Likewise.
2870         * sysdeps/gnu/bits/utmp.h: Likewise.
2871         * sysdeps/gnu/bits/utmpx.h: Likewise.
2872         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2873         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2874         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2875         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2876         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2877         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2878         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2879         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2880         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2881         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2882         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2883         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2884         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2886         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2887         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2888         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2889         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2890         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2891         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2892         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2893         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2894         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2895         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2896         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2897         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2898         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2899         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2900         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2901         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2902         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2903         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2904         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2905         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2906         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2907         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2908         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2909         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2910         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2911         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2912         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2913         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2915 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2917         [BZ #16245]
2918         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2919         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2921 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2923         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2924         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2925         Likewise.
2927 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2929         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2930         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2931         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2932         (__fesetround): Remove define.
2933         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2934         rounding and exceptions handling.
2935         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2936         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2937         (__fe_nomask_env): Likewise.
2938         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2939         __fegetround instead of fegetround.
2940         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2941         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2943 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2945         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2946         it's there.
2948         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2950 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2952         [BZ #11157]
2953         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2954         (encrypt_r): Likewise.
2955         * malloc/obstack.h (obstack_free): Likewise.
2956         * posix/unistd.h (encrypt): Likewise.
2958 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2960         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2961         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2962         DL_CALL_DT_FINI() that call the functions directly.
2963         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2964         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2965         * elf/dl-fini.c: Likewise.
2967 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2969         * malloc/hooks.c (memalign_check): Add alignment rounding.
2970         * malloc/malloc.c (_mid_memalign): New function.
2971         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2972         Implement by calling _mid_memalign.
2973         * manual/probes.texi (Memory Allocation Probes): Remove
2974         memory_valloc_retry and memory_pvalloc_retry.
2976 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2978         * locale/programs/locarchive.c (open_archive): Add const
2979         qualifier to ARCHIVEFNAME and copy default fname to
2980         DEFAULT_FNAME.
2982         [BZ #15601]
2983         * libio/tst-widetext.input: Rename Oriya to Odia.
2984         * locale/iso-639.def: Likewise.
2986         * manual/probes.texi (Mathematical Function Probes): Add
2987         documentation for sin, cos, asin and acos probes.
2988         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2989         (__sin32): Add slowasin probe.
2990         (__cos32): Add slowacos probe.
2991         (__mpsin): Add slowsin probe.
2992         (__mpcos): Add slowcos probe.
2994 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2996         [BZ #15483]
2997         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2998         thread-local __sim_exceptions_thread and global
2999         __sim_exceptions_global.
3000         (__sim_disabled_exceptions): Change to thread-local
3001         __sim_disabled_exceptions_thread and global
3002         __sim_disabled_exceptions_global.
3003         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3004         and global __sim_round_mode_global.
3005         (__simulate_exceptions): Use thread-local floating-point state and
3006         set global state from it as needed.
3007         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3008         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3009         __sim_round_mode_thread.
3010         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3011         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3012         and global __sim_exceptions_global.
3013         (__sim_disabled_exceptions): Change to thread-local
3014         __sim_disabled_exceptions_thread and global
3015         __sim_disabled_exceptions_global.
3016         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3017         and global __sim_round_mode_global.
3018         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3019         (SIM_SET_GLOBAL): Likewise.
3020         * sysdeps/powerpc/soft-fp/sfp-machine.h
3021         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3022         __sim_round_mode_thread.
3023         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3024         __sim_disabled_exceptions_thread.
3025         (__sim_exceptions): Change to __sim_exceptions_thread.
3026         (__sim_disabled_exceptions): Change to
3027         __sim_disabled_exceptions_thread.
3028         (__sim_round_mode): Change to __sim_round_mode_thread.
3029         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3030         thread-local floating-point state and set global state from it as
3031         needed.
3032         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3033         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3034         (__sim_disabled_exceptions): Remove extern declaration.
3035         (feenableexcept): Use thread-local floating-point state and set
3036         global state from it as needed.
3037         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3038         extern declaration.
3039         (__sim_disabled_exceptions): Likewise.
3040         (__sim_round_mode): Likewise.
3041         (__fegetenv): Use thread-local floating-point state.
3042         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3043         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3044         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3045         floating-point state and set global state from it as needed.
3046         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3047         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3048         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3049         Likewise.
3050         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3051         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3052         Likewise.
3053         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3054         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3055         Use __sim_round_mode_thread.
3056         * math/test-fenv-tls.c: New file.
3057         * math/Makefile (tests): Add test-fenv-tls.
3058         ($(objpfx)test-fenv-tls): Depend on
3059         $(common-objpfx)nptl/libpthread.so.
3061 2013-11-19  Andreas Schwab  <schwab@suse.de>
3063         * locale/programs/locale.c (show_info): Decode wordarray elements.
3064         * locale/categories.def (LC_MONETARY): Add element for
3065         _NL_MONETARY_CRNCYSTR.
3066         * locale/C-monetary.c (conversion_rate): New variable.
3067         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3068         element.
3070 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3072         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3073         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3075 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3077         * elf/Makefile (tst-auxv): New test.
3078         * elf/tst-auxv.c: New
3079         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3081 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3083         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3084         (hidden_proto): Caller changed.
3085         (hidden_tls_proto): New macro.
3086         (libc_hidden_tls_proto): Likewise.
3087         (rtld_hidden_tls_proto): Likewise.
3088         (libm_hidden_tls_proto): Likewise.
3089         (libresolv_hidden_tls_proto): Likewise.
3090         (librt_hidden_tls_proto): Likewise.
3091         (libdl_hidden_tls_proto): Likewise.
3092         (libnss_files_hidden_tls_proto): Likewise.
3093         (libnsl_hidden_tls_proto): Likewise.
3094         (libnss_nisplus_hidden_tls_proto): Likewise.
3095         (libutil_hidden_tls_proto): Likewise.
3097 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3099         [BZ #10253]
3100         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3101         (decompose_rpath): Defer expansion to fillin_rpath.
3102         (_dl_init_paths): Pass linkmap to fillin_rpath.
3104 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3106         * benchtests/Makefile: Add strsep.
3107         * benchtests/bench-strsep.c: New file: strsep benchtest.
3108         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3110 2013-11-18  Andreas Schwab  <schwab@suse.de>
3112         * locale/programs/locale.c (show_info) [case byte]: Check for
3113         '\377' instead of '\177'.
3114         * locale/C-monetary.c (not_available): Always use "\377".
3115         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3116         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3117         detect unavailable sign_posn locale elements.
3118         * locale/localeconv.c (__localeconv): For grouping and
3119         mon_grouping handle "\177" and "\377" like no grouping.
3120         (INT_ELEM): New macro.  Use it to set all numeric members.
3121         * locale/programs/ld-monetary.c (monetary_read)
3122         <tok_mon_grouping>: Normalize single -1 to the empty string.
3123         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3124         Likewise.
3126 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3128         [BZ #16055]
3129         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3130         when we match (nil).
3131         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3133 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3135         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3136         (NO_TEST_INLINE): Update value.
3137         (ERRNO_UNCHANGED): Likewise.
3138         (ERRNO_EDOM): Likewise.
3139         (ERRNO_ERANGE): Likewise.
3140         (IGNORE_RESULT): Likewise.
3141         (check_float_internal): Check signs of NaN results if
3142         TEST_NAN_SIGN used.
3143         (check_complex): Pass TEST_NAN_SIGN flag through to second
3144         check_float_internal call.
3145         (copysign_test_data): Add tests with quiet NaNs as second
3146         argument.  Use TEST_NAN_SIGN.
3147         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3148         TEST_NAN_SIGN.
3149         (signbit_test_data): Add tests of quiet NaN argument.
3150         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3152         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3153         $ignore_result.
3154         (parse_args): Handle function results specified as IGNORE.
3155         * math/libm-test.inc (IGNORE_RESULT): New macro.
3156         (check_float_internal): Do not check numerical result if flag
3157         IGNORE_RESULT set.
3158         (check_complex): Pass through IGNORE_RESULT to second
3159         check_float_internal call.
3160         (check_int): Do not check numerical result if flag IGNORE_RESULT
3161         set.
3162         (check_long): Likewise.
3163         (check_bool): Likewise.
3164         (check_longlong): Likewise.
3165         (lrint_test_data): Add tests of infinite and NaN arguments.
3166         (lrint_tonearest_test_data): Likewise.
3167         (lrint_towardzero_test_data): Likewise.
3168         (lrint_downward_test_data): Likewise.
3169         (lrint_upward_test_data): Likewise.
3170         (llrint_test_data): Likewise.
3171         (llrint_tonearest_test_data): Likewise.
3172         (llrint_towardzero_test_data): Likewise.
3173         (llrint_downward_test_data): Likewise.
3174         (llrint_upward_test_data): Likewise.
3175         (lround_test_data): Likewise.
3176         (llround_test_data): Likewise.
3178         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3179         (ERRNO_UNCHANGED): Update value.
3180         (ERRNO_EDOM): Likewise.
3181         (ERRNO_ERANGE): Likewise.
3182         (NO_TEST_INLINE_FLOAT): New macro.
3183         (NO_TEST_INLINE_DOUBLE): Likewise.
3184         (enable_test): New function.
3185         (RUN_TEST_f_f): Check enable_test before running test.
3186         (RUN_TEST_2_f): Likewise.
3187         (RUN_TEST_fff_f): Likewise.
3188         (RUN_TEST_c_f): Likewise.
3189         (RUN_TEST_f_f1): Likewise.
3190         (RUN_TEST_fF_f1): Likewise.
3191         (RUN_TEST_fI_f1): Likewise.
3192         (RUN_TEST_ffI_f1): Likewise.
3193         (RUN_TEST_c_c): Likewise.
3194         (RUN_TEST_cc_c): Likewise.
3195         (RUN_TEST_f_i): Likewise.
3196         (RUN_TEST_f_i_tg): Likewise.
3197         (RUN_TEST_ff_i_tg): Likewise.
3198         (RUN_TEST_f_b): Likewise.
3199         (RUN_TEST_f_b_tg): Likewise.
3200         (RUN_TEST_f_l): Likewise.
3201         (RUN_TEST_f_L): Likewise.
3202         (RUN_TEST_fFF_11): Likewise.
3203         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3204         conditionals.
3205         (cosh_test_data): Likewise.
3206         (exp_test_data): Likewise.
3207         (expm1_test_data): Likewise.
3208         (hypot_test_data): Likewise.
3209         (pow_test_data): Likewise.
3210         (sinh_test_data): Likewise.
3211         (tanh_test_data): Likewise.
3212         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3213         flags argument.
3215         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3216         tests with quiet NaN input and output.
3217         (acosh_test_data): Likewise.
3218         (asin_test_data): Likewise.
3219         (asinh_test_data): Likewise.
3220         (atan_test_data): Likewise.
3221         (atanh_test_data): Likewise.
3222         (atan2_test_data): Likewise.
3223         (cbrt_test_data): Likewise.
3224         (cos_test_data): Likewise.
3225         (cosh_test_data): Likewise.
3226         (erf_test_data): Likewise.
3227         (erfc_test_data): Likewise.
3228         (exp_test_data): Likewise.
3229         (exp10_test_data): Likewise.
3230         (exp2_test_data): Likewise.
3231         (expm1_test_data): Likewise.
3232         (hypot_test_data): Likewise.
3233         (j0_test_data): Likewise.
3234         (j1_test_data): Likewise.
3235         (jn_test_data): Likewise.
3236         (lgamma_test_data): Likewise.
3237         (log_test_data): Likewise.
3238         (log10_test_data): Likewise.
3239         (log1p_test_data): Likewise.
3240         (log2_test_data): Likewise.
3241         (pow_test_data): Likewise.
3242         (scalb_test_data): Likewise.
3243         (sin_test_data): Likewise.
3244         (sincos_test_data): Likewise.
3245         (sinh_test_data): Likewise.
3246         (tan_test_data): Likewise.
3247         (tanh_test_data): Likewise.
3248         (tgamma_test_data): Likewise.
3249         (y0_test_data): Likewise.
3250         (y1_test_data): Likewise.
3251         (yn_test_data): Likewise.
3253         [BZ #16167]
3254         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3255         argument being NaN and avoid computations with second argument in
3256         that case.
3257         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3258         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3259         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3261 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3263         * locale/iso-639.def: Add Chitwani Tharu (the).
3265 2013-11-14  Andreas Schwab  <schwab@suse.de>
3267         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3268         word instead of empty string.
3270 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3273         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3275         (__fe_nomask_env): Likewise.
3277 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3279         * benchtests/bench-timing.h: Include time.h.
3281 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3283         [BZ #15997]
3284         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3285         to 3.4.0 for x32.
3286         * sysdeps/unix/sysv/linux/configure: Regenerated.
3288 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3290         [BZ #16151]
3291         * stdlib/strtod_l.c (round_and_return): Do not consider
3292         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3293         exponent one less than half the least subnormal exponent.
3294         * stdlib/test-strtod-round-data: Add more tests.
3295         * stdlib/tst-strtod-round.c (tests): Regenerated.
3297 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3299         [BZ #14143]
3300         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3301         (__fe_mask_env): Likewise.
3302         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3303         libm_hidden_proto and add function prototype.
3304         (__fe_mask_env): Add function prototype.
3305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3306         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3308         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3310         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3312 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3314         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3315         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3317 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3319         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3320         of htab_find_slot().
3322 2013-11-11  David S. Miller  <davem@davemloft.net>
3324         [BZ #16150]
3325         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3326         symbol in the non-vis3 case in static builds.
3327         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3328         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3329         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3330         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3332 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3334         [BZ #387]
3335         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3336         it is empty.
3338 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3340         * benchtests/Makefile: Add bench-strtod.
3341         * benchtests/bench-strtod.c: New file: strtod benchtest
3343 2013-11-11  Andreas Schwab  <schwab@suse.de>
3345         [BZ #16153]
3346         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3347         terminating NUL in key length.
3349 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3351         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3352         Add artificial ODP entry for vDSO symbol for PPC64.
3353         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3354         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3356 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3358         [BZ #15374]
3359         * nss/getent.c (services_keys): Recognize services starting with digit.
3361 2013-11-06  David S. Miller  <davem@davemloft.net>
3363         [BZ #15985]
3364         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3365         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3367 2013-11-06  Will Newton  <will.newton@linaro.org>
3369         * manual/memory.texi (Malloc Examples): Remove register
3370         keyword from examples.
3372 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3374         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3376 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3378         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3379         depending on [__GCC_IEC_559 > 0].
3380         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3381         depending on [__GCC_IEC_559_COMPLEX > 0].
3383 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3385         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3386         to iso-639.def.
3388 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3390         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3392 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3394         [BZ #16112]
3395         * malloc/malloc (malloc_info): Do not handle first bin as
3396         special case.
3398 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3400         * locale/iso-639.def: Add Central Nahuatl (nhn).
3402 2013-11-01  Bruno Haible  <bruno@clisp.org>
3404         [BZ #7003]
3405         * manual/math.texi (BSD Random): Specify range upper bound as
3406         in POSIX.
3408 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3410         * locale/iso-639.def: Add Meadow Mari (mhr).
3412 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3414         [BZ #14752], [BZ #15763]
3415         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3416         Validate name.
3417         * rt/tst_shm.c: Add test for escaping directory.
3419 2013-10-31  Andreas Schwab  <schwab@suse.de>
3421         [BZ #15917]
3422         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3423         followed by 'x' as part of digit sequence.
3424         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3426 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3428         [BZ #16037]
3429         * configure.ac: allow GNU Make 4.0 and greater.
3430         * configure: Regenerated.
3432 2013-10-30  Will Newton  <will.newton@linaro.org>
3434         [BZ #16038]
3435         * malloc/hooks.c (memalign_check): Limit alignment to the
3436         maximum representable power of two.
3437         * malloc/malloc.c (__libc_memalign): Likewise.
3438         * malloc/tst-memalign.c (do_test): Add test for very
3439         large alignment values.
3440         * malloc/tst-posix_memalign.c (do_test): Likewise.
3442 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3444         [BZ #11087]
3445         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3446         (munmap_chunk): Likewise.
3447         (mremap_chunk): Likewise.
3449 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3451         [BZ #15799]
3452         * stdlib/div.c (div): Remove obsolete code.
3453         * stdlib/ldiv.c (ldiv): Likewise.
3454         * stdlib/lldiv.c (lldiv): Likewise.
3456 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3458         [BZ #16071]
3459         * nss/nss_files/files-XXX.c (get_contents_ret): New
3460         enumerator.
3461         (get_contents): New function.
3462         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3464 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3466         * configure.in: Moved to ...
3467         * configure.ac: ... here. Change reference to configure.in
3468         to configure.ac.
3469         * sysdeps/arm/preconfigure.ac: ... here.
3470         configure.in to configure.ac.
3471         * sysdeps/gnu/configure.in: Moved to ...
3472         * sysdeps/gnu/configure.ac: ... here.
3473         * sysdeps/i386/configure.in: Moved to ...
3474         * sysdeps/i386/configure.ac: ... here.
3475         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3476         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3477         * sysdeps/mach/configure.in: Moved to ...
3478         * sysdeps/mach/configure.ac: ... here.
3479         * sysdeps/mach/hurd/configure.in: Moved to ...
3480         * sysdeps/mach/hurd/configure.ac: ... here.
3481         * sysdeps/powerpc/configure.in: Moved to ...
3482         * sysdeps/powerpc/configure.ac: ... here.
3483         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3484         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3485         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3486         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3487         * sysdeps/s390/s390-32/configure.in: Moved to ...
3488         * sysdeps/s390/s390-32/configure.ac: ... here.
3489         * sysdeps/s390/s390-64/configure.in: Moved to ...
3490         * sysdeps/s390/s390-64/configure.ac: ... here.
3491         * sysdeps/sh/configure.in: Moved to ...
3492         * sysdeps/sh/configure.ac: ... here.
3493         * sysdeps/sparc/configure.in: Moved to ...
3494         * sysdeps/sparc/configure.ac: ... here.
3495         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3496         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3497         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3498         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3499         * sysdeps/x86_64/configure.in: Moved to ...
3500         * sysdeps/x86_64/configure.ac: ... here.
3501         * sysdeps/x86_64/preconfigure.in: Moved to ...
3502         * sysdeps/x86_64/preconfigure.ac: ... here.
3503         * aclocal.m4: Change reference to configure.in to configure.ac.
3504         * config.h.in: Likewise.
3505         * manual/install.texi: Likewise.
3506         * manual/maint.texi: Likewise.
3507         * Makefile: Likewise.
3508         * malloc/Makefile: Likewise.
3509         * nscd/Makefile: Likewise.
3510         * Makeconfig: Change reference to configure.in and
3511         preconfigure.in to configure.ac and preconfigure.ac
3512         respectively.
3513         * INSTALL: Regenerated.
3514         * configure: Likewise.
3515         * sysdeps/gnu/configure: Likewise.
3516         * sysdeps/i386/configure: Likewise.
3517         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3518         * sysdeps/mach/configure: Likewise.
3519         * sysdeps/mach/hurd/configure: Likewise.
3520         * sysdeps/powerpc/configure: Likewise.
3521         * sysdeps/powerpc/powerpc32/configure: Likewise.
3522         * sysdeps/powerpc/powerpc64/configure: Likewise.
3523         * sysdeps/s390/s390-32/configure: Likewise.
3524         * sysdeps/s390/s390-64/configure: Likewise.
3525         * sysdeps/sh/configure: Likewise.
3526         * sysdeps/sparc/configure: Likewise.
3527         * sysdeps/unix/sysv/linux/configure: Likewise.
3528         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3529         * sysdeps/x86_64/configure: Likewise.
3530         * sysdeps/x86_64/preconfigure: Likewise.
3532 2013-10-29  Andreas Schwab  <schwab@suse.de>
3534         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3536 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3538         * benchtests/pow-inputs: Add new inputs.
3540         * benchtests/exp-inputs: Add new inputs.
3542         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3543         conditional check for return value.
3544         (__cos32): Likewise.
3546 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3548         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3549         to provide a boost for large inputs with word alignment.
3550         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3551         implementation based on optimized PPC64 strcpy.
3552         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3553         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3554         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3555         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3557 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3559         [BZ #2801]
3560         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3562 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3564         [BZ #14876]
3565         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3566         * time/tst-strptime.c (day_tests): Add testcase.
3568 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3570         [BZ #14029]
3571         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3573 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3575         [BZ #16074]
3576         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3577         MAP_FAILED on error.
3579 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3581         [BZ #16072]
3582         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3583         heap for large requests.
3585 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3587         [BZ #9954]
3588         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3589         result if the result has no associated interface.
3590         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3591         interface for all 127.X.Y.Z addresses.
3593 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3595         * locale/iso-639.def: Add Ligurian (lij)
3597 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3599         [BZ #15825]
3600         * sunrpc/rpc_main.c: Document rpcgen -5.
3602 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3604         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3606 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3608         [BZ #10278]
3609         * posix/glob.c: Match only directories when trailing slash is present.
3610         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3611         (main): Add testcase.
3613 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3615         [BZ #15670]
3616         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3618 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3620         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3621         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3622         AUTH_DES and cindex for FIPS 140-2.
3623         (DES Encryption): Add cindex FIPS 46-3.
3625         * locale/locarchive.h (struct locarhandle): Add fname.
3626         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3627         if an optional argument was specified to --list-archive,
3628         otherwise NULL.
3629         * locale/programs/locarchive.c (show_archive_content): Take new
3630         argument fname and pass it via ah.fname to open_archive.
3631         * locale/programs/localedef.h: Update decl.
3632         (open_archive): If AH->fname is non-null, open that file
3633         rather than the default file name, and don't ignore ENOENT.
3634         (create_archive): Set AH.fname to NULL.
3635         (delete_locales_from_archive): Likewise.
3636         (add_locales_to_archive): Likewise.
3637         * locale/programs/locfile.c (write_all_categories): Likewise.
3639 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3640             Aldy Hernandez  <aldyh@redhat.com>
3642         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3643         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3644         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3645         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3646         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3647         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3648         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3649         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3650         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3651         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3652         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3653         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3654         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3655         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3656         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3657         Likewise.
3658         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3659         Likewise.
3660         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3661         Likewise.
3662         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3663         Likewise.
3664         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3665         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3666         Likewise.
3667         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3668         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3669         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3670         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3671         Likewise.
3672         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3673         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3674         * sysdeps/powerpc/preconfigure: Likewise.
3675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3676         Likewise.
3677         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3678         Replace contents of file by #include of <fenv_libc.h>.
3679         * sysdeps/powerpc/soft-fp/sfp-machine.h
3680         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3681         and <sys/prctl.h>.
3682         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3683         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3684         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3685         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3686         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3687         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3689         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3690         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3691         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3692         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3693         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3695         Allow copysignl PLT reference to be missing.
3697 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3698             Joseph Myers  <joseph@codesourcery.com
3700         [BZ #15948]
3701         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3702         single character.
3703         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3705 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3707         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3708         * elf/tst-tls1.c: Likewise.
3709         * elf/tst-tls10.h: Likewise.
3710         * elf/tst-tls14.c: Likewise.
3711         * elf/tst-tls2.c: Likewise.
3712         * elf/tst-tls3.c: Likewise.
3713         * elf/tst-tls4.c: Likewise.
3714         * elf/tst-tls5.c: Likewise.
3715         * elf/tst-tls6.c: Likewise.
3716         * elf/tst-tls7.c: Likewise.
3717         * elf/tst-tls8.c: Likewise.
3718         * elf/tst-tls9.c: Likewise.
3719         * elf/tst-tlsmod1.c: Likewise.
3720         * elf/tst-tlsmod13.c: Likewise.
3721         * elf/tst-tlsmod13a.c: Likewise.
3722         * elf/tst-tlsmod14a.c: Likewise.
3723         * elf/tst-tlsmod16a.c: Likewise.
3724         * elf/tst-tlsmod16b.c: Likewise.
3725         * elf/tst-tlsmod2.c: Likewise.
3726         * elf/tst-tlsmod3.c: Likewise.
3727         * elf/tst-tlsmod4.c: Likewise.
3728         * elf/tst-tlsmod5.c: Likewise.
3729         * elf/tst-tlsmod6.c: Likewise.
3731 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3733         [BZ #12486]
3734         * malloc/malloc.c: remove checks for statistics.
3736 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3738         [BZ #15277]
3739         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3740         * inet/tst-network.c: Add testcase.
3742 2013-10-17  Andreas Schwab  <schwab@suse.de>
3744         [BZ #15218]
3745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3746         to determine canonical name.
3748 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3750         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3751         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3753         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3754         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3755         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3756         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3757         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3758         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3759         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3760         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3761         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3762         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3763         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3764         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3765         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3766         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3767         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3768         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3769         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3770         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3771         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3772         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3773         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3774         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3775         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3776         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3777         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3778         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3779         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3780         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3781         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3782         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3783         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3784         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3785         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3786         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3787         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3788         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3789         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3790         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3791         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3792         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3793         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3794         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3795         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3796         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3797         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3798         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3799         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3800         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3801         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3802         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3803         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3804         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3805         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3806         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3807         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3809 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3811         [BZ #16041]
3812         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3813         make result into a quiet NaN.
3815 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3817         * soft-fp/adddf3.c: Fix horizontal whitespace.
3818         * soft-fp/addsf3.c: Likewise.
3819         * soft-fp/addtf3.c: Likewise.
3820         * soft-fp/divdf3.c: Likewise.
3821         * soft-fp/divsf3.c: Likewise.
3822         * soft-fp/divtf3.c: Likewise.
3823         * soft-fp/double.h: Likewise.
3824         * soft-fp/eqdf2.c: Likewise.
3825         * soft-fp/eqsf2.c: Likewise.
3826         * soft-fp/eqtf2.c: Likewise.
3827         * soft-fp/extenddftf2.c: Likewise.
3828         * soft-fp/extended.h: Likewise.
3829         * soft-fp/extendsfdf2.c: Likewise.
3830         * soft-fp/extendsftf2.c: Likewise.
3831         * soft-fp/extendxftf2.c: Likewise.
3832         * soft-fp/fixdfdi.c: Likewise.
3833         * soft-fp/fixdfsi.c: Likewise.
3834         * soft-fp/fixdfti.c: Likewise.
3835         * soft-fp/fixsfdi.c: Likewise.
3836         * soft-fp/fixsfsi.c: Likewise.
3837         * soft-fp/fixsfti.c: Likewise.
3838         * soft-fp/fixtfdi.c: Likewise.
3839         * soft-fp/fixtfsi.c: Likewise.
3840         * soft-fp/fixtfti.c: Likewise.
3841         * soft-fp/fixunsdfdi.c: Likewise.
3842         * soft-fp/fixunsdfsi.c: Likewise.
3843         * soft-fp/fixunsdfti.c: Likewise.
3844         * soft-fp/fixunssfdi.c: Likewise.
3845         * soft-fp/fixunssfsi.c: Likewise.
3846         * soft-fp/fixunssfti.c: Likewise.
3847         * soft-fp/fixunstfdi.c: Likewise.
3848         * soft-fp/fixunstfsi.c: Likewise.
3849         * soft-fp/fixunstfti.c: Likewise.
3850         * soft-fp/floatdidf.c: Likewise.
3851         * soft-fp/floatdisf.c: Likewise.
3852         * soft-fp/floatditf.c: Likewise.
3853         * soft-fp/floatsidf.c: Likewise.
3854         * soft-fp/floatsisf.c: Likewise.
3855         * soft-fp/floatsitf.c: Likewise.
3856         * soft-fp/floattidf.c: Likewise.
3857         * soft-fp/floattisf.c: Likewise.
3858         * soft-fp/floattitf.c: Likewise.
3859         * soft-fp/floatundidf.c: Likewise.
3860         * soft-fp/floatundisf.c: Likewise.
3861         * soft-fp/floatunditf.c: Likewise.
3862         * soft-fp/floatunsidf.c: Likewise.
3863         * soft-fp/floatunsisf.c: Likewise.
3864         * soft-fp/floatunsitf.c: Likewise.
3865         * soft-fp/floatuntidf.c: Likewise.
3866         * soft-fp/floatuntisf.c: Likewise.
3867         * soft-fp/floatuntitf.c: Likewise.
3868         * soft-fp/fmadf4.c: Likewise.
3869         * soft-fp/fmasf4.c: Likewise.
3870         * soft-fp/fmatf4.c: Likewise.
3871         * soft-fp/gedf2.c: Likewise.
3872         * soft-fp/gesf2.c: Likewise.
3873         * soft-fp/getf2.c: Likewise.
3874         * soft-fp/ledf2.c: Likewise.
3875         * soft-fp/lesf2.c: Likewise.
3876         * soft-fp/letf2.c: Likewise.
3877         * soft-fp/muldf3.c: Likewise.
3878         * soft-fp/mulsf3.c: Likewise.
3879         * soft-fp/multf3.c: Likewise.
3880         * soft-fp/negdf2.c: Likewise.
3881         * soft-fp/negsf2.c: Likewise.
3882         * soft-fp/negtf2.c: Likewise.
3883         * soft-fp/op-1.h: Likewise.
3884         * soft-fp/op-2.h: Likewise.
3885         * soft-fp/op-4.h: Likewise.
3886         * soft-fp/op-8.h: Likewise.
3887         * soft-fp/op-common.h: Likewise.
3888         * soft-fp/quad.h: Likewise.
3889         * soft-fp/single.h: Likewise.
3890         * soft-fp/soft-fp.h: Likewise.
3891         * soft-fp/sqrtdf2.c: Likewise.
3892         * soft-fp/sqrtsf2.c: Likewise.
3893         * soft-fp/sqrttf2.c: Likewise.
3894         * soft-fp/subdf3.c: Likewise.
3895         * soft-fp/subsf3.c: Likewise.
3896         * soft-fp/subtf3.c: Likewise.
3897         * soft-fp/truncdfsf2.c: Likewise.
3898         * soft-fp/trunctfdf2.c: Likewise.
3899         * soft-fp/trunctfsf2.c: Likewise.
3900         * soft-fp/trunctfxf2.c: Likewise.
3901         * soft-fp/unorddf2.c: Likewise.
3902         * soft-fp/unordsf2.c: Likewise.
3903         * soft-fp/unordtf2.c: Likewise.
3905 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3907         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3908         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3910 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3912         * elf/dl-libc.c: Clear initfini list after freeing.
3914 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3916         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3917         * soft-fp/addsf3.c: Likewise.
3918         * soft-fp/addtf3.c: Likewise.
3919         * soft-fp/divdf3.c: Likewise.
3920         * soft-fp/divsf3.c: Likewise.
3921         * soft-fp/divtf3.c: Likewise.
3922         * soft-fp/double.h: Likewise.
3923         * soft-fp/eqdf2.c: Likewise.
3924         * soft-fp/eqsf2.c: Likewise.
3925         * soft-fp/eqtf2.c: Likewise.
3926         * soft-fp/extenddftf2.c: Likewise.
3927         * soft-fp/extended.h: Likewise.
3928         * soft-fp/extendsfdf2.c: Likewise.
3929         * soft-fp/extendsftf2.c: Likewise.
3930         * soft-fp/extendxftf2.c: Likewise.
3931         * soft-fp/fixdfdi.c: Likewise.
3932         * soft-fp/fixdfsi.c: Likewise.
3933         * soft-fp/fixdfti.c: Likewise.
3934         * soft-fp/fixsfdi.c: Likewise.
3935         * soft-fp/fixsfsi.c: Likewise.
3936         * soft-fp/fixsfti.c: Likewise.
3937         * soft-fp/fixtfdi.c: Likewise.
3938         * soft-fp/fixtfsi.c: Likewise.
3939         * soft-fp/fixtfti.c: Likewise.
3940         * soft-fp/fixunsdfdi.c: Likewise.
3941         * soft-fp/fixunsdfsi.c: Likewise.
3942         * soft-fp/fixunsdfti.c: Likewise.
3943         * soft-fp/fixunssfdi.c: Likewise.
3944         * soft-fp/fixunssfsi.c: Likewise.
3945         * soft-fp/fixunssfti.c: Likewise.
3946         * soft-fp/fixunstfdi.c: Likewise.
3947         * soft-fp/fixunstfsi.c: Likewise.
3948         * soft-fp/fixunstfti.c: Likewise.
3949         * soft-fp/floatdidf.c: Likewise.
3950         * soft-fp/floatdisf.c: Likewise.
3951         * soft-fp/floatditf.c: Likewise.
3952         * soft-fp/floatsidf.c: Likewise.
3953         * soft-fp/floatsisf.c: Likewise.
3954         * soft-fp/floatsitf.c: Likewise.
3955         * soft-fp/floattidf.c: Likewise.
3956         * soft-fp/floattisf.c: Likewise.
3957         * soft-fp/floattitf.c: Likewise.
3958         * soft-fp/floatundidf.c: Likewise.
3959         * soft-fp/floatundisf.c: Likewise.
3960         * soft-fp/floatunsidf.c: Likewise.
3961         * soft-fp/floatunsisf.c: Likewise.
3962         * soft-fp/floatuntidf.c: Likewise.
3963         * soft-fp/floatuntisf.c: Likewise.
3964         * soft-fp/floatuntitf.c: Likewise.
3965         * soft-fp/fmadf4.c: Likewise.
3966         * soft-fp/fmasf4.c: Likewise.
3967         * soft-fp/fmatf4.c: Likewise.
3968         * soft-fp/gedf2.c: Likewise.
3969         * soft-fp/gesf2.c: Likewise.
3970         * soft-fp/getf2.c: Likewise.
3971         * soft-fp/ledf2.c: Likewise.
3972         * soft-fp/lesf2.c: Likewise.
3973         * soft-fp/letf2.c: Likewise.
3974         * soft-fp/muldf3.c: Likewise.
3975         * soft-fp/mulsf3.c: Likewise.
3976         * soft-fp/multf3.c: Likewise.
3977         * soft-fp/negdf2.c: Likewise.
3978         * soft-fp/negsf2.c: Likewise.
3979         * soft-fp/negtf2.c: Likewise.
3980         * soft-fp/op-1.h: Likewise.
3981         * soft-fp/op-2.h: Likewise.
3982         * soft-fp/op-4.h: Likewise.
3983         * soft-fp/op-8.h: Likewise.
3984         * soft-fp/op-common.h: Likewise.
3985         * soft-fp/quad.h: Likewise.
3986         * soft-fp/single.h: Likewise.
3987         * soft-fp/soft-fp.h: Likewise.
3988         * soft-fp/sqrtdf2.c: Likewise.
3989         * soft-fp/sqrtsf2.c: Likewise.
3990         * soft-fp/sqrttf2.c: Likewise.
3991         * soft-fp/subdf3.c: Likewise.
3992         * soft-fp/subsf3.c: Likewise.
3993         * soft-fp/subtf3.c: Likewise.
3994         * soft-fp/truncdfsf2.c: Likewise.
3995         * soft-fp/trunctfdf2.c: Likewise.
3996         * soft-fp/trunctfsf2.c: Likewise.
3997         * soft-fp/trunctfxf2.c: Likewise.
3998         * soft-fp/unorddf2.c: Likewise.
3999         * soft-fp/unordsf2.c: Likewise.
4000         * soft-fp/unordtf2.c: Likewise.
4002 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4004         [BZ #15672]
4005         * misc/error.c (error_tail): Fix possible buffer overflow.
4007 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4009         [BZ #13028]
4010         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4011         address.
4013 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4015         [BZ #832]
4016         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4017         testing pipefail option.
4019 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4021         * soft-fp/double.h: Indent preprocessor directives inside #if.
4022         * soft-fp/extended.h: Likewise.
4023         * soft-fp/op-2.h: Likewise.
4024         * soft-fp/op-4.h: Likewise.
4025         * soft-fp/op-common.h: Likewise.
4026         * soft-fp/quad.h: Likewise.
4027         * soft-fp/single.h: Likewise.
4028         * soft-fp/soft-fp.h: Likewise.
4030 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4032         * iconv/iconv_prog.c: Fix typos.
4033         * stdio-common/psiginfo-data.h: Likewise.
4035 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4037         [BZ #15764]
4038         * locale/setlocale.c: Fix typo.
4040 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4042         [BZ #16036]
4043         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4044         signaling NaN arguments.
4045         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4046         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4048         [BZ #14910]
4049         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4050         unordered operands.
4051         * soft-fp/gesf2.c (__gesf2): Likewise.
4052         * soft-fp/getf2.c (__getf2): Likewise.
4053         * soft-fp/ledf2.c (__ledf2): Likewise.
4054         * soft-fp/lesf2.c (__lesf2): Likewise.
4055         * soft-fp/letf2.c (__letf2): Likewise.
4057         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4058         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4059         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4060         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4061         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4062         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4063         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4064         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4065         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4066         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4067         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4068         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4069         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4070         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4071         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4072         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4073         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4074         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4075         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4076         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4077         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4078         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4079         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4080         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4081         * soft-fp/floattidf.c (__floattidf): Likewise.
4082         * soft-fp/floattisf.c (__floattisf): Likewise.
4083         * soft-fp/floattitf.c (__floattitf): Likewise.
4084         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4085         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4086         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4087         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4088         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4089         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4090         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4091         * soft-fp/gesf2.c (__gesf2): Likewise.
4092         * soft-fp/getf2.c (__getf2): Likewise.
4093         * soft-fp/ledf2.c (__ledf2): Likewise.
4094         * soft-fp/lesf2.c (__lesf2): Likewise.
4095         * soft-fp/letf2.c (__letf2): Likewise.
4097         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4098         Undefine and redefine.
4099         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4100         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4101         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4102         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4103         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4104         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4105         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4106         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4107         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4108         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4109         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4110         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4111         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4112         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4113         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4115         [BZ #16032]
4116         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4117         without decrementing exponent if mantissa >= that for the
4118         denominator, not >.
4119         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4120         denominator, not >.  Decrement exponent in < case instead of
4121         incrementing in >= case.
4122         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4123         without decrementing exponent if mantissa >= that for the
4124         denominator, not >.
4126         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4127         computing saturated result for unsigned overflow.
4129 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4130             Jeff Law  <law@redhat.com>
4132         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4133         (atan2Mp): Add systemtap probe marker.
4134         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4135         (__ieee754_log): Add systemtap probe marker.
4136         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4137         (atanMp): Add systemtap probe marker.
4138         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4139         (tanMp): Add systemtap probe marker.
4140         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4141         (__slowexp): Add systemtap probe marker.
4142         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4143         (__slowpow): Add systemtap probe marker.
4144         * manual/probes.texi: Document probes.
4146 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4148         [BZ #15362]
4149         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4150         written.
4151         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4152         written.
4153         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4154         written to buffer but not flushed.
4155         * libio/iofwrite_u.c:  Likewise.
4156         * libio/iopadn.c:  Return bytes returned even if EOF was
4157         encountered.
4158         * libio/iowpadn.c:  Likewise.
4159         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4160         if _IO_padn does not write the whole buffer.
4161         [!COMPILE_WPRINTF] (PAD): Likewise.
4163 2013-10-10  David S. Miller  <davem@davemloft.net>
4165         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4166         directory block.
4168 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4170         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4171         instead of FSF address.
4172         * soft-fp/fixdfti.c: Likewise.
4173         * soft-fp/fixsfti.c: Likewise.
4174         * soft-fp/fixtfti.c: Likewise.
4175         * soft-fp/fixunsdfti.c: Likewise.
4176         * soft-fp/fixunssfti.c: Likewise.
4177         * soft-fp/fixunstfti.c: Likewise.
4178         * soft-fp/floattidf.c: Likewise.
4179         * soft-fp/floattisf.c: Likewise.
4180         * soft-fp/floattitf.c: Likewise.
4181         * soft-fp/floatuntidf.c: Likewise.
4182         * soft-fp/floatuntisf.c: Likewise.
4183         * soft-fp/floatuntitf.c: Likewise.
4184         * soft-fp/trunctfxf2.c: Likewise.
4186         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4187         * soft-fp/fixdfti.c: Likewise.
4188         * soft-fp/fixsfti.c: Likewise.
4189         * soft-fp/fixtfti.c: Likewise.
4190         * soft-fp/fixunsdfti.c: Likewise.
4191         * soft-fp/fixunssfti.c: Likewise.
4192         * soft-fp/fixunstfti.c: Likewise.
4193         * soft-fp/floattidf.c: Likewise.
4194         * soft-fp/floattisf.c: Likewise.
4195         * soft-fp/floattitf.c: Likewise.
4196         * soft-fp/floatuntidf.c: Likewise.
4197         * soft-fp/floatuntisf.c: Likewise.
4198         * soft-fp/floatuntitf.c: Likewise.
4199         * soft-fp/trunctfxf2.c: Likewise.
4201 2013-10-10  David S. Miller  <davem@davemloft.net>
4203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4205 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4207         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4208         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4209         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4210         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4211         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4212         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4213         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4215         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4216         for NaNs before doing comparisons on argument.
4217         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4218         Likewise.
4220 2013-10-10  Will Newton  <will.newton@linaro.org>
4222         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4223         passed to _int_memalign does not overflow.
4225 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4227         * scripts/bench.pl: Add include-sources directive.
4228         * benchtests/README: Update documentation.
4230 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4232         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4233         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4234         instead of FP_INIT_ROUNDMODE.
4235         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4236         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4238         [BZ #16034]
4239         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4240         copy class of input value.
4241         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4242         not handle exceptions.
4243         * soft-fp/negsf2.c (__negsf2): Likewise.
4244         * soft-fp/negtf2.c (__negtf2): Likewise.
4245         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4247 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4249         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4250         semicolon.  From Linux kernel.
4252 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4254         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4256 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4258         [BZ #156]
4259         * manual/socket.texi: Added statement about buffer
4260         for gethostbyname2_r.
4262 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4264         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4265         Use .p2align directive instead, throughout.
4266         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4267         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4268         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4269         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4270         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4271         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4272         * sysdeps/x86_64/strchr.S: Likewise.
4273         * sysdeps/x86_64/strrchr.S: Likewise.
4275 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4277         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4279         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4281         * sysdeps/generic/math_private.h (__mpsin1): Remove
4282         declaration.
4283         (__mpcos1): Likewise.
4284         (__mpsin): New argument __range_reduce.
4285         (__mpcos): Likewise.
4286         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4287         (slow): Use __mpsin and __mpcos.
4288         (slow1): Likewise.
4289         (slow2): Likewise.
4290         (sloww): Likewise.
4291         (sloww1): Likewise.
4292         (sloww2): Likewise.
4293         (bsloww): Likewise.
4294         (bsloww1): Likewise.
4295         (bsloww2): Likewise.
4296         (cslow2): Likewise.
4297         (csloww): Likewise.
4298         (csloww1): Likewise.
4299         (csloww2): Likewise.
4300         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4301         range_reduce.  Merge in __mpsin1.
4302         (__mpcos): Likewise.
4303         (__mpsin1): Remove.
4304         (__mpcos1): Likewise.
4306 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4308         * locale/loadlocale.c (_nl_intern_locale_data): Use
4309         LOCFILE_ALIGNED_P.
4310         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4311         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4312         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4313         obstack data is appropriately aligned.
4314         (obstack_int32_grow_fast): Likewise.
4315         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4316         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4317         (add_locale_uint32_array): Likewise.
4319 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4321         * benchtests/Makefile: Remove ARGLIST and RET variables.
4322         ($(objpfx)bench-%.c): Pass only function name to the script.
4323         * benchtests/README: Update documentation.
4324         * benchtests/acos-inputs: Add new directives.
4325         * benchtests/acosh-inputs: Likewise.
4326         * benchtests/asin-inputs: Likewise.
4327         * benchtests/asinh-inputs: Likewise.
4328         * benchtests/atan-inputs: Likewise.
4329         * benchtests/atanh-inputs: Likewise.
4330         * benchtests/cos-inputs: Likewise.
4331         * benchtests/cosh-inputs: Likewise.
4332         * benchtests/exp-inputs: Likewise.
4333         * benchtests/log-inputs: Likewise.
4334         * benchtests/pow-inputs: Likewise.
4335         * benchtests/rint-inputs: Likewise.
4336         * benchtests/sin-inputs: Likewise.
4337         * benchtests/sinh-inputs: Likewise.
4338         * benchtests/tan-inputs: Likewise.
4339         * benchtests/tanh-inputs: Likewise.
4340         * scripts/bench.pl: Add support for new directives.
4342 2013-10-07  Alan Modra  <amodra@gmail.com>
4344         * README: Fix careless merge.
4346 2013-10-05  Alan Modra  <amodra@gmail.com>
4348         * NEWS: Mention powerpc64le support and bugs fixed.
4349         * README: Both big-endian and little-endian powerpc64 supported.
4351 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4353         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4354         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4355         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4356         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4358 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4360         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4361         match prototype.
4363 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4365         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4366         Move -mhard-float appending from
4367         ports/sysdeps/powerpc/powerpc32/Makefile.
4368         [$(with-fp) = yes] (ASFLAGS): Likewise.
4369         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4370         * sysdeps/powerpc/nofpu: Move directory from
4371         ports/sysdeps/powerpc/nofpu.
4372         * sysdeps/powerpc/soft-fp: Move directory from
4373         ports/sysdeps/powerpc/soft-fp.
4374         * sysdeps/powerpc/powerpc32/405: Move directory from
4375         ports/sysdeps/powerpc/powerpc32/405.
4376         * sysdeps/powerpc/powerpc32/440: Move directory from
4377         ports/sysdeps/powerpc/powerpc32/440.
4378         * sysdeps/powerpc/powerpc32/464: Move directory from
4379         ports/sysdeps/powerpc/powerpc32/464.
4380         * sysdeps/powerpc/powerpc32/476: Move directory from
4381         ports/sysdeps/powerpc/powerpc32/476.
4382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4383         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4385         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4387         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4389         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4391         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4392         * README: Update for powerpc-*-linux-gnu software floating point
4393         support in libc.
4395         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4396         case to powerpc/powerpc32*.
4397         * sysdeps/unix/sysv/linux/configure: Regenerated.
4399         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4400         (_FPU_MASK_OM): Define as 0x04.
4401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4403         0x00c10080.
4404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4405         0x0000003c.
4406         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4409         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4410         getcontext_e500.
4411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4412         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4413         setcontext_e500.
4414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4415         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4416         and setcontext_e500.
4418 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4420         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4422 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4424         * manual/threads.texi (Default Thread Attributes): Fix typo.
4426 2013-10-04  Will Newton  <will.newton@linaro.org>
4428         * malloc/Makefile: Add tst-memalign.
4429         * malloc/tst-memalign.c: New file.
4431         * malloc/tst-posix_memalign.c: Add comments.
4432         (do_test): Add comments and call free on all potentially
4433         allocated pointers. Add space after cast.
4435         * malloc/tst-pvalloc.c: Add comments.
4436         (do_test): Add comments and call free on all potentially
4437         allocated pointers. Remove duplicate check for NULL pointer.
4438         Add space after cast.
4440         * malloc/tst-valloc.c: Add comments.
4441         (do_test): Add comments and call free on all potentially
4442         allocated pointers. Remove duplicate check for NULL pointer.
4443         Add space after cast.
4445 2013-10-04  Alan Modra  <amodra@gmail.com>
4447         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4448         Use stdint types in rather than __attribute__((mode())).
4449         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4451 2013-10-04  Alan Modra  <amodra@gmail.com>
4453         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4454         Correct handling of unaligned relocs for little-endian.
4455         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4457 2013-10-04  Alan Modra  <amodra@gmail.com>
4459         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4460         * configure: Regenerate.
4461         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4462         * shlib-versions: Likewise.
4464 2013-10-04  Alan Modra  <amodra@gmail.com>
4466         * string/tester.c (test_memrchr): Increment reported test cycle.
4468 2013-10-04  Alan Modra  <amodra@gmail.com>
4470         * string/test-memcpy.c (do_one_test): When reporting errors, print
4471         string address and don't overrun end of string.
4473 2013-10-04  Alan Modra  <amodra@gmail.com>
4475         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4476         insrdi.  Make better use of reg selection to speed exit slightly.
4477         Schedule entry path a little better.  Remove useless "are we done"
4478         checks on entry to main loop.  Handle wrapping around zero address.
4479         Correct main loop count.  Handle single left-over word from main
4480         loop inline rather than by using loop_small.  Remove extra word
4481         case in loop_small caused by wrong loop count.  Add little-endian
4482         support.
4483         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4484         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4485         cache hint.
4486         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4487         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4488         support.  Avoid rlwimi.
4489         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4491 2013-10-04  Alan Modra  <amodra@gmail.com>
4493         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4494         insrdi.  Formatting.
4495         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4496         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4497         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4498         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4499         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4500         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4502 2013-10-04  Alan Modra  <amodra@gmail.com>
4504         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4505         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4506         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4507         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4508         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4509         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4510         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4511         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4512         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4513         use of regs.  Use power7 mtocrf.  Tidy function tails.
4515 2013-10-04  Alan Modra  <amodra@gmail.com>
4517         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4518         Formatting.  Consistently use rXXX register defines or rN defines.
4519         Use early exit labels that avoid restoring unused non-volatile regs.
4520         Make cr field use more consistent with rWORDn compares.  Rename
4521         regs used as shift registers for unaligned loop, using rN defines
4522         for short lifetime/multiple use regs.
4523         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4524         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4525         addi 1,1,64 to pop stack frame.  Simplify return value code.
4526         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4528 2013-10-04  Alan Modra  <amodra@gmail.com>
4530         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4531         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4532         rather than rlwimi.
4533         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4534         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4535         little-endian support.  Correct typos.
4536         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4537         rather than rlwimi.
4538         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4539         in loop and entry code to keep "and." results.
4540         (strchr): Add little-endian support.  Comment.  Move cntlzd
4541         earlier in tail.
4542         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4544 2013-10-04  Alan Modra  <amodra@gmail.com>
4546         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4547         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4548         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4549         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4551 2013-10-04  Alan Modra  <amodra@gmail.com>
4553         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4554         (rTMP): Define as r11.
4555         (strcmp): Add little-endian support.  Optimise tail.
4556         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4557         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4558         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4559         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4560         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4561         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4562         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4564 2013-10-04  Alan Modra  <amodra@gmail.com>
4566         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4567         little-endian support.  Remove unnecessary "are we done" tests.
4568         Handle "s" wrapping around zero and extremely large "size".
4569         Correct main loop count.  Handle single left-over word from main
4570         loop inline rather than by using small_loop.  Correct comments.
4571         Delete "zero" tail, use "end_max" instead.
4572         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4574 2013-10-04  Alan Modra  <amodra@gmail.com>
4576         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4577         support.  Don't branch over align.
4578         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4579         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4580         support.  Rearrange tmp reg use to suit.  Comment.
4581         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4583 2013-10-04  Alan Modra  <amodra@gmail.com>
4585         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4587 2013-10-04  Alan Modra  <amodra@gmail.com>
4589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4590         conditional form of branch and link when obtaining pc.
4591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4593 2013-10-04  Alan Modra  <amodra@gmail.com>
4595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4596         HIWORD/LOWORD.
4597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4600 2013-10-04  Alan Modra  <amodra@gmail.com>
4602         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4603         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4604         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4605         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4606         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4607         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4608         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4609         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4610         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4611         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4613 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4614             Alistair Popple <alistair@ozlabs.au.ibm.com>
4615             Alan Modra <amodra@gmail.com>
4617         [BZ #15723]
4618         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4619         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4620         _dl_hwcap access for little-endian.
4621         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4622         destroy vmx regs when saving unaligned.
4623         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4624         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4625         destroy vmx regs when saving unaligned.
4627 2013-10-04  Alan Modra  <amodra@gmail.com>
4629         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4630         Don't use a union to pack hi/low value.
4632 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4634         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4635         for little-endian.
4636         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4637         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4638         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4639         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4640         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4642 2013-10-04  Alan Modra  <amodra@gmail.com>
4644         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4645         constants to usual value for .cst8 section, and remove redundant
4646         high address load.
4647         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4648         constant for 0x1p52.  Load little-endian words of double from
4649         correct stack offsets.
4651 2013-10-04  Alan Modra  <amodra@gmail.com>
4653         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4654         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4655         words of double from correct stack offsets.
4656         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4657         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4658         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4659         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4660         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4661         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4662         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4663         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4664         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4665         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4666         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4667         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4668         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4669         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4670         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4671         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4672         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4674 2013-10-04  Alan Modra  <amodra@gmail.com>
4676         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4677         64-bit int/double union.
4678         (_FPU_SETCW): Likewise.
4679         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4680         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4682 2013-10-04  Alan Modra  <amodra@gmail.com>
4684         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4685         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4687 2013-10-04  Alan Modra  <amodra@gmail.com>
4689         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4690         use vector int constants.
4691         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4693 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4695         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4696         array with long long.
4697         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4698         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4699         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4700         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4701         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4702         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4703         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4704         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4705         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4706         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4707         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4708         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4709         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4711 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4713         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4714         (__signbit): Likewise.  Correct for little-endian.
4715         (__signbitl): Call __signbit.
4716         (lrint): Correct for little-endian.
4717         (lrintf): Call lrint.
4719 2013-10-04  Alan Modra  <amodra@gmail.com>
4721         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4722         union 32-bit int array member with 64-bit int array.
4723         (t515, tm256): Double rather than long double.
4724         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4726 2013-10-04  Alan Modra  <amodra@gmail.com>
4728         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4729         Delete.
4730         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4731         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4732         version of math_ldbl.h.
4734 2013-10-04  Alan Modra  <amodra@gmail.com>
4736         [BZ #15734], [BZ #15735]
4737         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4738         all uses of ieee875 long double macros and unions.  Simplify test
4739         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4740         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4741         normalize after ldbl_extract_mantissa, and don't add hidden bit
4742         already handled.  Don't treat low word of ieee854 mantissa like
4743         low word of IBM long double and mask off bit when testing for
4744         zero.
4745         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4746         all uses of ieee875 long double macros and unions.  Simplify tests
4747         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4748         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4749         two1022, instead use their values.  Recognise that tests for large
4750         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4751         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4752         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4753         test for 0.0L and nan.  Correct negation.
4754         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4755         ieee875 long double macros and unions.  Correct output for large
4756         magnitude x.  Correct absolute value calculation.
4757         (__erfcl): Likewise.
4758         * math/libm-test.inc: Add tests for errors discovered in IBM long
4759         double versions of fmodl, remainderl, erfl and erfcl.
4761 2013-10-04  Alan Modra  <amodra@gmail.com>
4763         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4764         all uses of ieee854 long double macros and unions.  Simplify tests
4765         for long doubles that are fully specified by the high double.
4766         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4767         Likewise.
4768         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4769         Remove dead code too.
4770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4771         (__ieee754_ynl): Likewise.
4772         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4773         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4774         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4775         Remove dead code too.
4776         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4777         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4778         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4779         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4780         Simplify.
4781         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4782         Simplify.
4783         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4784         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4785         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4786         Comment on variable precision.
4787         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4788         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4789         Likewise.
4790         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4791         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4792         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4793         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4794         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4796 2013-10-04  Alan Modra  <amodra@gmail.com>
4798         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4799         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4800         all uses of ieee854 long double macros and unions.
4801         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4802         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4803         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4804         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4805         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4806         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4807         Likewise.
4808         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4809         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4810         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4811         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4812         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4813         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4814         Simplify sign and nan test too.
4815         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4816         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4817         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4818         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4819         Likewise.
4820         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4821         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4822         Likewise.
4823         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4824         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4825         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4826         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4827         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4830 2013-10-04  Alan Modra  <amodra@gmail.com>
4832         * stdio-common/printf_size.c (__printf_size): Don't use
4833         union ieee854_long_double in fpnum union.
4834         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4835         signbit macro to retrieve sign from long double.
4836         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4837         retrieve sign from long double.
4838         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4839         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4840         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4841         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4842         * math/test-misc.c (main): Don't use union ieee854_long_double.
4844 2013-10-04  Alan Modra  <amodra@gmail.com>
4846         [BZ #15680]
4847         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4848         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4849         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4850         calculation.  Remove unnecessary test for denormal exponent.
4851         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4852         Correct handling of denormals.  Avoid undefined shift behaviour.
4853         Correct normalisation of low mantissa when low double is denormal.
4854         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4855         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4856         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4857         Correct normalisation of low mantissa.  Test for overflow of high
4858         mantissa and normalise.
4859         (ldbl_nearbyint): Use more readable constant for two52.
4860         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4861         (__mpn_construct_long_double): Fix test for overflow of high
4862         mantissa and correct normalisation.  Avoid undefined shift.
4864 2013-10-04  Alan Modra  <amodra@gmail.com>
4866         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4867         (union ibm_extended_long_double): Define as an array of ieee754_double.
4868         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4869         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4870         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4871         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4872         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4873         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4874         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4875         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4876         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4877         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4878         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4880 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4882         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4883         page size instead of calling getpagesize.
4885         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4886         (LOCFILE_ALIGN_MASK): Likewise.
4887         (LOCFILE_ALIGN_UP): Likewise.
4888         (LOCFILE_ALIGNED_P): Likewise.
4889         * locale/programs/ld-collate.c (collate_output): Use the new
4890         macros instead of __alignof__ (int32_t).
4891         * locale/weight.h (findidx): Likewise.
4893 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4895         [BZ #431]
4896         * manual/string.texi: Fix strncat and wcsncat.
4898 2013-10-03  Brooks Moses  <bmoses@google.com>
4900         [BZ #15915]
4901         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4902         * Makerules: ...here, and adjust associated comments.
4904 2013-10-02  Will Newton  <will.newton@linaro.org>
4906         * malloc/Makefile: Add tst-pvalloc.
4907         * malloc/tst-pvalloc.c: New file.
4909 2013-10-02  Will Newton  <will.newton@linaro.org>
4911         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4912         improve test coverage.
4914 2013-10-02  Will Newton  <will.newton@linaro.org>
4916         * malloc/Makefile: Add tst-posix_memalign.
4917         * malloc/tst-posix_memalign.c: New file.
4919 2013-10-01  Eric Blake  <eblake@redhat.com>
4921         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4922         Use __THROWNL rather than __THROW on static functions.
4924 2013-09-30  Petr Machata  <pmachata@redhat.com>
4926         * elf/elf.h (R_AARCH64_ABS16): New macro.
4927         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4928         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4929         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4930         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4931         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4932         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4933         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4934         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4935         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4936         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4937         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4938         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4939         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4940         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4941         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4942         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4943         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4944         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4945         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4946         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4947         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4948         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4949         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4950         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4951         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4952         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4953         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4954         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4955         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4956         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4957         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4958         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4959         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4960         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4961         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4962         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4963         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4964         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4965         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4966         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4967         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4968         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4969         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4970         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4971         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4972         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4973         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4974         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4975         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4976         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4977         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4978         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4979         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4980         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4981         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4982         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4983         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4984         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4985         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4986         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4987         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4988         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4989         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4990         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4991         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4992         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4993         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4994         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4995         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4996         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4997         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4998         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4999         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5000         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5001         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5002         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5003         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5004         (R_AARCH64_TLSDESC_LDR): Likewise.
5005         (R_AARCH64_TLSDESC_ADD): Likewise.
5006         (R_AARCH64_TLSDESC_CALL): Likewise.
5008 2013-09-30  Andreas Schwab  <schwab@suse.de>
5010         [BZ #15048]
5011         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5012         the nss database lookup.
5013         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5016 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5018         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5020 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5022         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5023         ${Bash-specific parameter/pattern/string} parameter expansion.
5024         * sysdeps/unix/make-syscalls.sh: Likewise.
5026 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5028         * sysdeps/sh/stackguard-macros.h: New file.
5030 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5032         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5033         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5034         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5035         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5036         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5037         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5039 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5041         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5042         Fix thread ID register.
5044 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5046         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5047         [POSIX || UNIX98]: Require rather than permitting all symbols from
5048         <time.h>.
5049         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5050         element of struct sched_param.
5051         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5052         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5053         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5054         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5055         constant.
5057 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5059         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5060         argument calculation.
5062 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5064         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5065         Expect macro.
5066         [POSIX] (pthread_attr_t): Do not require type.
5067         [POSIX] (pthread_cond_t): Likewise.
5068         [POSIX] (pthread_condattr_t): Likewise.
5069         [POSIX] (pthread_key_t): Likewise.
5070         [POSIX] (pthread_mutex_t): Likewise.
5071         [POSIX] (pthread_mutexattr_t): Likewise.
5072         [POSIX] (pthread_once_t): Likewise.
5073         [POSIX] (pthread_t): Likewise.
5074         [POSIX-based standards] (pthread_atfork): Expect function.
5076 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5077             Richard Sandiford  <richard@codesourcery.com>
5079         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5080         (swap_endianness_p): New extern variable.
5081         (set_big_endian): New inline function.
5082         (maybe_swap_uint32): Likewise.
5083         (maybe_swap_uint32_array): Likewise.
5084         (maybe_swap_uint32_obstack): Likewise.
5085         * locale/programs/locfile.c: Include <stdbool.h>.
5086         (swap_endianness_p): New variable.
5087         (add_locale_uint32): Call maybe_swap_uint32.
5088         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5089         (write_locale_data): Call maybe_swap_uint32_array.
5090         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5091         maybe_swap_uint32.
5092         (obstack_int32_grow_fast): Likewise.
5093         (output_weightwc): Call maybe_swap_uint32_obstack.
5094         (collate_output): Likewise.
5095         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5096         (OPT_LITTLE_ENDIAN): Likewise.
5097         (options): Add --little-endian and --big-endian options.
5098         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5099         * locale/programs/locarchive.c: Include "locfile.h".
5100         (GET): New macro.
5101         (SET): Likewise.
5102         (INC): Likewise.
5103         (create_archive): Use the new macros to access fields of
5104         structures directly mapped from or written to locale archives.
5105         (oldlocrecentcmp): Likewise.
5106         (enlarge_archive): Likewise.
5107         (insert_name): Likewise.
5108         (add_alias): Likewise.
5109         (add_locale): Likewise.
5110         (delete_locales_from_archive): Likewise.
5111         (show_archive_content): Likewise.
5112         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5113         locale data.
5115 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5117         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5118         http://www.gnu.org/doc/freemanuals.texi.
5119         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5121 2013-09-24  Will Newton  <will.newton@linaro.org>
5123         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5124         macro.
5126 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5128         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5129         unsigned char.
5131 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5133         * manual/threads.texi (POSIX Threads): Fix a typo.
5135 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5137         [BZ #14547]
5138         * string/tst-strcoll-overflow.c: New test case.
5139         * string/Makefile (xtests): Add tst-strcoll-overflow.
5140         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5141         cache if string sizes may cause integer overflow.
5143         [BZ #14547]
5144         * string/strcoll_l.c (coll_seq): New members rule, idx,
5145         save_idx and back_us.
5146         (get_next_seq_nocache): New function.
5147         (do_compare_nocache): New function.
5148         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5149         when malloc fails.
5151 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5153         [BZ #15754]
5154         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5155         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5156         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5158         [BZ #15754]
5159         * elf/Makefile (tests): Add tst-ptrguard1.
5160         (tests-static): Add tst-ptrguard1-static.
5161         (tst-ptrguard1-ARGS): Define.
5162         (tst-ptrguard1-static-ARGS): Define.
5163         * elf/tst-ptrguard1.c: New file.
5164         * elf/tst-ptrguard1-static.c: New file.
5165         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5166         * sysdeps/i386/stackguard-macros.h: Likewise.
5167         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5168         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5169         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5170         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5171         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5172         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5174 2013-09-23  Hector Marco  <hecmargi@upv.es>
5175             Ismael Ripoll  <iripoll@disca.upv.es>
5176             Carlos O'Donell  <carlos@redhat.com>
5178         [BZ #15754]
5179         * sysdeps/generic/stackguard-macros.h: Define
5180         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5181         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5182         Define __pointer_chk_guard_local.
5183         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5184         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5186 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5188         [BZ #15859]
5189         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5191 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5193         * include/string.h (__ffs): Declare as hidden.
5194         * string/ffs.c (__ffs): Define as hidden.
5195         * sysdeps/i386/ffs.c (__ffs): Likewise.
5196         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5197         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5198         * sysdeps/s390/ffs.c (__ffs): Likewise.
5199         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5201 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5203         * NEWS: Mention malloc probes.
5205         * malloc/arena.c (new_heap): New memory_heap_new probe.
5206         (grow_heap): New memory_heap_more probe.
5207         (shrink_heap): New memory_heap_less probe.
5208         (heap_trim): New memory_heap_free probe.
5209         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5210         (systrim): New memory_sbrk_less probe.
5211         * manual/probes.texi: Document them.
5213         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5214         * manual/probes.texi: Document it.
5216         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5217         (__libc_realloc): Add memory_realloc_retry probe.
5218         (__libc_memalign): Add memory_memalign_retry probe.
5219         (__libc_valloc): Add memory_valloc_retry probe.
5220         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5221         (__libc_calloc): Add memory_calloc_retry probe.
5222         * manual/probes.texi: Document them.
5224         * malloc/arena.c (get_free_list): Add probe
5225         memory_arena_reuse_free_list.
5226         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5227         and memory_arena_reuse.
5228         (arena_get2) [!PER_THREAD]: Likewise.
5229         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5230         memory_arena_reuse_realloc.
5231         * manual/probes.texi: Document them.
5233         * malloc/malloc.c (__libc_free): Add
5234         memory_mallopt_free_dyn_thresholds probe.
5235         (__libc_mallopt): Add multiple memory_mallopt probes.
5236         * manual/probes.texi: Document them.
5238         * malloc/malloc.c: Include stap-probe.h.
5239         (__libc_mallopt): Add memory_mallopt probe.
5240         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5241         * manual/probes.texi: New.
5242         * manual/Makefile (chapters): Add probes.
5243         * manual/threads.texi: Set next node.
5245 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5247         [BZ #15963, #13985]
5248         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5249         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5250         Add `Chinese' to `nan' entry name.
5252 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5254         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5255         (POLYNOMIAL): Likewise.
5256         (TAYLOR_SINCOS): Likewise.
5257         (TAYLOR_SLOW): Likewise.
5258         (__sin): Use TAYLOR_SINCOS.
5259         (__cos): Likewise.
5260         (slow): Use TAYLOR_SLOW.
5261         (sloww): Likewise.
5262         (bsloww): Likewise.
5263         (csloww): Likewise.
5265 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5267         * stdlib/strtod_l.c: Fix buffer overrun.
5269 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5271         * benchtests/Makefile (bench): Add sincos.
5272         * benchtests/bench-sincos.c: New file.
5274         * math/libm-test.inc (cos_test_data): New test inputs.
5275         (sin_test_data): Likewise.
5277         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5278         macro.
5279         (__sin): Use it.
5280         (__cos): Likewise.
5281         (slow1): Likewise.
5282         (slow2): Likewise.
5283         (sloww1): Likewise.
5284         (sloww2): Likewise.
5285         (bsloww1): Likewise.
5286         (bsloww2): Likewise.
5287         (cslow2): Likewise.
5288         (csloww1): Likewise.
5289         (csloww2): Likewise.
5291         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5292         function.
5293         (__sin): Use it.
5294         (__cos): Likewise.
5296         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5297         gotos.
5298         (__cos): Likewise.
5300 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5302         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5303         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5304         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5305         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5306         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5307         * elf/cache.c (print_entry): Handle the new cache flags.
5309 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5310             Aldy Hernandez  <aldyh@redhat.com>
5312         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5313         Change condition to [_SOFT_FLOAT].
5314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5326         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5329         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5330         declaration.
5332 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5334         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5335         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5336         (__longjmp): Use LOAD_GP to load saved GPRs.
5337         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5338         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5339         (__sigsetjmp): Use SAVE_GP to save GPRs.
5341         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5342         Do not append -msoft-float.
5343         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5345 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5347         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5349 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5351         [BZ #15966]
5352         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5353         (_FPU_GETCW): Use initial "__" on variable and field names but not
5354         on macro parameter name.
5355         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5356         parentheses around reference to macro parameter.
5358 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5360         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5361         prototype.
5362         (ctype_startup): Use uint32_t in cast and sizeof for
5363         ctype->charnames.
5365 2013-09-11  Jia Liu  <proljc@gmail.com>
5367         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5368         __daddr_t_defined.
5369         [__FreeBSD__]: Likewise.
5371 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5374         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5375         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5376         (strchr): Remove __strchr_sse42 ifunc selection.
5377         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5378         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5380 2013-09-11  Will Newton  <will.newton@linaro.org>
5382         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5383         parameter to RES. Remove hardcoded 1000 value.
5384         * benchtests/bench-skeleton.c (main): Pass RES parameter
5385         to TIMING_INIT and multiply result by 1000.
5387 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5391 2013-09-11  Andreas Schwab  <schwab@suse.de>
5393         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5394         if not defined.
5395         (O_TMPFILE) [__USE_GNU]: Define.
5396         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5397         Define.
5399 2013-09-11  Will Newton  <will.newton@linaro.org>
5401         [BZ #15857]
5402         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5403         does not overflow.
5405 2013-09-11  Will Newton  <will.newton@linaro.org>
5407         [BZ #15856]
5408         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5409         does not overflow.
5411 2013-09-11  Will Newton  <will.newton@linaro.org>
5413         [BZ #15855]
5414         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5415         does not overflow.
5417 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5419         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5420         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5421         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5422         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5423         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5425 2013-09-10  Allan McRae  <allan@archlinux.org>
5427         [BZ #15748]
5428         * manual/arith.texi (Parsing of Floats): Clarify
5429         cross-reference.
5431         [BZ #15849]
5432         * manual/install.texi (Running make install): Mention
5433         --enable-pt-chown.
5434         * INSTALL: Regenerated.
5436 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5438         * csu/init-first.c (_init): Remove the !SHARED condition around
5439         FPU control word initialization.
5440         * elf/dl-support.c (_dl_fpu_control): New variable.
5441         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5442         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5443         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5444         * math/test-fpucw-static.c: New file.
5445         * math/test-fpucw-ieee.c: New file.
5446         * math/test-fpucw-ieee-static.c: New file.
5447         * math/Makefile (tests): Add `test-fpucw-ieee' and
5448         `$(tests-static)'.
5449         (tests-static): New variable.
5450         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5451         dependency to...
5452         [($(build-shared),yes)]
5453         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5454         ... this.
5455         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5456         New dependency.
5458 2013-09-09  Allan McRae  <allan@archlinux.org>
5460         [BZ #15939]
5461         * manual/string.texi (Collation Functions): Fix typo in
5462         strcoll example.
5463         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5465         [BZ #15893]
5466         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5468         [BZ #15892]
5469         * libio/memstream.c (open_memstream): Fix memory leak.
5470         * libio/wmemstream.c (open_wmemstream): Likewise.
5472         [BZ #15895]
5473         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5475 2013-09-09  Will Newton  <will.newton@linaro.org>
5477         * malloc/Makefile: Add tst-realloc to tests.
5478         * malloc/tst-realloc.c: New file.
5480 2013-09-09  Allan McRae  <allan@archlinux.org>
5482         [BZ #15844]
5483         * COPYING: Update from GNU website to fix FSF address.
5484         * COPYING.LIB: Likewise.
5486 2013-09-06  David S. Miller  <davem@davemloft.net>
5488         * po/zh_TW.po: Update Chinese (traditional) translation from
5489         translation project.
5491 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5492             Joseph Myers  <joseph@codesourcery.com>
5494         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5495         "localeinfo.h".
5496         (obstack_chunk_alloc): New macro.
5497         (obstack_chunk_free): Likewise.
5498         (record_offset): New function.
5499         (init_locale_data): Likewise.
5500         (align_locale_data): Likewise.
5501         (add_locale_empty): Likewise.
5502         (add_locale_raw_data): Likewise.
5503         (add_locale_raw_obstack): Likewise.
5504         (add_locale_string): Likewise.
5505         (add_locale_wstring): Likewise.
5506         (add_locale_uint32): Likewise.
5507         (add_locale_uint32_array): Likewise.
5508         (add_locale_char): Likewise.
5509         (start_locale_structure): Likewise.
5510         (end_locale_structure): Likewise.
5511         (start_locale_prelude): Likewise.
5512         (end_locale_prelude): Likewise.
5513         (write_locale_data): Take locale_file structure rather than an
5514         iovec.
5515         * locale/programs/locfile.h: Include "obstack.h".
5516         (struct locale_file): Change to store locale file contents instead
5517         of header.
5518         (init_locale_data): New prototype.
5519         (align_locale_data): Likewise.
5520         (add_locale_empty): Likewise.
5521         (add_locale_raw_data): Likewise.
5522         (add_locale_raw_obstack): Likewise.
5523         (add_locale_string): Likewise.
5524         (add_locale_wstring): Likewise.
5525         (add_locale_uint32): Likewise.
5526         (add_locale_uint32_array): Likewise.
5527         (add_locale_char): Likewise.
5528         (start_locale_structure): Likewise.
5529         (end_locale_structure): Likewise.
5530         (start_locale_prelude): Likewise.
5531         (end_locale_prelude): Likewise.
5532         (write_locale_data): Update prototype.
5533         * locale/programs/3level.h (struct TABLE): Remove result field.
5534         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5535         Use new locale_file interface.
5536         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5537         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5538         * locale/programs/ld-address.c (address_output): Use new
5539         locale_file interface.
5540         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5541         NO_ADD_LOCALE.
5542         (collate_finish): Don't call collseq_table_finalize.
5543         (collate_output): Use new locale_file interface.
5544         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5545         in file.
5546         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5547         (TABLE): Move defines earlier in file.
5548         (ELEMENT): Likewise.
5549         (DEFAULT): Likewise.
5550         (wctrans_table_add): Move macro and inline function earlier in
5551         file.
5552         (struct wctype_table): Move type earlier in file.
5553         (add_locale_wctype_table): New static prototype.
5554         (struct locale_ctype_t): Use logical types instead of struct iovec
5555         pointers for members.
5556         (ctype_output): Use new locale_file interface.
5557         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5558         new locale_file interface.
5559         (allocate_arrays): Update for use of new locale_file interface.
5560         * locale/programs/ld-identification.c (identification_output): Use
5561         new locale_file interface.
5562         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5563         * locale/programs/ld-messages.c (messages_output): Likewise.
5564         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5565         * locale/programs/ld-name.c (name_output): Likewise.
5566         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5567         * locale/programs/ld-paper.c (paper_output): Likewise.
5568         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5569         * locale/programs/ld-time.c (time_output): Likewise.
5571 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5573         * benchtests/Makefile: Add memrchr benchmark.
5574         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5575         benchmark as memrchr.
5576         * benchtests/bench-memrchr-ifunc.c: New file.
5577         * benchtests/bench-memrchr.c: New file.
5579 2013-09-06   Will Newton  <will.newton@linaro.org>
5581         * benchtests/Makefile (string-bench): Add memcpy.
5583 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5584             Cong Wang  <amwang@redhat.com>
5586         * sysdeps/unix/sysv/linux/bits/in.h
5587         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5588         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5589         before __USE_KERNEL_IPV6_DEFS uses.
5590         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5591         IPPROTO_BEETPH.
5592         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5593         sockaddr_in6, or ipv6_mreq.
5595 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5597         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5598         memory access for final bytes in some large inputs.
5599         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5601 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5603         * string/test-memrchr.c: New file.
5604         * string/test-memrchr-ifunc.c: New file.
5605         * string/Makefile: Add new memrchr testcase.
5607 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5609         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5610         fanotify_init returns EPERM.
5612 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5614         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5615         errors.
5616         (top level): Treat second token from macro or constant entries for
5617         allowed headers as allowed.
5618         * include/complex.h: Condition internal declarations on
5619         [!_ISOMAC].
5620         * include/fenv.h: Condition include of <stdbool.h> and internal
5621         declarations on [!_ISOMAC].
5623 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5625         [BZ #15923]
5626         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5628 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5630         * configure.in (--enable-versioning): Remove configure option.
5631         (libc_cv_asm_symver_directive): Remove configure test.
5632         (libc_cv_ld_version_script_option): Likewise.
5633         (VERSIONING): Remove variable and AC_SUBST.
5634         (DO_VERSIONING): Remove AC_DEFINE.
5635         * configure: Regenerated.
5636         * config.h.in (DO_VERSIONING): Remove macro.
5637         * Makerules [$(versioning) = yes]: Change conditionals to
5638         [$(build-shared) = yes].
5639         * config.make.in (versioning): Remove variable.
5640         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5641         [$(build-shared) = yes].
5642         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5643         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5644         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5645         [$(build-shared) = yes].
5646         * extra-lib.mk [$(versioning) = yes]: Likewise.
5647         * hurd/Makefile [$(versioning) = yes]: Likewise.
5648         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5649         [SHARED].
5650         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5651         [SHARED].
5652         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5653         [SHARED && !NO_HIDDEN].
5654         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5655         [SHARED].
5656         [SHARED && DO_VERSIONING]: Likewise..
5657         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5658         [$(build-shared) = yes].
5659         * manual/install.texi (--disable-versioning): Remove
5660         documentation.
5661         * INSTALL: Regenerated.
5662         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5663         to [SHARED].
5664         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5665         [$(build-shared) = yes].
5666         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5667         * sysdeps/i386/i686/multiarch/strstr-c.c
5668         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5669         [SHARED && !NO_HIDDEN].
5670         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5671         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5672         * sysdeps/powerpc/powerpc32/dl-machine.c
5673         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5674         * sysdeps/powerpc/powerpc32/sysdep.h
5675         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5676         to [SHARED && PIC && !NO_HIDDEN].
5677         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5678         conditional to [SHARED].
5680 2013-09-04   Will Newton  <will.newton@linaro.org>
5682         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5683         * benchtests/bench-string.h: Include bench-timing.h instead
5684         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5685         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5686         call to HP_TIMING_DIFF_INIT.
5687         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5688         instead of hp-timing.h macros.
5689         * benchtests/bench-memchr.c: Likewise.
5690         * benchtests/bench-memcmp.c: Likewise.
5691         * benchtests/bench-memcpy.c: Likewise.
5692         * benchtests/bench-memmem.c: Likewise.
5693         * benchtests/bench-memmove.c: Likewise.
5694         * benchtests/bench-memset.c: Likewise.
5695         * benchtests/bench-rawmemchr.c: Likewise.
5696         * benchtests/bench-strcasecmp.c: Likewise.
5697         * benchtests/bench-strcasestr.c: Likewise.
5698         * benchtests/bench-strcat.c: Likewise.
5699         * benchtests/bench-strchr.c: Likewise.
5700         * benchtests/bench-strcmp.c: Likewise.
5701         * benchtests/bench-strcpy.c: Likewise.
5702         * benchtests/bench-strcpy_chk.c: Likewise.
5703         * benchtests/bench-strlen.c: Likewise.
5704         * benchtests/bench-strncasecmp.c: Likewise.
5705         * benchtests/bench-strncat.c: Likewise.
5706         * benchtests/bench-strncmp.c: Likewise.
5707         * benchtests/bench-strncpy.c: Likewise.
5708         * benchtests/bench-strnlen.c: Likewise.
5709         * benchtests/bench-strpbrk.c: Likewise.
5710         * benchtests/bench-strrchr.c: Likewise.
5711         * benchtests/bench-strspn.c: Likewise.
5712         * benchtests/bench-strstr.c: Likewise.
5714 2013-09-04  Will Newton  <will.newton@linaro.org>
5716         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5718 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5720         [BZ #15427]
5721         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5722         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5723         * math/libm-test.inc (lgamma_test_data): Add more tests.
5724         * sysdeps/i386/fpu/libm-test-ulps: Update.
5725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5727 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5729         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5730         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5731         Add ifunc.
5732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5733         Add strcmp-sse2-unaligned
5734         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5736 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5738         * Versions.def (libc): Add GLIBC_2.19.
5740 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5742         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5743         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5745 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5747         [BZ #14155]
5748         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5749         intermediate calculations in recurrence.
5750         (__ieee754_ynf): Likewise.
5751         * math/libm-test.inc (jn_test_data): Do not allow spurious
5752         underflow exception.  Add more tests.
5753         (yn_test_data): Add more tests.
5754         * sysdeps/i386/fpu/libm-test-ulps: Update.
5755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5757 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5759         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5761 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5763         * csu/init-first.c: Fix then/than typos.
5764         * locale/programs/ld-collate.c: Likewise.
5765         * locale/programs/linereader.h: Likewise.
5766         * manual/charset.texi: Likewise.
5767         * manual/filesys.texi: Likewise.
5768         * manual/stdio.texi: Likewise.
5769         * manual/string.texi: Likewise.
5770         * stdlib/fmtmsg.c: Likewise.
5771         * sysdeps/i386/stpncpy.S: Likewise.
5772         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5773         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5774         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5775         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5777 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5779         * elf/dl-open.c: Fix typos.
5780         * iconvdata/gbbig5.c: Likewise.
5781         * iconvdata/iso-2022-jp.c: Likewise.
5782         * iconv/gconv_int.h: Likewise.
5783         * iconv/loop.c: Likewise.
5784         * nis/rpcsvc/nis.h: Likewise.
5785         * resolv/ns_name.c: Likewise.
5786         * stdio-common/vfscanf.c: Likewise.
5787         * streams/stropts.h: Likewise.
5788         * sunrpc/rpc_thread.c: Likewise.
5789         * sysdeps/i386/strpbrk.S: Likewise.
5790         * sysdeps/ieee754/k_standard.c: Likewise.
5791         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5792         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5793         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5794         * sysdeps/mach/hurd/profil.c: Likewise.
5795         * sysdeps/s390/dl-procinfo.h: Likewise.
5796         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5797         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5798         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5799         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5800         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5802 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5804         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5805         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5807 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5809         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5810         aix specific files.
5811         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5812         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5813         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5814         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5815         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5816         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5817         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5818         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5820 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5821             Roland McGrath  <roland@hack.frob.com>
5823         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5824         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5826 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5828         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5829         __executable_start symbol instead of _start.
5831 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5833         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5834         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5835         Move macros to...
5836         * sysdeps/gnu/ldsodefs.h: ... this new file.
5838         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5839         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5840         instead of ELFOSABI_LINUX.
5842         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5843         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5844         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5845         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5846         Likewise.
5847         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5848         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5849         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5850         Likewise.
5851         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5852         (ibm_extended_long_double): Add ieee_nan member.
5853         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5854         (do_test): New function.
5856         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5857         TEST_TRUNC.
5858         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5859         functions, renamed from truncdfsf_test, trunctfsf_test,
5860         trunctfdf_test.
5861         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5862         functions.
5863         (do_test): Run all these.
5865 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5867         * argp/argp-help.c: Fix typos.
5868         * argp/argp-parse.c: Likewise.
5869         * debug/backtracesyms.c: Likewise.
5870         * elf/elf.h: Likewise.
5871         * malloc/malloc.c: Likewise.
5872         * nis/nis_print.c: Likewise.
5873         * resolv/res_comp.c: Likewise.
5874         * stdlib/stdlib.h: Likewise.
5875         * sunrpc/clnt_tcp.c: Likewise.
5876         * sunrpc/clnt_udp.c: Likewise.
5877         * sunrpc/clnt_unix.c: Likewise.
5878         * sysdeps/unix/bsd/ptsname.c: Likewise.
5879         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5880         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5882         Likewise.
5883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5884         Likewise.
5885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5886         Likewise.
5887         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5889 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5891         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5894 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5896         [BZ #15897]
5897         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5898         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5899         ($(objpfx)bug-dl-leaf): New rule.
5900         ($(objpfx)bug-dl-leaf.so): Likewise.
5901         ($(objpfx)bug-dl-leaf.out): Likewise.
5902         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5903         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5904         * dlfcn/bug-dl-leaf.c: New test.
5905         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5906         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5907         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5908         (dlclose): Likewise.
5909         (dlmopen): Likewise.
5911 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5913         * include/netdb.h [!_ISOMAC]:
5914         Don't include <tls.h>.
5915         (h_errno, __libc_h_errno): Move declaration and macros out of
5916         [_LIBC_REENTRANT].
5918         * include/resolv.h [_RESOLV_H_]:
5919         Don't include <tls.h>.
5920         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5921         * resolv/res_libc.c: Don't include <tls.h>.
5922         (_res): Use __attribute__ ((nocommon)) in place of
5923         __attribute__ ((section (".bss"))).
5925         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5926         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5928         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5930         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5931         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5933         * resolv/res_mkquery.c: Include <sys/time.h>.
5935         * inet/ifreq.c: Moved to ...
5936         * sysdeps/unix/ifreq.c: ... here.
5937         * inet/ifreq.c: New file, true stub version.
5939         * socket/sa_len.c: New file.
5940         * socket/Makefile (aux): Add it.
5941         * sysdeps/unix/sysv/linux/Makefile
5942         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5943         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5944         and #include <socket/sa_len.c>.
5945         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5946         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5948         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5949         * bits/socket.h: ... here.
5951         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5952         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5953         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5955 2013-08-27  Andreas Schwab  <schwab@suse.de>
5957         [BZ #15736]
5958         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5959         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5960         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5961         * string/test-strcasecmp.c (test_main): Run tests in several
5962         locales.
5963         * string/test-strncasecmp.c (test_main): Likewise.
5965         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5966         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5967         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5968         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5969         (__strncasecmp_ssse3) [PIC]: Likewise.
5971 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5973         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5975         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5976         instead of explicitly declaring xdecrypt.
5977         * nis/nss_nis/nis-publickey.c: Likewise.
5979 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5981         [BZ #15890]
5982         * nscd/aicache.c: Include res_hconf.h.
5983         (addhstaiX): Initialize res_hconf.
5985 2013-08-26  Andreas Schwab  <schwab@suse.de>
5987         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5988         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5990 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5992         * nscd/aicache.c (addhstaiX): Fix indentation.
5994 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5996         * configure.ac: Quote $build_pt_chown test.
5997         * configure: Regenerated.
5999 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6001         [BZ #15532]
6002         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6003         * math/s_cexpf.c (__cexpf): Likewise.
6004         * math/s_cexpl.c (__cexpl): Likewise.
6005         * math/libm-test.inc (cexp_test_data): Correct expected return
6006         value for NaN + i0.  Add another test.
6008 2013-08-22  David S. Miller  <davem@davemloft.net>
6010         * po/ca.po: Update Catalan translation from translation project.
6011         * po/uk.po: Add Ukrainian translations from translation project.
6013 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6015         [BZ #15797]
6016         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6017         is infinite, not alongside NaN test.
6018         * math/s_fdimf.c (__fdimf): Likewise.
6019         * math/s_fdiml.c (__fdiml): Likewise.
6020         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6021         errno is unchanged.
6023 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6025         * argp/argp-help.c: Fix typos.
6026         * crypt/speeds.c: Likewise.
6027         * csu/check_fds.c: Likewise.
6028         * elf/dl-load.c: Likewise.
6029         * elf/dl-open.c: Likewise.
6030         * elf/reldep3.c: Likewise.
6031         * elf/reldep.c: Likewise.
6032         * elf/sprof.c: Likewise.
6033         * iconv/iconv_charmap.c: Likewise.
6034         * iconv/skeleton.c: Likewise.
6035         * iconv/strtab.c: Likewise.
6036         * io/lockf64.c: Likewise.
6037         * libio/libioP.h: Likewise.
6038         * resolv/gai_notify.c: Likewise.
6039         * resolv/ns_name.c: Likewise.
6040         * resolv/ns_samedomain.c: Likewise.
6041         * resolv/res_send.c: Likewise.
6042         * stdlib/random.c: Likewise.
6043         * sunrpc/rpc/xdr.h: Likewise.
6044         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6045         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6046         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6047         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6048         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6049         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6050         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6051         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6052         * sysdeps/mach/hurd/check_fds.c: Likewise.
6053         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6054         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6055         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6056         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6057         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6058         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6059         * sysdeps/pthread/aio_notify.c: Likewise.
6060         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6061         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6062         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6063         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6064         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6066 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6068         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6069         version if bit_Slow_SSE4_2 is set.
6070         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6071         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6073 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6075         [BZ #15867]
6076         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6077         trampoline stack frame information.
6078         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6079         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6080         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6081         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6082         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6083         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6084         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6085         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6086         sa_flags value.
6087         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6088         interrupting a syscall and set with option SA_SIGINFO.
6090 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6092         [BZ #15531]
6093         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6094         argument is infinite.
6095         * math/s_cprojf.c (__cprojf): Likewise.
6096         * math/s_cprojl.c (__cprojl): Likewise.
6097         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6098         * math/libm-test.inc (cproj_test_data): Add more tests.
6100         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6102         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6103         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6104         size.  Use __ffs to determine corresponding shift.
6106 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6107             Roland McGrath  <roland@hack.frob.com>
6109         * Makefile (INSTALL): Remove trailing blank lines from output of
6110         makeinfo.
6112 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6114         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6115         Align 32 bit compat elf_greg to 8 bytes.
6117 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6119         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6121 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6123         * string/strcoll_l.c (coll_seq): New structure.
6124         (get_next_seq_cached): New function.
6125         (get_next_seq): New function.
6126         (do_compare): New function.
6127         (STRCOLL): Use GNU style definition.  Simplify implementation
6128         by using get_next_seq, get_next_seq_cached and do_compare.
6130 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6132         [BZ #14699]
6133         CVE-2013-4237
6134         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6135         member.
6136         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6137         member.
6138         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6139         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6140         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6141         conditional.
6142         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6143         GETDENTS_64BIT_ALIGNED.
6144         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6145         * manual/filesys.texi (Reading/Closing Directory): Document
6146         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6147         strongly.
6148         * manual/conf.texi (Limits for Files): Add portability note to
6149         NAME_MAX, PATH_MAX.
6150         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6152 2013-08-13  Andreas Schwab  <schwab@suse.de>
6154         [BZ #15749]
6155         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6156         of fabs.
6157         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6158         LDBL_MAX_EXP >= 16384]: Add tests for it.
6160 2013-08-12  David S. Miller  <davem@davemloft.net>
6162         * version.h (RELEASE): Set to "development".
6163         (VERSION): Set to "2.18.90".
6164         * NEWS: Add 2.19 section.
6166 2013-08-03  David S. Miller  <davem@davemloft.net>
6168         * po/ko.po: Update Korean translation from translation project.
6170 2013-08-01  David S. Miller  <davem@davemloft.net>
6172         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6173         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6174         Bilka.
6176 2013-07-30  David S. Miller  <davem@davemloft.net>
6178         * po/fr.po: Update French translation from translation project.
6180 2013-07-28  David S. Miller  <davem@davemloft.net>
6182         * po/cs.po: Update Czech translation from translation project.
6184         * po/sv.po: Update Swedish translation from translation project.
6186 2013-07-27  David S. Miller  <davem@davemloft.net>
6188         * po/eo.po: Update Esperanto translation from translation project.
6190         * po/vi.po: Update Vietnamese translation from translation project.
6192         * po/de.po: Update German translation from translation project.
6194 2013-07-26  David S. Miller  <davem@davemloft.net>
6196         * po/bg.po: Update Bulgarian translation from translation project.
6198         * po/nl.po: Update Dutch translation from translation project.
6199         * po/pl.po: Update Polish translation from translation project.
6200         * po/ru.po: Update Russian translation from translation project.
6202 2013-07-24  David S. Miller  <davem@davemloft.net>
6204         * po/libc.pot: Update.
6206 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6208         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6209         variable page size.
6210         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6211         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6212         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6214 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6216         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6218 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6219             Andreas Schwab  <schwab@suse.de>
6220             Roland McGrath  <roland@hack.frob.com>
6221             Joseph Myers  <joseph@codesourcery.com>
6222             Carlos O'Donell  <carlos@redhat.com>
6224         [BZ #15755]
6225         * config.h.in: Define HAVE_PT_CHOWN.
6226         * config.make.in (build-pt-chown): New variable.
6227         * configure.in (--enable-pt_chown): New configure option.
6228         * configure: Regenerate.
6229         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6230         build-pt-chown is enabled.
6231         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6232         pt_chown to fix pty ownership.
6233         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6234         CLOSE_ALL_FDS.
6235         * manual/install.texi (Configuring and compiling): Mention
6236         --enable-pt_chown. Add @findex for grantpt.
6237         * INSTALL: Regenerate.
6239 2013-07-20  David S. Miller  <davem@davemloft.net>
6241         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6242         difference between 32-bit and 64-bit.
6244 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6246         [BZ #15711]
6247         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6248         Avoid system header dependency with -ffreestanding.
6249         ($(objpfx)bits/syscall%d): Likewise.
6251 2013-07-13  David S. Miller  <davem@davemloft.net>
6253         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6254         underflows from atanl/atan2l due to bug 15319.
6255         (casinh_test_data): Likewise.
6257 2013-07-07  David S. Miller  <davem@davemloft.net>
6259         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6261 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6263         * sysdeps/i386/fpu/libm-test-ulps: Update.
6264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6266 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6268         * configure.in (--enable-lock-elision): Fix message text.
6269         * INSTALL: Regenerate.
6270         * configure: Regenerate.
6272 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6276 2013-07-03  Andreas Jaeger  <aj@suse.de>
6278         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6279         define.
6280         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6281         (ptrace_peeksiginfo_args): Add.
6282         (__ptrace_peeksiginfo_flags): Add.
6283         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6284         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6285         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6287 2013-07-03  Allan McRae  <allan@archlinux.org>
6289         * sysdeps/i386/fpu/libm-test-ulps: Update.
6291 2013-07-02  David S. Miller  <davem@davemloft.net>
6293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6295 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6299 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6301         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6304 2013-07-02  Andi Kleen <ak@linux.intel.com>
6306         * config.h.in (ENABLE_LOCK_ELISION): Add.
6307         * configure.in (--enable-lock-elision): Add option.
6308         * manual/install.texi: Document --enable lock elision.
6309         * configure: Regenerate
6310         * INSTALL: Regenerate.
6312 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6314         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6315         SSE4.2 strcasecmp for libc.a.
6316         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6318 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6320         [BZ #13304]
6321         * soft-fp/op-common.h (_FP_FMA): New macro.
6322         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6323         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6324         (_FP_MUL_MEAT_1_imm): ... here.
6325         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6326         (_FP_MUL_MEAT_1_wide): ... here.
6327         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6328         (_FP_MUL_MEAT_1_hard): ... here.
6329         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6330         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6331         (_FP_MUL_MEAT_2_wide): ... here.
6332         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6333         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6334         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6335         (_FP_MUL_MEAT_2_gmp): ... here.
6336         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6337         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6338         (_FP_MUL_MEAT_4_wide): ... here.
6339         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6340         (_FP_MUL_MEAT_4_gmp): ... here.
6341         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6342         (_FP_WFRACBITS_DW_S): Likewise.
6343         (_FP_WFRACXBITS_DW_S): Likewise.
6344         (_FP_HIGHBIT_DW_S): Likewise.
6345         (FP_FMA_S): Likewise.
6346         (_FP_FRAC_HIGH_DW_S): Likewise.
6347         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6348         (_FP_WFRACBITS_DW_D): Likewise.
6349         (_FP_WFRACXBITS_DW_D): Likewise.
6350         (_FP_HIGHBIT_DW_D): Likewise.
6351         (FP_FMA_D): Likewise.
6352         (_FP_FRAC_HIGH_DW_D): Likewise.
6353         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6354         (_FP_WFRACBITS_DW_E): Likewise.
6355         (_FP_WFRACXBITS_DW_E): Likewise.
6356         (_FP_HIGHBIT_DW_E): Likewise.
6357         (FP_FMA_E): Likewise.
6358         (_FP_FRAC_HIGH_DW_E): Likewise.
6359         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6360         (_FP_WFRACBITS_DW_Q): Likewise.
6361         (_FP_WFRACXBITS_DW_Q): Likewise.
6362         (_FP_HIGHBIT_DW_Q): Likewise.
6363         (FP_FMA_Q): Likewise.
6364         (_FP_FRAC_HIGH_DW_Q): Likewise.
6365         * soft-fp/fmasf4.c: New file.
6366         * soft-fp/fmadf4.c: Likewise.
6367         * soft-fp/fmatf4.c: Likewise.
6369 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6371         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6372         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6373         Silvermont.
6374         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6375         macro.
6376         (index_Slow_SSE4_2): Likewise.
6377         (index_Prefer_PMINUB_for_stringop): Likewise.
6378         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6379         bit_Slow_SSE4_2 is set.
6380         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6381         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6383 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6385         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6386         rtld_global._dl_hwcap2.
6387         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6388         POWER8.
6389         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6390         POWER8 feature descriptions defined in _dl_hwcap2.
6391         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6392         string handling for POWER8 feature bits.
6393         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6394         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6395         _dl_powerpc_cap_flags.
6396         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6397         * sysdeps/powerpc/rtld-global-offsets.sym
6398         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6399         _dl_hwcap2 in the rtld_global_ro structure.
6401 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6403         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6404         hardware capabilities in support of AT_HWCAP2.
6405         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6406         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6407         GLRO(dl_hwcap2).
6408         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6409         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6410         explicitly the unknown a_type display mechanism is used.
6411         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6412         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6413         struct member.
6414         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6415         to macro prototype for AT_HWCAP2 support.
6416         * sysdeps/i386/dl-procinfo.h: Likewise.
6417         * sysdeps/s390/dl-procinfo.h: Likewise.
6418         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6419         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6420         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6421         return -1 for unknown a_type display fallback.
6422         * sysdeps/sparc/dl-procinfo.h: Likewise.
6423         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6424         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6426 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6428         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6429         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6431 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6433         [BZ #12492]
6434         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6435         mprotect making __stack_prot writable.
6437 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6438             Joseph Myers  <joseph@codesourcery.com>
6440         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6441         as being properly aligned.
6443 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6445         * dlfcn/modstatic5.c: New file.
6446         * dlfcn/tststatic5.c: New file.
6447         * dlfcn/Makefile (tests): Add tststatic5.
6448         (tests-static): Likewise.
6449         (modules-names): Add modstatic5.
6450         (tststatic5-ENV): New variable.
6451         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6453         [BZ #15022]
6454         * elf/dl-support.c (_dl_main_map): New variable.
6455         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6456         (_dl_nns, _dl_load_adds): Set to 1.
6457         (_dl_initial_searchlist): Refer to _dl_main_map.
6458         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6459         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6460         call to _dl_get_origin.
6461         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6462         around call_map.
6463         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6464         * dlfcn/modstatic3.c: New file.
6465         * dlfcn/tststatic3.c: New file.
6466         * dlfcn/tststatic4.c: New file.
6467         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6468         (tests-static): Likewise.
6469         (modules-names): Add modstatic3.
6470         (tststatic3-ENV, tststatic4-ENV): New variables.
6471         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6472         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6474 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6476         * configure.in (CC): Require GCC version 4.4 or later.
6477         * configure: Regenerated.
6478         * manual/install.texi (Tools for Compilation): Update GCC version
6479         requirement.
6480         * INSTALL: Regenerated.
6482 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6484         [BZ #15674]
6485         * string/test-memcmp.c (check2): New.
6486         (main): Call check2.
6488         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6490 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6492         [BZ #15022]
6493         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6494         over to...
6495         (dl_open_worker) [!SHARED]: ... here.
6497 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6499         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6501 2013-06-25  Richard Henderson  <rth@redhat.com>
6503         * locale/programs/locarchive.c: Include <libc-internal.h>
6505 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6507         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6508         trailing whitespace removed.
6510 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6512         [BZ #10283]
6513         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6514         * locale/programs/locarchive.c: Include libc-mmap.h.
6515         (prepare_address_space): Take two new outputs (the mmap base and len).
6516         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6517         values.
6518         (create_archive): Declare new mmap base and len values for
6519         prepare_address_space, and store the result in ah.
6520         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6521         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6522         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6523         Declare new mmap base and len values for
6524         prepare_address_space, and store the result in new_ah.
6525         (open_archive): Declare new mmap base and len values for
6526         prepare_address_space, and store the result in ah.
6527         (close_archive): If ah->mmap_base is not NULL, use that and
6528         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6529         * sysdeps/generic/libc-mmap.h: New file.
6531 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6533         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6534         (ALIGN_UP): Likewise.
6535         (PTR_ALIGN_DOWN): Likewise.
6536         (PTR_ALIGN_UP): Likewise.
6538 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6540         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6541         entry mapped to PPC_PLATFORM_POWER8.
6542         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6543         POWER8.
6544         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6545         (_dl_string_platform): Add case for exporting platform position for
6546         POWER8.
6547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6548         search path to sysdeps/powerpc/powerpc32/power8 directory.
6549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6550         search path to sysdeps/powerpc/powerpc64/power8 directory.
6551         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6552         power7 directories.
6553         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6554         power7 directories.
6556 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6558         * INSTALL: Regenerate.
6560         * nscd/connections.c (nscd_init): Fix comment.
6562 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6564         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6566         [BZ #15667]
6567         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6568         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6570 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6572         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6573         DL_DST_REQ_STATIC.
6574         (DL_DST_REQ_STATIC): Remove macro.
6576 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6578         [BZ #7006]
6579         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6580         with a shift of 0 bits.
6582 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6584         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6585         $(tststatic-ENV).
6587 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6589         [BZ #15655]
6590         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6592 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6594         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6595         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6596         accepts -fno-tree-loop-distribute-patterns.
6597         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6598         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6599         recursive call.
6600         * string/memset.c (memset): Likewise.
6601         * string/test-memmove.c (simple_memmove): Disable loop transformation
6602         to library calls.
6603         * string/test-memset.c (simple_memset): Likewise.
6604         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6605         * benchtests/bench-memset.c (simple_memset): Likewise.
6606         * configure: Regenerated.
6608 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6610         * math/test-misc.c (main): Ignore fesetround failure when failures
6611         of subsequent rounding tests would be ignored.
6613         [BZ #15654]
6614         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6615         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6616         * math/fegetenv.c (__fegetenv): Return 0.
6617         * math/fegetexcept.c (fegetexcept): Return 0.
6618         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6619         FE_TONEAREST.
6620         * math/feholdexcpt.c (feholdexcept): Return 0.
6621         * math/fesetenv.c (__fesetenv): Return 0.
6622         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6623         argument FE_TONEAREST.
6624         * math/feupdateenv.c (__feupdateenv): Return 0.
6625         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6627 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6629         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6630         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6631         ($(objpfx)rtld-%.os rules): Use them.
6633 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6635         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6636         fields.
6638 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6640         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6641         length of target pattern, then descending length of dependency pattern.
6642         * configure.in (AWK): Require gawk 3.1.2 or newer.
6643         * manual/install.texi (Tools for Compilation): Say that we do.
6644         * configure: Regenerated.
6646         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6647         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6648         * scripts/sysd-rules.awk: ... this new script.
6649         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6650         than a glob-style pattern.
6652 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6654         * math/test-misc.c (main): Do not treat incorrectly rounded
6655         conversions as failure unless ROUNDING_TESTS passes.
6657 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6659         [BZ #15631]
6660         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6661         restore exception state around main square root computation, then
6662         check for inexactness explicitly.
6664         * math/libm-test.inc (fma_test_data): Add another test.
6666 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6668         * manual/threads.texi (Non-POSIX Extensions): New document
6669         node.  Document pthread_getattr_default_np and
6670         pthread_setattr_default_np.
6672         * Versions.def (libpthread): Add GLIBC_2.18.
6673         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6675         Likewise.
6676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6677         Likewise.
6678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6679         Likewise.
6680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6681         Likewise.
6682         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6683         Likewise.
6684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6685         Likewise.
6686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6687         Likewise.
6688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6689         Likewise.
6690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6691         Likewise.
6693 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6696         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6698 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6699             H.J. Lu  <hjl.tools@gmail.com>
6701         [BZ #15627]
6702         * sysdeps/x86_64/rtld-memset.c: Remove file.
6703         * sysdeps/x86_64/rtld-memset.S: New file.
6705 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6707         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6708         (test_in_one_mode): Take arguments for whether the rounding mode
6709         is supported for each floating-point type.
6710         (do_test): Pass new arguments to test_in_one_mode using
6711         ROUNDING_TESTS.
6713 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6715         * posix/tst-waitid.c (do_test): Distinguish different instances of
6716         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6717         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6718         before entering the kernel for waitpid.
6720 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6722         * NEWS: Fix note on clock function precision.  Text by Roland
6723         McGrath.
6725 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6727         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6728         it into place only when and if the sanity check passes.
6730 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6732         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6733         output for whether conversion result is exact.  Take argument
6734         indicating whether type is IBM long double.
6735         (round_for_all): Change need_exact field to ibm_ld.
6736         * stdlib/tst-strtod-round.c (struct exactness): New type.
6737         (struct test): Change bool ld_ok field to struct exactness exact.
6738         (TEST): Update all definitions for change to field.
6739         (tests): Regenerate array contents.
6740         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6741         field value.  Check for IBM long double here.
6742         (do_test): Update calls to test_in_one_mode.
6744 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6746         [BZ #12515]
6747         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6748         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6750 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6752         [BZ #15605]
6753         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6754         generated by the compiler on loop optimizations.
6755         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6756         general definitions.
6758 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6760         * math/bug-nextafter.c: Include <math-tests.h>.
6761         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6762         the relevant type.
6763         * math/bug-nexttoward.c: Include <math-tests.h>.
6764         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6765         the relevant type.
6766         * math/test-misc.c: Include <math-tests.h>.
6767         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6768         the relevant type.
6770 2013-06-12  Andreas Jaeger  <aj@suse.de>
6772         * po/ia.po: Update Interlingua translation from translation
6773         project.
6775 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6777         * include/fenv.h: Include stdbool.h.
6778         (struct rm_ctx): New structure.
6779         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6780         Define macro.
6781         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6782         (SET_RESTORE_ROUNDF): Likewise.
6783         (SET_RESTORE_ROUNDL): Likewise.
6784         (SET_RESTORE_ROUND_NOEX): Likewise.
6785         (SET_RESTORE_ROUND_NOEXF): Likewise.
6786         (SET_RESTORE_ROUND_NOEXL): Likewise.
6787         (SET_RESTORE_ROUND_53BIT): Likewise.
6788         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6789         (libc_feresetround_noexf_ctx): Likewise.
6790         (libc_feresetround_noexl_ctx): Likewise.
6791         (libc_feholdsetround_53bit_ctx): Likewise.
6792         (libc_feresetround_53bit_ctx): Likewise.
6793         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6794         (libc_feholdexcept_setround_sse_ctx): New function.
6795         (libc_fesetenv_sse_ctx): Likewise.
6796         (libc_feupdateenv_sse_ctx): Likewise.
6797         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6798         (libc_feholdexcept_setround_387_ctx): Likewise.
6799         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6800         (libc_feholdsetround_387_prec_ctx): Likewise.
6801         (libc_feholdsetround_387_ctx): Likewise.
6802         (libc_feholdsetround_387_53bit_ctx): Likewise.
6803         (libc_feholdsetround_sse_ctx): Likewise.
6804         (libc_feresetround_sse_ctx): Likewise.
6805         (libc_feresetround_387_ctx): Likewise.
6806         (libc_feupdateenv_387_ctx): Likewise.
6807         (libc_feholdexcept_setroundf_ctx): Define macro.
6808         (libc_fesetenvf_ctx): Likewise.
6809         (libc_feupdateenvf_ctx): Likewise.
6810         (libc_feholdsetroundf_ctx): Likewise.
6811         (libc_feresetroundf_ctx): Likewise.
6812         (libc_feholdexcept_setround_ctx): Likewise.
6813         (libc_fesetenv_ctx): Likewise.
6814         (libc_feupdateenv_ctx): Likewise.
6815         (libc_feholdsetround_ctx): Likewise.
6816         (libc_feresetround_ctx): Likewise.
6817         (libc_feholdexcept_setroundl_ctx): Likewise.
6818         (libc_feupdateenvl_ctx): Likewise.
6819         (libc_feholdsetroundl_ctx): Likewise.
6820         (libc_feresetroundl_ctx): Likewise.
6821         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6822         (libc_feresetround_53bit_ctx): Likewise.
6824 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6826         * locale/iso-639.def: Convert to UTF-8.
6828 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6830         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6831         (EXCEPTION_TESTS_double): Likewise.
6832         (EXCEPTION_TESTS_long_double): Likewise.
6833         (EXCEPTION_TESTS): Likewise.
6834         * math/libm-test.inc (test_exceptions): Only test exceptions if
6835         EXCEPTION_TESTS (FLOAT).
6837 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6839         * benchtests/Makefile (string-bench): Add strcpy_chk and
6840         stpcpy_chk.
6841         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6842         * benchtests/bench-stpcpy_chk.c: New file.
6843         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6844         * benchtests/bench-strcpy_chk.c: New file.
6845         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6846         code.
6847         (do_test): Likewise.
6849 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6851         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6852         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6853         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6854         with tabs where appropriate.
6855         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6856         dl-procinfo.h.
6857         [PPC_PLATFORM_PPC440]: Likewise.
6858         [PPC_PLATFORM_PPC464]: Likewise.
6859         [PPC_PLATFORM_PPC476]: Likewise.
6860         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6861         ppc464, and ppc476 platform strings merging from ports/
6862         dl-procinfo.h.
6864 2013-06-11  Andreas Schwab  <schwab@suse.de>
6866         [BZ #14991]
6867         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6868         (from_ucs4_idx): Regenerate.
6869         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6870         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6871         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6872         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6873         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6874         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6875         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6876         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6877         from FROM_LOOP and TO_LOOP specific macros.
6878         (BODY): Handle combining characters.
6879         * iconvdata/BIG5HKSCS.irreversible: Update.
6880         * iconvdata/BIG5HKSCS.precomposed: New file.
6881         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6882         characters.
6883         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6885 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6887         * include/sys/time.h: Fix indentation and add copyright header.
6889         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6890         (do_test): Likewise.
6891         * string/test-memchr.c (do_one_test): Likewise.
6892         (do_test): Likewise.
6893         * string/test-memcmp.c (do_one_test): Likewise.
6894         (do_test): Likewise.
6895         * string/test-memcpy.c (do_one_test): Likewise.
6896         (do_test): Likewise.
6897         * string/test-memmem.c (do_one_test): Likewise.
6898         (do_test): Likewise.
6899         (do_random_tests): Likewise.
6900         * string/test-memmove.c (do_one_test): Likewise.
6901         (do_test): Likewise.
6902         * string/test-memset.c (do_one_test): Likewise.
6903         (do_test): Likewise.
6904         * string/test-rawmemchr.c (do_one_test): Likewise.
6905         (do_test): Likewise.
6906         * string/test-strcasecmp.c (do_one_test): Likewise.
6907         (do_test): Likewise.
6908         * string/test-strcasestr.c (do_one_test): Likewise.
6909         (do_test): Likewise.
6910         * string/test-strcat.c (do_one_test): Likewise.
6911         (do_test): Likewise.
6912         * string/test-strchr.c (do_one_test): Likewise.
6913         (do_test): Likewise.
6914         * string/test-strcmp.c (do_one_test): Likewise.
6915         (do_test): Likewise.
6916         * string/test-strcpy.c (do_one_test): Likewise.
6917         (do_test): Likewise.
6918         * string/test-string.h: Likewise.
6919         (test_init): Likewise.
6920         * string/test-strlen.c (do_one_test): Likewise.
6921         (do_test): Likewise.
6922         * string/test-strncasecmp.c (do_one_test): Likewise.
6923         (do_test): Likewise.
6924         * string/test-strncat.c (do_one_test): Likewise.
6925         (do_test): Likewise.
6926         * string/test-strncmp.c (do_one_test): Likewise.
6927         (do_test_limit): Likewise.
6928         (do_test): Likewise.
6929         * string/test-strncpy.c (do_one_test): Likewise.
6930         (do_test): Likewise.
6931         * string/test-strnlen.c (do_one_test): Likewise.
6932         (do_test): Likewise.
6933         * string/test-strpbrk.c (do_one_test): Likewise.
6934         (do_test): Likewise.
6935         * string/test-strrchr.c (do_one_test): Likewise.
6936         (do_test): Likewise.
6937         * string/test-strspn.c (do_one_test): Likewise.
6938         (do_test): Likewise.
6939         * string/test-strstr.c (do_one_test): Likewise.
6940         (do_test): Likewise.
6942         * benchtests/Makefile (string-bench): Add string benchmarks.
6943         * benchtests/bench-bcopy-ifunc.c: New file.
6944         * benchtests/bench-bcopy.c: New file.
6945         * benchtests/bench-bzero-ifunc.c: New file.
6946         * benchtests/bench-bzero.c: New file.
6947         * benchtests/bench-memccpy-ifunc.c: New file.
6948         * benchtests/bench-memccpy.c: New file.
6949         * benchtests/bench-memchr-ifunc.c: New file.
6950         * benchtests/bench-memchr.c: New file.
6951         * benchtests/bench-memcmp-ifunc.c: New file.
6952         * benchtests/bench-memcmp.c: New file.
6953         * benchtests/bench-memmem-ifunc.c: New file.
6954         * benchtests/bench-memmem.c: New file.
6955         * benchtests/bench-memmove-ifunc.c: New file.
6956         * benchtests/bench-memmove.c: New file.
6957         * benchtests/bench-mempcpy-ifunc.c: New file.
6958         * benchtests/bench-mempcpy.c: New file.
6959         * benchtests/bench-memset-ifunc.c: New file.
6960         * benchtests/bench-memset.c: New file.
6961         * benchtests/bench-rawmemchr-ifunc.c: New file.
6962         * benchtests/bench-rawmemchr.c: New file.
6963         * benchtests/bench-stpcpy-ifunc.c: New file.
6964         * benchtests/bench-stpcpy.c: New file.
6965         * benchtests/bench-stpncpy-ifunc.c: New file.
6966         * benchtests/bench-stpncpy.c: New file.
6967         * benchtests/bench-strcasecmp-ifunc.c: New file.
6968         * benchtests/bench-strcasecmp.c: New file.
6969         * benchtests/bench-strcasestr-ifunc.c: New file.
6970         * benchtests/bench-strcasestr.c: New file.
6971         * benchtests/bench-strcat-ifunc.c: New file.
6972         * benchtests/bench-strcat.c: New file.
6973         * benchtests/bench-strchr-ifunc.c: New file.
6974         * benchtests/bench-strchr.c: New file.
6975         * benchtests/bench-strchrnul-ifunc.c: New file.
6976         * benchtests/bench-strchrnul.c: New file.
6977         * benchtests/bench-strcmp-ifunc.c: New file.
6978         * benchtests/bench-strcmp.c: New file.
6979         * benchtests/bench-strcpy-ifunc.c: New file.
6980         * benchtests/bench-strcpy.c: New file.
6981         * benchtests/bench-strcspn-ifunc.c: New file.
6982         * benchtests/bench-strcspn.c: New file.
6983         * benchtests/bench-strlen-ifunc.c: New file.
6984         * benchtests/bench-strlen.c: New file.
6985         * benchtests/bench-strncasecmp-ifunc.c: New file.
6986         * benchtests/bench-strncasecmp.c: New file.
6987         * benchtests/bench-strncat-ifunc.c: New file.
6988         * benchtests/bench-strncat.c: New file.
6989         * benchtests/bench-strncmp-ifunc.c: New file.
6990         * benchtests/bench-strncmp.c: New file.
6991         * benchtests/bench-strncpy-ifunc.c: New file.
6992         * benchtests/bench-strncpy.c: New file.
6993         * benchtests/bench-strnlen-ifunc.c: New file.
6994         * benchtests/bench-strnlen.c: New file.
6995         * benchtests/bench-strpbrk-ifunc.c: New file.
6996         * benchtests/bench-strpbrk.c: New file.
6997         * benchtests/bench-strrchr-ifunc.c: New file.
6998         * benchtests/bench-strrchr.c: New file.
6999         * benchtests/bench-strspn-ifunc.c: New file.
7000         * benchtests/bench-strspn.c: New file.
7001         * benchtests/bench-strstr-ifunc.c: New file.
7002         * benchtests/bench-strstr.c: New file.
7004         * benchtests/Makefile: Disable parallel execution of targets.
7005         (string-bench): Add memcpy.
7006         (benchset): New variable to store a list of benchmark sets.
7007         (bench-func): Renamed from bench.
7008         (bench-set): New target.
7009         (bench): Depend on bench-func and bench-set.
7010         * benchtests/README: Add section on benchmark sets.
7011         * benchtests/bench-memcpy-ifunc.c: New file.
7012         * benchtests/bench-memcpy.c: New file.
7013         * benchtests/bench-string.h: New file.
7015 2013-06-11  Andreas Schwab  <schwab@suse.de>
7017         [BZ #15577]
7018         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7019         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7020         values in the triple.
7021         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7022         terminator in the group key.
7024 2013-06-11  Andreas Jaeger  <aj@suse.de>
7026         * po/zh_TW.po: Update Chinese (traditional) translation from
7027         translation project.
7029 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7031         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7032         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7033         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7034         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7035         (clock_getcpuclockid): Likewise.
7036         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7037         Add weak_alias and libc_hidden_def.
7038         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7039         * rt/clock_gettime.c (clock_gettime): Rename to
7040         __clock_gettime.  Add weak_alias and libc_hidden_def.
7041         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7042         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7043         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7044         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7045         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7046         Likewise.
7047         * rt/clock_settime.c (clock_settime): Rename to
7048         __clock_settime.  Add weak_alias and libc_hidden_def.
7049         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7051 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7053         * mach/err_boot.sub: Remove trailing whitespace.
7054         * mach/err_ipc.sub: Likewise.
7055         * mach/err_mach.sub: Likewise.
7057         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7058         (ROUNDING_TESTS_double): Likewise.
7059         (ROUNDING_TESTS_long_double): Likewise.
7060         (ROUNDING_TESTS): Likewise.
7061         * math/libm-test.inc: Include <math-tests.h>.
7062         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7063         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7064         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7065         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7067 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7069         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7070         of assigning.
7072 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7074         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7075         otherwise empty TRANS lines.
7076         * sysdeps/gnu/errlist.c: Regenerated.
7078         * catgets/gencat.c (error_print): Use (void) in function
7079         definition.
7080         * crypt/crypt_util.c (__init_des): Likewise.
7081         * crypt/speeds.c (Stop): Likewise.
7082         (main): Likewise.
7083         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7084         * inet/ruserpass.c (token): Likewise.
7085         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7086         * intl/localealias.c (extend_alias_table): Likewise.
7087         * intl/plural-exp.c (init_germanic_plural): Likewise.
7088         * libio/fcloseall.c (__fcloseall): Likewise.
7089         * libio/genops.c (_IO_flush_all): Likewise.
7090         (_IO_flush_all_linebuffered): Likewise.
7091         (_IO_cleanup): Likewise.
7092         (_IO_iter_begin): Likewise.
7093         (_IO_iter_end): Likewise.
7094         (_IO_list_lock): Likewise.
7095         (_IO_list_unlock): Likewise.
7096         (_IO_list_resetlock): Likewise.
7097         * libio/getchar.c (getchar): Likewise.
7098         * libio/getchar_u.c (getchar_unlocked): Likewise.
7099         * libio/getwchar.c (getwchar): Likewise.
7100         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7101         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7102         * login/getpt.c (__getpt): Likewise.
7103         * login/tst-utmp.c (main): Likewise.
7104         * malloc/hooks.c (__malloc_check_init): Likewise.
7105         * malloc/malloc.c (__malloc_stats): Likewise.
7106         * malloc/mtrace.c (tr_break): Likewise.
7107         (mtrace): Likewise.
7108         (muntrace): Likewise.
7109         * misc/fstab.c (endfsent): Likewise.
7110         * misc/getclktck.c (__getclktck): Likewise.
7111         * misc/getdtsz.c (__getdtablesize): Likewise.
7112         * misc/gethostid.c (gethostid): Likewise.
7113         * misc/getpagesize.c (__getpagesize): Likewise.
7114         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7115         (__get_nprocs): Likewise.
7116         (__get_phys_pages): Likewise.
7117         (__get_avphys_pages): Likewise.
7118         * misc/getttyent.c (getttyent): Likewise.
7119         (setttyent): Likewise.
7120         (endttyent): Likewise.
7121         * misc/getusershell.c (getusershell): Likewise.
7122         (endusershell): Likewise.
7123         (setusershell): Likewise.
7124         (initshells): Likewise.
7125         * misc/hsearch.c (__hdestroy): Likewise.
7126         * misc/sync.c (sync): Likewise.
7127         * misc/syslog.c (closelog_internal): Likewise.
7128         (closelog): Likewise.
7129         * misc/ttyslot.c (ttyslot): Likewise.
7130         * misc/vhangup.c (vhangup): Likewise.
7131         * posix/fork.c (__fork): Likewise.
7132         * posix/getegid.c (__getegid): Likewise.
7133         * posix/geteuid.c (__geteuid): Likewise.
7134         * posix/getgid.c (__getgid): Likewise.
7135         * posix/getpid.c (__getpid): Likewise.
7136         * posix/getppid.c (__getppid): Likewise.
7137         * posix/getuid.c (__getuid): Likewise.
7138         * posix/pause.c (pause): Likewise.
7139         * posix/setpgrp.c (setpgrp): Likewise.
7140         * posix/setsid.c (__setsid): Likewise.
7141         * posix/test-vfork.c (noop): Likewise.
7142         * resolv/gethnamaddr.c (_endhtent): Likewise.
7143         (_gethtent): Likewise.
7144         (ht_endhostent): Likewise.
7145         (gethostent): Likewise.
7146         (dns_service): Likewise.
7147         * stdlib/drand48.c (drand48): Likewise.
7148         * stdlib/lrand48.c (lrand48): Likewise.
7149         * stdlib/mrand48.c (mrand48): Likewise.
7150         * stdlib/rand.c (rand): Likewise.
7151         * stdlib/random.c (__random): Likewise.
7152         * stdlib/setenv.c (clearenv): Likewise.
7153         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7154         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7155         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7156         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7157         (__get_nprocs): Likewise.
7158         (__get_phys_pages): Likewise.
7159         (__get_avphys_pages): Likewise.
7160         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7161         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7162         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7163         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7164         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7165         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7166         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7167         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7168         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7169         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7170         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7171         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7172         * sysdeps/posix/clock.c (clock): Likewise.
7173         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7174         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7175         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7176         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7177         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7178         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7179         (__get_nprocs_conf): Likewise.
7180         (__get_phys_pages): Likewise.
7181         (__get_avphys_pages): Likewise.
7182         * time/clock.c (clock): Likewise.
7183         * time/tzset.c (__tzname_max): Likewise.
7185 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7187         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7188         (__bswap_32): Do not use "register".
7189         * crypt/crypt.c (_ufc_doit_r): Likewise.
7190         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7191         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7192         * gmon/gmon.c (__monstartup): Likewise.
7193         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7194         * hurd/hurdmalloc.c (more_memory): Likewise.
7195         (malloc): Likewise.
7196         (free): Likewise.
7197         (realloc): Likewise.
7198         (malloc_fork_prepare): Likewise.
7199         (malloc_fork_parent): Likewise.
7200         (malloc_fork_child): Likewise.
7201         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7202         (_svcauth_des): Likewise.
7203         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7204         * inet/inet_net.c (inet_network): Likewise.
7205         * inet/inet_netof.c (inet_netof): Likewise.
7206         * inet/rcmd.c (__validuser2_sa): Likewise.
7207         * io/fts.c (fts_open): Likewise.
7208         (fts_load): Likewise.
7209         (fts_close): Likewise.
7210         (fts_read): Likewise.
7211         (fts_children): Likewise.
7212         (fts_build): Likewise.
7213         (fts_stat): Likewise.
7214         (fts_sort): Likewise.
7215         (fts_alloc): Likewise.
7216         (fts_lfree): Likewise.
7217         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7218         (_IO_file_xsgetn): Likewise.
7219         (_IO_file_xsgetn_mmap): Likewise.
7220         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7221         (_IO_cookie_write): Likewise.
7222         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7223         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7224         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7225         * malloc/obstack.c (_obstack_begin): Likewise.
7226         (_obstack_begin_1): Likewise.
7227         (_obstack_newchunk): Likewise.
7228         (_obstack_allocated_p): Likewise.
7229         (obstack_free): Likewise.
7230         (_obstack_memory_used): Likewise.
7231         * misc/getttyent.c (getttynam): Likewise.
7232         (getttyent): Likewise.
7233         (skip): Likewise.
7234         (value): Likewise.
7235         * misc/getusershell.c (initshells): Likewise.
7236         * misc/syslog.c (__vsyslog_chk): Likewise.
7237         * misc/ttyslot.c (ttyslot): Likewise.
7238         * nis/nis_hash.c (__nis_hash): Likewise.
7239         * posix/fnmatch_loop.c (FCT): Likewise.
7240         * posix/getconf.c (print_all): Likewise.
7241         (main): Likewise.
7242         * posix/getopt.c (exchange): Likewise.
7243         * posix/glob.c (globfree): Likewise.
7244         (prefix_array): Likewise.
7245         (__glob_pattern_type): Likewise.
7246         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7247         (NS_GET32): Likewise.
7248         (NS_PUT16): Likewise.
7249         (NS_PUT32): Likewise.
7250         * resolv/gethnamaddr.c (getanswer): Likewise.
7251         (gethostbyname2): Likewise.
7252         (gethostbyaddr): Likewise.
7253         (_gethtent): Likewise.
7254         (_gethtbyname2): Likewise.
7255         (_gethtbyaddr): Likewise.
7256         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7257         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7258         * resolv/res_init.c (__res_vinit): Likewise.
7259         (net_mask): Likewise.
7260         * resolv/res_mkquery.c (outchar): Likewise.
7261         (PRINT): Likewise.
7262         * stdio-common/printf_fp.c (outchar): Likewise.
7263         (PRINT): Likewise.
7264         * stdio-common/printf_fphex.c (outchar): Likewise.
7265         (PRINT): Likewise.
7266         * stdio-common/printf_size.c (outchar): Likewise.
7267         (PRINT): Likewise.
7268         * stdio-common/test_rdwr.c (main): Likewise.
7269         * stdio-common/tfformat.c (matches): Likewise.
7270         * stdio-common/vfprintf.c (outchar): Likewise.
7271         (printf_unknown): Likewise.
7272         (buffered_vfprintf): Likewise.
7273         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7274         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7275         (ReadFile): Likewise.
7276         * stdlib/qsort.c (SWAP): Likewise.
7277         (_quicksort): Likewise.
7278         * stdlib/setenv.c (__add_to_environ): Likewise.
7279         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7280         * stdlib/strtol_l.c (__strtol_l): Likewise.
7281         * stdlib/tst-strtod.c (main): Likewise.
7282         * stdlib/tst-strtol.c (main): Likewise.
7283         * stdlib/tst-strtoll.c (main): Likewise.
7284         * string/bits/string2.h (__strcmp_cc): Likewise.
7285         (__strcmp_cg): Likewise.
7286         (__strcspn_c1): Likewise.
7287         (__strcspn_c2): Likewise.
7288         (__strcspn_c3): Likewise.
7289         (__strspn_c1): Likewise.
7290         (__strspn_c2): Likewise.
7291         (__strspn_c3): Likewise.
7292         (__strsep_1c): Likewise.
7293         (__strsep_2c): Likewise.
7294         (__strsep_3c): Likewise.
7295         * string/memccpy.c (__memccpy): Likewise.
7296         * string/stpcpy.c (__stpcpy): Likewise.
7297         * string/strcmp.c (strcmp): Likewise.
7298         * string/strrchr.c (strrchr): Likewise.
7299         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7300         Likewise.
7301         * sysdeps/mach/hurd/getcwd.c
7302         (_hurd_canonicalize_directory_name_internal): Likewise.
7303         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7304         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7305         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7306         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7307         Likewise, in both definitions.
7308         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7309         definitions.
7310         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7311         64] (__bswap_64): Likewise.
7312         * time/test_time.c (main): Likewise.
7313         * time/tzfile.c (__tzfile_read): Likewise.
7314         (__tzfile_compute): Likewise.
7315         * time/tzset.c (__tzset_parse_tz): Likewise.
7316         (tzset_internal): Likewise.
7317         (compute_change): Likewise.
7318         * wcsmbs/wcscat.c (__wcscat): Likewise.
7319         * wcsmbs/wcschr.c (wcschr): Likewise.
7320         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7321         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7322         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7323         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7324         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7325         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7326         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7327         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7328         * wcsmbs/wmemset.c (wmemset): Likewise.
7330 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7332         * scripts/config.guess: Update to version 2013-05-16.
7333         * scripts/config.sub: Update to version 2013-04-24.
7334         * scripts/install-sh: Update to version 2011-11-20.07.
7335         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7336         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7338 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7340         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7341         * elf/sln.c: Likewise.
7342         * hurd/hurd/ioctl.h: Likewise.
7343         * hurd/hurdmalloc.c: Likewise.
7344         * hurd/xattr.c: Likewise.
7345         * include/shlib-compat.h: Likewise.
7346         * inet/ruserpass.c: Likewise.
7347         * libio/iofgets_u.c: Likewise.
7348         * libio/iofgetws_u.c: Likewise.
7349         * locale/programs/ld-identification.c: Likewise.
7350         * locale/programs/ld-time.c: Likewise.
7351         * mach/msg-destroy.c: Likewise.
7352         * nss/nss_files/files-netgrp.c: Likewise.
7353         * resolv/res_data.c: Likewise.
7354         * soft-fp/op-1.h: Likewise.
7355         * soft-fp/op-2.h: Likewise.
7356         * soft-fp/op-4.h: Likewise.
7357         * soft-fp/op-common.h: Likewise.
7358         * stdio-common/printf_fphex.c: Likewise.
7359         * stdlib/strtod_l.c: Likewise.
7360         * sunrpc/rpc/clnt.h: Likewise.
7361         * sysdeps/generic/framestate.c: Likewise.
7362         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7363         * sysdeps/i386/bsd-setjmp.S: Likewise.
7364         * sysdeps/i386/__longjmp.S: Likewise.
7365         * sysdeps/i386/setjmp.S: Likewise.
7366         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7367         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7368         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7369         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7370         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7371         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7372         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7373         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7374         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7375         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7376         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7377         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7378         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7379         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7380         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7381         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7382         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7383         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7384         * sysdeps/ieee754/support.c: Likewise.
7385         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7386         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7387         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7388         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7389         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7390         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7391         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7392         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7393         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7394         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7395         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7396         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7397         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7398         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7399         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7400         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7401         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7404 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7406         * posix/transbug.c: Remove executable mode.
7408 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7410         * crypt/speeds.c: Remove trailing whitespace.
7411         * dlfcn/default.c: Likewise.
7412         * elf/ifuncdep2.c: Likewise.
7413         * elf/ifuncmain1.c: Likewise.
7414         * elf/ifuncmain1vis.c: Likewise.
7415         * elf/testobj.h: Likewise.
7416         * elf/tst-stackguard1.c: Likewise.
7417         * gmon/sys/gmon.h: Likewise.
7418         * hurd/hurdmsg.c: Likewise.
7419         * hurd/new-fd.c: Likewise.
7420         * hurd/ports-get.c: Likewise.
7421         * iconvdata/ibm1008_420.c: Likewise.
7422         * inet/tst-getni1.c: Likewise.
7423         * inet/tst-getni2.c: Likewise.
7424         * libio/ioungetc.c: Likewise.
7425         * libio/wfiledoalloc.c: Likewise.
7426         * manual/libm-err-tab.pl: Likewise.
7427         * math/w_dremf.c: Likewise.
7428         * misc/ftruncate.c: Likewise.
7429         * posix/bug-glob2.c: Likewise.
7430         * posix/tst-pcre.c: Likewise.
7431         * posix/wait4.c: Likewise.
7432         * resolv/README: Likewise.
7433         * resolv/res_debug.h: Likewise.
7434         * resolv/tst-inet_ntop.c: Likewise.
7435         * setjmp/bug269-setjmp.c: Likewise.
7436         * soft-fp/extended.h: Likewise.
7437         * soft-fp/op-1.h: Likewise.
7438         * soft-fp/op-2.h: Likewise.
7439         * soft-fp/op-4.h: Likewise.
7440         * soft-fp/op-8.h: Likewise.
7441         * soft-fp/testit.c: Likewise.
7442         * stdio-common/bug16.c: Likewise.
7443         * stdlib/random.c: Likewise.
7444         * sunrpc/rpcsvc/rquota.x: Likewise.
7445         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7446         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7447         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7448         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7449         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7450         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7451         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7452         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7453         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7454         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7455         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7456         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7457         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7458         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7459         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7460         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7461         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7462         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7463         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7464         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7465         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7466         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7467         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7468         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7469         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7470         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7471         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7472         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7473         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7474         * sysdeps/ieee754/s_lib_version.c: Likewise.
7475         * sysdeps/mach/hurd/check_fds.c: Likewise.
7476         * sysdeps/mach/hurd/getsockname.c: Likewise.
7477         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7478         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7479         * sysdeps/powerpc/bits/link.h: Likewise.
7480         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7481         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7482         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7483         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7484         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7485         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7486         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7487         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7488         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7489         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7490         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7491         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7492         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7493         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7494         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7495         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7496         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7497         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7498         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7499         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7500         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7501         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7502         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7503         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7504         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7505         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7506         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7507         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7508         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7509         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7510         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7511         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7512         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7513         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7514         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7515         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7516         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7517         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7518         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7519         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7520         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7521         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7522         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7523         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7524         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7525         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7526         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7527         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7528         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7529         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7530         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7531         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7532         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7533         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7534         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7535         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7536         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7537         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7538         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7539         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7540         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7541         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7542         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7543         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7544         * sysdeps/powerpc/sysdep.h: Likewise.
7545         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7546         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7547         * sysdeps/sh/dl-trampoline.S: Likewise.
7548         * sysdeps/sh/memset.S: Likewise.
7549         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7550         * sysdeps/sh/strlen.S: Likewise.
7551         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7552         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7553         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7554         * sysdeps/sparc/sparc32/rem.S: Likewise.
7555         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7556         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7557         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7558         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7559         * sysdeps/sparc/sparc32/urem.S: Likewise.
7560         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7561         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7562         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7563         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7564         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7565         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7566         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7567         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7568         * sysdeps/unix/bsd/times.c: Likewise.
7569         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7570         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7574         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7575         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7576         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7577         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7578         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7579         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7580         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7581         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7582         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7583         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7584         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7585         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7586         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7587         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7588         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7589         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7590         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7591         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7592         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7593         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7594         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7595         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7596         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7597         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7598         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7599         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7600         * sysdeps/x86_64/strcspn.S: Likewise.
7602 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7604         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7605         generated file.  Regenerate properly from gen-translit.pl.
7606         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7607         locale/C-translit.h.
7609 2013-06-05  Andreas Schwab  <schwab@suse.de>
7611         [BZ #15100]
7612         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7613         week as 6 instead of -1.
7614         * time/tst-strptime.c (day_tests): Add test case.
7616 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7618         * sysdeps/generic/math_private.h
7619         (libc_feholdexcept_setround_53bit): Replace with
7620         libc_feholdsetround_53bit.
7621         (libc_feupdateenv_53bit): Replace with
7622         libc_feresetround_53bit.
7623         (SET_RESTORE_ROUND_53BIT): Adjust.
7625 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7627         * string/test-strchrnul.c: Add copyright header.
7629         * posix/tst-getaddrinfo4.c: Increase test timeout.
7631 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7633         [BZ #15536]
7634         * math/libm-test.inc (MAX_EXP): Remove
7635         (MIN_EXP): Define.
7636         (ulp): Use MIN_EXP - MANT_DIG.
7637         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7639 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7641         * po/be.po: Revert last change.
7642         * po/zh_CN.po: Likewise.
7643         * po/header.pot: Likewise.
7645 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7647         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7648         link-libc-deps to empty as target-specific variable.
7649         * Makerules (link-libc-args): New variable.
7650         (libc-for-link): Likewise.
7651         (link-libc-deps): Likewise.
7652         (lib%.so): Depend on $(link-libc-deps).  Link with
7653         $(link-libc-args).
7654         (build-module): Link with $(link-libc-args).
7655         (build-module-asneeded): Likewise.
7656         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7657         list of objects.
7658         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7659         target-specific variable.
7660         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7661         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7662         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7663         libc.
7664         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7665         libc and ld.so.
7666         ($(objpfx)libpcprofile.so): Likewise.
7667         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7668         libc_nonshared.a.
7669         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7670         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7671         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7672         $(link-libc-deps).
7673         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7674         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7675         * login/Makefile ($(objpfx)libutil.so): Likewise.
7676         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7677         * math/Makefile ($(objpfx)libm.so): Likewise.
7678         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7679         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7680         variable instead of depending directly on libc.
7681         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7682         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7683         $(link-libc-deps).
7684         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7685         libc.
7686         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7687         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7688         ($(objpfx)libanl.so): Likewise.
7689         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7690         ld.so.
7691         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7692         $(link-libc-deps).
7693         * sysdeps/i386/fpu/Makefile: Remove file.
7694         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7695         ($(objpfx)libm.so): Remove dependency on ld.so.
7697 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7699         [BZ # 15553]
7700         * nis/yp_xdr.c (XDRMAXNAME): Define.
7701         (XDRMAXRECORD): Define.
7702         (xdr_domainname): Use XDRMAXNAME.
7703         (xdr_mapname): Likewise.
7704         (xdr_peername): Likewise.
7705         (xdr_keydat): Use XDRMAXRECORD.
7706         (xdr_valdat): Likewise.
7708 2013-05-30  Jeff Law  <law@redhat.com>
7710         [BZ #14256]
7711         * manual/errno.texi (ESTALE): Update to account for more than
7712         just NFS file systems.
7713         * sysdeps/gnu/errlist.c: Regenerated.
7715 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7717         [BZ #15465]
7718         * elf/Makefile (tests): Add tst-null-argv.
7719         (modules-names):  Add tst-null-argv-lib.
7720         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7721         (tst-null-argv-ENV): Set environment for tst-null-argv.
7722         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7723         (RTLD_PROGNAME): New macro.
7724         * elf/tst-null-argv.c: New test case.
7725         * elf/tst-null-argv-lib.c: Library for test case.
7726         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7727         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7728         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7729         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7730         * elf/dl-init.c (call_init): Likewise.
7731         (_dl_init): Likewise.
7732         * elf/dl-load.c (print_search_path): Likewise.
7733         (_dl_map_object): Likewise.
7734         * elf/dl-lookup.c (do_lookup_x): Likewise.
7735         (add_dependency): Likewise.
7736         (_dl_lookup_symbol_x): Likewise.
7737         (_dl_debug_bindings): Likewise.
7738         * elf/dl-open.c (_dl_show_scope): Likewise.
7739         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7740         * elf/dl-version.c (match_symbol): Likewise.
7741         (_dl_check_map_versions): Likewise.
7742         * elf/rtld.c (dl_main): Likewise.
7743         (print_unresolved): Use RTLD_PROGNAME.
7744         (print_missing_version): Likewise.
7745         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7746         (elf_machine_rela): Likewise.
7747         * sysdeps/powerpc/powerpc32/dl-machine.c
7748         (__process_machine_rela): Likewise.
7749         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7750         Likewise.
7751         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7752         Likewise.
7753         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7754         Likewise.
7755         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7756         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7757         Likewise.
7758         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7759         Likewise.
7760         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7762 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7764         * po/be.po: Add descriptive title.
7765         * po/zh_CN.po: Likewise.
7766         * po/header.pot: Likewise.
7768 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7770         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7771         error message.
7772         (enlarge_archive): Likewise.
7774 2013-05-28  Ben North  <ben@redfrontdoor.org>
7776         * manual/arith.texi (frexp): It is the magnitude of the return
7777         value which lies in [0.5, 1), not the return value itself.
7779 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7783 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7785         * stdio-common/bug26.c (main): Correct fscanf template.
7787         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7788         declare _dl_skip_args.
7790         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7791         Don't declare.
7793         * manual/platform.texi: Add missing @end deftypefun.
7795 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7797         [BZ #15529]
7798         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7799         bit of mantissa of 2^16382.
7800         * math/libm-test.inc (hypot_test_data): Add more tests.
7802         * math/libm-test.inc: Add drem and pow10 to list of tested
7803         functions.
7804         (pow10_test): New function.
7805         (drem_test): Likewise.
7806         (drem_test_tonearest): Likewise.
7807         (drem_test_towardzero): Likewise.
7808         (drem_test_downward): Likewise.
7809         (drem_test_upward): Likewise.
7810         (main): Call the new functions.
7812         * math/libm-test.inc (finite_test_data): Remove.
7813         (finite_test): Run tests from isfinite_test_data.
7814         (gamma_test_data): Remove.
7815         (gamma_test): Run tests from lgamma_test_data.
7816         * sysdeps/i386/fpu/libm-test-ulps: Update.
7817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7819 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7821         * manual/platform.texi: Add PowerPC PPR function set documentation.
7822         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7823         implementation.
7825 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7827         * math/libm-test.inc (MAX_EXP): Define.
7828         (ULPDIFF): Define.
7829         (ulp): New function.
7830         (check_float_internal): Use ULPDIFF.
7831         (cpow_test): Disable failing test.
7832         (check_ulp): Test ulp() implemetnation.
7833         (main): Call check_ulp before starting tests.
7835 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7837         * math/gen-libm-test.pl (generate_testfile): Do not handle
7838         START_DATA and END_DATA.
7839         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7840         END_DATA.
7841         (acos_tonearest_test_data): Likewise.
7842         (acos_towardzero_test_data): Likewise.
7843         (acos_downward_test_data): Likewise.
7844         (acos_upward_test_data): Likewise.
7845         (acosh_test_data): Likewise.
7846         (asin_test_data): Likewise.
7847         (asin_tonearest_test_data): Likewise.
7848         (asin_towardzero_test_data): Likewise.
7849         (asin_downward_test_data): Likewise.
7850         (asin_upward_test_data): Likewise.
7851         (asinh_test_data): Likewise.
7852         (atan_test_data): Likewise.
7853         (atanh_test_data): Likewise.
7854         (atan2_test_data): Likewise.
7855         (cabs_test_data): Likewise.
7856         (cacos_test_data): Likewise.
7857         (cacosh_test_data): Likewise.
7858         (carg_test_data): Likewise.
7859         (casin_test_data): Likewise.
7860         (casinh_test_data): Likewise.
7861         (catan_test_data): Likewise.
7862         (catanh_test_data): Likewise.
7863         (cbrt_test_data): Likewise.
7864         (ccos_test_data): Likewise.
7865         (ccosh_test_data): Likewise.
7866         (ceil_test_data): Likewise.
7867         (cexp_test_data): Likewise.
7868         (cimag_test_data): Likewise.
7869         (clog_test_data): Likewise.
7870         (clog10_test_data): Likewise.
7871         (conj_test_data): Likewise.
7872         (copysign_test_data): Likewise.
7873         (cos_test_data): Likewise.
7874         (cos_tonearest_test_data): Likewise.
7875         (cos_towardzero_test_data): Likewise.
7876         (cos_downward_test_data): Likewise.
7877         (cos_upward_test_data): Likewise.
7878         (cosh_test_data): Likewise.
7879         (cosh_tonearest_test_data): Likewise.
7880         (cosh_towardzero_test_data): Likewise.
7881         (cosh_downward_test_data): Likewise.
7882         (cosh_upward_test_data): Likewise.
7883         (cpow_test_data): Likewise.
7884         (cproj_test_data): Likewise.
7885         (creal_test_data): Likewise.
7886         (csin_test_data): Likewise.
7887         (csinh_test_data): Likewise.
7888         (csqrt_test_data): Likewise.
7889         (ctan_test_data): Likewise.
7890         (ctan_tonearest_test_data): Likewise.
7891         (ctan_towardzero_test_data): Likewise.
7892         (ctan_downward_test_data): Likewise.
7893         (ctan_upward_test_data): Likewise.
7894         (ctanh_test_data): Likewise.
7895         (ctanh_tonearest_test_data): Likewise.
7896         (ctanh_towardzero_test_data): Likewise.
7897         (ctanh_downward_test_data): Likewise.
7898         (ctanh_upward_test_data): Likewise.
7899         (erf_test_data): Likewise.
7900         (erfc_test_data): Likewise.
7901         (exp_test_data): Likewise.
7902         (exp_tonearest_test_data): Likewise.
7903         (exp_towardzero_test_data): Likewise.
7904         (exp_downward_test_data): Likewise.
7905         (exp_upward_test_data): Likewise.
7906         (exp10_test_data): Likewise.
7907         (exp2_test_data): Likewise.
7908         (expm1_test_data): Likewise.
7909         (fabs_test_data): Likewise.
7910         (fdim_test_data): Likewise.
7911         (finite_test_data): Likewise.
7912         (floor_test_data): Likewise.
7913         (fma_test_data): Likewise.
7914         (fma_towardzero_test_data): Likewise.
7915         (fma_downward_test_data): Likewise.
7916         (fma_upward_test_data): Likewise.
7917         (fmax_test_data): Likewise.
7918         (fmin_test_data): Likewise.
7919         (fmod_test_data): Likewise.
7920         (fpclassify_test_data): Likewise.
7921         (frexp_test_data): Likewise.
7922         (gamma_test_data): Likewise.
7923         (hypot_test_data): Likewise.
7924         (ilogb_test_data): Likewise.
7925         (isfinite_test_data): Likewise.
7926         (isgreater_test_data): Likewise.
7927         (isgreaterequal_test_data): Likewise.
7928         (isinf_test_data): Likewise.
7929         (isless_test_data): Likewise.
7930         (islessequal_test_data): Likewise.
7931         (islessgreater_test_data): Likewise.
7932         (isnan_test_data): Likewise.
7933         (isnormal_test_data): Likewise.
7934         (issignaling_test_data): Likewise.
7935         (isunordered_test_data): Likewise.
7936         (j0_test_data): Likewise.
7937         (j1_test_data): Likewise.
7938         (jn_test_data): Likewise.
7939         (ldexp_test_data): Likewise.
7940         (lgamma_test_data): Likewise.
7941         (lrint_test_data): Likewise.
7942         (lrint_tonearest_test_data): Likewise.
7943         (lrint_towardzero_test_data): Likewise.
7944         (lrint_downward_test_data): Likewise.
7945         (lrint_upward_test_data): Likewise.
7946         (llrint_test_data): Likewise.
7947         (llrint_tonearest_test_data): Likewise.
7948         (llrint_towardzero_test_data): Likewise.
7949         (llrint_downward_test_data): Likewise.
7950         (llrint_upward_test_data): Likewise.
7951         (log_test_data): Likewise.
7952         (log10_test_data): Likewise.
7953         (log1p_test_data): Likewise.
7954         (log2_test_data): Likewise.
7955         (logb_test_data): Likewise.
7956         (logb_downward_test_data): Likewise.
7957         (lround_test_data): Likewise.
7958         (llround_test_data): Likewise.
7959         (modf_test_data): Likewise.
7960         (nearbyint_test_data): Likewise.
7961         (nextafter_test_data): Likewise.
7962         (nexttoward_test_data): Likewise.
7963         (pow_test_data): Likewise.
7964         (pow_tonearest_test_data): Likewise.
7965         (pow_towardzero_test_data): Likewise.
7966         (pow_downward_test_data): Likewise.
7967         (pow_upward_test_data): Likewise.
7968         (remainder_test_data): Likewise.
7969         (remainder_tonearest_test_data): Likewise.
7970         (remainder_towardzero_test_data): Likewise.
7971         (remainder_downward_test_data): Likewise.
7972         (remainder_upward_test_data): Likewise.
7973         (remquo_test_data): Likewise.
7974         (rint_test_data): Likewise.
7975         (rint_tonearest_test_data): Likewise.
7976         (rint_towardzero_test_data): Likewise.
7977         (rint_downward_test_data): Likewise.
7978         (rint_upward_test_data): Likewise.
7979         (round_test_data): Likewise.
7980         (scalb_test_data): Likewise.
7981         (scalbn_test_data): Likewise.
7982         (scalbln_test_data): Likewise.
7983         (signbit_test_data): Likewise.
7984         (sin_test_data): Likewise.
7985         (sin_tonearest_test_data): Likewise.
7986         (sin_towardzero_test_data): Likewise.
7987         (sin_downward_test_data): Likewise.
7988         (sin_upward_test_data): Likewise.
7989         (sincos_test_data): Likewise.
7990         (sinh_test_data): Likewise.
7991         (sinh_tonearest_test_data): Likewise.
7992         (sinh_towardzero_test_data): Likewise.
7993         (sinh_downward_test_data): Likewise.
7994         (sinh_upward_test_data): Likewise.
7995         (sqrt_test_data): Likewise.
7996         (tan_test_data): Likewise.
7997         (tan_tonearest_test_data): Likewise.
7998         (tan_towardzero_test_data): Likewise.
7999         (tan_downward_test_data): Likewise.
8000         (tan_upward_test_data): Likewise.
8001         (tanh_test_data): Likewise.
8002         (tgamma_test_data): Likewise.
8003         (trunc_test_data): Likewise.
8004         (y0_test_data): Likewise.
8005         (y1_test_data): Likewise.
8006         (yn_test_data): Likewise.
8007         (significand_test_data): Likewise.
8009         * math/gen-libm-test.pl (@functions): Remove variable.
8010         (generate_testfile): Don't handle START and END lines.
8011         * math/libm-test.inc (START): New macro.
8012         (END): Likewise.
8013         (END_COMPLEX): Likewise.
8014         (acos_test): Use END macro without arguments.
8015         (acos_test_tonearest): Likewise.
8016         (acos_test_towardzero): Likewise.
8017         (acos_test_downward): Likewise.
8018         (acos_test_upward): Likewise.
8019         (acosh_test): Likewise.
8020         (asin_test): Likewise.
8021         (asin_test_tonearest): Likewise.
8022         (asin_test_towardzero): Likewise.
8023         (asin_test_downward): Likewise.
8024         (asin_test_upward): Likewise.
8025         (asinh_test): Likewise.
8026         (atan_test): Likewise.
8027         (atanh_test): Likewise.
8028         (atan2_test): Likewise.
8029         (cabs_test): Likewise.
8030         (cacos_test): Use END_COMPLEX macro without arguments.
8031         (cacosh_test): Likewise.
8032         (carg_test): Use END macro without arguments.
8033         (casin_test): Use END_COMPLEX macro without arguments.
8034         (casinh_test): Likewise.
8035         (catan_test): Likewise.
8036         (catanh_test): Likewise.
8037         (cbrt_test): Use END macro without arguments.
8038         (ccos_test): Use END_COMPLEX macro without arguments.
8039         (ccosh_test): Likewise.
8040         (ceil_test): Use END macro without arguments.
8041         (cexp_test): Use END_COMPLEX macro without arguments.
8042         (cimag_test): Use END macro without arguments.
8043         (clog_test): Use END_COMPLEX macro without arguments.
8044         (clog10_test): Likewise.
8045         (conj_test): Likewise.
8046         (copysign_test): Use END macro without arguments.
8047         (cos_test): Likewise.
8048         (cos_test_tonearest): Likewise.
8049         (cos_test_towardzero): Likewise.
8050         (cos_test_downward): Likewise.
8051         (cos_test_upward): Likewise.
8052         (cosh_test): Likewise.
8053         (cosh_test_tonearest): Likewise.
8054         (cosh_test_towardzero): Likewise.
8055         (cosh_test_downward): Likewise.
8056         (cosh_test_upward): Likewise.
8057         (cpow_test): Use END_COMPLEX macro without arguments.
8058         (cproj_test): Likewise.
8059         (creal_test): Use END macro without arguments.
8060         (csin_test): Use END_COMPLEX macro without arguments.
8061         (csinh_test): Likewise.
8062         (csqrt_test): Likewise.
8063         (ctan_test): Likewise.
8064         (ctan_test_tonearest): Likewise.
8065         (ctan_test_towardzero): Likewise.
8066         (ctan_test_downward): Likewise.
8067         (ctan_test_upward): Likewise.
8068         (ctanh_test): Likewise.
8069         (ctanh_test_tonearest): Likewise.
8070         (ctanh_test_towardzero): Likewise.
8071         (ctanh_test_downward): Likewise.
8072         (ctanh_test_upward): Likewise.
8073         (erf_test): Use END macro without arguments.
8074         (erfc_test): Likewise.
8075         (exp_test): Likewise.
8076         (exp_test_tonearest): Likewise.
8077         (exp_test_towardzero): Likewise.
8078         (exp_test_downward): Likewise.
8079         (exp_test_upward): Likewise.
8080         (exp10_test): Likewise.
8081         (exp2_test): Likewise.
8082         (expm1_test): Likewise.
8083         (fabs_test): Likewise.
8084         (fdim_test): Likewise.
8085         (finite_test): Likewise.
8086         (floor_test): Likewise.
8087         (fma_test): Likewise.
8088         (fma_test_towardzero): Likewise.
8089         (fma_test_downward): Likewise.
8090         (fma_test_upward): Likewise.
8091         (fmax_test): Likewise.
8092         (fmin_test): Likewise.
8093         (fmod_test): Likewise.
8094         (fpclassify_test): Likewise.
8095         (frexp_test): Likewise.
8096         (gamma_test): Likewise.
8097         (hypot_test): Likewise.
8098         (ilogb_test): Likewise.
8099         (isfinite_test): Likewise.
8100         (isgreater_test): Likewise.
8101         (isgreaterequal_test): Likewise.
8102         (isinf_test): Likewise.
8103         (isless_test): Likewise.
8104         (islessequal_test): Likewise.
8105         (islessgreater_test): Likewise.
8106         (isnan_test): Likewise.
8107         (isnormal_test): Likewise.
8108         (issignaling_test): Likewise.
8109         (isunordered_test): Likewise.
8110         (j0_test): Likewise.
8111         (j1_test): Likewise.
8112         (jn_test): Likewise.
8113         (ldexp_test): Likewise.
8114         (lgamma_test): Likewise.
8115         (lrint_test): Likewise.
8116         (lrint_test_tonearest): Likewise.
8117         (lrint_test_towardzero): Likewise.
8118         (lrint_test_downward): Likewise.
8119         (lrint_test_upward): Likewise.
8120         (llrint_test): Likewise.
8121         (llrint_test_tonearest): Likewise.
8122         (llrint_test_towardzero): Likewise.
8123         (llrint_test_downward): Likewise.
8124         (llrint_test_upward): Likewise.
8125         (log_test): Likewise.
8126         (log10_test): Likewise.
8127         (log1p_test): Likewise.
8128         (log2_test): Likewise.
8129         (logb_test): Likewise.
8130         (logb_test_downward): Likewise.
8131         (lround_test): Likewise.
8132         (llround_test): Likewise.
8133         (modf_test): Likewise.
8134         (nearbyint_test): Likewise.
8135         (nextafter_test): Likewise.
8136         (nexttoward_test): Likewise.
8137         (pow_test): Likewise.
8138         (pow_test_tonearest): Likewise.
8139         (pow_test_towardzero): Likewise.
8140         (pow_test_downward): Likewise.
8141         (pow_test_upward): Likewise.
8142         (remainder_test): Likewise.
8143         (remainder_test_tonearest): Likewise.
8144         (remainder_test_towardzero): Likewise.
8145         (remainder_test_downward): Likewise.
8146         (remainder_test_upward): Likewise.
8147         (remquo_test): Likewise.
8148         (rint_test): Likewise.
8149         (rint_test_tonearest): Likewise.
8150         (rint_test_towardzero): Likewise.
8151         (rint_test_downward): Likewise.
8152         (rint_test_upward): Likewise.
8153         (round_test): Likewise.
8154         (scalb_test): Likewise.
8155         (scalbn_test): Likewise.
8156         (scalbln_test): Likewise.
8157         (signbit_test): Likewise.
8158         (sin_test): Likewise.
8159         (sin_test_tonearest): Likewise.
8160         (sin_test_towardzero): Likewise.
8161         (sin_test_downward): Likewise.
8162         (sin_test_upward): Likewise.
8163         (sincos_test): Likewise.
8164         (sinh_test): Likewise.
8165         (sinh_test_tonearest): Likewise.
8166         (sinh_test_towardzero): Likewise.
8167         (sinh_test_downward): Likewise.
8168         (sinh_test_upward): Likewise.
8169         (sqrt_test): Likewise.
8170         (tan_test): Likewise.
8171         (tan_test_tonearest): Likewise.
8172         (tan_test_towardzero): Likewise.
8173         (tan_test_downward): Likewise.
8174         (tan_test_upward): Likewise.
8175         (tanh_test): Likewise.
8176         (tgamma_test): Likewise.
8177         (trunc_test): Likewise.
8178         (y0_test): Likewise.
8179         (y1_test): Likewise.
8180         (yn_test): Likewise.
8181         (significand_test): Likewise.
8183 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8185         [BZ #15381]
8186         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8188 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8190         [BZ #14894]
8191         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8192         __ppc_mdoio and __ppc_mdoom.
8193         * manual/platform.texi: Document new functions __ppc_yield,
8194         __ppc_mdoio and __ppc_mdoom.
8196 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8198         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8199         (main): Mention "tls" pseudo-hwcap is legacy.
8200         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8202 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8204         * math/gen-libm-test.pl (parse_args): Output only string of
8205         arguments as text for test name, not full call or descriptions of
8206         tests for extra outputs.
8207         (generate_testfile): Do not pass function name to parse_args.
8208         Generate this_func variable from START.
8209         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8210         field to arg_str.
8211         (struct test_ff_f_data): Likewise.
8212         (test_ff_f_data_nexttoward): Likewise.
8213         (struct test_fi_f_data): Likewise.
8214         (struct test_fl_f_data): Likewise.
8215         (struct test_if_f_data): Likewise.
8216         (struct test_fff_f_data): Likewise.
8217         (struct test_c_f_data): Likewise.
8218         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8219         (struct test_fF_f1_data): Likewise.
8220         (struct test_ffI_f1_data): Likewise.
8221         (struct test_c_c_data): Rename test_name field to arg_str.
8222         (struct test_cc_c_data): Likewise.
8223         (struct test_f_i_data): Likewise.
8224         (struct test_ff_i_data): Likewise.
8225         (struct test_f_l_data): Likewise.
8226         (struct test_f_L_data): Likewise.
8227         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8228         and extra2_name.
8229         (COMMON_TEST_SETUP): New macro.
8230         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8231         (COMMON_TEST_CLEANUP): Likewise.
8232         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8233         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8234         macros.
8235         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8236         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8237         macros.
8238         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8239         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8240         cleanup macros.
8241         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8242         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8243         macros.
8244         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8245         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8246         macros.
8247         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8248         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8249         cleanup macros.
8250         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8251         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8252         cleanup macros.
8253         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8254         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8255         cleanup macros.
8256         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8257         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8258         macros.
8259         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8260         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8261         macros.
8262         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8263         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8264         macros.
8265         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8266         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8267         cleanup macros.
8268         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8269         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8270         cleanup macros.
8271         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8272         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8273         macros.
8274         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8275         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8276         cleanup macros.
8277         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8278         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8279         macros.
8280         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8281         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8282         macros.
8283         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8284         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8285         cleanup macros.
8286         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8288 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8290         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8291         to _sifields.sigfault.
8292         (si_addr_lsb): Define new macro.
8293         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8294         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8295         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8297 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8299         [BZ #15441]
8300         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8301         returns -1.
8302         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8303         null return -1.
8304         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8305         loading the domain.
8307 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8309         * math/gen-libm-test.pl (parse_args): Do not include expected
8310         result in test name.
8311         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8312         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8313         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8314         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8315         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8318 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8320         * benchtests/Makefile: Sort function entries.
8322         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8323         tanh, asinh, acosh, atanh.
8324         * benchtests/acos-inputs: New file.
8325         * benchtests/acosh-inputs: New file.
8326         * benchtests/asin-inputs: New file.
8327         * benchtests/asinh-inputs: New file.
8328         * benchtests/atanh-inputs: New file.
8329         * benchtests/cosh-inputs: New file.
8330         * benchtests/log-inputs: New file.
8331         * benchtests/sinh-inputs: New file.
8332         * benchtests/tanh-inputs: New file.
8334 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8336         [BZ #15339]
8337         * posix/tst-getaddrinfo4.c: New test.
8338         * posix/Makefile (tests): Add it.
8340 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8342         [BZ #15339]
8343         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8344         when no services were used.
8345         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8346         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8348 2013-05-21  Andreas Schwab  <schwab@suse.de>
8350         [BZ #15014]
8351         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8352         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8353         successful.
8354         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8355         redundant variable declarations and reallocation of buffer when
8356         parsing as IPv6 address.  Always set NSS status when called from
8357         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8358         buffer too small.  Correct computation of needed size.
8359         * nss/Makefile (tests): Add test-digits-dots.
8360         * nss/test-digits-dots.c: New test.
8362 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8364         * benchtests/Makefile: Remove instructions for adding
8365         benchmark tests.
8366         * benchtests/README: New file to explain how to execute and
8367         enhance the benchmark tests.
8369 2013-05-21  Andreas Schwab  <schwab@suse.de>
8371         [BZ #15493]
8372         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8373         * setjmp/tst-sigsetjmp.c: New test.
8375 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8377         * sysdeps/x86_64/memset.S (memset): New implementation.
8378         (__bzero): Likewise.
8379         (__memset_tail): New function.
8381 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8383         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8384         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8385         __memcpy_sse2_unaligned ifunc selection.
8386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8387         Add memcpy-sse2-unaligned.S.
8388         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8389         Add: __memcpy_sse2_unaligned.
8391 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8393         [BZ #15490]
8394         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8395         math_force_eval before restoring floating-point envrionment.
8396         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8397         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8398         Likewise.
8399         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8400         <math_private.h>.
8401         (__nearbyintl): Use math_force_eval before restoring
8402         floating-point environment.
8403         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8405         * math/gen-libm-test.pl (special_functions): Remove.
8406         (parse_args): Don't handle TEST_extra.  Handle functions with no
8407         return value.
8408         * math/libm-test.inc (struct test_sincos_data): Replace with
8409         struct test_fFF_11_data.
8410         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8411         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8412         (sincos_test_data): Change element type to struct
8413         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8414         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8415         RUN_TEST_LOOP_sincos.
8416         * math/README.libm-test: Don't mention special handling of
8417         individual functions.
8418         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8419         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8420         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8421         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8422         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8425         * math/gen-libm-test.pl (get_variable): Remove function.
8426         (parse_args): Don't show pointer parameters to call in test
8427         names.  Use "extra output N" in test names for extra outputs
8428         rather than naming variables.
8430 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8432         [BZ #15488]
8433         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8434         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8435         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8436         double tests.
8437         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8438         disable.
8439         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8440         check_long_double.
8442         * math/gen-libm-test.pl (@tests): Remove variable.
8443         ($count): Likewise.
8444         (new_test): Remove function.
8445         (show_exceptions): New function.
8446         (special_functions): Use show_exceptions instead of new_test.
8447         (parse_args): Likewise.
8448         (generate_testfile): Pass only function name in generated call to
8449         print_max_error or print_complex_max_error.
8450         (get_ulps): Do not handle complex tests specially.
8451         (output_test): Rename to ...
8452         (get_all_ulps_for_test): ... this.  Return a string rather than
8453         printing to a file.  Require ulps to be present.
8454         (output_ulps): Generate arrays rather than #defines.
8455         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8456         (struct ulp_data): New type.
8457         (BUILD_COMPLEX_ULP): Remove macro.
8458         (compare_ulp_data): New function.
8459         (find_ulps): Likewise.
8460         (find_test_ulps): Likewise.
8461         (find_function_ulps): Likewise.
8462         (find_complex_function_ulps): Likewise.
8463         (print_max_error): Determine allowed ulps using
8464         find_function_ulps.
8465         (print_complex_max_error): Determine allowed ulps using
8466         find_complex_function_ulps.
8467         (check_float_internal): Determine max ulps using find_test_ulps.
8468         (check_float): Do not take max_ulp parameter.  Update call to
8469         check_float_internal.
8470         (check_complex): Likewise.
8471         (check_int): Do not take max_ulp parameter.
8472         (check_long): Likewise.
8473         (check_bool): Likewise.
8474         (check_longlong): Likewise.
8475         (struct test_f_f_data): Remove max_ulp field.
8476         (struct test_ff_f_data): Likewise.
8477         (struct test_ff_f_data_nexttoward): Likewise.
8478         (struct test_fi_f_data): Likewise.
8479         (struct test_fl_f_data): Likewise.
8480         (struct test_if_f_data): Likewise.
8481         (struct test_fff_f_data): Likewise.
8482         (struct test_c_f_data): Likewise.
8483         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8484         (struct test_fF_f1_data): Likewise.
8485         (struct test_ffI_f1_data): Likewise.
8486         (struct test_c_c_data): Remove max_ulp field.
8487         (struct test_cc_c_data): Likewise.
8488         (struct test_f_i_data): Likewise.
8489         (struct test_ff_i_data): Likewise.
8490         (struct test_f_l_data): Likewise.
8491         (struct test_f_L_data): Likewise.
8492         (struct test_sincos_data): Likewise.
8493         (RUN_TEST_f_f): Do not handle ulps.
8494         (RUN_TEST_LOOP_f_f): Likewise.
8495         (RUN_TEST_2_f): Likewise.
8496         (RUN_TEST_LOOP_2_f): Likewise.
8497         (RUN_TEST_fff_f): Likewise.
8498         (RUN_TEST_LOOP_fff_f): Likewise.
8499         (RUN_TEST_c_f): Likewise.
8500         (RUN_TEST_LOOP_c_f): Likewise.
8501         (RUN_TEST_f_f1): Likewise.
8502         (RUN_TEST_LOOP_f_f1): Likewise.
8503         (RUN_TEST_fF_f1): Likewise.
8504         (RUN_TEST_LOOP_fF_f1): Likewise.
8505         (RUN_TEST_fI_f1): Likewise.
8506         (RUN_TEST_LOOP_fI_f1): Likewise.
8507         (RUN_TEST_ffI_f1): Likewise.
8508         (RUN_TEST_LOOP_ffI_f1): Likewise.
8509         (RUN_TEST_c_c): Likewise.
8510         (RUN_TEST_LOOP_c_c): Likewise.
8511         (RUN_TEST_cc_c): Likewise.
8512         (RUN_TEST_LOOP_cc_c): Likewise.
8513         (RUN_TEST_f_i): Likewise.
8514         (RUN_TEST_LOOP_f_i): Likewise.
8515         (RUN_TEST_f_i_tg): Likewise.
8516         (RUN_TEST_LOOP_f_i_tg): Likewise.
8517         (RUN_TEST_ff_i_tg): Likewise.
8518         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8519         (RUN_TEST_f_b): Likewise.
8520         (RUN_TEST_LOOP_f_b): Likewise.
8521         (RUN_TEST_f_b_tg): Likewise.
8522         (RUN_TEST_LOOP_f_b_tg): Likewise.
8523         (RUN_TEST_f_l): Likewise.
8524         (RUN_TEST_LOOP_f_l): Likewise.
8525         (RUN_TEST_f_L): Likewise.
8526         (RUN_TEST_LOOP_f_L): Likewise.
8527         (RUN_TEST_sincos): Likewise.
8528         (RUN_TEST_LOOP_sincos): Likewise.
8530 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8532         [BZ #15480]
8533         [BZ #15485]
8534         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8535         main case of finite arguments, set rounding mode to FE_TONEAREST
8536         and discard exceptions.
8537         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8538         exceptions.
8539         (remainder_tonearest_test_data): New variable.
8540         (remainder_test_tonearest): New function.
8541         (remainder_towardzero_test_data): New variable.
8542         (remainder_test_towardzero): New function.
8543         (remainder_downward_test_data): New variable.
8544         (remainder_test_downward): New function.
8545         (remainder_upward_test_data): New variable.
8546         (remainder_test_upward): New function.
8547         (main): Call the new test functions.
8549         * math/libm-test.inc (struct test_f_f1_data): Remove field
8550         extra_init.
8551         (struct test_fF_f1_data): Likewise.
8552         (struct test_ffI_f1_data): Likewise.
8553         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8554         based on value of EXTRA_EXPECTED.
8555         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8556         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8557         EXTRA_VAR based on value of EXTRA_EXPECTED.
8558         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8559         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8560         EXTRA_VAR based on value of EXTRA_EXPECTED.
8561         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8562         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8563         EXTRA_VAR based on value of EXTRA_EXPECTED.
8564         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8565         * math/gen-libm-test.pl (parse_args): Don't output initializers
8566         for extra output values.
8568         * math/libm-test.inc (check_int): Expect result to be exactly
8569         equal to expected value and do not handle ulps.
8570         (check_long): Likewise.
8571         (check_longlong): Likewise.
8573         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8574         exceptions.
8575         (cimag_test_data): Likewise.
8576         (conj_test_data): Likewise.
8577         (copysign_test_data): Likewise.
8578         (cproj_test_data): Likewise.
8579         (creal_test_data): Likewise.
8580         (fabs_test_data): Likewise.
8581         (fdim_test_data): Likewise.
8582         (finite_test_data): Likewise.
8583         (floor_test_data): Likewise.
8584         (fmax_test_data): Likewise.
8585         (fmin_test_data): Likewise.
8586         (fmod_test_data): Likewise.
8587         (fpclassify_test_data): Likewise.
8588         (frexp_test_data): Likewise.
8589         (ilogb_test_data): Likewise.
8590         (isfinite_test_data): Likewise.
8591         (isgreater_test_data): Likewise.
8592         (isgreaterequal_test_data): Likewise.
8593         (isinf_test_data): Likewise.
8594         (isless_test_data): Likewise.
8595         (islessequal_test_data): Likewise.
8596         (islessgreater_test_data): Likewise.
8597         (isnan_test_data): Likewise.
8598         (isnormal_test_data): Likewise.
8599         (issignaling_test_data): Likewise.
8600         (isunordered_test_data): Likewise.
8601         (ldexp_test_data): Likewise.
8602         (lrint_test_data): Likewise.
8603         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8604         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8605         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8606         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8607         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8608         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8609         test input.
8610         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8611         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8612         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8613         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8614         that test input.
8615         (lrint_downward_test_data): Test for "inexact" exceptions.
8616         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8617         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8618         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8619         test input.
8620         (lrint_upward_test_data): Test for "inexact" exceptions.
8621         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8622         test input.
8623         (llrint_test_data): Test for "inexact" exceptions.
8624         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8625         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8626         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8627         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8628         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8629         (llrint_downward_test_data): Test for "inexact" exceptions.
8630         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8631         (llrint_upward_test_data): Test for "inexact" exceptions.
8632         (logb_test_data): Likewise.
8633         (logb_downward_test_data): Likewise.
8634         (nextafter_test_data): Likewise.
8635         (nexttoward_test_data): Likewise.
8636         (remainder_test_data): Likewise.
8637         (remquo_test_data): Likewise.
8638         (scalbn_test_data): Likewise.
8639         (scalbln_test_data): Likewise.
8640         (signbit_test_data): Likewise.
8641         (sqrt_test_data): Likewise.
8642         (significand_test_data): Likewise.
8644 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8646         [BZ #15424]
8647         * benchtests/bench-modf.c (struct args): Mark arg0 as
8648         volatile.
8649         * scripts/bench.pl: Mark members of struct args as volatile.
8651 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8653         [BZ # 15497]
8654         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8655         negative infinity on POWER6 or lower.
8656         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8658 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8660         [BZ #15442]
8661         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8662         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8663         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8664         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8665         (_FP_SETQNAN): New macro.
8666         (_FP_SETQNAN_SEMIRAW): Likewise.
8667         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8668         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8669         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8670         (FP_EXTEND): Use _FP_FRAC_SNANP.
8671         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8672         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8673         into account.
8674         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8675         New macro.
8676         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8677         Likewise.
8679 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8681         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8682         with DIVIDE_BY_ZERO_EXCEPTION.
8683         (gamma_test_data): Likewise.
8684         (lgamma_test_data): Likewise.
8685         (log_test_data): Likewise.
8686         (log10_test_data): Likewise.
8687         (log2_test_data): Likewise.
8688         (tgamma_test_data): Likewise.
8690         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8691         (acos_test_tonearest): Likewise.
8692         (acos_test_towardzero): Likewise.
8693         (acos_test_downward): Likewise.
8694         (acos_test_upward): Likewise.
8695         (acosh_test): Likewise.
8696         (asin_test): Likewise.
8697         (asin_test_tonearest): Likewise.
8698         (asin_test_towardzero): Likewise.
8699         (asin_test_downward): Likewise.
8700         (asin_test_upward): Likewise.
8701         (asinh_test): Likewise.
8702         (atan_test): Likewise.
8703         (atanh_test): Likewise.
8704         (atan2_test): Likewise.
8705         (cabs_test): Likewise.
8706         (cacos_test): Likewise.
8707         (cacosh_test): Likewise.
8708         (casin_test): Likewise.
8709         (casinh_test): Likewise.
8710         (catan_test): Likewise.
8711         (catanh_test): Likewise.
8712         (cbrt_test): Likewise.
8713         (ccos_test): Likewise.
8714         (ccosh_test): Likewise.
8715         (cexp_test): Likewise.
8716         (clog_test): Likewise.
8717         (clog10_test): Likewise.
8718         (cos_test): Likewise.
8719         (cos_test_tonearest): Likewise.
8720         (cos_test_towardzero): Likewise.
8721         (cos_test_downward): Likewise.
8722         (cos_test_upward): Likewise.
8723         (cosh_test): Likewise.
8724         (cosh_test_tonearest): Likewise.
8725         (cosh_test_towardzero): Likewise.
8726         (cosh_test_downward): Likewise.
8727         (cosh_test_upward): Likewise.
8728         (cpow_test): Likewise.
8729         (csin_test): Likewise.
8730         (csinh_test): Likewise.
8731         (csqrt_test): Likewise.
8732         (ctan_test): Likewise.
8733         (ctan_test_tonearest): Likewise.
8734         (ctan_test_towardzero): Likewise.
8735         (ctan_test_downward): Likewise.
8736         (ctan_test_upward): Likewise.
8737         (ctanh_test): Likewise.
8738         (ctanh_test_tonearest): Likewise.
8739         (ctanh_test_towardzero): Likewise.
8740         (ctanh_test_downward): Likewise.
8741         (ctanh_test_upward): Likewise.
8742         (erf_test): Likewise.
8743         (erfc_test): Likewise.
8744         (exp_test): Likewise.
8745         (exp_test_tonearest): Likewise.
8746         (exp_test_towardzero): Likewise.
8747         (exp_test_downward): Likewise.
8748         (exp_test_upward): Likewise.
8749         (exp10_test): Likewise.
8750         (exp2_test): Likewise.
8751         (expm1_test): Likewise.
8752         (fmod_test): Likewise.
8753         (gamma_test): Likewise.
8754         (hypot_test): Likewise.
8755         (j0_test): Likewise.
8756         (j1_test): Likewise.
8757         (jn_test): Likewise.
8758         (lgamma_test): Likewise.
8759         (log_test): Likewise.
8760         (log10_test): Likewise.
8761         (log1p_test): Likewise.
8762         (log2_test): Likewise.
8763         (logb_test_downward): Likewise.
8764         (pow_test): Likewise.
8765         (pow_test_tonearest): Likewise.
8766         (pow_test_towardzero): Likewise.
8767         (pow_test_downward): Likewise.
8768         (pow_test_upward): Likewise.
8769         (remainder_test): Likewise.
8770         (remquo_test): Likewise.
8771         (sin_test): Likewise.
8772         (sin_test_tonearest): Likewise.
8773         (sin_test_towardzero): Likewise.
8774         (sin_test_downward): Likewise.
8775         (sin_test_upward): Likewise.
8776         (sincos_test): Likewise.
8777         (sinh_test): Likewise.
8778         (sinh_test_tonearest): Likewise.
8779         (sinh_test_towardzero): Likewise.
8780         (sinh_test_downward): Likewise.
8781         (sinh_test_upward): Likewise.
8782         (sqrt_test): Likewise.
8783         (tan_test): Likewise.
8784         (tan_test_tonearest): Likewise.
8785         (tan_test_towardzero): Likewise.
8786         (tan_test_downward): Likewise.
8787         (tan_test_upward): Likewise.
8788         (tanh_test): Likewise.
8789         (tgamma_test): Likewise.
8790         (y0_test): Likewise.
8791         (y1_test): Likewise.
8792         (yn_test): Likewise.
8794         * math/gen-libm-test.pl (adjust_arg): Remove function.
8795         (special_function): Remove argument $in_func.  Only handle
8796         generating output for tables of tests, not inside functions.
8797         (parse_args): Likewise.
8798         (generate_testfile): Remove variable $in_func.  Update call to
8799         parse_args.
8800         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8801         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8802         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8803         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8804         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8805         (MAX_VALUE_INIT): Rename macro to max_value.
8806         (MIN_VALUE_INIT): Rename macro to min_value.
8807         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8808         (plus_zero): Remove variable.
8809         (minus_zero): Likewise.
8810         (plus_infty): Likewise.
8811         (minus_infty): Likewise.
8812         (qnan_value): Likewise.
8813         (max_value): Likewise.
8814         (min_value): Likewise.
8815         (min_subnorm_value): Likewise.
8817 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8819         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8820         uint64_t or uint32_t usage.
8821         * crypt/sha256-block.c: Likewise.
8822         * crypt/sha256-crypt.c: Likewise.
8823         * crypt/sha256.c: Likewise.
8824         * crypt/sha512-block.c: Likewise.
8825         * crypt/sha512-crypt.c: Likewise.
8826         * crypt/sha512.c: Likewise.
8827         * debug/backtrace-tst.c: Likewise.
8828         * debug/pcprofiledump.c: Likewise.
8829         * elf/cache.c: Likewise.
8830         * elf/dl-cache.c: Likewise.
8831         * elf/dl-misc.c: Likewise.
8832         * elf/dl-profile.c: Likewise.
8833         * elf/dl-support.c: Likewise.
8834         * elf/ldconfig.c: Likewise.
8835         * elf/sprof.c: Likewise.
8836         * iconv/dummy-repertoire.c: Likewise.
8837         * iconv/iconv_charmap.c: Likewise.
8838         * iconv/skeleton.c: Likewise.
8839         * iconvdata/8bit-generic.c: Likewise.
8840         * iconvdata/cp737.h: Likewise.
8841         * iconvdata/cp775.h: Likewise.
8842         * iconvdata/ibm1008.h: Likewise.
8843         * iconvdata/ibm1025.h: Likewise.
8844         * iconvdata/ibm1046.h: Likewise.
8845         * iconvdata/ibm1097.h: Likewise.
8846         * iconvdata/ibm1112.h: Likewise.
8847         * iconvdata/ibm1122.h: Likewise.
8848         * iconvdata/ibm1123.h: Likewise.
8849         * iconvdata/ibm1124.h: Likewise.
8850         * iconvdata/ibm1129.h: Likewise.
8851         * iconvdata/ibm1130.h: Likewise.
8852         * iconvdata/ibm1132.h: Likewise.
8853         * iconvdata/ibm1133.h: Likewise.
8854         * iconvdata/ibm1137.h: Likewise.
8855         * iconvdata/ibm1140.h: Likewise.
8856         * iconvdata/ibm1141.h: Likewise.
8857         * iconvdata/ibm1142.h: Likewise.
8858         * iconvdata/ibm1143.h: Likewise.
8859         * iconvdata/ibm1144.h: Likewise.
8860         * iconvdata/ibm1145.h: Likewise.
8861         * iconvdata/ibm1146.h: Likewise.
8862         * iconvdata/ibm1147.h: Likewise.
8863         * iconvdata/ibm1148.h: Likewise.
8864         * iconvdata/ibm1149.h: Likewise.
8865         * iconvdata/ibm1153.h: Likewise.
8866         * iconvdata/ibm1154.h: Likewise.
8867         * iconvdata/ibm1155.h: Likewise.
8868         * iconvdata/ibm1156.h: Likewise.
8869         * iconvdata/ibm1157.h: Likewise.
8870         * iconvdata/ibm1158.h: Likewise.
8871         * iconvdata/ibm1160.h: Likewise.
8872         * iconvdata/ibm1161.h: Likewise.
8873         * iconvdata/ibm1162.h: Likewise.
8874         * iconvdata/ibm1163.h: Likewise.
8875         * iconvdata/ibm1164.h: Likewise.
8876         * iconvdata/ibm1166.h: Likewise.
8877         * iconvdata/ibm1167.h: Likewise.
8878         * iconvdata/ibm12712.h: Likewise.
8879         * iconvdata/ibm1390.h: Likewise.
8880         * iconvdata/ibm1399.h: Likewise.
8881         * iconvdata/ibm16804.h: Likewise.
8882         * iconvdata/ibm4517.h: Likewise.
8883         * iconvdata/ibm4899.h: Likewise.
8884         * iconvdata/ibm4909.h: Likewise.
8885         * iconvdata/ibm4971.h: Likewise.
8886         * iconvdata/ibm5347.h: Likewise.
8887         * iconvdata/ibm803.h: Likewise.
8888         * iconvdata/ibm856.h: Likewise.
8889         * iconvdata/ibm901.h: Likewise.
8890         * iconvdata/ibm902.h: Likewise.
8891         * iconvdata/ibm9030.h: Likewise.
8892         * iconvdata/ibm9066.h: Likewise.
8893         * iconvdata/ibm921.h: Likewise.
8894         * iconvdata/ibm922.h: Likewise.
8895         * iconvdata/ibm9448.h: Likewise.
8896         * iconvdata/isiri-3342.h: Likewise.
8897         * iconvdata/jis0201.h: Likewise.
8898         * include/link.h: Likewise.
8899         * include/netdb.h: Likewise.
8900         * inet/check_native.c: Likewise.
8901         * inet/check_pf.c: Likewise.
8902         * inet/getipv4sourcefilter.c: Likewise.
8903         * inet/getnameinfo.c: Likewise.
8904         * inet/getsourcefilter.c: Likewise.
8905         * inet/htonl.c: Likewise.
8906         * inet/setipv4sourcefilter.c: Likewise.
8907         * inet/setsourcefilter.c: Likewise.
8908         * inet/test-inet6_opt.c: Likewise.
8909         * inet/tst-network.c: Likewise.
8910         * locale/C-collate.c: Likewise.
8911         * locale/C-ctype.c: Likewise.
8912         * locale/C-time.c: Likewise.
8913         * locale/C-translit.h: Likewise.
8914         * locale/loadarchive.c: Likewise.
8915         * locale/programs/3level.h: Likewise.
8916         * locale/programs/charmap.c: Likewise.
8917         * locale/programs/charmap.h: Likewise.
8918         * locale/programs/ld-address.c: Likewise.
8919         * locale/programs/ld-collate.c: Likewise.
8920         * locale/programs/ld-ctype.c: Likewise.
8921         * locale/programs/ld-identification.c: Likewise.
8922         * locale/programs/ld-measurement.c: Likewise.
8923         * locale/programs/ld-messages.c: Likewise.
8924         * locale/programs/ld-monetary.c: Likewise.
8925         * locale/programs/ld-name.c: Likewise.
8926         * locale/programs/ld-numeric.c: Likewise.
8927         * locale/programs/ld-paper.c: Likewise.
8928         * locale/programs/ld-telephone.c: Likewise.
8929         * locale/programs/ld-time.c: Likewise.
8930         * locale/programs/linereader.c: Likewise.
8931         * locale/programs/locale.c: Likewise.
8932         * locale/programs/locarchive.c: Likewise.
8933         * locale/programs/locfile.h: Likewise.
8934         * locale/programs/repertoire.c: Likewise.
8935         * locale/programs/simple-hash.c: Likewise.
8936         * locale/programs/simple-hash.h: Likewise.
8937         * malloc/memusage.c: Likewise.
8938         * malloc/memusagestat.c: Likewise.
8939         * nis/nis_defaults.c: Likewise.
8940         * nis/nis_hash.c: Likewise.
8941         * nis/nis_print.c: Likewise.
8942         * nis/nis_xdr.c: Likewise.
8943         * nscd/connections.c: Likewise.
8944         * nscd/hstcache.c: Likewise.
8945         * nscd/nscd_gethst_r.c: Likewise.
8946         * nscd/nscd_getserv_r.c: Likewise.
8947         * nscd/nscd_helper.c: Likewise.
8948         * nscd/servicescache.c: Likewise.
8949         * nss/makedb.c: Likewise.
8950         * nss/nss_db/db-XXX.c: Likewise.
8951         * nss/nss_db/db-initgroups.c: Likewise.
8952         * nss/nss_db/db-netgrp.c: Likewise.
8953         * nss/nss_files/files-network.c: Likewise.
8954         * nss/nss_files/files-parse.c: Likewise.
8955         * posix/bug-regex5.c: Likewise.
8956         * posix/fnmatch_loop.c: Likewise.
8957         * posix/regcomp.c: Likewise.
8958         * posix/regexec.c: Likewise.
8959         * posix/tst-rfc3484-2.c: Likewise.
8960         * posix/tst-rfc3484-3.c: Likewise.
8961         * posix/tst-rfc3484.c: Likewise.
8962         * resolv/nss_dns/dns-canon.c: Likewise.
8963         * resolv/nss_dns/dns-network.c: Likewise.
8964         * resolv/res_init.c: Likewise.
8965         * resolv/res_mkquery.c: Likewise.
8966         * resolv/tst-aton.c: Likewise.
8967         * stdlib/cxa_atexit.c: Likewise.
8968         * stdlib/cxa_finalize.c: Likewise.
8969         * stdlib/gen-fpioconst.c: Likewise.
8970         * stdlib/strtol_l.c: Likewise.
8971         * string/tst-endian.c: Likewise.
8972         * sunrpc/auth_des.c: Likewise.
8973         * sunrpc/clnt_udp.c: Likewise.
8974         * sunrpc/rtime.c: Likewise.
8975         * sunrpc/svcauth_des.c: Likewise.
8976         * sunrpc/xdr.c: Likewise.
8977         * sunrpc/xdr_intXX_t.c: Likewise.
8978         * sunrpc/xdr_rec.c: Likewise.
8979         * sysdeps/generic/ldconfig.h: Likewise.
8980         * sysdeps/generic/ldsodefs.h: Likewise.
8981         * sysdeps/generic/memusage.h: Likewise.
8982         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8983         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8984         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8985         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8986         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8987         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8988         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8989         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8990         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8991         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8992         * sysdeps/posix/getaddrinfo.c: Likewise.
8993         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8994         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8995         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8996         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8997         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8998         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8999         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9000         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9001         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9002         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9003         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9004         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9005         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9006         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9007         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9008         * sysdeps/x86_64/dl-tls.h: Likewise.
9009         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9010         * time/alt_digit.c: Likewise.
9011         * time/era.c: Likewise.
9012         * wcsmbs/tst-c16c32-1.c: Likewise.
9014 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9016         * math/libm-test.inc (struct test_sincos_data): New type.
9017         (RUN_TEST_LOOP_sincos): New macro.
9018         (sincos_test_data): New variable.
9019         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9021 2013-05-16  Richard Henderson  <rth@redhat.com>
9023         * math/atest-exp2.c (LIMB64): New macro.
9024         (CONSTSZ): New macro.
9025         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9026         (hexdig): Move ...
9027         (print_mpn_fp): ... to function scope.
9028         (read_mpn_hex): Remove.
9029         (get_log2): Remove.
9030         (exp2_mpn): Use mp_log2.
9031         (main): Use mp_exp1.
9033 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9035         * math/libm-test.inc: Remove comment about not testing "inexact"
9036         exceptions.
9037         (INEXACT_EXCEPTION): New macro.
9038         (NO_INEXACT_EXCEPTION): Likewise.
9039         (INVALID_EXCEPTION_OK): Update value.
9040         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9041         (OVERFLOW_EXCEPTION_OK): Likewise.
9042         (UNDERFLOW_EXCEPTION_OK): Likewise.
9043         (IGNORE_ZERO_INF_SIGN): Likewise.
9044         (ERRNO_UNCHANGED): Likewise.
9045         (ERRNO_EDOM): Likewise.
9046         (ERRNO_ERANGE): Likewise.
9047         (test_exceptions): Handle testing "inexact" exceptions.
9048         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9049         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9050         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9051         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9052         INEXACT_EXCEPTION.
9053         (rint_towardzero_test_data): Likewise.
9054         (rint_downward_test_data): Likewise.
9055         (rint_upward_test_data): Likewise.
9057         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9058         with OVERFLOW_EXCEPTION.
9059         (exp10_test_data): Likewise.
9060         (exp2_test_data): Likewise.
9061         (expm1_test_data): Likewise.
9062         (lgamma_test_data): Likewise.
9063         (pow_test_data): Likewise.
9064         (tgamma_test_data): Likewise.
9065         (yn_test_data): Remove duplicate test of overflow.
9067         * math/libm-test.inc (struct test_cc_c_data): New type.
9068         (RUN_TEST_LOOP_cc_c): New macro.
9069         (cpow_test_data): New variable.
9070         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9072         * math/libm-test.inc (struct test_f_L_data): New type.
9073         (RUN_TEST_LOOP_f_L): New macro.
9074         (llrint_test_data): New variable.
9075         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9076         (llrint_tonearest_test_data): New variable.
9077         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9078         (llrint_towardzero_test_data): New variable.
9079         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9080         (llrint_downward_test_data): New variable.
9081         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9082         (llrint_upward_test_data): New variable.
9083         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9084         (llround_test_data): New variable.
9085         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9087 2013-05-13  Peter Collingbourne  <pcc@google.com>
9089         * math/atest-exp2.c (get_log2): Remove const attribute.
9091 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9093         * math/libm-test.inc (struct test_f_l_data): New type.
9094         (RUN_TEST_LOOP_f_l): New macro.
9095         (lrint_test_data): New variable.
9096         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9097         (lrint_tonearest_test_data): New variable.
9098         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9099         (lrint_towardzero_test_data): New variable.
9100         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9101         (lrint_downward_test_data): New variable.
9102         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9103         (lrint_upward_test_data): New variable.
9104         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9105         (lround_test_data): New variable.
9106         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9108 2013-05-15  Peter Collingbourne  <pcc@google.com>
9110         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9111         (EXTRACT_WORDS64) Use where appropriate.
9112         (INSERT_WORDS64) Likewise.
9114         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9115         constraints with x constraints.
9116         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9118         * malloc/obstack.c (_obstack_compat): Add initializer.
9120 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9122         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9123         si_trapno and add si_addr_lsb to _sifields.sigfault.
9124         (si_trapno): Remove macro.
9125         (si_addr_lsb): Define new macro.
9126         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9128 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9130         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9131         instead of TEST_f_l.
9132         (llrint_test_tonearest): Likewise.
9133         (llrint_test_towardzero): Likewise.
9134         (llrint_test_downward): Likewise.
9135         (llrint_test_upward): Likewise.
9136         (llround_test): Likewise.
9138         * math/libm-test.inc (struct test_f_i_data): Add comment.
9139         (RUN_TEST_LOOP_f_b): New macro.
9140         (RUN_TEST_LOOP_f_b_tg): Likewise.
9141         (finite_test_data): New variable.
9142         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9143         (isfinite_test_data): New variable.
9144         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9145         (isinf_test_data): New variable.
9146         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9147         (isnan_test_data): New variable.
9148         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9149         (isnormal_test_data): New variable.
9150         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9151         (issignaling_test_data): New variable.
9152         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9153         (signbit_test_data): New variable.
9154         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9156         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9157         with INVALID_EXCEPTION.
9158         (acosh_test_data): Likewise.
9159         (asin_test_data): Likewise.
9160         (atanh_test_data): Likewise.
9161         (fmod_test_data): Likewise.
9162         (log_test_data): Likewise.
9163         (log10_test_data): Likewise.
9164         (log2_test_data): Likewise.
9165         (pow_test_data): Likewise.
9166         (sqrt_test_data): Likewise.
9167         (y0_test_data): Likewise.
9168         (y1_test_data): Likewise.
9169         (yn_test_data): Likewise.
9171         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9172         function contents.
9174         * math/libm-test.inc (struct test_ff_i_data): New type.
9175         (RUN_TEST_LOOP_ff_i_tg): New macro.
9176         (isgreater_test_data): New variable.
9177         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9178         (isgreaterequal_test_data): New variable.
9179         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9180         (isless_test_data): New variable.
9181         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9182         (islessequal_test_data): New variable.
9183         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9184         (islessgreater_test_data): New variable.
9185         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9186         (isunordered_test_data): New variable.
9187         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9189 2013-05-14  David S. Miller  <davem@davemloft.net>
9191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9193 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9195         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9197         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9198         extra_test to int.
9199         (struct test_f_i_data): Change type of max_ulp to int.
9201         * math/libm-test.inc (test_ffI_f1_data): New type.
9202         (RUN_TEST_LOOP_ffI_f1): New macro.
9203         (remquo_test_data): New variable.
9204         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9206         * setjmp/tst-setjmp-fp.c: New file.
9207         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9208         (link-libm): New variable.
9209         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9211         * math/libm-test.inc (struct test_f_i_data): New type.
9212         (RUN_TEST_LOOP_f_i): New macro.
9213         (RUN_TEST_LOOP_f_i_tg): Likewise.
9214         (fpclassify_test_data): New variable.
9215         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9216         (ilogb_test_data): New variable.
9217         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9219         * math/libm-test.inc (scalbln_test): Correct function name in END
9220         call.
9222         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9223         (RUN_TEST_LOOP_fI_f1): New macro.
9224         (frexp_test_data): New variable.
9225         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9227         * math/libm-test.inc (struct test_fF_f1_data): New type.
9228         (RUN_TEST_LOOP_fF_f1): New macro.
9229         (modf_test_data): New variable.
9230         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9232         * math/libm-test.inc (struct test_f_f1_data): New type.
9233         (RUN_TEST_LOOP_f_f1): New macro.
9234         (gamma_test_data): New variable.
9235         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9236         (lgamma_test_data): New variable.
9237         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9239 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9241         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9242         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9243         (main): Comment "tls" pseudo-hwcap.
9245 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9247         * math/libm-test.inc (struct test_fl_f_data): New type.
9248         (RUN_TEST_LOOP_fl_f): New variable.
9249         (scalbln_test_data): New variable.
9250         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9252         * math/libm-test.inc (struct test_fi_f_data): New type.
9253         (RUN_TEST_LOOP_fi_f): New macro.
9254         (ldexp_test_data): New variable.
9255         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9256         (scalbn_test_data): New variable.
9257         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9259         * math/libm-test.inc (struct test_c_f_data): New type.
9260         (RUN_TEST_LOOP_c_f): New macro.
9261         (cabs_test_data): New variable.
9262         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9263         (carg_test_data): New variable.
9264         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9265         (cimag_test_data): New variable.
9266         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9267         (creal_test_data): New variable.
9268         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9270         * math/libm-test.inc (struct test_if_f_data): New type.
9271         (RUN_TEST_LOOP_if_f): New macro.
9272         (jn_test_data): New variable.
9273         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9274         (yn_test_data): New variable.
9275         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9277         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9279 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9281         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9282         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9284 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9286         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9287         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9288         (bench-deps): Add bench-timing.h.
9289         * benchtests-bench-skeleton.c: Include bench-timing.h.
9290         (main): Use TIMING_* macros instead of clock_gettime.
9291         * benchtests/bench-timing.h: New file.
9293         [BZ #14582]
9294         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9295         Renamed from _LIB_VERSION.
9296         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9298 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9300         * math/libm-test.inc (struct test_fff_f_data): New type.
9301         (RUN_TEST_LOOP_fff_f): New macro.
9302         (fma_test_data): New variable.
9303         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9304         (fma_towardzero_test_data): New variable.
9305         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9306         (fma_downward_test_data): New variable.
9307         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9308         (fma_upward_test_data): New variable.
9309         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9311         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9312         (struct test_c_c_data): New type.
9313         (RUN_TEST_LOOP_c_c): New macro.
9314         (cacos_test_data): New variable.
9315         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9316         (cacosh_test_data): New variable.
9317         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9318         (casin_test_data): New variable.
9319         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9320         (casinh_test_data): New variable.
9321         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9322         (catan_test_data): New variable.
9323         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9324         (catanh_test_data): New variable.
9325         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9326         (ccos_test_data): New variable.
9327         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9328         (ccosh_test_data): New variable.
9329         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9330         (cexp_test_data): New variable.
9331         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9332         (clog_test_data): New variable.
9333         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9334         (clog10_test_data): New variable.
9335         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9336         (conj_test_data): New variable.
9337         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9338         (cproj_test_data): New variable.
9339         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9340         (csin_test_data): New variable.
9341         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9342         (csinh_test_data): New variable.
9343         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9344         (csqrt_test_data): New variable.
9345         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9346         (ctan_test_data): New variable.
9347         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9348         (ctan_tonearest_test_data): New variable.
9349         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9350         (ctan_towardzero_test_data): New variable.
9351         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9352         (ctan_downward_test_data): New variable.
9353         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9354         (ctan_upward_test_data): New variable.
9355         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9356         (ctanh_test_data): New variable.
9357         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9358         (ctanh_tonearest_test_data): New variable.
9359         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9360         (ctanh_towardzero_test_data): New variable.
9361         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9362         (ctanh_downward_test_data): New variable.
9363         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9364         (ctanh_upward_test_data): New variable.
9365         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9366         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9367         of BUILD_COMPLEX.
9369         * math/libm-test.inc (struct test_ff_f_data): New type.
9370         (struct test_ff_f_data_nexttoward): Likewise.
9371         (RUN_TEST_LOOP_2_f): New macro.
9372         (RUN_TEST_LOOP_ff_f): Likewise.
9373         (atan2_test_data): New variable.
9374         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9375         (copysign_test_data): New variable.
9376         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9377         (fdim_test_data): New variable.
9378         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9379         (fmax_test_data): New variable.
9380         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9381         (fmin_test_data): New variable.
9382         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9383         (fmod_test_data): New variable.
9384         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9385         (hypot_test_data): New variable.
9386         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9387         (nextafter_test_data): New variable.
9388         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9389         (nexttoward_test_data): New variable.
9390         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9391         (pow_test_data): New variable.
9392         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9393         (pow_tonearest_test_data): New variable.
9394         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9395         (pow_towardzero_test_data): New variable.
9396         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9397         (pow_downward_test_data): New variable.
9398         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9399         (pow_upward_test_data): New variable.
9400         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9401         (remainder_test_data): New variable.
9402         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9403         (scalb_test_data): New variable.
9404         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9405         * sysdeps/i386/fpu/libm-test-ulps: Update.
9407 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9409         * math/libm-test.inc (fma_test): Use max_value instead of local
9410         variable fltmax.
9411         (nextafter_test): Likewise.
9413         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9414         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9415         (acos_downward_test_data): New variable.
9416         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9417         (acos_upward_test_data): New variable.
9418         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9419         (acosh_test_data): New variable.
9420         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9421         (asin_test_data): New variable.
9422         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9423         (asin_tonearest_test_data): New variable.
9424         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9425         (asin_towardzero_test_data): New variable.
9426         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9427         (asin_downward_test_data): New variable.
9428         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9429         (asin_upward_test_data): New variable.
9430         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9431         (asinh_test_data): New variable.
9432         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9433         (atan_test_data): New variable.
9434         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9435         (atanh_test_data): New variable.
9436         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9437         (cbrt_test_data): New variable.
9438         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9439         (ceil_test_data): New variable.
9440         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9441         (cos_test_data): New variable.
9442         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9443         (cos_tonearest_test_data): New variable.
9444         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9445         (cos_towardzero_test_data): New variable.
9446         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9447         (cos_downward_test_data): New variable.
9448         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9449         (cos_upward_test_data): New variable.
9450         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9451         (cosh_test_data): New variable.
9452         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9453         (cosh_tonearest_test_data): New variable.
9454         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9455         (cosh_towardzero_test_data): New variable.
9456         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9457         (cosh_downward_test_data): New variable.
9458         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9459         (cosh_upward_test_data): New variable.
9460         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9461         (erf_test_data): New variable.
9462         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9463         (erfc_test_data): New variable.
9464         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9465         (exp_test_data): New variable.
9466         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9467         (exp_tonearest_test_data): New variable.
9468         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9469         (exp_towardzero_test_data): New variable.
9470         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9471         (exp_downward_test_data): New variable.
9472         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9473         (exp_upward_test_data): New variable.
9474         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9475         (exp10_test_data): New variable.
9476         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9477         (exp2_test_data): New variable.
9478         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9479         (expm1_test_data): New variable.
9480         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9481         (fabs_test_data): New variable.
9482         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9483         (floor_test_data): New variable.
9484         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9485         (j0_test_data): New variable.
9486         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9487         (j1_test_data): New variable.
9488         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9489         (log_test_data): New variable.
9490         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9491         (log10_test_data): New variable.
9492         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9493         (log1p_test_data): New variable.
9494         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9495         (log2_test_data): New variable.
9496         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9497         (logb_test_data): New variable.
9498         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9499         (logb_downward_test_data): New variable.
9500         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9501         (nearbyint_test_data): New variable.
9502         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9503         (rint_test_data): New variable.
9504         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9505         (rint_tonearest_test_data): New variable.
9506         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9507         (rint_towardzero_test_data): New variable.
9508         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9509         (rint_downward_test_data): New variable.
9510         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9511         (rint_upward_test_data): New variable.
9512         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9513         (round_test_data): New variable.
9514         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9515         (sin_test_data): New variable.
9516         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9517         (sin_tonearest_test_data): New variable.
9518         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9519         (sin_towardzero_test_data): New variable.
9520         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9521         (sin_downward_test_data): New variable.
9522         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9523         (sin_upward_test_data): New variable.
9524         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9525         (sinh_test_data): New variable.
9526         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9527         (sinh_tonearest_test_data): New variable.
9528         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9529         (sinh_towardzero_test_data): New variable.
9530         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9531         (sinh_downward_test_data): New variable.
9532         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9533         (sinh_upward_test_data): New variable.
9534         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9535         (sqrt_test_data): New variable.
9536         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9537         (tan_test_data): New variable.
9538         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9539         (tan_tonearest_test_data): New variable.
9540         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9541         (tan_towardzero_test_data): New variable.
9542         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9543         (tan_downward_test_data): New variable.
9544         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9545         (tan_upward_test_data): New variable.
9546         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9547         (tanh_test_data): New variable.
9548         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9549         (tgamma_test_data): New variable.
9550         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9551         (trunc_test_data): New variable.
9552         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9553         (y0_test_data): New variable.
9554         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9555         (y1_test_data): New variable.
9556         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9557         (significand_test_data): New variable.
9558         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9560 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9562         [BZ #12387]
9563         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9565 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9567         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9569 2013-05-10  Andreas Jaeger  <aj@suse.de>
9571         [BZ #15448]
9572         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9573         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9575 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9577         * math/gen-libm-test.pl (adjust_arg): New function.
9578         (special_functions): Handle generating output in both functions
9579         and arrays.
9580         (parse_args): Likewise.
9581         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9582         $in_func argument to parse_args.
9583         * math/libm-test.inc (struct test_f_f_data): New type.
9584         (IF_ROUND_INIT_): New macro.
9585         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9586         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9587         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9588         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9589         (ROUND_RESTORE_): Likewise.
9590         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9591         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9592         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9593         (ROUND_RESTORE_FE_UPWARD): Likewise.
9594         (RUN_TEST_LOOP_f_f): New macro.
9595         (acos_test_data): New variable.
9596         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9597         (acos_tonearest_test_data): New variable.
9598         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9600 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9602         * benchtests/bench-skeleton.c (startup): Fix coding style.
9604 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9606         [BZ #6809]
9607         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9608         negative infinity argument.
9609         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9610         negative infinity argument.
9611         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9612         negative infinity argument.
9613         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9614         domain errors.
9616 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9618         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9619         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9620         * iconv/iconv_prog.c (main): Likewise.
9621         * locale/programs/charmap-dir.c (charmap_readdir)
9622         (fopen_uncompressed): Likewise.
9623         * locale/programs/locfile.c (siblings_uncached)
9624         (write_locale_data): Use lstat64 instead of lstat.
9625         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9626         stat.
9628 2013-05-10  Andreas Jaeger  <aj@suse.de>
9630         [BZ #15395]
9631         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9632         localization.
9633         Include <locale.h>.
9635 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9637         * elf/dl-close.c (_dl_close_worker): Add comments.
9639 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9641         [BZ #15359]
9642         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9643         high part of pi/2.
9644         (__ieee754_rem_pio2l): Update comments.
9646         [BZ #15429]
9647         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9648         high part of pi/2.
9649         (__ieee754_rem_pio2l): Update comments.
9651         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9652         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9654         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9655         M_PI_4l.
9657         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9658         (M_PI_34_LOG10El): Likewise.
9659         (M_PI2_LOG10El): Likewise.
9660         (M_PI4_LOG10El): Likewise.
9661         (M_PI_LOG10El): Likewise.
9663 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9667 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9669         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9670         (MINUS_ZERO_INIT): Likewise.
9671         (PLUS_INFTY_INIT): Likewise.
9672         (MINUS_INFTY_INIT): Likewise.
9673         (QNAN_VALUE_INIT): Likewise.
9674         (MAX_VALUE_INIT): Likewise.
9675         (MIN_VALUE_INIT): Likewise.
9676         (MIN_SUBNORM_VALUE_INIT): Likewise.
9677         (plus_zero): Initialize with PLUS_ZERO_INIT.
9678         (minus_zero): Initialize with MINUS_ZERO_INIT.
9679         (plus_infty): Initialize with PLUS_INFTY_INIT.
9680         (minus_infty): Initialize with MINUS_INFTY_INIT.
9681         (qnan_value): Initialize with QNAN_VALUE_INIT.
9682         (max_value): Initialize with MAX_VALUE_INIT.
9683         (min_value): Initialize with MIN_VALUE_INIT.
9684         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9686         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9687         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9688         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9689         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9691         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9692         (RUN_TEST_2_f): Likewise.
9693         (RUN_TEST_ff_f): Likewise.
9694         (RUN_TEST_fi_f): Likewise.
9695         (RUN_TEST_fl_f): Likewise.
9696         (RUN_TEST_fff_f): Likewise.
9697         (RUN_TEST_c_f): Likewise.
9698         (RUN_TEST_f_f1): Likewise.
9699         (RUN_TEST_fF_f1): Likewise.
9700         (RUN_TEST_fI_f1): Likewise.
9701         (RUN_TEST_ffI_f1): Likewise.
9702         (RUN_TEST_c_c): Likewise.
9703         (RUN_TEST_cc_c): Likewise.
9704         (RUN_TEST_f_i): Likewise.
9705         (RUN_TEST_f_i_tg): Likewise.
9706         (RUN_TEST_ff_i_tg): Likewise.
9707         (RUN_TEST_f_b): Likewise.
9708         (RUN_TEST_f_b_tg): Likewise.
9709         (RUN_TEST_f_l): Likewise.
9710         (RUN_TEST_f_L): Likewise.
9711         (RUN_TEST_sincos): Likewise.
9712         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9713         whether to show exceptions.  Do not include ");\n" in return
9714         value.
9715         (special_functions): Output call to RUN_TEST_sincos instead of
9716         check_float calls.  Update calls to new_test.
9717         (parse_args): Output call to single RUN_TEST_* macro instead of
9718         check_* calls and other assignments.  Update calls to new_test.
9720         [BZ #2546]
9721         [BZ #2560]
9722         [BZ #5159]
9723         [BZ #15426]
9724         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9725         input to result for tgamma overflow.
9726         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9727         (gamma_coeff): New variable.
9728         (NCOEFF): New macro.
9729         (gamma_positive): New function.
9730         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9731         underflow here.  Use gamma_positive instead of exp (lgamma) for
9732         other arguments.
9733         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9734         (gamma_coeff): New variable.
9735         (NCOEFF): New macro.
9736         (gammaf_positive): New function.
9737         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9738         underflow here.  Use gamma_positive instead of exp (lgamma) for
9739         other arguments.
9740         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9741         (gamma_coeff): New variable.
9742         (NCOEFF): New macro.
9743         (gammal_positive): New function.
9744         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9745         underflow here.  Use gamma_positive instead of exp (lgamma) for
9746         other arguments.
9747         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9748         (gamma_coeff): New variable.
9749         (NCOEFF): New macro.
9750         (gammal_positive): New function.
9751         (__ieee754_gammal_r): Handle positive infinity, overflow and
9752         underflow here.  Handle NaN the same as positive infinity.  Remove
9753         check x < 0xffffffff for negative integers.  Use gamma_positive
9754         instead of exp (lgamma) for other arguments.
9755         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9756         (gamma_coeff): New variable.
9757         (NCOEFF): New macro.
9758         (gammal_positive): New function.
9759         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9760         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9761         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9762         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9763         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9764         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9765         * sysdeps/generic/math_private.h (__gamma_productf): New
9766         prototype.
9767         (__gamma_product): Likewise.
9768         (__gamma_productl): Likewise.
9769         * math/Makefile (libm-calls): Add gamma_product.
9770         * math/libm-test.inc (tgamma_test): Add more tests.
9771         * sysdeps/i386/fpu/libm-test-ulps: Update.
9772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9774 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9776         * benchtests/bench-skeleton.c (main): Preheat CPU.
9778 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9780         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9782 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9784         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9785         and _dl_skip_args_internal.
9787 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9789         * manual/message.texi (Message Translation): Talk about users.
9790         Message to key mapping impacts design.
9792 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9794         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9796         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9798         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9799         * sysdeps/wordsize-64/glob64.c: ... here.
9801         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9802         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9803         New macros.
9805         * debug/getlogin_r_chk.c: Moved to ...
9806         * login/getlogin_r_chk.c: ... here.
9807         * debug/Makefile (routines): Move getlogin_r_chk to ...
9808         * login/Makefile (routines): ... here.
9809         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9810         * login/Versions (libc: GLIBC_2.4): ... here.
9812         * io/poll.c (__poll): Renamed from poll.
9813         Add libc_hidden_def.
9814         (poll): Define as weak alias.
9816         * debug/ptsname_r_chk.c: Moved to ...
9817         * login/ptsname_r_chk.c: ... here.
9818         * debug/Makefile (routines): Move ptsname_r_chk to ...
9819         * login/Makefile (routines): ... here.
9820         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9821         * login/Versions (libc: GLIBC_2.4): ... here.
9823         * posix/getlogin.c: Moved to ...
9824         * login/getlogin.c: ... here.
9825         * posix/getlogin_r.c: Moved to ...
9826         * login/getlogin_r.c: ... here.
9827         * posix/getlogin_r.c: Moved to ...
9828         * login/getlogin_r.c: ... here.
9829         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9830         * login/Makefile (routines): ... here.
9831         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9832         * login/Versions (libc: GLIBC_2.0): ... here.
9834         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9835         (setrlimit): Define as weak alias.
9837         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9838         Call __ names for open, ftruncate, and close.
9839         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9840         (truncate): Define as weak alias.
9842 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9844         * math/gen-libm-test.pl (parse_args): Initialize x before each
9845         test of frexp, modf and remquo.
9847         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9848         test signgam value.
9850 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9852         [BZ #15418]
9853         [BZ #15419]
9854         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9855         internal tests.
9856         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9858 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9860         * elf/dl-writev.h: New file.
9861         * elf/dl-misc.c: Include it.
9862         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9863         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9865 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9867         * math/libm-test.inc (noXFails): Remove variable.
9868         (noXPasses): Likewise.
9869         (BUILD_COMPLEX_INT): Remove macro.
9870         (print_screen): Remove xfail argument.
9871         (print_screen_max_error): Likewise.
9872         (update_stats): Likewise.
9873         (print_max_error): Likewise.  Update calls to other affected
9874         functions.
9875         (print_complex_max_error): Likewise.
9876         (test_single_exception): Update calls to print_screen.
9877         (test_single_errno): Likewise.
9878         (check_float_internal): Remove xfail argument.  Update calls to
9879         other affected functions.
9880         (check_float): Likewise.
9881         (check_complex): Likewise.
9882         (check_int): Likewise.
9883         (check_long): Likewise.
9884         (check_bool): Likewise.
9885         (check_longlong): Likewise.
9886         (main): Don't print noXFails and noXPasses.
9887         * math/gen-libm-test.pl (top level): Don't mention expected
9888         failure handling in comment.
9889         (new_test): Don't handle expected failures.
9890         (parse_args): Don't mention expected failure handling in comment.
9891         (generate_testfile): Don't handle expected failures.
9892         (parse_ulps): Likewise.
9893         (print_ulps_file): Likewise.
9894         (get_failure): Remove function.
9895         (output_test): Don't handle expected failures.
9896         * make/README.libm-test: Don't mention expected failure handling.
9898         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9899         (minus_zero): Likewise.
9900         (plus_infty): Likewise.
9901         (minus_infty): Likewise.
9902         (qnan_value): Likewise.
9903         (max_value): Likewise.
9904         (min_value): Likewise.
9905         (min_subnorm_value): Likewise.
9906         (initialize): Do not initialize those variables dynamically.
9908 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9910         * io/open.c (__open_2): Moved to ...
9911         * io/open_2.c: ... this new file.
9912         * io/open64.c (__open64_2): Moved to ...
9913         * io/open64_2.c: ... this new file.
9914         * io/openat.c (__openat_2): Moved to ...
9915         * io/openat_2.c: ... this new file.
9916         * io/openat64.c (__openat64_2): Moved to ...
9917         * io/openat64_2.c: ... this new file.
9918         * io/Makefile (routines): Add them.
9919         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9920         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9921         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9922         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9923         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9924         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9925         (__openat64): Add hidden_ver.
9926         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9927         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9929         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9930         Separately conditionalize setting of GLRO(dl_sysinfo) so
9931         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9932         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9934 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9936         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9937         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9938         definition.
9939         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9940         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9941         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9942         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9943         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9945 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9947         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9948         test signgam value.
9950         * math/libm-test.inc (hypot_test): Do not use
9951         IGNORE_ZERO_INF_SIGN.
9953 2013-05-03  Andreas Jaeger  <aj@suse.de>
9955         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9956         Linux 3.9.
9957         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9958         (PF_MAX): Adjust for VSOCK change.
9960 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9964 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9966         [BZ #15264]
9967         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9968         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9969         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9971 2013-05-02  David S. Miller  <davem@davemloft.net>
9973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9975 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9977         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9979 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9981         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9983 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9985         [BZ #14952]
9986         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9987         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9988         Use __attribute__ ((__gnu_inline__)).
9989         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9990         Don't use __attribute__ ((__gnu_inline__)).
9992 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9994         [BZ #15423]
9995         * math/s_catan.c (__catan): Handle small real or imaginary part of
9996         input specially to avoid spurious underflow.
9997         * math/s_catanf.c (__catanf): Likewise.
9998         * math/s_catanh.c (__catanh): Likewise.
9999         * math/s_catanhf.c (__catanhf): Likewise.
10000         * math/s_catanhl.c (__catanhl): Likewise.
10001         * math/s_catanl.c (__catanl): Likewise.
10002         * math/libm-test.inc (catan_test): Add more tests.
10003         (catanh_test): Likewise.
10004         * sysdeps/i386/fpu/libm-test-ulps: Update.
10005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10007 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10011 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10013         [BZ #15416]
10014         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10015         accurately for denominator in atan2.
10016         * math/s_catanf.c (__catanf): Likewise.
10017         * math/s_catanh.c (__catanh): Likewise.
10018         * math/s_catanhf.c (__catanhf): Likewise.
10019         * math/s_catanhl.c (__catanhl): Likewise.
10020         * math/s_catanl.c (__catanl): Likewise.
10021         * math/libm-test.inc (catan_test): Add more tests.
10022         (catanh_test): Likewise.
10023         * sysdeps/i386/fpu/libm-test-ulps: Update.
10024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10026 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10028         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10030         * benchtests/Makefile (bench): Remove slow benchmarks.
10031         * benchtests/atan-inputs: Add slow benchmark inputs.
10032         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10033         (BENCH_FUNC): Accept variant offset.
10034         (VARIANT): Define.
10035         * benchtests/bench-skeleton.c (main): Run benchmark for each
10036         variant.
10037         * benchtests/cos-inputs: Add slow benchmark inputs.
10038         * benchtests/exp-inputs: Likewise.
10039         * benchtests/pow-inputs: Likewise.
10040         * benchtests/sin-inputs: Likewise.
10041         * benchtests/slowatan-inputs: Remove.
10042         * benchtests/slowatan.c: Remove.
10043         * benchtests/slowcos-inputs: Remove.
10044         * benchtests/slowcos.c: Remove.
10045         * benchtests/slowexp-inputs: Remove.
10046         * benchtests/slowexp.c: Remove.
10047         * benchtests/slowpow-inputs: Remove.
10048         * benchtests/slowpow.c: Remove.
10049         * benchtests/slowsin-inputs: Remove.
10050         * benchtests/slowsin.c: Remove.
10051         * benchtests/slowtan-inputs: Remove.
10052         * benchtests/slowtan.c: Remove.
10053         * benchtests/tan-inputs: Add slow benchmark inputs.
10054         * scripts/bench.pl: Parse comments and directives.
10056         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10057         in CPPFLAGS.
10058         ($(objpfx)bench-%.c): Remove *-ITER.
10059         * benchtests/bench-modf.c: Remove definition of ITER.
10060         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10061         (main): Loop for DURATION seconds instead of fixed number of
10062         iterations.
10063         * scripts/bench.pl: Don't expect iterations in parameters.
10065 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10067         * io/fchdir.c (__fchdir): Renamed from fchdir.
10068         (fchdir): Define as weak alias.
10070 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10072         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10073         (ERRNO_EDOM): Likewise.
10074         (ERRNO_ERANGE): Likewise.
10075         (noErrnoTests): New variable.
10076         (init_max_error): Set errno to 0.
10077         (test_single_errno): New function.
10078         (test_errno): Likewise.
10079         (check_float_internal): Call test_errno.  Set errno to 0.
10080         (check_complex): Refer to errno tests in comment.
10081         (check_int): Call test_errno.  Set errno to 0.
10082         (check_long): Likewise.
10083         (check_bool): Likewise.
10084         (check_longlong): Likewise.
10085         (cos_test): Use ERRNO_* flags for errno tests instead of
10086         check_int.
10087         (expm1_test): Likewise.
10088         (fmod_test): Likewise.
10089         (ilogb_test): Likewise.
10090         (lgamma_test): Likewise.
10091         (pow_test): Likewise.
10092         (remainder_test): Likewise.
10093         (sin_test): Likewise.
10094         (tan_test): Likewise.
10095         (yn_test): Likewise.
10096         (initialize): Set errno to 0.
10097         (main): Print number of errno tests.
10098         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10100 2013-04-29  Andreas Jaeger  <aj@suse.de>
10102         [BZ #15084]
10103         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10104         and RES_USEVC.
10106         [BZ #15085]
10107         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10108         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10109         unimplemented.
10111         [BZ #15380]
10112         * stdlib/random.c (__initstate): Return NULL if
10113         __initstate fails.
10115         [BZ #15086]
10116         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10117         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10118         RES_SNGLKUPREOP.
10120 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10124 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10126         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10127         of individual tests.
10128         (casin_test): Likewise.
10129         (casinh_test): Likewise.
10131 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10133         [BZ #15409]
10134         * math/s_catan.c (__catan): Handle arguments with large real or
10135         imaginary part separately without squaring.
10136         * math/s_catanf.c (__catanf): Likewise.
10137         * math/s_catanh.c (__catanh): Likewise.
10138         * math/s_catanhf.c (__catanhf): Likewise.
10139         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10140         and redefine.
10141         (__catanhl): Handle arguments with large real or imaginary part
10142         separately without squaring.
10143         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10144         and redefine.
10145         (__catanl): Handle arguments with large real or imaginary part
10146         separately without squaring.
10147         * math/libm-test.inc (catan_test): Add more tests.
10148         (catanh_test): Likewise.
10149         * sysdeps/i386/fpu/libm-test-ulps: Update.
10150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10152 2013-04-27  Andreas Jaeger  <aj@suse.de>
10154         [BZ #15007]
10155         * stdlib/stdlib.h: Update guards for qecvt.
10156         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10157         <stdlib.h>.
10159 2013-04-27  Allan McRae  <allan@archlinux.org>
10161         * sysdeps/i386/fpu/libm-test-ulps: Update.
10163 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10165         [BZ #15406]
10166         * math/s_catan.c: Include <float.h>.
10167         (__catan): Ensure underflow exception occurs for underflowed
10168         result.
10169         * math/s_catanf.c: Include <float.h>.
10170         (__catanf): Ensure underflow exception occurs for underflowed
10171         result.
10172         * math/s_catanh.c: Include <float.h>.
10173         (__catanh): Ensure underflow exception occurs for underflowed
10174         result.
10175         * math/s_catanhf.c: Include <float.h>.
10176         (__catanhf): Ensure underflow exception occurs for underflowed
10177         result.
10178         * math/s_catanhl.c: Include <float.h>.
10179         (__catanhl): Ensure underflow exception occurs for underflowed
10180         result.
10181         * math/s_catanl.c: Include <float.h>.
10182         (__catanl): Ensure underflow exception occurs for underflowed
10183         result.
10184         * math/libm-test.inc (catan_test): Add more tests.
10185         (catanh_test): Likewise.
10187         [BZ #15405]
10188         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10189         underflowed result.
10190         * math/s_ccoshf.c (__ccoshf): Likewise.
10191         * math/s_ccoshl.c (__ccoshl): Likewise.
10192         * math/s_csin.c (__csin): Likewise.
10193         * math/s_csinf.c (__csinf): Likewise.
10194         * math/s_csinh.c (__csinh): Likewise.
10195         * math/s_csinhf.c (__csinhf): Likewise.
10196         * math/s_csinhl.c (__csinhl): Likewise.
10197         * math/s_csinl.c (__csinl): Likewise.
10198         * math/libm-test.inc (ccos_test): Add more tests.
10199         (ccosh_test): Likewise.
10200         (csin_test): Likewise.
10201         (csinh_test): Likewise.
10203 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10205         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10206         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10207         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10208         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10209         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10210         powerpc/power5+/fpu folders.
10211         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10214 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10218 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10220         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10221         additions to variable.
10222         [$(config-machine) = x86_64] (modules-names): Likewise.
10223         ($(objpfx)tst-audit3): Remove dependency.
10224         ($(objpfx)tst-audit3.out): Likewise.
10225         ($(objpfx)tst-audit4): Likewise.
10226         ($(objpfx)tst-audit4.out): Likewise.
10227         ($(objpfx)tst-audit5): Likewise.
10228         ($(objpfx)tst-audit5.out): Likewise.
10229         ($(objpfx)tst-audit6): Likewise.
10230         ($(objpfx)tst-audit6.out): Likewise.
10231         ($(objpfx)tst-audit7): Likewise.
10232         ($(objpfx)tst-audit7.out): Likewise.
10233         (tst-audit3-ENV): Remove variable.
10234         (tst-audit4-ENV): Likewise.
10235         (tst-audit5-ENV): Likewise.
10236         (tst-audit6-ENV): Likewise.
10237         (tst-audit7-ENV): Likewise.
10238         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10239         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10240         addition to variable.
10241         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10242         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10243         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10244         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10245         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10246         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10247         tst-audit3, tst-audit4 and tst-audit5.
10248         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10249         tst-audit6 and tst-audit7.
10250         [$(subdir) = elf] (modules-names): Add audit modules for those
10251         tests.
10252         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10253         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10254         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10255         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10256         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10257         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10258         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10259         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10260         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10261         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10262         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10263         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10264         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10265         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10266         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10267         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10268         Likewise.
10269         [$(subdir) = elf && $(config-cflags-avx) = yes]
10270         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10271         [$(subdir) = elf && $(config-cflags-avx) = yes]
10272         (CFLAGS-tst-auditmod4a.c): Likewise.
10273         [$(subdir) = elf && $(config-cflags-avx) = yes]
10274         (CFLAGS-tst-auditmod4b.c): Likewise.
10275         [$(subdir) = elf && $(config-cflags-avx) = yes]
10276         (CFLAGS-tst-auditmod6b.c): Likewise.
10277         [$(subdir) = elf && $(config-cflags-avx) = yes]
10278         (CFLAGS-tst-auditmod6c.c): Likewise.
10279         [$(subdir) = elf && $(config-cflags-avx) = yes]
10280         (CFLAGS-tst-auditmod7b.c): Likewise.
10281         * elf/tst-audit3.c: Move to ...
10282         * sysdeps/x86_64/tst-audit3.c: ... here.
10283         * elf/tst-audit4.c: Move to ...
10284         * sysdeps/x86_64/tst-audit4.c: ... here.
10285         * elf/tst-audit5.c: Move to ...
10286         * sysdeps/x86_64/tst-audit5.c: ... here.
10287         * elf/tst-audit6.c: Move to ...
10288         * sysdeps/x86_64/tst-audit6.c: ... here.
10289         * elf/tst-audit7.c: Move to ...
10290         * sysdeps/x86_64/tst-audit7.c: ... here.
10291         * elf/tst-auditmod3a.c: Move to ...
10292         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10293         * elf/tst-auditmod3b.c: Move to ...
10294         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10295         * elf/tst-auditmod4a.c: Move to ...
10296         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10297         * elf/tst-auditmod4b.c: Move to ...
10298         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10299         * elf/tst-auditmod5a.c: Move to ...
10300         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10301         * elf/tst-auditmod5b.c: Move to ...
10302         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10303         * elf/tst-auditmod6a.c: Move to ...
10304         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10305         * elf/tst-auditmod6b.c: Move to ...
10306         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10307         * elf/tst-auditmod6c.c: Move to ...
10308         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10309         * elf/tst-auditmod7a.c: Move to ...
10310         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10311         * elf/tst-auditmod7b.c: Move to ...
10312         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10314 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10316         [BZ #15366]
10317         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10318         define unconditionally.
10319         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10320         define unconditionally.
10321         (INT8_C, INT16_C, etc.): Likewise.
10323 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10325         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10326         __ehdr_start with hidden visibility.
10328         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10330 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10332         * math/libm-test.inc (cos_test): Use accurate hex constants.
10333         (sincost_test): Likewise.
10335 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10337         * math/libm-test.inc (catan_test): Add more tests.
10338         (catanh_test): Likewise.
10340         * math/s_catanf.c (__catanf): Use suffixed floating-point
10341         constants.
10342         * math/s_catanhf.c (__catanhf): Likewise.
10343         * math/s_catanhl.c (__catanhl): Likewise.
10344         * math/s_catanl.c (__catanl): Likewise.
10346         [BZ #15394]
10347         * math/s_catan.c (__catan): Calculate imaginary part of result
10348         with log1p not log unless computing log of number close to 0.
10349         * math/s_catanf.c (__catanf): Likewise.
10350         * math/s_catanl.c (__catanl): Likewise.
10351         * math/s_catanh.c (__catanh): Calculate real part of result with
10352         log1p not log unless computing log of number close to 0.
10353         * math/s_catanhf.c (__catanhf): Likewise.
10354         * math/s_catanhl.c (__catanhl): Likewise.
10355         * math/libm-test.inc (catan_test): Add more tests.
10356         (catanh_test): Likewise.
10357         * sysdeps/i386/fpu/libm-test-ulps: Update.
10358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10360 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10362         * benchtests/Makefile: Mention files in which fast and slow
10363         paths of math functions are implemented.
10365 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10367         * sysdeps/posix/timespec_get.c: New file.
10369 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10371         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10372         POWER.
10373         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10374         for POWER.
10375         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10376         powerpc/power5/fpu folders.
10377         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10378         * benchtests/Makefile: Add modf testcase.
10379         * benchtests/bench-modf.c: New file: Benchmark test for mo
10381 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10383         [BZ #14888]
10384         * time/Makefile (tests): Add tst-strptime-whitespace.
10385         * time/strptime_l.c (get_number): Use ISSPACE.
10386         (__strptime_internal): Likewise.
10387         * time/tst-strptime-whitespace.c: New test case.
10389 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10391         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10392         member.
10393         (_nss_files_init): Set it here.
10395 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10397         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10398         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10399         unsigned.
10401 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10403         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10405 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10407         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10408         size just once.
10410 2013-04-21  David S. Miller  <davem@davemloft.net>
10412         * po/ru.po: Update Russion translation from translation project.
10414 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10416         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10417         and setfsgid.
10419 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10421         * configure.in: Remove i386 configure warning. Remove i386 case.
10422         * configure: Regenerate.
10423         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10424         Add example to error message.
10425         * sysdeps/i386/configure: Regenerate.
10427 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10429         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10430         slowtan.
10431         * benchtests/cos-inputs: New file.
10432         * benchtests/slowcos-inputs: New file.
10433         * benchtests/slowcos.c: New file.
10434         * benchtests/slowtan-inputs: New file.
10435         * benchtests/slowtan.c: New file.
10436         * benchtests/tan-inputs: New file.
10438 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10440         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10441         considered kosher.
10443 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10445         * benchtests/Makefile: Include cppflags-iterator.mk to add
10446         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10448         * Makefile.in (bench-clean): New target.
10449         * benchtests/Makefile (bench-clean): Likewise.
10451 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10453         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10455 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10457         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10459 2013-04-15  Andreas Schwab  <schwab@suse.de>
10461         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10462         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10463         * nscd/pwdcache.c (cache_addpw): Likewise.
10464         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10465         more than recsize.
10467 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10469         * benchtests/Makefile (bench): Write all output to
10470         bench-out.tmp together.
10472 2013-04-15  Andreas Schwab  <schwab@suse.de>
10474         * nscd/nscd.c (main): Don't fork again after closing files.
10476 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10478         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10480         * benchtests/Rules (bench-deps): Collect dependencies into a
10481         single variable.  Add Makefile to dependencies.
10482         ($(objpfx)bench-%.c): Depend on bench-deps.
10484 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10485             Xavier Roche  <roche+kml2@exalead.com>
10487         [BZ #15361]
10488         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10489         just that it's a file descriptor.
10490         * manual/llio.texi (Synchronizing AIO Operations): Update description
10491         for EBADF error from aio_fsync.
10493 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10495         * Rules (bench): Move target definition...
10496         * benchtests/Makefile: ... here.
10498 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10500         * math/libm-test.inc (cos_test): Fix PI/2 test.
10501         (sincos_test): Likewise.
10502         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10503         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10505 2013-04-11  Andreas Schwab  <schwab@suse.de>
10507         [BZ #13988]
10508         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10509         accept exponent character only when digits were seen.
10510         * stdio-common/Makefile (tests): Add bug26.
10511         * stdio-common/bug26.c: New file.
10513         [BZ #14293]
10514         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10515         non-freeable.
10517 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10519         * Makeconfig (rtld-prefix): Define built linker prefix.
10520         * Rules (run-bench): Use it.
10521         * math/Makefile (run-regen-ulps): Likewise.
10523         * Rules (bench): Remove eval.
10525 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10526             Roland McGrath  <roland@hack.frob.com>
10527             Ondrej Bilka  <neleai@seznam.cz>
10529         [BZ #15346]
10530         * time/getdate.c: Include ctype.h and alloca.h.
10531         (__getdate_r): Trim leading and trailing spaces of input.
10532         * time/tst-getdate.c (tests): Add tests with leading and
10533         trailing spaces.
10535 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10537         [BZ #14280]
10538         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10539         when computing value.
10541 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10543         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10544         Use testrun.sh to run libm tests.
10546         [BZ #15309]
10547         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10549 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10551         [BZ #15264]
10552         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10554 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10556         * Makefile.in (regen-ulps): New target.
10557         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10558         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10559         [ifneq (no,$(PERL)] (regen-ulps): New target.
10560         [ifeq (no,$(PERL)] (regen-ulps): New target.
10561         * math/libm-test.inc (ulps_file_name): Define.
10562         (output_dir): New variable.
10563         (options): Add "output-dir" option.
10564         (parse_opt): Handle 'o' case.
10565         (main): If output_dir is non-NULL use it as a prefix
10566         otherwise use "".
10567         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10569 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10571         [BZ #10060, #10062]
10572         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10573         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10574         fail configure if __sync_val_compare_and_swap is not inlined.
10575         * sysdeps/i386/configure: Regenerate.
10576         * configure.in: Build for i686 when configured for i386.
10577         * configure: Regenerate.
10578         * README: Remove i386 reference.
10580 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10582         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10583         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10585 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10587         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10588         (lmsnanval): New variables.
10589         (F): Add conversion tests.
10590         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10591         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10593         * stdio-common/tstdiomisc.c (F): Properly collect individual
10594         tests' results.
10596         [BZ #14686, #15336]
10597         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10598         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10599         Instead, use input NaN values or generate a qNaN by arithmetic
10600         operation.  Also fix bugs to comply with the standard.
10601         * math/libm-test.inc (remainder_test): Add more tests.
10603         [BZ #15335, #15342]
10604         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10605         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10606         input NaN values or generate a qNaN by arithmetic operation.
10608         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10609         unreachable code.
10611         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10612         definitions.
10614 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10616         [BZ #14478]
10617         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10618         underflowed result.
10619         * math/s_cexpf.c (__cexpf): Likewise.
10620         * math/s_cexpl.c (__cexpl): Likewise.
10621         * math/libm-test.inc (cexp_test): Add more tests.
10623 2013-04-03  Andreas Schwab  <schwab@suse.de>
10625         [BZ #15330]
10626         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10627         order arrays from heap if bigger than alloca cutoff.
10629 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10631         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10632         (SNAN_TESTS_double): Refer to GCC PR56831.
10633         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10634         GCC PR56828.
10636 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10638         * Rules (bench): Move bench.out after the run is complete.
10640         * Rules (bench): Echo currently running benchmark.
10642         * benchtests/Makefile (bench): Add atan and slowatan.
10643         * benchtests/atan-inputs: New file.
10644         * benchtests/slowatan-inputs: New file.
10645         * benchtests/slowatan.c: New file.
10647         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10648         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10649         its value.
10651         [BZ #15305]
10652         * sysdeps/unix/sysv/linux/kernel-features.h
10653         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10654         __ASSUME_XFS_RESTRICTED_CHOWN.
10655         * sysdeps/unix/sysv/linux/pathconf.c
10656         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10657         Save and restore errno.
10659 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10661         [BZ #15327]
10662         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10663         arguments using __kernel_casinh.
10664         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10665         arguments using __kernel_casinhf.
10666         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10667         arguments using __kernel_casinhl.
10668         * math/libm-test.inc (cacosh_test): Add more tests.
10669         * sysdeps/i386/fpu/libm-test-ulps: Update.
10670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10672 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10674         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10675         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10677         * bench/Makefile (bench): Add sin and slowsin.
10678         * benchtests/sin-inputs: New file.
10679         * benchtests/slowsin-inputs: New file.
10680         * benchtests/slowsin.c: New file.
10682         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10683         (bench): Add slowexp and slowpow.
10684         (exp-ITER): Increase iterations.
10685         (pow-ITER): Likewise.
10686         * benchtests/exp-inputs: Change input.
10687         * benchtests/pow-inputs: Likewise.
10688         * benchtests/slowexp-inputs: New file.
10689         * benchtests/slowexp.c: New file.
10690         * benchtests/slowpow-inputs: New file.
10691         * benchtests/slowpow.c: New file.
10693 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10695         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10696         instructions.
10697         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10698         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10699         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10700         * benchtests/Makefile: Add rint benchtest.
10701         * benchtests/rint-inputs: Input for rint benchtest.
10703 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10705         * Versions.def (libm): Add GLIBC_2.18.
10706         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10707         hidden libm prototypes.
10708         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10709         * math/Makefile (libm-calls): Add s_issignaling.
10710         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10711         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10712         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10713         declaration.
10714         * math/math.h [__USE_GNU] (issignaling): New macro.
10715         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10716         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10717         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10718         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10719         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10720         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10721         * manual/arith.texi (issignaling): New section.
10722         * manual/libm-err-tab.pl (@all_functions): Update comment.
10723         * math/gen-libm-test.pl (parse_args): Apply special handling for
10724         issignaling.
10725         * math/libm-test.inc (print_float, issignaling_test): New
10726         functions.
10727         (check_float_internal): Add issignaling checks.
10728         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10729         default definition.
10730         * sysdeps/powerpc/math-tests.h: New file.
10731         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10732         tests.
10733         * math/test-snan.c (TEST_FUNC): Likewise.
10735 2013-03-30  David S. Miller  <davem@davemloft.net>
10737         * po/de.po: Update from translation team.
10739 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10741         [BZ #10357]
10742         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10743         imaginary part less than 1.0 and real part less than 0.5
10744         specially.
10745         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10746         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10747         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10748         (cacos_test): Add more tests.
10749         (casin_test): Likewise.
10750         (casinh_test): Likewise.
10751         * sysdeps/i386/fpu/libm-test-ulps: Update.
10752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10754 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10756         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10757         ONE with its value.
10759         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10760         (__pow_mp): Replace ONE and MONE with their values.
10761         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10762         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10763         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10764         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10765         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10766         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10768         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10770         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10771         (__pow_mp): Replace ZERO and MZERO with their values.
10772         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10773         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10774         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10775         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10776         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10777         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10778         (__sqr): Likewise.
10780         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10782         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10784 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10786         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10787         Declare with __attribute__ ((weak)).
10788         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10789         Call __call_tls_dtors only if it's not NULL.
10791 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10793         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10794         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10795         magic __ehdr_start linker symbol if it's defined.
10796         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10797         them up here if it was already done.
10799         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10800         (_dl_aux_init): Use const in cast when setting it.
10801         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10802         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10803         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10805         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10806         Declare them here.
10807         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10808         * csu/libc-tls.c: Nor here.
10809         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10811         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10812         (__libc_message): Never call vsyslog.
10814 2013-03-28  Alan Modra  <amodra@gmail.com>
10816         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10817         Define as empty.
10818         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10819         Likewise.
10821 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10823         [BZ #15214]
10824         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10825         underflow.
10826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10828 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10830         [BZ #15304]
10831         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10832         Don't add gid passed as argument.
10834         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10836 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10838         [BZ #15307]
10839         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10840         imaginary part between 1.0 and 1.5 and real part less than 0.5
10841         specially.
10842         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10843         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10844         * math/libm-test.inc (cacos_test): Add more tests.
10845         (casin_test): Likewise.
10846         (casinh_test): Likewise.
10847         * sysdeps/i386/fpu/libm-test-ulps: Update.
10848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10850 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10852         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10853         constants.
10854         (norm): Likewise.
10855         (denorm): Likewise.
10856         (__dbl_mp): Likewise.
10857         (add_magnitudes): Likewise.
10858         (sub_magnitudes): Likewise.
10859         (__add): Likewise.
10860         (__sub): Likewise.
10861         (__mul): Likewise.
10862         (__sqr): Likewise.
10863         (__inv): Likewise.
10864         (__dvd): Likewise.
10866         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10867         commented code.
10868         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10869         (__dubcos): Likewise.
10870         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10871         (__ieee754_acos): Likewise.
10872         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10873         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10874         (__exp1): Likewise.
10875         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10876         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10877         (log1): Likewise.
10878         (my_log2): Likewise.
10879         (checkint): Likewise.
10880         * sysdeps/ieee754/dbl-64/e_remainder.c
10881         (__ieee754_remainder): Likewise.
10882         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10883         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10884         (bsloww): Likewise.
10885         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10887         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10888         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10889         MANTISSA_STORE_T to store computations on mantissa.  Use
10890         macros for rounding and division.
10891         (denorm): Likewise.
10892         (__dbl_mp): Likewise.
10893         (add_magnitudes): Likewise.
10894         (sub_magnitudes): Likewise.
10895         (__mul): Likewise.
10896         (__sqr): Likewise.
10897         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10898         powers of two in terms of TWOPOW macro.
10899         (mp_no): Make type of mantissa as MANTISSA_T.
10900         [!RADIXI]: Define RADIXI.
10901         [!TWO52]: Define TWO52.
10902         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10904 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10906         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10907         llroundl symbol when building for PPC32.
10909 2013-03-24  Mark H Weaver  <mhw@netris.org>
10911         * manual/arith.texi (Normalization Functions): Fix prototypes for
10912         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10914 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10916         [BZ #13889]
10917         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10918         high value to check if expl overflow.
10919         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10920         to check for underflow and overflow.
10921         * math/libm-test.inc: Add exp test.
10923 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10925         [BZ #11120]
10926         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10927         with NOT_IN_libc.
10929 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10931         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10932         symbol.
10934 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10936         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10937         wrap blocks consisting of several statements.
10939         * sysdeps/generic/math-tests.h: New file.
10940         * sysdeps/i386/fpu/math-tests.h: Likewise.
10941         * math/test-snan.c: Include it.
10942         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10944 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10946         [BZ #15285]
10947         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10948         (__ieee754_j0l): Do not improve calculations using cos of twice
10949         input for inputs above LDBL_MAX / 2.0L.
10950         (__ieee754_y0l): Likewise.
10951         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10952         (__ieee754_j1l): Do not improve calculations using cos of twice
10953         input for inputs above LDBL_MAX / 2.0L.
10954         (__ieee754_y1l): Likewise.
10955         * math/libm-test.inc (j0_test): Add another test.
10956         (j1_test): Likewise.
10957         (y0_test): Likewise.
10958         (y1_test): Likewise.
10959         * sysdeps/i386/fpu/libm-test-ulps: Update.
10961 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10963         * Rules ($(objpfx)bench-%.c): Include code from a C source
10964         file.
10966 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10968         [BZ #15287]
10969         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10970         imaginary part 1.0 and real part less than 0.5 specially.
10971         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10972         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10973         * math/libm-test.inc (cacos_test): Add more tests.
10974         (casin_test): Likewise.
10975         (casinh_test): Likewise.
10976         * sysdeps/i386/fpu/libm-test-ulps: Update.
10977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10979 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10981         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10982         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10984 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10986         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10987         * config.make.in (config-cflags-sse4): Remove variable.
10988         (config-cflags-avx): Likewise.
10989         (config-cflags-sse2avx): Likewise.
10990         (config-cflags-novzeroupper): Likewise.
10991         (config-asflags-i686): Likewise.
10992         (have-mfma4): Likewise.
10993         (have-as-vis3): Likewise.
10994         (MIG): Likewise.
10995         * configure.in (MIG): Do not AC_SUBST.
10996         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10997         (libc_cv_cc_sse4): Do not AC_SUBST.
10998         (libc_cv_cc_avx): Likewise.
10999         (libc_cv_cc_sse2avx): Likewise.
11000         (libc_cv_cc_novzeroupper): Likewise.
11001         (libc_cv_cc_fma4): Likewise.
11002         (libc_cv_as_i686): Likewise.
11003         (libc_cv_sparc_as_vis3): Likewise.
11004         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11005         LIBC_CONFIG_VAR.
11006         (config-asflags-i686): Likewise.
11007         (config-cflags-avx): Likewise.
11008         (config-cflags-sse2avx): Likewise.
11009         (have-mfma4): Likewise.
11010         (config-cflags-novzeroupper): Likewise.
11011         * sysdeps/mach/configure.in (MIG): Likewise.
11012         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11013         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11014         LIBC_CONFIG_VAR.
11015         (config-cflags-avx): Likewise.
11016         (config-cflags-sse2avx): Likewise.
11017         (have-mfma4): Likewise.
11018         (config-cflags-novzeroupper): Likewise.
11019         * configure: Regenerated.
11020         * sysdeps/i386/configure: Likewise.
11021         * sysdeps/mach/configure: Likewise.
11022         * sysdeps/sparc/configure: Likewise.
11023         * sysdeps/x86_64/configure: Likewise.
11025 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11027         [BZ #14812]
11028         * locale/programs/localedef.c (options): Put N_ translation marker
11029         on argument names, not just descriptions.
11031 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11033         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11035 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11037         [BZ #14176]
11038         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11040 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11042         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11043         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11044         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11045         [!BEFORE_ABORT] (before_abort): New function.
11046         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11047         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11048         (writev_for_fatal): New function.
11049         (WRITEV_FOR_FATAL): New macro; call that.
11050         (backtrace_and_maps): New function.
11051         (BEFORE_ABORT): New macro; call that.
11052         (struct str_list): Type removed.
11053         (__libc_message, __libc_fatal): Functions removed.
11054         Include <sysdeps/posix/libc_fatal.c> instead.
11056 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11058         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11059         constants.
11060         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11061         double constants.
11063 2013-03-19  Andreas Schwab  <schwab@suse.de>
11065         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11066         * sysdeps/gnu/configure: Regenerate.
11068         * configure.in: Substitute libc_cv_rtlddir.
11069         * configure: Regenerate.
11070         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11071         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11072         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11073         * elf/Makefile (install-others, CFLAGS-interp.c)
11074         (ldso_install, common-ldd-rewrite): Likewise.
11075         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11076         $(inst_slibdir)/$(rtld-installed-name).
11077         * scripts/rellns-sh: Add -p option.
11078         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11079         for source.
11081 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11083         * manual/nptl.texi: Renamed to ...
11084         * manual/threads.texi: ... this.
11085         * manual/Makefile (chapters): Update.
11087 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11089         [BZ #14812]
11090         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11091         on argument names, not just descriptions.
11092         * malloc/memusagestat.c (options): Likewise.
11093         * nss/getent.c (options): Likewise.
11095 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11097         [BZ #14812]
11098         * iconv/iconv_prog.c (options): Put N_ translation marker
11099         on argument names, not just descriptions.
11100         * iconv/iconvconfig.c (options): Likewise.
11102 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11104         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11105         implementation which is faster on all x86_64 architectures.
11106         Tested on AMD, Intel Nehalem, SNB, IVB.
11107         * sysdeps/x86_64/strnlen.S: Likewise.
11109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11110         Remove all multiarch strlen and strnlen versions.
11111         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11112         Remove strlen and strnlen related parts.
11114         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11115         Inline strlen part.
11116         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11118         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11119         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11120         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11121         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11122         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11123         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11125 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11127         * manual/memory.texi (Malloc Tunable Parameters):
11128         Sort parameters alphabetically. Add comments for missing entries.
11130 2013-03-17  David S. Miller  <davem@davemloft.net>
11132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11134 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11136         [BZ #15283]
11137         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11138         for arguments at most half maximum finite value.
11139         * math/libm-test.inc (j0_test): Add more tests.
11140         (j1_test): Likewise.
11141         (y0_test): Likewise.
11142         (y1_test): Likewise.
11143         * sysdeps/i386/fpu/libm-test-ulps: Update.
11144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11146         [BZ #14155]
11147         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11148         1 / x and functions P and Q for arguments above 0x1p256L.
11149         (__ieee754_y0l): Likewise.
11150         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11151         (__ieee754_y1l): Likewise.
11152         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11153         (j1_test): Likewise.
11154         (y0_test): Likewise.
11155         (y1_test): Likewise.
11157 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11159         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11160         variable.
11162 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11164         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11165         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11166         zero since it's initialized to EXEC_PAGESIZE.
11168         * sysdeps/unix/sysv/linux/ldsodefs.h
11169         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11170         * sysdeps/generic/ldsodefs.h: ... here.
11172 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11174         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11176         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11177         math/test-snan.c.
11178         * math/test-snan.c: Renamed from
11179         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11180         * math/Makefile (tests): Add test-snan.
11181         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11182         test-powerpc-snan.
11184         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11185         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11186         functions.
11187         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11188         __builtin_nan family of functions.
11189         * math/libm-test.inc (initialize): Initialize qnan_value with
11190         __builtin_nan family of functions.
11191         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11192         Remove variables.
11193         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11194         Remove functions.
11195         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11196         storage class.  Initialize qNaN_var and sNaN_var with
11197         __builtin_nan and __builtin_nans families of functions,
11198         respectively.
11200         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11201         (sqrt_test): Remove duplicate test with qNaN input.
11202         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11203         (round_test, signbit_test, significand_test): Note missing +/-Inf
11204         as well as qNaN tests.
11206         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11207         qNaN_var.  Fix a few strings, too.
11208         * math/libm-test.inc (nan_value): Rename to qnan_value.
11209         * math/gen-libm-test.pl (%beautify): Adjust to that.
11210         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11211         * math/test-misc.c (main): Likewise.
11212         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11213         to __qnan_bytes, and __qnan_union, respectively.
11214         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11215         Likewise.
11216         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11217         and lqnanval, respectively.
11218         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11219         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11220         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11221         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11223         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11224         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11225         doubles.
11227         * math/test-misc.c (main): Fix copy'n'pastos.
11228         * misc/tst-efgcvt.c (special): Likewise.
11230         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11231         Remove declarations.
11233 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11235         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11236         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11237         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11238         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11240 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11242         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11243         macro to return vdso values correctly in IFUNC implementations.
11244         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11245         Optimization by using IFUNC.
11247 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11248             Richard Henderson  <rth@redhat.com>
11249             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11251         * Makefile.in (bench): New target.
11252         * NEWS: Mention the benchmark framework.
11253         * Rules (bench): Likewise.
11254         (binaries-bench): Generate binaries for functions to
11255         benchmark.
11256         * benchtests/Makefile: New makefile for benchmark tests.
11257         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11258         programs.
11259         * benchtests/exp-inputs: New input file for EXP function.
11260         * benchtests/pow-inputs: New input file for POW function.
11261         * scripts/bench.pl: New script to generate source files for
11262         benchmark programs.
11264 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11266         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11267         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11268         computations on mantissa.  Use macros for rounding and
11269         division.
11270         (denorm): Likewise.
11271         (__dbl_mp): Likewise.
11272         (add_magnitudes): Likewise.
11273         (sub_magnitudes): Likewise.
11274         (__mul): Likewise.
11275         (__sqr): Likewise.
11276         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11277         powers of two in terms of TWOPOW macro.
11278         (mp_no): Make type of mantissa as MANTISSA_T.
11279         [!RADIXI]: Define RADIXI.
11280         [!TWO52]: Define TWO52.
11281         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11283         * manual/nptl.texi (cindex): Modify threads to pthreads.
11285 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11287         * sysdeps/x86_64/preconfigure: Regenerated.
11289 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11291         [BZ #14155]
11292         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11293         0x1p28 and above.
11294         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11295         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11296         0x1p28 and above.
11297         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11298         * math/libm-test.inc (j0_test): Do not allow one spurious
11299         underflow exception.
11300         (y1_test): Likewise.
11302 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11304         * manual/Makefile (chapters): Add nptl.
11305         * manual/debug.texi (Debugging Support): Add link to Threads
11306         chapter.
11307         * manual/nptl.texi: New file.
11309         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11311 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11313         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11314         for non-NULL pointer before the memory validity test. Pointed
11315         out by Holger Brunck <holger.brunck@keymile.com>.
11317 2013-03-13  Andreas Schwab  <schwab@suse.de>
11319         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11320         instead of .os.
11322 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11324         * timezone/zic.c: Update from tzcode 2013b.
11326 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11328         * manual/install.texi (Configuring and compiling):
11329         Mention i686 and i586.
11330         * INSTALL: Regenerate.
11332 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11334         * sysdeps/init_array/elf-init.c: New file.
11335         * csu/elf-init.c
11336         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11337         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11339         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11340         __gmon_start__ as global, but as static with a .preinit_array pointer.
11341         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11342         * sysdeps/init_array/crti.S: New file, empty except for comments.
11343         * sysdeps/init_array/crtn.S: Likewise.
11345 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11347         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11348         definining bcopy.
11349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11350         Remove Prefer_SSE_for_memop.
11351         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11352         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11353         HAS_PREFER_SSE_FOR_MEMOP.
11354         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11355         memset-x86-64.
11356         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11357         Remove bzero, memset ifunc support.
11358         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11359         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11360         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11361         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11363 2013-03-11  Andreas Schwab  <schwab@suse.de>
11365         [BZ #15234]
11366         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11367         by SHLIB_COMPAT.
11368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11369         (GLIBC_2.16): Remove pthread_atfork.
11371 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11373         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11374         (ptestcases.h): Likewise.
11376 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11378         * Makeconfig ($(common-objpfx)config.status): Depend on
11379         sysdeps/*/preconfigure{,.in} too.
11381 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11383         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11384         (__free_hook): Use void * instead of __malloc_ptr_t.
11385         (__malloc_hook): Likewise.
11386         (__realloc_hook): Likewise.
11387         (__memalign_hook): Likewise.
11388         (__after_morecore_hook): Likewise.
11389         * malloc/arena.c (save_malloc_hook): Likewise.
11390         (save_free_hook): Likewise.
11391         * malloc/hooks.c (malloc_hook_ini): Likewise.
11392         (realloc_hook_ini): Likewise.
11393         (memalign_hook_ini): Likewise.
11394         * malloc/malloc.c (malloc_hook_ini): Likewise.
11395         (realloc_hook_ini): Likewise.
11396         (memalign_hook_ini): Likewise.
11397         (__free_hook): Likewise.
11398         (__malloc_hook): Likewise.
11399         (__realloc_hook): Likewise.
11400         (__memalign_hook): Likewise.
11401         (__libc_malloc): Likewise.
11402         (__libc_free): Likewise.
11403         (__libc_realloc): Likewise.
11404         (__libc_memalign): Likewise.
11405         (__libc_valloc): Likewise.
11406         (__libc_pvalloc): Likewise.
11407         (__libc_calloc): Likewise.
11408         (__posix_memalign): Likewise.
11409         * malloc/morecore.c (__sbrk): Likewise.
11410         (__default_morecore): Likewise.
11412         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11414         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11415         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11416         __malloc_ptrdiff_t.
11418         * malloc/malloc.h (__malloc_size_t): Remove macro.
11419         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11420         __malloc_size_t.
11421         (old_memalign_hook): Likewise.
11422         (old_realloc_hook): Likewise.
11423         (struct hdr): Likewise.
11424         (flood): Likewise.
11425         (mallochook): Likewise.
11426         (memalignhook): Likewise.
11427         (reallochook): Likewise.
11428         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11429         (tr_old_realloc_hook): Likewise.
11430         (tr_old_memalign_hook): Likewise.
11431         (tr_mallochook): Likewise.
11432         (tr_reallochook): Likewise.
11433         (tr_memalignhook): Likewise.
11435 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11437         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11438         default_ldbl_pack and using as default implementation.
11439         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11440         implementation.
11441         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11442         redundant definition.
11443         (ldbl_insert_mantissa): Likewise.
11444         (ldbl_canonicalize): Likewise.
11445         (ldbl_nearbyint): Likewise.
11446         (ldbl_pack): Rename to ldbl_pack_ppc.
11447         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11448         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11449         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11451 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11454         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11455         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11456         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11457         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11458         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11459         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11460         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11462 2013-03-07  Andreas Jaeger  <aj@suse.de>
11464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11465         bits/mman-linux.h.
11467 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11469         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11470         Include mpa.h and declare __MPEXP.
11471         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11472         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11473         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11474         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11475         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11476         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11477         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11479         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11480         (__slowpow): Use long double EXPL and LOGL functions to
11481         compute POW.
11482         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11483         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11484         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11485         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11486         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11487         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11490         intermediate variable to calculate exponent.
11491         (__sqr): Likewise.
11492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11493         Likewise.
11494         (__sqr): Likewise.
11496         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11497         [!NO__SQR]: Define __sqr.
11498         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11499         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11500         sysdeps/ieee754/dbl-64/mpa.c.
11501         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11503         [BZ #12723]
11504         * posix/Makefile (tests): Add tst-pathconf.
11505         * posix/tst-pathconf.c: New test case.
11506         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11507         _PC_PIPE_BUF.
11508         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11510 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11512         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11514 2013-03-06  Andreas Jaeger  <aj@suse.de>
11516         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11517         definition via __MAP_ANONYMOUS.
11519         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11520         it's not part of Linux headers.
11522         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11523         (MAP_HUGE_MASK): Define.
11525         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11526         Define.
11527         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11528         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11529         Define.
11530         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11531         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11532         Define.
11533         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11534         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11535         Define.
11536         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11538         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11539         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11540         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11541         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11542         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11543         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11545         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11546         Handle f2fs.
11548         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11549         Handle f2fs and efivarfs.
11551         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11552         f2fs.
11554         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11555         (EFIVARFS_MAGIC): Add.
11556         (F2FS_LINK_MAX): Add.
11558 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11560         * stdio-common/vfprintf.c: Replace __builtin_expect with
11561         __glibc_unlikely.
11563 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11565         [BZ #13550]
11566         * sysdeps/generic/bp-sym.h: Remove file.
11567         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11568         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11569         <bp-sym.h> and <bp-asm.h>.
11570         (__longjmp): Don't use BP_SYM.
11571         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11572         and <bp-asm.h>.
11573         (memcpy): Don't use BP_SYM.
11574         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11575         <bp-sym.h> and <bp-asm.h>.
11576         (memcpy): Don't use BP_SYM.
11577         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11578         <bp-asm.h>.
11579         (memcpy): Don't use BP_SYM.
11580         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11581         <bp-asm.h>.
11582         (memset): Don't use BP_SYM.
11583         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11584         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11585         (__bzero): Don't use BP_SYM.
11586         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11587         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11588         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11589         <bp-sym.h> and <bp-asm.h>.
11590         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11591         pointers.
11592         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11593         <bp-sym.h> and <bp-asm.h>.
11594         (memcpy): Don't use BP_SYM.
11595         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11596         <bp-sym.h> and <bp-asm.h>.
11597         (memset): Don't use BP_SYM.
11598         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11599         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11600         (__bzero): Don't use BP_SYM.
11601         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11602         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11603         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11604         <bp-sym.h> and <bp-asm.h>.
11605         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11606         pointers.
11607         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11608         <bp-sym.h> and <bp-asm.h>.
11609         (memcpy): Don't use BP_SYM.
11610         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11611         <bp-sym.h> and <bp-asm.h>.
11612         (memset): Don't use BP_SYM.
11613         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11614         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11615         (__bzero): Don't use BP_SYM.
11616         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11617         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11618         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11619         <bp-sym.h> and <bp-asm.h>.
11620         (__memchr): Don't use BP_SYM.
11621         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11622         <bp-sym.h> and <bp-asm.h>.
11623         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11624         pointers.
11625         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11626         <bp-sym.h> and <bp-asm.h>.
11627         (memcpy): Don't use BP_SYM.
11628         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11629         <bp-sym.h> and <bp-asm.h>.
11630         (__mempcpy): Don't use BP_SYM.
11631         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11632         <bp-sym.h> and <bp-asm.h>.
11633         (__memrchr): Don't use BP_SYM.
11634         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11635         <bp-sym.h> and <bp-asm.h>.
11636         (memset): Don't use BP_SYM.
11637         (__bzero): Likewise.
11638         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11639         <bp-sym.h> and <bp-asm.h>.
11640         (__rawmemchr): Don't use BP_SYM.
11641         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11642         <bp-sym.h> and <bp-asm.h>.
11643         (__STRCMP): Don't use BP_SYM.
11644         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11645         <bp-sym.h> and <bp-asm.h>.
11646         (strchr): Don't use BP_SYM.
11647         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11648         <bp-sym.h> and <bp-asm.h>.
11649         (__strchrnul): Don't use BP_SYM.
11650         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11651         <bp-sym.h> and <bp-asm.h>.
11652         (strlen): Don't use BP_SYM.
11653         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11654         <bp-sym.h> and <bp-asm.h>.
11655         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11656         pointers.
11657         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11658         <bp-sym.h> and <bp-asm.h>.
11659         (__strnlen): Don't use BP_SYM.
11660         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11661         <bp-sym.h> and <bp-asm.h>.
11662         (__GI__setjmp): Don't use BP_SYM.
11663         (_setjmp): Likewise.
11664         (__sigsetjmp): Likewise.
11665         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11666         (L(start_addresses)): Don't use BP_SYM.
11667         (_start): Likewise.
11668         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11669         <bp-asm.h>.
11670         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11671         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11672         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11673         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11674         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11675         <bp-asm.h>.
11676         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11677         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11678         about bounded pointers.
11679         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11680         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11681         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11682         <bp-asm.h>.
11683         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11684         about bounded pointers.  Remove GKM FIXME comments.
11685         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11686         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11687         <bp-asm.h>.
11688         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11689         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11690         Remove GKM FIXME comments.
11691         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11692         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11693         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11694         <bp-asm.h>.
11695         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11696         about bounded pointers.  Remove GKM FIXME comment.
11697         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11698         and <bp-asm.h>.
11699         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11700         pointers.
11701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11702         <bp-sym.h> and <bp-asm.h>.
11703         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11705         <bp-sym.h> and <bp-asm.h>.
11706         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11707         comment.
11709 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11711         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11712         call free(NULL).
11714 2013-03-05  David S. Miller  <davem@davemloft.net>
11716         * po/es.po: Update from translation team.
11718 2013-03-05  Andreas Jaeger  <aj@suse.de>
11720         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11721         <bits/mman-linux.h>.
11722         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11723         is fine.
11724         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11725         <bits/mman-linux.h> to end of file.
11726         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11727         is fine.
11728         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11729         <bits/mman-linux.h> to end of file.
11730         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11731         is fine.
11732         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11733         <bits/mman-linux.h> to end of file.
11735         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11736         (MCL_CURRENT, MCL_FUTURE): Define here.
11738 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11740         [BZ #15232]
11741         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11742         attribute_hidden.
11743         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11745 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11747         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11748         fourth parameter needed for rt_sigprocmask syscall.
11749         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11750         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11751         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11752         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11753         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11754         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11756 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11758         [BZ #13550]
11759         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11760         comment about bounded pointers.
11761         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11762         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11764 2013-03-04  Andreas Jaeger  <aj@suse.de>
11766         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11767         common definitions.
11769         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11770         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11771         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11772         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11773         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11774         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11776 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11778         [BZ #15055]
11779         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11780         __ieee754_sqrl instead of __sqrl.
11782 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11784         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11785         * sysdeps/powerpc/fpu_control.h: ... here.
11786         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11787         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11788         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11789         * sysdeps/powerpc/bits/mathinline.h: ... here.
11791 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11793         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11794         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11795         to just [NEED_DL_SYSINFO_DSO].
11796         * elf/dl-support.c: Likewise.
11797         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11798         * elf/rtld.c (dl_main): Likewise.
11799         * elf/setup-vdso.h (setup_vdso): Likewise.
11800         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11801         * sysdeps/unix/sysv/linux/dl-sysdep.c
11802         (_dl_discover_osversion): Likewise.
11804 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11806         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11807         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11809 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11811         * NEWS: Mention libm performance improvements and non-x86 PI
11812         futex support.
11814         * csu/libc-start.c (__pthread_initialize_minimal): Change
11815         function arguments.
11816         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11818 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11820         [BZ #13550]
11821         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11822         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11823         <bp-sym.h> and <bp-asm.h>.
11824         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11825         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11826         and <bp-asm.h>.
11827         (memcpy): Don't use BP_SYM.
11828         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11829         <bp-asm.h>.
11830         (__mpn_add_n): Don't use BP_SYM.
11831         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11832         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11833         and <bp-asm.h>.
11834         (__mpn_addmul_1): Don't use BP_SYM.
11835         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11836         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11837         <bp-sym.h>.
11838         (_setjmp): Don't use BP_SYM.
11839         (__novmx_setjmp): Likewise.
11840         (__GI__setjmp): Likewise.
11841         (__vmx_setjmp): Likewise.
11842         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11843         <bp-sym.h>.
11844         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11845         (__bzero): Don't use BP_SYM.
11846         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11847         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11848         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11849         <bp-sym.h> and <bp-asm.h>.
11850         (memcpy): Don't use BP_SYM.
11851         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11852         <bp-sym.h> and <bp-asm.h>.
11853         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11854         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11855         <bp-sym.h> and <bp-asm.h>.
11856         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11857         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11858         <bp-asm.h>.
11859         (__mpn_lshift): Don't use BP_SYM.
11860         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11861         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11862         <bp-asm.h>.
11863         (memset): Don't use BP_SYM.
11864         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11865         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11866         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11867         <bp-asm.h>.
11868         (__mpn_mul_1): Don't use BP_SYM.
11869         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11870         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11871         <bp-sym.h> and <bp-asm.h>.
11872         (memcmp): Don't use BP_SYM.
11873         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11874         <bp-sym.h> and <bp-asm.h>.
11875         (memcpy): Don't use BP_SYM.
11876         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11877         <bp-sym.h> and <bp-asm.h>.
11878         (memset): Don't use BP_SYM.
11879         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11880         <bp-sym.h> and <bp-asm.h>.
11881         (strncmp): Don't use BP_SYM.
11882         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11883         <bp-sym.h> and <bp-asm.h>.
11884         (memcpy): Don't use BP_SYM.
11885         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11886         <bp-sym.h> and <bp-asm.h>.
11887         (memset): Don't use BP_SYM.
11888         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11889         <bp-sym.h> and <bp-asm.h>.
11890         (__memchr): Don't use BP_SYM.
11891         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11892         <bp-sym.h> and <bp-asm.h>.
11893         (memcmp): Don't use BP_SYM.
11894         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11895         <bp-sym.h> and <bp-asm.h>.
11896         (memcpy): Don't use BP_SYM.
11897         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11898         <bp-sym.h> and <bp-asm.h>.
11899         (__mempcpy): Don't use BP_SYM.
11900         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11901         <bp-sym.h> and <bp-asm.h>.
11902         (__memrchr): Don't use BP_SYM.
11903         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11904         <bp-sym.h> and <bp-asm.h>.
11905         (memset): Don't use BP_SYM.
11906         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11907         <bp-sym.h> and <bp-asm.h>.
11908         (__rawmemchr): Don't use BP_SYM.
11909         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11910         <bp-sym.h> and <bp-asm.h>.
11911         (__STRCMP): Don't use BP_SYM.
11912         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11913         <bp-sym.h> and <bp-asm.h>.
11914         (strchr): Don't use BP_SYM.
11915         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11916         <bp-sym.h> and <bp-asm.h>.
11917         (__strchrnul): Don't use BP_SYM.
11918         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11919         <bp-sym.h> and <bp-asm.h>.
11920         (strlen): Don't use BP_SYM.
11921         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11922         <bp-sym.h> and <bp-asm.h>.
11923         (strncmp): Don't use BP_SYM.
11924         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11925         <bp-sym.h> and <bp-asm.h>.
11926         (__strnlen): Don't use BP_SYM.
11927         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11928         <bp-asm.h>.
11929         (__mpn_rshift): Don't use BP_SYM.
11930         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11931         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11932         <bp-sym.h> and <bp-asm.h>.
11933         (__sigsetjmp): Don't use BP_SYM.
11934         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11935         (L(start_addresses)): Don't use BP_SYM.
11936         (_start): Likewise.
11937         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11938         <bp-asm.h>.
11939         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11940         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11941         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11942         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11943         <bp-asm.h>.
11944         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11945         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11946         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11947         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11948         <bp-asm.h>.
11949         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11950         comments.
11951         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11952         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11953         <bp-asm.h>.
11954         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11955         FIXME comments.
11956         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11957         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11958         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11959         <bp-asm.h>.
11960         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11961         comment.
11962         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11963         and <bp-asm.h>.
11964         (strncmp): Don't use BP_SYM,
11965         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11966         <bp-asm.h>.
11967         (__mpn_sub_n): Don't use BP_SYM.
11968         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11969         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11970         and <bp-asm.h>.
11971         (__mpn_submul_1): Don't use BP_SYM.
11972         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11974         <bp-sym.h> and <bp-asm.h>.
11975         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11977         <bp-sym.h> and <bp-asm.h>.
11978         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11979         comment.
11981 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11983         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11984         Use ZK to minimize writes to Z.
11985         (sub_magnitudes): Simplify code a bit.
11986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11987         Use ZK to minimize writes to Z.
11988         (sub_magnitudes): Simplify code a bit.
11990 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11992         * csu/gmon-start.c: Add special exception to license text.
11994 2013-02-27  Richard Henderson  <rth@redhat.com>
11996         * scripts/config.guess: Update from config.git.
11997         * scripts/config.sub: Likewise.
11999 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12001         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12003         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12005         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12007         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12009         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12011 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12013         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12014         [$(build-shared = yes].
12016 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12018         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12019         (__mul): Reduce iterations for calculating mantissa.
12021         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12022         MPTWO.
12023         (__mpranred): Likewise.
12025         [BZ #15160]
12026         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12027         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12029 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12031         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12032         Define __attribute__.
12034 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12036         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12037         unused.
12038         * posix/regex_internal.h (__attribute): Remove.
12039         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12040         (re_string_context_at): Likewise.
12041         (bitset_not): Use __attribute__ and mark function as possibly
12042         unused.
12043         (bitset_merge): Likewise.
12044         (bitset_mask): Likewise.
12045         (re_string_char_size_at): Likewise.
12046         (re_string_wchar_at): Likewise.
12047         (re_string_elem_size_at): Likewise.
12049 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12051         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12052         code.
12053         (cc32): Likewise.
12055         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12056         (__acr): Likewise.
12057         (__cpy): Likewise.
12058         (norm): Likewise.
12059         (denorm): Likewise.
12060         (__dbl_mp): Likewise.
12061         (add_magnitudes): Likewise.
12062         (sub_magnitudes): Likewise.
12063         (__mul): Likewise.
12064         (__inv): Likewise.
12066         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12067         style.
12069         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12070         style.
12072         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12073         code.
12075         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12076         up changes with default code.
12077         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12078         Likewise.
12080 2013-02-24  Allan McRae  <allan@archlinux.org>
12082         * manual/socket.texi (The Internet Namespace): Order menu items
12083         to match that in the file.
12085         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12086         node listing of the info page menu.
12088 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12090         [BZ #13550]
12091         * sysdeps/i386/bp-asm.h: Remove file.
12092         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12093         (PARMS): Do not use macros from bp-asm.h.
12094         (S1): Likewise.
12095         (S2): Likewise.
12096         (SIZE): Likewise.
12097         (__mpn_add_n): Do not use BP_SYM
12098         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12099         "bp-asm.h".
12100         (PARMS): Do not use macros from bp-asm.h.
12101         (S1): Likewise.
12102         (SIZE): Likewise.
12103         (__mpn_addmul_1): Do not use BP_SYM
12104         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12105         "bp-asm.h".
12106         (PARMS): Do not use macros from bp-asm.h.
12107         (SIGMSK): Likewise.
12108         (_setjmp): Likewise.  Do not use BP_SYM.
12109         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12110         "bp-asm.h".
12111         (PARMS): Do not use macros from bp-asm.h.
12112         (SIGMSK): Likewise.
12113         (setjmp): Likewise.  Do not use BP_SYM.
12114         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12115         "bp-asm.h".
12116         (PARMS): Do not use macros from bp-asm.h.
12117         (__frexp): Do not use BP_SYM.
12118         (frexp): Likewise.
12119         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12120         "bp-asm.h".
12121         (PARMS): Do not use macros from bp-asm.h.
12122         (__frexpf): Do not use BP_SYM.
12123         (frexpf): Likewise.
12124         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12125         "bp-asm.h".
12126         (PARMS): Do not use macros from bp-asm.h.
12127         (__frexpl): Do not use BP_SYM.
12128         (frexpl): Likewise.
12129         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12130         "bp-asm.h".
12131         (PARMS): Do not use macros from bp-asm.h.
12132         (__remquo): Do not use BP_SYM.
12133         (remquo): Likewise.
12134         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12135         "bp-asm.h".
12136         (PARMS): Do not use macros from bp-asm.h.
12137         (__remquof): Do not use BP_SYM.
12138         (remquof): Likewise.
12139         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12140         "bp-asm.h".
12141         (PARMS): Do not use macros from bp-asm.h.
12142         (__remquol): Do not use BP_SYM.
12143         (remquol): Likewise.
12144         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12145         "bp-asm.h".
12146         (PARMS): Do not use macros from bp-asm.h.
12147         (DEST): Likewise.
12148         (SRC): Likewise.
12149         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12150         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12151         "bp-asm.h".
12152         (PARMS): Do not use macros from bp-asm.h.
12153         (strlen): Do not use BP_SYM.
12154         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12155         "bp-asm.h".
12156         (PARMS): Do not use macros from bp-asm.h.
12157         (S1): Likewise.
12158         (S2): Likewise.
12159         (SIZE): Likewise.
12160         (__mpn_add_n): Do not use BP_SYM.
12161         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12162         "bp-asm.h".
12163         (PARMS): Do not use macros from bp-asm.h.
12164         (S1): Likewise.
12165         (SIZE): Likewise.
12166         (__mpn_addmul_1): Do not use BP_SYM.
12167         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12168         weak_alias.
12169         (bzero): Likewise.
12170         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12171         "bp-asm.h".
12172         (PARMS): Do not use macros from bp-asm.h.
12173         (S): Likewise.
12174         (SIZE): Likewise.
12175         (__mpn_lshift): Do not use BP_SYM.
12176         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12177         "bp-asm.h".
12178         (PARMS): Do not use macros from bp-asm.h.
12179         (DEST): Likewise.
12180         (SRC): Likewise.
12181         (LEN): Likewise.
12182         (memcpy): Likewise.  Do not use BP_SYM.
12183         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12184         libc_hidden_def and weak_alias.
12185         (mempcpy): Do not use BP_SYM in weak_alias.
12186         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12187         "bp-asm.h".
12188         (PARMS): Do not use macros from bp-asm.h.
12189         (DEST): Likewise.
12190         (LEN): Likewise.
12191         [!BZERO_P] (CHR): Likewise.
12192         (memset): Likewise.  Do not use BP_SYM.
12193         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12194         "bp-asm.h".
12195         (PARMS): Do not use macros from bp-asm.h.
12196         (S1): Likewise.
12197         (SIZE): Likewise.
12198         (__mpn_mul_1): Do not use BP_SYM.
12199         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12200         "bp-asm.h".
12201         (PARMS): Do not use macros from bp-asm.h.
12202         (S): Likewise.
12203         (SIZE): Likewise.
12204         (__mpn_rshift): Do not use BP_SYM.
12205         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12206         "bp-asm.h".
12207         (PARMS): Do not use macros from bp-asm.h.
12208         (STR): Likewise.
12209         (CHR): Likewise.
12210         (strchr): Likewise.  Do not use BP_SYM.
12211         (index): Do not use BP_SYM in weak_alias.
12212         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12213         "bp-asm.h".
12214         (PARMS): Do not use macros from bp-asm.h.
12215         (DEST): Likewise.
12216         (SRC): Likewise.
12217         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12218         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12219         "bp-asm.h".
12220         (PARMS): Do not use macros from bp-asm.h.
12221         (strlen): Do not use BP_SYM.
12222         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12223         "bp-asm.h".
12224         (PARMS): Do not use macros from bp-asm.h.
12225         (S1): Likewise.
12226         (S2): Likewise.
12227         (SIZE): Likewise.
12228         (__mpn_sub_n): Do not use BP_SYM.
12229         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12230         "bp-asm.h".
12231         (PARMS): Do not use macros from bp-asm.h.
12232         (S1): Likewise.
12233         (SIZE): Likewise.
12234         (__mpn_submul_1): Do not use BP_SYM.
12235         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12236         "bp-asm.h".
12237         (PARMS): Do not use macros from bp-asm.h.
12238         (S1): Likewise.
12239         (S2): Likewise.
12240         (SIZE): Likewise.
12241         (__mpn_add_n): Do not use BP_SYM.
12242         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12243         weak_alias.
12244         (bzero): Likewise.
12245         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12246         "bp-asm.h".
12247         (PARMS): Do not use macros from bp-asm.h.
12248         (BLK2): Likewise.
12249         (LEN): Likewise.
12250         (memcmp): Do not use BP_SYM.
12251         (bcmp): Do not use BP_SYM in weak_alias.
12252         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12253         "bp-asm.h".
12254         (PARMS): Do not use macros from bp-asm.h.
12255         (DEST): Likewise.
12256         (SRC): Likewise.
12257         (LEN): Likewise.
12258         (memcpy): Likewise.  Do not use BP_SYM.
12259         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12260         "bp-asm.h".
12261         (PARMS): Do not use macros from bp-asm.h.
12262         (DEST): Likewise.
12263         (SRC): Likewise.
12264         (LEN): Likewise.
12265         (memmove): Likewise.  Do not use BP_SYM.
12266         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12267         "bp-asm.h".
12268         (PARMS): Do not use macros from bp-asm.h.
12269         (DEST): Likewise.
12270         (SRC): Likewise.
12271         (LEN): Likewise.
12272         (__mempcpy): Likewise.  Do not use BP_SYM.
12273         (mempcpy): Do not use BP_SYM in weak_alias.
12274         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12275         "bp-asm.h".
12276         (PARMS): Do not use macros from bp-asm.h.
12277         (DEST): Likewise.
12278         (LEN): Likewise.
12279         [!BZERO_P] (CHR): Likewise.
12280         (memset): Likewise.  Do not use BP_SYM.
12281         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12282         "bp-asm.h".
12283         (PARMS): Do not use macros from bp-asm.h.
12284         (STR2): Likewise.
12285         (strcmp): Do not use BP_SYM.
12286         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12287         "bp-asm.h".
12288         (PARMS): Do not use macros from bp-asm.h.
12289         (STR): Likewise.
12290         (DELIM): Likewise.
12291         [USE_AS_STRTOK_R] (SAVE): Likewise.
12292         (FUNCTION): Likewise.  Do not use BP_SYM.
12293         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12294         aliases.
12295         (strtok_r): Likewise.
12296         (__GI___strtok_r): Likewise.
12297         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12298         (PARMS): Do not use macros from bp-asm.h.
12299         (S): Likewise.
12300         (SIZE): Likewise.
12301         (__mpn_lshift): Do not use BP_SYM.
12302         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12303         (PARMS): Do not use macros from bp-asm.h.
12304         (STR): Likewise.
12305         (CHR): Likewise.
12306         (__memchr): Do not use BP_SYM.
12307         (memchr): Do not use BP_SYM in weak_alias.
12308         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12309         (PARMS): Do not use macros from bp-asm.h.
12310         (BLK2): Likewise.
12311         (LEN): Likewise.
12312         (memcmp): Do not use BP_SYM.
12313         (bcmp): Do not use BP_SYM in weak_alias.
12314         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12315         (PARMS): Do not use macros from bp-asm.h.
12316         (S1): Likewise.
12317         (SIZE): Likewise.
12318         (__mpn_mul_1): Do not use BP_SYM.
12319         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12320         "bp-asm.h".
12321         (PARMS): Do not use macros from bp-asm.h.
12322         (STR): Likewise.
12323         (CHR): Likewise.
12324         (__rawmemchr): Do not use BP_SYM.
12325         (rawmemchr): Do not use BP_SYM in weak_alias.
12326         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12327         (PARMS): Do not use macros from bp-asm.h.
12328         (S): Likewise.
12329         (SIZE): Likewise.
12330         (__mpn_rshift): Do not use BP_SYM.
12331         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12332         (PARMS): Do not use macros from bp-asm.h.
12333         (SIGMSK): Likewise.
12334         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12335         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12336         (_start): Do not use BP_SYM.
12337         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12338         (PARMS): Do not use macros from bp-asm.h.
12339         (DEST): Likewise.
12340         (SRC): Likewise.
12341         (__stpcpy): Likewise.  Do not use BP_SYM.
12342         (stpcpy): Do not use BP_SYM in weak_alias.
12343         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12344         "bp-asm.h".
12345         (PARMS): Do not use macros from bp-asm.h.
12346         (DEST): Likewise.
12347         (SRC): Likewise.
12348         (LEN): Likewise.
12349         (__stpncpy): Likewise.  Do not use BP_SYM.
12350         (stpncpy): Do not use BP_SYM in weak_alias.
12351         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12352         (PARMS): Do not use macros from bp-asm.h.
12353         (STR): Likewise.
12354         (CHR): Likewise.
12355         (strchr): Likewise.  Do not use BP_SYM.
12356         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12357         "bp-asm.h".
12358         (PARMS): Do not use macros from bp-asm.h.
12359         (STR): Likewise.
12360         (CHR): Likewise.
12361         (__strchrnul): Likewise.  Do not use BP_SYM.
12362         (strchrnul): Do not use BP_SYM in weak_alias.
12363         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12364         "bp-asm.h".
12365         (PARMS): Do not use macros from bp-asm.h.
12366         (STOP): Likewise.
12367         (strcspn): Do not use BP_SYM.
12368         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12369         "bp-asm.h".
12370         (PARMS): Do not use macros from bp-asm.h.
12371         (STR): Likewise.
12372         (STOP): Likewise.
12373         (strpbrk): Likewise.  Do not use BP_SYM.
12374         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12375         "bp-asm.h".
12376         (PARMS): Do not use macros from bp-asm.h.
12377         (STR): Likewise.
12378         (CHR): Likewise.
12379         (strrchr): Likewise.  Do not use BP_SYM.
12380         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12381         (PARMS): Do not use macros from bp-asm.h.
12382         (SKIP): Likewise.
12383         (strspn): Do not use BP_SYM.
12384         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12385         (PARMS): Do not use macros from bp-asm.h.
12386         (STR): Likewise.
12387         (DELIM): Likewise.
12388         (SAVE): Likewise.
12389         (FUNCTION): Likewise.  Do not use BP_SYM.
12390         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12391         aliases.
12392         (strtok_r): Likewise.
12393         (__GI___strtok_r): Likewise.
12394         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12395         (PARMS): Do not use macros from bp-asm.h.
12396         (S1): Likewise.
12397         (S2): Likewise.
12398         (SIZE): Likewise.
12399         (__mpn_sub_n): Do not use BP_SYM.
12400         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12401         "bp-asm.h".
12402         (PARMS): Do not use macros from bp-asm.h.
12403         (S1): Likewise.
12404         (SIZE): Likewise.
12405         (__mpn_submul_1): Do not use BP_SYM.
12406         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12407         <bp-sym.h>.
12408         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12409         and <bp-asm.h>.
12410         (PARMS): Do not use macros from bp-asm.h.
12411         (FLAGS): Likewise.
12412         (PTID): Likewise.
12413         (TLS): Likewise.
12414         (CTID): Likewise.
12415         (__clone): Do not use BP_SYM.
12416         (clone): Do not use BP_SYM in weak_alias.
12417         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12418         and <bp-asm.h>.
12419         (PARMS): Do not use macros from bp-asm.h.
12420         (LEN): Likewise.
12421         (__mmap64): Do not use BP_SYM.
12422         (mmap64): Do not use BP_SYM in weak_alias.
12423         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12424         <bp-sym.h> and <bp-asm.h>.
12425         (PARMS): Do not use macros from bp-asm.h.
12426         (__posix_fadvise64_l64): Do not use BP_SYM.
12427         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12428         (PARMS): Do not use macros from bp-asm.h.
12429         (NSOPS): Likewise.
12430         (semtimedop): Do not use BP_SYM.
12431         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12432         and <bp-asm.h>.
12434 2013-02-21  Allan McRae  <allan@archlinux.org>
12436         * manual/message.texi (Charset conversion in gettext):
12437         Move @end statement to beginning of line.
12439 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12441         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12442         static.
12443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12444         Likewise.
12446         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12447         (denorm): Likewise.
12448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12451 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12453         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12454         tail-call to the resolved function if pltexit isn't needed.
12456 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12459         or Y being zero as being unlikely.
12460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12461         Likewise.
12463 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12465         * manual/nss.texi (System Databases and Name Service Switch):
12466         Remove frobnicate @pxref.
12468 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12470         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12471         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12473 2013-02-20  Petr Machata  <pmachata@redhat.com>
12475         * elf/elf.h (R_ARM_TARGET1): New macro.
12476         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12477         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12478         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12479         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12480         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12481         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12482         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12483         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12484         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12485         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12486         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12487         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12488         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12489         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12490         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12491         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12492         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12493         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12494         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12495         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12496         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12497         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12498         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12499         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12500         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12501         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12502         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12503         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12504         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12505         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12506         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12507         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12508         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12509         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12510         (R_ARM_THM_GOT_BREL12): Likewise.
12511         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12512         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12513         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12514         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12515         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12516         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12517         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12518         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12519         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12521 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12523         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12524         __attribute_used__ to __attribute__ ((unused)).
12526 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12528         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12529         powerpc mpa.c.
12530         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12531         comment formatting.
12532         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12534 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12536         [BZ #13550]
12537         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12538         Remove macro.
12539         (ENTER): Remove both macro definitions.
12540         (LEAVE): Likewise.
12541         (CHECK_BOUNDS_LOW): Likewise.
12542         (CHECK_BOUNDS_HIGH): Likewise.
12543         (CHECK_BOUNDS_BOTH): Likewise.
12544         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12545         (RETURN_BOUNDED_POINTER): Likewise.
12546         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12547         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12548         (POP_ERRNO_LOCATION_RETURN): Likewise.
12549         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12550         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12551         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12552         macros.
12553         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12554         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12555         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12556         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12557         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12558         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12559         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12560         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12561         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12562         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12563         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12564         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12565         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12566         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12567         removed macros.
12568         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12569         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12570         macros.
12571         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12572         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12573         * sysdeps/i386/i586/memset.S (memset): Likewise.
12574         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12575         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12576         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12577         macros.
12578         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12579         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12580         Change uses of L(2) to L(out).
12581         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12582         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12583         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12584         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12585         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12586         removed macros.
12587         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12588         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12589         macros.
12590         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12591         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12592         (RETURN): Do not use macro LEAVE.
12593         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12594         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12595         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12596         * sysdeps/i386/i686/memset.S (memset): Likewise.
12597         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12598         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12599         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12600         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12601         Likewise.
12602         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12603         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12604         L(1_2) and L(1_3) into L(1).
12605         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12606         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12607         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12608         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12609         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12610         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12611         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12612         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12613         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12614         macros.
12615         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12616         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12617         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12618         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12619         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12620         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12621         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12622         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12623         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12624         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12625         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12626         * sysdeps/i386/strspn.S (strspn): Likewise.
12627         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12628         conditional code.
12629         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12630         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12631         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12632         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12633         L(1_3) into L(1_1).
12634         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12635         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12636         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12637         macros.
12638         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12640 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12642         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12643         macro.
12645 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12647         * math/atest-exp.c (exp_mpn): Remove ROUND.
12648         * math/atest-exp2.c (exp_mpn): Likewise.
12649         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12651         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12652         * stdlib/tst-tls-atexit-lib.c: Likewise.
12653         * stdlib/tst-tls-atexit.c: Likewise.
12655 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12657         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12658         and __attribute_alloc_size__.
12660 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12662         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12663         __attribute_alloc_size__.
12664         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12665         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12667 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12669         * include/programs/xmalloc.h: New file.
12670         * catgets/gencat.c: Include it.
12671         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12672         * elf/pldd.c: Likewise.
12673         * iconv/iconv_charmap.c: Likewise.
12674         * iconv/iconvconfig.c: Likewise.
12675         * iconv/strtab.c: Likewise.
12676         * locale/programs/locale.c: Likewise.
12677         * locale/programs/localedef.h: Likewise.
12678         * locale/programs/simple-hash.c: Likewise.
12679         * nscd/nscd.h: Likewise.
12680         * nss/makedb.c: Likewise.
12681         * sysdeps/generic/ldconfig.h: Likewise.
12683 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12685         * Versions.def: Add GLIBC_2.18.
12686         * include/link.h (struct link_map): New member l_tls_dtor_count.
12687         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12688         (__call_tls_dtors): Likewise.
12689         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12690         __cxa_thread_atexit_impl.
12691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12692         Likewise.
12693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12694         Likewise.
12695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12696         Likewise.
12697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12698         Likewise.
12699         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12701         Likewise.
12702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12703         Likewise.
12704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12706         Likewise.
12707         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12708         (tests): Add test case tst-tls-atexit.
12709         (modules-names): Add shared library for tst-tls-atexit.
12710         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12711         (GLIBC_PRIVATE): Add __call_tls_dtors.
12712         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12713         for libstdc++.
12714         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12715         * stdlib/tst-tls-atexit.c: New test case.
12716         * stdlib/tst-tls-atexit-lib.c: New test case.
12718         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12720         * elf/Versions (ld): Add _dl_find_dso_for_object.
12721         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12722         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12723         (dl_open_worker): Use _dl_find_dso_for_object.
12724         * elf/dl-sym.c (do_sym): Likewise.
12725         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12727 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12729         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12730         Syntactic changes only.
12731         (_dl_runtime_profile): Do a tail-call to the resolved function.
12733 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12735         [BZ #13550]
12736         * sysdeps/x86_64/bp-asm.h: Remove file.
12737         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12738         <bp-sym.h> and <bp-asm.h>.
12739         (__clone): Do not use BP_SYM.
12740         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12741         <bp-sym.h> and <bp-asm.h>.
12742         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12743         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12744         "bp-asm.h".
12745         (_setjmp): Do not use BP_SYM.
12746         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12747         "bp-asm.h".
12748         (setjmp): Do not use BP_SYM.
12749         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12750         libc_hidden_def.
12751         (mempcpy): Do not use BP_SYM in weak_alias.
12752         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12753         "bp-asm.h".
12754         (strchr): Do not use BP_SYM.
12755         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12756         "bp-asm.h".
12757         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12758         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12759         (_start): Do not use BP_SYM.
12760         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12761         "bp-asm.h".
12762         (strcat): Do not use BP_SYM.
12763         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12764         "bp-asm.h".
12765         (STRCMP): Do not use BP_SYM.
12766         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12767         "bp-asm.h".
12768         (STRCPY): Do not use BP_SYM.
12769         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12770         "bp-asm.h".
12771         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12772         "bp-asm.h".
12773         (FUNCTION): Do not use BP_SYM.
12774         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12775         weak_alias.
12776         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12778 2013-02-17  Andreas Jaeger  <aj@suse.de>
12780         * time/Versions: Sort entries.
12781         * string/Versions: Likewise.
12782         * resolv/Versions: Likewise.
12783         * posix/Versions: Likewise.
12784         * iconv/Versions: Likewise.
12785         * elf/Versions: Likewise.
12786         * wcsmbs/Versions: Likewise.
12788 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12790         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12791         loop termination condition.
12793         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12794         variable to calculate EZ.
12795         (__sqr): Likewise.
12797         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12798         the lower precision input.
12800 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12802         [BZ #13550]
12803         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12804         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12805         (run-via-rtld-prefix): Do not handle %-bp tests.
12806         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12807         (all-object-suffixes): Remove .ob.
12808         (bppfx): Remove variable.
12809         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12810         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12811         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12812         [$(build-bounded) = yes] (libtype.ob): Likewise.
12813         * Makerules (elide-routines.ob): Remove variable.
12814         (do-tests-clean): Do not handle *-bp.out.
12815         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12816         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12817         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12818         (tests): Do not include $(tests-bp.out).
12819         (xtests): Do not include $(xtests-bp.out).
12820         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12821         [$(build-bounded) = yes] ($(addprefix
12822         $(objpfx),$(binaries-bounded))): Remove rule.
12823         ($(objpfx)%-bp.out): Remove rule.
12824         * config.make.in (build-bounded): Remove variable.
12825         * crypt/Makefile [$(build-bounded) = yes]
12826         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12827         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12828         append to variable.
12829         [$(build-bounded) = yes] (install-lib): Likewise.
12830         [$(build-bounded) = yes] (generated): Likewise.
12831         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12832         Remove rule.
12833         * intl/Makefile [$(build-bounded) = yes]
12834         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12835         * math/Makefile [$(build-bounded) = yes]
12836         ($(tests:%=$(objpfx)%-bp): Likewise.
12837         * misc/Makefile [$(build-bounded) = yes]
12838         ($(objpfx)tst-tsearch-bp): Likewise.
12839         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12840         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12841         Remove dependency.
12842         * string/Makefile (o-objects.ob): Remove variable.
12843         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12844         (CFLAGS-.ob): Remove variable.
12845         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12846         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12847         both definitions of variable.
12848         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12849         (ASFLAGS-.ob): Remove variable.
12851 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12853         [BZ #13550]
12854         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12855         Remove __BOUNDED_POINTERS__ from condition.
12856         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12857         * string/bits/string2.h [!__NO_STRING_INLINES &&
12858         !__BOUNDED_POINTERS__]: Likewise.
12859         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12860         Likewise.
12861         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12862         Remove conditional code.
12863         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12864         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12865         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12866         condition.
12868         [BZ #13550]
12869         * csu/libc-start.c: Do not include <bp-sym.h>.
12870         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12871         * elf/dl-open.c: Do not include <bp-sym.h>.
12872         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12873         * math/fegetenv.c: Do not include <bp-sym.h>.
12874         (fegetenv): Do not use BP_SYM in versioned symbols.
12875         * nptl/sysdeps/pthread/bits/libc-lockP.h
12876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12877         <bp-sym.h>.
12878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12879         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12881         (__pthread_mutex_destroy): Likewise.
12882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12883         (__pthread_mutex_lock): Likewise.
12884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12885         (__pthread_mutex_trylock): Likewise.
12886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12887         (__pthread_mutex_unlock): Likewise.
12888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12889         (__pthread_mutexattr_init): Likewise.
12890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12891         (__pthread_mutexattr_destroy): Likewise.
12892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12893         (__pthread_mutexattr_settype): Likewise.
12894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12895         (__pthread_rwlock_init): Likewise.
12896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12897         (__pthread_rwlock_destroy): Likewise.
12898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12899         (__pthread_rwlock_rdlock): Likewise.
12900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12901         (__pthread_rwlock_tryrdlock): Likewise.
12902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12903         (__pthread_rwlock_wrlock): Likewise.
12904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12905         (__pthread_rwlock_trywrlock): Likewise.
12906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12907         (__pthread_rwlock_unlock): Likewise.
12908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12909         (__pthread_key_create): Likewise.
12910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12911         (__pthread_setspecific): Likewise.
12912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12913         (__pthread_getspecific): Likewise.
12914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12915         Likewise.
12916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12917         (_pthread_cleanup_push_defer): Likewise.
12918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12919         (_pthread_cleanup_pop_restore): Likewise.
12920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12921         (pthread_setcancelstate): Likewise.
12922         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12923         <bp-sym.h>.
12924         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12925         (memchr): Do not use BP_SYM in weak_alias.
12926         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12927         (fegetenv): Do not use BP_SYM in versioned symbols.
12928         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12929         (fesetenv): Do not use BP_SYM in versioned symbols.
12930         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12931         (feupdateenv): Do not use BP_SYM in versioned symbols.
12932         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12933         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12934         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12935         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12936         (open64): Do not use BP_SYM in weak_alias.
12937         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12938         (fegetenv): Do not use BP_SYM in versioned symbols.
12939         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12940         (fesetenv): Do not use BP_SYM in versioned symbols.
12941         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12942         (feupdateenv): Do not use BP_SYM in versioned symbols.
12943         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12944         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12945         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12946         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12947         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12948         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12949         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12950         <bp-sym.h>.
12951         (__libc_start_main): Do not use BP_SYM.
12953 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12955         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12956         redundant return line.
12957         (norm): Likewise.
12958         (denorm): Likewise.
12959         (dbl_mp): Likewise.
12960         (sub_magnitudes): Likewise.
12961         (__add): Likewise.
12962         (__sub): Likewise.
12963         (__mul): Likewise.
12964         (__inv): Likewise.
12965         (__dvd): Likewise.
12966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12967         (norm): Likewise.
12968         (denorm): Likewise.
12969         (dbl_mp): Likewise.
12970         (sub_magnitudes): Likewise.
12971         (__add): Likewise.
12972         (__sub): Likewise.
12973         (__mul): Likewise.
12974         (__inv): Likewise.
12975         (__dvd): Likewise.
12977         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12978         instead of __mul.
12979         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12980         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12981         (cc32): Likewise.
12983         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12984         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12985         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12986         of __mul for squares.
12987         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12988         function
12989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12990         Likewise.
12991         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12992         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12994 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12996         [BZ #13550]
12997         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12998         code.
12999         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13000         prototype or function definition.  Rename ubp_* variables and
13001         parameters.  Remove argv definitions conditional on
13002         [__BOUNDED_POINTERS__].
13003         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13004         * elf/dl-runtime.c (_dl_fixup): Likewise.
13005         * include/set-hooks.h (RUN_HOOK): Likewise.
13006         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13007         definition.
13008         * string/strcpy.c (strcpy): Do not use __unbounded.
13009         * sysdeps/generic/frame.h (struct layout): Likewise.
13010         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13011         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13012         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13013         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13014         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13015         (__backtrace): Likewise.
13016         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13017         use __ptrvalue.
13018         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13019         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13020         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13021         Likewise.
13022         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13023         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13024         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13025         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13026         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13027         Do not use __unbounded.
13028         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13029         Rename __unboundedrlimits parameter to rlimits in prototype.
13030         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13031         Do not use __unbounded.
13032         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13033         not use __ptrvalue.
13034         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13035         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13036         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13037         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13038         __ptrvalue or __unbounded.
13039         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13040         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13041         use __unbounded.
13042         (__new_msgctl): Do not use __ptrvalue.
13043         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13044         __unbounded.
13045         (__libc_msgrcv): Do not use __ptrvalue.
13046         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13047         startup_info): Do not use __unbounded.
13048         (__libc_start_main): Likewise.  Rename ubp_* variables and
13049         parameters.  Remove argv definitions conditional on
13050         [__BOUNDED_POINTERS__].
13051         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13052         __ptrvalue.
13053         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13054         use __unbounded.
13055         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13056         or __ptrvalue.
13057         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13058         use __unbounded.
13059         (__new_shmctl): Do not use __ptrvalue.
13060         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13061         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13062         Likewise.
13063         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13064         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13065         (__libc_sigaction): Likewise.
13066         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13067         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13068         Likewise.
13069         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13071 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13073         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13075         * string/mempcpy.c: Implement by calling memcpy.
13077 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13079         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13081         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13082         evaluation.
13084         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13085         values in the mantissa.
13087         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13088         minimize writes to Z.
13089         (sub_magnitudes): Simplify code a bit.
13091 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13093         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13094         from the message.  The linker prefixes all warnings with that already.
13096 2013-02-12  Andreas Schwab  <schwab@suse.de>
13098         [BZ #15078]
13099         * posix/regexec.c (extend_buffers): Add parameter min_len.
13100         (check_matching): Pass minimum needed length.
13101         (clean_state_log_if_needed): Likewise.
13102         (get_subexp): Likewise.
13103         * posix/Makefile (tests): Add bug-regex34.
13104         (bug-regex34-ENV): Define.
13105         * posix/bug-regex34.c: New file.
13107         [BZ #11561]
13108         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13109         elements compare against the byte sequence of it, not its name.
13110         * posix/Makefile (tests): Add bug-regex35.
13111         (bug-regex35-ENV): Define.
13112         * posix/bug-regex35.c: New file.
13114 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13116         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13117         comment.
13118         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13119         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13120         (CHECK_EOL): Add undef.
13122 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13124         * bits/stdlib-bsearch.h: New file.
13125         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13126         * stdlib/stdlib.h: Likewise.
13128 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13130         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13131         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13132         declaration.
13133         * manual/search.texi (Array Search Function): Add missing const in
13134         lfind prototype.
13135         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13136         declaration to use rlim_t.
13137         (Basic Scheduling Functions): Remove erroneous const from
13138         sched_getparam prototype.  Remove erroneous * from
13139         sched_get_priority_max and sched_get_priority_min prototypes.
13140         (Resource Usage): Fix summary @comment on vtimes to refer to
13141         sys/vtimes.h rather than vtimes.h.
13142         Add missing *s in vtimes prototype.
13143         (Limits on Resources): Fix ulimit prototype to return long int.
13144         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13145         prototypes to use long int rather than double.
13146         (BSD Random): Fix initstate and setstate to use char *, not void *.
13147         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13148         prototype to make second argument 'struct aiocb64 *const[]'.
13149         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13150         (Status of AIO Operations): Remove erroneous const in aio_return and
13151         aio_return64 prototypes.
13152         (Synchronizing I/O): Fix sync prototype to return void.
13153         * manual/startup.texi (Suboptions): Remove an erroneous const in
13154         getsubopt prototype.
13155         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13156         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13157         use size_t rather than int.
13158         (Scanning All Users): Likewise for getpwent_r.
13159         (Setting Groups): Add missing const to setgroups prototype.
13160         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13161         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13162         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13163         'const void *' rather than 'const char *'.
13164         (Host Address Functions): Likewise for inet_ntop.
13165         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13166         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13167         ssize_t for return value.
13168         (Sending Data): Likewise for send, sendto, sendmsg.
13169         (Socket Option Functions): Add a missing const in setsockopt prototype.
13170         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13171         use wchar_t for the argument.
13172         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13173         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13174         take no arguments.
13175         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13176         double/float/long double for second argument.
13177         Fix return types of significand, significandf, significandl.
13178         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13179         argument in fchmod prototype.
13180         (File Owner): Use uid_t and gid_t in fchown prototype.
13181         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13182         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13183         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13184         use 'const struct dirent **' as argument types to CMP function pointer
13185         argument.
13186         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13187         (File Times): Fix summary magic @comment for struct utimbuf and utime
13188         to refer to utime.h, not time.h.
13189         * manual/string.texi (Argz Functions): Add missing const in
13190         argz_extract and argz_next prototypes.
13191         (Finding Tokens in a String): Likewise for basename.
13192         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13193         (Copying and Concatenation): Fix typo in wmemmove prototype.
13194         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13195         (Signal Stack): Remove erroneous const in sigstack prototype.
13196         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13197         prototype.
13198         (Simple Calendar Time): Likewise for stime.
13199         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13200         prototype.
13201         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13202         say sys/sysctl.h instead.
13203         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13204         and vsyslog prototypes.
13206 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13208         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13209         Remove.
13211 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13213         * misc/sys/mman.h: Fix typo in mremap comment.
13215 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13217         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13218         the '\0' terminator.
13220 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13222         [BZ #13550]
13223         * debug/segfault.c: Don't include <bp-checks.h>.
13224         * sysdeps/generic/bp-checks.h: Remove file.
13225         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13226         (__GETDENTS): Don't use CHECK_N.
13227         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13228         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13229         (__getgroups): Don't use CHECK_N.
13230         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13231         (setgroups): Don't use CHECK_N.
13232         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13233         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13234         (__libc_msgrcv): Don't use CHECK_N.
13235         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13236         (__libc_msgsnd): Don't use CHECK_N.
13237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13238         <bp-checks.h>.
13239         (__libc_pread): Don't use CHECK_N.
13240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13241         include <bp-checks.h>.
13242         (__libc_pread64): Don't use CHECK_N.
13243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13244         include <bp-checks.h>.
13245         (__libc_pwrite): Don't use CHECK_N.
13246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13247         include <bp-checks.h>.
13248         (__libc_pwrite64): Don't use CHECK_N.
13249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13250         <bp-checks.h>.
13251         (__libc_pread): Don't use CHECK_N.
13252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13253         include <bp-checks.h>.
13254         (__libc_pread64): Don't use CHECK_N.
13255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13256         include <bp-checks.h>.
13257         (__libc_pwrite): Don't use CHECK_N.
13258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13259         include <bp-checks.h>.
13260         (__libc_pwrite64): Don't use CHECK_N.
13261         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13262         (do_pread): Don't use CHECK_N.
13263         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13264         (do_pread64): Don't use CHECK_N.
13265         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13266         (do_pwrite): Don't use CHECK_N.
13267         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13268         (do_pwrite64): Don't use CHECK_N.
13269         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13270         (__libc_readv): Don't use CHECK_N.
13271         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13272         (semop): Don't use CHECK_N.
13273         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13274         <bp-checks.h>.
13275         (semtimedop): Don't use CHECK_N.
13276         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13277         (__libc_pread): Don't use CHECK_N.
13278         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13279         <bp-checks.h>.
13280         (__libc_pread64): Don't use CHECK_N.
13281         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13282         <bp-checks.h>.
13283         (__libc_pwrite): Don't use CHECK_N.
13284         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13285         <bp-checks.h>.
13286         (__libc_pwrite64): Don't use CHECK_N.
13287         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13288         <bp-checks.h>.
13289         (__libc_msgrcv): Don't use CHECK_N.
13290         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13291         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13292         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13293         (__libc_writev): Don't use CHECK_N.
13295 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13297         * string/strcpy.c: Removed unused variable.
13299         * Makeconfig (+sysdep-includes): Define with := rather than =.
13300         Use an existing include/ subdir of each sysdeps dir before it.
13302 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13304         * nscd/connection.c (register_traced_file): Comment function.
13305         [HAVE_INOTIFY] (union __inev): Define.
13306         [HAVE_INOTIFY] (inotify_check_files): New function.
13307         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13308         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13309         clear_db_cache.
13310         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13312 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13314         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13315         loaded if not already and that a failure is permanent.
13317 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13319         [BZ #15006]
13320         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13321         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13323 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13325         [BZ #13550]
13326         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13327         (CHECK_1_NULL_OK): Likewise.
13328         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13329         (__fxstat): Do not use CHECK_1.
13330         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13331         <bp-checks.h>.
13332         (___fxstat64): Do not use CHECK_1.
13333         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13334         <bp-checks.h>.
13335         (__fxstatat): Do not use CHECK_1.
13336         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13337         <bp-checks.h>.
13338         (__fxstatat64): Do not use CHECK_1.
13339         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13340         <bp-checks.h>.
13341         (__fxstat): Do not use CHECK_1.
13342         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13343         <bp-checks.h>.
13344         (__fxstatat): Do not use CHECK_1.
13345         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13346         <bp-checks.h>.
13347         (__getresgid): Do not use CHECK_1.
13348         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13349         <bp-checks.h>.
13350         (__getresuid): Do not use CHECK_1.
13351         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13352         <bp-checks.h>.
13353         (__lxstat): Do not use CHECK_1.
13354         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13355         <bp-checks.h>.
13356         (__old_msgctl): Do not use CHECK_1.
13357         (__new_msgctl): Likewise.
13358         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13359         <bp-checks.h>.
13360         (__new_setrlimit): Do not use CHECK_1.
13361         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13362         <bp-checks.h>.
13363         (__old_shmctl): Do not use CHECK_1.
13364         (__new_shmctl): Likewise.
13365         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13366         <bp-checks.h>.
13367         (__xstat): Do not use CHECK_1.
13368         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13369         (__lxstat): Do not use CHECK_1.
13370         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13371         <bp-checks.h>.
13372         (___lxstat64): Do not use CHECK_1.
13373         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13374         (__old_msgctl): Do not use CHECK_1.
13375         (__new_msgctl): Likewise.
13376         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13377         <bp-checks.h>.
13378         (__gettimeofday): Do not use CHECK_1.
13379         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13380         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13381         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13382         <bp-checks.h>.
13383         (__gettimeofday): Do not use CHECK_1.
13384         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13385         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13386         (__new_shmctl): Do not use CHECK_1.
13387         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13388         <bp-checks.h>.
13389         (do_sigtimedwait): Do not use CHECK_1.
13390         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13391         <bp-checks.h>.
13392         (do_sigwaitinfo): Do not use CHECK_1.
13393         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13394         <bp-checks.h>.
13395         (msgctl): Do not use CHECK_1.
13396         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13397         <bp-checks.h>.
13398         (shmctl): Do not use CHECK_1.
13399         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13400         (ustat): Do not use CHECK_1.
13401         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13402         <bp-checks.h>.
13403         (__fxstat): Do not use CHECK_1.
13404         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13405         <bp-checks.h>.
13406         (__fxstatat): Do not use CHECK_1.
13407         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13408         <bp-checks.h>.
13409         (__lxstat): Do not use CHECK_1.
13410         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13411         <bp-checks.h>.
13412         (__xstat): Do not use CHECK_1.
13413         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13414         (__xstat): Do not use CHECK_1.
13415         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13416         (___xstat64): Do not use CHECK_1.
13418         [BZ #13550]
13419         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13420         definitions.
13421         (CHECK_BOUNDS_HIGH): Likewise.
13422         * string/strcpy.c: Do not include <bp-checks.h>.
13423         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13425 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13427         * nscd/nscd-client.h (__nscd_drop_map_ref):
13428         Add __attribute__ ((unused)).
13429         * nis/nss-nisplus.h (niserr2nss): Likewise.
13431         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13432         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13434         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13435         Remove inline keyword.
13436         * include/rounding-mode.h (round_away): Likewise.
13437         * libio/wfileops.c (adjust_wide_data): Likewise.
13438         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13439         (__m128i_strloadu_tolower): Likewise.
13440         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13441         (__m128i_strloadu_tolower): Likewise.
13442         * time/mktime.c (ydhms_diff): Likewise.
13443         * locale/elem-hash.h (elem_hash): Likewise.
13444         * locale/setlocale.c (setdata): Likewise.
13445         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13446         (re_string_wchar_at): Likewise.
13447         (bitset_not, bitset_merge, bitset_mask): Likewise.
13448         [!(__GNUC__ > 3)] (inline): Remove macro.
13449         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13450         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13451         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13452         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13453         * string/memcmp.c (memcmp_bytes): Likewise.
13454         * locale/programs/locarchive.c (compute_hashval): Likewise.
13455         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13456         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13457         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13458         * nss/getent.c (print_rpc, print_protocols): Likewise.
13459         (print_passwd, print_group, print_aliases): Likewise.
13460         * nis/nss-nisplus.h (niserr2nss): Likewise.
13461         * nscd/connections.c (restart_p): Likewise.
13462         Change return type to bool.
13464 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13466         * Makeconfig (all-Depend-files): Add existing
13467         $(sorted-subdirs:=/Depend) files.
13468         (all-subdirs): Remove nss.
13469         * sysdeps/unix/inet/Subdirs: Add it here instead.
13470         * hesiod/Depend: New file.
13472         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13473         instead of calling alloca.
13475         * io/lseek.c (__lseek): Rename to __libc_lseek.
13476         Define __lseek as an alias.
13478         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13480 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13482         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13483         else clause and remove check for non-standard endianness.
13485 2013-02-04  David S. Miller  <davem@davemloft.net>
13487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13489 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13491         [BZ #13550]
13492         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13493         (__ubp_memchr): Remove prototype.
13494         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13495         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13496         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13497         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13498         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13499         Remove alias.
13500         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13501         (__ubp_memchr): Likewise.
13502         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13503         (__ubp_memchr): Likewise.
13504         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13505         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13506         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13507         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13508         CHECK_STRING.
13509         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13510         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13511         (__getcwd): Do not use CHECK_STRING.
13512         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13513         <bp-checks.h>.
13514         (__real_chown): Do not use CHECK_STRING.
13515         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13516         <bp-checks.h>.
13517         (fchownat): Do not use CHECK_STRING.
13518         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13519         CHECK_STRING.
13520         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13521         <bp-checks.h>.
13522         (__lchown): Do not use CHECK_STRING.
13523         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13524         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13525         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13526         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13528         include <bp-checks.h>.
13529         (truncate64): Do not use CHECK_STRING.
13530         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13531         <bp-checks.h>.
13532         (__real_chown): Do not use CHECK_STRING.
13533         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13534         <bp-checks.h>.
13535         (__lchown): Do not use CHECK_STRING.
13536         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13537         <bp-checks.h>.
13538         (__chown): Do not use CHECK_STRING.
13539         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13540         <bp-checks.h>.
13541         (truncate64): Do not use CHECK_STRING.
13542         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13543         Likewise.
13544         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13545         (__xmknod): Do not use CHECK_STRING.
13546         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13547         <bp-checks.h>.
13548         (__xmknodat): Do not use CHECK_STRING.
13549         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13550         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13552 2013-02-04  Andreas Schwab  <schwab@suse.de>
13554         [BZ #14142]
13555         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13556         * include/netdb.h: Likewise for h_errno.
13557         * elf/tst-stackguard1.c: Include <tls.h>.
13559 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13561         * elf/link.h (struct link_map): Extend the l_addr comment.
13562         * include/link.h (struct link_map): Likewise.
13564 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13566         [BZ #13550]
13567         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13568         (BOUNDED_1): Remove macro.
13569         * debug/backtrace.c: Don't include <bp-checks.h>.
13570         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13571         (__backtrace): Likewise.
13572         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13573         <bp-checks.h>.
13574         (__backtrace): Don't use BOUNDED_1.
13575         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13576         <bp-checks.h>.
13577         (__backtrace): Don't use BOUNDED_1.
13578         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13579         (__backtrace): Don't use BOUNDED_1.
13580         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13581         (shmat): Don't use BOUNDED_N.
13583 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13585         [BZ #13550]
13586         * sysdeps/generic/bp-start.h: Remove file.
13587         * csu/libc-start.c: Don't include <bp-start.h>.
13588         (LIBC_START_MAIN): Set up __environ directly instead of using
13589         INIT_ARGV_and_ENVIRON.
13590         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13591         <bp-start.h>.
13593         [BZ #13550]
13594         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13595         definitions.
13596         (CHECK_FCNTL): Likewise.
13597         (CHECK_N_PAGES): Likewise.
13599         [BZ #13550]
13600         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13601         definitions.
13602         (CHECK_SIGSET_NULL_OK): Likewise.
13603         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13604         <bp-checks.h>.
13605         (sigpending): Don't use CHECK_SIGSET.
13606         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13607         <bp-checks.h>.
13608         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13609         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13610         <bp-checks.h>.
13611         (do_sigsuspend): Don't use CHECK_SIGSET.
13612         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13613         use CHECK_SIGSET.
13614         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13615         (do_sigwait): Don't use CHECK_SIGSET.
13616         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13617         use CHECK_SIGSET.
13618         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13619         include <bp-checks.h>.
13620         (sigpending): Don't use CHECK_SIGSET.
13621         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13622         include <bp-checks.h>.
13623         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13624         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13625         <bp-checks.h>.
13626         (sigpending): Don't use CHECK_SIGSET.
13627         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13628         <bp-checks.h>.
13629         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13631         [BZ #13550]
13632         * sysdeps/generic/bp-semctl.h: Remove file.
13633         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13634         <bp-checks.h> and <bp-semctl.h>.
13635         (__old_semctl): Don't use CHECK_SEMCTL.
13636         (__new_semctl): Likewise.
13637         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13638         and <bp-semctl.h>.
13639         (__old_semctl): Don't use CHECK_SEMCTL.
13640         (__new_semctl): Likewise.
13641         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13642         <bp-checks.h> and <bp-semctl.h>.
13643         (__old_semctl): Don't use CHECK_SEMCTL.
13644         (__new_semctl): Likewise.
13645         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13646         <bp-checks.h> and <bp-semctl.h>.
13647         (semctl): Don't use CHECK_SEMCTL.
13649         [BZ #13550]
13650         * Makerules (elide-bp-thunks): Remove variable.
13651         (elide-routines.oS): Don't use $(elide-bp-thunks).
13652         (elide-routines.os): Likewise.
13653         (elide-routines.o): Likewise.
13654         (elide-routines.op): Likewise.
13655         (elide-routines.og): Likewise.
13656         (objects): Don't use $(bp-thunks).
13657         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13658         include.
13659         (common-generated): Do not add s-proto-bp.d.
13660         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13661         (int): Likewise.
13662         (typ): Likewise.
13663         Do not generate makefile rules for bounded-pointer thunks.
13664         * sysdeps/generic/bp-thunks.h: Remove file.
13665         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13666         * sysdeps/unix/s-proto-bp.S: Likewise.
13668         [BZ #15062]
13669         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13670         parts of result separately when argument is not close to line from
13671         -i to i and one part of argument is small.
13672         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13673         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13674         * math/libm-test.inc (cacos_test): Add more tests.
13675         (casin_test): Likewise.
13676         (casinh_test): Likewise.
13677         * sysdeps/i386/fpu/libm-test-ulps: Update.
13678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13680 2013-01-31  David S. Miller  <davem@davemloft.net>
13682         * po/de.po: Update from translation team.
13684 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13686         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13688 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13690         * configure.in (_AC_PROG_CC_C89): New definition.
13691         * configure: Regenerate.
13693         * configure.in (AC_PROG_CPP): New definition.
13694         * configure: Regenerate.
13696 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13698         * debug/tst-backtrace.h: New file.
13699         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13700         (ret): Remove variable.
13701         (x): Likewise.
13702         (FAIL): Remove macro.
13703         (NO_INLINE): Likewise.
13704         (fn1): Use match function instead of strstr.
13705         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13706         (ret): Remove variable.
13707         (x): Likewise.
13708         (FAIL): Remove macro.
13709         (NO_INLINE): Likewise.
13710         (fn): Use match function instead of strstr.
13711         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13712         (ret): Remove variable.
13713         (x): Likewise.
13714         (FAIL): Remove macro.
13715         (NO_INLINE): Likewise.
13716         (handle_signal): Use match function instead of strstr.
13717         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13718         (ret): Remove variable.
13719         (x): Likewise.
13720         (FAIL): Remove macro.
13721         (NO_INLINE): Likewise.
13722         (handle_signal): Use match function instead of strstr.
13724 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13726         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13728 2013-01-23  David S. Miller  <davem@davemloft.net>
13730         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13731         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13732         argument of CAS if possible.
13733         * sysdeps/sparc/sparc64/bits/atomic.h
13734         (__arch_compare_and_exchange_val_32_acq): Likewise.
13735         (__arch_compare_and_exchange_val_64_acq): Likewise.
13737 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13739         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13740         * sysdeps/posix/ulimit.c: ... this.
13741         Include <limits.h>.
13742         * sysdeps/unix/bsd/ulimit.c: Remove file.
13744 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13746         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13747         (LDFLAGS-tst-array5): Likewise.
13749 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13751         [BZ #15036]
13752         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13753         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13754         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13755         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13757 2013-01-21  David S. Miller  <davem@davemloft.net>
13759         * sysdeps/sparc/backtrace.c: New file.
13760         * sysdeps/sparc/sparc32/backtrace.h: New file.
13761         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13762         * sysdeps/sparc/sparc64/backtrace.h: New file.
13763         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13764         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13765         -funwind-tables.
13767 2013-01-21  Andreas Schwab  <schwab@suse.de>
13769         [BZ #15020]
13770         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13771         closed its stdout.
13773 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13776         "mpa2.h".
13777         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13779 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13780             Mark Mitchell  <mark@codesourcery.com>
13781             Tom de Vries  <tom@codesourcery.com>
13782             Paul Pluzhnikov  <ppluzhnikov@google.com>
13784         * debug/tst-backtrace2.c: New file.
13785         * debug/tst-backtrace3.c: Likewise.
13786         * debug/tst-backtrace4.c: Likewise.
13787         * debug/tst-backtrace5.c: Likewise.
13788         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13789         (CFLAGS-tst-backtrace3.c): Likewise.
13790         (CFLAGS-tst-backtrace4.c): Likewise.
13791         (CFLAGS-tst-backtrace5.c): Likewise.
13792         (LDFLAGS-tst-backtrace2): Likewise.
13793         (LDFLAGS-tst-backtrace3): Likewise.
13794         (LDFLAGS-tst-backtrace4): Likewise.
13795         (LDFLAGS-tst-backtrace5): Likewise.
13796         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13797         tst-backtrace4 and tst-backtrace5.
13799 2013-01-18  Anton Blanchard  <anton@samba.org>
13800             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13802         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13803         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13804         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13805         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13807         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13808         "+r" and remove output regs list as redundant.  Add explicit inline
13809         asm to specify register of return val to work around compiler codegen
13810         bug.  Remove (int) cast on return value.  Add return type parameter to
13811         use in macro so that this macro does not truncate return value for
13812         64-bit values.
13813         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13814         pass to INTERNAL_VSYSCALL_NCS.
13815         (INLINE_VSYSCALL): Add 'long int' as return type to
13816         INTERNAL_VSYSCALL_NCS macro invocation.
13817         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13818         INTERNAL_VSYSCALL_NCS macro invocation.
13819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13821 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13823         [BZ #14496]
13824         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13825         Fix application of SIMD FP exception mask.
13827         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13828         mp_no from a power of two.
13829         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13830         __mpexp_twomm1.  Use __pow_mp.
13832         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13833         multiplication.
13835 2013-01-17  David S. Miller  <davem@davemloft.net>
13837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13839 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13841         [BZ #15023]
13842         * include/complex.h: Condition contents on [!_COMPLEX_H].
13843         (__kernel_casinhf): New prototype.
13844         (__kernel_casinh): Likewise.
13845         (__kernel_casinhl): Likewise.
13846         * math/Makefile (libm_calls): Add k_casinh.
13847         * math/k_casinh.c: New file.
13848         * math/k_casinhf.c: Likewise.
13849         * math/k_casinhl.c: Likewise.
13850         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13851         finite nonzero arguments.
13852         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13853         finite nonzero arguments.
13854         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13855         finite nonzero arguments.
13856         * math/s_casinh.c: Do not include <float.h>.
13857         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13858         * math/s_casinhf.c: Do not include <float.h>.
13859         (__casinhf): Move code for finite nonzero arguments to
13860         k_casinhf.c.
13861         * math/s_casinhl.c: Do not include <float.h>.
13862         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13863         redefine.
13864         (__casinhl): Move code for finite nonzero arguments to
13865         k_casinhl.c.
13866         * math/libm-test.inc (cacos_test): Add more tests.
13867         * sysdeps/i386/fpu/libm-test-ulps: Update.
13868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13870 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13872         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13873         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13874         [!HAVE_MREMAP]: Remove [defined linux] case.
13875         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13877 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13879         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13881 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13883         * elf/elf.h (R_386_SIZE32): New relocation.
13884         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13885         R_386_SIZE32.
13886         (elf_machine_rela): Likewise.
13887         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13888         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13890 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13892         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13893         (FP_FAST_FMA): Do not define.
13894         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13895         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13896         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13897         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13898         !_SOFT_FLOAT]: Likewise.
13899         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13900         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13901         value.
13902         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13903         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13904         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13905         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13906         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13907         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13908         file.
13910 2013-01-16  Andreas Schwab  <schwab@suse.de>
13912         [BZ #14327]
13913         * include/stdlib.h (__mktemp): Add declaration.
13914         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13915         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13917 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13919         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13920         definitions.
13921         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13922         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13923         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13924         definitions here.
13925         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13926         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13927         definitions.
13928         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13929         and ONE.
13930         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13931         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13932         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13933         definitions.
13934         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13935         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13936         definitions.
13937         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13939         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13941 2013-01-15  David S. Miller  <davem@davemloft.net>
13943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13944         trunc{,f} to libm-sysdep_routes.
13945         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13947         file.
13948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13950         file.
13951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13952         file.
13953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13955         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13956         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13957         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13958         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13959         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13960         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13963         nearbyint{,f} to libm-sysdep_routes.
13964         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13966         New file.
13967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13968         file.
13969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13970         New file.
13971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13972         file.
13973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13975         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13976         file.
13977         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13978         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13979         file.
13980         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13981         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13982         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13984         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13985         libc_feholdexcept and libc_fesetenv.
13987 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13989         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13991 2013-01-14  David S. Miller  <davem@davemloft.net>
13993         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13994         (SPARC_ASM_VIS2_IFUNC): Likewise.
13995         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13997         use of 'siam' instruction.
13998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13999         Likewise.
14000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14001         Likewise.
14002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14003         Likewise.
14004         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14006         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14009         file.
14010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14011         file.
14012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14013         file.
14014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14015         file.
14016         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14021         new VIS2 routines.
14022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14025         Likewise.
14026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14027         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14029         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14031         routines to libm-sysdep_routines.
14032         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14035         fdim/fdimf to libm-sysdep_routines.
14036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14037         file.
14038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14040         file.
14041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14044         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14045         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14046         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14047         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14049 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14051         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14052         to optimize copies.
14054         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14058         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14059         local variable MPTWO.
14060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14061         Likewise.
14063 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14065         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14066         GLOB_NOESCAPE.
14068 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14070         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14072 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14074         * manual/pattern.texi (glob_t): Document gl_flags.
14075         (glob64_t): Likewise.
14077 2013-01-11  David S. Miller  <davem@davemloft.net>
14079         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14080         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14081         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14082         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14083         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14084         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14085         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14086         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14087         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14088         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14089         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14090         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14091         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14093         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14094         sparc V9 rather than using V8 code.
14095         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14096         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14098         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14099         Move to...
14100         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14101         Here.
14103 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14105         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14106         not in the main loop.
14107         * configure: Regenerated.
14109 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14111         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14112         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14113         to just #else.
14114         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14115         [!__GLIBC_HAVE_LONG_LONG] case.
14116         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14117         condition to just #else.
14118         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14119         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14120         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14121         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14122         unconditional.
14123         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14124         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14125         #elif condition to just #else.
14126         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14127         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14128         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14129         #elif condition to just #else.
14131 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14133         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14134         (EF_MIPS_ARCH_64): Fix value.
14135         (EF_MIPS_ARCH_32R2): New.
14136         (EF_MIPS_ARCH_64R2): New.
14138 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14140         * Makeconfig (+link-pie-before-libc): New.
14141         (+link-pie-after-libc): Likewise.
14142         (+link-pie-tests): Likewise.
14143         (+link-pie): Rewritten.
14144         (link-before-libc): Remove $(config-LDFLAGS).
14145         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14146         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14147         (config-LDFLAGS): Renamed to ...
14148         (rtld-LDFLAGS): This.
14149         (rtld-tests-LDFLAGS): New macro.
14150         (link-libc-rpath-link): Likewise.
14151         (link-libc-tests-rpath-link): Likewise.
14152         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14153         (link-libc): Prepand $(link-libc-rpath-link).
14154         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14155         (test-program-prefix): New macro.
14156         (test-via-rtld-prefix): Likewise.
14157         (test-program-cmd): Likewise.
14158         (host-test-program-cmd): Likewise.
14159         * Makefile ($(common-objpfx)testrun.sh): Replace
14160         $(run-program-prefix) with $(test-program-prefix).
14161         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14162         $(rtld-LDFLAGS).
14163         ($(common-objpfx)shlib.lds): Likewise.
14164         (build-module-helper): Likewise.
14165         ($(common-objpfx)format.lds): Likewise.
14166         * Rules (binaries-pie-tests): New.
14167         (binaries-pie-notests): Likewise.
14168         (binaries-pie): Rewritten.
14169         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14170         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14171         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14172         (make-test-out): Replace $(host-built-program-cmd) with
14173         $(host-test-program-cmd).
14174         * config.make.in (build-hardcoded-path-in-tests): New variable.
14175         * configure.in (--enable-hardcoded-path-in-tests): New configure
14176         option.
14177         (hardcoded_path_in_tests): New AC_SUBST.
14178         * configure: Regenerated.
14179         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14180         $(built-program-cmd) with $(test-program-cmd).
14181         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14182         (test_program_cmd): This.
14183         * elf/Makefile ($(objpfx)order.out): Run test with
14184         $(test-program-prefix).
14185         ($(objpfx)order2.out): Likewise.
14186         ($(objpfx)tst-initorder.out): Likewise.
14187         ($(objpfx)tst-initorder2.out): Likewise.
14188         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14189         $(test-program-cmd).
14190         ($(objpfx)tst-array1-static.out): Likewise.
14191         ($(objpfx)tst-array2.out): Likewise.
14192         ($(objpfx)tst-array3.out): Likewise.
14193         ($(objpfx)tst-array4.out): Likewise.
14194         ($(objpfx)tst-array5.out): Likewise.
14195         ($(objpfx)tst-array5-static.out): Likewise.
14196         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14197         $(test-program-cmd).
14198         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14199         $(run-program-prefix) with $(test-program-prefix).
14200         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14201         (test_program_prefix): This.
14202         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14203         $(run-program-prefix) with $(test-program-prefix).
14204         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14205         (test_program_prefix): This.
14206         * iconvdata/tst-tables.sh: Likewise.
14207         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14208         $(run-program-prefix) with $(test-program-prefix).
14209         ($(objpfx)tst-translit.out): Likewise.
14210         ($(objpfx)tst-gettext2.out): Likewise.
14211         ($(objpfx)tst-gettext4.out): Likewise.
14212         ($(objpfx)tst-gettext6.out): Likewise.
14213         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14214         (test_program_prefix): This.
14215         * intl/tst-gettext2.sh: Likewise.
14216         * intl/tst-gettext4.sh  Likewise.
14217         * intl/tst-gettext6.sh: Likewise.
14218         * intl/tst-translit.sh: Likewise.
14219         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14220         with $(test-program-cmd).
14221         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14222         $(run-program-prefix) with $(test-program-prefix).
14223         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14224         (test_program_prefix): This.
14225         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14226         $(run-program-prefix) with $(test-program-prefix).
14227         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14228         (test_program_prefix): This.
14229         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14230         * posix/Makefile ($(objpfx)globtest.out): Replace
14231         $(run-via-rtld-prefix) and $(test-wrapper) with
14232         $(test-program-prefix) and $(test-via-rtld-prefix).
14233         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14234         $(test-program-prefix).
14235         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14236         $(host-test-program-cmd).
14237         (tst-spawn-ARGS): Likewise.
14238         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14239         $(test-program-prefix).
14240         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14241         (test_via_rtld_prefix): This.
14242         (test_wrapper): Renamed to ...
14243         (test_program_prefix): This.
14244         (run_program_prefix): Replaced by test_program_prefix.
14245         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14246         (test_program_prefix): This.
14247         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14248         with $(host-test-program-cmd).
14249         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14250         $(run-program-prefix) with $(test-program-prefix).
14251         ($(objpfx)tst-printf.out): Likewise.
14252         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14253         $(test-program-cmd).
14254         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14255         (test_program_prefix): This.
14256         * stdio-common/tst-unbputc.sh: Likewise.
14257         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14258         $(run-program-prefix) with $(test-program-prefix).
14259         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14260         (test_program_prefix): This.
14261         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14262         $(built-program-cmd) with $(test-program-cmd).
14264 2013-01-11  Andreas Jaeger  <aj@suse.de>
14266         [BZ #15003]
14267         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14268         value. Sync with Linux 3.7.
14270 2013-01-10  David S. Miller  <davem@davemloft.net>
14272         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14273         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14274         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14276 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14278         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14279         never set.
14280         * configure: Regenerated.
14282 2013-01-10  David S. Miller  <davem@davemloft.net>
14284         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14285         sparc V9 rather than using V8 code.
14286         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14287         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14289 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14291         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14292         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14293         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14294         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14295         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14296         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14297         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14298         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14299         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14300         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14301         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14302         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14303         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14304         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14305         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14306         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14307         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14308         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14309         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14310         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14311         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14312         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14313         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14314         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14315         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14316         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14317         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14319 2013-01-10  David S. Miller  <davem@davemloft.net>
14321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14323 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14325         * posix/Makefile (tests-static): New variable.
14326         (tests): Add $(tests-static).
14327         (tst-exec-static-ARGS): New variable.
14328         (tst-spawn-static-ARGS): Likewise.
14329         * posix/tst-exec-static.c: New file.
14330         * posix/tst-spawn-static.c: Likewise.
14331         * posix/tst-exec.c: Support run directly.
14332         * posix/tst-spawn.c: Likewise.
14334 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14336         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14337         long.
14338         * math/bits/mathcalls.h (llrint): Likewise.
14339         (llround): Likewise.
14340         * stdlib/stdlib.h (struct drand48_data): Likewise.
14341         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14342         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14343         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14344         Likewise.
14345         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14346         Likewise.
14347         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14348         (elf_greg_t): Likewise.
14349         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14350         (__jmp_buf): Likewise.
14351         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14352         definitions.
14353         (llrint): Likewise, for all definitions.
14354         (llrintl): Likewise.
14356         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14357         Remove [__GNUC__] condition.
14358         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14359         condition to just [__USE_ISOC99].
14360         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14362 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14364         [BZ #14200]
14365         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14366         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14367         defined.
14368         (_POSIX_V6_ILP32_OFF32): Likewise.
14369         (_XBS5_ILP32_OFF32): Likewise.
14370         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14371         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14373 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14375         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14378         doubles __mpexp_twomm1.  Adjust usage.
14379         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14380         Remove.
14382 2013-01-10  Andreas Schwab  <schwab@suse.de>
14384         [BZ #14964]
14385         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14386         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14388 2013-01-09  David S. Miller  <davem@davemloft.net>
14390         [BZ #15003]
14391         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14392         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14393         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14394         TCP_FASTOPEN): Define.
14395         (tcp_repair_opt): New structure.
14396         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14397         enum values.
14398         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14399         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14400         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14401         (tcp_cookie_transactions): New structure.
14403 2013-01-09  Anton Blanchard  <anton@samba.org>
14405         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14406         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14407         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14408         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14410 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14412         * include/features.h (__USE_ANSI): Remove.
14414 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14416         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14418         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14420 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14422         * sysdeps/s390/fpu/libm-test-ulps: Update.
14424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14426         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14427         (__acr): Likewise.
14428         (__cpy): Likewise.
14429         (norm): Likewise.
14430         (denorm): Likewise.
14431         (__mp_dbl): Likewise.
14432         (__dbl_mp): Likewise.
14433         (add_magnitudes): Likewise.
14434         (sub_magnitudes): Likewise.
14435         (__add): Likewise.
14436         (__sub): Likewise.
14437         (__mul): Likewise.
14438         (__inv): Likewise.
14439         (__dvd): Likewise.
14440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14441         (__acr): Likewise.
14442         (__cpy): Likewise.
14443         (norm): Likewise.
14444         (denorm): Likewise.
14445         (__mp_dbl): Likewise.
14446         (__dbl_mp): Likewise.
14447         (add_magnitudes): Likewise.
14448         (sub_magnitudes): Likewise.
14449         (__add): Likewise.
14450         (__sub): Likewise.
14451         (__mul): Likewise.
14452         (__inv): Likewise.
14453         (__dvd): Likewise.
14454         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14455         (__acr): Likewise.
14456         (__cpy): Likewise.
14457         (norm): Likewise.
14458         (denorm): Likewise.
14459         (__mp_dbl): Likewise.
14460         (__dbl_mp): Likewise.
14461         (add_magnitudes): Likewise.
14462         (sub_magnitudes): Likewise.
14463         (__add): Likewise.
14464         (__sub): Likewise.
14465         (__mul): Likewise.
14466         (__inv): Likewise.
14467         (__dvd): Likewise.
14469 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14471         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14472         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14473         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14474         2 && __USE_EXTERN_INLINES]: Likewise.
14476 2013-01-08  Andreas Jaeger  <aj@suse.de>
14478         [BZ# 14985]
14479         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14480         Remove.
14481         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14482         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14484 2013-01-07  Anton Blanchard  <anton@samba.org>
14486         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14487         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14488         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14489         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14490         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14491         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14492         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14493         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14495         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14496         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14497         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14498         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14499         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14500         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14501         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14502         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14503         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14504         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14505         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14506         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14507         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14508         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14509         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14510         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14511         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14512         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14513         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14514         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14515         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14516         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14518         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14519         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14520         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14521         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14522         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14523         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14524         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14525         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14526         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14527         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14528         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14530 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14532         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14533         (__MALLOC_PMT): Likewise.
14534         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14535         [__GNUC__], only on [_LIBC].
14536         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14537         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14538         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14539         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14540         forward declaration.
14541         (realloc_hook_ini): Likewise.
14542         (memalign_hook_ini): Likewise.
14543         (__libc_memalign): Do not use __MALLOC_PMT in variable
14544         declaration.
14545         (__libc_valloc): Likewise.
14546         (__libc_pvalloc): Likewise.
14547         (__libc_calloc): Likewise.
14548         (__posix_memalign): Likewise.
14550         [BZ #14996]
14551         * math/s_casinh.c: Include <float.h>.
14552         (__casinh): Do not do computation with squaring and square root
14553         for large arguments.
14554         * math/s_casinhf.c: Include <float.h>.
14555         (__casinhf): Do not do computation with squaring and square root
14556         for large arguments.
14557         * math/s_casinhl.c: Include <float.h>.
14558         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14559         (__casinhl): Do not do computation with squaring and square root
14560         for large arguments.
14561         * math/libm-test.inc (casin_test): Add more tests.
14562         (casinh_test): Likewise.
14563         * sysdeps/i386/fpu/libm-test-ulps: Update.
14564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14566 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14568         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14569         (__x86_64_raw_data_cache_size): Likewise.
14570         (__x86_64_data_cache_size_half): Likewise.
14571         (__x86_64_raw_data_cache_size_half): Likewise.
14572         (__x86_64_shared_cache_size): Likewise.
14573         (__x86_64_raw_shared_cache_size): Likewise.
14574         (__x86_64_shared_cache_size_half): Likewise.
14575         (__x86_64_raw_shared_cache_size_half): Likewise.
14576         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14577         to ...
14578         (__x86_data_cache_size): This.
14579         (__x86_64_raw_data_cache_size): Renamed to ...
14580         (__x86_raw_data_cache_size): This.
14581         (__x86_64_data_cache_size_half): Renamed to ...
14582         (__x86_data_cache_size_half): This.
14583         (__x86_64_raw_data_cache_size_half): Renamed to ...
14584         (__x86_raw_data_cache_size_half): This.
14585         (__x86_64_shared_cache_size): Renamed to ...
14586         (__x86_shared_cache_size): This.
14587         (__x86_64_raw_shared_cache_size): Renamed to ...
14588         (__x86_raw_shared_cache_size): This.
14589         (__x86_64_shared_cache_size_half): Renamed to ...
14590         (__x86_shared_cache_size_half): This.
14591         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14592         (__x86_raw_shared_cache_size_half): This.
14593         * sysdeps/x86_64/memcpy.S: Updated.
14594         * sysdeps/x86_64/memset.S: Likewise.
14595         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14596         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14597         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14599 2013-01-04  David S. Miller  <davem@davemloft.net>
14601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14603 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14605         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14606         1 to avoid redefinition warning.
14607         (__USE_GNU): Don't define.
14608         (init_signaling_nan): Protoize.
14610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14612 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14614         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14616         (__cpymn): Likewise.
14617         (norm): Remove commented code.
14618         (denorm): Likewise.
14619         (__mp_dbl): Likewise.
14620         (__inv): Likewise.
14621         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14622         (__cpymn): Likewise.
14623         (norm): Remove commented code.
14624         (denorm): Likewise.
14625         (__mp_dbl): Likewise.
14626         (__inv): Likewise.
14628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14629         mp_no value for 1.0 and 2.0.
14630         (norm): Use RADIXI instead of radixi.d.
14631         (denorm): Likewise.
14632         (__mul): Use 0.0 instead of zero.d.
14633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14634         mp_no value for 1.0 and 2.0.
14635         (norm): Use RADIXI instead of radixi.d.
14636         (denorm): Likewise.
14637         (__mul): Use 0.0 instead of zero.d.
14639 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14641         [BZ #14994]
14642         * math/s_casinh.c (__casinh): Reduce finite argument to first
14643         quadrant then set signs of results at the end.
14644         * math/s_casinhf.c (__casinhf): Likewise.
14645         * math/s_casinhl.c (__casinhl): Likewise.
14646         * math/libm-test.inc (casin_test): Add more tests.
14647         (casinh_test): Likewise.
14648         * sysdeps/i386/fpu/libm-test-ulps: Update.
14649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14651 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14653         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14655         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14657         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14658         declarations.
14659         (denorm): Likewise.
14660         (__mp_dbl): Likewise.
14661         (__inv): Likewise.
14663         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14664         and adjust the header comment.
14666         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14667         variable name from declaration.
14669 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14672         Initialize COMMON_CPUID_INDEX_7 element.
14673         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14674         (CPUID_RTM): Likewise.
14675         (HAS_RTM): Likewise.
14676         (COMMON_CPUID_INDEX_7): New enum.
14678 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14680         [BZ #14981]
14681         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14682         size is zero, record memory as freed.
14684 2013-01-03  Andreas Jaeger  <aj@suse.de>
14686         * po/ia.po: Add new Interlingua translation.
14688 2012-01-03  Allan McRae  <allan@archlinux.org>
14690         * locale/programs/localedef.c: Fix description of '--posix' flag.
14692 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14694         * NEWS: Update dates in second copyright notice.
14695         * README: Update copyright dates in example.
14696         * manual/libc.texinfo: Update copyright dates.
14697         * scripts/test-installation.pl: Update copyright date in --version
14698         output.
14700         * hurd/ctty-input.c: Fix copyright notice formatting.
14701         * hurd/ctty-output.c: Likewise.
14702         * hurd/dtable.c: Likewise.
14703         * hurd/hurd-raise.c: Likewise.
14704         * hurd/hurdprio.c: Likewise.
14705         * hurd/msgportdemux.c: Likewise.
14706         * misc/sys/file.h: Likewise.
14707         * misc/sys/ioctl.h: Likewise.
14708         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14709         * sysdeps/mach/hurd/chdir.c: Likewise.
14710         * sysdeps/mach/hurd/fchdir.c: Likewise.
14711         * sysdeps/mach/hurd/rename.c: Likewise.
14712         * sysdeps/mach/hurd/rmdir.c: Likewise.
14713         * sysdeps/mach/hurd/seekdir.c: Likewise.
14714         * sysdeps/mach/hurd/setsid.c: Likewise.
14715         * sysdeps/posix/wait3.c: Likewise.
14717         * All files with FSF copyright notices: Update copyright dates
14718         using scripts/update-copyrights.
14719         * intl/plural.c: Regenerated.
14720         * locale/programs/charmap-kw.h: Likewise.
14721         * locale/programs/locfile-kw.h: Likewise.
14723 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14725         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14726         four values.
14728         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14729         calculation loop and add branch prediction.
14731         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14732         check access beyond bounds of m1np.
14734         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14735         MPTWO.
14736         (__inv): Remove local variable MPTWO to use the global
14737         constant.
14738         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14739         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14740         variable MPTWO.
14741         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14742         MP3HALFS static const.
14744 2013-01-01  David S. Miller  <davem@davemloft.net>
14746         * po/ca.po: Update from translation team.
14748 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14750         * scripts/update-copyrights: New file.
14751         * Makeconfig: Reformat copyright notice.
14752         * ctype/ctype.h: Likewise.
14753         * debug/swprintf_chk.c: Likewise.
14754         * elf/dl-cache.c: Likewise.
14755         * elf/dl-debug.c: Likewise.
14756         * elf/dl-object.c: Likewise.
14757         * grp/initgroups.c: Likewise.
14758         * hurd/Makefile: Likewise.
14759         * hurd/hurd/signal.h: Likewise.
14760         * hurd/hurdfault.c: Likewise.
14761         * hurd/hurdioctl.c: Likewise.
14762         * hurd/hurdlookup.c: Likewise.
14763         * hurd/intr-msg.c: Likewise.
14764         * iconv/gconv_open.c: Likewise.
14765         * libio/swprintf.c: Likewise.
14766         * locale/lc-ctype.c: Likewise.
14767         * locale/nl_langinfo.c: Likewise.
14768         * mach/Machrules: Likewise.
14769         * mach/Makefile: Likewise.
14770         * malloc/obstack.h: Likewise.
14771         * manual/Makefile: Likewise.
14772         * manual/tsort.awk: Likewise.
14773         * misc/bits/stab.def: Likewise.
14774         * nis/nis_print_group_entry.c: Likewise.
14775         * nis/nis_table.c: Likewise.
14776         * nis/nss_compat/compat-pwd.c: Likewise.
14777         * nis/nss_compat/compat-spwd.c: Likewise.
14778         * po/Makefile: Likewise.
14779         * posix/fnmatch.c: Likewise.
14780         * posix/regex.h: Likewise.
14781         * resolv/Makefile: Likewise.
14782         * resolv/nss_dns/dns-network.c: Likewise.
14783         * resolv/res_hconf.c: Likewise.
14784         * scripts/gen-sorted.awk: Likewise.
14785         * soft-fp/soft-fp.h: Likewise.
14786         * stdio-common/printf.h: Likewise.
14787         * stdlib/monetary.h: Likewise.
14788         * stdlib/random.c: Likewise.
14789         * stdlib/random_r.c: Likewise.
14790         * sysdeps/generic/Makefile: Likewise.
14791         * sysdeps/gnu/Makefile: Likewise.
14792         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14793         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14794         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14796         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14797         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14798         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14799         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14800         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14801         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14802         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14803         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14804         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14805         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14806         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14807         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14808         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14809         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14810         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14811         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14812         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14813         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14814         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14815         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14816         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14817         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14818         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14819         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14820         * sysdeps/mach/hurd/errnos.awk: Likewise.
14821         * sysdeps/mach/hurd/fork.c: Likewise.
14822         * sysdeps/mach/hurd/getcwd.c: Likewise.
14823         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14824         * sysdeps/mach/hurd/mmap.c: Likewise.
14825         * sysdeps/mach/hurd/utimes.c: Likewise.
14826         * sysdeps/mach/hurd/xmknod.c: Likewise.
14827         * sysdeps/posix/profil.c: Likewise.
14828         * sysdeps/posix/readdir_r.c: Likewise.
14829         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14830         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14831         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14832         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14834         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14835         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14836         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14837         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14838         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14839         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14840         * sysdeps/pthread/lio_listio.c: Likewise.
14841         * sysdeps/sparc/dl-procinfo.h: Likewise.
14842         * sysdeps/unix/i386/sysdep.S: Likewise.
14843         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14844         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14845         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14846         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14848         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14849         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14850         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14851         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14852         * sysdeps/wordsize-32/divdi3.c: Likewise.
14853         * time/sys/time.h: Likewise.
14854         * wcsmbs/Makefile: Likewise.
14856 2013-01-01  David S. Miller  <davem@davemloft.net>
14858         * po/fr.po: Update from translation team.
14860         * catgets/gencat.c: Update copyright year.
14861         * csu/version.c: Likewise.
14862         * debug/catchsegv.sh: Likewise.
14863         * debug/pcprofiledump.c: Likewise.
14864         * debug/xtrace.sh: Likewise.
14865         * elf/ldconfig.c: Likewise.
14866         * elf/ldd.bash.in: Likewise.
14867         * elf/pldd.c: Likewise.
14868         * elf/sotruss.ksh: Likewise.
14869         * elf/sprof.c: Likewise.
14870         * iconv/iconv_prog.c: Likewise.
14871         * iconv/iconvconfig.c: Likewise.
14872         * locale/programs/locale.c: Likewise.
14873         * locale/programs/localedef.c: Likewise.
14874         * login/programs/pt_chown.c: Likewise.
14875         * malloc/memusage.sh: Likewise.
14876         * malloc/memusagestat.c: Likewise.
14877         * malloc/mtrace.pl: Likewise.
14878         * nscd/nscd.c: Likewise.
14879         * nss/getent.c: Likewise.
14880         * nss/makedb.c: Likewise.
14881         * posix/getconf.c: Likewise.
14883 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14885         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14886         numbers.
14888 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14890         * math/bits/mathcalls.h (modf): Use __nonnull.
14892 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14894         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14895         (split): Use macro CN instead of the bare value.
14896         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14897         could be used.
14898         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14899         instead of the bare value.
14900         (power1): Likewise.
14902 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14904         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14905         __ATAN_TWOM.
14906         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14908         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14909         their values.
14910         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14911         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14912         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14913         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14915 2012-12-28  Andreas Jaeger  <aj@suse.de>
14917         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14918         values are from Linux 3.7.
14920         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14921         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14923 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14925         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14926         TRUE case.
14928         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14929         (norm): Likewise.
14930         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14931         variables with preprocessor constants.
14932         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14933         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14934         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14936 2012-12-27  Bruno Haible  <bruno@clisp.org>
14938         [BZ #14317]
14939         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14940         only if needed.
14942 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14944         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14945         and use variable directly.
14946         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14948         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14949         MPONE.
14950         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14951         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14952         variable MPONE.
14953         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14955         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14956         include directive.  Remove local variable MPONE.
14957         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14958         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14959         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14961 2012-12-25  David S. Miller  <davem@davemloft.net>
14963         * version.h (RELEASE): Set to "development".
14964         (VERSION): Set to "2.17.90".
14965         * NEWS: Add 2.18 section.
14967 2012-12-21  David S. Miller  <davem@davemloft.net>
14969         * po/hr.po: Update from translation team.
14971 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14973         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14975 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14977         * NEWS:  Mention new memcpy for MIPS.
14979 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14981         * manual/contrib.texi (Contributors): Spelling correction.
14983 2012-12-15  David S. Miller  <davem@davemloft.net>
14985         * po/ru.po: Update from translation team.
14987 2012-12-13  David S. Miller  <davem@davemloft.net>
14989         * NEWS: Mention IFUNC testsuite enhancements.
14991         * po/pl.po: Update from translation team.
14992         * po/bg.po: Likewise.
14994         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14995         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14997 2012-12-11  David S. Miller  <davem@davemloft.net>
14999         * po/sv.po: Update from translation team.
15001         * po/vi.po: Update from translation team.
15003         * po/cs.po: Update from translation team.
15005         * po/de.po: Update from translation team.
15006         * po/eo.po: Likewise.
15007         * po/nl.po: Likewise.
15009 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15011         [BZ #14246]
15012         * manual/argp.texi (Argp Helper Functions): Move node to follow
15013         Argp Parsing State.
15015         [BZ #14872]
15016         * manual/conf.texi (Limits on File System Capacity): Mention if
15017         terminating null is included in the max size.
15019 2012-12-10  Andreas Jaeger  <aj@suse.de>
15021         * po/cs.po: Update from translation team.
15023 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15025         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15026         void pointer and cast to uintptr_t.
15027         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15028         path.
15029         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15030         * sysdeps/s390/s390-64/memset.S: Likewise.
15032 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15034         [BZ #14833]
15035         * menual/message.texi (Message Translation): Fix typos.
15036         (Helper programs for gettext): Likewise.
15038 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15040         [BZ #14898]
15041         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15042         Change to -1.
15044 2012-12-07  David S. Miller  <davem@davemloft.net>
15046         * po/libc.pot: Update.
15048 2012-12-07  Richard Henderson  <rth@redhat.com>
15050         [BZ #10114]
15051         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15052         normal/normal case to before the switch.
15053         (_FP_DIV): Likewise.
15055 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15056             Mike Frysinger  <vapier@gentoo.org>
15058         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15059         check for __NR_fadvise64_64.
15061 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15063         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15064         0, not just to plain "0" as a statement.
15065         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15066         with cw.
15068 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15070         * NEWS: Use sourceware.org in Bugzilla URL.
15072 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15075         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15077         * stdio-common/tst-put-error.c (do_test): Add newline to the
15078         padded test to ensure flush.
15080 2012-12-05  Jeff Law  <law@redhat.com>
15082         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15084 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15086         * README: Don't refer to ports add-on as distributed separately.
15087         Mention AArch64 in list of systems supported in the ports add-on.
15089         * LICENSES: Add more non-FSF copyright and license notices.
15091         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15092         ((unused)).
15094         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15096         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15097         10000 as width of padded output.
15099 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15101         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15103         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15104         variable LX with __attribute__ ((unused)).
15105         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15106         Likewise.
15107         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15108         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15109         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15110         with __attribute__ ((unused)).
15112 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15114         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15116 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15118         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15119         (CFLAGS-nldbl-acos.c): New variable.
15120         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15121         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15122         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15123         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15124         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15125         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15126         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15127         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15128         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15129         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15130         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15131         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15132         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15133         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15134         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15135         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15136         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15137         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15138         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15139         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15140         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15141         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15142         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15143         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15144         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15145         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15146         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15147         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15148         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15149         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15150         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15151         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15152         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15153         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15154         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15155         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15156         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15157         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15158         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15159         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15160         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15161         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15162         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15163         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15164         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15165         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15166         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15167         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15168         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15169         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15170         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15171         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15172         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15173         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15174         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15175         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15176         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15177         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15178         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15179         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15180         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15181         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15182         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15183         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15184         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15185         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15186         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15187         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15188         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15189         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15190         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15191         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15192         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15193         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15194         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15195         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15196         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15197         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15198         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15199         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15200         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15201         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15202         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15203         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15204         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15205         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15206         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15207         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15208         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15209         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15210         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15211         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15212         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15213         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15214         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15215         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15216         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15219         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15221         [BZ #14914]
15222         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15223         whole low double instead of just low 47 bits when splitting values
15224         into two parts.
15226 2012-12-03  Allan McRae  <allan@archlinux.org>
15228         * manual/stdio.texi (Predefined Printf Handlers): Remove
15229         @hsep and @vsep usage.
15231 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15233         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15234         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15236 2012-12-03  Jeff Law  <law@redhat.com>
15238         * time/sys/time.h (settimeofday): Do not mark TV argument
15239         as __nonnull.
15241 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15243         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15244         when currently writing and seek to current position when not.
15245         * libio/Makefile (tests): Remove bug-fclose1.
15246         * libio/bug-fclose1.c: Delete.
15248 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15250         * manual/arith.texi (feenableexcept): Fix typo.
15251         (fedisableexcept): Likewise.
15253 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15255         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15256         second, differently-typed declaration, rather than a cast.
15258 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15260         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15261         * include/rpc/svc.h: ... here.
15263 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15265         [BZ #13013]
15266         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15267         depending n and resplen2 to catch cases where answer
15268         equals answerp2.
15270 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15272         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15273         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15275 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15277         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15279 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15281         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15283 2012-11-28  Jeff Law  <law@redhat.com>
15285         [BZ #13761]
15286         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15287         dataset_temporary.  Track alloca usage into alloca_used.
15288         If dataset is large allocate and release it via malloc/free.
15290 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15292         [BZ #14197]
15293         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15295 2012-11-28  David S. Miller  <davem@davemloft.net>
15297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15299 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15301         [BZ #14803]
15302         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15303         of pi/2 rounded to nearest to 64 bits.
15304         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15305         nearest to 64 bits.
15306         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15307         bits.
15309 2012-11-28  Jeff Law <law@redhat.com>
15310             Martin Osvald <mosvald@redhat.com>
15312         [BZ #14889]
15313         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15314         * sunrpc/svc.c: Include time.h.
15315         (__svc_accept_failed): New function.
15316         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15317         any reason other than EINTR, call __svc_accept_failed.
15318         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15319         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15321 2012-11-28  Andreas Schwab  <schwab@suse.de>
15323         * scripts/abilist.awk: Also handle indirect functions in .opd
15324         section.
15326 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15328         [BZ #13881]
15329         * sysdeps/x86/fpu/powl_helper.c: New file.
15330         * sysdeps/x86/fpu/Makefile: Likewise.
15331         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15332         (p3): New object.
15333         (__ieee754_powl): Use __powl_helper for finite arguments except
15334         integer exponents below 8.
15335         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15336         (p3): New object.
15337         (__ieee754_powl): Use __powl_helper for finite arguments except
15338         integer exponents below 8.
15339         * math/libm-test.inc (pow_test): Add more tests and enable some
15340         previously disabled tests.
15341         * sysdeps/i386/fpu/libm-test-ulps: Update.
15342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15344 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15345             Carlos O'Donell  <carlos_odonell@mentor.com>
15347         * nss/makedb.c (is_prime): Assert that input is odd and greater
15348         than 4.  Note that fact in a comment too.
15349         (next_prime): Add 4 to input.
15351 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15353         [BZ #11741]
15354         * libio/Makefile (tests): Add test case tst-fwrite-error.
15355         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15356         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15357         * libio/tst-fwrite-error.c: New test case.
15359 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15361         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15362         before casting to void *.
15363         * include/libc-internal.h (__pointer_type): New macro.
15364         (__integer_if_pointer_type_sub): Likewise.
15365         (__integer_if_pointer_type): Likewise.
15366         (cast_to_integer): Likewise.
15367         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15368         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15369         before casting to atomic64_t.
15370         (atomic_exchange_acq): Likewise.
15371         (__arch_exchange_and_add_body): Likewise.
15372         (__arch_add_body): Likewise.
15373         (atomic_add_negative): Likewise.
15374         (atomic_add_zero): Likewise.
15376 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15378         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15379         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15380         (add_fdes): Likewise.
15381         (linear_search_fdes): Likewise.
15382         (binary_search_unencoded_fdes): Likewise.
15384 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15386         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15388 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15390         * configure.in: Autodetect C++ header directories.
15391         * configure: Regenerated.
15393 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15395         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15397 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15401 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15403         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15404         LDBL_MANT_DIG == 106]: Disable some tests.
15405         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15406         Likewise.
15407         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15408         Likewise.
15410         [BZ #14871]
15411         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15412         input for small inputs.  Return +/- pi/2 for large inputs.
15413         * math/libm-test.inc (atan_test): Add more tests.
15415         * sysdeps/generic/unwind-dw2-fde-glibc.c
15416         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15417         __attribute__ ((unused)).
15419         [BZ #14645]
15420         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15421         x * y if x and y are nonzero and z is zero.
15423         [BZ #14811]
15424         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15425         nonzero exponents with absolute value below 0x1p-117 to +/-
15426         0x1p-117.
15428         [BZ #14869]
15429         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15430         up arguments below 2**-450, not just those below 2**-500.
15431         * math/libm-test.inc (hypot_test): Add another test.
15433         [BZ #14868]
15434         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15435         Return a+b for ratio over 2**120, not 2**60.
15436         * math/libm-test.inc (hypot_test): Add another test.
15438         * math/libm-test.inc (clog_test): Use
15439         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15440         (clog10_test): Likewise.
15442         [BZ #6778]
15443         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15445 2012-11-22  Andreas Schwab  <schwab@suse.de>
15447         * sysdeps/i386/fpu/libm-test-ulps: Update.
15449 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15451         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15452         printf output with newline.
15454 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15456         [BZ #14865]
15457         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15458         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15459         -z nodlopen, -z initfirst and -z execstack support.
15460         * configure: Regenerated.
15462         * elf/elf.h (DF_1_NODIRECT): New macro.
15463         (DF_1_IGNMULDEF): Likewise.
15464         (DF_1_NOKSYMS): Likewise.
15465         (DF_1_NOHDR): Likewise.
15466         (DF_1_EDITED): Likewise.
15467         (DF_1_NORELOC): Likewise.
15468         (DF_1_SYMINTPOSE): Likewise.
15469         (DF_1_GLOBAUDIT): Likewise.
15470         (DF_1_SINGLETON): Likewise.
15471         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15472         DT_1_SUPPORTED_MASK bits.
15473         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15475 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15477         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15479 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15481         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15482         macro.
15484         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15485         (sendmmsg): Move declarations...
15486         * socket/sys/socket.h: ... here.
15487         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15488         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15489         include it from...
15490         * socket/recvmmsg.c: ... this new file.
15491         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15492         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15493         definition of __sendmmsg hidden.
15494         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15495         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15496         Move ENOSYS stub into and include it from...
15497         * socket/sendmmsg.c: ... this new file.
15498         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15499         (sysdep_routines): Move recvmmsg and sendmmsg...
15500         * socket/Makefile (routines): ... here.
15501         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15502         (GLIBC_PRIVATE): Add __sendmmsg.
15503         * include/sys/socket.h (__sendmmsg): Add declarations.
15504         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15505         sendmmsg.
15507 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15509         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15510         variable I1 with __attribute__ ((unused)).
15511         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15513 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15515         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15516         DUMMY variables with __attribute__ ((unused)).
15518         * bits/byteswap.h: Include <bits/types.h>.
15519         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15521 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15523         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15524         string_t.  Do not manually set errno.
15525         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15526         length with __strnlen.  Make sure to both set errno and return it on
15527         failure.
15529 2012-11-19  David S. Miller  <davem@davemloft.net>
15531         With help from Joseph Myers.
15532         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15533         very large arguments properly.
15534         * math/libm-test.inc (atan_test): New tests.
15535         (atan2_test): New tests.
15536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15539 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15541         [BZ #14856]
15542         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15543         Define to 3.
15545         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15546         [POSIX] (EADDRNOTAVAIL): Likewise.
15547         [POSIX] (EAFNOSUPPORT): Likewise.
15548         [POSIX] (EALREADY): Likewise.
15549         [POSIX] (ECONNABORTED): Likewise.
15550         [POSIX] (ECONNREFUSED): Likewise.
15551         [POSIX] (ECONNRESET): Likewise.
15552         [POSIX] (EDESTADDRREQ): Likewise.
15553         [POSIX] (EDQUOT): Likewise.
15554         [POSIX] (EHOSTUNREACH): Likewise.
15555         [POSIX] (EIDRM): Likewise.
15556         [POSIX] (EISCONN): Likewise.
15557         [POSIX] (ELOOP): Likewise.
15558         [POSIX] (EMULTIHOP): Likewise.
15559         [POSIX] (ENETDOWN): Likewise.
15560         [POSIX] (ENETUNREACH): Likewise.
15561         [POSIX] (ENOBUFS): Likewise.
15562         [POSIX] (ENODATA): Likewise.
15563         [POSIX] (ENOLINK): Likewise.
15564         [POSIX] (ENOMSG): Likewise.
15565         [POSIX] (ENOPROTOOPT): Likewise.
15566         [POSIX] (ENOSR): Likewise.
15567         [POSIX] (ENOSTR): Likewise.
15568         [POSIX] (ENOTCONN): Likewise.
15569         [POSIX] (ENOTSOCK): Likewise.
15570         [POSIX] (EOPNOTSUPP): Likewise.
15571         [POSIX] (EOVERFLOW): Likewise.
15572         [POSIX] (EPROTO): Likewise.
15573         [POSIX] (EPROTONOSUPPORT): Likewise.
15574         [POSIX] (EPROTOTYPE): Likewise.
15575         [POSIX] (ESTALE): Likewise.
15576         [POSIX] (ETIME): Likewise.
15577         [POSIX] (ETXTBSY): Likewise.
15578         [POSIX] (EWOULDBLOCK): Likewise.
15579         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15580         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15581         [POSIX] (SEEK_CUR): Likewise.
15582         [POSIX] (SEEK_END): Likewise.
15583         [POSIX || UNIX98] (mode_t): Do not require.
15584         [POSIX] (off_t): Likewise.
15585         [POSIX] (pid_t): Likewise.
15586         [POSIX] (sys/stat.h): Do not allow header.
15587         [POSIX] (unistd.h): Likewise.
15588         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15589         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15590         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15591         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15592         require.
15593         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15594         sigevent): Specify elements.
15595         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15596         entry.
15597         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15598         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15600         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15601         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15602         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15603         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15604         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15605         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15606         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15607         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15608         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15609         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15610         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15611         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15612         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15613         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15614         Likewise.
15615         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15616         Likewise.
15617         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15618         Likewise.
15619         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15620         Likewise.
15621         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15622         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15623         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15624         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15625         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15626         Specify lower bound on value.
15627         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15628         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15629         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15630         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15631         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15632         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15633         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15634         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15635         value.
15636         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15637         as optional.
15638         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15639         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15640         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15641         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15642         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15643         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15644         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15645         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15646         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15647         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15648         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15649         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15650         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15651         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15652         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15653         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15654         entry.
15655         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15656         optional.
15657         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15658         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15659         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15660         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15661         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15662         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15663         Likewise.
15664         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15665         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15666         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15667         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15668         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15669         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15670         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15671         as optional.
15672         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15673         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15674         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15675         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15676         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15677         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15678         specify as optional.
15679         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15680         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15681         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15682         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15683         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15684         [XPG3] (NL_LANGMAX): Likewise.
15685         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15686         [POSIX || XPG3] (NL_NMAX): Likewise.
15687         [POSIX || XPG3] (NL_SETMAX): Likewise.
15688         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15689         [XPG3] (NZERO): Likewise.
15690         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15691         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15692         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15693         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15694         (REG_ERANGE): Expect.
15695         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15696         optional-constant.
15697         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15698         Use (void) in prototype.
15699         [POSIX] (*_t): Allow.
15700         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15701         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15702         (WRDE_BADVAL): Expect.
15704         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15705         expect.
15706         [XPG3 || XPG4] (O_RSYNC): Likewise.
15707         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15708         Likewise.
15709         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15710         [XPG3 || XPG4] (sigqueue): Likewise.
15711         [XPG3 || XPG4] (sigtimedwait): Likewise.
15712         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15713         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15714         [XPG3 || XPG4] (vsnprintf): Likewise.
15715         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15716         Likewise.
15717         [XPG3 || XPG4] (blksize_t): Likewise.
15718         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15719         Likewise.
15720         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15721         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15722         [XPG3 || XPG4] (struct itimerspec): Likewise.
15723         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15724         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15725         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15726         [XPG3 || XPG4] (clockid_t): Likewise.
15727         [XPG3 || XPG4] (timer_t): Likewise.
15728         [XPG3 || XPG4] (clock_getres): Likewise.
15729         [XPG3 || XPG4] (clock_gettime): Likewise.
15730         [XPG3 || XPG4] (clock_settime): Likewise.
15731         [XPG3 || XPG4] (nanosleep): Likewise.
15732         [XPG3 || XPG4] (timer_create): Likewise.
15733         [XPG3 || XPG4] (timer_delete): Likewise.
15734         [XPG3 || XPG4] (timer_gettime): Likewise.
15735         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15736         [XPG3 || XPG4] (timer_settime): Likewise.
15737         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15738         [XPG3 || XPG4] (getlogin_r): Likewise.
15739         [XPG3 || XPG4] (pread): Likewise.
15740         [XPG3 || XPG4] (pthread_atfork): Likewise.
15741         [XPG3 || XPG4] (pwrite): Likewise.
15743         [BZ #14835]
15744         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15745         <bits/siginfo.h>.
15747 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15749         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15750         finalizing MALLSTREAM.
15752         * sysdeps/mach/hurd/syncfs.c: New file.
15754 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15756         [BZ #14719]
15757         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15758         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15759         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15760         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15761         (_nss_dns_gethostbyname4_r): Likewise.
15762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15763         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15765 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15767         [BZ #13763]
15768         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15770 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15772         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15773         * elf/cache.c (print_entry): Print ",AArch64" for
15774         FLAG_AARCH64_LIB64
15776         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15777         * elf/cache.c (print_entry): Print ",hard-float" for
15778         FLAG_ARM_LIBHF.
15780 2012-11-18  David S. Miller  <davem@davemloft.net>
15782         With help from Joseph Myers.
15783         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15784         cutoff to 2**-13.
15785         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15786         cutoff to 2**-25.
15787         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15788         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15789         small.
15790         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15791         * math/libm-test.inc (y0_test): New tests.
15792         (y1_test): New tests.
15793         * sysdeps/i386/fpu/libm-test-ulps: Update.
15794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15797 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15799         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15800         64-bit targets.
15801         * configure: Regenerated.
15803 2012-11-17  David S. Miller  <davem@davemloft.net>
15805         [BZ #14811]
15806         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15807         nonzero exponents with absolute value below 0x1p-128 to +/-
15808         0x1p-128.
15810 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15812         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15814         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15816         * posix/getconf-speclist.c: New file.
15817         * posix/posix-envs.def: Likewise.
15818         * posix/confstr.c (START_ENV_GROUP): New macro.
15819         (END_ENV_GROUP): Likewise.
15820         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15821         (KNOWN_PRESENT_ENV_STRING): Likewise.
15822         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15823         (UNKNOWN_ENVIRONMENT): Likewise.
15824         (confstr): Include posix-envs.def instead of handling
15825         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15826         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15827         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15828         (END_ENV_GROUP): Likewise.
15829         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15830         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15831         (UNKNOWN_ENVIRONMENT): Likewise.
15832         (__sysconf): Include posix-envs.def instead of handling associated
15833         cases directly here.
15834         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15835         preprocessing getconf-speclist.c rather than running getconf or
15836         generating empty file.
15838 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15840         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15842 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15844         [BZ #14672]
15845         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15847 2012-11-16  David S. Miller  <davem@davemloft.net>
15849         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15850         smaller than LDBL_EPSILON/2.0L, just return xm1.
15852 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15854         * elf/tst-array1.c (init): Set constructor priority to 1000.
15855         (fini): Set destructor priority to 1000.
15856         * elf/tst-array2dep.c: Likewise.
15858 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15860         [BZ #11741]
15861         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15862         (_IO_new_file_xsputn): Also return EOF if none of the input
15863         data was written when overflow failed.
15864         * libio/iopadn.c (_IO_padn): Likewise.
15865         * libio/iowpadn.c (_IO_wpadn): Likewise.
15866         * stdio-common/tst-put-error.c: Add copyright notice.
15867         (do_test): Add case for printing padded string.
15868         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15869         _IO_padn returned error.
15870         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15871         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15872         return EOF.
15874 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15876         * libio/libioP.h: Add comment note that the references to C++
15877         bits are now obsolete.
15879 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15881         * math/libm-test.inc (check_complex): Use asprintf.
15883 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15885         * debug/pcprofiledump.c (print_version): Update copyright year.
15886         * malloc/memusagestat.c (print_version): Likewise.
15888 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15890         [BZ #14831]
15891         * elf/Makefile (tests): Add tst-audit8.
15892         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15893         ($(objpfx)tst-audit8.out): New target.
15894         (tst-audit8-ENV): New variable.
15895         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15896         audit if l_reloc_result is NULL.
15897         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15898         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15899         * elf/tst-audit8.c: New file.
15901 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15903         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15904         * misc/Makefile (CFLAGS-select.c): Define.
15905         * posix/Makefile (CFLAGS-pause.c): Define.
15907 2012-11-13  David S. Miller  <davem@davemloft.net>
15909         * crypt/Makefile: Move test targets after toplevel Rules
15910         inclusion.  Grab any necessary sysdep routines when linking.
15911         * crypt/md5.c (md5_process_block): Remove define, we will always
15912         name it __md5_process_block.
15913         (md5_finish_ctx): Update md5_process_block call.
15914         (md5_stream): Likewise.
15915         (md5_process_bytes): Likewise.
15916         (md5_process_block): Rename to __md5_process_block and move to ...
15917         * crypt/md5-block.c: ... here.
15918         * crypt/sha256.c (sha256_process_block): Move to ...
15919         * crypt/sha256-block.c: ... here.
15920         * crypt/sha512.c (sha512_process_block): Move to ...
15921         * crypt/sha512-block.c: ... here.
15922         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15923         path.
15924         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15925         * sysdeps/sparc/sparc64/multiarch/Makefile
15926         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15927         crypt subdir.
15928         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15929         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15930         multiarch changes.
15931         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15932         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15933         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15934         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15935         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15936         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15937         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15938         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15939         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15940         file.
15941         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15942         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15943         file.
15944         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15946 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15948         * timezone/tzselect.ksh: Update from tzcode git revision
15949         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15950         * timezone/zdump.c: Likewise.
15951         * timezone/zic.c: Likewise.
15952         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15953         in TZVERSION setting, not $(PKGVERSION).
15954         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15955         REPORT_BUGS_TO settings.
15957         [BZ #14838]
15958         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15959         macro.
15961 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15963         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15964         detection to immediately after _FP_ROUND().
15965         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15966         bits are 0.
15968 2012-11-11  David S. Miller  <davem@davemloft.net>
15970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15971         inttypes.h
15972         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15973         __close rather than their public counterparts.
15975 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15977         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15978         file.
15979         [UNIX98] (sem_timedwait): Do not expect.
15980         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15981         [XPG4 || UNIX98] (sockatmark): Do not expect.
15982         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15983         (clock_getcpuclockid): Do not expect.
15984         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15985         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15986         Do not expect.
15987         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15988         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15989         [UNIX98] (vwscanf): Likewise.
15990         [UNIX98] (vswscanf): Likewise.
15992 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15994         * timezone/version.h: Remove file.
15995         * timezone/README: Do not refer to version.h.
15996         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15997         $(objpfx)version.h.
15998         ($(objpfx)zdump.o): Likewise.
15999         ($(objpfx)version.h): New target.
16001         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16002         2012i.
16003         * timezone/README: Don't mention modification to tzselect.ksh.
16004         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16005         work on unmodified tzselect.ksh.  Substitute version numbers in
16006         tzselect.ksh.
16008         * Makefile (format-me): Remove.
16009         (INSTALL): Adjust indentation.  Use commands directly instead of
16010         using $(format-me).
16012         * aclocal.m4 (ACX_PKGVERSION): New macro.
16013         (ACX_BUGURL): Likewise.
16014         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16015         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16016         (REPORT_BUGS_TO): Likewise.
16017         * configure: Regenerated.
16018         * config.h.in (PKGVERSION): New macro.
16019         (REPORT_BUGS_TO): Likewise.
16020         * config.make.in (PKGVERSION): New variable.
16021         (PKGVERSION_TEXI): Likewise.
16022         (REPORT_BUGS_TO): Likewise.
16023         (REPORT_BUGS_TEXI): Likewise.
16024         * Makefile (format-me): Use -I$(common-objpfx)manual.
16025         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16026         ($(common-objpfx)manual/%): New target.
16027         (manual/%): Remove target.
16028         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16029         (print_version): Use PKGVERSION.
16030         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16031         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16032         and REPORT_BUGS_TO.
16033         ($(objpfx)xtrace): Likewise.
16034         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16035         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16036         (print_version): Use PKGVERSION.
16037         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16038         (do_version): Use PKGVERSION.
16039         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16040         REPORT_BUGS_TO.
16041         (common-ldd-rewrite): Likewise.
16042         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16043         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16044         (print_version): Use PKGVERSION.
16045         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16046         * elf/pldd.c (argp_program_bug_address): Remove variable.
16047         (more_help): New function.
16048         (argp): Use more_help.
16049         (print_version): Use PKGVERSION.
16050         * elf/sln.c (main): Use PKGVERSION.
16051         (usage): Use REPORT_BUGS_TO.
16052         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16053         (top level): Use PKGVERSION.
16054         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16055         (print_version): Use PKGVERSION.
16056         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16057         (print_version): Use PKGVERSION.
16058         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16059         (print_version): Use PKGVERSION.
16060         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16061         (print_version): Use PKGVERSION.
16062         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16063         (print_version): Use PKGVERSION.
16064         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16065         (print_version): Use PKGVERSION.
16066         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16067         and BUGURL.
16068         ($(objpfx)memusage): Likewise.
16069         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16070         (do_version): Use PKGVERSION.
16071         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16072         (print_version): Use PKGVERSION.
16073         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16074         ($PKGVERSION): New variable.
16075         ($REPORT_BUGS_TO): Likewise.
16076         (usage): Use $REPORT_BUGS_TO.
16077         (top level): Use $PKGVERSION.
16078         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16079         ($(objpfx)pkgvers.texi): New rule.
16080         ($(objpfx)stamp-pkgvers): Likewise.
16081         * manual/install.texi: Include pkgvers.texi.
16082         (--with-pkgversion): Document new configure option.
16083         (--with-bugurl): Likewise.
16084         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16085         than necessarily for this particular distribution.  Use
16086         REPORT_BUGS_TO for where to report bugs.
16087         * INSTALL: Regenerated.
16088         * manual/libc.texinfo: Include pkgvers.texi.
16089         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16090         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16091         (print_version): Use PKGVERSION.
16092         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16093         (print_version): Use PKGVERSION.
16094         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16095         (print_version): Use PKGVERSION.
16096         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16097         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16098         macro.
16099         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16100         (print_version): Use PKGVERSION.
16101         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16102         (print_version): Use PKGVERSION.
16103         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16104         and PKGVERSION.
16106         * timezone/checktab.awk: Update from tzcode 2012i.
16107         * timezone/ialloc.c: Likewise.
16108         * timezone/private.h: Likewise.
16109         * timezone/scheck.c: Likewise.
16110         * timezone/tzfile.h: Likewise.
16111         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16112         (TZVERSION): Hardcode tzcode version number.
16113         * timezone/zdump.c: Update from tzcode 2012i.
16114         * timezone/zic.c: Likewise.
16115         * timezone/version.h: New file.
16116         * timezone/README: Describe version.h.  Update upstream location.
16118         [BZ #14824]
16119         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16120         (mktemp): Enable declaration.
16121         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16122         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16123         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16124         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16125         Likewise.
16126         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16127         Likewise.
16128         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16129         Likewise.
16130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16131         Likewise.
16132         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16133         Likewise.
16134         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16135         Likewise.
16137         [BZ #14821]
16138         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16139         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16140         for copies of such integer values.
16141         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16142         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16144 2012-11-09  Andreas Jaeger  <aj@suse.de>
16146         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16147         definitions and declarations that are provided by
16148         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16150 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16152         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16153         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16154         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16155         definition.
16157 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16159         * elf/elf.h: Update comment before AArch64 relocations.
16161 2012-11-07  David S. Miller  <davem@davemloft.net>
16163         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16164         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16165         (__start_context): Declare.
16166         (__makecontext_ret): Delete.
16167         (__makecontext): Hook up __start_context instead of
16168         __makecontext_ret.
16169         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16170         (sysdep_routines): Add __start_context when in stdlib.
16172 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16174         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16175         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16176         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16177         hardcoded "nm".
16178         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16179         (READELF): New variable.  Use it instead of hardcoded "readelf".
16181 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16183         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16184         * sysdeps/x86/Makefile: Here.
16185         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16186         * sysdeps/x86/tst-xmmymm.sh: This.
16188 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16190         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16191         expectations.
16192         [UNIX98] (pthread_barrier_t): Do not expect.
16193         [UNIX98] (pthread_barrierattr_t): Likewise.
16194         [UNIX98] (pthread_spinlock_t): Likewise.
16195         [UNIX98] (pthread_barrier_destroy): Likewise.
16196         [UNIX98] (pthread_barrier_init): Likewise.
16197         [UNIX98] (pthread_barrier_wait): Likewise.
16198         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16199         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16200         [UNIX98] (pthread_barrierattr_init): Likewise.
16201         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16202         [UNIX98] (pthread_getcpuclockid): Likewise.
16203         [UNIX98] (pthread_mutex_timedlock): Likewise.
16204         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16205         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16206         [UNIX98] (pthread_sigmask): Likewise.
16207         [UNIX98] (pthread_spin_destroy): Likewise.
16208         [UNIX98] (pthread_spin_init): Likewise.
16209         [UNIX98] (pthread_spin_lock): Likewise.
16210         [UNIX98] (pthread_spin_trylock): Likewise.
16211         [UNIX98] (pthread_spin_unlock): Likewise.
16212         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16213         Do not expect.
16214         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16215         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16216         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16217         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16218         [XPG3 || XPG4] (pthread_key_t): Likewise.
16219         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16220         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16221         [XPG3 || XPG4] (pthread_once_t): Likewise.
16222         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16223         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16224         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16225         [XPG3 || XPG4] (pthread_t): Likewise.
16227         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16228         not expect.
16229         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16231         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16232         Change function return type to int.
16234         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16235         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16236         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16237         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16238         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16239         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16240         [!POSIX] (posix_madvise): Likewise.
16241         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16242         && !UNIX98].
16243         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16244         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16245         (mode_t): Likewise.
16246         (posix_mem_offset): Likewise.
16247         (posix_typed_mem_get_info): Likewise.
16248         (posix_typed_mem_open): Likewise.
16250         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16251         Change condition to [XOPEN2K8].
16253         * conform/conformtest.pl: Preprocess allow-header data with -x c
16254         instead of from stdin.
16255         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16256         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16257         [C99-based standards] (cerfc): Likewise.
16258         [C99-based standards] (cexp2): Likewise.
16259         [C99-based standards] (cexpm1): Likewise.
16260         [C99-based standards] (clog10): Likewise.
16261         [C99-based standards] (clog1p): Likewise.
16262         [C99-based standards] (clog2): Likewise.
16263         [C99-based standards] (clgamma): Likewise.
16264         [C99-based standards] (ctgamma): Likewise.
16265         [C99-based standards] (cerff): Likewise.
16266         [C99-based standards] (cerfcf): Likewise.
16267         [C99-based standards] (cexp2f): Likewise.
16268         [C99-based standards] (cexpm1f): Likewise.
16269         [C99-based standards] (clog10f): Likewise.
16270         [C99-based standards] (clog1pf): Likewise.
16271         [C99-based standards] (clog2f): Likewise.
16272         [C99-based standards] (clgammaf): Likewise.
16273         [C99-based standards] (ctgammaf): Likewise.
16274         [C99-based standards] (cerfl): Likewise.
16275         [C99-based standards] (cerfcl): Likewise.
16276         [C99-based standards] (cexp2l): Likewise.
16277         [C99-based standards] (cexpm1l): Likewise.
16278         [C99-based standards] (clog10l): Likewise.
16279         [C99-based standards] (clog1pl): Likewise.
16280         [C99-based standards] (clog2l): Likewise.
16281         [C99-based standards] (clgammal): Likewise.
16282         [C99-based standards] (ctgammal): Likewise.
16283         * conform/data/inttypes.h-data [C99-based standards]: Include
16284         stdint.h-data.  Remove all expectations for stdint.h contents.
16285         [C99-based standards] (PRI*): Do not allow.
16286         [C99-based standards] (SCN*): Likewise.
16287         [C99-based standards] (*_t): Likewise.
16288         [C99-based-standards] (PRId8): Expect macro.
16289         [C99-based-standards] (PRIi8): Likewise.
16290         [C99-based-standards] (PRIo8): Likewise.
16291         [C99-based-standards] (PRIu8): Likewise.
16292         [C99-based-standards] (PRIx8): Likewise.
16293         [C99-based-standards] (PRIX8): Likewise.
16294         [C99-based-standards] (SCNd8): Likewise.
16295         [C99-based-standards] (SCNi8): Likewise.
16296         [C99-based-standards] (SCNo8): Likewise.
16297         [C99-based-standards] (SCNu8): Likewise.
16298         [C99-based-standards] (SCNx8): Likewise.
16299         [C99-based-standards] (PRIdLEAST8): Likewise.
16300         [C99-based-standards] (PRIiLEAST8): Likewise.
16301         [C99-based-standards] (PRIoLEAST8): Likewise.
16302         [C99-based-standards] (PRIuLEAST8): Likewise.
16303         [C99-based-standards] (PRIxLEAST8): Likewise.
16304         [C99-based-standards] (PRIXLEAST8): Likewise.
16305         [C99-based-standards] (SCNdLEAST8): Likewise.
16306         [C99-based-standards] (SCNiLEAST8): Likewise.
16307         [C99-based-standards] (SCNoLEAST8): Likewise.
16308         [C99-based-standards] (SCNuLEAST8): Likewise.
16309         [C99-based-standards] (SCNxLEAST8): Likewise.
16310         [C99-based-standards] (PRIdFAST8): Likewise.
16311         [C99-based-standards] (PRIiFAST8): Likewise.
16312         [C99-based-standards] (PRIoFAST8): Likewise.
16313         [C99-based-standards] (PRIuFAST8): Likewise.
16314         [C99-based-standards] (PRIxFAST8): Likewise.
16315         [C99-based-standards] (PRIXFAST8): Likewise.
16316         [C99-based-standards] (SCNdFAST8): Likewise.
16317         [C99-based-standards] (SCNiFAST8): Likewise.
16318         [C99-based-standards] (SCNoFAST8): Likewise.
16319         [C99-based-standards] (SCNuFAST8): Likewise.
16320         [C99-based-standards] (SCNxFAST8): Likewise.
16321         [C99-based-standards] (PRId16): Likewise.
16322         [C99-based-standards] (PRIi16): Likewise.
16323         [C99-based-standards] (PRIo16): Likewise.
16324         [C99-based-standards] (PRIu16): Likewise.
16325         [C99-based-standards] (PRIx16): Likewise.
16326         [C99-based-standards] (PRIX16): Likewise.
16327         [C99-based-standards] (SCNd16): Likewise.
16328         [C99-based-standards] (SCNi16): Likewise.
16329         [C99-based-standards] (SCNo16): Likewise.
16330         [C99-based-standards] (SCNu16): Likewise.
16331         [C99-based-standards] (SCNx16): Likewise.
16332         [C99-based-standards] (PRIdLEAST16): Likewise.
16333         [C99-based-standards] (PRIiLEAST16): Likewise.
16334         [C99-based-standards] (PRIoLEAST16): Likewise.
16335         [C99-based-standards] (PRIuLEAST16): Likewise.
16336         [C99-based-standards] (PRIxLEAST16): Likewise.
16337         [C99-based-standards] (PRIXLEAST16): Likewise.
16338         [C99-based-standards] (SCNdLEAST16): Likewise.
16339         [C99-based-standards] (SCNiLEAST16): Likewise.
16340         [C99-based-standards] (SCNoLEAST16): Likewise.
16341         [C99-based-standards] (SCNuLEAST16): Likewise.
16342         [C99-based-standards] (SCNxLEAST16): Likewise.
16343         [C99-based-standards] (PRIdFAST16): Likewise.
16344         [C99-based-standards] (PRIiFAST16): Likewise.
16345         [C99-based-standards] (PRIoFAST16): Likewise.
16346         [C99-based-standards] (PRIuFAST16): Likewise.
16347         [C99-based-standards] (PRIxFAST16): Likewise.
16348         [C99-based-standards] (PRIXFAST16): Likewise.
16349         [C99-based-standards] (SCNdFAST16): Likewise.
16350         [C99-based-standards] (SCNiFAST16): Likewise.
16351         [C99-based-standards] (SCNoFAST16): Likewise.
16352         [C99-based-standards] (SCNuFAST16): Likewise.
16353         [C99-based-standards] (SCNxFAST16): Likewise.
16354         [C99-based-standards] (PRId32): Likewise.
16355         [C99-based-standards] (PRIi32): Likewise.
16356         [C99-based-standards] (PRIo32): Likewise.
16357         [C99-based-standards] (PRIu32): Likewise.
16358         [C99-based-standards] (PRIx32): Likewise.
16359         [C99-based-standards] (PRIX32): Likewise.
16360         [C99-based-standards] (SCNd32): Likewise.
16361         [C99-based-standards] (SCNi32): Likewise.
16362         [C99-based-standards] (SCNo32): Likewise.
16363         [C99-based-standards] (SCNu32): Likewise.
16364         [C99-based-standards] (SCNx32): Likewise.
16365         [C99-based-standards] (PRIdLEAST32): Likewise.
16366         [C99-based-standards] (PRIiLEAST32): Likewise.
16367         [C99-based-standards] (PRIoLEAST32): Likewise.
16368         [C99-based-standards] (PRIuLEAST32): Likewise.
16369         [C99-based-standards] (PRIxLEAST32): Likewise.
16370         [C99-based-standards] (PRIXLEAST32): Likewise.
16371         [C99-based-standards] (SCNdLEAST32): Likewise.
16372         [C99-based-standards] (SCNiLEAST32): Likewise.
16373         [C99-based-standards] (SCNoLEAST32): Likewise.
16374         [C99-based-standards] (SCNuLEAST32): Likewise.
16375         [C99-based-standards] (SCNxLEAST32): Likewise.
16376         [C99-based-standards] (PRIdFAST32): Likewise.
16377         [C99-based-standards] (PRIiFAST32): Likewise.
16378         [C99-based-standards] (PRIoFAST32): Likewise.
16379         [C99-based-standards] (PRIuFAST32): Likewise.
16380         [C99-based-standards] (PRIxFAST32): Likewise.
16381         [C99-based-standards] (PRIXFAST32): Likewise.
16382         [C99-based-standards] (SCNdFAST32): Likewise.
16383         [C99-based-standards] (SCNiFAST32): Likewise.
16384         [C99-based-standards] (SCNoFAST32): Likewise.
16385         [C99-based-standards] (SCNuFAST32): Likewise.
16386         [C99-based-standards] (SCNxFAST32): Likewise.
16387         [C99-based-standards] (PRId64): Likewise.
16388         [C99-based-standards] (PRIi64): Likewise.
16389         [C99-based-standards] (PRIo64): Likewise.
16390         [C99-based-standards] (PRIu64): Likewise.
16391         [C99-based-standards] (PRIx64): Likewise.
16392         [C99-based-standards] (PRIX64): Likewise.
16393         [C99-based-standards] (SCNd64): Likewise.
16394         [C99-based-standards] (SCNi64): Likewise.
16395         [C99-based-standards] (SCNo64): Likewise.
16396         [C99-based-standards] (SCNu64): Likewise.
16397         [C99-based-standards] (SCNx64): Likewise.
16398         [C99-based-standards] (PRIdLEAST64): Likewise.
16399         [C99-based-standards] (PRIiLEAST64): Likewise.
16400         [C99-based-standards] (PRIoLEAST64): Likewise.
16401         [C99-based-standards] (PRIuLEAST64): Likewise.
16402         [C99-based-standards] (PRIxLEAST64): Likewise.
16403         [C99-based-standards] (PRIXLEAST64): Likewise.
16404         [C99-based-standards] (SCNdLEAST64): Likewise.
16405         [C99-based-standards] (SCNiLEAST64): Likewise.
16406         [C99-based-standards] (SCNoLEAST64): Likewise.
16407         [C99-based-standards] (SCNuLEAST64): Likewise.
16408         [C99-based-standards] (SCNxLEAST64): Likewise.
16409         [C99-based-standards] (PRIdFAST64): Likewise.
16410         [C99-based-standards] (PRIiFAST64): Likewise.
16411         [C99-based-standards] (PRIoFAST64): Likewise.
16412         [C99-based-standards] (PRIuFAST64): Likewise.
16413         [C99-based-standards] (PRIxFAST64): Likewise.
16414         [C99-based-standards] (PRIXFAST64): Likewise.
16415         [C99-based-standards] (SCNdFAST64): Likewise.
16416         [C99-based-standards] (SCNiFAST64): Likewise.
16417         [C99-based-standards] (SCNoFAST64): Likewise.
16418         [C99-based-standards] (SCNuFAST64): Likewise.
16419         [C99-based-standards] (SCNxFAST64): Likewise.
16420         [C99-based-standards] (PRIdMAX): Likewise.
16421         [C99-based-standards] (PRIiMAX): Likewise.
16422         [C99-based-standards] (PRIoMAX): Likewise.
16423         [C99-based-standards] (PRIuMAX): Likewise.
16424         [C99-based-standards] (PRIxMAX): Likewise.
16425         [C99-based-standards] (PRIXMAX): Likewise.
16426         [C99-based-standards] (SCNdMAX): Likewise.
16427         [C99-based-standards] (SCNiMAX): Likewise.
16428         [C99-based-standards] (SCNoMAX): Likewise.
16429         [C99-based-standards] (SCNuMAX): Likewise.
16430         [C99-based-standards] (SCNxMAX): Likewise.
16431         [C99-based-standards] (PRIdPTR): Likewise.
16432         [C99-based-standards] (PRIiPTR): Likewise.
16433         [C99-based-standards] (PRIoPTR): Likewise.
16434         [C99-based-standards] (PRIuPTR): Likewise.
16435         [C99-based-standards] (PRIxPTR): Likewise.
16436         [C99-based-standards] (PRIXPTR): Likewise.
16437         [C99-based-standards] (SCNdPTR): Likewise.
16438         [C99-based-standards] (SCNiPTR): Likewise.
16439         [C99-based-standards] (SCNoPTR): Likewise.
16440         [C99-based-standards] (SCNuPTR): Likewise.
16441         [C99-based-standards] (SCNxPTR): Likewise.
16442         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16443         allow.
16444         * conform/data/stdint.h-data: Update comments to clarify
16445         requirements.
16446         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16447         type.
16448         [C99-based standards] (INT8_MAX): Likewise.
16449         [C99-based standards] (INT16_MIN): Likewise.
16450         [C99-based standards] (INT16_MAX): Likewise.
16451         [C99-based standards] (INT32_MIN): Likewise.
16452         [C99-based standards] (INT32_MAX): Likewise.
16453         [C99-based standards] (INT64_MIN): Likewise.
16454         [C99-based standards] (INT64_MAX): Likewise.
16455         [C99-based standards] (UINT8_MAX): Likewise.
16456         [C99-based standards] (UINT16_MAX): Likewise.
16457         [C99-based standards] (UINT32_MAX): Likewise.
16458         [C99-based standards] (UINT64_MAX): Likewise.
16459         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16460         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16461         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16462         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16463         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16464         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16465         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16466         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16467         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16468         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16469         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16470         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16471         [C99-based standards] (INT_FAST8_MIN): Likewise.
16472         [C99-based standards] (INT_FAST8_MAX): Likewise.
16473         [C99-based standards] (INT_FAST16_MIN): Likewise.
16474         [C99-based standards] (INT_FAST16_MAX): Likewise.
16475         [C99-based standards] (INT_FAST32_MIN): Likewise.
16476         [C99-based standards] (INT_FAST32_MAX): Likewise.
16477         [C99-based standards] (INT_FAST64_MIN): Likewise.
16478         [C99-based standards] (INT_FAST64_MAX): Likewise.
16479         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16480         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16481         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16482         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16483         [C99-based standards] (INTPTR_MIN): Likewise.
16484         [C99-based standards] (INTPTR_MAX): Likewise.
16485         [C99-based standards] (UINTPTR_MAX): Likewise.
16486         [C99-based standards] (INTMAX_MIN): Likewise.
16487         [C99-based standards] (INTMAX_MAX): Likewise.
16488         [C99-based standards] (UINTMAX_MAX): Likewise.
16489         [C99-based standards] (PTRDIFF_MIN): Likewise.
16490         [C99-based standards] (PTRDIFF_MAX): Likewise.
16491         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16492         [C99-based standards] (SIZE_MAX): Likewise.
16493         [C99-based standards] (WCHAR_MAX): Likewise.
16494         [C99-based standards] (WINT_MAX): Likewise.
16495         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16496         constraint on value.
16497         [C99-based standards] (WCHAR_MIN): Likewise.
16498         [C99-based standards] (WINT_MIN): Likewise.
16499         [C99-based standards] (*_t): Allow.
16500         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16501         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16502         Include math.h-data and complex.h-data.  Remove all expectations
16503         of math.h and complex.h contents.
16504         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16505         at end of line.
16506         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16507         (struct tm): Expect tag.
16508         [C99-based-standards] (wcstof): Expect function.
16509         [C99-based-standards] (wcstold): Likewise.
16510         [C99-based-standards] (wcstoll): Likewise.
16511         [C99-based-standards] (wcstoull): Likewise.
16512         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16513         macro-int-constant.  Specify type.
16514         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16515         constraint on value.
16516         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16517         Specify type.
16518         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16519         Specify value.
16520         [ISO C standards]: Do not allow headers.
16521         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16522         wcs[abcdefghijklmnopqrstuvwxyz]*.
16523         [ISO C standards] (*_t): Do not allow.
16524         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16525         Expect function.
16526         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16527         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16528         Specify type.
16529         [ISO C standards]: Do not allow headers.
16530         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16531         is[abcdefghijklmnopqrstuvwxyz]*.
16532         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16533         to[abcdefghijklmnopqrstuvwxyz]*.
16534         [ISO C standards] (*_t): Do not allow.
16535         * conform/data/stdalign.h-data: New file.
16536         * conform/data/stdbool.h-data: Likewise.
16537         * conform/data/stdnoreturn.h-data: Likewise.
16539 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16541         [BZ #14815]
16542         * manual/filesys.texi (Directory Entries): Typo fix.
16543         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16545 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16547         * elf/elf.h (EM_AARCH64): New macro.
16548         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16549         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16550         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16551         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16552         (R_AARCH64_TLSDESC): Likewise.
16553         (NT_ARM_TLS): Likewise.
16554         (NT_ARM_HW_BREAK): Likewise.
16555         (NT_ARM_HW_WATCH): Likewise.
16557 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16559         [BZ #14811]
16560         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16561         (__ieee754_powl): Saturate nonzero exponents with absolute value
16562         below 0x1p-79 to +/- 0x1p-79.
16563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16564         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16565         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16566         nonzero exponents with absolute value below 0x1p-32 to +/-
16567         0x1p-32.
16568         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16569         (__ieee754_powl): Saturate nonzero exponents with absolute value
16570         below 0x1p-79 to +/- 0x1p-79.
16571         * math/libm-test.inc (pow_test): Add more tests.
16573 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16575         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16576         _dl_s390_cap_flags with kernel. Increase string length.
16577         (_dl_s390_platforms): Add z196 and zEC12.
16579 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16581         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16582         Change XOPEN21K to XOPEN2K.
16584 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16586         * string/memmove.c: Use memcpy when possible.
16588 2012-11-06  Andreas Jaeger  <aj@suse.de>
16590         * po/eo.po: Update from translation team.
16592 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16594         [BZ #14793]
16595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16596         exponent and small x and y exponents, scale x or y up.  Increase
16597         by 2 the exponent used in scaling up.
16598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16599         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16600         * math/libm-test.inc (fma_test): Add more tests.
16601         (fma_test_towardzero): Likewise.
16602         (fma_test_downward): Likewise.
16603         (fma_test_upward): Likewise.
16605 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16607         [BZ #14805]
16608         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16609         fenv_t *.
16611         [BZ #14801]
16612         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16613         namespace for names of struct fields.
16614         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16615         fenv_t fields.
16616         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16617         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16619 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16621         [BZ #3665]
16622         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16624 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16626         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16627         PTR_DEMANGLE.
16629         [BZ #5246]
16630         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16631         PTR_DEMANGLE.
16633 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16635         [BZ #14797]
16636         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16637         definitely overflow as x * y not x * y + z.
16638         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16639         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16640         * math/libm-test.inc (fma_test): Add more tests.
16641         (fma_test_towardzero): Likewise.
16642         (fma_test_downward): Likewise.
16643         (fma_test_upward): Likewise.
16645 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16647         [BZ #157]
16649         * include/stub-tag.h: Remove file.
16650         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16651         '#include' of it.
16652         * manual/maint.texi (Porting): Don't reference it.
16653         * Makerules ($(objpfx)stubs): Likewise.
16654         * dirent/closedir.c: Don't include <stub-tag.h>.
16655         * dirent/dirfd.c: Likewise.
16656         * dirent/fdopendir.c: Likewise.
16657         * dirent/getdents.c: Likewise.
16658         * dirent/getdents64.c: Likewise.
16659         * dirent/opendir.c: Likewise.
16660         * dirent/readdir.c: Likewise.
16661         * dirent/readdir64.c: Likewise.
16662         * dirent/readdir64_r.c: Likewise.
16663         * dirent/readdir_r.c: Likewise.
16664         * dirent/rewinddir.c: Likewise.
16665         * dirent/seekdir.c: Likewise.
16666         * dirent/telldir.c: Likewise.
16667         * gmon/profil.c: Likewise.
16668         * grp/setgroups.c: Likewise.
16669         * inet/if_index.c: Likewise.
16670         * io/access.c: Likewise.
16671         * io/chdir.c: Likewise.
16672         * io/chmod.c: Likewise.
16673         * io/chown.c: Likewise.
16674         * io/close.c: Likewise.
16675         * io/dup.c: Likewise.
16676         * io/dup2.c: Likewise.
16677         * io/dup3.c: Likewise.
16678         * io/euidaccess.c: Likewise.
16679         * io/faccessat.c: Likewise.
16680         * io/fchdir.c: Likewise.
16681         * io/fchmod.c: Likewise.
16682         * io/fchmodat.c: Likewise.
16683         * io/fchown.c: Likewise.
16684         * io/fchownat.c: Likewise.
16685         * io/fcntl.c: Likewise.
16686         * io/flock.c: Likewise.
16687         * io/fstatfs.c: Likewise.
16688         * io/fstatfs64.c: Likewise.
16689         * io/fstatvfs.c: Likewise.
16690         * io/fstatvfs64.c: Likewise.
16691         * io/futimens.c: Likewise.
16692         * io/fxstat.c: Likewise.
16693         * io/fxstat64.c: Likewise.
16694         * io/fxstatat.c: Likewise.
16695         * io/fxstatat64.c: Likewise.
16696         * io/getcwd.c: Likewise.
16697         * io/isatty.c: Likewise.
16698         * io/lchmod.c: Likewise.
16699         * io/lchown.c: Likewise.
16700         * io/link.c: Likewise.
16701         * io/linkat.c: Likewise.
16702         * io/lseek.c: Likewise.
16703         * io/lseek64.c: Likewise.
16704         * io/lxstat64.c: Likewise.
16705         * io/mkdir.c: Likewise.
16706         * io/mkdirat.c: Likewise.
16707         * io/mkfifo.c: Likewise.
16708         * io/mkfifoat.c: Likewise.
16709         * io/open.c: Likewise.
16710         * io/open64.c: Likewise.
16711         * io/openat.c: Likewise.
16712         * io/openat64.c: Likewise.
16713         * io/pipe.c: Likewise.
16714         * io/pipe2.c: Likewise.
16715         * io/poll.c: Likewise.
16716         * io/posix_fadvise.c: Likewise.
16717         * io/posix_fadvise64.c: Likewise.
16718         * io/posix_fallocate.c: Likewise.
16719         * io/posix_fallocate64.c: Likewise.
16720         * io/read.c: Likewise.
16721         * io/readlink.c: Likewise.
16722         * io/readlinkat.c: Likewise.
16723         * io/rmdir.c: Likewise.
16724         * io/sendfile.c: Likewise.
16725         * io/sendfile64.c: Likewise.
16726         * io/statfs.c: Likewise.
16727         * io/statfs64.c: Likewise.
16728         * io/statvfs.c: Likewise.
16729         * io/statvfs64.c: Likewise.
16730         * io/symlink.c: Likewise.
16731         * io/symlinkat.c: Likewise.
16732         * io/ttyname.c: Likewise.
16733         * io/ttyname_r.c: Likewise.
16734         * io/umask.c: Likewise.
16735         * io/unlink.c: Likewise.
16736         * io/unlinkat.c: Likewise.
16737         * io/utime.c: Likewise.
16738         * io/utimensat.c: Likewise.
16739         * io/write.c: Likewise.
16740         * io/xmknod.c: Likewise.
16741         * io/xmknodat.c: Likewise.
16742         * io/xstat.c: Likewise.
16743         * io/xstat64.c: Likewise.
16744         * login/getpt.c: Likewise.
16745         * login/grantpt.c: Likewise.
16746         * login/unlockpt.c: Likewise.
16747         * math/e_acoshl.c: Likewise.
16748         * math/e_acosl.c: Likewise.
16749         * math/e_asinl.c: Likewise.
16750         * math/e_atan2l.c: Likewise.
16751         * math/e_atanhl.c: Likewise.
16752         * math/e_coshl.c: Likewise.
16753         * math/e_expl.c: Likewise.
16754         * math/e_fmodl.c: Likewise.
16755         * math/e_gammal_r.c: Likewise.
16756         * math/e_hypotl.c: Likewise.
16757         * math/e_j0l.c: Likewise.
16758         * math/e_j1l.c: Likewise.
16759         * math/e_jnl.c: Likewise.
16760         * math/e_lgammal_r.c: Likewise.
16761         * math/e_log10l.c: Likewise.
16762         * math/e_log2l.c: Likewise.
16763         * math/e_logl.c: Likewise.
16764         * math/e_powl.c: Likewise.
16765         * math/e_rem_pio2l.c: Likewise.
16766         * math/e_sinhl.c: Likewise.
16767         * math/e_sqrtl.c: Likewise.
16768         * math/fclrexcpt.c: Likewise.
16769         * math/fedisblxcpt.c: Likewise.
16770         * math/feenablxcpt.c: Likewise.
16771         * math/fegetenv.c: Likewise.
16772         * math/fegetexcept.c: Likewise.
16773         * math/fegetround.c: Likewise.
16774         * math/feholdexcpt.c: Likewise.
16775         * math/fesetenv.c: Likewise.
16776         * math/fesetround.c: Likewise.
16777         * math/feupdateenv.c: Likewise.
16778         * math/fgetexcptflg.c: Likewise.
16779         * math/fraiseexcpt.c: Likewise.
16780         * math/fsetexcptflg.c: Likewise.
16781         * math/ftestexcept.c: Likewise.
16782         * math/k_cosl.c: Likewise.
16783         * math/k_rem_pio2l.c: Likewise.
16784         * math/k_sinl.c: Likewise.
16785         * math/k_tanl.c: Likewise.
16786         * math/s_asinhl.c: Likewise.
16787         * math/s_atanl.c: Likewise.
16788         * math/s_cbrtl.c: Likewise.
16789         * math/s_erfl.c: Likewise.
16790         * math/s_expm1l.c: Likewise.
16791         * math/s_log1pl.c: Likewise.
16792         * math/s_tanhl.c: Likewise.
16793         * misc/acct.c: Likewise.
16794         * misc/brk.c: Likewise.
16795         * misc/chflags.c: Likewise.
16796         * misc/chroot.c: Likewise.
16797         * misc/fchflags.c: Likewise.
16798         * misc/fgetxattr.c: Likewise.
16799         * misc/flistxattr.c: Likewise.
16800         * misc/fremovexattr.c: Likewise.
16801         * misc/fsetxattr.c: Likewise.
16802         * misc/fsync.c: Likewise.
16803         * misc/ftruncate.c: Likewise.
16804         * misc/futimes.c: Likewise.
16805         * misc/futimesat.c: Likewise.
16806         * misc/getdomain.c: Likewise.
16807         * misc/getdtsz.c: Likewise.
16808         * misc/gethostid.c: Likewise.
16809         * misc/gethostname.c: Likewise.
16810         * misc/getloadavg.c: Likewise.
16811         * misc/getpagesize.c: Likewise.
16812         * misc/getsysstats.c: Likewise.
16813         * misc/getxattr.c: Likewise.
16814         * misc/gtty.c: Likewise.
16815         * misc/ioctl.c: Likewise.
16816         * misc/lgetxattr.c: Likewise.
16817         * misc/listxattr.c: Likewise.
16818         * misc/llistxattr.c: Likewise.
16819         * misc/lremovexattr.c: Likewise.
16820         * misc/lsetxattr.c: Likewise.
16821         * misc/lutimes.c: Likewise.
16822         * misc/madvise.c: Likewise.
16823         * misc/mincore.c: Likewise.
16824         * misc/mlock.c: Likewise.
16825         * misc/mlockall.c: Likewise.
16826         * misc/mmap.c: Likewise.
16827         * misc/mprotect.c: Likewise.
16828         * misc/msync.c: Likewise.
16829         * misc/munlock.c: Likewise.
16830         * misc/munlockall.c: Likewise.
16831         * misc/munmap.c: Likewise.
16832         * misc/preadv.c: Likewise.
16833         * misc/preadv64.c: Likewise.
16834         * misc/ptrace.c: Likewise.
16835         * misc/pwritev.c: Likewise.
16836         * misc/pwritev64.c: Likewise.
16837         * misc/readv.c: Likewise.
16838         * misc/reboot.c: Likewise.
16839         * misc/remap_file_pages.c: Likewise.
16840         * misc/removexattr.c: Likewise.
16841         * misc/revoke.c: Likewise.
16842         * misc/select.c: Likewise.
16843         * misc/setdomain.c: Likewise.
16844         * misc/setegid.c: Likewise.
16845         * misc/seteuid.c: Likewise.
16846         * misc/sethostid.c: Likewise.
16847         * misc/sethostname.c: Likewise.
16848         * misc/setregid.c: Likewise.
16849         * misc/setreuid.c: Likewise.
16850         * misc/setxattr.c: Likewise.
16851         * misc/sstk.c: Likewise.
16852         * misc/stty.c: Likewise.
16853         * misc/swapoff.c: Likewise.
16854         * misc/swapon.c: Likewise.
16855         * misc/sync.c: Likewise.
16856         * misc/syncfs.c: Likewise.
16857         * misc/syscall.c: Likewise.
16858         * misc/truncate.c: Likewise.
16859         * misc/ualarm.c: Likewise.
16860         * misc/usleep.c: Likewise.
16861         * misc/ustat.c: Likewise.
16862         * misc/utimes.c: Likewise.
16863         * misc/vhangup.c: Likewise.
16864         * misc/writev.c: Likewise.
16865         * posix/_exit.c: Likewise.
16866         * posix/alarm.c: Likewise.
16867         * posix/execve.c: Likewise.
16868         * posix/fexecve.c: Likewise.
16869         * posix/fork.c: Likewise.
16870         * posix/fpathconf.c: Likewise.
16871         * posix/getaddrinfo.c: Likewise.
16872         * posix/getegid.c: Likewise.
16873         * posix/geteuid.c: Likewise.
16874         * posix/getgid.c: Likewise.
16875         * posix/getgroups.c: Likewise.
16876         * posix/getlogin.c: Likewise.
16877         * posix/getlogin_r.c: Likewise.
16878         * posix/getpgid.c: Likewise.
16879         * posix/getpid.c: Likewise.
16880         * posix/getppid.c: Likewise.
16881         * posix/getresgid.c: Likewise.
16882         * posix/getresuid.c: Likewise.
16883         * posix/getsid.c: Likewise.
16884         * posix/getuid.c: Likewise.
16885         * posix/glob64.c: Likewise.
16886         * posix/nanosleep.c: Likewise.
16887         * posix/pathconf.c: Likewise.
16888         * posix/pause.c: Likewise.
16889         * posix/posix_madvise.c: Likewise.
16890         * posix/pread.c: Likewise.
16891         * posix/pread64.c: Likewise.
16892         * posix/pwrite.c: Likewise.
16893         * posix/pwrite64.c: Likewise.
16894         * posix/sched_getaffinity.c: Likewise.
16895         * posix/sched_getp.c: Likewise.
16896         * posix/sched_gets.c: Likewise.
16897         * posix/sched_primax.c: Likewise.
16898         * posix/sched_primin.c: Likewise.
16899         * posix/sched_rr_gi.c: Likewise.
16900         * posix/sched_setaffinity.c: Likewise.
16901         * posix/sched_setp.c: Likewise.
16902         * posix/sched_sets.c: Likewise.
16903         * posix/sched_yield.c: Likewise.
16904         * posix/setgid.c: Likewise.
16905         * posix/setlogin.c: Likewise.
16906         * posix/setpgid.c: Likewise.
16907         * posix/setresgid.c: Likewise.
16908         * posix/setresuid.c: Likewise.
16909         * posix/setsid.c: Likewise.
16910         * posix/setuid.c: Likewise.
16911         * posix/sleep.c: Likewise.
16912         * posix/spawni.c: Likewise.
16913         * posix/sysconf.c: Likewise.
16914         * posix/times.c: Likewise.
16915         * posix/wait.c: Likewise.
16916         * posix/wait3.c: Likewise.
16917         * posix/wait4.c: Likewise.
16918         * posix/waitpid.c: Likewise.
16919         * resolv/gai_sigqueue.c: Likewise.
16920         * resource/getpriority.c: Likewise.
16921         * resource/getrlimit.c: Likewise.
16922         * resource/getrusage.c: Likewise.
16923         * resource/nice.c: Likewise.
16924         * resource/setpriority.c: Likewise.
16925         * resource/setrlimit.c: Likewise.
16926         * resource/ulimit.c: Likewise.
16927         * rt/aio_cancel.c: Likewise.
16928         * rt/aio_fsync.c: Likewise.
16929         * rt/aio_read.c: Likewise.
16930         * rt/aio_sigqueue.c: Likewise.
16931         * rt/aio_suspend.c: Likewise.
16932         * rt/aio_write.c: Likewise.
16933         * rt/clock_getres.c: Likewise.
16934         * rt/clock_gettime.c: Likewise.
16935         * rt/clock_nanosleep.c: Likewise.
16936         * rt/clock_settime.c: Likewise.
16937         * rt/lio_listio.c: Likewise.
16938         * rt/mq_close.c: Likewise.
16939         * rt/mq_getattr.c: Likewise.
16940         * rt/mq_notify.c: Likewise.
16941         * rt/mq_open.c: Likewise.
16942         * rt/mq_receive.c: Likewise.
16943         * rt/mq_send.c: Likewise.
16944         * rt/mq_setattr.c: Likewise.
16945         * rt/mq_timedreceive.c: Likewise.
16946         * rt/mq_timedsend.c: Likewise.
16947         * rt/mq_unlink.c: Likewise.
16948         * rt/shm_open.c: Likewise.
16949         * rt/shm_unlink.c: Likewise.
16950         * rt/timer_create.c: Likewise.
16951         * rt/timer_delete.c: Likewise.
16952         * rt/timer_getoverr.c: Likewise.
16953         * rt/timer_gettime.c: Likewise.
16954         * rt/timer_settime.c: Likewise.
16955         * setjmp/__longjmp.c: Likewise.
16956         * setjmp/setjmp.c: Likewise.
16957         * signal/kill.c: Likewise.
16958         * signal/killpg.c: Likewise.
16959         * signal/raise.c: Likewise.
16960         * signal/sigaction.c: Likewise.
16961         * signal/sigaltstack.c: Likewise.
16962         * signal/sigblock.c: Likewise.
16963         * signal/sigignore.c: Likewise.
16964         * signal/sigintr.c: Likewise.
16965         * signal/signal.c: Likewise.
16966         * signal/sigpause.c: Likewise.
16967         * signal/sigpending.c: Likewise.
16968         * signal/sigqueue.c: Likewise.
16969         * signal/sigreturn.c: Likewise.
16970         * signal/sigset.c: Likewise.
16971         * signal/sigsetmask.c: Likewise.
16972         * signal/sigstack.c: Likewise.
16973         * signal/sigsuspend.c: Likewise.
16974         * signal/sigtimedwait.c: Likewise.
16975         * signal/sigvec.c: Likewise.
16976         * signal/sigwait.c: Likewise.
16977         * signal/sigwaitinfo.c: Likewise.
16978         * signal/sysv_signal.c: Likewise.
16979         * socket/accept.c: Likewise.
16980         * socket/accept4.c: Likewise.
16981         * socket/bind.c: Likewise.
16982         * socket/connect.c: Likewise.
16983         * socket/getpeername.c: Likewise.
16984         * socket/getsockname.c: Likewise.
16985         * socket/getsockopt.c: Likewise.
16986         * socket/isfdtype.c: Likewise.
16987         * socket/listen.c: Likewise.
16988         * socket/recv.c: Likewise.
16989         * socket/recvfrom.c: Likewise.
16990         * socket/recvmsg.c: Likewise.
16991         * socket/send.c: Likewise.
16992         * socket/sendmsg.c: Likewise.
16993         * socket/sendto.c: Likewise.
16994         * socket/setsockopt.c: Likewise.
16995         * socket/shutdown.c: Likewise.
16996         * socket/sockatmark.c: Likewise.
16997         * socket/socket.c: Likewise.
16998         * socket/socketpair.c: Likewise.
16999         * stdio-common/ctermid.c: Likewise.
17000         * stdio-common/cuserid.c: Likewise.
17001         * stdio-common/remove.c: Likewise.
17002         * stdio-common/rename.c: Likewise.
17003         * stdio-common/renameat.c: Likewise.
17004         * stdio-common/tempname.c: Likewise.
17005         * stdlib/getcontext.c: Likewise.
17006         * stdlib/makecontext.c: Likewise.
17007         * stdlib/setcontext.c: Likewise.
17008         * stdlib/swapcontext.c: Likewise.
17009         * stdlib/system.c: Likewise.
17010         * streams/fattach.c: Likewise.
17011         * streams/fdetach.c: Likewise.
17012         * streams/getmsg.c: Likewise.
17013         * streams/getpmsg.c: Likewise.
17014         * streams/putmsg.c: Likewise.
17015         * streams/putpmsg.c: Likewise.
17016         * sysdeps/unix/bsd/getpt.c: Likewise.
17017         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17018         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17019         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17021         Likewise.
17022         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17023         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17024         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17025         * sysvipc/msgctl.c: Likewise.
17026         * sysvipc/msgget.c: Likewise.
17027         * sysvipc/msgrcv.c: Likewise.
17028         * sysvipc/msgsnd.c: Likewise.
17029         * sysvipc/semctl.c: Likewise.
17030         * sysvipc/semget.c: Likewise.
17031         * sysvipc/semop.c: Likewise.
17032         * sysvipc/semtimedop.c: Likewise.
17033         * sysvipc/shmat.c: Likewise.
17034         * sysvipc/shmctl.c: Likewise.
17035         * sysvipc/shmdt.c: Likewise.
17036         * sysvipc/shmget.c: Likewise.
17037         * termios/tcdrain.c: Likewise.
17038         * termios/tcflow.c: Likewise.
17039         * termios/tcflush.c: Likewise.
17040         * termios/tcgetattr.c: Likewise.
17041         * termios/tcgetpgrp.c: Likewise.
17042         * termios/tcsendbrk.c: Likewise.
17043         * termios/tcsetattr.c: Likewise.
17044         * termios/tcsetpgrp.c: Likewise.
17045         * time/adjtime.c: Likewise.
17046         * time/clock.c: Likewise.
17047         * time/getitimer.c: Likewise.
17048         * time/gettimeofday.c: Likewise.
17049         * time/setitimer.c: Likewise.
17050         * time/settimeofday.c: Likewise.
17051         * time/stime.c: Likewise.
17052         * time/time.c: Likewise.
17054 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17056         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17057         /usr/old/bin.
17059         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17060         instead of spaces.
17061         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17063 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17065         [BZ #14796]
17066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17067         FE_TONEAREST before applying Dekker multiplication and Knuth
17068         addition.  Clear inexact exceptions and check for exact zero
17069         results afterwards.
17070         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17071         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17072         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17073         * math/libm-test.inc (fma_test): Add more tests.
17074         (fma_test_towardzero): Likewise.
17075         (fma_test_downward): Likewise.
17076         (fma_test_upward): Likewise.
17077         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17078         function.
17079         (libc_fesetround): New macro.
17080         (libc_fesetroundf): Likewise.
17081         (libc_fesetroundl): Likewise.
17082         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17083         function.
17084         (libc_fesetround_387): Likewise.
17085         (libc_fesetroundf): New macro.
17086         (libc_fesetround): Likewise.
17087         (libc_fesetroundl): Likewise.
17088         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17089         function.
17090         (libc_fesetroundf): New macro.
17091         (libc_fesetround): Likewise.
17092         (libc_fesetroundl): Likewise.
17093         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17094         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17095         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17096         libm_hidden_ver.
17097         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17098         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17099         libm_hidden_def.
17100         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17101         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17102         libm_hidden_ver.
17103         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17104         libm_hidden_def.
17106         [BZ #3439]
17107         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17108         integer constant usable in #if and use that to give value to enum
17109         constant.
17110         (FE_DIVBYZERO): Likewise.
17111         (FE_UNDERFLOW): Likewise.
17112         (FE_OVERFLOW): Likewise.
17113         (FE_INVALID): Likewise.
17114         (FE_INVALID_SNAN): Likewise.
17115         (FE_INVALID_ISI): Likewise.
17116         (FE_INVALID_IDI): Likewise.
17117         (FE_INVALID_ZDZ): Likewise.
17118         (FE_INVALID_IMZ): Likewise.
17119         (FE_INVALID_COMPARE): Likewise.
17120         (FE_INVALID_SOFTWARE): Likewise.
17121         (FE_INVALID_SQRT): Likewise.
17122         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17123         (FE_TONEAREST): Likewise.
17124         (FE_TOWARDZERO): Likewise.
17125         (FE_UPWARD): Likewise.
17126         (FE_DOWNWARD): Likewise.
17127         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17128         (FE_DIVBYZERO): Likewise.
17129         (FE_OVERFLOW): Likewise.
17130         (FE_UNDERFLOW): Likewise.
17131         (FE_INEXACT): Likewise.
17132         (FE_TONEAREST): Likewise.
17133         (FE_DOWNWARD): Likewise.
17134         (FE_UPWARD): Likewise.
17135         (FE_TOWARDZERO): Likewise.
17136         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17137         (FE_UNDERFLOW): Likewise.
17138         (FE_OVERFLOW): Likewise.
17139         (FE_DIVBYZERO): Likewise.
17140         (FE_INVALID): Likewise.
17141         (FE_TONEAREST): Likewise.
17142         (FE_TOWARDZERO): Likewise.
17143         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17144         (FE_OVERFLOW): Likewise.
17145         (FE_UNDERFLOW): Likewise.
17146         (FE_DIVBYZERO): Likewise.
17147         (FE_INEXACT): Likewise.
17148         (FE_TONEAREST): Likewise.
17149         (FE_TOWARDZERO): Likewise.
17150         (FE_UPWARD): Likewise.
17151         (FE_DOWNWARD): Likewise.
17152         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17153         (FE_DIVBYZERO): Likewise.
17154         (FE_OVERFLOW): Likewise.
17155         (FE_UNDERFLOW): Likewise.
17156         (FE_INEXACT): Likewise.
17157         (FE_TONEAREST): Likewise.
17158         (FE_DOWNWARD): Likewise.
17159         (FE_UPWARD): Likewise.
17160         (FE_TOWARDZERO): Likewise.
17162 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17164         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17166 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17168         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17169         commands.  Quote $PWD.
17170         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17171         -x" by "export".
17172         (remove_newlines): Remove.
17174 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17176         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17177         * stdlib/stdlib.h (atof): Moved to ...
17178         * include/bits/stdlib-float.h: Here.  New file.
17179         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17180         * stdlib/bits/stdlib-float.h: New file.
17181         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17182         -mno-sse -mno-mmx.
17183         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17184         <xmmintrin.h>.
17186 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17188         * conform/conformtest.pl (@headers): Add fenv.h.
17189         * conform/data/fenv.h-data: New file.
17190         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17191         include of <math/fenv.h>.
17193         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17194         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17195         && !UNIX98].  Enables tests for XOPEN2K8.
17196         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17197         POSIX2008]: Likewise.
17199         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17200         (struct rusage): Do not expect type or its members.
17202         [BZ #3439]
17203         * math/math.h (FP_NAN): Define macro to integer constant usable in
17204         #if and use that to give value to enum constant.
17205         (FP_INFINITE): Likewise.
17206         (FP_ZERO): Likewise.
17207         (FP_SUBNORMAL): Likewise.
17208         (FP_NORMAL): Likewise.
17210 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17212         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17213         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17214         arguments.
17216 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17218         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17219         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17220         autoconf-time if not.
17221         * configure.in: Remove AC_PREREQ.
17223 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17225         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17226         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17227         of the internal implementation.
17229 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17231         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17232         except include of <misc/sys/syslog.h>.
17234 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17237         function returns with a NULL context exit with zero.
17239 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17241         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17243 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17245         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17246         (run_program_cmd): This.
17247         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17248         (tst_langinfo): New variable.  Use it.
17250 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17252         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17253         floating point opcodes.
17255 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17257         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17258         variable.
17260         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17262         * sysdeps/mach/hurd/powerpc: Remove directory.
17263         * sysdeps/mach/powerpc: Likewise.
17265 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17267         * scripts/check-local-headers.sh: Ignore c++ headers.
17269 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17271         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17272         __libc_cleanup_region_start argument.
17274 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17276         [BZ #14784]
17277         [BZ #14785]
17278         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17279         x * y using scaling, not as x * y + z.
17280         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17281         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17282         * math/libm-test.inc (fma_test): Add more tests.
17283         (fma_test_towardzero): Likewise.
17284         (fma_test_downward): Likewise.
17285         (fma_test_upward): Likewise.
17287 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17289         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17291 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17293         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17294         New variable.
17296 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17298         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17300 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17303         Fix sort order.
17304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17305         Likewise.
17307 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17310         Fix the order of the list for glibc 2.17.
17311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17312         Likewise.
17314 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17318 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17320         [BZ #14610]
17321         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17322         for low part of x being zero before using __atanl (y).
17323         * math/libm-test.inc (atan2_test): Add another test.
17325         * manual/install.texi (Configuring and compiling): Document
17326         general use of test-wrapper and test-wrapper-env.
17327         * INSTALL: Regenerated.
17329         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17330         (__fma): Do not extract and scale down low bits on after-rounding
17331         systems when result rounded to normal precision would have normal
17332         exponent.
17333         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17334         (__fmal): Do not extract and scale down low bits on after-rounding
17335         systems when result rounded to normal precision would have normal
17336         exponent.
17337         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17338         (__fmal): Do not extract and scale down low bits on after-rounding
17339         systems when result rounded to normal precision would have normal
17340         exponent.
17341         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17342         macro.
17343         (fma_test): Add more tests.
17344         (fma_test_towardzero): Likewise.
17345         (fma_test_downward): Likewise.
17346         (fma_test_upward): Likewise.
17348 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17350         * sysdeps/i386/tininess.h: Renamed to ...
17351         * sysdeps/x86/tininess.h: This.
17352         * sysdeps/x86_64/tininess.h: Removed.
17354 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17356         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17357         input.  Use $(build-program-cmd).
17358         ($(objpfx)tst-array1-static.out): Likewise.
17359         ($(objpfx)tst-array2.out): Likewise.
17360         ($(objpfx)tst-array3.out): Likewise.
17361         ($(objpfx)tst-array4.out): Likewise.
17362         ($(objpfx)tst-array5.out): Likewise.
17363         ($(objpfx)tst-array5-static.out): Likewise.
17365 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17367         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17368         if defined.
17370         * nss/nsswitch.h (nss_interface_function): Provide new
17371         macro for use with NSS functions.
17372         * grp/initgroups.c: Use new macro.
17373         * nss/getXXbyYY.c: Likewise.
17374         * nss/getXXbyYY_r.c: Likewise.
17375         * nss/getXXent.c: Likewise.
17376         * nss/getXXent_r.c: Likewise.
17377         * sysdeps/posix/getaddrinfo.c: Likewise.
17379 2012-10-30  Andreas Jaeger  <aj@suse.de>
17381         * po/ru.po: Update Russion translation from translation project.
17383 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17385         [BZ #14152]
17386         [BZ #14783]
17387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17388         result and shift together with sticky bit instead of replicating
17389         round-to-nearest rounding.
17390         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17391         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17392         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17393         missing underflow exceptions.
17394         (fma_test_towardzero): Add more tests.
17395         (fma_test_downward): Likewise.
17396         (fma_test_upward): Likewise.
17398         [BZ #14047]
17399         * sysdeps/generic/tininess.h: New file.
17400         * sysdeps/i386/tininess.h: Likewise.
17401         * sysdeps/sh/tininess.h: Likewise.
17402         * sysdeps/x86_64/tininess.h: Likewise.
17403         * stdlib/tst-strtod-underflow.c: Likewise.
17404         * stdlib/tst-tininess.c: Likewise.
17405         * stdlib/strtod_l.c: Include <tininess.h>.
17406         (round_and_return): Do not set errno for exact underflow cases.
17407         Force an underflow exception when setting errno for underflow.
17408         Determine underflow based on rounding to normal precision if
17409         TININESS_AFTER_ROUNDING.
17410         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17411         ERANGE for exact underflow cases.
17412         * stdlib/Makefile (tests): Add tst-tininess and
17413         tst-strtod-underflow.
17414         ($(objpfx)tst-tininess): Use $(link-libm).
17415         ($(objpfx)tst-strtod-underflow): Likewise.
17417 2012-10-30  Andreas Jaeger  <aj@suse.de>
17419         [BZ#14767]
17420         * elf/Makefile (tests): Remove conditional for have-initfini-array
17421         since this is now always required and the variable does not exist
17422         anymore.
17423         (tests-static): Likewise.
17424         (modules-names): Likewise.
17426         * po/eo.po: Add Esperanto translation from translation project.
17428         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17429         merged with constructor/destructor.
17430         (init_array): Likewise.
17431         * elf/tst-array2dep.c (fini_array): Likewise.
17432         (init_array): Likewise.
17434 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17436         * manual/message.texi: Delete @cartouche tags.
17438 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17440         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17441         EOPNOTSUPP.
17442         * sysdeps/mach/hurd/fsync.c: Likewise.
17444         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17445         [_POSIX_REALTIME_SIGNALS]: Change condition to
17446         [_POSIX_REALTIME_SIGNALS > 0].
17448 2012-10-27  Andreas Jaeger  <aj@suse.de>
17450         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17451         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17452         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17453         [__WORDSIZE != 64]: Likewise.
17455 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17457         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17458         *  iconvdata/tst-tables.sh: Likewise.
17460 2012-10-25  David S. Miller  <davem@davemloft.net>
17462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17463         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17464         of strtoull.
17466         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17467         ifunc-impl-list.c
17468         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17469         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17470         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17471         file.
17473 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17475         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17476         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17477         __getdirentries.
17479 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17480             Jim Blandy  <jimb@codesourcery.com>
17482         * scripts/cross-test-ssh.sh: New file.
17483         * manual/install.texi (Configuring and compiling): Document use of
17484         cross-test-ssh.sh.
17485         * INSTALL: Regenerated.
17487 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17489         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17490         EOPNOTSUPP.
17492 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17494         * Makeconfig (run-program-prefix): Fix comment.
17496 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17497             Jim Blandy  <jimb@codesourcery.com>
17499         * Makeconfig (test-wrapper): New variable,
17500         (test-wrapper-env): Likewise.
17501         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17502         (run-built-tests): Define to yes.
17503         (run-program-prefix): Use $(test-wrapper).
17504         (built-program-cmd): Likewise.
17505         * Rules (make-test-out): Use $(test-wrapper-env) and
17506         $(host-built-program-cmd).
17507         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17508         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17509         tst-pathopt.sh.
17510         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17511         $(test-wrapper-env) to tst-rtld-load-self.sh.
17512         ($(objpfx)order2.out): Use $(test-wrapper).
17513         ($(objpfx)tst-initorder.out): Likewise.
17514         ($(objpfx)tst-initorder2.out): Likewise.
17515         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17516         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17517         (test_wrapper_env): New variable.  Use it to run ld.so.
17518         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17519         Use it to run ld.so.
17520         (test_wrapper_env): Likewise.
17521         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17522         $(test-wrapper) to run-iconv-test.sh.
17523         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17524         (ICONV): Use $test_wrapper.
17525         * posix/Makefile ($(objpfx)globtest.out): Pass
17526         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17527         globtest.sh, not $(run-program-prefix).
17528         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17529         (test_wrapper): Likewise.
17530         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17531         set together with run_via_rtld_prefix.
17532         (run_program_prefix): Define in terms of test_wrapper and
17533         run_via_rtld_prefix.
17535 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17537         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17538         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17539         Targets removed.
17541         [BZ #14743]
17542         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17543         Declare __clock_getres, __clock_gettime, __clock_settime,
17544         __clock_nanosleep, and __clock_getcpuclockid.
17545         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17546         Remove librt_hidden_def (clock_gettime).
17547         * sysdeps/unix/clock_gettime.c: Likewise.
17548         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17549         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17550         * rt/clock_getres.c: Define __clock_getres as an alias.
17551         * sysdeps/posix/clock_getres.c: Likewise.
17552         * rt/clock_settime.c: Define __clock_settime as an alias.
17553         * sysdeps/unix/clock_settime.c: Likewise.
17554         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17555         * sysdeps/unix/clock_nanosleep.c: Likewise.
17556         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17557         * rt/clock-compat.c: New file.
17558         * rt/Makefile (librt-routines): Add clock-compat and move
17559         $(clock-routines) to ...
17560         (routines): ... here, new variable.
17561         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17562         Don't add get_clockfreq here.
17563         * rt/Versions (libc: GLIBC_2.17): New version set.
17564         Add clock_* symbols here.
17565         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17566         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17567         (GLIBC_2.17): Add clock_* symbols.
17568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17570         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17572         Likewise.
17573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17574         Likewise.
17575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17579         * NEWS: Mention the move.
17581         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17582         Use __open, __read, __close rather than their public counterparts.
17583         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17584         (__get_clockfreq_via_cpuinfo): Likewise.
17585         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17586         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17588         * config.h.in (HAVE_IFUNC): New #undef.
17589         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17590         was successful.
17591         * configure: Regenerated.
17593 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17595         * configure.in: Move READELF check to start of file.
17596         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17597         libc_cv_asm_gnu_indirect_function in the process.
17598         * configure: Regenerated.
17600 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17602         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17603         send the output to /dev/null.
17604         (libc_cv_cc_with_libunwind): Likewise.
17605         (libc_cv_as_noexecstack): Likewise.
17606         * configure: Regenerate.
17608 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17610         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17612         * posix/globtest.sh (TMPDIR): Do not set.
17613         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17614         (testout): Likewise.
17616 2012-10-24  Andreas Jaeger  <aj@suse.de>
17618         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17619         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17620         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17621         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17622         posix_fadvise64, posix_fallocate64.
17624         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17625         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17626         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17627         Likewise.
17628         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17629         Likewise.
17630         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17632         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17633         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17634         <bits/fcntl-linux.h>.
17635         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17637         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17638         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17639         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17640         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17641         [__WORDSIZE != 64]: Likewise.
17643 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17645         * Makeconfig (run-built-tests): New variable.
17646         * Rules [$(cross-compiling) = yes]: Change condition to
17647         [$(run-built-tests) = no].
17648         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17649         to [$(run-built-tests) = yes].
17650         * elf/Makefile [$(cross-compiling) = no]: Likewise
17651         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17652         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17653         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17654         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17655         * io/Makefile [$(cross-compiling) = no]: Likewise.
17656         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17657         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17658         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17659         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17660         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17661         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17662         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17663         * string/Makefile [$(cross-compiling) = no]: Likewise.
17665         * posix/Makefile ($(objpfx)globtest.out): Pass
17666         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17667         $(rtld-installed-name).
17668         * posix/globtest.sh (elf_objpfx): Remove variable.
17669         (rtld_installed_name): Likewise.
17670         (library_path): Likewise.
17671         (run_program_prefix): New variable.  Use for running globtest
17672         binary.
17674 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17675             Joseph Myers  <joseph@codesourcery.com>
17677         * Makeconfig (host-built-program-cmd): New variable.
17678         * elf/Makefile (tst-stackguard1-ARGS): Use
17679         $(host-built-program-cmd).
17680         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17681         (tst-spawn-ARGS): Likewise.
17682         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17684 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17685             Jim Blandy  <jimb@codesourcery.com>
17687         * Makeconfig (run-via-rtld-prefix): New variable.
17688         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17689         (built-program-cmd): Likewise.
17691 2012-10-22  Andreas Jaeger  <aj@suse.de>
17693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17694         __O_RSYNC if it exists, otherwise to O_SYNC.
17696 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17697             Joseph Myers  <joseph@codesourcery.com>
17699         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17700         /dev/null.
17701         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17702         from /dev/null
17703         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17704         /dev/null.
17706 2012-10-22  Andreas Jaeger  <aj@suse.de>
17708         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17709         Define always.
17710         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17712         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17713         bits/fcntl-linux.h.
17715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17716         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17718         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17719         to __O_LARGEFILE.
17720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17721         to __O_LARGEFILE.
17723 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17724             Joseph Myers  <joseph@codesourcery.com>
17726         * config.make.in (NM): New variable.
17728 2012-10-21  Andreas Jaeger  <aj@suse.de>
17730         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17731         definitions and declarations that are provided by
17732         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17734 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17736         [BZ #14683]
17737         * elf/Makefile (tests-static): Add tst-leaks1-static.
17738         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17739         ($(objpfx)tst-leaks1-static): New rule.
17740         ($(objpfx)tst-leaks1-static-mem): Likewise.
17741         (tst-leaks1-static-ENV): New macro.
17742         * elf/dl-open.c (dl_open_worker): Check the main application
17743         only if SHARED is defined.
17744         * elf/tst-leaks1-static.c: New file.
17746 2012-10-20  Andreas Jaeger  <aj@suse.de>
17748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17749         generic values for Linux.
17750         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17751         and declarations that are provided by <bits/fcntl-linux.h> and
17752         include <bits/fcntl-linux.h>.
17753         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17754         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17756 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17758         * io/fcntl.h: Move include of <bits/types.h> to the top and
17759         include it unconditionally.
17761 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17763         * wcsmbs/Makefile (tests-ifunc): New variable.
17764         (tests): Add $(tests-ifunc).
17765         * wcsmbs/test-wcschr-ifunc.c: New file.
17766         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17767         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17768         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17769         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17770         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17772         * string/Makefile (tests-ifunc): New variable.
17773         (tests): Add $(tests-ifunc).
17774         * string/test-memccpy.c (TEST_NAME): New macro.
17775         * string/test-memchr.c (TEST_NAME): Likewise.
17776         * string/test-memcmp.c (TEST_NAME): Likewise.
17777         * string/test-memcpy.c (TEST_NAME): Likewise.
17778         * string/test-memmem.c (TEST_NAME): Likewise.
17779         * string/test-memmove.c (TEST_NAME): Likewise.
17780         * string/test-memset.c (TEST_NAME): Likewise.
17781         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17782         * string/test-stpcpy.c (TEST_NAME): Likewise.
17783         * string/test-stpncpy.c (TEST_NAME): Likewise.
17784         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17785         * string/test-strcasestr.c (TEST_NAME): Likewise.
17786         * string/test-strcat.c (TEST_NAME): Likewise.
17787         * string/test-strchr.c (TEST_NAME): Likewise.
17788         * string/test-strcmp.c(TEST_NAME): Likewise.
17789         * string/test-strcpy.c (TEST_NAME): Likewise.
17790         * string/test-strcspn.c (TEST_NAME): Likewise.
17791         * string/test-strlen.c (TEST_NAME): Likewise.
17792         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17793         * string/test-strncmp.c (TEST_NAME): Likewise.
17794         * string/test-strncpy.c (TEST_NAME): Likewise.
17795         * string/test-strnlen.c (TEST_NAME): Likewise.
17796         * string/test-strpbrk.c (TEST_NAME): Likewise.
17797         * string/test-strrchr.c (TEST_NAME): Likewise.
17798         * string/test-strspn.c (TEST_NAME): Likewise.
17799         * string/test-strstr.c (TEST_NAME): Likewise.
17800         * string/test-bcopy-ifunc.c: New file.
17801         * string/test-bzero-ifunc.c: Likewise.
17802         * string/test-memccpy-ifunc.c: Likewise.
17803         * string/test-memchr-ifunc.c: Likewise.
17804         * string/test-memcmp-ifunc.c: Likewise.
17805         * string/test-memcpy-ifunc.c: Likewise.
17806         * string/test-memmem-ifunc.c: Likewise.
17807         * string/test-memmove-ifunc.c: Likewise.
17808         * string/test-mempcpy-ifunc.c: Likewise.
17809         * string/test-memset-ifunc.c: Likewise.
17810         * string/test-rawmemchr-ifunc.c: Likewise.
17811         * string/test-stpcpy-ifunc.c: Likewise.
17812         * string/test-stpncpy-ifunc.c: Likewise.
17813         * string/test-strcasecmp-ifunc.c: Likewise.
17814         * string/test-strcasestr-ifunc.c: Likewise.
17815         * string/test-strcat-ifunc.c: Likewise.
17816         * string/test-strchr-ifunc.c: Likewise.
17817         * string/test-strchrnul-ifunc.c: Likewise.
17818         * string/test-strcmp-ifunc.c: Likewise.
17819         * string/test-strcpy-ifunc.c: Likewise.
17820         * string/test-strcspn-ifunc.c: Likewise.
17821         * string/test-strlen-ifunc.c: Likewise.
17822         * string/test-strncasecmp-ifunc.c: Likewise.
17823         * string/test-strncat-ifunc.c: Likewise.
17824         * string/test-strncmp-ifunc.c: Likewise.
17825         * string/test-strncpy-ifunc.c: Likewise.
17826         * string/test-strnlen-ifunc.c: Likewise.
17827         * string/test-strpbrk-ifunc.c: Likewise.
17828         * string/test-strrchr-ifunc.c: Likewise.
17829         * string/test-strspn-ifunc.c: Likewise.
17830         * string/test-strstr-ifunc.c: Likewise.
17832         * debug/Makefile (tests-ifunc): New variable.
17833         (tests): Add $(tests-ifunc).
17834         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17835         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17836         * debug/test-stpcpy_chk-ifunc.c: New file.
17837         * debug/test-strcpy_chk-ifunc.c: Likewise.
17839 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17841         [BZ #13601]
17842         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17843         header is not read in.
17845 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17847         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17848         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17849         directly.  Pass built executable to script as
17850         $(built-program-cmd).
17851         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17852         $testprogram without using LD_LIBRARY_PATH and $ldso.
17854         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17855         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17856         $(rtld-installed-name).
17857         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17858         (rtld_installed_name): Likewise.
17859         (library_path): Likewise.
17860         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17861         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17862         $(run-program-prefix) to tst-tables.sh.
17863         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17864         it to run tst-table-from and tst-table-to.
17865         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17866         Pass it to tst-table.sh.
17867         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17868         $(run-program-prefix) to tst-gettext.sh.
17869         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17870         tst-translit.sh.
17871         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17872         tst-gettext2.sh.
17873         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17874         to run tst-gettext.
17875         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17876         to run tst-gettext2.
17877         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17878         to run tst-translit.
17879         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17880         $(run-program-prefix) to tst-mtrace.sh.
17881         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17882         to run tst-mtrace.
17883         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17884         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17885         $(rtld-installed-name).
17886         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17887         (rtld_installed_name): Likewise.
17888         (run_program_prefix): New variable.  Use it to run wordexp-test.
17890         * Makeconfig (ARCH): Remove all definitions.
17891         (machine): Likewise.
17892         [ARCH]: Remove conditional code.
17893         [!objdir]: Give error.
17894         [!objdir] (objpfx): Remove.
17895         [!objdir] (common-objpfx): Likewise.
17896         [!objdir] (common-objdir): Likewise.
17897         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17898         AC_CONFIG_FILES call.
17899         * configure: Regenerated.
17901         [BZ #13888]
17902         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17903         or TMPDIR.
17904         (testout): Likewise.
17906         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17907         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17908         $(rtld-installed-name).
17909         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17910         (rtld_installed_name): Likwise.
17911         (runit): Remove function.
17912         (run_getconf): New variable,  Use it for running getconf binary.
17914 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17916         [BZ #14716]
17917         * string/test-memmem.c (check_result): New function.
17918         (do_one_test): Use it.
17919         (check1): New function.
17920         (test_main): Use it.
17922 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17924         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17926 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17928         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17929         (_G_LSEEK64): Likewise.
17930         (_G_MMAP64): Likewise.
17931         (_G_FSTAT64): Likewise.
17932         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17933         (_G_LSEEK64): Likewise.
17934         (_G_MMAP64): Likewise.
17935         (_G_FSTAT64): Likewise.
17936         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17937         unconditional.  Call __mmap64 directly.
17938         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17939         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17940         __lseek64 directly.
17941         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17942         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17943         __mmap64 directly.
17944         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17945         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17946         __lseek64 directly.
17947         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17948         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17949         __lseek64 directly.
17950         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17951         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17952         __lseek64 directly.
17953         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17954         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17955         __fxstat64 directly.
17956         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17957         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17958         unconditional.
17959         (freopen64) [!_G_OPEN64]: Remove conditional code.
17960         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17961         unconditional.
17962         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17963         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17964         unconditional.
17965         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17966         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17967         unconditional.
17968         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17969         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17970         unconditional.
17971         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17972         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17973         unconditional.
17974         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17975         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17976         unconditional.
17977         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17978         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17979         unconditional.
17980         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17982 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17984         [BZ #12140]
17985         * manual/memory.texi (Malloc Tunable Parameters): Add note
17986         about free list pointers overwriting some perturb bytes.
17987         Wording suggested by Roland McGrath.
17989 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17991         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17992         (lgamma_test): Likewise.
17993         (tgamma_test): Likewise.
17995 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17997         [BZ #14700]
17998         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17999         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18001 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18003         * NEWS: Mention BZ #14716.
18004         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18005         when removing AVAILABLE1_USES_J macro.
18007 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18009         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18010         (__bswap_64): __uint64_t for unsigned 64-bit int.
18012 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18014         * include/string.h (memmem): Declare libc hidden alias.
18015         * string/memmem.c (memmem): Define libc hidden alias.
18016         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18017         __read, __close instead of open, read, close.
18019 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18021         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18022         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18023         global and hidden.
18024         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18025         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18026         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18027         Likewise.
18028         (__rawmemchr_sse2): Likewise.
18029         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18030         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18031         (__strchr_sse2): Likewise.
18032         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18033         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18034         (__strcasecmp_sse2): Likewise.
18035         (__strncasecmp_sse2): Likewise.
18036         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18037         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18038         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18039         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18040         (__strrchr_sse2): Likewise.
18041         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18042         ifunc-impl-list.c.
18043         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18044         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18045         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18046         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18047         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18048         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18049         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18050         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18051         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18052         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18053         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18054         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18055         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18056         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18057         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18058         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18059         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18060         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18061         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18062         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18063         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18064         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18065         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18066         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18067         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18068         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18069         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18070         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18071         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18072         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18074         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18075         global and hidden.
18076         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18077         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18078         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18079         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18080         Likewise.
18081         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18082         Likewise.
18083         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18084         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18085         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18086         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18087         ifunc-impl-list.c.
18088         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18089         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18090         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18091         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18092         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18093         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18094         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18095         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18096         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18097         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18098         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18099         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18100         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18101         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18102         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18103         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18104         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18105         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18106         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18107         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18108         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18109         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18110         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18111         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18112         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18113         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18114         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18115         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18116         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18117         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18118         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18119         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18120         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18121         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18122         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18123         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18124         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18125         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18126         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18127         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18128         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18130         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18131         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18132         * include/ifunc-impl-list.h: New file.
18133         * misc/ifunc-impl-list.c: Likewise.
18134         * misc/Makefile (routines): Add ifunc-impl-list.
18135         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18136         * string/test-string.h: Include <ifunc-impl-list.h>.
18137         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18138         impl_array): New variables.
18139         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18140         are defined.
18141         (test_init): Call __libc_ifunc_impl_list to initialize
18142         func_list if TEST_IFUNC and TEST_NAME are defined.
18144         * string/Makefile (strop-tests): Add bcopy and bzero.
18145         * string/test-bcopy.c: New file.
18146         * string/test-bzero.c: Likewise.
18147         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18148         defined.
18149         * string/test-memset.c: Support bzero test if TEST_BZERO is
18150         defined.
18151         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18152         __libc_memmove.
18153         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18154         __libc_memset.
18155         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18156         of memset.
18158 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18160         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18161         * configure: Regenerated.
18163         * Makeconfig (+link-static-before-libc): Don't include
18164         $(link-static-libc).
18166         * libio/libio.h (_IO_pos_t): Remove.
18168 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18170         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18171         McGrath.
18173 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18175         * crypt/crypt-entry.c: Include fips-private.h.
18176         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18177         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18178         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18179         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18181 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18183         * crypt/crypt-private.h: Include stdbool.h.
18184         (_ufc_setup_salt_r): Return bool.
18185         * crypt/crypt-entry.c: Include errno.h.
18186         (__crypt_r): Return NULL with EINVAL for bad salt.
18187         * crypt/crypt_util.c (bad_for_salt): New.
18188         (_ufc_setup_salt_r): Check that salt is long enough and within
18189         the specified alphabet.
18190         * crypt/badsalttest.c: New file.
18191         * crypt/Makefile (tests): Add it.
18192         ($(objpfx)badsalttest): New.
18194 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18196         * NEWS: Add entry for BZ #14602.
18198 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18200         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18201         type-generic.
18202         * math/libm-test.inc: Update comment listing what functions and
18203         macros are tested.
18204         (isgreater_test): New function.
18205         (isgreaterequal_test): Likewise.
18206         (isless_test): Likewise.
18207         (islessequal_test): Likewise.
18208         (islessgreater_test): Likewise.
18209         (isunordered_test): Likewise.
18210         (main): Call the new functions.
18212 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18214         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18215         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18216         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18217         * sysdeps/i386/configure: Regenerated.
18218         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18219         * sysdeps/mach/configure: Regenerated.
18220         * sysdeps/mach/hurd/configure: Regenerated.
18221         * sysdeps/powerpc/configure: Regenerated.
18222         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18223         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18224         * sysdeps/s390/s390-32/configure: Regenerated.
18225         * sysdeps/s390/s390-64/configure: Regenerated.
18226         * sysdeps/sh/configure: Regenerated.
18227         * sysdeps/sparc/configure: Regenerated.
18228         * sysdeps/unix/sysv/linux/configure: Regenerated.
18229         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18230         * sysdeps/x86_64/configure: Regenerated.
18232         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18233         defined.  Don't check if MAP is NULL.
18235 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18237         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18238         (_G_stat64): Likewise.
18239         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18240         (_G_stat64): Likewise.
18241         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18242         instead of struct _G_stat64.
18243         * libio/fileops.c (mmap_remap_check): Likewise.
18244         (decide_maybe_mmap): Likewise.
18245         (_IO_new_file_seekoff): Likewise.
18246         (_IO_file_stat): Likewise.
18247         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18248         _G_off64_t.
18249         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18250         instead of struct _G_stat64.
18251         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18253 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18255         [BZ #14602]
18256         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18257         Replace with ...
18258         (CHECK_EOL): New macro.
18259         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18260         CHECK_EOL.
18261         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18262         Replace with CHECK_EOL.
18263         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18264         Replace with CHECK_EOL.
18266 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18268         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18269         type-generic.
18270         * math/libm-test.inc: Update comment listing what functions and
18271         macros are tested.
18272         (finite_test): New function.
18273         (isinf_test): Likewise.
18274         (isnan_test): Likewise.
18275         (fpclassify_test): Test subnormal input.
18276         (isfinite_test): Likewise.
18277         (isnormal_test): Likewise.
18278         (main): Call the new functions.
18280 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18282         [BZ #14660]
18283         * Makerules (%.dynsym): Force C locale when running
18284         $(OBJDUMP) --dynamic-syms.
18286 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18288         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18289         <stdint.h>.
18291 2012-10-06  David S. Miller  <davem@davemloft.net>
18293         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18294         upper 32-bits of the length value in %o2 since we use branch-on-register
18295         tests which consider the entire 64-bit register.
18297 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18299         * string/test-strstr.c (check2): Add a test for page boundary.
18301 2012-10-05  David S. Miller  <davem@davemloft.net>
18303         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18304         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18305         file.
18306         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18307         sysdep_routines.
18308         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18309         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18310         and bzero when HWCAP_SPARC_CRYPTO is present.
18312 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18314         [BZ #14602]
18315         * string/test-strstr.c (check2): New function.
18316         (test_main): Call check2.
18318         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18319         and bug-strchr1.
18320         * string/bug-strcasestr1.c (do_test): Moved to ...
18321         * string/test-strcasestr.c (check1): Here.  New function.
18322         (do_one_test): Break out result checking code into ...
18323         (check_result): This.  New function.
18324         (do_one_test): Call check_result.
18325         (test_main): Call check1.
18326         * string/bug-strchr1.c (do_test): Moved to ...
18327         * string/test-strchr.c (check1): Here.  New function.
18328         (do_one_test): Break out result checking code into ...
18329         (check_result): This.  New function.
18330         (do_one_test): Call check_result.
18331         (test_main): Call check1.
18332         * string/bug-strstr1.c (main): Moved to ...
18333         * string/test-strstr.c (check1): Here.  New function.
18334         (do_one_test): Break out result checking code into ...
18335         (check_result): This.  New function.
18336         (do_one_test): Call check_result.
18337         (test_main): Call check1.
18338         * string/bug-strcasestr1.c: Removed.
18339         * string/bug-strchr1.c: Likewise.
18340         * string/bug-strstr1.c: Likewise.
18342         * elf/Makefile (dl-routines): Add hwcaps.
18343         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18344         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18345         (_dl_important_hwcaps): Moved to ...
18346         * elf/dl-hwcaps.c: Here.  New file.
18347         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18349         [BZ #14557]
18350         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18351         if IS_IN_rtld isn't defined.
18353         * elf/dl-support.c (_dl_sysinfo_map): New.
18354         Include "get-dynamic-info.h" and "setup-vdso.h".
18355         (_dl_non_dynamic_init): Call setup_vdso.
18356         * elf/dynamic-link.h: Don't include <assert.h>.
18357         (elf_get_dynamic_info): Moved to ...
18358         * elf/get-dynamic-info.h: Here.  New file.
18359         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18360         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18361         * elf/setup-vdso.h: Here.  New file.
18362         * elf/rtld.c: Include "setup-vdso.h".
18363         (dl_main): Call setup_vdso.
18365 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18367         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18368         creal in comment listing functions tested.  List finite, isinf,
18369         isnan, isless, islessequal, isgreater, isgreaterequal,
18370         islessgreater, isunordered, lgamma_r and pow10 as functions and
18371         macros not tested.  Mention which functions not tested are aliases
18372         for other functions.  Fix typo.  Note that signs of NaNs are not
18373         tested.
18375         * scripts/config.guess: Update from config.git.
18376         * scripts/config.sub: Likewise.
18378 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18380         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18381         * misc/madvise.c (madvise): Renamed to __madvise.
18382         Make madvise a weak alias.
18383         * include/sys/mman.h: Declare __madvise.
18384         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18385         * sysdeps/unix/syscalls.list
18386         (madvise): Make __madvise the strong name, and madvise a weak alias.
18387         * sysdeps/unix/sysv/linux/syscalls.list
18388         (madvise, mmap): Remove redundant entries.
18389         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18390         * malloc/malloc.c (mtrim): Likewise.
18391         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18393 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18395         * sysdeps/mach/hurd/dl-cache.c: File removed.
18396         * config.h.in (USE_LDCONFIG): New #undef.
18397         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18398         * configure: Regenerated.
18399         * elf/Makefile (dl-routines): Add dl-cache only under
18400         [$(use-ldconfig) = yes].
18401         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18402         cache on [USE_LDCONFIG].
18403         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18404         [USE_LDCONFIG].
18405         * elf/rtld.c (dl_main): Likewise.
18407 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18409         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18410         _SC_LEVEL4_CACHE_LINESIZE.
18412 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18414         * sysdeps/unix/bsd/confstr.h: File removed.
18416 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18418         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18419         sys/sdt-config.h.
18421 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18423         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18424         Make 'mapoff' field ElfW(Off) rather than off_t.
18426 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18428         * nscd/Makefile: Remove nscd-cflags and all its users.
18429         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18430         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18432         [BZ #10631]
18433         * malloc.c (malloc_printerr): Clarify error message.
18435 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18437         [BZ #14648]
18438         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18439         Set bit_FMA_Usable if FMA is supported.
18440         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18441         macro.
18442         (bit_FMA4_Usable): Updated.
18443         (index_FMA_Usable): New macro.
18444         (CPUID_FMA): Likewise
18445         (HAS_FMA): Defined with bit_FMA_Usable.
18447 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18449         * bits/types.h (__swblk_t): Type removed.
18450         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18451         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18452         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18453         (__SWBLK_T_TYPE): Likewise.
18454         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18455         (__SWBLK_T_TYPE): Likewise.
18456         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18457         (__SWBLK_T_TYPE): Likewise.
18458         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18459         (__SWBLK_T_TYPE): Likewise.
18461 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18462             Honza Horak <hhorak@redhat.com>
18464         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18465         (xdr_mapname): Use YPMAXMAP as maxsize.
18466         (xdr_peername): Use YPMAXPEER as maxsize.
18467         (xdr_keydat): Use YPAXRECORD as maxsize.
18468         (xdr_valdat): Use YPMAXRECORD as maxsize.
18470 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18472         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18474         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18475         * csu/init-first.c: ... here.
18476         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18477         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18478         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18479         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18480         * sysdeps/i386/init-first.c: File removed.
18481         * sysdeps/sh/init-first.c: File removed.
18483 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18485         [BZ #14645]
18486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18487         if x * y might underflow to zero and z is zero.
18488         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18489         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18490         * math/libm-test.inc (min_subnorm_value): New variable.
18491         (fma_test): Add more tests.
18492         (fma_test_towardzero): Likewise.
18493         (fma_test_downward): Likewise
18494         (fma_test_upward): Likewise.
18495         (initialize): Set min_subnorm_value.
18497 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18499         [BZ #14638]
18500         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18501         0 + 0.
18502         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18503         mode for addition resulting in exact zero.
18504         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18506         exact 0 + 0.
18507         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18508         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18509         * math/libm-test.inc (fma_test): Add more tests.
18510         (fma_test_towardzero): New function.
18511         (fma_test_downward): Likewise.
18512         (fma_test_upward): Likewise.
18513         (main): Call the new functions.
18515 2012-09-28  David S. Miller  <davem@davemloft.net>
18517         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18519 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18521         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18522         instead of SIGALRM.
18524         * sysdeps/gnu/_G_config.h: Moved to ...
18525         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18526         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18527         * sysdeps/generic/_G_config.h: ... here.
18529         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18531         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18533         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18534         Conditionalize target on [libnss_test1.so-version].
18536         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18538         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18539         (elfobjdir): Move out of conditionals.
18541         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18542         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18543         (__nss_lookup_function): Conditionalize label remove_from_tree on
18544         [!DO_STATIC_NSS || SHARED], matching its only use.
18546 2012-09-28  David S. Miller  <davem@davemloft.net>
18548         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18549         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18550         file.
18551         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18552         sysdep_routines.
18553         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18554         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18555         when HWCAP_SPARC_CRYPTO is present.
18557 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18559         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18561 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18563         [BZ #6530]
18564         * stdio-common/vfprintf.c (process_string_arg): Revert
18565         2000-07-22 change.
18567 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18569         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18570         for testcase.
18571         * stdio-common/tst-sprintf.c: Include <locale.h>
18572         (main): Test sprintf's handling of incomplete multibyte
18573         characters.
18575 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18577         * elf/dl-runtime.c (VERSYMIDX): Removed.
18578         * elf/dl-version.c (VERSYMIDX): Likewise.
18579         * elf/do-rel.h (VERSYMIDX): Likewise.
18580         (VALIDX): Likewise.
18581         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18582         * elf/rtld.c (VALIDX): Likewise.
18583         (ADDRIDX): Likewise.
18584         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18585         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18586         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18587         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18588         (VALIDX): Likewise.
18589         (ADDRIDX): Likewise.
18591 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18593         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18595 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18597         [BZ #11438]
18598         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18599         to global scope.
18600         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18601         addresses are in the same scope as 192.0.2/24.
18602         * posix/gai.conf: Document new scope table defaults.
18604 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18606         [BZ #5298]
18607         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18608         for ftell.  Compute offsets from write pointers instead.
18609         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18611 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18613         [BZ #14543]
18614         * libio/Makefile (tests): New test case tst-fseek.
18615         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18616         combination works in wide mode.
18617         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18618         state when the external buffer state changes.
18620 2012-09-27  David S. Miller  <davem@davemloft.net>
18622         [BZ #14376]
18623         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18624         pass reloc->r_addend in as the 'high' argument to
18625         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18629 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18631         * rt/tst-aio2.c: Include <pthread.h>.
18632         * rt/tst-aio3.c: Likewise.
18634 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18636         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18638 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18640         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18641         contents on [SHARED].
18643 2012-09-26  Marek Polacek  <polacek@redhat.com>
18645         [BZ #14530]
18646         [BZ #13741]
18647         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18648         for C++ and GCC <4.3 as well as for non GCC compilers.
18650 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18654 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18656         * Makefile.in (all, install): Declare with .PHONY.
18657         Reported by Michael Hope <michael.hope@linaro.org>.
18659 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18661         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18662         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18663         system header.
18664         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18665         Likewise.
18666         (sydep_routines): Add the new and the internal functions.
18667         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18668         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18670         (GLIBC_2.17): Add the new function.
18671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18672         (GLIBC_2.17): Likewise.
18673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18674         (GLIBC_2.17): Likewise.
18675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18676         (GLIBC_2.17): Likewise.
18677         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18679 2012-09-25  Alan Modra  <amodra@gmail.com>
18681         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18682         Add release barrier before setting once_control to say
18683         initialisation is done.  Add hints on lwarx.  Use macro in
18684         place of isync.
18685         (clear_once_control): Add release barrier.
18687 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18689         [BZ #13629]
18690         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18691         specially.
18692         * math/s_clog10.c (__clog10): Likewise.
18693         * math/s_clog10f.c (__clog10f): Likewise.
18694         * math/s_clog10l.c (__clog10l): Likewise.
18695         * math/s_clogf.c (__clogf): Likewise.
18696         * math/s_clogl.c (__clogl): Likewise.
18697         * math/Makefile (libm-calls): Add x2y2m1.
18698         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18699         (__x2y2m1): Likewise.
18700         (__x2y2m1l): Likewise.
18701         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18702         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18703         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18704         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18705         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18706         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18707         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18708         * sysdeps/i386/fpu/libm-test-ulps: Update.
18709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18711         [BZ #14621]
18712         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18713         int as type of variable DEPTH.
18714         (glob): Use size_t instead of int as type of variables NEWCOUNT
18715         and OLD_PATHC.
18717 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18719         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18720         Add s_sincosf-sse2.
18721         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18722         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18723         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18724         macros for using routine as __sincosf_ia32.
18725         Use macro for function declaration and weak_alias.
18726         * sysdeps/i386/fpu/libm-test-ulps: Update.
18728         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18731         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18732         subnormal argument.
18733         * math/s_cexpf.c (__cexpf): Likewise.
18734         * math/s_csinf.c (__csinf): Likewise.
18735         * math/s_csinhf.c (__csinhf): Likewise.
18736         * math/s_ctanf.c (__ctanf): Likewise.
18737         * math/s_ctanhf.c (__ctanhf): Likewise.
18738         * math/s_ccosh.c (__ccoshf): Likewise.
18739         * math/s_cexp.c (__cexpl): Likewise.
18740         * math/s_csin.c (__csin): Likewise.
18741         * math/s_csinh.c (__csinh): Likewise.
18742         * math/s_ctan.c (__ctan): Likewise.
18743         * math/s_ctanh.c (ctanh): Likewise.
18744         * math/s_ccoshl.c (__ccoshl): Likewise.
18745         * math/s_cexpl.c (__cexpl): Likewise.
18746         * math/s_csinl.c (__csinl): Likewise.
18747         * math/s_csinhl.c (__csinhl): Likewise.
18748         * math/s_ctanl.c (__ctanl): Likewise.
18749         * math/s_ctanhl.c (__ctanhl): Likewise.
18751 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18753         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18754         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18755         (_IO_off_t): Define to __off_t, not _G_off_t.
18756         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18757         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18758         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18759         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18760         type of __dummy and __dummy2 fields.
18761         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18762         (_G_ssize_t): Likewise.
18763         (_G_off_t): Likewise.
18764         (_G_pid_t): Likewise.
18765         (_G_uid_t): Likewise.
18766         (_G_wchar_t): Likewise.
18767         (_G_wint_t): Likewise.
18768         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18769         (_G_ssize_t): Likewise.
18770         (_G_off_t): Likewise.
18771         (_G_pid_t): Likewise.
18772         (_G_uid_t): Likewise.
18773         (_G_wchar_t): Likewise.
18774         (_G_wint_t): Likewise.
18775         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18776         (_G_ssize_t): Likewise.
18777         (_G_off_t): Likewise.
18778         (_G_pid_t): Likewise.
18779         (_G_uid_t): Likewise.
18780         (_G_wchar_t): Likewise.
18781         (_G_wint_t): Likewise.
18783 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18785         * malloc/arena.c: Include malloc-sysdep.h.
18786         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18787         is sufficient to shrink the heap or an unmap is needed.
18788         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18789         new function check_may_shrink_heap.
18790         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18791         new function check_may_shrink_heap.
18793 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18795         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18796         comments.
18798 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18800         * catgets/test-gencat.sh: Add "set -e".
18801         * elf/tst-pathopt.sh: Likewise.
18802         * grp/tst_fgetgrent.sh: Likewise.
18803         * iconvdata/run-iconv-test.sh: Likewise.
18804         * intl/tst-gettext.sh: Likewise.
18805         * intl/tst-gettext2.sh: Likewise.
18806         * intl/tst-gettext4.sh: Likewise.
18807         * intl/tst-gettext6.sh: Likewise.
18808         * intl/tst-translit.sh: Likewise.
18809         * io/ftwtest-sh: Likewise.
18810         * libio/test-freopen.sh: Likewise.
18811         * malloc/tst-mtrace.sh: Likewise.
18812         * posix/globtest.sh: Likewise.
18813         * posix/tst-getconf.sh: Likewise.
18814         * posix/wordexp-tst.sh: Likewise.
18815         * stdio-common/tst-printf.sh: Likewise.
18816         * stdio-common/tst-unbputc.sh: Likewise.
18817         * stdlib/tst-fmtmsg.sh: Likewise.
18818         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18819         * catgets/Makefile: Do not specify -e option when running
18820         testsuite shell scripts.
18821         * elf/Makefile: Likewise.
18822         * grp/Makefile: Likewise.
18823         * iconvdata/Makefile: Likewise.
18824         * intl/Makefile: Likewise.
18825         * io/Makefile: Likewise.
18826         * libio/Makefile: Likewise.
18827         * malloc/Makefile: Likewise.
18828         * posix/Makefile: Likewise.
18829         * stdio-common/Makefile: Likewise.
18830         * stdlib/Makefile: Likewise.
18831         * sysdeps/x86_64/Makefile: Likewise.
18833         * io/ftwtest-sh: Add copyright header.
18834         * posix/globtest.sh: Likewise.
18835         * posix/tst-getconf.sh: Likewise.
18836         * posix/wordexp-tst.sh: Likewise.
18837         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18839 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18841         [BZ #13679]
18842         * Makeconfig (+link): Defined as $(+link-static) if
18843         $(build-shared) isn't yes.
18844         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18845         isn't yes.
18846         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18848         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18850         [BZ #14562]
18851         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18852         new chunk size with MALLOC_ALIGN_MASK.
18854 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18856         [BZ #5044]
18857         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18858         <rounding-mode.h>.
18859         (__printf_fphex): Determine rounding using get_rounding_mode and
18860         round_away.
18861         * stdio-common/tst-printf-round.c (struct hex_test): New
18862         structure.
18863         (hex_tests): New variable.
18864         (test_hex_in_one_mode): New function.
18865         (do_test): Also run tests for hex float output.
18867 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18869         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18870         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18871         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18872         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18873         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18874         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18875         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18876         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18878 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18880         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18881         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18882         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18883         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18885 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18887         [BZ #14579]
18888         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18889         mode only.
18890         * elf/tst-rtld-load-self.sh: New test.
18891         * elf/Makefile: Run it.
18893 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18895         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18896         (tst-writev-ENV): Remove.
18897         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18899 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18901         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18903 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18905         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18906         unconditional.
18907         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18908         Likewise.
18909         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18910         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18911         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18912         Likewise.
18914 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18916         [BZ #14587]
18917         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18918         * config.make.in (have-cpp-asm-debuginfo): Removed.
18919         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18920         * configure: Regenerated.
18922 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18924         [BZ #5044]
18925         * stdio-common/printf_fp.c: Include <stdbool.h> and
18926         <rounding-mode.h>.
18927         (___printf_fp): Determine rounding using get_rounding_mode and
18928         round_away.
18929         * stdio-common/tst-printf-round.c: New file.
18930         * stdio-common/Makefile (tests): Add tst-printf-round.
18931         (link-libm): New variable.
18932         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18934 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18936         [BZ #14576]
18937         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18938         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18939         Likewise.
18940         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18941         Likewise.
18943 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18945         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18946         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18947         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18948         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18950 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18952         [BZ #14518]
18953         * include/rounding-mode.h: New file.
18954         * sysdeps/generic/get-rounding-mode.h: Likewise.
18955         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18956         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18957         (MAX_VALUE): New macro.
18958         (MIN_VALUE): Likewise.
18959         (overflow_value): New function.
18960         (underflow_value): Likewise.
18961         (round_and_return): Use overflow_value and underflow_value to
18962         determine return values in overflow and underflow cases.  Use
18963         round_away to determine rounding depending on rounding mode.
18964         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18965         determine return values in overflow and underflow cases.
18966         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18967         (struct test_results): New structure.
18968         (struct test): Use struct test_results to store expected results
18969         for all rounding modes.
18970         (TEST): Include expected results for all rounding modes.
18971         (test_in_one_mode): New function.
18972         (do_test): Use test_in_one_mode to compute and check results.
18973         Check results for all rounding modes.
18974         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18975         $(link-libm).
18977 2012-12-09  Allan McRae  <allan@archlinux.org>
18979         * sysdeps/i386/fpu/libm-test-ulps: Update
18981 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18983         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18984         (_G_int32_t): Likewise.
18985         (_G_uint16_t): Likewise.
18986         (_G_uint32_t): Likewise.
18987         (_G_HAVE_BOOL): Likewise.
18988         (_G_HAVE_ATEXIT): Likewise.
18989         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18990         (_G_HAVE_IO_FILE_OPEN): Likewise.
18991         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18992         (_G_int32_t): Likewise.
18993         (_G_uint16_t): Likewise.
18994         (_G_uint32_t): Likewise.
18995         (_G_HAVE_BOOL): Likewise.
18996         (_G_HAVE_ATEXIT): Likewise.
18997         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18998         (_G_HAVE_IO_FILE_OPEN): Likewise.
18999         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19000         (_G_int32_t): Likewise.
19001         (_G_uint16_t): Likewise.
19002         (_G_uint32_t): Likewise.
19003         (_G_HAVE_BOOL): Likewise.
19004         (_G_HAVE_ATEXIT): Likewise.
19005         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19006         (_G_HAVE_IO_FILE_OPEN): Likewise.
19008 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19010         * csu/libc-tls.c: Update copyright years.
19012 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19014         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19015         [!_G_USING_THUNKS]: Remove conditional code.
19016         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19017         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19019         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19020         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19021         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19022         (_G_VTABLE_LABEL_PREFIX): Likewise.
19023         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19024         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19025         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19026         (_G_VTABLE_LABEL_PREFIX): Likewise.
19027         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19028         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19029         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19030         (_G_VTABLE_LABEL_PREFIX): Likewise.
19031         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19033 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19035         * libio/Makefile: Include ../Makeconfig before tests.
19036         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19037         only if $(build-shared) is yes.
19039         * iconv/gconv_db.c: Update copyright years.
19041 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19043         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19044         unwind info if defined PIC. Fix special cases description.
19045         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19047         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19048         DP_HI_MASK entry.
19049         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19051 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19053         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19055         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19056         is NULL.
19058         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19059         (LDLIBS-tst-chk4): This.
19060         (LDFLAGS-tst-chk5): Renamed to ...
19061         (LDLIBS-tst-chk5): This.
19062         (LDFLAGS-tst-chk6): Renamed to ...
19063         (LDLIBS-tst-chk6): This.
19064         (LDFLAGS-tst-lfschk4): Renamed to ...
19065         (LDLIBS-tst-lfschk4): This.
19066         (LDFLAGS-tst-lfschk5): Renamed to ...
19067         (LDLIBS-tst-lfschk5): This.
19068         (LDFLAGS-tst-lfschk6): Renamed to ...
19069         (LDLIBS-tst-lfschk6): This.
19071         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19072         on $(common-objpfx)soversions.mk.
19074 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19076         [BZ #10014]
19077         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19078         example host name.
19080 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19082         * malloc/arena.c (arena_get_retry): New function that gets
19083         another arena for the caller to try its request on.
19084         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19085         current arena cannot fulfill the request.
19086         (__libc_memalign): Likewise.
19087         (__libc_memalign): Likewise.
19088         (__libc_pvalloc): Likewise.
19089         (__libc_calloc): Likewise.
19091 2012-09-05  John Tobey  <john.tobey@gmail.com>
19093         [BZ #13542]
19094         * manual/arith.texi (Operations on Complex): Fix description
19095         of carg branch cut.
19097 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19099         [BZ #10014]
19100         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19101         host name.
19103         [BZ #10038]
19104         * manual/memory.texi (Memory): Make order of menu items match
19105         order of sections.
19107 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19109         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19110         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19111         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19113 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19115         * csu/libc-tls.c (static_dtv): Renamed to ...
19116         (_dl_static_dtv): This.  Make it global.
19117         (_dl_initial_dtv): Removed.
19118         (__libc_setup_tls): Updated.
19119         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19120         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19121         DL_INITIAL_DTV.
19123 2012-09-06  Petr Machata  <pmachata@redhat.com>
19125         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19126         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19127         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19128         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19130 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19132         [BZ #14545]
19133         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19134         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19135         freeing dtv[-1].
19137 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19139         [BZ #14544]
19140         * Makeconfig (link-static-before-libc): Replace $(+prector)
19141         with $(+prectorT).
19142         (link-static-after-libc): Replace $(+postctor) with
19143         $(+postctorT).
19144         (link-bounded): Replace $(+prector)/$(+postctor) with
19145         $(+prectorT)/$(+postctorT).
19146         (+prectorT): New macro.
19147         (+postctorT): Likewise.
19149 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19151         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19152         (round_str): Handle values above the maximum for IBM long double
19153         as inexact.
19154         * stdlib/tst-strtod-round.c (tests): Regenerated.
19156 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19158         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19159         assembler flag.
19160         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19161         zarch_nohighgprs around the zarch optimized routines.
19162         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19163         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19164         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19165         for zarch.
19167 2012-09-05  David S. Miller  <davem@davemloft.net>
19169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19171         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19172         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19173         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19174         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19175         entries.
19177 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19179         * malloc/arena.c: Fold copyright years.
19180         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19182 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19184         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19186 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19188         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19190 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19192         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19193         change internal state upon failure.
19195 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19197         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19198         * malloc/memusage.c (mmap): Likewise.
19199         (mmap64, mremap): Likewise.  Adjust name in comment.
19201 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19203         * libio/fileops.c: Fix typos in comments.
19204         * libio/oldfileops.c: Likewise.
19205         * libio/wfileops.c: Likewise.
19207 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19209         [BZ #1349]
19210         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19211         (tst-malloc-usable-ENV): Set environment for test case.
19212         * malloc/hooks.c (malloc_check_get_size): New function to get
19213         requested size.
19214         * malloc/malloc.c (musable): Use malloc_check_get_size.
19215         * malloc/tst-malloc-usable.c: New test case.
19217 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19219         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19221 2012-09-05  Allan McRae  <allan@archlinux.org>
19223         [BZ #13966]
19224         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19225         determine header location.
19226         * configure: Regenerated.
19228 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19230         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19231         float format.
19232         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19233         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19234         format.
19235         (test): Regenerate.
19237 2012-09-04  David S. Miller  <davem@davemloft.net>
19239         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19240         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19241         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19243 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19245         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19246         failures.
19248         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19250 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19252         [BZ #9914]
19253         * libio/iogetdelim.c: Include <limits.h>.
19254         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19255         + len + 1 would overflow.
19257 2012-09-03  Andreas Jaeger  <aj@suse.de>
19259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19260         * sysdeps/i386/fpu/libm-test-ulps: Update.
19262 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19264         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19265         Add s_sinf-sse2, s_conf-sse2.
19267         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19268         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19269         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19270         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19272         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19273         for using routine as __sinf_ia32.
19274         Use macro for function declaration and weak_alias.
19275         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19276         for using routine as __cosf_ia32.
19277         Use macro for function declaration and weak_alias.
19279         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19280         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19282         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19283         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19286         * math/libm-test.inc (cos_test): Add more test cases.
19287         (sin_test): Likewise.
19288         (sincos_test): Likewise.
19290 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19292         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19293         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19294         hidden.
19295         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19297 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19299         [BZ #14538]
19300         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19301         first element of the GOT.
19302         (elf_machine_load_address): Return the difference between
19303         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19305 2012-09-01  Allan McRae  <allan@archlinux.org>
19307         [BZ #13412]
19308         * configure.in (AWK): Require gawk version 3.0 or later.
19309         * configure: Regenerated.
19311 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19313         * sysdeps/unix/sysv/linux/kernel-features.h
19314         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19315         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19316         [__NR_clock_getres]: Make code unconditional.
19317         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19318         (clock_getcpuclockid): Remove code left unreachable by removal of
19319         conditionals.
19320         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19321         code unconditional.
19322         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19323         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19324         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19325         Make code unconditional.
19326         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19327         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19328         * sysdeps/unix/sysv/linux/clock_settime.c
19329         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19330         conditional code.
19331         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19332         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19334 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19336         [BZ #14476]
19337         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19338         scripts/test-installation.pl.
19340         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19341         and $ld_so_version if it is set.
19343 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19345         [BZ #14516]
19346         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19347         failure if reading from procfs failed.
19348         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19350 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19352         * sysdeps/unix/sysv/linux/kernel-features.h
19353         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19354         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19355         Remove conditional code.
19356         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19357         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19358         Remove conditional code.
19359         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19360         * sysdeps/unix/sysv/linux/i386/fxstat.c
19361         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19362         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19363         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19364         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19365         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19366         * sysdeps/unix/sysv/linux/i386/lxstat.c
19367         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19368         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19369         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19370         Remove conditional code.
19371         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19372         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19373         Remove conditional code.
19374         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19375         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19376         <kernel-features.h>.
19377         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19378         Remove.
19379         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19380         Remove conditional code.
19381         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19382         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19383         Remove conditional.
19385 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19387         [BZ #5400]
19388         * NEWS: Add fixed bug number.
19390 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19392         [BZ #14519]
19393         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19394         underflowing exponent in case of negative sign.
19395         * stdlib/tst-strtod-round-data: Add more tests.
19396         * stdlib/tst-strtod-round.c (tests): Regenerated.
19398         [BZ #3479]
19399         * stdlib/strtod_l.c (NDIG): Remove.
19400         (HEXNDIG): Likewise.
19401         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19402         smallest representable value.
19403         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19404         lie within an exact representation of 1/2 ulp of the result.
19405         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19406         unconditionally.
19407         (TENS_P9_IDX): Define unconditionally.
19408         (TENS_P9_SIZE): Likewise.
19409         (TENS_P10_IDX): Likewise.
19410         (TENS_P10_SIZE): Likewise.
19411         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19412         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19413         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19414         entries for 10^2^13 and 10^2^14.
19415         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19416         (TENS_P13_IDX): Define.
19417         (TENS_P13_SIZE): Likewise.
19418         (TENS_P14_IDX): Likewise.
19419         (TENS_P14_SIZE): Likewise.
19420         (_fpioconst_pow10): Change array size to
19421         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19422         unconditional.
19423         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19424         1024]: Add entries for 10^2^13 and 10^2^14.
19425         [LAST_POW10 > _LAST_POW10]: Remove #error.
19426         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19427         (_fpioconst_pow10): Change array size to
19428         FPIOCONST_POW10_ARRAY_SIZE.
19429         * stdlib/gen-fpioconst.c: New file.
19430         * stdlib/gen-tst-strtod-round.c: Likewise.
19431         * stdlib/tst-strtod-round-data: Likewise.
19432         * stdlib/tst-strtod-round.c: Likewise.
19433         * stdlib/Makefile (tests): Add tst-strtod-round.
19435         [BZ #14459]
19436         * stdlib/strtod_l.c: Include <stdint.h>.
19437         (NDEBUG): Do not define.
19438         (round_and_return): Change EXPONENT parameter to type intmax_t.
19439         Rearrange calculations to avoid internal overflow possibilities.
19440         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19441         Rearrange calculations to avoid internal overflow possibilities.
19442         Assert that number fits inside MPNSIZE limbs.
19443         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19444         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19445         calculations and add assertions to avoid internal overflow
19446         possibilities.  Add casts to avoid signed/unsigned operations.
19447         * stdlib/tst-strtod-overflow.c: New file.
19448         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19450 2012-08-25  Marek Polacek  <polacek@redhat.com>
19452         * time/time.h: Fix some typos in comments.
19454 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19456         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19457         * posix/tst-rfc3484-2.c: Likewise.
19458         * posix/tst-rfc3484-3.c: Likewise.
19460 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19462         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19463         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19465 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19467         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19468         #include of fxstatat64.c.
19470 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19472         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19473         * shadow/getspent_r.c: Likewise.
19474         * shadow/getspnam.c: Likewise.
19475         * shadow/getspnam_r.c: Likewise.
19476         * gshadow/getsgent.c: Likewise.
19477         * gshadow/getsgent_r.c: Likewise.
19478         * gshadow/getsgnam.c: Likewise.
19479         * gshadow/getsgnam_r.c: Likewise.
19480         * inet/getnetbyad.c: Likewise.
19481         * inet/getnetbyad_r.c: Likewise.
19482         * inet/getnetbynm.c: Likewise.
19483         * inet/getnetbynm_r.c: Likewise.
19484         * inet/getnetent.c: Likewise.
19485         * inet/getnetent_r.c: Likewise.
19486         * inet/getproto.c: Likewise.
19487         * inet/getproto_r.c: Likewise.
19488         * inet/getprtent.c: Likewise.
19489         * inet/getprtent_r.c: Likewise.
19490         * inet/getprtname.c: Likewise.
19491         * inet/getprtname_r.c: Likewise.
19492         * inet/getrpcbyname.c: Likewise.
19493         * inet/getrpcbyname_r.c: Likewise.
19494         * inet/getrpcbynumber.c: Likewise.
19495         * inet/getrpcbynumber_r.c: Likewise.
19496         * inet/getrpcent.c: Likewise.
19497         * inet/getrpcent_r.c: Likewise.
19498         * inet/getaliasent.c: Likewise.
19499         * inet/getaliasent_r.c: Likewise.
19500         * inet/getaliasname.c: Likewise.
19501         * inet/getaliasname_r.c: Likewise.
19502         * nscd/getgrgid_r.c: Likewise.
19503         * nscd/getgrnam_r.c: Likewise.
19504         * nscd/gethstbyad_r.c: Likewise.
19505         * nscd/gethstbynm3_r.c: Likewise.
19506         * nscd/getpwnam_r.c: Likewise.
19507         * nscd/getpwuid_r.c: Likewise.
19508         * nscd/getsrvbynm_r.c: Likewise.
19509         * nscd/getsrvbypt_r.c: Likewise.
19510         * nscd/gai.c: Likewise.
19512         * configure.in (build_nscd): New substituted variable, set
19513         by --disable-build-nscd and defaults to $use_nscd.
19514         * configure: Regenerated.
19515         * config.make.in (build-nscd): New substituted variable.
19516         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19517         Change conditional to require [$(build-nscd) = yes] as well.
19518         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19520         [BZ# 13696]
19521         * configure.in (use_nscd): New substituted variable, set by
19522         --disable-nscd.  If enabled, define USE_NSCD.
19523         * configure: Regenerated.
19524         * config.h.in: Add USE_NSCD.
19525         * config.make.in (use-nscd): New substituted variable.
19526         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19527         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19528         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19529         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19530         (CFLAGS-getgrnam_r.c): Likewise.
19531         (CFLAGS-initgroups.c): Likewise.
19532         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19533         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19534         Variables removed.
19535         * inet/getnetgrent_r.c
19536         (nscd_setnetgrent): New function, broken out of ...
19537         (setnetgrent): ... here.  Call it.
19538         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19539         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19540         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19541         * nscd/Makefile (routines, aux): Move definitions after include of
19542         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19543         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19544         Conditionalize on [USE_NSCD].
19545         (is_nscd, nscd_init_cb): Likewise.
19546         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19547         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19548         * nss/nss_db/db-init.c: Likewise.
19549         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19550         [USE_NSCD].
19551         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19552         (make_request): Use it.
19553         (cache_valid_p): New function.
19554         (__check_pf): Use it.
19555         * NEWS: Add item for --disable-nscd.
19557 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19559         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19560         to support sed >= 4.2.1-20-ga9bf076.
19561         * configure: Regenerated.
19563 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19565         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19566         Conditionalize whole body on [IREL].
19568 2012-08-22  Jeff Law <law@redhat.com>
19570         [BZ #14505]
19571         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19572         if the family is PF_UNSPEC.
19574 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19576         * Makerules (lib-version): Rename from V.
19577         (install-lib-nosubdir): Change V to lib-version.
19579 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19581         [BZ #14252]
19582         * powerpc32/power6/wcschr.c: New file.
19583         * powerpc32/power6/wcscpy.c: New file.
19584         * powerpc32/power6/wcsrchr.c: New file.
19585         * powerpc64/power6/wcschr.c: New file.
19586         * powerpc64/power6/wcscpy.c: New file.
19587         * powerpc64/power6/wcsrchr.c: New file.
19589 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19591         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19592         (two_way_short_needle): Use it.
19593         * string/strstr.c (AVAILABLE1_USES_J): Define.
19594         * string/strcasestr.c: Likewise.
19596         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19597         array references.
19598         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19600         [BZ #11607]
19601         * NEWS: Add an entry.
19602         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19603         define their defaults.
19604         (two_way_short_needle): Detect end-of-string on-the-fly.
19605         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19606         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19607         * string/bug-strcasestr1.c: New test.
19608         * string/Makefile: Run it.
19610 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19612         [BZ #11607]
19613         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19614         the first character.
19616 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19618         * csu/elf-init.c (__libc_csu_irel): Function removed.
19619         * csu/libc-start.c (apply_irel): New function.
19620         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19622 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19624         * sysdeps/unix/sysv/linux/kernel-features.h
19625         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19626         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19627         <kernel-features.h>.
19628         [__NR_fadvise64_64]: Make code unconditional.
19629         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19630         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19631         !__NR_fadvise64_64)]: Likewise.
19632         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19633         !__NR_fadvise64_64))]: Likewise.
19634         [__NR_fadvise64]: Make code unconditional.
19635         [!__NR_fadvise64]: Remove conditional code.
19636         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19637         <kernel-features.h>.
19638         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19639         unconditional.
19640         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19641         conditional code.
19642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19643         not include <kernel-features.h>.
19644         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19645         unconditional.
19646         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19647         conditional code.
19648         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19649         include <kernel-features.h>.
19650         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19651         unconditional.
19652         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19653         conditional code.
19655 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19657         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19658         slight instruction rearrangements per scrollpipe analysis.
19659         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19661 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19663         * manual/syslog.texi (syslog; vsyslog, closelog):
19664         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19665         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19667         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19668         DSOCAPS to match condition on defining it.
19670 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19672         * sysdeps/unix/sysv/linux/kernel-features.h
19673         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19675         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19676         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19678         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19679         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19681         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19682         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19684         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19685         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19687         * sysdeps/unix/sysv/linux/kernel-features.h
19688         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19689         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19690         unconditional.
19691         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19692         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19693         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19694         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19695         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19696         Make code unconditional.
19697         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19698         (__mmap64) [!__NR_mmap2]: Likewise.
19699         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19700         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19701         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19702         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19703         [__NR_mmap2]: Make code unconditional.
19704         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19705         (__mmap64) [!__NR_mmap2]: Likewise.
19707 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19709         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19711 2012-08-18  Andreas Jaeger  <aj@suse.de>
19713         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19715 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19717         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19718         * include/unistd.h (__have_sock_cloexec): Likewise.
19719         (__have_pipe2): Likewise.
19720         (__have_dup3): Likewise.
19722 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19724         [BZ #9685]
19725         * include/unistd.h (__have_pipe2): Change define into an extern int.
19726         (__have_dup3): Likewise.
19727         * socket/have_sock_cloexec.c: Include fcntl.h.
19728         (__have_pipe2): New variable.
19729         (__have_dup3): Likewise.
19731 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19733         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19735 2012-08-17  Marek Polacek  <polacek@redhat.com>
19737         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19738         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19740 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19742         * configure.in: Add AC_SUBST for sysheaders.
19743         * configure: Regenerated.
19744         * config.make.in (sysheaders): New substituted variable.
19746         * sysdeps/unix/mkfifo.c: Moved ...
19747         * sysdeps/posix/mkfifo.c: ... here.
19748         * sysdeps/unix/mkfifoat.c: Moved ...
19749         * sysdeps/posix/mkfifoat.c: ... here.
19751         * sysdeps/unix/utime.c: Moved ...
19752         * sysdeps/posix/utime.c: ... here.
19754         * sysdeps/unix/time.c: Moved ...
19755         * sysdeps/posix/time.c: ... here.
19756         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19757         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19759         * sysdeps/unix/nice.c: Moved ...
19760         * sysdeps/posix/nice.c: ... here.
19762         * sysdeps/unix/alarm.c: Moved ...
19763         * sysdeps/posix/alarm.c: ... here.
19765         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19767 2012-08-17  Jeff Law <law@redhat.com>
19769         * intl/Makefile (codeset_mo): New variable.
19770         ($(codeset_mo)): New target.
19771         (tst-codeset.out): Depend on that.  Remove explicit rule.
19772         (tst-gettext3.out, tst-gettext5.out): Likewise.
19773         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19774         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19775         * intl/tst-codeset.sh: Remove.
19776         * intl/tst-gettext3.sh: Likewise.
19777         * intl/tst-gettext5.sh: Likewise.
19779 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19781         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19782         * sysdeps/unix/syscalls.list: ... here.
19784         * sysdeps/posix/getaddrinfo.c
19785         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19786         (gaiconf_init, gaiconf_reload): Use them.
19787         [!_STATBUF_ST_NSEC]
19788         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19789         Define using time_t rather than struct timespec.
19791         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19792         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19793         Macros removed.
19794         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19795         [!NO_THREADS].
19796         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19797         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19798         Likewise.
19800         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19801         __libc_cleanup_push argument.
19803         * bits/param.h: New file.
19804         * misc/sys/param.h: New file.
19805         * include/sys/param.h: New file.
19806         * misc/Makefile (headers): Add bits/param.h.
19807         * sysdeps/generic/sys/param.h: File removed.
19808         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19809         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19810         * sysdeps/mach/hurd/bits/param.h: New file.
19811         * sysdeps/mach/hurd/sys/param.h: File removed.
19813         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19814         last change.
19816         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19817         [_IO_MTSAFE_IO].
19818         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19819         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19820         New macros.
19822         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19823         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19824         rather than -D_IO_MTSAFE_IO conditionally.
19825         * stdio-common/Makefile (CPPFLAGS): Likewise.
19826         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19827         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19828         Use $(libio-mtsafe).
19829         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19830         of -D_IO_MTSAFE_IO.
19831         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19832         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19833         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19834         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19835         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19836         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19837         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19838         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19839         (CFLAGS-fread_u_chk.c): Likewise.
19840         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19841         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19842         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19843         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19844         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19845         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19846         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19847         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19848         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19850         * libio/Makefile: Test [$(libc-reentrant) = yes]
19851         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19853         * Makeconfig
19854         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19855         * sysdeps/pthread/configure: File removed.
19856         * sysdeps/pthread/Makeconfig: New file.
19857         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19858         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19860 2012-08-16  Gary Benson  <gbenson@redhat.com>
19862         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19863         unmapping the first object in a namespace.
19865 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19867         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19868         (__internal_setnetgrent): ... this.  Add internal_function to
19869         definition.  Add libc_hidden_def.
19870         (setnetgrent): Update caller.
19871         (internal_endnetgrent): Renamed to ...
19872         (__internal_endnetgrent): ... this.  Add internal_function to
19873         definition.  Add libc_hidden_def.
19874         (endnetgrent): Update caller.
19875         (internal_getnetgrent_r): Renamed to ...
19876         (__internal_getnetgrent_r): ... this.  Add internal_function to
19877         definition.  Add libc_hidden_def.
19878         (__getnetgrent_r): Update caller.
19879         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19881 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19883         * stdlib/longlong.h: Update from GCC.
19885 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19887         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19888         on _QL, which is set by umul_ppmm but never used.
19889         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19890         variables, which are set by GMP macros but never used.
19891         * stdio-common/_itowa.c (_itowa): Likewise.
19892         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19893         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19895 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19897         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19898         struct La_sh_regs is not constant.
19899         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19900         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19901         and struct La_sparc64_regs are not constant.
19903 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19905         * sysdeps/unix/sysv/linux/kernel-features.h
19906         (__ASSUME_POSIX_TIMERS): Remove.
19907         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19908         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19909         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19910         Make code unconditional.
19911         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19912         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19913         Make code unconditional.
19914         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19915         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19916         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19917         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19918         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19919         Make code unconditional.
19920         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19921         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19922         (__libc_missing_posix_timers): Remove.
19924 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19926         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19927         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19929         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19931         * elf/dl-sym.c: Include <stdlib.h>.
19933         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19934         constants, which avoids warnings in 32-bit builds.
19936         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19937         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19939         * misc/lseek.c: File moved to ...
19940         * io/lseek.c: ... here.
19942         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19944         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19945         shifting LEN more than 31 bits at once.
19947 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19949         [BZ #14195]
19950         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19951         segmentation fault for a case of two empty input strings.
19952         * string/test-strncasecmp.c (check1): Renamed to...
19953         (bz12205): ...this.
19954         (bz14195): Add new testcase for two empty input strings and N > 0.
19955         (test_main): Call new testcase, adapt for renamed function.
19957 2012-08-15  Andreas Jaeger  <aj@suse.de>
19959         [BZ #14090]
19960         * crypt/md5test2.c: New test, based on test supplied by Serge
19961         Belyshev <belyshev@depni.sinp.msu.ru>.
19962         * crypt/Makefile (xtests): Add md5test-giant..
19963         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19965 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19967         [BZ #14090]
19968         * crypt/md5.c (md5_process_block): Don't assume the buffer
19969         length is less than 2**32.
19970         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19971         length is less than 2**64.
19973 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19975         * string/str-two-way.h: Include <sys/param.h>.
19976         (MAX): Macro removed.
19978         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19979         Move #define and #undef of memmove to just before and after
19980         including <string.h>.
19982         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19983         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19984         and after including <string.h>.  Move declarations of
19985         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19986         to before #include "string/memmove.c".
19988         * include/dirent.h: Declare __getdirentries.
19990         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19991         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19993 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19995         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19996         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19997         * sysdeps/i386/configure: Regenerated.
19998         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19999         STABS_CURRENT_FILE, and STABS_FUN.
20000         (END): Remove call to STABS_FUN_END.
20001         (STABS_CURRENT_FILE1): Delete.
20002         (STABS_CURRENT_FILE): Likewise.
20003         (STABS_FUN): Likewise.
20004         (STABS_FUN_END): Likewise.
20005         (STABS_FUN2): Likewise.
20006         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20007         * sysdeps/x86_64/configure: Regenerated.
20009 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20011         * elf/dl-open.c: Include <atomic.h>.
20012         * elf/dl-lookup.c: Likewise.
20014 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20016         * sysdeps/unix/sysv/linux/kernel-features.h
20017         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20018         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20019         unconditionally.
20020         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20021         unconditionally.
20022         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20023         condition on __ASSUME_CLONE_THREAD_FLAGS.
20025 2012-08-14  Andreas Jaeger  <aj@suse.de>
20027         * sysdeps/i386/fpu/libm-test-ulps: Update.
20029 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20031         * include/atomic.h (atomic_exchange_and_add): Split into ...
20032         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20033         New atomic macros.
20035 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20039 2012-08-13  Jeff Law <law@redhat.com>
20041         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20042         null byte in the output string.
20044 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20046         * sysdeps/unix/sysv/linux/kernel-features.h
20047         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20048         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20049         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20050         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20051         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20052         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20053         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20055 2012-08-09  Jeff Law <law@redhat.com>
20057         [BZ #13939]
20058         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20059         When avoid_arena is set, don't retry in the that arena.  Pick the
20060         next one, whatever it might be.
20061         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20062         (arena_lock): Pass in new parameter to arena_get2.
20063         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20064         arena_get2.
20065         (__libc_malloc): Unify retrying after main arena failure with
20066         __libc_memalign version.
20067         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20069 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20071         [BZ #14166]
20072         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20073         to __redirect_strstr.
20074         (__strstr_sse42): Use typeof __redirect_strstr.
20075         (__strstr_ia32): Likewise.
20076         (__libc_strstr): New prototype.
20077         (strstr): Renamed to ...
20078         (__libc_strstr): This.
20079         (strstr): New strong alias of __libc_strstr.
20080         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20081         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20082         __redirect_time.
20083         Include <time.h>.
20084         (__libc_time): New prototype.
20085         (time_ifunc): Replace time with __libc_time.
20086         (time): New strong alias and hidden definition of __libc_time.
20087         (__GI_time): Remove strong alias.
20088         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20089         Include <stddef.h>.
20090         (memmove): Redefined to __redirect_memmove.
20091         (__memmove_sse2): Use typeof __redirect_memmove.
20092         (__memmove_ssse3): Likewise.
20093         (__memmove_ssse3_back): Likewise.
20094         (__libc_memmove): New prototype.
20095         (memmove): Renamed to ...
20096         (__libc_memmove): This.
20097         (memmove): New strong alias of __libc_memmove.
20099 2012-08-08  Mark Salter  <msalter@redhat.com>
20101         * elf/elf.h
20102         (R_MN10300_TLS_GD): Define.
20103         (R_MN10300_TLS_LD): Likewise.
20104         (R_MN10300_TLS_LDO): Likewise.
20105         (R_MN10300_TLS_GOTIE): Likewise.
20106         (R_MN10300_TLS_IE): Likewise.
20107         (R_MN10300_TLS_LE): Likewise.
20108         (R_MN10300_TLS_DTPMOD): Likewise.
20109         (R_MN10300_TLS_DTPOFF): Likewise.
20110         (R_MN10300_TLS_TPOFF): Likewise.
20111         (R_MN10300_SYM_DIFF): Likewise.
20112         (R_MN10300_ALIGN): Likewise.
20113         (R_MN10300_NUM): Update.
20115 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20117         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20118         Remove.
20120 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20122         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20124         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20125         sysdeps/unix -> sysdeps/posix move.
20126         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20128 2012-08-07      Allan McRae     <allan@archlinux.org>
20130         [BZ #14303]
20131         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20132         (SUNOS_CPP): Likewise.
20133         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20134         not found.
20135         (open_input): Call CPP using execvp.
20137 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20139         * sysdeps/unix/sysv/linux/kernel-features.h
20140         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20141         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20142         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20143         (__ASSUME_WAITID_SYSCALL): Likewise.
20144         * sysdeps/unix/sysv/linux/dl-execstack.c
20145         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20146         code unconditional.
20147         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20148         conditional code.
20149         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20150         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20151         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20152         code.
20153         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20154         unconditional.
20155         [__ASSUME_WAITID_SYSCALL]: Likewise.
20156         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20158 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20160         * sysdeps/unix/closedir.c: Renamed to ...
20161         * sysdeps/posix/closedir.c: ... here.
20162         * sysdeps/unix/dirfd.c: Renamed to ...
20163         * sysdeps/posix/dirfd.c: ... here.
20164         * sysdeps/unix/dirstream.h: Renamed to ...
20165         * sysdeps/posix/dirstream.h: ... here.
20166         * sysdeps/unix/fdopendir.c: Renamed to ...
20167         * sysdeps/posix/fdopendir.c: ... here.
20168         * sysdeps/unix/opendir.c: Renamed to ...
20169         * sysdeps/posix/opendir.c: ... here.
20170         * sysdeps/unix/readdir.c: Renamed to ...
20171         * sysdeps/posix/readdir.c: ... here.
20172         * sysdeps/unix/readdir_r.c: Renamed to ...
20173         * sysdeps/posix/readdir_r.c: ... here.
20174         * sysdeps/unix/rewinddir.c: Renamed to ...
20175         * sysdeps/posix/rewinddir.c: ... here.
20176         * sysdeps/unix/seekdir.c: Renamed to ...
20177         * sysdeps/posix/seekdir.c: ... here.
20178         * sysdeps/unix/telldir.c: Renamed to ...
20179         * sysdeps/posix/telldir.c: ... here.
20180         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20181         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20182         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20183         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20185         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20186         * bits/fcntl.h: ... here.
20188         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20189         not 0.
20190         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20191         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20192         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20193         (struct flock): Move l_start, l_len to the beginning.
20194         Use __pid_t for l_pid.
20195         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20196         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20197         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20198         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20199         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20200         [__USE_LARGEFILE64] (struct flock64): New type.
20201         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20203         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20204         * bits/dirent.h: ... here.
20206         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20207         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20209 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20211         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20212         Change from 2.6.0 to 2.6.16.
20213         * sysdeps/unix/sysv/linux/configure: Regenerated.
20214         * sysdeps/unix/sysv/linux/kernel-features.h
20215         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20216         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20217         version.
20218         (__ASSUME_UTIMES): Likewise.
20219         (__ASSUME_CLONE_STOPPED): Remove.
20220         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20221         architectures, not kernel version.
20222         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20223         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20224         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20225         (__ASSUME_WAITID_SYSCALL): Likewise.
20226         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20227         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20228         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20229         refer to older versions.
20231 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20233         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20234         Define alphasort64 as an alias.
20235         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20236         Define versionsort64 as an alias.
20237         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20238         Define scandir64 as an alias.
20239         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20240         Define scandirat64 as an alias.
20241         * dirent/alphasort64.c (alphasort64):
20242         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20243         * dirent/versionsort64.c: Likewise.
20244         * dirent/scandir64.c: Likewise.
20245         * dirent/scandirat64.c: Likewise.
20246         * sysdeps/wordsize-64/alphasort.c: File removed.
20247         * sysdeps/wordsize-64/alphasort64.c: File removed.
20248         * sysdeps/wordsize-64/scandir.c: File removed.
20249         * sysdeps/wordsize-64/scandir64.c: File removed.
20250         * sysdeps/wordsize-64/scandirat.c: File removed.
20251         * sysdeps/wordsize-64/scandirat64.c: File removed.
20252         * sysdeps/wordsize-64/versionsort.c: File removed.
20253         * sysdeps/wordsize-64/versionsort64.c: File removed.
20254         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20255         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20256         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20257         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20258         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20259         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20260         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20261         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20263         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20264         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20265         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20266         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20267         [defined __arch64__ || defined __sparcv9]
20268         (__INO_T_MATCHES_INO64_T): New macro.
20269         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20270         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20271         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20272         * sysdeps/unix/sysv/linux/bits/dirent.h
20273         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20274         (_DIRENT_MATCHES_DIRENT64): New macro.
20276         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20277         Define lockf64 as an alias.
20278         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20279         Define fseeko64 as an alias.
20280         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20281         Define ftello64 as an alias.
20282         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20283         Define _IO_fgetpos64 and fgetpos64 as aliases.
20284         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20285         Define _IO_fsetpos64 and fsetpos64 as aliases.
20286         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20287         Conditionalize body on this.
20288         * libio/fseeko64.c: Likewise.
20289         * libio/ftello64.c: Likewise.
20290         * libio/iofgetpos64.c: Likewise.
20291         * libio/iofsetpos64.c: Likewise.
20292         * sysdeps/wordsize-64/lockf.c: File removed.
20293         * sysdeps/wordsize-64/lockf64.c: File removed.
20294         * sysdeps/wordsize-64/fseeko.c: File removed.
20295         * sysdeps/wordsize-64/fseeko64.c: File removed.
20296         * sysdeps/wordsize-64/ftello.c: File removed.
20297         * sysdeps/wordsize-64/ftello64.c: File removed.
20298         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20299         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20300         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20301         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20302         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20303         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20304         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20305         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20306         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20307         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20308         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20309         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20310         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20311         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20313         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20314         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20315         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20316         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20317         [defined __arch64__ || defined __sparcv9]
20318         (__OFF_T_MATCHES_OFF64_T): New macro.
20319         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20320         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20321         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20322         (__OFF_T_MATCHES_OFF64_T): New macro.
20324 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20326         * stdlib/secure-getenv.c (__secure_getenv): Replace
20327         GLIBC_2_16 with GLIBC_2_17.
20329 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20331         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20332         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20334 2012-08-03  David S. Miller  <davem@davemloft.net>
20336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20338 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20340         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20341         Remove.
20342         (__ASSUME_CORRECT_SI_PID): Likewise.
20343         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20344         (__ASSUME_TMPFS_NAME): Likewise.
20345         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20346         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20347         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20348         (HAVE_AUX_SECURE): Make definition unconditional.
20349         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20350         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20352 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20354         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20355         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20356         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20357         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20358         __eloop_threshold instead of SYMLOOP_MAX.
20360         * sysdeps/generic/eloop-threshold.h: New file.
20361         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20362         of MAXSYMLINKS.
20363         * elf/chroot_canon.c (chroot_canon): Likewise.
20365 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20367         [BZ #13717]
20368         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20369         Change to 2.6.0 everywhere.
20370         * sysdeps/unix/sysv/linux/configure: Regenerated.
20371         * sysdeps/unix/sysv/linux/kernel-features.h
20372         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20373         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20374         kernel versions.
20375         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20376         (__ASSUME_FUTEX_REQUEUE): Remove.
20377         (__ASSUME_STATFS64): Define unconditionally.
20378         (__ASSUME_AT_SECURE): Likewise.
20379         (__ASSUME_CORRECT_SI_PID): Likewise.
20380         (__ASSUME_TGKILL): Define without depending on kernel version for
20381         i386.
20382         (__ASSUME_UTIMES): Likewise.
20383         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20384         kernel version.
20385         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20386         (__ASSUME_TMPFS_NAME): Likewise.
20387         * README: Update reference to Linux kernel versions.
20389 2012-08-02  Marek Polacek  <polacek@redhat.com>
20391         [BZ# 14150]
20392         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20393         libc_cv_asm_type_prefix with %.
20394         * configure: Regenerated.
20395         * include/libc-symbols.h: Remove comment about
20396         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20397         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20398         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20399         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20400         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20401         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20402         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20403         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20404         * elf/tst-unique2mod1.c: Likewise.
20405         * elf/tst-unique1mod2.c: Likewise.
20406         * elf/tst-unique1mod1.c: Likewise.
20407         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20408         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20409         Replace ASM_TYPE_DIRECTIVE with .type.
20410         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20411         * sysdeps/i386/sysdep.h: Likewise.
20412         * sysdeps/x86_64/sysdep.h: Likewise.
20413         * sysdeps/sh/sysdep.h: Likewise.
20414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20415         Do not define ASM_TYPE_DIRECTIVE.
20416         * sysdeps/powerpc/sysdep.h: Likewise.
20417         * sysdeps/powerpc/powerpc32/sysdep.h:
20418         Replace ASM_TYPE_DIRECTIVE with .type.
20419         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20420         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20421         * sysdeps/i386/fpu/e_powf.S: Likewise.
20422         * sysdeps/i386/fpu/e_expl.S: Likewise.
20423         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20424         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20425         * sysdeps/i386/fpu/e_pow.S: Likewise.
20426         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20427         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20428         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20429         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20430         * sysdeps/i386/fpu/e_log2.S: Likewise.
20431         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20432         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20433         * sysdeps/i386/fpu/e_powl.S: Likewise.
20434         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20435         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20436         * sysdeps/i386/fpu/e_logl.S: Likewise.
20437         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20438         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20439         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20440         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20441         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20442         * sysdeps/i386/fpu/e_log.S: Likewise.
20443         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20444         * sysdeps/i386/fpu/e_logf.S: Likewise.
20445         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20446         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20447         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20448         * sysdeps/i386/fpu/e_log10.S: Likewise.
20449         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20450         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20451         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20452         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20453         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20454         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20455         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20456         * sysdeps/i386/i686/strtok.S: Likewise.
20457         * sysdeps/i386/i386-mcount.S: Likewise.
20458         * sysdeps/i386/strtok.S: Likewise.
20459         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20460         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20461         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20462         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20463         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20464         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20465         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20466         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20467         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20468         * sysdeps/x86_64/_mcount.S: Likewise.
20469         * sysdeps/x86_64/strtok.S: Likewise.
20470         * sysdeps/sh/_mcount.S: Likewise.
20472 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20474         * libio/iofopen.c: Include <fcntl.h>.
20475         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20476         (_IO_fopen64, fopen64): Define as aliases.
20477         * libio/iofopen64.c: Include <fcntl.h>.
20478         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20479         Conditionalize body on this.
20480         * sysdeps/wordsize-64/iofopen.c: File removed.
20481         * sysdeps/wordsize-64/iofopen64.c: File removed.
20483 2012-08-01  Marek Polacek  <polacek@redhat.com>
20485         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20486         Use dlfcn directly instead of a variable.
20487         (binfmt-subdir): Do not define.
20488         (dlfcn): Likewise.
20490 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20492         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20493         Remove all definitions.
20494         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20495         <kernel-features.h>.
20496         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20497         (miss_F_GETOWN_EX): Remove all definitions.
20498         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20499         macro definition.
20500         [!__ASSUME_FCNTL64]: Remove conditional code.
20501         [__ASSUME_FCNTL64]: Make code unconditional.
20502         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20503         <kernel-features.h>.
20504         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20505         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20506         (lockf64) [__NR_fcntl64]: Make code unconditional.
20507         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20509         * sysdeps/unix/sysv/linux/kernel-features.h
20510         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20511         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20512         Make code unconditional.
20513         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20514         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20516         [__NR_vfork]: Make code unconditional.
20517         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20518         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20520         [__NR_vfork]: Make code unconditional.
20521         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20522         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20524 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20526         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20527         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20529         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20530         Define mkstemp64 as an alias.
20531         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20532         Define mkstemps64 as an alias.
20533         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20534         Define mkostemp64 as an alias.
20535         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20536         Define mkostemps64 as an alias.
20537         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20538         Conditionalize body on this.
20539         * misc/mkostemp64.c: Likewise.
20540         * misc/mkostemps64.c: Likewise.
20541         * misc/mkstemps64.c: Likewise.
20542         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20543         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20544         * sysdeps/wordsize-64/mkostemp.c: File removed.
20545         * sysdeps/wordsize-64/mkstemp.c: File removed.
20546         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20547         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20548         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20549         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20551         [BZ #14138]
20552         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20553         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20554         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20555         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20557         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20558         compat_symbol macros from <shlib-compat.h> rather than the underlying
20559         default_symbol_version and symbol_version macros, so that DEFAULT
20560         lines in shlib-versions are respected.
20561         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20563 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20565         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20566         Declare with warn_unused_result.
20567         (setgid, setregid, setegid, setresgid): Likewise.
20568         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20569         Likewise.
20570         * WUR-REPORT: Remove set*id functions.
20572 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20574         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20576 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20578         [BZ #10191]
20579         * include/sys/socket.h (__libc_accept, __libc_accept4):
20580         Add attribute_hidden.
20581         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20583         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20584         use of PTR_MANGLE.
20585         * inet/getnetgrent_r.c (setup): Likewise.
20587         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20589 2012-07-31  David S. Miller  <davem@davemloft.net>
20591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20593 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20595         [BZ #13629]
20596         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20597         value between 1.0 and 2.0 and smaller part has absolute value less
20598         than 1.0.
20599         * math/s_clog10.c (__clog10): Likewise.
20600         * math/s_clog10f.c (__clog10f): Likewise.
20601         * math/s_clog10l.c (__clog10l): Likewise.
20602         * math/s_clogf.c (__clogf): Likewise.
20603         * math/s_clogl.c (__clogl): Likewise.
20604         * math/libm-test.inc (clog_test): Add more tests.
20605         (clog10_test): Likewise.
20606         * sysdeps/i386/fpu/libm-test-ulps: Update.
20607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20609 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20611         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20612         Exit with zero in case no suitable GID is found, and write a
20613         message to standard error.
20615 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20617         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20618         rather than to 1.
20619         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20620         (MAXPATHLEN): Removed.
20621         (NOGROUP, NODEV): New macros.
20622         (setbit, clrbit, isset, isclr): New macros.
20623         (howmany, roundup, powerof2): New macros.
20624         (DEV_BSIZE): New macro.
20626         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20627         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20629         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20630         definition on [!__NO_LONG_DOUBLE_MATH].
20632         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20633         PTR_MANGLE and PTR_DEMANGLE.
20635         * socket/accept4.c (accept4): Rename to __libc_accept4.
20636         Define accept4 as a weak alias.
20638         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20639         on [_DIRENT_HAVE_D_TYPE].
20640         * io/ftw.c (ftw_dir): Likewise.
20642         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20644         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20646         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20647         Use the BSD numbers rather than the arbitrary ones we had.
20648         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20649         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20650         (SIGXCPU, SIGXFSZ): New macros.
20651         (_NSIG): Now 32.
20653         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20654         initializer on [_LIBC_REENTRANT].
20656         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20657         definitions inside [_POSIX_MAPPED_FILES].
20659         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20661         * dirent/opendir.c: Include <fcntl.h>.
20663         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20664         (__libc_getspecific): Likewise.
20665         (__libc_key_create): Likewise.
20667         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20668         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20669         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20670         (tmpfile64): Define as alias.
20671         * sysdeps/wordsize-64/tmpfile.c: File removed.
20672         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20673         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20674         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20676         * stdio-common/vfscanf.c: Include <stdbool.h>.
20677         * nss/makedb.c: Likewise.
20678         * stdio-common/_i18n_number.h: Likewise.
20679         * argp/argp-help.c: Likewise.
20680         * posix/wordexp.c: Likewise.
20681         * sysdeps/posix/spawni.c: Likewise.
20682         * nss/nss_files/files-initgroups.c: Likewise.
20683         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20684         * nss/nss_files/files-initgroups.c: Likewise.
20685         * nss/nss_db/db-netgrp.c: Likewise.
20686         * nss/nss_db/db-initgroups.c: Likewise.
20687         * io/fchmodat.c: Include <sys/stat.h>.
20689         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20690         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20692         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20693         [HAVE_MMAP].
20695         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20696         Add multiple inclusion protection.
20698 2012-07-27  David S. Miller  <davem@davemloft.net>
20700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20702 2012-07-27  Gary Benson  <gbenson@redhat.com>
20704         [BZ #14298]
20705         * elf/rtld.c: Include <stap-probe.h>.
20706         (dl_main): Added static probes "init_start" and "init_complete".
20707         * elf/dl-load.c: Include <stap-probe.h>.
20708         (lose): Take new parameter "nsid".
20709         Added static probe "map_failed".
20710         (_dl_map_object_from_fd): Pass namespace id to lose.
20711         Added static probe "map_start".
20712         (open_verify): Pass namespace id to lose.
20713         * elf/dl-open.c: Include <stap-probe.h>.
20714         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20715         and "reloc_complete".
20716         * elf/dl-close.c: Include <stap-probe.h>.
20717         (_dl_close_worker): Added static probes "unmap_start" and
20718         "unmap_complete".
20719         * elf/rtld-debugger-interface.txt: New file documenting the above.
20721 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20723         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20724         rather than a string variable.
20725         * sunrpc/rpc_main.c (h_output): Likewise.
20726         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20728 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20730         * inet/check_native.c: New file.
20732 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20734         [BZ #13629]
20735         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20736         if larger part has absolute value 1.0.
20737         * math/s_clog10.c (__clog10): Likewise.
20738         * math/s_clog10f.c (__clog10f): Likewise.
20739         * math/s_clog10l.c (__clog10l): Likewise.
20740         * math/s_clogf.c (__clogf): Likewise.
20741         * math/s_clogl.c (__clogl): Likewise.
20742         * math/libm-test.inc (clog_test): Add more tests.
20743         (clog10_test): Likewise.
20744         * sysdeps/i386/fpu/libm-test-ulps: Update.
20745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20747         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20748         (pltexit): Likewise.
20749         (La_regs): Likewise.
20750         (La_retval): Likewise.
20751         (int_retval): Likewise.
20752         Update #error for removed macros to refer only to definitions in
20753         tst-audit.h.
20754         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20755         macro.
20756         (pltexit): Likewise.
20757         (La_regs): Likewise.
20758         (La_retval): Likewise.
20759         (int_retval): Likewise.
20760         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20761         macro.
20762         (pltexit): Likewise.
20763         (La_regs): Likewise.
20764         (La_retval): Likewise.
20765         (int_retval): Likewise.
20766         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20767         macro.
20768         (pltexit): Likewise.
20769         (La_regs): Likewise.
20770         (La_retval): Likewise.
20771         (int_retval): Likewise.
20772         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20773         macro.
20774         (pltexit): Likewise.
20775         (La_regs): Likewise.
20776         (La_retval): Likewise.
20777         (int_retval): Likewise.
20778         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20779         macro.
20780         (pltexit): Likewise.
20781         (La_regs): Likewise.
20782         (La_retval): Likewise.
20783         (int_retval): Likewise.
20784         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20785         macro.
20786         (pltexit): Likewise.
20787         (La_regs): Likewise.
20788         (La_retval): Likewise.
20789         (int_retval): Likewise.
20790         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20791         macro definitions in tst-audit.h.
20792         * sysdeps/i386/tst-audit.h: New file.
20793         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20794         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20795         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20796         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20797         * sysdeps/sh/tst-audit.h: Likewise.
20798         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20799         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20800         * sysdeps/x86_64/tst-audit.h: Likewise.
20802 2012-07-26  Andreas Jaeger  <aj@suse.de>
20804         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20805         ptrace.
20807         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20808         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20809         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20810         PTRACE_O_MASK.
20811         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20812         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20813         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20815         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20816         value.
20818         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20819         _sigsys.
20820         (si_call_addr, si_syscall, si_arch): Define new macro.
20821         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20822         _sigsys.
20823         (si_call_addr, si_syscall, si_arch): Define new marcro.
20824         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20825         _sigsys.
20826         (si_call_addr, si_syscall, si_arch): Define new macro.
20827         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20828         _sigsys.
20829         (si_call_addr, si_syscall, si_arch): Define new macro.
20831 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20833         [BZ #13717]
20834         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20835         Change to 2.4.21 where previously 2.4.1.
20836         * sysdeps/unix/sysv/linux/configure: Regenerated.
20837         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20838         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20839         Linux kernel version.
20840         (__ASSUME_STD_AUXV): Remove.
20841         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20842         kernel version.
20843         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20844         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20845         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20846         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20847         (__ASSUME_NETLINK_SUPPORT): Likewise.
20848         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20849         (__no_netlink_support): Remove conditional definition.
20850         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20851         Remove.
20852         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20853         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20854         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20855         (if_nameindex_ioctl): Remove.
20856         (if_nameindex_netlink): Do not handle __no_netlink_support.
20857         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20858         code.
20859         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20860         Remove conditional code.
20861         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20862         code.
20863         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20864         unconditional.
20865         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20866         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20867         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20868         Remove.
20869         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20870         [!__ASSUME_STD_AUXV]: Remove conditional code.
20871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20872         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20873         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20875         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20876         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20877         code.
20878         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20880         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20881         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20882         conditional code.
20883         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20885         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20886         code.
20887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20888         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20889         conditional code.
20890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20891         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20892         code unconditional.
20893         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20894         conditional code.
20895         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20896         unconditional.
20897         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20898         conditional code.
20899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20900         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20901         unconditional.
20902         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20903         conditional code.
20904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20905         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20906         code unconditional.
20907         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20908         conditional code.
20909         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20910         unconditional.
20911         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20912         conditional code.
20913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20914         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20915         code unconditional.
20916         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20917         conditional code.
20918         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20919         unconditional.
20920         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20921         conditional code.
20923 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20925         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20926         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20927         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20928         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20929         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20930         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20931         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20932         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20933         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20934         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20935         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20936         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20937         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20938         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20939         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20940         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20941         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20942         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20943         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20945         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20946         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20947         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20949 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20951         * Versions.def: Add GLIBC_2.17.
20952         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20953         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20954         Introduce __libc_secure_getenv.
20955         * stdlib/Versions (2.17): Add secure_getenv
20956         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20957         * stdlib/secure-getenv.c: Rename __secure_getenv to
20958         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20959         symbol __secure_getenv for GLIBC_2.0.
20960         * stdlib/tst-secure-getenv.c: New.
20961         * stdlib/Makefile (tests): Add testcase.
20962         * manual/startup.texi (Environment Access): Document
20963         secure_getenv.
20964         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20965         __libc_secure_getenv.
20966         * inet/ruserpass.c (ruserpass): Likewise.
20967         * malloc/mtrace.c (mtrace): Likewise.
20968         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20969         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20970         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20971         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20972         HAVE_SECURE_GETENV.
20973         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20974         __secure_getenv to __libc_secure_getenv.
20975         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20977         Likewise.
20978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20979         Likewise.
20980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20982         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20988 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20990         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20991         (struct La_i86_retval): Likewise.
20992         (struct La_x86_64_regs): Likewise.
20993         (struct La_x86_64_retval): Likewise.
20994         (struct La_x32_regs): Likewise.
20995         (struct La_x32_retval): Likewise.
20996         (struct La_ppc32_regs): Likewise.
20997         (struct La_ppc32_retval): Likewise.
20998         (struct La_ppc64_regs): Likewise.
20999         (struct La_ppc64_retval): Likewise.
21000         (struct La_sh_regs): Likewise.
21001         (struct La_sh_retval): Likewise.
21002         (struct La_s390_32_regs): Likewise.
21003         (struct La_s390_32_retval): Likewise.
21004         (struct La_s390_64_regs): Likewise.
21005         (struct La_s390_64_retval): Likewise.
21006         (struct La_sparc32_regs): Likewise.
21007         (struct La_sparc32_retval): Likewise.
21008         (struct La_sparc64_regs): Likewise.
21009         (struct La_sparc64_retval): Likewise.
21010         (struct audit_ifaces): Remove architecture-specific pltenter and
21011         pltexit members.
21012         * sysdeps/i386/ldsodefs.h: New file.
21013         * sysdeps/powerpc/ldsodefs.h: Likewise.
21014         * sysdeps/s390/ldsodefs.h: Likewise.
21015         * sysdeps/sh/ldsodefs.h: Likewise.
21016         * sysdeps/sparc/ldsodefs.h: Likewise.
21017         * sysdeps/x86_64/ldsodefs.h: Likewise.
21019 2012-07-25  Marek Polacek  <polacek@redhat.com>
21021         [BZ #6808]
21022         * math/libm-test.inc (yn_test): Add another test.
21023         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21024         to ERANGE when the result is +-Inf.
21025         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21026         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21027         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21028         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21030 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21032         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21033         equal to 0.
21034         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21035         clock_t.
21036         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21038 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21040         * configure.in <sysdeps resolving>: Correct printing
21041         Implies_before.
21042         * configure: Regenerate.
21044 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21046         * math/w_ilogb.c: Include <limits.h>.
21047         * math/w_ilogbl.c: Likewise.
21049 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21051         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21052         va_copy.  Document allowing for unavailable va_copy only as
21053         pre-C99 compatibility.
21054         * manual/string.texi (Copying and Concatenation): Use va_copy
21055         instead of __va_copy in concat example.
21057 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21059         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21060         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21061         it if not null.
21063         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21064         with O_NOLINK passed to __file_name_lookup.
21066         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21067         with O_NOLINK passed to __file_name_lookup.
21069         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21070         negative N or less than NGIDS.
21072         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21073         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21074         enough.  Use memcpy instead of strncpy.
21076 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21078         * elf/Makefile (check-data): Remove.
21079         (localplt.data): New vpath directive.
21080         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21081         instead of $(check-data).
21082         * scripts/data/localplt-generic.data: Move to ...
21083         * sysdeps/generic/localplt.data: ... here.
21084         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21085         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21086         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21088         ... here.
21089         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21091         ... here.
21092         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21094         ... here.
21095         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21097         ... here.
21098         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21100         ... here.
21101         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21103         ... here.
21105 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21107         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21108         PPC32 and PPC64 files.
21109         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21110         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21112 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21114         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21115         __makecontext_ret to ...
21116         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21117         ... here and call exit if uc_link is NULL.  New file.
21118         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21119         __makecontext_ret.S.
21120         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21121         __makecontext_ret to ...
21122         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21123         ... here and call exit if uc_link is NULL.  New file.
21124         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21125         __makecontext_ret.S.
21127 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21129         * elf/elf.h (R_390_IRELATIVE): New definition.
21130         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21131         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21132         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21133         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21134         (elf_machine_lazy_rel): Likewise.
21135         * sysdeps/s390/dl-irel.h: New file.
21136         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21137         * sysdeps/s390/s390-64/memset.S: New asm code.
21138         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21139         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21140         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21141         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21142         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21143         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21144         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21145         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21146         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21147         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21148         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21149         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21150         * sysdeps/s390/s390-32/memset.S: New asm code.
21151         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21153 2012-07-17  Marek Polacek  <polacek@redhat.com>
21155         [BZ #14349]
21156         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21157         * sysdeps/s390/s390-64/configure.in: Likewise.
21158         * sysdeps/sparc/configure.in: Likewise.
21159         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21160         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21161         * sysdeps/i386/configure.in: Likewise.
21162         * sysdeps/x86_64/configure.in: Likewise.
21163         * sysdeps/sh/configure.in: Likewise.
21164         * sysdeps/s390/s390-32/configure: Regenerated.
21165         * sysdeps/s390/s390-64/configure: Likewise.
21166         * sysdeps/x86_64/configure: Likewise.
21167         * sysdeps/sh/configure: Likewise.
21168         * sysdeps/powerpc/powerpc64/configure: Likewise.
21169         * sysdeps/powerpc/powerpc32/configure: Likewise.
21170         * sysdeps/sparc/configure: Likwise.
21171         * sysdeps/i386/configure: Likewise.
21173         * elf/dl-open.c: Comment fixes.
21175 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21177         * Makefile [CXX] (check-data): Remove.
21178         [CXX] (c++-types.data): New vpath directive.
21179         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21180         vpath.  Do not allow for C++ type data being missing.
21181         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21182         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21183         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21184         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21185         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21186         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21187         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21189         ... here.
21190         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21192         ... here.
21193         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21195         ... here.
21196         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21198         ... here.
21199         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21201         ... here.
21202         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21204         ... here.
21205         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21207         ... here.
21208         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21211         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21212         definitions to architecture-specific files.
21213         (TLS_IE): Likewise.
21214         (TLS_LD): Likewise.
21215         (TLS_GD): Likewise.
21216         * sysdeps/i386/tls-macros.h: New file.
21217         * sysdeps/powerpc/tls-macros.h: Likewise.
21218         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21219         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21220         * sysdeps/sh/tls-macros.h: Likewise.
21221         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21222         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21223         * sysdeps/x86_64/tls-macros.h: Likewise.
21225 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21227         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21228         zero value for regular exit case.
21230         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21231         (__start_context): Preserve zero value for regular exit case.
21233 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21234             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21236         * manual/setjmp.texi (setcontext): Clarify normal process
21237         termination when uc_link is the null pointer.
21238         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21239         exit call.
21241 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21243         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21244         preprocessor.  Test for each exception mask separately.
21246 2012-07-16  Andreas Jaeger  <aj@suse.de>
21248         * po/ru.po: Update from translation team.
21250 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21252         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21253         equal to 0.
21254         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21255         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21256         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21257         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21258         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21260 2012-07-13  Andreas Jaeger  <aj@suse.de>
21262         * po/fr.po: Update from translation team.
21264 2012-07-12  Marek Polacek  <polacek@redhat.com>
21266         [BZ #14173]
21267         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21268         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21269         loop condition.
21271 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21273         [BZ #13717]
21274         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21275         Change to 2.4.1 where previously 2.4.0.
21276         * sysdeps/unix/sysv/linux/configure: Regenerated.
21277         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21278         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21279         version.
21280         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21281         (__ASSUME_AT_CLKTCK): Remove.
21282         (__ASSUME_AT_PAGESIZE): Likewise.
21283         (__ASSUME_AT_XID): Likewise.
21284         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21285         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21286         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21287         unconditionally.
21288         (HAVE_AUX_PAGESIZE): Likewise.
21289         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21290         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21291         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21293 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21295         [BZ #14307]
21296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21297         the temporary buffer used to invoke __gethostbyname2_r,
21298         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21299         host_data / struct gaih_addrtuple.
21300         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21301         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21302         header file nss/nsswitch.h.
21303         * nss/nsswitch.h (global scope): Add definition of implementation
21304         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21305         resolv/nss_dns/dns-host.c).
21307 2012-07-11  Andreas Jaeger  <aj@suse.de>
21309         * po/fr.po: Update from translation team.
21311         * po/sv.po: Update from translation team
21312         * po/fr.po: Another update from translation team.
21314 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21316         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21317         for subnormals or multiply small sinh result by itself.
21318         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21321 2012-07-11  David S. Miller  <davem@davemloft.net>
21323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21325 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21327         [BZ #14347]
21328         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21329         (INTERNAL_MARK): Shift it here.
21331 2012-07-10  Marek Polacek  <polacek@redhat.com>
21333         [BZ #14151]
21334         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21335         libc_cv_asm_global_directive with .globl.
21336         * configure: Regenerated.
21337         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21338         with .globl.
21339         * sysdeps/i386/configure: Regenerated.
21340         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21341         with .globl.
21342         * sysdeps/x86_64/configure: Regenerated.
21343         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21344         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21345         * elf/tst-unique2mod2.c: Likewise.
21346         * elf/tst-unique2mod1.c: Likewise.
21347         * elf/tst-unique1mod2.c: Likewise.
21348         * elf/tst-unique1mod1.c: Likewise.
21349         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21350         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21351         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21352         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21353         * sysdeps/mach/sysdep.h: Likewise.
21354         * sysdeps/i386/sysdep.h: Likewise.
21355         * sysdeps/i386/i386-mcount.S: Likewise.
21356         * sysdeps/x86_64/_mcount.S: Likewise.
21357         * sysdeps/x86_64/sysdep.h: Likewise.
21358         * sysdeps/sh/_mcount.S: Likewise.
21359         * sysdeps/sh/sysdep.h: Likewise.
21360         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21361         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21362         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21363         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21364         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21365         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21366         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21367         * locale/localeinfo.h: Likewise.
21368         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21369         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21371 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21373         [BZ #14336]
21374         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21375         system".
21376         * manual/message.texi (The Uniforum approach): Likewise.
21377         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21378         (glibc iconv Implementation): Likewise.
21380 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21382         [BZ #14337]
21383         * math/s_clog.c (__clog): Avoid scaling a value down where that
21384         could result in underflow.
21385         * math/s_clog10.c (__clog10): Likewise.
21386         * math/s_clog10f.c (__clog10f): Likewise.
21387         * math/s_clog10l.c (__clog10l): Likewise.
21388         * math/s_clogf.c (__clogf): Likewise.
21389         * math/s_clogl.c (__clogl): Likewise.
21390         * math/libm-test.inc (clog_test): Add more tests.
21391         (clog10_test): Likewise.
21392         * sysdeps/i386/fpu/libm-test-ulps: Update.
21393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21395 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21397         [BZ #14283]
21398         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21399         by 7 not 8 to examine high bit of fractional part.
21401         [BZ #14042]
21402         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21403         for call to __mcount_internal.
21404         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21405         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21406         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21408 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21410         [BZ #14154]
21411         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21412         approximation for values within 0x1p-13f of an odd multiple of
21413         pi/4.
21414         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21415         exception.  Add more tests.
21416         * sysdeps/i386/fpu/libm-test-ulps: Update.
21418         [BZ #6778]
21419         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21420         inputs and return -1 for them.  Do not check for +Inf in case not
21421         reachable for +Inf.
21422         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21423         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21424         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21425         and return -1 for them.  Do not check for +Inf in case not
21426         reachable for +Inf.
21427         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21428         define.
21429         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21430         and return -1 for them.  Do not check for +Inf in case not
21431         reachable for +Inf.
21432         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21433         spurious underflow.
21434         * sysdeps/i386/fpu/libm-test-ulps: Update.
21435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21437 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21439         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21441 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21443         [BZ #14157]
21444         [BZ #14331]
21445         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21446         could result in spurious underflow.  Scale down values above
21447         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21448         * math/s_csqrtf.c (__csqrtf): Likewise.
21449         * math/s_csqrtl.c (__csqrtl): Likewise.
21450         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21451         spurious underflow.
21452         * sysdeps/i386/fpu/libm-test-ulps: Update.
21453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21455 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21457         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21458         xopen-msg.sed.
21459         * catgets/xopen-msg.awk: New file.
21460         * catgets/xopen-msg.sed: Removed.
21462         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21463         po2text.sed.
21464         * intl/po2test.awk: New file.
21465         * intl/po2test.sed: Removed.
21467 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21469         [BZ #14328]
21470         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21471         or multiply small sinh result by itself.
21472         * math/s_ctanf.c (__ctanf): Likewise.
21473         * math/s_ctanh.c (__ctanh): Likewise.
21474         * math/s_ctanhf.c (__ctanhf): Likewise.
21475         * math/s_ctanhl.c (__ctanhl): Likewise.
21476         * math/s_ctanl.c (__ctanl): Likewise.
21477         * math/libm-test.inc (ctan_test_tonearest): New function.
21478         (ctan_test_towardzero): Likewise.
21479         (ctan_test_downward): Likewise.
21480         (ctan_test_upward): Likewise.
21481         (ctanh_test_tonearest): Likewise.
21482         (ctanh_test_towardzero): Likewise.
21483         (ctanh_test_downward): Likewise.
21484         (ctanh_test_upward): Likewise.
21485         (main): Call these new functions.
21486         * sysdeps/i386/fpu/libm-test-ulps: Update.
21487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21489 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21491         * .gitignore: Delete /ports entry.
21493 2012-07-03  Andreas Jaeger  <aj@suse.de>
21495         * po/bg.po: Update from translation team.
21496         * po/cs.po: Likewise.
21497         * po/de.po: Likewise.
21498         * po/hr.po: Likewise.
21499         * po/nl.pl: Likewise.
21500         * po/pl.po: Likewise.
21501         * po/vi.po: Likewise.
21503 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21505         * Makeconfig [!+link] (+link-before-libc): New variable.
21506         [!+link] (+link-after-libc): Likewise.
21507         [!+link] (+link-tests): Likewise.
21508         [!+link] (+link): Define in terms of $(+link-before-libc) and
21509         $(+link-after-libc).
21510         [!+link-static] (+link-static-before-libc): New variable.
21511         [!+link-static] (+link-static-after-libc): Likewise.
21512         [!+link-static] (+link-static-tests): Likewise.
21513         [!+link-static] (+link-static): Define in terms of
21514         $(+link-static-before-libc) and $(+link-static-after-libc).
21515         [build-shared] (link-libc-before-gnulib): New variable.
21516         [build-shared] (link-libc-tests): Likewise.
21517         [build-shared] (link-libc): Define in terms of
21518         $(link-libc-before-gnulib).
21519         [!build-shared] (link-libc-tests): New variable.
21520         (link-libc-static-tests): New variable.
21521         [!gnulib] (gnulib-arch): New variable.
21522         [!gnulib] (gnulib-tests): Likewise.
21523         [!gnulib] (static-gnulib-arch): Likewise.
21524         [!gnulib] (static-gnulib-tests): Likewise.
21525         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21526         Define with "=" instead of ":=".
21527         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21528         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21529         * Rules (binaries-all-notests): New variable.
21530         (binaries-all-tests): Likewise.
21531         (binaries-static-notests): Likewise.
21532         (binaries-static-tests): Likewise.
21533         (binaries-all): Define using $(binaries-all-notests) and
21534         $(binaries-all-tests).
21535         (binaries-static): Define using $(binaries-static-notests) and
21536         $(binaries-static-tests).
21537         (binaries-shared-tests): New variable.
21538         (binaries-shared-notests): Likewise.
21539         (binaries-shared): Remove variable.
21540         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21541         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21542         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21543         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21544         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21545         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21546         * elf/Makefile (sln-modules): New variable.
21547         (extra-objs): Add $(sln-modules:=.o).
21548         (ldconfig-modules): Add static-stubs.
21549         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21550         * elf/static-stubs.c: New file.
21552         [BZ #14283]
21553         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21554         by 7 not 8 to examine high bit of fractional part.  Use volatile
21555         variables when splitting into final array of floats if
21556         __FLT_EVAL_METHOD__ != 0.
21557         * math/libm-test.inc (cos_test): Add another test.
21558         (sin_test): Likewise.
21559         * sysdeps/i386/fpu/libm-test-ulps: Update.
21561         [BZ #14273]
21562         * math/libm-test.inc (cosh_test): Add more tests.
21564         * version.h (RELEASE): Set to "development".
21565         (VERSION): Set to "2.16.90".
21567 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21569         * NEWS: Update copyright. Remove last-updated date.
21570         Mention math library bug fixes and timezone data changes.
21571         * README: Mention GNU/Hurd, x32, and HPPA support status.
21573 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21575         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21577 2012-06-27  Andreas Jaeger  <aj@suse.de>
21579         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21581 2012-06-25  Andreas Jaeger  <aj@suse.de>
21583         * sysdeps/s390/fpu/libm-test-ulps: Update.
21585 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21586             Thomas Schwinge  <thomas@codesourcery.com>
21588         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21589         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21590         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21591         fanotify_mark.
21593 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21595         * sysdeps/mach/start.c: Remove file.
21596         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21597         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21598         * sysdeps/sh/init-first.c: Likewise.
21600         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21601         registers for frame unwinding purposes, add CFI directives.
21602         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21603         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21604         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21605         Likewise.
21607         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21608         __fortify_fail returning.
21609         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21611         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21612         sysdeps/sh/____longjmp_chk.S.
21613         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21614         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21615         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21616         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21618         * sysdeps/sh/abort-instr.h: New file.
21619         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21620         process in case exit returns.
21622         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21623         initialize the GOT register before use.
21625         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21626         calculation of ARGC > 4.
21628         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21629         meaningful names to some local labels.
21631 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21632             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21634         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21635         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21636         (__arch_compare_and_exchange_val_16_acq): Likewise.
21637         (__arch_compare_and_exchange_val_32_acq): Likewise.
21638         (atomic_exchange_and_add): Fix gUSA sequence.
21639         (atomic_add): Likewise.
21640         (atomic_add_negative): Likewise.
21641         (atomic_add_zero): Likewise.
21642         (atomic_bit_test_set): Likewise.
21644 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21646         [BZ #13579]
21647         * include/link.h (struct link_map): Add l_free_initfini.
21648         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21649         l_initfini.
21650         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21651         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21652         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21653         set.
21655 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21657         * configure.in: Use AC_LANG_SOURCE.
21658         * configure: Regenerate.
21660 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21662         * configure.in (libc_cv_localstatedir): New substituted variable.
21663         * configure: Regenerated.
21664         * config.make.in (localstatedir): New variable, substituted from
21665         libc_cv_localstatedir.
21666         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21667         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21668         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21669         * sysdeps/gnu/configure: Regenerated.
21671 2012-06-21  Jeff Law  <law@redhat.com>
21673         [BZ #14277]
21674         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21675         free.  Simplify list management for _LIBC case.
21677 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21679         [BZ #14273]
21680         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21681         Clear sign bit of 64-bit integer value before comparing against
21682         overflow value.
21684         * sysdeps/mach/configure: Regenerated.
21686 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21688         [BZ #14278]
21689         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21691 2012-06-21  Jeff Law  <law@redhat.com>
21693         [BZ #13882]
21694         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21695         uint16_t for elements in the "seen" array to avoid char overflows.
21696         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21697         * elf/dl-open.c (dl_open_worker): Likewise.
21699 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21701         * scripts/list-sources.sh: Scan PORTS for translations.
21702         * po/libc.pot: Regenerated.
21704 2012-06-21  Andreas Jaeger  <aj@suse.de>
21706         [BZ #12194]
21707         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21708         warning.
21709         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21710         * bits/byteswap-16.h (__bswap_16): Likewise.
21711         * bits/byteswap.h (__bswap_constant_16): Likewise.
21713 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21715         [BZ #14117]
21716         * sysdeps/i386/fpu_control.h: Removed.
21717         * sysdeps/x86_64/fpu_control.h: Moved to ...
21718         * sysdeps/x86/fpu_control.h: Here.
21720         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21721         (_FPU_SETCW): Likewise.
21723 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21725         [BZ #14117]
21726         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21727         * sysdeps/x86/fpu/bits/mathinline.h: This.
21728         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21730         [BZ #14050]
21731         [BZ #14117]
21732         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21733         functions if __x86_64__ is defined.
21735 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21737         * string/endian.h: Add !__ASSEMBLER__ condition for including
21738         conversion interfaces.
21740 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21742         [BZ #14241]
21743         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21744         of ABS(x) in calculating zero to negative powers other than odd
21745         integers.
21746         * math/libm-test.inc (pow_test): Add more tests.
21748 2012-06-15  Andreas Jaeger  <aj@suse.de>
21750         * manual/contrib.texi (Contributors): Update entry of Liubov
21751         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21752         Machado Filho.
21754 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21756         * string/string.h: Add __wur to GNU version of strerror_r.
21758 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21760         [BZ #14229]
21761         * string/Makefile (tests): Add tst-strtok_r.
21762         * string/tst-strtok_r.c: New file.
21763         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21764         RAX_LP/RDX_LP on SAVE_PTR.
21766 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21768         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21770 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21772         * libm_test.inc (csqrt_test): Allow more spurious underflow
21773         exceptions.
21774         (j0_test): Likewise.
21775         (j1_test): Likewise.
21776         (y0_test): Likewise.
21777         (y1_test): Likewise.
21779 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21781         * po/Makefile (libc.pot): Use UTF-8 charset.
21783 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21785         [BZ #14210]
21786         Suppress sign-conversion warning from FD_SET.
21787         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21788         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21789         not unsigned long int.
21790         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21792 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21794         [BZ #14050]
21795         [BZ #14117]
21796         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21797         __extern_always_inline instead of __extern_inline.
21798         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21799         (__signbit): Likewise.
21800         (__signbitl): Support C++ namespace.
21801         (lrintf): New inline function.
21802         (lrint): Likewise.
21803         (llrintf): Likewise.
21804         (llrint): Likewise.
21805         (fmaxf): Likewise.
21806         (fmax): Likewise.
21807         (fminf): Likewise.
21808         (fmin): Likewise.
21809         (rint): Likewise.
21810         (rintf): Likewise.
21811         (ceil): Likewise.
21812         (ceilf): Likewise.
21813         (floor): Likewise.
21814         (floorf): Likewise.
21815         (nearbyint): Likewise.
21816         (nearbyintf): Likewise.
21818 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21820         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21821         non-default versions.
21823 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21825         [BZ #14218]
21826         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21828 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21830         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21831         (FE_UPWARD, FE_DOWNWARD): Don't define.
21832         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21833         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21835         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21836         reading it.
21837         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21838         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21840 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21842         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21843         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21844         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21845         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21847 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21849         [BZ #14117]
21850         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21851         * sysdeps/i386/fpu/Implies: New file.
21852         * sysdeps/x86_64/fpu/Implies: Likewise.
21853         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21854         * sysdeps/x86/fpu/bits/fenv.h: This.
21856         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21857         __SSE_MATH__.
21859 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21861         [BZ #14134]
21862         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21863         character 0xffff that matches the last element of the
21864         conversion table.
21866 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21868         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21869         fmodl commit.
21871 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21873         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21874         values higher than 25.6283.
21876 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21878         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21879         subnormal exponent extraction and add some __builtin_expect.
21880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21881         Fix for subnormal mantissa calculation.
21883 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21885         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21886         cpu2 is -1 and errno is not ENOSYS.
21888 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21890         [BZ #14117]
21891         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21892         * sysdeps/x86/bits/string.h: This.
21893         * sysdeps/x86_64/bits/string.h: Removed.
21895         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21896         if not compiling for x86-64, but compiling for >= i486.
21898         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21899         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21901         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21902         New macro from Linux kernel 3.4.0.
21903         (FP_XSTATE_MAGIC2): Likewise.
21904         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21905         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21906         (struct _fpx_sw_bytes): New struct.
21907         (struct _xsave_hdr): Likewise.
21908         (struct _ymmh_state): Likewise.
21909         (struct _xstate): Likewise.
21911         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21912         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21913         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21914         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21915         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21916         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21918         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21919         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21920         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21921         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21922         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21923         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21925 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21927         [BZ #13743]
21928         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21929         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21930         (sysdep_headers): Include sys/platform/ppc.h.
21931         * sysdeps/powerpc/test-gettimebase.c: Test for
21932         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21933         * manual/Makefile (appendices): Include platform.texi.
21934         * manual/contrib.texi (Contributors): Update @node pointers.
21935         * manual/maint.texi (Maintenance): Likewise.
21936         (Platform): New node.
21937         * manual/platform.texi: New file.  Document the new features.
21939 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21940             Jakub Jelinek  <jakub@redhat.com>
21942         [BZ #14188]
21943         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21944         where __builtin_expect is unavailable.
21946 2012-06-03  David S. Miller  <davem@davemloft.net>
21948         * stdlib/longlong.h: Updated from GCC.
21950 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21952         [BZ #14042]
21953         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21954         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21955         __mcount_internal.
21956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21957         (GLIBC_2.16): Likewise.
21959 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21961         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21963 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21966         (default-abi): New variable.
21967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21968         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21969         variable.
21970         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21971         Likewise.
21972         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21973         Likewise.
21974         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21975         Likewise.
21977         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21978         definition.  Document in comment.
21980 2012-06-01  David S. Miller  <davem@davemloft.net>
21982         * stdlib/longlong.h: Updated from GCC.
21984 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21986         [BZ #14117]
21987         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21988         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21989         sys/debugreg.h sys/io.h here.
21990         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21991         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21992         sys/io.h.
21993         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21994         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21995         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21996         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21997         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21998         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22000         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22001         Define only if __x86_64__ is defined.
22003 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22005         [BZ #14048]
22006         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22007         Use int64_t for variable i.
22008         * math/libm-test.inc (fmod_test): Add more tests.
22010         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22011         z computation is not scheduled after fetestexcept.
22012         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22013         Use math_force_eval instead of asm to ensure calculation scheduled
22014         before exception test.
22015         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22016         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22018 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22021         computation is not scheduled after fetestexcept.
22023 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22025         [BZ #14117]
22026         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22027         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22029 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22031         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22032         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22034 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22036         [BZ #14117]
22037         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22038         <bits/wordsize.h>.
22039         (__WCHAR_MIN): Support __WORDSIZE == 64.
22040         (__WCHAR_MAX): Likewise.
22042         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22043         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22045         [BZ #14183]
22046         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22047         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22049         [BZ #14117]
22050         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22051         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22053         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22054         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22056         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22057         Defined to 1 if __x86_64__ isn't defined.
22058         (_STAT_VER_LINUX_OLD): New.
22059         (st_atime): Remove duplicate.
22060         (st_mtime): Likewise.
22061         (st_ctime): Likewise.
22063 2012-05-31  David S. Miller  <davem@davemloft.net>
22065         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22066         entries.
22068 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22070         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22071         gen-libm-test.pl.
22073         [BZ #14132]
22074         * elf/dl-reloc.c: Include <_itoa.h>.
22075         (_dl_reloc_bad_type): Remove use of INTUSE.
22076         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22077         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22078         * stdio-common/psiginfo.c (psiginfo): Likewise.
22079         * stdio-common/psignal.c (psignal): Likewise.
22080         * string/strsignal.c (strsignal): Likewise.
22081         * include/signal.h (_sys_siglist): Declare hidden proto.
22082         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22083         INTVARDEF with libc_hidden_data_def.
22084         * stdio-common/itoa-udigits.c: Likewise.
22085         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22086         (_itoa_lower_digits_internal): Remove declaration.
22087         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22088         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22089         (_sys_sigabbrev_internal): Remove aliases.
22090         (_sys_siglist): Define hidden alias.
22092 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22094         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22095         bits/sysctl.h.
22097 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22099         [BZ #14117]
22100         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22101         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22103         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22104         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22105         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22106         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22107         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22108         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22110         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22111         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22112         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22114         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22115         with __addr.
22116         (insw): Likewise.
22117         (insl): Likewise.
22118         (outsb): Likewise.
22119         (outsw): Likewise.
22120         (outsl): Likewise.
22122         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22123         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22124         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22126         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22127         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22128         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22129         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22130         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22131         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22133         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22134         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22136         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22137         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22139         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22140         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22141         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22143         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22144         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22145         to ...
22146         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22148         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22149         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22150         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22152         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22153         for x86-64.
22154         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22156 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22158         * math/math.h (M_El): Use two more decimal places.
22159         (M_LOG2El): Likewise.
22160         (M_LOG10El): Likewise.
22161         (M_LN2l): Likewise.
22162         (M_LN10l): Likewise.
22163         (M_PIl): Likewise.
22164         (M_PI_2l): Likewise.
22165         (M_PI_4l): Likewise.
22166         (M_1_PIl): Likewise.
22167         (M_2_PIl): Likewise.
22168         (M_2_SQRTPIl): Likewise.
22169         (M_SQRT2l): Likewise.
22170         (M_SQRT1_2l): Likewise.
22172 2012-05-31  David S. Miller  <davem@davemloft.net>
22174         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22175         values between float registers.
22176         * sysdeps/sparc/sparc64/memset.S: Likewise.
22177         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22179 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22181         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22182         -D_FORTIFY_SOURCE=1.
22183         (CPPFLAGS-tst-longjmp_chk.c): Define.
22184         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22185         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22186         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22187         CFLAGS-tst-wchar-h.c.
22189 2012-05-31  Marek Polacek  <polacek@redhat.com>
22191         [BZ #14132]
22192         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22193         __endmntent_internal): Remove declaration.
22194         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22195         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22196         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22198 2012-05-30  David S. Miller  <davem@davemloft.net>
22200         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22201         (___Q_simulate_exceptions): Use real FP ops rather than writing
22202         into the %fsr.
22203         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22204         Likewise.
22206 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22208         [BZ #14117]
22209         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22210         * sysdeps/x86/bits/xtitypes.h: This.
22212         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22213         * sysdeps/x86/bits/wordsize.h: This.
22215         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22216         * sysdeps/x86/bits/huge_vall.h: This.
22218         * sysdeps/i386/bits/select.h: Removed.
22219         * sysdeps/x86_64/bits/select.h: Renamed to ...
22220         * sysdeps/x86/bits/select.h: This.
22222         * sysdeps/i386/bits/setjmp.h: Removed.
22223         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22224         * sysdeps/x86/bits/setjmp.h: This.
22226         * sysdeps/i386/bits/mathdef.h: Removed.
22227         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22228         * sysdeps/x86/bits/mathdef.h: This.
22230 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22232         [BZ #14132]
22233         * include/sys/socket.h (__connect_internal)
22234         (__libc_sa_len_internal): Remove declaration.
22235         (__connect, __libc_sa_len): Declare hidden_proto.
22236         (SA_LEN): Remove use of INTUSE.
22237         * socket/connect.c: Add libc_hidden_def.
22238         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22239         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22240         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22241         alias.
22242         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22243         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22244         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22245         of adding _internal alias.
22247 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22249         [BZ #14117]
22250         * sysdeps/i386/bits/link.h: Removed.
22251         * sysdeps/i386/bits/linkmap.h: Likewise.
22252         * sysdeps/x86_64/bits/link.h: Renamed to ...
22253         * sysdeps/x86/bits/link.h: This.
22254         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22255         * sysdeps/x86/bits/linkmap.h: This.
22257         * sysdeps/i386/bits/endian.h: Removed.
22258         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22259         * sysdeps/x86/bits/endian.h: This.
22261         * sysdeps/i386/bits/byteswap.h: Removed.
22262         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22263         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22264         * sysdeps/x86/bits/byteswap.h: This.
22265         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22266         * sysdeps/x86/bits/byteswap-16.h: This.
22267         * sysdeps/i386/Implies: Add x86.
22268         * sysdeps/x86_64/Implies: Likewise.
22270 2012-05-30  David S. Miller  <davem@davemloft.net>
22272         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22273         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22274         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22275         (FP_TRAPPING_EXCEPTIONS): Define.
22276         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22277         (FP_TRAPPING_EXCEPTIONS): Define.
22278         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22279         subnormals only when inexact has been signalled or underflow
22280         exceptions are enabled.
22281         (_FP_PACK_CANONICAL): Likewise.
22283 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22285         [BZ #14183]
22286         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22287         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22289 2012-05-30  Richard Henderson  <rth@twiddle.net>
22291         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22292         with #ifndef NOT_IN_libc.
22294         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22295         marked to avoid plt entry.
22297 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22299         [BZ #14112]
22300         * Makeconfig (default-abi): New macro.
22301         (abi-includes): Likewise.
22302         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22303         $(abi-$(default-abi)-lib-soname) for soname if defined.
22304         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22305         abi-variants.
22306         * Makefile (installed-stubs): Likewise.
22307         * include/stubs-biarch.h: Removed.
22308         * scripts/lib-names.awk: Only handle one library at a time.
22309         * scripts/soversions.awk: Remove WORDSIZE support.
22310         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22311         entries.
22312         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22313         Removed.
22314         (syscall-list-default-condition): Likewise.
22315         (syscall-list-default-condition): Likewise.
22316         (syscall-list-includes): Likewise.
22317         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22318         syscall-list-* with abi-*.  Handle undefined abi-variants.
22319         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22320         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22321         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22322         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22323         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22324         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22325         Removed.
22326         (syscall-list-32-options): Likewise.
22327         (syscall-list-32-condition): Likewise.
22328         (syscall-list-64-options): Likewise.
22329         (syscall-list-64-condition): Likewise.
22330         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22331         macro.
22332         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22333         Renamed to ...
22334         (abi-*): This.
22335         (abi-64-ld-soname): New macro.
22336         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22337         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22338         Renamed to ...
22339         (abi-*): This.
22340         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22341         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22343 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22345         * sysdeps/unix/sysv/linux/kernel-features.h
22346         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22347         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22348         include <kernel-features.h>.
22349         [!__NR_ftruncate64]: Remove conditional code.
22350         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22351         [__NR_ftruncate64]: Make code unconditional.
22352         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22353         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22354         include <kernel-features.h>.
22355         [!__NR_ftruncate64]: Remove conditional code.
22356         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22357         [__NR_ftruncate64]: Make code unconditional.
22358         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22360         include <kernel-features.h>.
22361         [!__NR_ftruncate64]: Remove conditional code.
22362         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22363         [__NR_ftruncate64]: Make code unconditional.
22364         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22366         include <kernel-features.h>.
22367         [!__NR_ftruncate64]: Remove conditional code.
22368         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22369         [__NR_ftruncate64]: Make code unconditional.
22370         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22372         * configure.in (libc_cv_fpie): Weaken to a compile test using
22373         LIBC_TRY_CC_OPTION.
22374         * configure: Regenerated.
22376 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22382         Refreshed.
22383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22389         Refreshed.
22391 2012-05-27  David S. Miller  <davem@davemloft.net>
22393         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22394         (___Q_zero): New.
22395         (__Q_simulate_exceptions): Return void.  Change to simulate
22396         exceptions by writing into the %fsr.
22397         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22398         (__Qp_handle_exceptions): Likewise.
22399         (numbers): Delete.
22400         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22401         __Qp_handle_exceptions.
22402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22403         __Qp_handle_exceptions.
22404         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22405         as unused and give dummy FP_RND_NEAREST initializer.
22406         (FP_INHIBIT_RESULTS): Define.
22407         (___Q_simulate_exceptions): Update declaration.
22408         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22409         formatting.
22410         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22411         as unused and give dummy FP_RND_NEAREST initializer.
22412         (__Qp_handle_exceptions): Update declaration.
22413         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22414         formatting.
22416 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22418         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22419         the temporary FPU control word.
22420         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22421         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22422         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22423         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22424         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22425         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22426         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22427         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22428         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22429         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22430         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22432 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22434         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22435         fields.
22437 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22439         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22440         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22441         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22442         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22443         Likewise.
22444         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22445         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22446         Likewise.
22448 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22450         * po/h.po: Update from translation team.
22452 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22454         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22456         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22457         handling of denormals.
22458         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22459         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22460         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22461         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22462         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22463         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22464         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22465         Likewise.
22467 2012-05-26  Marek Polacek  <polacek@redhat.com>
22469         [BZ #14152]
22470         * math/libm-test.inc (fma_test): Don't always expect underflow
22471         exception.
22473 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22475         [BZ #12416]
22476         * elf/tst-execstack.c: Include stackinfo.h.
22477         (do_test): Adjust test case to ensure that pthread_getattr_np
22478         behaviour remains the same after marking stack executable.
22480 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22482         * sysdeps/unix/sysv/linux/kernel-features.h
22483         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22484         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22485         kernel-features.h.
22486         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22487         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22488         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22489         kernel-features.h.
22490         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22491         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22493 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22495         * configure.in: Define the default includes to being none.
22496         * configure: Regenerated.
22498 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22500         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22501         * sysdeps/x86_64/setjmp.S: Likewise.
22502         * sysdeps/i386/bsd-setjmp.S: Likewise.
22503         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22504         * sysdeps/i386/setjmp.S: Likewise.
22505         * sysdeps/i386/__longjmp.S: Likewise.
22506         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22507         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22509         * include/stap-probe.h: New file.
22510         * configure.in: Handle --enable-systemtap.
22511         * configure: Regenerated.
22512         * config.h.in (USE_STAP_PROBE): New #undef.
22513         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22514         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22515         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22517 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22519         [BZ #13717]
22520         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22521         to 2.4.0 where earlier.
22522         * sysdeps/unix/sysv/linux/configure: Regenerated.
22523         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22524         <kernel-features.h>.
22525         [__ASSUME_32BITUIDS]: Make code unconditional.
22526         [!__ASSUME_32BITUIDS]: Remove conditional code.
22527         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22528         <kernel-features.h>.
22529         [__ASSUME_32BITUIDS]: Make code unconditional.
22530         [!__ASSUME_32BITUIDS]: Remove conditional code.
22531         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22532         [__ASSUME_32BITUIDS]: Make code unconditional.
22533         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22534         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22535         <kernel-features.h>.
22536         [__ASSUME_32BITUIDS]: Make code unconditional.
22537         [!__ASSUME_32BITUIDS]: Remove conditional code.
22538         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22539         <kernel-features.h>.
22540         [__ASSUME_32BITUIDS]: Make code unconditional.
22541         [!__ASSUME_32BITUIDS]: Remove conditional code.
22542         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22543         <kernel-features.h>.
22544         [__ASSUME_32BITUIDS]: Make code unconditional.
22545         [!__ASSUME_32BITUIDS]: Remove conditional code.
22546         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22547         <kernel-features.h>.
22548         [__ASSUME_32BITUIDS]: Make code unconditional.
22549         [!__ASSUME_32BITUIDS]: Remove conditional code.
22550         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22551         <kernel-features.h>.
22552         [__ASSUME_32BITUIDS]: Make code unconditional.
22553         [!__ASSUME_32BITUIDS]: Remove conditional code.
22554         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22555         <kernel-features.h>.
22556         [__ASSUME_32BITUIDS]: Make code unconditional.
22557         [!__ASSUME_32BITUIDS]: Remove conditional code.
22558         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22559         <kernel-features.h>.
22560         [__ASSUME_32BITUIDS]: Make code unconditional.
22561         [!__ASSUME_32BITUIDS]: Remove conditional code.
22562         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22563         <kernel-features.h>.
22564         [__ASSUME_32BITUIDS]: Make code unconditional.
22565         [!__ASSUME_32BITUIDS]: Remove conditional code.
22566         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22567         <kernel-features.h>.
22568         [__ASSUME_32BITUIDS]: Make code unconditional.
22569         [!__ASSUME_32BITUIDS]: Remove conditional code.
22570         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22571         <kernel-features.h>.
22572         [__ASSUME_32BITUIDS]: Make code unconditional.
22573         [!__ASSUME_32BITUIDS]: Remove conditional code.
22574         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22575         <kernel-features.h>.
22576         [__NR_setresgid] (__setresgid): Do not declare.
22577         [__ASSUME_32BITUIDS]: Make code unconditional.
22578         [!__ASSUME_32BITUIDS]: Remove conditional code.
22579         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22580         <kernel-features.h>.
22581         [__NR_setresuid] (__setresuid): Do not declare.
22582         [__ASSUME_32BITUIDS]: Make code unconditional.
22583         [!__ASSUME_32BITUIDS]: Remove conditional code.
22584         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22585         <kernel-features.h>.
22586         [__ASSUME_32BITUIDS]: Make code unconditional.
22587         [!__ASSUME_32BITUIDS]: Remove conditional code.
22588         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22589         <kernel-features.h>.
22590         [__ASSUME_32BITUIDS]: Make code unconditional.
22591         [!__ASSUME_32BITUIDS]: Remove conditional code.
22592         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22593         <kernel-features.h>.
22594         [__ASSUME_32BITUIDS]: Make code unconditional.
22595         [!__ASSUME_32BITUIDS]: Remove conditional code.
22596         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22597         <kernel-features.h>.
22598         [__ASSUME_32BITUIDS]: Make code unconditional.
22599         [!__ASSUME_32BITUIDS]: Remove conditional code.
22600         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22601         <kernel-features.h>.
22602         [__ASSUME_32BITUIDS]: Make code unconditional.
22603         [!__ASSUME_32BITUIDS]: Remove conditional code.
22604         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22605         <kernel-features.h>.
22606         [__ASSUME_32BITUIDS]: Make code unconditional.
22607         [!__ASSUME_32BITUIDS]: Remove conditional code.
22608         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22609         <kernel-features.h>.
22610         [__ASSUME_32BITUIDS]: Make code unconditional.
22611         [!__ASSUME_32BITUIDS]: Remove conditional code.
22612         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22613         <kernel-features.h>.
22614         [__ASSUME_32BITUIDS]: Make code unconditional.
22615         [!__ASSUME_32BITUIDS]: Remove conditional code.
22616         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22617         <kernel-features.h>.
22618         [__ASSUME_32BITUIDS]: Make code unconditional.
22619         [!__ASSUME_32BITUIDS]: Remove conditional code.
22620         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22621         <kernel-features.h>.
22622         [__ASSUME_32BITUIDS]: Make code unconditional.
22623         [!__ASSUME_32BITUIDS]: Remove conditional code.
22624         * sysdeps/unix/sysv/linux/kernel-features.h
22625         (__ASSUME_SETRESUID_SYSCALL): Remove.
22626         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22627         (__ASSUME_32BITUIDS): Likewise.
22628         (__ASSUME_LDT_WORKS): Likewise.
22629         (__ASSUME_O_DIRECTORY): Likewise.
22630         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22631         architecture but not kernel version.
22632         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22633         (__ASSUME_MMAP2_SYSCALL): Likewise.
22634         (__ASSUME_STAT64_SYSCALL): Likewise.
22635         (__ASSUME_IPC64): Likewise.
22636         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22637         <kernel-features.h>.
22638         [__ASSUME_32BITUIDS]: Make code unconditional.
22639         [!__ASSUME_32BITUIDS]: Remove conditional code.
22640         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22641         <kernel-features.h>.
22642         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22643         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22644         132096]: Remove conditional code.
22645         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22646         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22647         <kernel-features.h>.
22648         [__ASSUME_32BITUIDS]: Make code unconditional.
22649         [!__ASSUME_32BITUIDS]: Remove conditional code.
22650         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22651         <kernel-features.h>.
22652         [__ASSUME_32BITUIDS]: Make code unconditional.
22653         [!__ASSUME_32BITUIDS]: Remove conditional code.
22654         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22655         <kernel-features.h>.
22656         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22657         unconditional.
22658         (__setresgid): Do not declare.
22659         [__ASSUME_32BITUIDS]: Make code unconditional.
22660         [!__ASSUME_32BITUIDS]: Remove conditional code.
22661         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22662         <kernel-features.h>.
22663         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22664         unconditional.
22665         (__setresuid): Do not declare.
22666         [__ASSUME_32BITUIDS]: Make code unconditional.
22667         [!__ASSUME_32BITUIDS]: Remove conditional code.
22668         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22669         <kernel-features.h>.
22670         [__ASSUME_32BITUIDS]: Make code unconditional.
22671         [!__ASSUME_32BITUIDS]: Remove conditional code.
22672         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22673         <kernel-features.h>.
22674         [__ASSUME_32BITUIDS]: Make code unconditional.
22675         [!__ASSUME_32BITUIDS]: Remove conditional code.
22677 2012-05-25  Richard Henderson  <rth@twiddle.net>
22679         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22680         dl_hwcap to ifunc resolver.
22681         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22682         elf_ifunc_invoke.
22683         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22684         dl_hwcap to ifunc resolver.
22685         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22687 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22689         [BZ #14153]
22690         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22691         for |x| <= 2**-26, not 2**-57.
22692         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22693         exception.
22695 2012-05-24  Jeff Law  <law@redhat.com>
22697         * stdio-common/Makefile (tests): Add bug25.
22698         * stdio-common/bug25.c: New test.
22700 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22702         [BZ #13576]
22703         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22704         multiple of MALLOC_ALIGNMENT in size.
22705         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22707 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22709         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22710         Require >= 256.
22711         (FILENAME_MAX): Use macro-int-constant.
22712         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22713         (_IOFBF): Use macro-int-constant.
22714         (_IOLBF): Likewise.
22715         (_IONBF): Likewise.
22716         (SEEK_CUR): Likewise.
22717         (SEEK_END): Likewise.
22718         (SEEK_SET): Likewise.
22719         (TMP_MAX): Likewise.
22720         (EOF): Use macro-int-constant.  Require < 0.
22721         (NULL): Use macro-constant.  Require == 0.
22722         (stdin): Require type to be FILE *.
22723         (stdout): Likewise.
22724         (stderr): Likewise.
22725         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22726         macro-int-constant.
22727         (EXIT_SUCCESS): Likewise.
22728         (NULL): Use macro-constant.  Require == 0.
22729         (RAND_MAX): Use macro-int-constant.
22730         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22731         [C99-based standards] (strtof): Require function.
22732         [C99-based standards] (strtold): Likewise.
22733         [C99-based standards] (strtoll): Likewise.
22734         [C99-based standards] (strtoull): Likewise.
22735         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22736         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22737         [ISO || ISO99 || ISO11] (math.h): Likewise.
22738         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22739         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22740         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22742 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22744         [BZ #14132]
22745         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22746         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22747         * intl/dgettext.c (DCGETTEXT): Likewise.
22748         * intl/gettext.c (DCGETTEXT): Likewise.
22749         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22750         * posix/regex_internal.h (gettext): Likewise.
22751         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22752         Remove declaration.
22753         * include/argz.h (__argz_count_internal)
22754         (__argz_stringify_internal): Remove declaration.
22755         (__argz_count, __argz_stringify): Declare hidden proto.
22756         * intl/dcgettext.c: Remove use of INTDEF.
22757         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22758         * string/argz-stringify.c: Likewise.
22759         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22760         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22761         Declare hidden proto.
22762         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22763         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22764         Declare hidden proto.
22765         * include/stdio.h (__asprintf_internal): Don't declare.
22766         (__asprintf): Don't define as macro.  Declare hidden proto.
22767         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22768         (__fsetlocking): Declare hidden proto.
22769         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22770         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22771         hidden proto.
22772         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22773         (_IO_setlinebuf): Remove use of INTUSE.
22774         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22775         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22776         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22777         Remove declaration.
22778         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22779         (_IO_do_flush): Remove use of INTUSE.
22780         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22781         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22782         (_IO_adjust_column, _IO_least_wmarker)
22783         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22784         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22785         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22786         (_IO_default_doallocate, _IO_wdefault_doallocate)
22787         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22788         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22789         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22790         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22791         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22792         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22793         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22794         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22795         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22796         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22797         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22798         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22799         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22800         proto.
22801         (_IO_flush_all_internal, _IO_adjust_column_internal)
22802         (_IO_default_uflow_internal, _IO_default_finish_internal)
22803         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22804         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22805         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22806         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22807         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22808         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22809         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22810         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22811         (_IO_file_close_internal, _IO_file_close_it_internal)
22812         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22813         (_IO_file_init_internal, _IO_file_attach_internal)
22814         (_IO_file_fopen_internal, _IO_file_read_internal)
22815         (_IO_file_sync_internal, _IO_file_seek_internal)
22816         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22817         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22818         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22819         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22820         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22821         (_IO_list_all_internal, _IO_link_in_internal)
22822         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22823         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22824         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22825         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22826         (_IO_do_write_internal, _IO_padn_internal)
22827         (_IO_getline_info_internal, _IO_getline_internal)
22828         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22829         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22830         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22831         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22832         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22833         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22834         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22835         with libc_hidden_ver, remove use of INTUSE.
22836         * libio/genops.c: Likewise.
22837         * libio/freopen.c: Likewise.
22838         * libio/freopen64.c: Likewise.
22839         * libio/iofclose.c: Likewise.
22840         * libio/iofdopen.c: Likewise.
22841         * libio/iofflush.c: Likewise.
22842         * libio/iofflush_u.c: Likewise.
22843         * libio/iofgets.c: Likewise.
22844         * libio/iofgets_u.c: Likewise.
22845         * libio/iofopen.c: Likewise.
22846         * libio/iofopncook.c: Likewise.
22847         * libio/iofread.c: Likewise.
22848         * libio/iofread_u.c: Likewise.
22849         * libio/ioftell.c: Likewise.
22850         * libio/iofwrite.c: Likewise.
22851         * libio/iogetline.c: Likewise.
22852         * libio/iogets.c: Likewise.
22853         * libio/iogetwline.c: Likewise.
22854         * libio/iopadn.c: Likewise.
22855         * libio/iopopen.c: Likewise.
22856         * libio/ioseekoff.c: Likewise.
22857         * libio/ioseekpos.c: Likewise.
22858         * libio/iosetbuffer.c: Likewise.
22859         * libio/iosetvbuf.c: Likewise.
22860         * libio/ioungetc.c: Likewise.
22861         * libio/ioungetwc.c: Likewise.
22862         * libio/iovdprintf.c: Likewise.
22863         * libio/iovsprintf.c: Likewise.
22864         * libio/iovsscanf.c: Likewise.
22865         * libio/memstream.c: Likewise.
22866         * libio/obprintf.c: Likewise.
22867         * libio/oldfileops.c: Likewise.
22868         * libio/oldiofclose.c: Likewise.
22869         * libio/oldiofdopen.c: Likewise.
22870         * libio/oldiofopen.c: Likewise.
22871         * libio/oldiopopen.c: Likewise.
22872         * libio/oldstdfiles.c: Likewise.
22873         * libio/putc.c: Likewise.
22874         * libio/setbuf.c: Likewise.
22875         * libio/setlinebuf.c: Likewise.
22876         * libio/stdfiles.c: Likewise.
22877         * libio/strops.c: Likewise.
22878         * libio/vasprintf.c: Likewise.
22879         * libio/vscanf.c: Likewise.
22880         * libio/vsnprintf.c: Likewise.
22881         * libio/vswprintf.c: Likewise.
22882         * libio/wfiledoalloc.c: Likewise.
22883         * libio/wfileops.c: Likewise.
22884         * libio/wgenops.c: Likewise.
22885         * libio/wmemstream.c: Likewise.
22886         * libio/wstrops.c: Likewise.
22887         * libio/__fpurge.c: Likewise.
22888         * libio/__fsetlocking.c: Likewise.
22889         * assert/assert.c: Likewise.
22890         * debug/fgets_chk.c: Likewise.
22891         * debug/fgets_u_chk.c: Likewise.
22892         * debug/fread_chk.c: Likewise.
22893         * debug/fread_u_chk.c: Likewise.
22894         * debug/gets_chk.c: Likewise.
22895         * debug/obprintf_chk.c: Likewise.
22896         * debug/vasprintf_chk.c: Likewise.
22897         * debug/vdprintf_chk.c: Likewise.
22898         * debug/vsnprintf_chk.c: Likewise.
22899         * debug/vsprintf_chk.c: Likewise.
22900         * malloc/mtrace.c: Likewise.
22901         * misc/error.c: Likewise.
22902         * misc/syslog.c: Likewise.
22903         * stdio-common/asprintf.c: Likewise.
22904         * stdio-common/fxprintf.c: Likewise.
22905         * stdio-common/getw.c: Likewise.
22906         * stdio-common/isoc99_fscanf.c: Likewise.
22907         * stdio-common/isoc99_scanf.c: Likewise.
22908         * stdio-common/isoc99_vfscanf.c: Likewise.
22909         * stdio-common/isoc99_vscanf.c: Likewise.
22910         * stdio-common/isoc99_vsscanf.c: Likewise.
22911         * stdio-common/printf-prs.c: Likewise.
22912         * stdio-common/printf_fp.c: Likewise.
22913         * stdio-common/printf_fphex.c: Likewise.
22914         * stdio-common/printf_size.c: Likewise.
22915         * stdio-common/putw.c: Likewise.
22916         * stdio-common/scanf.c: Likewise.
22917         * stdio-common/sprintf.c: Likewise.
22918         * stdio-common/tmpfile.c: Likewise.
22919         * stdio-common/vfprintf.c: Likewise.
22920         * stdio-common/vfscanf.c: Likewise.
22921         * stdlib/strfmon_l.c: Likewise.
22922         * sunrpc/openchild.c: Likewise.
22923         * sunrpc/xdr_stdio.c: Likewise.
22924         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22925         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22927 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22929         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22931         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22932         in the third column, to generate for the shared library an IFUNC
22933         that uses _dl_vdso_vsym.
22934         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22935         * Makeconfig (object-suffixes-noshared): New variable.
22937         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22938         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22939         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22940         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22942         [BZ #14132]
22943         * include/sys/time.h (__gettimeofday): Remove macro.
22944         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22945         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22946         Remove INTDEF.
22947         (__gettimeofday): Add libc_hidden_def.
22948         (gettimeofday): Add libc_hidden_weak.
22949         * sysdeps/mach/gettimeofday.c: Likewise.
22950         * sysdeps/posix/gettimeofday.c: Likewise.
22951         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22952         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22953         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22954         (__gettimeofday_internal): Remove strong_alias.
22955         (__gettimeofday): Add libc_hidden_def.
22956         (gettimeofday): Add libc_hidden_weak.
22957         * sysdeps/unix/syscalls.list (gettimeofday):
22958         Remove __gettimeofday_internal alias.
22960 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22961             H.J. Lu  <hongjiu.lu@intel.com>
22963         [BZ #12495]
22964         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22965         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22966         (largebin_index_32_big): New.
22967         (largebin_index): Use it for 16-byte alignment.
22968         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22969         correction with front_misalign.
22971 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22975         Likewise.
22976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22977         Likewise.
22978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22979         Likewise.
22980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22981         Likewise.
22982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22983         Likewise.
22984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22985         Likewise.
22986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22987         Likewise.
22988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22989         Likewise.
22990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22991         Likewise.
22992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22993         Likewise.
22994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22995         Likewise.
22996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22997         Likewise.
22999         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23000         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23002 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23004         [BZ #10846]
23005         [BZ #14036]
23006         * math/libm-test.inc (exp_test): Add test from bug 14036.
23007         (pow_test): Add test from bug 10846.
23009         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23010         and other flags.
23011         (special_function): Do not include flags in test name.
23012         (parse_args): Likewise.
23013         * sysdeps/i386/fpu/libm-test-ulps: Update.
23014         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23015         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23016         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23019         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23020         exceptions.
23021         * math/libm-test.inc ("Philosophy"): Update comment about
23022         exception testing.
23023         (UNDERFLOW_EXCEPTION): New macro.
23024         (UNDERFLOW_EXCEPTION_OK): Likewise.
23025         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23026         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23027         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23028         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23029         (INVALID_EXCEPTION_OK): Update value.
23030         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23031         (OVERFLOW_EXCEPTION_OK): Likewise.
23032         (IGNORE_ZERO_INF_SIGN): Likewise.
23033         (test_exceptions): Handle underflow exceptions.
23034         (acos_test): Update for underflow exception expectations.
23035         (cexp_test): Likewise.
23036         (clog_test): Likewise.
23037         (clog10_test): Likewise.
23038         (csqrt_test): Likewise.
23039         (ctan_test): Likewise.
23040         (ctanh_test): Likewise.
23041         (exp_test): Likewise.
23042         (exp10_test): Likewise.
23043         (exp2_test): Likewise.
23044         (expm1_test): Likewise.
23045         (fma_test): Likewise.
23046         (j0_test): Likewise.
23047         (jn_test): Likewise.
23048         (nexttoward_test): Likewise.
23049         (pow_test): Likewise.
23050         (scalbn_test): Likewise.
23051         (scalbln_test): Likewise.
23052         (tan_test): Likewise.
23053         (y1_test): Likewise.
23054         * sysdeps/i386/fpu/libm-test-ulps: Update.
23055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23057 2012-05-23  David S. Miller  <davem@davemloft.net>
23059         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23060         (__libc_sigaction): Remove unused local variables.
23062 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23064         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23066 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23068         mktime: avoid signed integer overflow
23069         * time/mktime.c (__mktime_internal): Do not mishandle the case
23070         where diff == INT_MIN.
23072         mktime: simplify computation of average
23073         * time/mktime.c (ranged_convert): Use new time_t_avg function
23074         instead of rolling our own (probably-slower) code.
23076         mktime: do not assume signed right shift propagates sign bit
23077         * time/mktime.c (isdst_differ): New static function.
23078         (__mktime_internal): No need to normalize tm_isdst now.
23079         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23080         tm_isdst values.
23082         mktime: merge another wrapv change from gnulib
23083         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23084         from some compilers.
23086         mktime: remove incorrect attempt at unusual arithmetics
23087         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23088         The code didn't really work on such machines anyway.
23089         (TYPE_MINIMUM): Assume two's complement.
23090         (twos_complement_arithmetic): Verify that long_int and time_t
23091         are two's complement (or unsigned, in the latter case).
23093         mktime: check signed shifts on long_int and time_t, too
23094         * time/mktime.c (SHR): Check that shifts work as desired
23095         on the types long_int and time_t too, as SHR is used on
23096         such types.
23098         mktime: do not assume 'long' is wide enough
23099         * time/mktime.c (verify): Move decl up.
23100         (long_int): New type.
23101         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23102         to remove assumption in the code that 'long' is wide enough to
23103         store year values.  This assumption is not true on x32 and on
23104         some non-glibc platforms.
23106         mktime: merge wrapv change from gnulib
23107         * time/mktime.c (WRAPV): New macro.
23108         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23109         (guess_time_tm, __mktime_internal): Do not assume that signed
23110         integer overflow wraps around; modern compilers generate code
23111         where this assumption is no longer valid.
23113 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23115         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23116         Replace "jmp L(pseudo_end)" with "ret".
23117         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23118         Likewise.
23120 2012-05-23  Andreas Jaeger  <aj@suse.de>
23122         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23123         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23125 2012-05-23  Andreas Jaeger  <aj@suse.de>
23126             Maximilian Attems  <max@stro.at>
23128         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23129         New macros.
23131 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23133         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23134         code so that pseudo_end is just ret and the stack pointer is
23135         correct also for static library in error case.
23137 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23139         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23140         move to syscalls.list.
23141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23146         * manual/install.texi (Running make install): Do not mention Linux
23147         kernel version for which pt_chown is not needed.
23148         (Linux): Do not mention problems with nscd with 2.0 kernels.
23149         * INSTALL: Regenerated.
23151 2012-05-23  Andreas Jaeger  <aj@suse.de>
23153         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23154         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23155         macro.
23156         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23157         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23158         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23159         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23160         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23161         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23162         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23163         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23164         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23165         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23166         * sysdeps/unix/sysv/linux/bits/in.h
23167         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23169 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23171         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23172         (PREPARE_VERSION): Just use assert instead, it will be elided
23173         under [NDEBUG] anyway.
23175 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23177         * sysdeps/unix/sysv/linux/Makefile: Include
23178         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23179         (sysdep_routines): Remove sysctl.
23180         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23181         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23182         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23183         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23184         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23186 2012-05-22  Andreas Jaeger  <aj@suse.de>
23188         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23189         that pseudo_end is just ret and the stack pointer is correct also
23190         for static library in error case.
23192 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23194         [BZ #14122]
23195         * nss/nsswitch.c (defconfig_entries): New variable.
23196         (__nss_database_lookup): Don't leak defconfig entries.
23197         (nss_parse_service_list): Don't leak on error paths.
23198         (free_database_entries): New function.
23199         (free_defconfig): New function.
23200         (free_mem): Move common code to free_database_entries.
23202 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23204         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23205         Add arch_prctl.
23206         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23208         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23209         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23210         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23211         New macro.
23212         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23213         (INTERNAL_SYSCALL_TYPES): Likewise.
23214         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23215         (LOAD_REGS_TYPES_[1-6]): Likewise.
23216         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23217         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23219 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23221         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23222         copysignl for GLIBC_2_0.
23223         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23224         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23225         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23226         logbl for GLIBC_2_0.
23227         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23228         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23230 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23232         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23233         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23235         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23236         Use "neg %eax".
23238         * time/mktime.c: Update copyright years.
23240 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23242         mktime: merge comment-quoting-style change from gnulib
23243         * time/mktime.c: Quote 'like this' in comments.
23244         The GNU coding standards suggest that we no longer quote `like this',
23245         as "`" and "'" are typically rendered asymmetrically nowadays.
23246         The typical gnulib style is to quote 'like this' when quoting
23247         code, and "like this" when quoting English.
23249         * time/mktime.c (compile-command): Add "-I.".
23251         mktime: merge mktime-internal.h change from gnulib
23252         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23254         mktime: merge time_r change from gnulib
23255         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23257         mktime: merge DEBUG change from gnulib
23258         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23259         case system <time.h> has a #define.
23261         mktime: merge <sys/types.h> change from gnulib
23262         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23263         since <time.t> is now guaranteed to define time_t.
23265         mktime: merge HAVE_CONFIG_H change from gnulib
23266         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23268 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23271         Use "neg %eax".
23273         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23274         __rlim_t cast.
23275         (struct rusage): Use anonymous union to pad each field to
23276         __syscall_slong_t.
23278 2012-05-21  David S. Miller  <davem@davemloft.net>
23280         * Makefules (o-iterator): Remove .s cases.
23281         (compile-command.s): Delete.
23282         (COMPILE.s): Delete.
23283         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23285 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23287         * configure.in (libc_cv_predef_stack_protector): Only consider
23288         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23289         * configure: Regenerated.
23291 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23293         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23294         New macro.  Use R*LP on int and pointer.
23295         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23296         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23297         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23298         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23300         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23301         [__WORDSIZE_TIME64_COMPAT32] instead of
23302         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23303         (struct utmp): Likewise.
23304         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23305         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23306         Renamed to ...
23307         (__WORDSIZE_TIME64_COMPAT32): This.
23308         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23309         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23310         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23311         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23312         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23313         (__WORDSIZE_TIME64_COMPAT32): New macro.
23315 2012-05-21  Andreas Jaeger  <aj@suse.de>
23317         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23318         only if [SHARED]. Add prototype for __wcschr_ia32.
23320 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23322         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23323         of %rbp unmolested in the jmp_buf while mangling the low bits.
23324         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23325         unmolested high bits of %rbp while demangling the low bits.
23326         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23328 2012-05-21  Andreas Jaeger  <aj@suse.de>
23330         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23331         * sunrpc/svc_simple.c: Use it for registerrpc.
23332         * sunrpc/xcrypt.c: Use it for passwd2des.
23334         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23336 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23338         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23339         Don't define if [__SYSCALL_WORDSIZE != 32].
23340         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23341         New macro.
23343 2012-05-21  Bruno Haible  <bruno@clisp.org>
23344             Andreas Jaeger  <aj@suse.de>
23346         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23347         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23348         inptr and inend for must_buffer_ch.
23349         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23350         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23351         * stdio-common/Makefile (tests): Remove bug15.
23352         (bug15-ENV): Remove macro.
23353         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23354         anymore.
23356 2012-05-19  Andreas Jaeger  <aj@suse.de>
23357             Roland McGrath  <roland@hack.frob.com>
23359         * manual/contrib.texi: Completely rewritten. It contains now an
23360         alphabetical list of contributors and their contributions.
23362 2012-05-21  Richard Henderson  <rth@twiddle.net>
23364         * misc/getauxval.c (__getauxval): Use unsigned long int.
23365         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23366         (getauxval): Use unsigned long int.
23368 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23370         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23372 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23374         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23375         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23376         __alignof__ (long double).
23378 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23382 2012-05-20  Richard Henderson  <rth@twiddle.net>
23384         * misc/getauxval.c: New file.
23385         * misc/sys/auxv.h: New file.
23386         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23387         (routines): Add getauxval.
23388         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23389         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23390         * elf/dl-sysdep.c (_dl_auxv): Remove.
23391         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23392         * elf/dl-support.c (_dl_auxv): New variable.
23393         (_dl_aux_init): Initialize it.
23394         * manual/startup.texi (Auxiliary Vector): New node.
23395         * sysdeps/generic/bits/hwcap.h: New file.
23396         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23397         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23398         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23399         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23400         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23401         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23403         Update.
23404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23407         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23413 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23417 2012-05-19  David S. Miller  <davem@davemloft.net>
23419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23421 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23423         [BZ #14123]
23424         * math/s_ccosh.c: Include <float.h>
23425         (__ccosh): Avoid internal overflow calculating sinh and cosh
23426         values before multiplying by sin and cos values.
23427         * math/s_ccoshf.c: Likewise.
23428         * math/s_ccoshl.c: Likewise.
23429         * math/s_csin.c: Likewise.
23430         * math/s_csinf.c: Likewise.
23431         * math/s_csinl.c: Likewise.
23432         * math/s_csinh.c: Likewise.
23433         * math/s_csinhf.c: Likewise.
23434         * math/s_csinhl.c: Likewise.
23435         * math/libm-test.inc (ccos_test): Add more tests.
23436         (ccosh_test): Likewise.
23437         (csin_test): Likewise.
23438         (csinh_test): Likewise.
23439         * sysdeps/i386/fpu/libm-test-ulps: Update.
23440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23442 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23444         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23445         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23447         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23449 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23451         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23452         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23453         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23454         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23455         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23456         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23457         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23458         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23459         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23460         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23461         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23462         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23463         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23464         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23465         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23466         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23467         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23468         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23469         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23470         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23471         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23472         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23473         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23474         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23475         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23476         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23477         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23478         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23479         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23480         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23481         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23483 2012-05-18  Andreas Jaeger  <aj@suse.de>
23485         * csu/.gitignore: Delete.
23487 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23489         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23490         (timex): Use __syscall_slong_t.
23492 2012-05-18  Andreas Jaeger  <aj@suse.de>
23493             Carlos O'Donell  <carlos_odonell@mentor.com>
23495         * manual/install.texi (Configuring and compiling): Update
23496         description about files modified in the source directory.
23497         * INSTALL: Regenerated.
23499 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23501         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23502         value.  Use "or" to set return value to -1.
23503         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23504         negate return value.
23506 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23508         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23509         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23510         failure if the compiler has Graphite support disabled.
23511         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23512         Likewise.
23513         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23514         CFLAGS-memmove.c): Likewise.
23515         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23516         Likewise.
23518 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23520         * sysdeps/x86_64/x32/_itoa.h: New file.
23522         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23523         getdents system call only if kernel and user dirents have the
23524         same d_ino and d_off.
23526         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23527         LLONG_MAX != LONG_MAX.
23528         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23529         (_fitoa_word): Likewise.
23531         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23532         years.
23533         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23534         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23535         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23537         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23538         include <bits/wordsize.h>.  Check __x86_64__ instead of
23539         __WORDSIZE.
23540         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23541         if __x86_64__ is defined.  Use anonymous union on fpstate.
23543         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23544         anonymous union.
23546 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23548         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23549         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23550         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23551         Refer to _rtld_local_ro instead of _rtld_global_ro.
23552         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23553         Likewise.
23554         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23555         Likewise.
23556         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23557         Likewise.
23558         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23559         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23560         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23562         * sysdeps/powerpc/powerpc32/dl-machine.c
23563         (__elf_machine_runtime_setup) [PROF]: Don't reference
23564         _dl_prof_resolve.
23566 2012-05-18  Andreas Jaeger  <aj@suse.de>
23568         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23569         function only available for GCCs before 3.4 since GCC 3.4
23570         introduced a builtin.
23571         (lrint): Likewise.
23572         (llrintf): Likewise.
23573         (llrint): Likewise.
23574         (fmaxf): Likewise.
23575         (fmax): Likewise.
23576         (fminf): Likewise.
23577         (fmin): Likewise.
23578         (rint): Likewise.
23579         (rintf): Likewise.
23580         (nearbyint): Likewise.
23581         (nearbyintf): Likewise.
23582         (ceil): Likewise.
23583         (ceilf): Likewise.
23584         (floor): Likewise.
23585         (floorf): Likewise.
23587 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23589         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23590         on both fields and cast pointer to __syscall_ulong_t.
23592         * bits/types.h (__fsword_t): New type.
23593         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23594         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23595         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23596         (__FSWORD_T_TYPE): Likewise.
23597         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23598         (__FSWORD_T_TYPE): Likewise.
23599         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23600         (__FSWORD_T_TYPE): Likewise.
23601         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23602         (__FSWORD_T_TYPE): Likewise.
23603         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23604         __SWORD_TYPE with __fsword_t.
23605         (statfs64): Likewise.
23607 2012-05-17  David S. Miller  <davem@davemloft.net>
23609         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23611 2012-05-17  Andreas Jaeger  <aj@suse.de>
23613         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23614         warning.
23616 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23618         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23620 2012-05-17  Andreas Jaeger  <aj@suse.de>
23622         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23623         when it is used.
23625 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23627         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23629 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23631         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23632         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23634 2012-05-17  Andreas Jaeger  <aj@suse.de>
23635             Carlos O'Donell  <carlos_odonell@mentor.com>
23637         [BZ #14059]
23638         * sysdeps/x86_64/multiarch/init-arch.h
23639         (bit_YMM_Usable): Rename to...
23640         (bit_AVX_Usable): ... this.
23641         (bit_FMA4_Usable): New macro.
23642         (bit_XMM_state): New macro.
23643         (bit_YMM_state): New macro.
23644         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23645         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23646         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23647         (CPUID_OSXSAVE): New macro.
23648         (CPUID_AVX): New macro.
23649         (CPUID_FMA4): New macro.
23650         (index_YMM_Usable): Rename to...
23651         (index_AVX_Usable): ... this.
23652         (HAS_AVX): Use HAS_ARCH_FEATURE.
23653         (HAS_FMA4): Likewise.
23654         (HAS_YMM_USABLE): Remove.
23655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23656         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23657         are present.
23658         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23659         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23660         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23661         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23662         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23664 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23666         * math/libm-test.c: Support platforms without multiple rounding modes.
23667         * math/bug-nextafter.c: Support platforms without FP exceptions.
23668         * math/bug-nexttoward.c: Likewise.
23669         * math/test-fenv.c: Likewise.
23670         * math/test-misc.c: Likewise.
23671         * stdlib/bug-getcontext.c: Likewise.
23673 2012-05-17  Andreas Jaeger  <aj@suse.de>
23675         * manual/examples/search.c (critter_cmp): Change signature to
23676         avoid warnings.
23677         * manual/string.texi (Collation Functions): Likewise.
23679 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23681         * bits/types.h: Fold copyright years.
23682         * bits/typesizes.h: Likewise.
23683         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23684         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23685         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23686         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23687         * time/time.h: Likewise.
23689 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23691         [BZ #208]
23692         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23693         in instead of returning them.  Return void.
23694         (__libc_mallinfo): Accumulate over all arenas.
23695         (__malloc_stats): Adjust for change in int_mallinfo interface.
23697 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23699         [BZ #10375]
23700         * configure.in (NM): Add AC_CHECK_TOOL for it.
23701         (libc_extra_cflags): New substituted variable.
23702         Check for -fstack-protector being used implicitly.
23703         * configure: Regenerated.
23704         * config.make.in (config-extra-cflags): New variable,
23705         gets @libc_extra_cflags@.
23706         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23708         [BZ #10375]
23709         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23710         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23711         * configure: Regenerated.
23712         * config.make.in (CPPUNDEFS): New substituted variable.
23713         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23714         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23715         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23717 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23719         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23720         (mq_attr): Use __syscall_slong_t.
23722 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23724         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23725         Check __x86_64__ instead of __WORDSIZE.
23726         (_STAT_VER_LINUX): Likewise.
23727         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23728         __syscall_ulong_t and __syscall_slong_t.
23729         (stat64): Likewise.
23731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23733         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23735 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23737         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23739 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23741         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23742         __syscall_ulong_t.
23744         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23745         include <bits/wordsize.h>.  Check __x86_64__ instead of
23746         __WORDSIZE.
23747         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23748         defined.
23749         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23751         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23752         include <bits/wordsize.h>.  Check __x86_64__ instead of
23753         __WORDSIZE.
23754         (user_regs_struct): Use "__extension__ unsigned long long"
23755         instead of "unsigned long" if __x86_64__ is defined.
23756         (user): Likewise.  Pad after pointer field if __ILP32__ is
23757         defined.
23759 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23761         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23762         versions 5 to 9.
23763         * configure: Regenerated.
23764         * manual/install.texi (texinfo): Increase version requirement to
23765         4.5 or later.
23766         * INSTALL: Regenerated.
23768         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23770 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23772         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23774         * sysdeps/x86_64/x32/ffs.c: New file.
23776         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23777         __syscall_ulong_t.
23778         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23779         defined.  Use __syscall_ulong_t.
23780         (shminfo): Use __syscall_ulong_t.
23781         (shm_info): Likewise.
23783         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23784         __syscall_ulong_t.
23786         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23787         <bits/wordsize.h>.
23788         (msgqnum_t): Use __syscall_ulong_t.
23789         (msglen_t): Likewise.
23790         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23791         __syscall_ulong_t.
23793         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23794         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23796         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23798         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23799         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23801         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23802         __syscall_slong_t.
23804         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23805         include <bits/wordsize.h>.  Check __x86_64__ instead of
23806         __WORDSIZE.
23808         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23809         "unsigned long long int" if __x86_64__ is defined.
23810         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23812         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23813         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23814         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23816         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23817         <stdint.h>.
23818         (GET_PC): Cast to uintptr_t first.
23819         (GET_FRAME): Likewise.
23820         (GET_STACK): Likewise.
23822         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23823         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23824         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23825         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23826         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23827         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23828         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23829         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23830         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23831         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23832         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23833         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23834         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23835         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23836         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23837         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23838         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23839         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23840         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23841         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23842         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23843         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23844         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23845         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23846         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23847         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23848         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23849         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23850         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23852 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23854         * Makerules (+depfiles): Also collect depfiles from .oS in
23855         $(extra-objs).
23856         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23857         .oS, $(libnldbl-routines)).
23859         * Makerules (native-compile-mkdep-flags): Define.
23860         * sunrpc/Makefile (extra-objs): Add $(addprefix
23861         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23862         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23863         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23864         calling $(make-target-directory).
23866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23868         * bits/types.h (__snseconds_t): Removed.
23869         * time/time.h (struct timespec): Replace __snseconds_t with
23870         __syscall_slong_t.
23871         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23872         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23873         Likewise.
23874         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23875         (__SNSECONDS_T_TYPE): Likewise.
23876         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23877         (__SNSECONDS_T_TYPE): Likewise.
23878         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23879         (__SNSECONDS_T_TYPE): Likewise.
23881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23883         * sysdeps/mach/hurd/bits/typesizes.h
23884         (__SYSCALL_SLONG_TYPE): New macro.
23885         (__SYSCALL_ULONG_TYPE): Likewise.
23887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23889         * bits/types.h (__syscall_slong_t): New type.
23890         (__syscall_ulong_t): Likewise.
23892         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23893         (__SYSCALL_ULONG_TYPE): Likewise.
23894         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23895         (__SYSCALL_SLONG_TYPE): Likewise.
23896         (__SYSCALL_ULONG_TYPE): Likewise.
23897         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23898         (__SYSCALL_SLONG_TYPE): Likewise.
23899         (__SYSCALL_ULONG_TYPE): Likewise.
23900         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23901         (__SYSCALL_SLONG_TYPE): Likewise.
23902         (__SYSCALL_ULONG_TYPE): Likewise.
23904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23906         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23907         Add sigaltstack-offsets.sym.
23908         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23909         <sigaltstack-offsets.h>.
23910         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23911         longjmp_msg pointer.
23912         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23913         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23914         signal stack.
23915         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23917 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23919         * elf/stackguard-macros.h: Remove file.
23920         * sysdeps/generic/stackguard-macros.h: New file.
23921         * sysdeps/i386/stackguard-macros.h: Likewise.
23922         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23923         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23924         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23925         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23926         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23927         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23928         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23929         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23930         <elf/stackguard-macros.h>.
23932         [BZ #14109]
23933         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23934         __aligned__ in attribute.
23935         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23936         (gregset_t): Likewise.
23938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23940         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23941         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23942         * sysdeps/x86_64/x32/Implies-after: New file.
23944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23946         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23947         and access return value for _dl_profile_fixup.  Use R10_LP to
23948         load frame size.
23950 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23952         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23956         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23957         * sysdeps/x86_64/x32/sysdep.h: New file.
23959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23961         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23962         * sysdeps/x86_64/setjmp.S: Likewise.
23964 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23966         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23967         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23968         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23969         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23970         remove unused global constant.
23972 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23974         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23975         include of <not-cancel.h>.
23977 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23979         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23981 2012-05-15  Jeff Law  <law@redhat.com>
23982             Andreas Jaeger  <aj@suse.de>
23984         [BZ #13594]
23985         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23986         out from...
23987         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23988         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23989         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23990         code changing __hst_map_handle.map.
23992 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23994         * configure.in (sysnames): Look for Implies-before and Implies-after
23995         files.
23996         * configure: Regenerated.
23998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24000         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24001         8-byte data alignment with LP_SIZE alignment.
24003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24005         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24006         into R10_LP.
24008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24010         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24014         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24015         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24016         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24017         Likewise.
24018         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24022         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24023         (stackinfo_sub_sp): Likewise.
24025 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24027         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24028         RAX_LP.
24030 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24032         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24033         into R*_LP.
24035 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24037         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24038         sizes into R*_LP.
24040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24042         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24046         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24047         into R11_LP and load __x86_64_shared_cache_size_half into
24048         R8_LP.
24050 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24052         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24053         R8_LP.
24055 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24057         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24058         logb for POWER7.
24059         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24060         logbf for POWER7.
24061         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24062         logbl for POWER7.
24063         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24064         powerpc32/power7/fpu/s_logb.c via #include.
24065         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24066         powerpc32/power7/fpu/s_logbf.c via #include.
24067         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24068         powerpc32/power7/fpu/s_logbl.c via #include.
24070 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24072         * README.libm: Remove file.
24074 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24076         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24077         count for x32.  Use R*_LP and omit operand-size suffix.
24079 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24081         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24082         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24083         * sysdeps/x86_64/x32/shlib-versions: New file.
24085 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24087         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24088         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24089         Use _dl_fatal_printf instead.
24091 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24093         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24094         set if not set by the user.  Do not allow for being unset.
24095         * sysdeps/unix/sysv/linux/configure: Regenerated.
24097 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24099         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24100         the `q' suffix from lea and replace .quad with ASM_ADDR.
24102 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24105         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24106         instead of $17.
24107         (PTR_DEMANGLE): Likewise.
24109 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24111         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24112         (LP_OP): Likewise.
24113         (ASM_ADDR): Likewise.
24114         (RAX_LP): Likewise.
24115         (RBP_LP): Likewise.
24116         (RBX_LP): Likewise.
24117         (RCX_LP): Likewise.
24118         (RDI_LP): Likewise.
24119         (RSI_LP): Likewise.
24120         (RSP_LP): Likewise.
24121         (R8_LP): Likewise.
24122         (R9_LP): Likewise.
24123         (R10_LP): Likewise.
24124         (R10_LP): Likewise.
24125         (R11_LP): Likewise.
24126         (R12_LP): Likewise.
24127         (R13_LP): Likewise.
24128         (R14_LP): Likewise.
24129         (R15_LP): Likewise.
24131 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24133         * sysdeps/x86_64/x32/dl-machine.h: New file.
24135 2012-05-14  Andreas Jaeger  <aj@suse.de>
24137         * manual/Makefile (subdir): Remove export of subdir.
24138         (all): Remove target.
24139         (.PHONY): Remove all from list.
24140         (mkinstalldirs): Remove.
24141         (.PHONY): Remove installdirs from list.
24142         ($(inst_infodir)/libc.info): Use make-target-directory.
24143         (installdirs): Remove.
24144         (subdir_%): Remove.
24145         (glibc-targets): Remove.
24146         (lib): Remove.
24147         (stubs): Remove.
24148         ($(objpfx)stubs ../po/manual.pot): Remove.
24149         ($(objpfx)stamp%): Remove.
24150         (make-target-directory): Remove.
24151         (subdir_install): Remove.
24152         (routines): Remove.
24153         (aux): Remove.
24154         (sources): Remove.
24155         (objects): Remove.
24156         (headers): Remove.
24158         [BZ #13750]
24159         * manual/.gitignore: Remove, it's not needed anymore.
24160         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24161         all files in it.
24162         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24163         directory.
24164         (texis): Renamed to $(objpfx)texis.
24165         (texis-path): New, contains path to generated files.
24166         (chapters.%): Use texis-path for complete path, add extra argument
24167         libc-texinfo.sh.
24168         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24169         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24170         (summary,texi, stamp-summary): Use complete path of
24171         files. Generate files in build dir.
24172         (dir-add.texi): Build in build dir.
24173         (libm-err.texi,stamp-libm-err): Likewise.
24174         (version.texi, stamp-version): Likewise.
24175         (.%c.texi): Likewise.
24176         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24177         (mostlyclean): Remove target.
24178         (realclean): Remove target.
24179         (generated): Add new variable with contents from mostlyclean and
24180         realclean, remove entries duplicated in common-mostlyclean, add
24181         stamp-libm-err and stamp-version.
24182         (generated-dirs): Add libc directory.
24183         ($(inst_infodir)/libc.info): Install files from build dir.
24185         * manual/install.texi (Configuring and compiling): Adjust since
24186         the info files are not part of the tar ball anymore.
24188 2012-05-14  Andreas Jaeger  <aj@suse.de>
24190         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24191         variable.
24193 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24195         [BZ #13717]
24196         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24197         to 2.2.0 where earlier.
24198         * sysdeps/unix/sysv/linux/configure: Regenerated.
24199         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24200         Remove conditional code.
24201         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24202         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24203         Remove conditional code.
24204         [!__NR_lchown]: Likewise.
24205         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24206         [__NR_lchown]: Likewise.
24207         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24208         comment referencing __ASSUME_LCHOWN_SYSCALL.
24209         * sysdeps/unix/sysv/linux/i386/sigaction.c
24210         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24211         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24212         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24213         Remove conditional code.
24214         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24215         (__protocol_available): Remove #if 0 code.
24216         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24217         conditional code.
24218         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24219         * sysdeps/unix/sysv/linux/kernel-features.h
24220         (__ASSUME_GETCWD_SYSCALL): Don't define.
24221         (__ASSUME_REALTIME_SIGNALS): Likewise.
24222         (__ASSUME_PREAD_SYSCALL): Likewise.
24223         (__ASSUME_PWRITE_SYSCALL): Likewise.
24224         (__ASSUME_POLL_SYSCALL): Likewise.
24225         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24226         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24227         non-SPARC.
24228         (__ASSUME_SIOCGIFNAME): Don't define.
24229         (__ASSUME_MSG_NOSIGNAL): Likewise.
24230         (__ASSUME_SENDFILE): Define unconditionally.
24231         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24232         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24233         conditional code.
24234         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24235         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24236         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24237         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24238         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24239         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24240         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24242         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24245         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24246         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24248         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24251         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24252         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24254         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24257         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24258         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24260         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24261         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24263         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24264         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24265         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24266         Remove conditional code.
24267         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24268         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24269         Remove conditional code.
24270         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24271         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24272         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24273         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24274         Remove conditional code.
24275         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24276         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24277         Remove conditional code.
24278         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24279         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24280         Remove conditional code.
24281         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24282         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24283         Remove conditional code.
24284         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24285         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24286         Remove conditional code.
24287         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24288         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24289         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24290         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24291         * sysdeps/unix/sysv/linux/sigaction.c
24292         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24293         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24294         * sysdeps/unix/sysv/linux/sigpending.c
24295         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24296         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24297         * sysdeps/unix/sysv/linux/sigprocmask.c
24298         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24299         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24300         * sysdeps/unix/sysv/linux/sigsuspend.c
24301         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24302         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24303         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24304         (__libc_missing_rt_sigs): Remove.
24305         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24306         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24307         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24308         Remove conditional code.
24309         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24310         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24311         return 1.
24312         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24313         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24314         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24315         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24317 2012-05-14  Andreas Jaeger  <aj@suse.de>
24319         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24320         it's not used in glibc.
24321         (__coshm1): Likewise.
24322         (__acosh1p): Likewise.
24323         (__sgn): Likewise.
24325         * manual/string.texi (Copying and Concatenation): Add missing
24326         variable in concat example.
24327         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24329 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24331         [BZ #14103]
24332         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24333         __builtin_clzl with __builtin_clzll.
24335 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24337         [BZ #14104]
24338         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24339         libc_freeres_ptr.
24341 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24343         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24344         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24345         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24346         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24348 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24350         * NEWS: Update ia64 info.
24352 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24354         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24355         used as bcopy.
24357 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24359         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24360         * sysdeps/unix/syscalls.list (dup3): Likewise.
24361         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24362         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24364 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24366         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24367         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24369 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24371         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24372         thread pointer.
24373         (TLS_IE): Use mov/add instead of movq/addq to load thread
24374         pointer.
24375         (TLS_GD_PREFIX): New.
24376         (TLS_GD): Use it.
24378 2012-05-11  David S. Miller  <davem@davemloft.net>
24380         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24381         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24382         (_FPU_SETCW): Likewise.
24384 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24386         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24387         is 32-byte aligned.
24389 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24391         [BZ #11837]
24392         * iconvdata/gb18030.c: Update tables.
24393         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24394         characters specially.
24395         (BODY for TO_LOOP): Add encoding of missing ranges.
24397 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24399         [BZ #13673]
24400         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24401         * sysdeps/mach/hurd/dup3.c: Likewise.
24402         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24403         * sysdeps/powerpc/memmove.c:: Likewise.
24405 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24407         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24408         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24410 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24412         * elf/elf.h (R_X86_64_RELATIVE64): New.
24413         (R_X86_64_NUM): Updated.
24414         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24415         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24416         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24417         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24418         tst-quad1pie tst-quad2pie
24419         (modules-names): Add tst-quadmod1 tst-quadmod2.
24420         ($(objpfx)tst-quad1): New dependency.
24421         ($(objpfx)tst-quad2): Likewise.
24422         ($(objpfx)tst-quad1pie): Likewise.
24423         ($(objpfx)tst-quad2pie): Likewise.
24424         * sysdeps/x86_64/tst-quad1.c: New file.
24425         * sysdeps/x86_64/tst-quad1pie.c: New file.
24426         * sysdeps/x86_64/tst-quad2.c: Likewise.
24427         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24428         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24429         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24430         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24431         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24433 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24435         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24436         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24437         * streams/stropts.h (t_scalar_t): Define type.
24439         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24440         (_PATH_PRESERVE): Set to "/var/lib".
24441         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24443         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24444         instead of int.
24446         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24447         if __dir_mkfile succeeded.
24449         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24450         checking for _hurd_dtablesize.  Unlock it right after having
24451         finished _hurd_dtable allocation.
24453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24455         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24456         * sysdeps/mach/hurd/configure: Regenerated.
24457         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24458         special-casing to...
24459         * sysdeps/gnu/configure.in: ... this new file.
24460         * sysdeps/unix/sysv/linux/configure: Regenerated.
24461         * sysdeps/gnu/configure: New generated file.
24463         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24464         for Linux: use nsec instead of usec, as well as:
24465         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24466         members of type struct timespec.
24467         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24468         New macros.
24469         (struct stat64): Likewise.
24470         (_STATBUF_ST_NSEC): New macro.
24471         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24473         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24474         __strtoul_internal rather than strtoul.
24476 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24478         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24479         and reject them.
24481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24483         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24484         which preserves existing values.
24485         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24487 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24489         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24490         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24491         greater than FD_SETSIZE.
24493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24495         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24496         allocated, call __vm_protect to finish enabling the existing space, and
24497         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24498         allocate the remainder.
24500 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24502         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24503         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24507         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24508         sysdeps/mach/hurd/readlink.c.
24510         * posix/tst-sysconf.c (posix_options): Only use
24511         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24512         _POSIX_SYNCHRONIZED_IO when they are defined
24513         * sysdeps/mach/hurd/bits/posix_opt.h:
24514         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24515         (_XOPEN_REALTIME): Undefine macro.
24516         (_XOPEN_REALTIME_THREADS): Undefine macro.
24517         (_XOPEN_SHM): Undefine macro.
24518         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24519         macro to -1.
24520         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24521         macro to -1.
24522         (_POSIX_ASYNC_IO): Undefine macro.
24523         (_POSIX_PRIORITIZED_IO): Undefine macro.
24524         (_POSIX_SPIN_LOCKS): Define macro to -1.
24526         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24527         SA_NODEFER, SA_RESETHAND.
24528         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24529         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24530         F_DUPFD_CLOEXEC.
24532 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24534         * elf/Makefile (pldd-modules): Define unconditionally.
24536 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24538         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24542         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24543         Return ENOENT when name is empty.
24544         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24546 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24548         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24550         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24552 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24554         Fix mlock in all cases except non-readable pages.
24555         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24556         instead of VM_PROT_ALL as parameter to __vm_wire function.
24558         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24559         (__mkdir): When path is `/', just fail with EEXIST.
24560         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24562 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24564         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24565         <sys/uio.h> (for writev).
24566         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24567         and <sys/param.h> (for MIN).
24569 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24571         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24572         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24573         if interrupted.
24575 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24577         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24578         Depend on against $(link-rpcuserlibs).
24580 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24582         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24583         (__libc_stack_end): Do not use attribute_relro.
24584         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24585         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24586         to libthread-provided value.
24587         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24588         attribute_relro.
24590 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24592         [BZ #3748]
24593         * bits/libc-lock.h (__libc_once_get): New macro.
24594         * sysdeps/mach/bits/libc-lock.h: Likewise.
24595         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24596         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24597         instead of using implementation details.
24599         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24600         * libio/freopen.c: Likewise.
24601         * libio/freopen64.c: Likewise.
24602         * misc/syslog.c: Likewise.
24603         * nscd/connections.c: Likewise.
24604         * nscd/netgroupcache.c: Likewise.
24605         * sysdeps/posix/getcwd.c: Likewise.
24607 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24609         * math/w_ilogbf.c: Add #include <limits.h>.
24611 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24613         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24614         path instead of returning without unlocking.
24616         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24617         immediate-write ioctls.
24618         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24620 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24622         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24623         __builtin_frame_address instead of making assumptions about the
24624         location of the return address relative to DATA.  Force early load of
24625         the return address.
24626         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24627         __builtin_frame_address.
24629         dup3 for GNU Hurd.
24630         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24631         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24632         implement dup3 and do some further code clean-ups.
24633         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24634         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24636 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24638         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24640         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24641         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24642         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24643         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24644         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24645         d->port.lock.
24647         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24648         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24649         when handler == SIG_ERR, not when handler != SIG_ERR.
24651 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24653         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24654         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24655         definitions.
24657         accept4 for GNU Hurd.
24658         * include/sys/socket.h (__libc_accept4): New prototype.
24659         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24660         to implement __libc_accept4.
24661         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24662         __libc_accept4.
24663         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24665         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24666         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24667         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24668         signal-defines.sym.
24670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24672         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24674 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24676         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24677         assertion on O_CLOEXEC flag.
24678         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24679         * hurd/intern-fd.c: Likewise.
24680         * hurd/port2fd.c: Likewise.
24682 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24684         [BZ #3906]
24685         * bits/in.h (IPV6_PKTINFO): Define new macro.
24686         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24688 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24690         [BZ #13954]
24691         [BZ #13955]
24692         [BZ #13956]
24693         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24694         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24695         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24696         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24697         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24698         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24699         * math/libm-test.inc (logb_test) : Additional logb tests.
24701 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24702             Andreas Jaeger  <aj@suse.de>
24704         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24705         * configure: Regenerated.
24706         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24707         * config.make.in (link-obsolete-rpc): New substituted variable.
24708         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24709         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24710         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24711         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24712         so that libc.a contains the symbols.
24713         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24714         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24715         * sunrpc/auth_none.c: Likewise.
24716         * sunrpc/auth_unix.c: Likewise.
24717         * sunrpc/authdes_prot.c: Likewise.
24718         * sunrpc/authuxprot.c: Likewise.
24719         * sunrpc/clnt_gen.c: Likewise.
24720         * sunrpc/clnt_perr.c: Likewise.
24721         * sunrpc/clnt_raw.c: Likewise.
24722         * sunrpc/clnt_simp.c: Likewise.
24723         * sunrpc/clnt_tcp.c: Likewise.
24724         * sunrpc/clnt_udp.c: Likewise.
24725         * sunrpc/clnt_unix.c: Likewise.
24726         * sunrpc/des_crypt.c: Likewise.
24727         * sunrpc/des_soft.c: Likewise.
24728         * sunrpc/get_myaddr.c: Likewise.
24729         * sunrpc/key_call.c: Likewise.
24730         * sunrpc/key_prot.c: Likewise.
24731         * sunrpc/netname.c: Likewise.
24732         * sunrpc/pm_getmaps.c: Likewise.
24733         * sunrpc/pm_getport.c: Likewise.
24734         * sunrpc/pmap_clnt.c: Likewise.
24735         * sunrpc/pmap_prot.c: Likewise.
24736         * sunrpc/pmap_prot2.c: Likewise.
24737         * sunrpc/pmap_rmt.c: Likewise.
24738         * sunrpc/publickey.c: Likewise.
24739         * sunrpc/rpc_cmsg.c: Likewise.
24740         * sunrpc/rpc_common.c: Likewise.
24741         * sunrpc/rpc_dtable.c: Likewise.
24742         * sunrpc/rpc_prot.c: Likewise.
24743         * sunrpc/rpc_thread.c: Likewise.
24744         * sunrpc/rtime.c: Likewise.
24745         * sunrpc/svc.c: Likewise.
24746         * sunrpc/svc_auth.c: Likewise.
24747         * sunrpc/svc_raw.c: Likewise.
24748         * sunrpc/svc_run.c: Likewise.
24749         * sunrpc/svc_tcp.c: Likewise.
24750         * sunrpc/svc_udp.c: Likewise.
24751         * sunrpc/svc_unix.c: Likewise.
24752         * sunrpc/svcauth_des.c: Likewise.
24753         * sunrpc/xcrypt.c: Likewise.
24754         * sunrpc/xdr.c: Likewise.
24755         * sunrpc/xdr_array.c: Likewise.
24756         * sunrpc/xdr_float.c: Likewise.
24757         * sunrpc/xdr_intXX_t.c: Likewise.
24758         * sunrpc/xdr_mem.c: Likewise.
24759         * sunrpc/xdr_rec.c: Likewise.
24760         * sunrpc/xdr_ref.c: Likewise.
24761         * sunrpc/xdr_sizeof.c: Likewise.
24762         * sunrpc/xdr_stdio.c: Likewise.
24764 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24766         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24767         change.  Update copyright years.
24769 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24771         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24773 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24774             Joseph Myers  <joseph@codesourcery.com>
24775             Paul Pluzhnikov  <ppluzhnikov@google.com>
24777         [BZ #14012]
24778         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24779         requiring rpcgen.
24780         [cross-compiling] (extra-libs): Likewise.
24781         [cross-compiling] (extra-libs-others): Likewise.
24782         [cross-compiling] (librpcsvc-routines): Likewise.
24783         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24784         [cross-compiling] (omit-deps): Likewise.
24785         (sunrpc-CPPFLAGS): New variable.
24786         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24787         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24788         (cross-rpcgen-objs): New variable.
24789         (extra-objs): Append $(cross-rpcgen-objs).
24790         ($(cross-rpcgen-objs)): New rule.
24791         ($(objpfx)cross-rpcgen): Likewise.
24792         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24793         comment.
24794         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24795         ($(objpfx)x%.stmp): Likewise.
24796         * sunrpc/proto.h [IS_IN_build] (_): Define.
24797         [IS_IN_build] (_libc_intl_domainname): Likewise.
24799 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24801         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24802         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24803         and R_X86_64_TPOFF64.
24805 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24807         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24808         sysdeps/unix/sysv/syscalls.list.
24809         (stime): Likewise.
24810         (utime): Likewise.
24811         * sysdeps/unix/sysv/syscalls.list: Remove file.
24813 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24815         [BZ #3440]
24816         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24817         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24818         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24819         (__LC_IDENTIFICATION): Make these macros useful in #if
24820         expressions, as required by C99.
24822 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24824         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24825         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24826         after this.
24828 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24830         * stdlib/longlong.h: Updated from GCC.
24832 2012-05-09  Andreas Jaeger  <aj@suse.de>
24834         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24835         default is first entry.
24836         (run_mode): Set type.
24837         (main): Remove informal message about syslog.
24838         (options): Fix typo.
24840         [BZ #14053]
24841         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24842         to asm.
24843         (lrint): Likewise.
24844         (llrintf): Likewise.
24845         (llrint): Likewise.
24846         (rint): Likewise.
24847         (rintf): Likewise.
24848         (nearbyint): Likewise.
24849         (nearbyintf): Likewise.
24851 2012-05-09  Andreas Jaeger  <aj@suse.de>
24852             Pedro Alves  <palves@redhat.com>
24854         * nscd/nscd.c (run_mode): Use enum.
24855         (main): Cleanup coding style issue.
24857 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24858             Andreas Jaeger  <aj@suse.de>
24860         * nscd/nscd.c (go_background): Replaced with...
24861         (run_mode): ... this.
24862         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24863         (options): Add -F --foreground.
24864         (main): Implement it.
24865         (parse_opt): Parse it.
24867 2012-05-09  Andreas Jaeger  <aj@suse.de>
24869         [BZ #14083]
24870         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24871         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24872         -Wconversion warning.
24873         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24874         Likewise.
24876 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24878         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24879         == 0.
24880         (LC_ALL): Use macro-int-constant.
24881         (LC_COLLATE): Likewise.
24882         (LC_CTYPE): Likewise.
24883         (LC_MESSAGES): Likewise.
24884         (LC_MONETARY): Likewise.
24885         (LC_NUMERIC): Likewise.
24886         (LC_TIME): Likewise.
24887         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24888         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24889         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24890         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24891         Specify type.
24892         [C99-based standards] (float_t): Expect type.
24893         [C99-based standards] (double_t): Expect type.
24894         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24895         type.
24896         [C99-based standards] (HUGE_VALL): Likewise.
24897         [C99-based standards] (INFINITY): Likewise.
24898         [C99-based standards] (NAN): Likewise.
24899         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24900         [C99-based standards] (FP_NAN): Likewise.
24901         [C99-based standards] (FP_NORMAL): Likewise.
24902         [C99-based standards] (FP_SUBNORMAL): Likewise.
24903         [C99-based standards] (FP_ZERO): Likewise.
24904         [C99-based standards] (FP_FAST_FMA): Use
24905         optional-macro-int-constant.  Specify type.  Require == 1.
24906         [C99-based standards] (FP_FAST_FMAF): Likewise.
24907         [C99-based standards] (FP_FAST_FMAL): Likewise.
24908         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24909         [C99-based standards] (FP_ILOGBNAN): Likewise.
24910         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24911         Specify type.
24912         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24913         [C99-based standards] (math_errhandling): Specify type.
24914         [ISO99 || ISO11] (signgam): Do not allow.
24915         [non-C99-based standards] (copysignf): Do not allow.
24916         [non-C99-based standards] (exp2f): Likewise.
24917         [non-C99-based standards] (log2f): Likewise.
24918         [non-C99-based standards] (modff): Allow.
24919         [non-C99-based standards] (erff): Do not allow.
24920         [non-C99-based standards] (erfcf): Likewise.
24921         [non-C99-based standards] (gammaf): Likewise.
24922         [non-C99-based standards] (hypotf): Likewise.
24923         [non-C99-based standards] (j0f): Likewise.
24924         [non-C99-based standards] (j1f): Likewise.
24925         [non-C99-based standards] (jnf): Likewise.
24926         [non-C99-based standards] (lgammaf): Likewise.
24927         [non-C99-based standards] (tgammaf): Likewise.
24928         [non-C99-based standards] (y0f): Likewise.
24929         [non-C99-based standards] (y1f): Likewise.
24930         [non-C99-based standards] (ynf): Likewise.
24931         [non-C99-based standards] (isnanf): Likewise.
24932         [non-C99-based standards] (acoshf): Likewise.
24933         [non-C99-based standards] (asinhf): Likewise.
24934         [non-C99-based standards] (atanhf): Likewise.
24935         [non-C99-based standards] (cbrtf): Likewise.
24936         [non-C99-based standards] (expm1f): Likewise.
24937         [non-C99-based standards] (ilogbf): Likewise.
24938         [non-C99-based standards] (log1pf): Likewise.
24939         [non-C99-based standards] (logbf): Likewise.
24940         [non-C99-based standards] (nextafterf): Likewise.
24941         [non-C99-based standards] (remainderf): Likewise.
24942         [non-C99-based standards] (rintf): Likewise.
24943         [non-C99-based standards] (scalbf): Likewise.
24944         [non-C99-based standards] (copysignl): Likewise.
24945         [non-C99-based standards] (exp2l): Likewise.
24946         [non-C99-based standards] (log2l): Likewise.
24947         [non-C99-based standards] (modfl): Allow.
24948         [non-C99-based standards] (erfl): Do not allow.
24949         [non-C99-based standards] (erfcl): Likewise.
24950         [non-C99-based standards] (gammal): Likewise.
24951         [non-C99-based standards] (hypotl): Likewise.
24952         [non-C99-based standards] (j0l): Likewise.
24953         [non-C99-based standards] (j1l): Likewise.
24954         [non-C99-based standards] (jnl): Likewise.
24955         [non-C99-based standards] (lgammal): Likewise.
24956         [non-C99-based standards] (tgammal): Likewise.
24957         [non-C99-based standards] (y0l): Likewise.
24958         [non-C99-based standards] (y1l): Likewise.
24959         [non-C99-based standards] (ynl): Likewise.
24960         [non-C99-based standards] (isnanl): Likewise.
24961         [non-C99-based standards] (acoshl): Likewise.
24962         [non-C99-based standards] (asinhl): Likewise.
24963         [non-C99-based standards] (atanhl): Likewise.
24964         [non-C99-based standards] (cbrtl): Likewise.
24965         [non-C99-based standards] (expm1l): Likewise.
24966         [non-C99-based standards] (ilogbl): Likewise.
24967         [non-C99-based standards] (log1pl): Likewise.
24968         [non-C99-based standards] (logbl): Likewise.
24969         [non-C99-based standards] (nextafterl): Likewise.
24970         [non-C99-based standards] (remainderl): Likewise.
24971         [non-C99-based standards] (rintl): Likewise.
24972         [non-C99-based standards] (scalbl): Likewise.
24973         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24974         [non-C99-based standards] (FP_*): Do not allow.
24975         [C99-based standards] (FP_*): Change to
24976         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24977         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24978         allow.
24979         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24980         (SIG_ERR): Likewise.
24981         [X/Open-based standards] (SIG_HOLD): Likewise.
24982         (SIG_IGN): Likewise.
24983         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24984         positive value.
24985         (SIGFPE): Likewise.
24986         (SIGILL): Likewise.
24987         (SIGINT): Likewise.
24988         (SIGSEGV): Likewise.
24989         (SIGTER): Likewise.
24990         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24991         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24992         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24993         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24994         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24995         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24996         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24997         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24998         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24999         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25000         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25001         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25002         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25003         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25004         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25005         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25006         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25007         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25008         [X/Open-based standards] (SIGTRAP): Likewise.
25009         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25010         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25011         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25012         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25013         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25014         allow.
25016 2012-05-08  Ian Wienand  <ianw@vmware.com>
25018         [BZ #14080]
25019         * time/tzset.c (__tzset_parse_tz): Update default rules for
25020         daylight time changes in the Energy Policy Act of 2005.
25022 2012-05-09  Andreas Jaeger  <aj@suse.de>
25024         [BZ #13983]
25025         * elf/ldconfig.c (parse_conf): Change string to make clear that
25026         ldconfig only issued a warning if ld.so.conf does not exist.
25028 2012-05-08  David S. Miller  <davem@davemloft.net>
25030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25031         movxtod instead of popping the value on the stack.
25033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25035 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25037         * config.h.in: Add HAVE_ARM_PCS_VFP.
25039 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25041         [BZ #13979]
25042         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25043         checking but the checks are disabled for any reason.
25045 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25047         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25048         and ELF64_R_TYPE with ELFW(R_TYPE).
25050 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25052         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25053         (ulimit): Likewise.
25055         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25056         (settimeofday): Likewise.
25058 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25060         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25061         a struct th_u2 inside the union, and move tu_block/tu_code into
25062         a new th_u3 union of tu_block/tu_code inside of that.  Move
25063         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25064         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25065         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25066         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25067         (th_stuff): Change to th_u1.tu_stuff.
25068         (th_data): Define.
25069         (th_msg): Change to th_u1.th_u2.tu_data.
25071 2012-05-07  David S. Miller  <davem@davemloft.net>
25073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25075         [BZ #14074]
25076         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25077         (SETUP_PIC_REG): Use it.
25078         (SETUP_PIC_REG_LEAF): Use it.
25080 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25082         [BZ #13885]
25083         [BZ #13923]
25084         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25085         USE_AS_EXPM1L.
25086         (EXPL_FINITE): Likewise.
25087         (FLDLOG): Likewise.
25088         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25089         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25090         e_expl.S.
25091         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25092         USE_AS_EXPM1L.
25093         (EXPL_FINITE): Likewise.
25094         (FLDLOG): Likewise.
25095         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25096         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25097         e_expl.S.
25098         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25099         test of -max_value argument for long double.
25100         * sysdeps/i386/fpu/libm-test-ulps: Update.
25101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25103 2012-05-06  David S. Miller  <davem@davemloft.net>
25105         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25106         quad soft-float symbols whose references which are compiler
25107         generated.
25108         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25110 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25112         [BZ #13884]
25113         [BZ #13914]
25114         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25115         USE_AS_EXP10L.
25116         (EXPL_FINITE): Likewise.
25117         (FLDLOG): Likewise.
25118         (c0): Likewise.
25119         (c1): Likewise.
25120         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25121         Adjust comments for base varying.
25122         (__expl_finite): Change alias to EXPL_FINITE.
25123         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25124         e_expl.S.
25125         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25126         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25127         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25128         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25129         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25130         USE_AS_EXP10L.
25131         (EXPL_FINITE): Likewise.
25132         (FLDLOG): Likewise.
25133         (c0): Likewise.
25134         (c1): Likewise.
25135         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25136         Adjust comments for base varying.
25137         (__expl_finite): Change alias to EXPL_FINITE.
25138         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25139         tests for bugs.
25140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25142         [BZ #14064]
25143         * math/libm-test.inc (check_float_internal): Correct ulp
25144         calculation for subnormal expected results.
25146 2012-05-06  Andreas Jaeger  <aj@suse.de>
25148         * Makeconfig (+math-flags): New, set to -frounding-math.
25149         (+cflags): Add +math-flags so that all of glibc gets compiled with
25150         it.
25152         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25154 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25156         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25157         Disable one test.
25159         [BZ #13787]
25160         [BZ #13922]
25161         [BZ #14036]
25162         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25163         (__ieee754_expl): Allow for and saturate large arguments.
25164         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25165         (u_threshold): Likewise.
25166         (__exp): Call __ieee754_exp before checking for overflow and
25167         underflow.
25168         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25169         (u_threshold): Likewise.
25170         (__expf): Call __ieee754_expf before checking for overflow and
25171         underflow.
25172         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25173         (u_threshold): Likewise.
25174         (__expl): Call __ieee754_expl before checking for overflow and
25175         underflow.
25176         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25177         (__ieee754_expl): Allow for and saturate large arguments.
25178         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25179         missing overflow exception on overflow.
25180         (expm1_test): Do not allow missing overflow exception on overflow.
25182         * sysdeps/i386/fpu/e_expl.c: Move to ...
25183         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25184         rather than using inline asm.
25185         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25186         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25187         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25189         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25190         (nice): Likewise.
25191         (poll): Likewise.
25192         (signal): Likewise.
25193         (time): Likewise.
25194         (times): Likewise.
25196 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25198         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25199         sysdeps/unix/common/syscalls.list.
25200         (fchmod): Likewise.
25201         (fchown): Likewise.
25202         (ftruncate): Likewise.
25203         (getrusage): Likewise.
25204         (gettimeofday): Likewise.
25205         (setpgid): Likewise.
25206         (setregid): Likewise.
25207         (setreuid): Likewise.
25208         (sigaction): Likewise.
25209         (truncate): Likewise.
25210         (vhangup): Likewise.
25211         * sysdeps/unix/common/syscalls.list: Remove file.
25212         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25213         * sysdeps/unix/sysv/linux/Implies: Likewise.
25215 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25217         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25219         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25220         Moved to ...
25221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25222         Here.
25223         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25224         to ...
25225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25226         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25227         to ...
25228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25229         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25230         to ...
25231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25232         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25233         to ...
25234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25235         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25236         to ...
25237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25238         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25239         to ...
25240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25241         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25242         to ...
25243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25244         Here.
25245         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25246         to ...
25247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25248         Here.
25249         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25250         to ...
25251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25252         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25253         Moved to ...
25254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25255         Here.
25256         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25257         to ...
25258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25260 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25262         * sysdeps/unix/common/bits/dirent.h: Remove file.
25263         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25265         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25266         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25267         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25268         * sysdeps/unix/bsd/isatty.c: Likewise.
25269         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25270         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25271         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25273 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25275         [BZ #13563]
25276         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25277         long double comparison inaccuracies.
25278         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25281 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25283         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25284         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25286 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25288         [BZ #14049]
25289         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25290         nonzero digits before rounding a hex value.
25291         * stdlib/tst-strtod.c (tests): Add another test.
25293 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25295         * sysdeps/s390/fpu/libm-test-ulps: Update.
25297 2012-05-03  Andreas Jaeger  <aj@suse.de>
25299         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25300         does not get optimized out.
25301         (malloc_opt_barrier): New.
25303 2012-05-03  Andreas Jaeger  <aj@suse.de>
25304             Roland McGrath  <roland@hack.frob.com>
25306         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25307         intermediate file deletion.
25308         (generated): Add .symlist files.
25310 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25312         [BZ #13775]
25313         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25314         Redirect under this condition.
25315         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25316         [__USE_GNU] (__dprintf_chk): Not under this condition.
25317         [__USE_GNU] (__vdprintf_chk): Likewise.
25318         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25319         under this condition.
25320         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25321         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25322         [__USE_XOPEN2K8] (vdprintf): Likewise.
25323         [__USE_GNU] (__dprintf_chk): Not under this condition.
25324         [__USE_GNU] (__vdprintf_chk): Likewise.
25325         [__USE_GNU] (dprintf): Likewise.
25326         [__USE_GNU] (vdprintf): Likewise.
25328 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25330         * elf/Makefile (common-generated): Set this instead of generated for
25331         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25332         $(all-built-dso)-derived lists.
25334 2012-05-03  Andreas Jaeger  <aj@suse.de>
25336         * sysdeps/i386/fpu/libm-test-ulps: Update.
25338         * FAQ: Removed.
25339         * FAQ.in: Likewise.
25340         * scripts/gen-FAQ.pl: Likewise.
25341         * manual/install.texi (Installation): Point to online location of
25342         FAQ.
25343         * Makefile (files-for-dist): Remove FAQ.
25344         (FAQ): Remove.
25346 2012-05-02  Allan McRae  <allan@archlinux.org>
25348         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25349         (LDFLAGS-reldepmod5.so): Likewise.
25350         (LDFLAGS-reldep6mod1.so): Likewise.
25351         (LDFLAGS-reldep6mod4.so): Likewise.
25352         (LDFLAGS-reldep8mod3.so): Likewise.
25353         (LDFLAGS-unload4mod1.so): Likewise.
25354         (LDFLAGS-unload4mod2.so): Likewise.
25355         (LDFLAGS-tst-initorder): Likewise.
25356         (LDFLAGS-tst-initordera2.so): Likewise.
25357         (LDFLAGS-tst-initordera3.so): Likewise.
25358         (LDFLAGS-tst-initordera4.so): Likewise.
25359         (LDFLAGS-tst-initorderb2.so): Likewise.
25360         (LDFLAGS-noload): Likewise.
25361         (LDFLAGS-next): Likewise.
25362         (LDFLAGS-order2mod1.so): Likewise.
25363         (LDFLAGS-order2mod2.so): Likewise.
25364         (LDFLAGS-tst-initorder2): Likewise.
25365         (LDFLAGS-tst-initorder2a.so): Likewise.
25366         (LDFLAGS-tst-initorder2b.so): Likewise.
25367         (LDFLAGS-tst-initorder2c.so): Likewise.
25368         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25370 2012-05-02  David S. Miller  <davem@davemloft.net>
25372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25374 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25376         [BZ #14055]
25377         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25379 2012-05-02  Andreas Jaeger  <aj@suse.de>
25381         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25382         since we manipulate rounding mode.
25383         (CPPFLAGS-test-idouble.c): Likewise.
25384         (CPPFLAGS-test-ifloat.c): Likewise.
25385         (CFLAGS-test-ldouble.c): Likewise.
25386         (CFLAGS-test-double.c): Likewise.
25387         (CFLAGS-test-float.c): Likewise.
25388         (CFLAGS-test-misc.c): Likewise.
25389         (CFLAGS-test-test-fenv.c): Likewise.
25391 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25393         [BZ #2550]
25394         [BZ #2570]
25395         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25396         comparisons to determine direction to adjust input.
25398 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25400         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25401         output to the target.
25403         * scripts/localplt.awk: New file.
25404         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25405         (check-localplt-CFLAGS): Variable removed.
25406         ($(all-built-dso:=.jmprel)): New static pattern rule.
25407         (generated): Add those targets.
25408         (localplt-built-dso): New variable.
25409         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25411         * elf/check-localplt.c: File removed.
25413         * scripts/check-execstack.awk: New file.
25414         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25415         (check-execstack-CFLAGS): Variable removed.
25416         ($(objpfx)check-execstack.h): Target removed.
25417         ($(objpfx)execstack-default): New target.
25418         (generated): Add that instead of check-execstack.h.
25419         ($(all-built-dso:=.phdr)): New static pattern rule.
25420         (generated): Add those targets.
25421         * elf/check-execstack.c: File removed.
25423         * scripts/check-textrel.awk: New file.
25424         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25425         (check-textrel-CFLAGS): Variable removed.
25426         (all-built-dso): Use := to define.o
25427         ($(all-built-dso:=.dyn)): New static pattern rule.
25428         (generated): Add those targets.
25429         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25430         * config.make.in (READELF): New substituted variable.
25431         * elf/check-textrel.c: File removed.
25433 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25435         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25436         allow.
25437         * conform/data/ctype.h-data [C99-based standards] (isblank):
25438         Expect function.
25439         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25440         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25441         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25442         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25443         Specify type.  Require positive value.
25444         (EILSEQ): Likewise.
25445         (ERANGE): Likewise.
25446         [ISO || POSIX] (EILSEQ): Do not expect.
25447         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25448         Specify type.  Require positive value.
25449         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25450         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25451         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25452         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25453         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25454         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25455         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25456         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25457         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25458         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25459         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25460         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25461         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25462         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25463         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25464         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25465         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25466         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25467         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25468         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25469         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25470         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25471         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25472         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25473         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25474         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25475         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25476         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25477         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25478         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25479         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25480         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25481         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25482         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25483         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25484         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25485         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25486         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25487         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25488         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25489         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25490         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25491         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25492         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25493         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25494         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25495         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25496         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25497         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25498         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25499         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25500         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25501         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25502         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25503         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25504         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25505         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25506         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25507         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25508         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25509         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25510         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25511         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25512         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25513         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25514         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25515         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25516         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25517         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25518         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25519         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25520         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25521         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25522         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25523         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25524         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25525         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25526         Require >= 2.
25527         (FLT_ROUNDS): Expect as macro, not constant.
25528         (FLT_MANT_DIG): Use macro-int-constant.
25529         (DBL_MANT_DIG): Likewise.
25530         (LDBL_MANT_DIG): Likewise.
25531         (FLT_DIG): Likewise.
25532         (DBL_DIG): Likewise.
25533         (LDBL_DIG): Likewise.
25534         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25535         (DBL_MIN_EXP): Likewise.
25536         (LDBL_MIN_EXP): Likewise.
25537         (FLT_MAX_EXP): Use macro-int-constant.
25538         (DBL_MAX_EXP): Likewise.
25539         (LDBL_MAX_EXP): Likewise.
25540         (FLT_MAX_10_EXP): Likewise.
25541         (DBL_MAX_10_EXP): Likewise.
25542         (LDBL_MAX_10_EXP): Likewise.
25543         (FLT_MAX): Use macro-constant.
25544         (DBL_MAX): Likewise.
25545         (LDBL_MAX): Likewise.
25546         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25547         (DBL_EPSILON): Likewise.
25548         (LDBL_EPSILON): Likewise.
25549         (FLT_MIN): Likewise.
25550         (DBL_MIN): Likewise.
25551         (LDBL_MIN): Likewise.
25552         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25553         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25554         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25555         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25556         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25557         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25558         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25559         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25560         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25561         [ISO11] (FLT_TRUE_MIN): Likewise.
25562         [ISO11] (LDBL_TRUE_MIN): Likewise.
25563         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25564         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25565         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25566         (SCHAR_MAX): Likewise.
25567         (UCHAR_MAX): Likewise.
25568         (CHAR_MIN): Likewise.
25569         (CHAR_MAX): Likewise.
25570         (MB_LEN_MAX): Use macro-int-constant.
25571         (SHRT_MIN): Use macro-int-constant.  Specify type.
25572         (SHRT_MAX): Likewise.
25573         (USHRT_MAX): Likewise.
25574         (INT_MAX): Likewise.
25575         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25576         bound negative.
25577         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25578         bound with "U".
25579         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25580         bound with "L".
25581         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25582         bound negative.  Suffix upper bound with "L".
25583         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25584         bound with "UL".
25585         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25586         Specify type.
25587         [C99-based standards] (LLONG_MAX): Likewise.
25588         [C99-based standards] (ULLONG_MAX): Likewise.
25589         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25590         == 0.
25591         [ISO11] (max_align_t): Require type.
25592         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25594         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25595         from $CFLAGS, without defining away __attribute__ calls.
25596         (checknamespace): Use $CFLAGS_namespace.
25598         * conform/conformtest.pl (@keywords): Only include C99 keywords
25599         for standards based on C99 or C11.
25601         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25602         Disable tests.
25603         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25604         UNIX98]: Likewise.
25606         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25607         usability of symbols in #if.
25609         * conform/conformtest.pl: If macro or constant types start
25610         "promoted:", expect the symbol to be of the following type
25611         promoted by the integer promotions.
25613         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25614         in one place.  Also handle "macro-constant".
25616         * conform/conformtest.pl: Only accept expected macro values with
25617         "==".  Parse all "macro" lines in one place.
25618         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25620         * conform/conformtest.pl: Handle braced types on "constant" lines
25621         instead of handling "typed-constant".
25622         * conform/data/signal.h-data: Use "constant" instead of
25623         "typed-constant".
25625         * conform/conformtest.pl: Handle "optional-" at start of lines in
25626         one place rather than duplicating several cases.  Handle each
25627         format of "macro" line with initial "optional-".
25629         * conform/conformtest.pl: Only accept expected constant or
25630         optional-constant values with "==".  Parse all "constant" lines in
25631         one place.  Parse all "optional-constant" lines in one place.
25632         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25633         * conform/data/fmtmsg.h-data: Likewise.
25634         * conform/data/netinet/in.h-data: Likewise.
25635         * conform/data/tar.h-data: Likewise.
25636         * conform/data/limits.h-data: Use "==" form on "constant" and
25637         "optional-constant" lines.
25639         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25640         Use -std=c99 for XOPEN2K.
25641         (@knownproblems): Remove.
25642         (newtoken): Don't check %isknown.
25644         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25645         Do not expect macro.
25646         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25647         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25648         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25649         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25650         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25651         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25652         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25653         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25654         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25655         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25656         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25657         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25658         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25659         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25660         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25661         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25662         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25663         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25664         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25665         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25666         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25667         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25668         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25669         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25670         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25671         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25672         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25673         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25674         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25675         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25676         [XPG3] (acosh): Likewise.
25677         [XPG3] (asinh): Likewise.
25678         [XPG3] (atanh): Likewise.
25679         [XPG3] (cbrt): Likewise.
25680         [XPG3] (expm1): Likewise.
25681         [XPG3] (ilogb): Likewise.
25682         [XPG3] (log1p): Likewise.
25683         [XPG3] (logb): Likewise.
25684         [XPG3] (nextafter): Likewise.
25685         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25686         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25687         [XPG3] (remainder): Likewise.
25688         [XPG3] (rint): Likewise.
25689         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25690         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25691         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25692         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25693         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25694         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25695         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25696         [UNIX98 || XOPEN2K] (scalb): Expect.
25697         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25698         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25699         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25700         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25701         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25702         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25703         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25704         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25705         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25706         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25707         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25708         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25709         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25710         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25711         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25712         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25713         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25714         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25715         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25716         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25717         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25718         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25719         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25720         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25721         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25722         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25723         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25724         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25725         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25726         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25727         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25728         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25729         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25730         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25731         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25732         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25733         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25734         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25735         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25736         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25737         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25738         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25739         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25740         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25741         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25742         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25743         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25744         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25745         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25746         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25747         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25748         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25749         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25750         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25751         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25752         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25753         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25754         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25755         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25756         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25757         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25758         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25759         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25760         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25761         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25762         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25763         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25764         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25765         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25766         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25767         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25768         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25769         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25770         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25771         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25772         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25773         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25774         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25775         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25776         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25777         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25778         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25779         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25780         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25781         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25782         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25783         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25784         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25785         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25786         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25787         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25788         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25789         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25790         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25791         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25792         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25793         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25794         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25795         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25796         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25797         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25798         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25799         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25800         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25801         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25802         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25803         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25804         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25805         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25806         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25807         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25808         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25809         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25810         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25811         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25812         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25813         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25814         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25815         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25816         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25817         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25818         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25819         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25820         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25821         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25822         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25823         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25824         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25825         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25826         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25827         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25828         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25829         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25830         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25831         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25832         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25833         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25835         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25836         _XOPEN_SOURCE_EXTENDED for XPG4.
25838         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25840         * Makeconfig (localtime): Remove variable.
25841         (inst_localtime-file): Likewise.
25843 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25846         Update.
25847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25848         Update.
25849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25850         Update.
25851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25852         Update.
25853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25854         Update.
25855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25856         Update.
25857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25858         Update.
25859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25860         Update.
25861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25862         Update.
25864 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25866         [BZ #2550]
25867         [BZ #2570]
25868         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25869         comparisons to determine direction to adjust input.
25870         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25871         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25872         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25873         Likewise.
25874         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25875         Likewise.
25876         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25877         Likewise.
25878         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25879         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25880         Likewise.
25881         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25882         Likewise.
25883         * math/libm-test.inc (nexttoward_test): Add more tests.
25885 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25887         [BZ #14040]
25888         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25889         in version GLIBC_2.1, not GLIBC_2.0.
25890         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25891         Likewise.
25893 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25895         [BZ #13942]
25896         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25897         (1 - x) * (1 + x).
25898         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25899         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25900         * math/libm-test.inc (acos_test): Add more tests.
25901         (asin_test): Likewise.
25902         * sysdeps/i386/fpu/libm-test-ulps: Update.
25903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25905         [BZ #14034]
25906         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25907         of square root.
25908         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25909         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25910         * math/libm-test.inc (acos_test_tonearest): New function.
25911         (acos_test_towardzero): Likewise.
25912         (acos_test_downward): Likewise.
25913         (acos_test_upward): Likewise.
25914         (asin_test_tonearest): Likewise.
25915         (asin_test_towardzero): Likewise.
25916         (asin_test_downward): Likewise.
25917         (asin_test_upward): Likewise.
25918         (main): Call the new functions.
25919         * sysdeps/i386/fpu/libm-test-ulps: Update.
25920         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25922         [BZ #13884]
25923         [BZ #13924]
25924         * math/e_exp10.c: Include <float.h>.
25925         (__ieee754_exp10): Handle underflow here rather than multiplying
25926         large negative argument by M_LN10.
25927         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25928         of __ieee754_expf.
25929         * math/e_exp10l.c: Include <float.h>.
25930         (__ieee754_exp10l): Handle underflow here rather than multiplying
25931         large negative argument by M_LN10l.
25932         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25933         spurious overflow exception on underflow.
25935 2012-04-29  Marek Polacek  <polacek@redhat.com>
25937         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25938         (__fortify_function): New macro.
25939         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25940         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25941         __extern_always_inline.
25942         * libio/bits/stdio2.h: Likewise.
25943         * libio/bits/stdio.h: Likewise.
25944         * string/string.h: Likewise.
25945         * string/bits/string3.h: Likewise.
25946         * include/stdio.h: Likewise.
25947         * stdlib/bits/stdlib.h: Likewise.
25948         * stdlib/stdlib.h: Likewise.
25949         * rt/bits/mqueue2.h: Likewise.
25950         * rt/mqueue.h: Likewise.
25951         * posix/bits/unistd.h: Likewise.
25952         * posix/unistd.h: Likewise.
25953         * io/bits/poll2.h: Likewise.
25954         * io/bits/fcntl2.h: Likewise.
25955         * io/fcntl.h: Likewise.
25956         * io/sys/poll.h: Likewise.
25957         * misc/bits/syslog.h: Likewise.
25958         * misc/bits/syslog-ldbl.h: Likewise.
25959         * misc/sys/syslog.h: Likewise.
25960         * socket/bits/socket2.h: Likewise.
25961         * socket/sys/socket.h: Likewise.
25962         * debug/tst-chk1.c: Likewise.
25963         * wcsmbs/bits/wchar2.h: Likewise.
25964         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25965         * wcsmbs/wchar.h: Likewise.
25967 2012-04-29  Andreas Jaeger  <aj@suse.de>
25969         * Makerules (tests): Remove enable-check-abi protection.
25970         (check-abi-warn): Remove.
25971         (check-abi-%): Remove check-abi-warn usage.
25973         * configure.in: Remove check-abi configure option.
25974         * configure: Regenerated.
25975         * config.make.in (enable-check-abi): Remove.
25977 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25979         [BZ #14033]
25980         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25981         double functions to double *_finite functions.
25983         [BZ #13941]
25984         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25985         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25986         LDBL_MIN_EXP.
25987         * stdio-common/Makefile (tests): Add tst-sprintf3.
25988         * stdio-common/tst-sprintf3.c: New file.
25990         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25991         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25993 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25995         * conform/conformtest.pl: Remove duplicate typed-constant
25996         handling.
25998 2012-04-28  David S. Miller  <davem@davemloft.net>
26000         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26001         (check-abi-%): Remove AWK script prerequisite and explicit
26002         abilist directory.
26003         (check-abi): Rewrite to just diff the symlist with the abilist.
26004         (config-tls, config-abi-config): Delete, no longer used.
26005         (update-abi-%): Remove AWK script and explicit abilist directory.
26006         (update-abi): Rewrite to simply compare and conditionally copy the
26007         symlist and the sysdep abilist file.  Remove update-abi-config
26008         checks.
26009         * abilist/ld.abilist: Remove.
26010         * abilist/libBrokenLocale.abilist: Remove.
26011         * abilist/libanl.abilist: Remove.
26012         * abilist/libcrypt.abilist: Remove.
26013         * abilist/libdl.abilist: Remove.
26014         * abilist/librt.abilist: Remove.
26015         * abilist/libthread_db.abilist: Remove.
26016         * abilist/libutil.abilist: Remove.
26017         * scripts/extract-abilist.awk: Remove.
26018         * scripts/merge-abilist.awk: Remove.
26019         * sysdeps/generic/libcidn.abilist: New file.
26020         * sysdeps/generic/libnss_compat.abilist: New file.
26021         * sysdeps/generic/libnss_db.abilist: New file.
26022         * sysdeps/generic/libnss_dns.abilist: New file.
26023         * sysdeps/generic/libnss_files.abilist: New file.
26024         * sysdeps/generic/libnss_hesiod.abilist: New file.
26025         * sysdeps/generic/libnss_nis.abilist: New file.
26026         * sysdeps/generic/libnss_nisplus.abilist: New file.
26027         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26028         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26029         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26030         file.
26031         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26032         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26033         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26034         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26035         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26036         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26037         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26038         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26039         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26040         file.
26041         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26042         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26043         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26044         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26045         file.
26046         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26047         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26048         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26049         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26050         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26051         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26052         file.
26053         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26054         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26055         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26056         file.
26057         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26059         New file.
26060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26061         New file.
26062         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26063         New file.
26064         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26065         New file.
26066         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26067         New file.
26068         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26069         New file.
26070         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26071         New file.
26072         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26073         New file.
26074         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26075         New file.
26076         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26077         New file.
26078         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26079         New file.
26080         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26081         New file.
26082         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26083         New file.
26084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26085         file.
26086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26087         New file.
26088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26089         New file.
26090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26091         file.
26092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26093         New file.
26094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26095         New file.
26096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26097         file.
26098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26099         New file.
26100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26101         New file.
26102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26103         New file.
26104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26105         New file.
26106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26107         New file.
26108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26109         New file.
26110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26112         file.
26113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26114         New file.
26115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26116         file.
26117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26118         file.
26119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26120         file.
26121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26122         file.
26123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26124         file.
26125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26126         New file.
26127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26128         file.
26129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26130         file.
26131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26132         New file.
26133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26134         file.
26135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26137         file.
26138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26139         New file.
26140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26141         file.
26142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26143         file.
26144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26145         file.
26146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26147         file.
26148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26149         file.
26150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26151         New file.
26152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26153         file.
26154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26155         file.
26156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26157         New file.
26158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26159         file.
26160         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26161         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26162         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26163         file.
26164         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26165         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26166         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26167         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26168         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26169         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26170         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26171         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26172         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26173         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26176         file.
26177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26178         New file.
26179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26180         file.
26181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26182         file.
26183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26184         file.
26185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26186         file.
26187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26188         file.
26189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26190         New file.
26191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26192         New file.
26193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26194         file.
26195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26196         New file.
26197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26198         file.
26199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26201         file.
26202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26203         New file.
26204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26205         file.
26206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26207         file.
26208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26209         file.
26210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26211         file.
26212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26213         file.
26214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26215         New file.
26216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26217         New file.
26218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26219         file.
26220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26221         New file.
26222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26223         file.
26225 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26227         * conform/conformtest.pl: Fix typo in handling typed-constant from
26228         allow-header.
26230 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26232         * README: Cut down references to pre-2.6 Linux kernels and
26233         Linuxthreads.  Update lists of configurations in libc and ports
26234         and sort alphabetically.  Say "or newer" with Linux kernel version
26235         requirements.
26237         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26239 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26241         [BZ #887]
26242         * math/libm-test.inc (logb_test_downward): New test to expose
26243         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26244         rounding mode.
26246 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26248         [BZ #14027]
26249         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26250         to be done.
26251         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26252         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26254 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26256         * sysdeps/unix/i386/brk.S: Remove file.
26257         * sysdeps/unix/i386/dl-brk.S: Likewise.
26258         * sysdeps/unix/i386/pipe.S: Likewise.
26259         * sysdeps/unix/i386/sigreturn.S: Likewise.
26260         * sysdeps/unix/i386/syscall.S: Likewise.
26261         * sysdeps/unix/i386/vfork.S: Likewise.
26262         * sysdeps/unix/i386/wait.S: Likewise.
26264         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26265         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26267         * configure.in (arm*-none*): Do not allow without
26268         --enable-hacker-mode.
26269         (netbsd*): Remove case setting base_os.
26270         (386bsd*): Likewise.
26271         (freebsd*): Likewise.
26272         (bsdi*): Likewise.
26273         (osf*): Likewise.
26274         (sunos*): Likewise.
26275         (ultrix*): Likewise.
26276         (newsos*): Likewise.
26277         (dynix*): Likewise.
26278         (*bsd*): Likewise.
26279         (sysv*): Likewise.
26280         (isc*): Likewise.
26281         (esix*): Likewise.
26282         (sco*): Likewise.
26283         (minix*): Likewise.
26284         (irix4*): Likewise.
26285         (irix6*): Likewise.
26286         (solaris[2-9]*): Likewise.
26287         (none): Likewise.
26288         * configure: Regenerated.
26290 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26292         [BZ #11521]
26293         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26294         overflow or cancellation in calculating denominator.
26295         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26296         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26297         down expression to avoid unexpected rounding in newer GCCs.
26298         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26300 2012-04-26  David S. Miller  <davem@davemloft.net>
26302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26303         long-double compat symbols.
26304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26318 2012-04-25  David S. Miller  <davem@davemloft.net>
26320         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26321         HWCAP_* values only after the memory barriers have been defined.
26322         (atomic_full_barrier): Define.
26323         (atomic_read_barrier): Define.
26324         (atomic_write_barrier): Define.
26326 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26328         * shlib-versions: Add libgcc_s version information.
26329         * sysdeps/generic/libgcc_s.h: Remove.
26330         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26331         libgcc_s.h.
26332         * sysdeps/gnu/unwind-resume.c: Likewise.
26333         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26335 2012-04-25  David S. Miller  <davem@davemloft.net>
26337         * sysdeps/unix/sparc/brk.S: Delete.
26338         * sysdeps/unix/sparc/dl-brk.S: Delete.
26339         * sysdeps/unix/sparc/pipe.S: Delete.
26340         * sysdeps/unix/sparc/sysdep.S: Delete.
26341         * sysdeps/unix/sparc/sysdep.h: Delete.
26342         * sysdeps/unix/sparc/vfork.S: Delete.
26343         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26344         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26345         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26346         ret_ERRVAL, r0, r1, MOVE): Define.
26347         (JUMPTARGET): Remove.
26348         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26349         sysdeps/unix/sparc/sysdep.h
26350         (ENTRY, END): Remove.
26351         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26353 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26355         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26356         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26357         -DIS_IN_build.
26359         * timezone/README: Update upstream location and email address for
26360         tzcode and tzdata.
26361         * timezone/zdump.c: Update from tzcode 2012b.
26362         * timezone/zic.c: Likewise.
26364         * configure.in (libc_cv_as_needed): Remove test.
26365         * configure: Regenerated.
26366         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26367         conditional definition.
26368         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26369         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26370         * config.make.in (have-as-needed): Remove variable.
26372 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26373             Paul Pluzhnikov  <ppluzhnikov@google.com>
26375         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26376         strings correctly.
26378 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26380         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26381         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26382         * sysdeps/sh/strlen.S: Likewise.
26384 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26386         * sysdeps/unix/fork.S: Remove file.
26387         * sysdeps/unix/i386/fork.S: Likewise.
26388         * sysdeps/unix/sparc/fork.S: Likewise.
26390         * sysdeps/unix/system.c: Remove file.
26391         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26393         * sysdeps/unix/getegid.S: Remove file.
26394         * sysdeps/unix/geteuid.S: Likewise.
26396 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26398         * scripts/check-localplt.awk: New file.
26399         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26400         of diff.
26401         * scripts/data/localplt-generic.data: Add a comment.
26403         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26404         NODE when __dir_mkfile failed.
26405         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26406         Reported by Ludovic Courtès <ludo@gnu.org>.
26408 2012-04-24  Andreas Jaeger  <aj@suse.de>
26410         * Makerules (common-clean): Also remove gen-as-const-headers
26411         files.
26413 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26415         * Makerules (native-compile): Do not change working directory for
26416         build.  Use $(OUTPUT_OPTION) in command.
26417         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26419 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26421         [BZ #13886]
26422         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26423         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26424         * math/libm-test.inc (floor_test): Add more tests.
26425         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26427 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26429         * sysdeps/unix/getdents.c: Remove file.
26430         * sysdeps/unix/sysv/getdents.c: Likewise.
26431         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26433         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26434         sysdeps/unix/mman/syscalls.list.
26435         (mmap): Likewise.
26436         (mprotect): Likewise.
26437         (msync): Likewise.
26438         (munmap): Likewise.
26439         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26440         * sysdeps/unix/mman/syscalls.list: Remove.
26441         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26443         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26444         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26445         * configure: Regenerated.
26446         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26447         $(libgcc_s_suffix).
26448         * config.make.in (libgcc_s_suffix): Remove variable.
26450 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26452         * sysdeps/unix/sysv/gethostname.c: Move to ...
26453         * sysdeps/posix/gethostname.c: ... here.
26455         * sysdeps/unix/execve.S: Remove file.
26457         * sysdeps/unix/_exit.S: Remove file.
26459 2012-04-23  Andreas Jaeger  <aj@suse.de>
26461         [BZ #13739]
26462         * manual/Makefile: Remove make dist support, there's no
26463         need for a stand-alone documentation tar ball.
26464         (TEXI2DVI): Define always, it's not in Makeconfig.
26465         (dist): Removed.
26466         (tar-it): Removed.
26467         (edition): Removed.
26468         (glibc-doc-$(edition).tar): Removed
26469         (%.Z): Removed.
26470         (%.gz): Removed.
26471         (%.uu): Removed.
26472         (ETAGS): Remove, it's in Makeconfig.
26473         (move-if-change): Remove, it's in Makeconfig.
26475 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26477         [BZ #13970]
26478         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26479         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26480         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26481         (strtod_l, strtof_l, strtold_l): Remove __wur.
26482         It is not necessarily an error to ignore strtol's return value.
26483         One can reliably look at the stored endptr to decide whether
26484         the number had valid syntax.
26486 2012-04-21  Andreas Jaeger  <aj@suse.de>
26488         [BZ #13739]
26489         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26491 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26493         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26494         * sysdeps/unix/sysv/Versions: Remove file.
26496 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26498         [BZ #13927]
26499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26501 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26503         [BZ #7064]
26504         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26505         version from __vm86.
26507 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26509         * sysdeps/unix/common/lxstat.c: Remove file.
26510         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26512         * sysdeps/unix/sysv/Makefile: Remove file.
26514         * sysdeps/unix/sysv/direct.h: Remove file.
26516         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26517         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26518         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26519         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26520         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26521         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26522         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26524         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26526         * sysdeps/unix/xmknod.c: Remove file.
26527         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26529         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26531         * sysdeps/unix/sysv/i386/time.S: Remove file.
26533         * sysdeps/unix/fxstat.c: Remove file.
26534         * sysdeps/unix/xstat.c: Likewise.
26535         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26537         * sysdeps/unix/sysv/sigaction.c: Remove file.
26539         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26540         (sysdep_headers): Remove variable.
26541         [termio.h not in sysdep_headers] (generated): Likewise.
26542         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26543         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26544         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26545         * sysdeps/unix/sysv/tcflow.c: Likewise.
26546         * sysdeps/unix/sysv/tcflush.c: Likewise.
26547         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26548         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26549         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26550         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26551         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26553         * sysdeps/unix/siglist.c: Remove file.
26555         * sysdeps/unix/getppid.S: Remove file.
26557         * sysdeps/unix/mkdir.c: Remove file.
26558         * sysdeps/unix/rmdir.c: Likewise.
26560 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26562         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26563         ERR_MAX value.
26564         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26565         errlist-compat value.
26567 2012-04-18  David S. Miller  <davem@davemloft.net>
26569         * sysdeps/generic/memcopy.h (reg_char): Delete.
26570         * debug/strcat_chk.c: Use char, not reg_char.
26571         * debug/strcpy_chk.c: Likewise.
26572         * debug/strncat_chk.c: Likewise.
26573         * debug/strncpy_chk.c: Likewise.
26574         * string/memchr.c: Likewise.
26575         * string/memrchr.c: Likewise.
26576         * string/rawmemchr.c: Likewise.
26577         * string/strcat.c: Likewise.
26578         * string/strchr.c: Likewise.
26579         * string/strchrnul.c: Likewise.
26580         * string/strcmp.c: Likewise.
26581         * string/strcpy.c: Likewise.
26582         * string/strncat.c: Likewise.
26583         * string/strncmp.c: Likewise.
26584         * string/strncpy.c: Likewise.
26586 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26588         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26589         __builtin_memcopy is called when src and dest ranges are known to not
26590         overlap.
26592 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26594         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26595         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26596         fwd_align_merge macro call.
26597         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26598         bwd_align_merge macro call.
26599         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26601 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26603         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26604         bwd_align_merge macros.
26605         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26606         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26607         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26609 2012-04-18  David S. Miller  <davem@davemloft.net>
26611         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26613 2012-04-18  Andreas Jaeger  <aj@suse.de>
26615         [BZ# 6794]
26616         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26617         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26618         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26620         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26621         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26622         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26624         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26625         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26626         Adjust for changed ldbl-128 files.
26628         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26629         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26630         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26632 2012-04-17  David S. Miller  <davem@davemloft.net>
26634         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26636 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26638         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26639         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26640         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26641         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26642         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26643         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26645 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26647         [BZ #6794]
26648         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26649         * math/libm-test.inc: Add ilogb errno and exception tests.
26650         * math/w_ilogb.c: New file: ilogb wrapper.
26651         * math/w_ilogbf.c: New file: ilogbf wrapper.
26652         * math/w_ilogbl.c: New file: ilogbl wrapper.
26653         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26654         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26655         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26656         exception being thrown with 0.0 as argument.
26657         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26658         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26659         exception being thrown with 0.0 as argument.
26660         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26661         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26662         exception being thrown with 0.0 as argument.
26663         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26664         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26665         exception being thrown with 0.0 as argument.
26666         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26667         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26668         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26669         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26670         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26671         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26672         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26673         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26674         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26676 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26678         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26679         with altivec.
26681 2012-04-16  Marek Polacek  <polacek@redhat.com>
26683         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26685 2012-04-16  Marek Polacek  <polacek@redhat.com>
26687         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26688         operands of fdivp instruction.
26690 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26692         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26693         * elf/tst-auditmod3b.c: Likewise.
26694         * elf/tst-auditmod4b.c: Likewise.
26695         * elf/tst-auditmod5b.c: Likewise.
26696         * elf/tst-auditmod6b.c: Likewise.
26697         * elf/tst-auditmod6c.c: Likewise.
26698         * elf/tst-auditmod7b.c: Likewise.
26699         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26700         * sysdeps/x86_64/preconfigure.in: Likewise.
26701         * sysdeps/x86_64/preconfigure: Regenerated.
26703 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26705         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26706         __ILP32__.
26708 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26710         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26711         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26713 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26715         [BZ #13973]
26716         * locale/iso-639.def: Fix gl language name. Spotted by
26717         Yaron Shahrabani.
26719 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26721         [BZ #2074]
26722         * libio/libio.h (__io_write_fn): Update comment.
26724 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26726         [BZ #2074]
26727         * stdio.texi (Hook Functions): The user provided writer function
26728         is not allowed to return -1.
26730 2012-04-11  David S. Miller  <davem@davemloft.net>
26732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26734 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26736         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26737         Add a leading slash to rtkaio.
26739 2012-04-11  Jim Meyering  <meyering@redhat.com>
26741         [BZ #11959]
26742         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26743         It is not necessarily an error to ignore fwrite's return
26744         value.  One can reliably use ferror to test for errors after
26745         the fact.
26747 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26749         * bits/types.h (__snseconds_t): New type.
26750         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26752         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26753         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26754         (__SNSECONDS_T_TYPE): Likewise.
26755         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26756         (__SNSECONDS_T_TYPE): Likewise.
26757         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26758         (__SNSECONDS_T_TYPE): Likewise.
26760 2012-04-10  Andreas Jaeger  <aj@suse.de>
26762         [BZ #2636]
26763         * manual/time.texi (Processor Time): Return type of times is
26764         elapsed real time since an arbitrary point in the past.
26765         (CPU Time): Move CLK_TCK from here...
26766         (Processor Time): ...to here.  Correct description.
26767         * manual/conf.texi (Constants for Sysconf): Correct description of
26768         _SC_CLK_TCK.
26770 2012-04-10  David S. Miller  <davem@davemloft.net>
26772         [BZ #13967]
26773         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26774         where the is a gap between DT_REL(A) and DT_JMPREL.
26776 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26778         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26779         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26780         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26782 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26784         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26785         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26786         (dl_main): Handle --inhibit-cache.
26787         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26788         _dl_inhibit_cache.
26789         * elf/dl-load.c (_dl_map_object): Use it.
26790         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26792 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26794         [BZ #13872]
26795         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26796         (__ieee754_powl): Saturate large exponents rather than testing for
26797         overflow of y*log2(x).
26798         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26799         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26800         exceptions.
26802         [BZ #11521]
26803         * math/s_ctan.c: Include <float.h>.
26804         (__ctan): Avoid internal overflow or cancellation in calculating
26805         denominator.
26806         * math/s_ctanf.c: Likewise.
26807         * math/s_ctanl.c: Likewise.
26808         * math/s_ctanh.c: Likewise.
26809         * math/s_ctanhf.c: Likewise.
26810         * math/s_ctanhl.c: Likewise.
26811         * math/libm-test.inc (ctan_test): Add more tests.
26812         (ctanh_test): Likewise.
26813         * sysdeps/i386/fpu/libm-test-ulps: Update.
26814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26816 2012-04-09  Andreas Jaeger  <aj@suse.de>
26818         [BZ #6894]
26819         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26820         is an optional BSD extension.
26822         [BZ #10254]
26823         * manual/stdio.texi (Opening Streams): Document additional fopen
26824         parameters.
26826 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26828         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26829         %eax without telling the compiler.
26831 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26833         [BZ # 13963]
26834         * manual/install.texi: Use sourceware.org.
26836 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26838         [BZ #13873]
26839         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26840         (__ieee754_pow): Generate overflow and underflow using huge*huge
26841         and tiny*tiny rather than just returning constant infinity or zero
26842         for large exponents.
26843         * math/libm-test.inc (pow_test): Require overflow exceptions for
26844         applicable cases of large exponents.
26846         [BZ #706]
26847         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26848         (__ieee754_pow): Use iterative multiplication algorithm only for
26849         integer exponents with absolute value below 1024.  Check for odd
26850         integer exponents when using algorithm for real exponents.
26851         * math/libm-test.inc (pow_test): Add more tests.
26852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26854 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26856         [BZ #13705]
26857         * math/libm-test.inc (exp_test): Do not allow overflow exception
26858         on underflow test.
26860 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26862         [BZ #13705]
26863         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26864         instead of __kernel_standard_f.
26866 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26868         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26869         * sysdeps/x86_64/memset_chk.S: Likewise.
26871 2012-04-08  Andreas Jaeger  <aj@suse.de>
26873         [BZ #10153]
26874         * manual/startup.texi (Environment Access): Describe return value
26875         for putenv and setenv.
26877         [BZ #6895]
26878         * manual/filesys.texi (Directory Entries): Add description for
26879         DT_LNK.
26881         [BZ #6890]
26882         * manual/filesys.texi (Directory Entries): Clarify that it's file
26883         system not operating system in the description of DT_UNKNOWN.
26885         [BZ #6578]
26886         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26888 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26890         [BZ #6649]
26891         * manual/llio.texi (Opening and Closing Files): Add cross
26892         reference to explain mode argument.
26894 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26896         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26897         * sysdeps/x86_64/memset_chk.S: Likewise.
26899 2012-04-07  David S. Miller  <davem@davemloft.net>
26901         * elf/elf.h (R_SPARC_WDISP10): Define.
26902         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26903         R_SPARC_SIZE32.
26904         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26905         R_SPARC_SIZE64 and R_SPARC_H34.
26907 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26909         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26910         conditions and remove no longer applicable assertion.
26912 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26914         * bits/byteswap.h: Include <features.h>.
26915         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26916         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26918 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26920         * bits/byteswap.h (__bswap_16): Removed.
26921         Include <bits/byteswap-16.h> to get __bswap_16.
26922         * sysdeps/i386/bits/byteswap.h: Likewise.
26923         * sysdeps/s390/bits/byteswap.h: Likewise.
26924         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26925         * bits/byteswap-16.h: New file.
26926         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26927         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26928         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26929         * string/Makefile (headers): Add bits/byteswap-16.h.
26931 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26933         [BZ #13895]
26934         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26935         extra indirection.
26936         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26937         * nss/tst-nss-static.c: New.
26939 2012-04-06  Robert Millan  <rmh@gnu.org>
26941         [BZ #6486]
26942         * manual/llio.texi (File Position Primitive): lseek
26943         refers to WHENCE when it really means OFFSET.
26945 2012-04-06  Andreas Jaeger  <aj@suse.de>
26947         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26948         strncmp declarations.
26950         * abilist/libc.abilist: Add __poll and __ppoll.
26952 2012-04-05  David S. Miller  <davem@davemloft.net>
26954         * scripts/check-local-headers.sh: Accept a host triplet in the
26955         path matched by the exclude regexp.
26957         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26958         definition.
26959         * sysdeps/powerpc/powerpc32/dl-machine.h
26960         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26961         * sysdeps/s390/s390-32/dl-machine.h
26962         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26963         * sysdeps/sparc/sparc32/dl-machine.h
26964         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26965         * sysdeps/sparc/sparc64/dl-machine.h
26966         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26968         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26969         lazy binding.
26970         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26971         undefined symbol errors.
26973         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26974         DT_NEEDED entries.
26976 2012-04-05  Michael Matz  <matz@suse.de>
26978         [BZ #13592]
26979         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26981 2012-04-05  Andreas Jaeger  <aj@suse.de>
26983         [BZ #13908]
26984         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26985         comment.
26987 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26989         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26990         which ROUND is no valid rounding mode.
26992 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26994         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26995         read again.
26996         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26998 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27000         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27001         an exception using FPU order intentionally.
27003 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27005         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27006         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27007         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27008         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27010 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27012         [BZ #12340]
27013         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27014         EINVAL when BUFLEN is too smal.
27016 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27018         [BZ #13553]
27019         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27020         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27022 2012-04-03  Andreas Jaeger  <aj@suse.de>
27024         [BZ #13938]
27025         * manual/setjmp.texi (System V contexts): Fix sentence.
27027         [BZ #13926]
27028         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27029         New macro for this case.
27030         [!__GNUC__] (__bswap_64): New inline function for this case.
27031         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27032         * bits/byteswap.h: Likewise.
27033         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27034         ull, guard with __GLIBC_HAVE_LONG_LONG.
27036         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27037         __GLIBC_HAVE_LONG_LONG.
27039         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27040         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27042 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27044         [BZ #13691]
27045         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27046         inptr and inend, rather than using last_ch.
27048 2012-04-02  David S. Miller  <davem@davemloft.net>
27050         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27051         * stdio-common/printf-parse.h (read_int): Change return type to
27052         'int', return -1 on INT_MAX overflow.
27053         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27054         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27055         overflows INT_MAX.  Check for overflow of in-format-string precision
27056         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27057         SIZE_MAX not INT_MAX for integer overflow test.
27058         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27059         skip the construct in the format string but do not record anything.
27060         * stdio-common/bug22.c: Adjust to test both width/prevision
27061         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27062         explicitly for proper errno values.
27064 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27066         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27067         CHAR_MAX.
27068         * string/test-strcmp.c [! WIDE]: Likewise.
27069         * time/tst-mktime2.c: Likewise for INT_MAX.
27070         * string/test-string.h: #include <sys/param.h> for MIN.
27072         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27073         * sysdeps/i386/init-first.c (init): Likewise.
27074         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27075         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27076         * sysdeps/sh/init-first.c (init): Likewise.
27078 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27080         * po/ru.po: Update from translation team.
27081         * po/vi.po: Likewise.
27083 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27085         * resolv/nss_dns/dns-host.c: Merge copyright years.
27087 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27089         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27090         Optimize memcpy with prefetch if
27091         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27092         src, dst pointers have unequal 16 byte alignments.
27094 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27096         [BZ #13928]
27097         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27098         from a CNAME entry and return the minimum ttl for the query.
27099         (gaih_getanswer_slice): Likewise.
27101 2012-03-30  Jeff Law  <law@redhat.com>
27103         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27104         due to long keys.
27105         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27106         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27108         * resolv/nss_dns/dns-host.c: Update copyright year.
27110 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27112         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27113         requests to save a system call.  Fix check that all bytes are sent.
27115         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27116         comments for sendmmsg.
27118 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27120         [BZ #13691]
27121         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27122         with only 1 character between 0x0041 and 0x01b0.
27123         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27124         * wcsmbs/tst-mbsnrtowcs.c: New file.
27126 2012-03-29  David S. Miller  <davem@davemloft.net>
27128         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27129         small copies by hand.
27131 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27133         [BZ #13761]
27134         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27135         _nss_compat_initgroups_dyn): Fall back to malloc/free
27136         for large group memberships.
27138 2012-03-28  David S. Miller  <davem@davemloft.net>
27140         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27141         that branches into memcpy.
27142         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27143         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27144         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27145         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27146         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27147         bits.
27148         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27149         implementation too.
27150         * sysdeps/sparc/mempcpy.S: New file.
27152         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27153         the IFUNC routine in the libc case.
27154         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27156         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27157         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27158         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27159         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27160         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27161         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27162         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27163         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27165         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27166         loop to 256 bytes instead of 64 bytes and fix test signedness.
27168         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27169         * sysdeps/sparc/sparc32/Makefile: rather than here...
27170         * sysdeps/sparc/sparc64/Makefile: and here.
27172 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27174         * malloc/mallocbug.c: Avoid warnings about unused variables.
27176 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27178         [BZ #13760]
27179         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27180         in the right place. Discard and retry query if response is
27181         larger than input buffer size.
27183 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27185         [BZ #369]
27186         [BZ #2678]
27187         [BZ #3866]
27188         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27189         x for large integer exponent.
27190         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27191         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27192         sign of result as needed afterwards.
27193         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27194         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27195         result for underflowing pow the same as for overflow.
27196         (__kernel_standard_l): Handle powl overflow and underflow here
27197         rather than calling __kernel_standard.
27198         * math/libm-test.inc (pow_test): Add more tests.
27200         [BZ #3868]
27201         [BZ #13879]
27202         [BZ #13910]
27203         [BZ #13911]
27204         [BZ #13912]
27205         [BZ #13913]
27206         [BZ #13915]
27207         [BZ #13916]
27208         [BZ #13917]
27209         [BZ #13918]
27210         [BZ #13919]
27211         [BZ #13920]
27212         [BZ #13921]
27213         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27214         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27215         (__kernel_standard_l): New function.
27216         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27217         __kernel_standard.
27218         * math/w_acosl.c (__acosl): Likewise.
27219         * math/w_asinl.c (__asinl): Likewise.
27220         * math/w_atan2l.c (__atan2l): Likewise.
27221         * math/w_atanhl.c (__atanhl): Likewise.
27222         * math/w_coshl.c (__coshl): Likewise.
27223         * math/w_exp10l.c (__exp10l): Likewise.
27224         * math/w_exp2l.c (__exp2l): Likewise.
27225         * math/w_fmodl.c (__fmodl): Likewise.
27226         * math/w_hypotl.c (__hypotl): Likewise.
27227         * math/w_j0l.c (__j0l, __y0l): Likewise.
27228         * math/w_j1l.c (__j1l, __y1l): Likewise.
27229         * math/w_jnl.c (__jnl, __ynl): Likewise.
27230         * math/w_lgammal.c (__lgammal): Likewise.
27231         * math/w_log10l.c (__log10l): Likewise.
27232         * math/w_log2l.c (__log2l): Likewise.
27233         * math/w_logl.c (__logl): Likewise.
27234         * math/w_powl.c (__powl): Likewise.
27235         * math/w_remainderl.c (__remainderl): Likewise.
27236         * math/w_scalbl.c (sysv_scalbl): Likewise.
27237         * math/w_sinhl.c (__sinhl): Likewise.
27238         * math/w_sqrtl.c (__sqrtl): Likewise.
27239         * math/w_tgammal.c (__tgammal): Likewise.
27240         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27241         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27242         * math/libm-test.inc (acos_test): Add more tests.
27243         (acosh_test): Likewise.
27244         (asin_test): Likewise.
27245         (atanh_test): Likewise.
27246         (exp_test): Likewise.
27247         (exp10_test): Likewise.
27248         (exp2_test): Likewise.
27249         (expm1_test): Likewise.
27250         (lgamma_test): Likewise.
27251         (log_test): Likewise.
27252         (log10_test): Likewise.
27253         (log1p_test): Likewise.
27254         (log2_test): Likewise.
27255         (pow_test): Do not allow some spurious overflow exceptions.
27256         (sqrt_test): Add more tests.
27257         (tgamma_test): Likewise.
27258         (y0_test): Likewise.
27259         (y1_test): Likewise.
27260         (yn_test): Likewise.
27262 2012-03-27  Anton Blanchard  <anton@samba.org>
27264         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27265         MAP_HUGETLB.
27266         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27267         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27268         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27270 2012-03-27  David S. Miller  <davem@davemloft.net>
27272         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27274         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27275         have-as-vis3 check.
27277 2012-03-27  Andreas Jaeger  <aj@suse.de>
27279         * sysdeps/x86_64/elf/configure.in: Moved to ...
27280         * sysdeps/x86_64/configure.in: ... here.
27281         * sysdeps/x86_64/elf/start.S: Moved to ...
27282         * sysdeps/x86_64/start.S: ... here.
27283         * sysdeps/x86_64/elf/configure: Delete.
27285         * sysdeps/x86_64/configure.in: Merge contents from
27286         sysdeps/i386/configure.in (without i686 check).
27288         * sysdeps/i386/elf/Versions: Merge into ...
27289         * sysdeps/i386/Versions: ... this.
27290         * sysdeps/i386/elf/Versions: Delete file.
27291         * sysdeps/i386/elf/start.S: Moved to ...
27292         * sysdeps/i386/start.S: ...here.
27293         * sysdeps/i386/elf/configure.in: Merge into...
27294         * sysdeps/i386/configure.in: ...here.
27295         * sysdeps/i386/elf/configure.in: Delete file.
27296         * sysdeps/i386/elf/configure: Delete file.
27298         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27299         * debug/backtracesyms.c: ... here.
27300         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27301         * debug/backtracesymsfd.c: ... here.
27302         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27303         * sysdeps/generic/ifunc-sel.h: ... here.
27305         * sysdeps/unix/i386/start.c: Delete file.
27306         * sysdeps/unix/sparc/start.c: Delete file.
27307         * sysdeps/unix/start.c: Delete file.
27309         * sysdeps/sh/elf/configure.in: Moved to ...
27310         * sysdeps/sh/configure.in: ... here.
27311         * sysdeps/sh/elf/start.S: Moved to ...
27312         * sysdeps/sh/start.S: ... here.
27313         * sysdeps/sh/elf/configure: Delete file.
27315         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27316         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27317         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27318         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27319         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27320         * sysdeps/powerpc/powerpc64/start.S: here.
27321         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27322         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27323         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27324         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27325         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27327         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27328         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27329         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27330         * sysdeps/powerpc/powerpc32/start.S: ... here.
27331         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27332         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27333         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27335         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27336         * sysdeps/powerpc/ifunc-sel.h: ... here.
27337         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27338         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27340         * sysdeps/sparc/elf/configure.in: Moved to ...
27341         * sysdeps/sparc/configure.in: ... here.
27342         * sysdeps/sparc/elf/configure: Delete file.
27343         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27344         * sysdeps/sparc/sparc32/start.S: ... here.
27345         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27346         * sysdeps/sparc/sparc64/start.S: ... here.
27347         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27348         * sysdeps/sparc/sparc32/Makefile: ... this.
27349         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27350         * sysdeps/sparc/sparc64/Makefile: ... this.
27352         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27353         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27354         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27355         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27356         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27357         * sysdeps/s390/s390-32/setjmp.S: ... here.
27358         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27359         * sysdeps/s390/s390-32/configure.in: ... here.
27360         * sysdeps/s390/s390-32/elf/configure: Delete file.
27361         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27362         * sysdeps/s390/s390-32/start.S: ... here.
27364         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27365         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27366         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27367         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27368         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27369         * sysdeps/s390/s390-64/setjmp.S: ... here.
27370         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27371         * sysdeps/s390/s390-64/configure.in: ... here
27372         * sysdeps/s390/s390-64/elf/configure: Delete file.
27373         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27374         * sysdeps/s390/s390-64/start.S: ... here.
27375         * sysdeps/s390/s390-64/elf/configure: Delete.
27377         * configure.in: Remove support for elf directories in sysdeps.
27379         * configure: Regenerated.
27380         * sysdeps/i386/configure: Regenerated.
27381         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27382         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27383         * sysdeps/s390/s390-32/configure: Regenerated.
27384         * sysdeps/s390/s390-64/configure: Regenerated.
27385         * sysdeps/sh/configure: Regenerated.
27386         * sysdeps/sparc/configure: Regenerated.
27387         * sysdeps/x86_64/configure: Regenerated.
27389 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27393         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27394         denormal result into account.
27396 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27398         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27399         Reported by Allan McRae <allan@archlinux.org>.
27401 2012-03-23  Jeff Law  <law@redhat.com>
27403         * nss/getnssent.c (__nss_getent): Fix typo.
27405 2012-03-23  David S. Miller  <davem@davemloft.net>
27407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27409 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27411         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27412         to pad to uint64_t for each field.
27413         (dl_tls_index): Replace unsigned long with uint64_t.
27415 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27416         Paul Pluzhnikov  <ppluzhnikov@google.com>
27418         [BZ #6528]
27419         * grp/Makefile (otherlibs): Don't set it.
27420         * inet/Makefile (otherlibs): Likewise.
27421         * login/Makefile (otherlibs): Likewise.
27422         * nscd/Makefile (otherlibs): Likewise.
27423         * posix/Makefile (otherlibs): Likewise.
27424         * pwd/Makefile (otherlibs): Likewise.
27425         * rt/Makefile (otherlibs): Likewise.
27426         * sunrpc/Makefile (otherlibs): Likewise.
27427         * nss/Makefile (otherlibs): Likewise.
27428         Add libnss_files to routines and static-only-routines.
27429         ($(objpfx)getent): Remove rule.
27430         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27431         static-only-routines.
27433 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27435         [BZ #13892]
27436         * math/s_cexp.c: Include <float.h>.
27437         (__cexp): Handle exp result overflowing not necessarily
27438         overflowing both real and imaginary parts of result.
27439         * math/s_cexpf.c: Likewise.
27440         * math/s_cexpl.c: Likewise.
27441         * math/libm-test.inc (cexp_test): Add more tests.
27442         * sysdeps/i386/fpu/libm-test-ulps: Update.
27443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27445 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27447         * include/link.h (ELFW): New macro.
27448         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27449         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27451 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27453         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27454         with uint64_t.
27456 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27458         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27459         declaration.
27460         (struct La_x32_retval): Likewise.
27462 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27464         * sysdeps/x86_64/preconfigure.in: New file.
27465         * sysdeps/x86_64/preconfigure: New generated file.
27467 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27469         [BZ #13824]
27470         * math/e_exp2l.c: Include <float.h>.
27471         (__ieee754_exp2l): Handle overflow and underflow cases
27472         separately.  Only pass fractional part of argument to
27473         __ieee754_expl.
27474         * math/libm-test.inc (exp2_test): Add more tests.
27476         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27477         negating x to take absolute value.
27478         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27479         Likewise.
27480         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27481         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27482         Likewise.
27483         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27484         computing low part if x was negated.
27485         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27487 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27489         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27490         la_x32_gnu_pltexit.
27491         (pltexit): Cast int_retval to ptrdiff_t.
27492         * elf/tst-auditmod3b.c: Likewise.
27493         * elf/tst-auditmod4b.c: Likewise.
27494         * elf/tst-auditmod5b.c: Likewise.
27495         * elf/tst-auditmod6b.c: Likewise.
27496         * elf/tst-auditmod6c.c: Likewise.
27497         * elf/tst-auditmod7b.c: Likewise.
27499         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27500         and x32_gnu_pltexit.
27502         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27503         __ELF_NATIVE_CLASS.
27504         (La_x32_regs): New macro.
27505         (La_x32_retval): Likewise.
27506         (la_x32_gnu_pltenter): New function prototype.
27507         (la_x32_gnu_pltexit): Likewise.
27509 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27511         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27512         exponent.
27514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27516         * configure.in (libc_cv_cc_nofma): Check for option to disable
27517         generation of FMA instructions.
27518         * configure: Regenerate.
27519         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27520         * sysdeps/ieee754/dbl-64/Makefile: New file.
27521         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27522         Remove brandred-fma4.
27523         (CFLAGS-brandred-fma4.c): Remove.
27524         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27525         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27526         define.
27527         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27528         define.
27530 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27532         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27533         LLONG_MAX != LONG_MAX.
27534         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27535         (_fitoa_word): Likewise.
27536         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27537         LLONG_MAX != LONG_MAX.
27538         * stdio-common/_itowa.h: Include <_itoa.h>.
27539         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27540         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27541         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27542         only if not defined.
27543         (_ITOA_WORD_TYPE): Likewise.
27544         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27545         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27547 2012-03-21  David S. Miller  <davem@davemloft.net>
27549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27551 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27553         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27554         of x86_64 when setting libc_cv_slibdir, libdir and
27555         libc_cv_localedir.
27556         * sysdeps/unix/sysv/linux/configure: Regenerated.
27558 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27560         * manual/lang.texi (Old Varargs): Remove section.
27561         (How Variadic): Update menu.
27562         (va_start): Do not mention varargs.h.
27564 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27565             Joseph Myers  <joseph@codesourcery.com>
27567         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27568         link test.
27569         * configure: Regenerated.
27571 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27573         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27574         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27575         conformtest.pl
27577 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27579         * NOTES: Remove.
27580         * Makefile (files-for-dist): Remove NOTES.
27581         (NOTES): Remove rule.
27582         * README: Don't refer to NOTES.
27583         * manual/creature.texi: Don't include macros.texi.
27584         * manual/intro.texi (creature.texi): Remove comment referring to
27585         NOTES.
27587         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27588         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27589         * configure: Regenerated.
27590         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27591         LIBC_TRY_CC_OPTION.
27592         (libc_cv_as_i686): Likewise.
27593         (libc_cv_cc_avx): Likewise.
27594         (libc_cv_cc_sse2avx): Likewise.
27595         (libc_cv_cc_fma4): Likewise.
27596         (libc_cv_cc_novzeroupper): Likewise.
27597         * sysdeps/i386/configure: Regenerated.
27599         [BZ #13883]
27600         * sysdeps/i386/fpu/s_cexp.S: Remove.
27601         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27602         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27603         * math/libm-test.inc (cexp_test): Add more tests.
27604         * sysdeps/i386/fpu/libm-test-ulps: Update.
27605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27607 2012-03-21  Allan McRae  <allan@archlinux.org>
27609         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27611 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27613         [BZ #13871]
27614         * math/w_exp2.c: Do not include <float.h>.
27615         (o_threshold, u_threshold): Remove.
27616         (__exp2): Calculate result before checking finiteness and calling
27617         __kernel_standard.
27618         * math/w_exp2f.c: Likewise.
27619         * math/w_exp2l.c: Likewise.
27620         * math/libm-test.inc (exp2_test): Require overflow exception for
27621         1e6 input.
27623         [BZ #3866]
27624         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27625         range of signed 64-bit integers before using fistpll.  Remove
27626         checks for whether integers fit in mantissa bits.
27627         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27628         the range of signed 32-bit integers before using fistpl.  Remove
27629         checks for whether integers fit in mantissa bits.
27630         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27631         (__ieee754_powl): Test for y outside the range of signed 64-bit
27632         integers before using fistpll.  Reduce 64-bit values to 63-bit
27633         ones as needed.
27634         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27635         divide-by-zero is raised for zero to large negative powers.
27636         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27637         (__ieee754_powl): Test for y outside the range of signed 64-bit
27638         integers before using fistpll.  Reduce 64-bit values to 63-bit
27639         ones as needed.
27640         * math/libm-test.inc (pow_test): Add more tests.
27642 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27644         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27645         <stdio-common/_itoa.h>.
27646         * debug/segfault.c: Likewise.
27647         * elf/dl-cache.c: Likewise.
27648         * elf/dl-minimal.c: Likewise.
27649         * elf/dl-misc.c: Likewise.
27650         * elf/dl-sysdep.c: Likewise.
27651         * elf/dl-version.c: Likewise.
27652         * elf/rtld.c: Likewise.
27653         * hurd/hurdsock.c: Likewise.
27654         * hurd/lookup-retry.c: Likewise.
27655         * malloc/malloc.c: Likewise.
27656         * malloc/mtrace.c: Likewise.
27657         * nscd/nscd_getgr_r.c: Likewise.
27658         * nscd/nscd_getpw_r.c: Likewise.
27659         * nscd/nscd_getserv_r.c: Likewise.
27660         * posix/getopt_init.c: Likewise.
27661         * posix/wordexp.c: Likewise.
27662         * stdio-common/_itoa.c: Likewise.
27663         * stdio-common/printf_fphex.c: Likewise.
27664         * stdio-common/vfprintf.c: Likewise.
27665         * string/_strerror.c: Likewise.
27666         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27667         * sysdeps/i386/i686/hp-timing.h: Likewise.
27668         * sysdeps/mach/_strerror.c: Likewise.
27669         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27670         * sysdeps/mach/hurd/sethostid.c: Likewise.
27671         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27672         * sysdeps/mach/xpg-strerror.c: Likewise.
27673         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27674         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27675         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27676         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27677         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27678         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27679         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27680         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27681         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27682         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27683         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27684         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27685         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27686         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27687         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27688         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27689         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27690         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27691         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27692         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27693         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27695         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27697         * stdio-common/_itoa.h: Moved to ...
27698         * sysdeps/generic/_itoa.h: Here.
27700         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27702         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27703         instead of "_itoa.h" and "_itowa.h".
27704         * stdio-common/vfprintf.: Likewise.
27706 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27708         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27709         <bits/wordsize.h>.
27710         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27711         (__signbit): Likwise.
27712         (llrintf): Likwise.
27713         (llrint): Likwise.
27715 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27717         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27718         __WORDSIZE != 64.
27720 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27722         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27723         OVERFLOW_EXCEPTION_OK.
27724         * math/libm-test.inc ("Philosophy"): Update comment about
27725         exception testing.
27726         (OVERFLOW_EXCEPTION): Define.
27727         (OVERFLOW_EXCEPTION_OK): Likewise.
27728         (INVALID_EXCEPTION_OK): Renumber.
27729         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27730         (IGNORE_ZERO_INF_SIGN): Likewise.
27731         (test_exceptions): Handle FE_OVERFLOW.
27732         (exp10_test): Expect overflow exceptions.
27733         (exp2_test): Likewise.
27734         (expm1_test): Likewise.
27735         (nextafter_test): Likewise.
27736         (pow_test): Likewise.
27737         (scalbn_test): Likewise.
27738         (scalbln_test): Likewise.
27740 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27742         * sysdeps/x86_64/bits/atomic.h
27743         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27744         64bit integer.
27745         (atomic_exchange_acq): Likewise.
27746         (__arch_exchange_and_add_body): Likewise.
27747         (__arch_add_body): Likewise.
27748         (atomic_add_negative): Likewise.
27749         (atomic_add_zero): Likewise.
27751 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27753         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27754         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27756 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27758         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27759         Check __x86_64__ instead of __WORDSIZE.
27761 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27763         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27765 2012-03-19  David S. Miller  <davem@davemloft.net>
27767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27769         * sysdeps/sparc/fpu/fenv_private.h: New file.
27770         * sysdeps/sparc/fpu/math_private.h: Use it.
27771         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27772         Remove.
27773         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27774         (libc_feholdexcept_setroundl): Remove.
27775         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27776         Remove.
27777         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27778         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27780 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27782         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27783         int64_t instead of long int.
27784         (INSERT_WORDS64): Likwise.
27786 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27788         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27789         _Unwind_GetCFA return to _Unwind_Ptr first.
27791 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27793         [BZ #13629]
27794         * math/s_clog.c: Include <float.h>.
27795         (__clog): Scale large or subnormal inputs.
27796         * math/s_clogf.c: Likewise.
27797         * math/s_clogl.c: Likewise.
27798         * math/s_clog10.c: Include <float.h>.
27799         (M_LOG10_2): Define.
27800         (__clog10): Scale large or subnormal inputs.
27801         * math/s_clog10f.c: Likewise.
27802         * math/s_clog10l.c: Likewise.
27803         * math/libm-test.inc (clog_test): Add more tests.
27804         (clog10_test): Likewise.
27805         * sysdeps/i386/fpu/libm-test-ulps: Update.
27806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27808         [BZ #11451]
27809         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27810         x and y.
27811         * math/libm-test.inc (atan2_test): Add another test.
27813         * Makerules (common-objdir-compile): Remove.
27814         * sysdeps/unix/Makefile (config-generated): Do not add
27815         $(unix-generated) to variable.
27816         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27817         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27818         Remove rule.
27819         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27820         Likewise.
27821         [generic bits/local_lim.h] (before-compile): Do not append to
27822         variable.
27823         [generic bits/local_lim.h] (common-generated): Likewise.
27824         [generic sys/param.h] (before-compile): Do not append to variable.
27825         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27826         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27827         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27828         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27829         include.
27830         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27831         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27832         [generic sys/param.h] ($(addprefix
27833         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27834         [generic sys/param.h] (common-generated): Do not append to
27835         variable.
27836         [generic sys/param.h] (sysdep_headers): Likewise.
27837         [generic bits/errno.h] (before-compile): Do not append to
27838         variable.
27839         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27840         rule.
27841         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27842         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27843         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27844         [generic bits/errno.h] (common-generated): Do not append to
27845         variable.
27846         [generic bits/ioctls.h] (before-compile): Do not append to
27847         variable.
27848         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27849         rule.
27850         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27851         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27852         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27853         rule.
27854         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27855         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27856         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27857         [generic bits/ioctls.h] (common-generated): Do not append to
27858         variable.
27859         [generic sys/syscall.h] (syscall.h): Remove variable.
27860         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27861         rule.
27862         [generic sys/syscall.h] (before-compile): Do not append to
27863         variable.
27864         [generic sys/syscall.h] (common-generated): Likewise.
27865         * sysdeps/unix/errnos-tmpl.c: Remove file.
27866         * sysdeps/unix/errnos.awk: Likewise.
27867         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27868         * sysdeps/unix/ioctls.awk: Likewise.
27869         * sysdeps/unix/mk-local_lim.c: Likewise.
27870         * sysdeps/unix/snarf-ioctls: Likewise.
27872 2012-03-19  Richard Henderson  <rth@twiddle.net>
27874         * sysdeps/i386/fpu/fenv_private.h: New file.
27875         * sysdeps/i386/fpu/math_private.h: Use it.
27876         (math_opt_barrier, math_force_eval): Remove.
27877         (libc_feholdexcept_setround_53bit): Remove.
27878         (libc_feupdateenv_53bit): Remove.
27879         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27880         (math_opt_barrier, math_force_eval): Remove.
27881         (libc_feholdexcept): Remove.
27882         (libc_feholdexcept_setround): Remove.
27883         (libc_fetestexcept, libc_fesetenv): Remove.
27884         (libc_feupdateenv_test): Remove.
27885         (libc_feupdateenv, libc_feholdsetround): Remove.
27886         (libc_feresetround): Remove.
27888         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27889         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27891         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27892         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27893         (libc_feupdateenv_testl): New.
27894         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27895         (libc_feupdateenv_testf): New.
27896         (libc_feupdateenv): Use libc_feupdateenv_test.
27897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27898         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27900         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27901         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27902         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27903         (libc_feresetround_noex): New.
27904         (libc_feresetround_noexf): New.
27905         (libc_feresetround_noexl): New.
27906         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27907         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27908         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27909         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27910         SET_RESTORE_ROUND.
27911         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27912         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27913         (__cos): Likewise.
27914         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27915         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27916         SET_RESTORE_ROUND_NOEX.
27917         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27918         SET_RESTORE_ROUND_NOEXF.
27919         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27920         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27921         (libc_feholdsetroundf): New.
27922         (libc_feresetround, libc_feresetroundf): New.
27924         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27925         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27926         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27928         * sysdeps/generic/math_private.h: Include <fenv.h>.
27929         (default_libc_feholdexcept): New.
27930         (default_libc_feholdexcept_setround): New.
27931         (default_libc_fesetenv, default_libc_feupdateenv): New.
27932         (libc_feholdexcept): Only define if undefined.
27933         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27934         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27935         (libc_feholdexcept_setroundl): Likewise.
27936         (libc_feholdexcept_setround_53bit): Likewise.
27937         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27938         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27939         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27940         (libc_feupdateenv_53bit): Likewise.
27941         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27942         (libc_feholdexcept): Convert from macro to inline function.
27943         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27944         (libc_fesetenv, libc_feupdateenv): Likewise.
27946         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27947         not previously defined.
27948         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27949         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27950         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27951         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27952         * sysdeps/ieee754/flt-32/math_private.h: New file.
27953         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27954         math_private.h below SET_FLOAT_WORD.
27955         (__isnan, __isinf_ns, __finite): Remove.
27956         (__isnanf, __isinf_nsf, __finitef): Remove.
27958 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27962 2012-03-17  David S. Miller  <davem@davemloft.net>
27964         [BZ #6471]
27965         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27966         for 2.16.
27968 2012-03-16  David S. Miller  <davem@davemloft.net>
27970         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27971         warnings.
27973         [BZ #6471]
27974         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27975         properly.
27976         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27977         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27978         sysdep_routines when subdir is sysvipc.
27979         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27980         __getshmlba helper.
27982         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27984 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27986         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27987         [__LP64__].
27989 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27991         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27992         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27993         (__lround): Renamed to ...
27994         (__llround): This.  Replace long int with long long int.
27995         Define lround functions as aliases of llround functions.
27996         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27998 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28000         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28001         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28002         adresses to uintptr_t.  Replace "long int" and "unsigned long
28003         int" with "greg_t" on va_arg.
28005 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28007         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28008         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28010         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28011         Move e_machine check before EI_CLASS check.  Handle x32
28012         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28013         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28014         SKIP_EM_IA_64 and include
28015         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28017         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28018         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28019         (add_system_dir): New macro.
28021         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28022         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28024 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28026         [BZ #2551]
28027         [BZ #2552]
28028         [BZ #2553]
28029         [BZ #2554]
28030         [BZ #2562]
28031         [BZ #2563]
28032         [BZ #2565]
28033         [BZ #2566]
28034         [BZ #2576]
28035         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28036         (y0): Likewise.
28037         * math/w_j0f.c (j0f): Likewise.
28038         (y0f): Likewise.
28039         * math/w_j0l.c (__j0l): Likewise.
28040         (__y0l): Likewise.
28041         * math/w_j1.c (j1): Likewise.
28042         (y1): Likewise.
28043         * math/w_j1f.c (j1f): Likewise.
28044         (y1f): Likewise.
28045         * math/w_j1l.c (__j1l): Likewise.
28046         (__y1l): Likewise.
28047         * math/w_jn.c (jn): Likewise.
28048         (yn): Likewise.
28049         * math/w_jnf.c (jnf): Likewise.
28050         (ynf): Likewise.
28051         * math/w_jnl.c (__jnl): Likewise.
28052         (__ynl): Likewise.
28053         * math/libm-test.inc (j0_test): Add more tests.
28054         (j1_test): Likewise.
28055         (jn_test): Likewise.  Add trailing semicolon to existing test.
28056         (y0_test): Likewise.
28057         (y1_test): Likewise.
28058         * sysdeps/i386/fpu/libm-test-ulps: Update.
28059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28061         [BZ #13851]
28062         [BZ #13854]
28063         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28064         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28065         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28066         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28067         (__tanl): Set errno for infinite argument.
28068         * sysdeps/i386/fpu/mptan.c: Remove.
28069         * sysdeps/i386/fpu/s_tan.S: Likewise.
28070         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28071         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28072         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28073         * math/libm-test.inc (tan_test): Add more tests and enable more
28074         tests for double and long double.
28075         * sysdeps/i386/fpu/libm-test-ulps: Update.
28076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28078 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28080         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28081         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28083 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28085         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28086         * configure.in: Use it for both main tree and add-ons.
28087         * configure: Regenerated.
28089 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28091         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28093 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28095         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28096         in comment.
28098         [BZ #13851]
28099         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28100         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28101         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28102         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28103         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28104         infinite argument.
28105         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28106         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28107         != 0 for prec == 2.
28108         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28109         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28110         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28111         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28112         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28113         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28114         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28115         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28116         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28117         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28118         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28119         * math/libm-test.inc (cos_test): Add more tests and enable more
28120         tests for long double.
28121         (sin_test): Likewise.
28122         (sincos_test): Likewise.
28123         * sysdeps/i386/fpu/libm-test-ulps: Update.
28124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28126 2012-03-16  David S. Miller  <davem@davemloft.net>
28128         * sysdeps/sparc/fpu/math_private.h: New file.
28130 2012-03-15  David S. Miller  <davem@davemloft.net>
28132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28133         file.
28134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28136         file.
28137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28138         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28142         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28143         sysdep routines.
28144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28146         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28147         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28149         * sysdeps/sparc/sparc-ifunc.h: New file.
28150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28151         sparc-ifunc.h
28152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28154         Likewise.
28155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28156         Likewise.
28157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28161         Likewise.
28162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28167         Likewise.
28168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28169         Likewise.
28170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28176         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28177         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28179         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28181         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28183         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28184         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28185         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28188         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28189         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28190         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28191         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28192         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28193         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28195 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28197         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28198         scaling.
28199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28201 2012-03-15  Andreas Jaeger  <aj@suse.de>
28203         [BZ #13852]
28204         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28205         ieee754/flt-32 implementation for sin, cos and sincos.
28206         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28207         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28208         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28209         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28210         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28211         ieee754/flt-32 implementation for tan.
28213         * math/libm-test.inc (cos_test): Enable some large input tests for
28214         float as well
28215         (sin_test): Likewise.
28216         (sincos_test): Likewise.
28217         (tan_test): Add tests for large input.
28219         * sysdeps/i386/fpu/libm-test-ulps: Update.
28221 2012-03-15  Andreas Jaeger  <aj@suse.de>
28223         [BZ #13658]
28224         * math/libm-test.inc (cos_test): Add more test cases.
28225         (sin_test): Likewise.
28226         (sincos_test): Likewise.
28228 2012-03-15  Andreas Jaeger  <aj@suse.de>
28230         [BZ #13837]
28231         * math/libm-test.inc (cos_test): Add a test case for large input
28232         value.
28233         (sin_test): Likewise.
28234         (sincos_test): Likewise.
28236 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28237         Joseph Myers  <joseph@codesourcery.com>
28239         [BZ #13658]
28240         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28241         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28242         * sysdeps/i386/fpu/branred.c: Likewise.
28243         * sysdeps/i386/fpu/dosincos.c: Likewise.
28244         * sysdeps/i386/fpu/mpa.c: Likewise.
28245         * sysdeps/i386/fpu/s_cos.S: Likewise.
28246         * sysdeps/i386/fpu/s_sin.S: Likewise.
28247         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28248         * sysdeps/i386/fpu/sincos32.c: Likewise.
28250         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28251         Define.
28252         (libc_feupdateenv_53bit): Define.
28253         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28254         Define.
28255         (libc_feupdateenv_53bit): Define.
28257         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28258         53 bit (without extend i386 double precision).
28260         * math/libm-test.inc (sincos_test): Add tests for large input.
28261         (sin): Likewise.
28262         (cos): Likewise.
28264         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28266 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28270 2012-03-15  David S. Miller  <davem@davemloft.net>
28272         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28273         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28274         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28275         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28280         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28288         file.
28289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28291         file.
28292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28294         file.
28295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28297         file.
28298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28299         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28300         fmin/fmax sysdep routines.
28301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28303 2012-03-14  David S. Miller  <davem@davemloft.net>
28305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28309         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28310         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28311         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28312         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28317         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28318         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28323         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28324         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28325         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28326         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28327         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28328         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28329         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28330         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28331         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28332         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28333         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28334         routines.
28335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28336         file.
28337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28339         file.
28340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28342         file.
28343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28345         file.
28346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28348         file.
28349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28351         file.
28352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28353         file.
28354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28355         file.
28356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28357         file.
28358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28359         New file.
28360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28361         file.
28362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28363         file.
28364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28366         file.
28367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28369         file.
28370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28372         file.
28373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28375         VIS3 routines.
28377         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28378         New file.
28380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28382         * sysdeps/sparc/configure.in: New file.
28383         * sysdeps/sparc/configure: Generate.
28384         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28385         * configure: Regenerate.
28386         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28387         * config.make.in (have-as-vis3): New.
28388         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28389         available use -Av9d instead of -Av9a.
28390         * sysdeps/sparc/sparc64/Makefile: Likewise.
28391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28393         New file.
28394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28395         file.
28396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28397         New file.
28398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28399         file.
28400         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28401         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28402         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28403         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28404         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28406         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28407         fzeros/fnegs to load 0x80000000 into a float register instead of
28408         using the stack.
28409         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28411 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28413         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28414         bits/syscall.h.
28415         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28416         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28417         ($(inst_includedir)/bits/syscall.h): Remove rule.
28418         ($(objpfx)bits/syscall.d): Include instead of
28419         $(objpfx)syscall-list.d.
28420         (generated): Change syscall-list.h and syscall-list.d to
28421         bits/syscall.h and bits/syscall.d.
28423 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28425         [BZ #13846]
28426         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28428 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28430         [BZ #13841]
28431         * math/s_csqrt.c: Include <float.h>.
28432         (__csqrt): Scale large or subnormal inputs.
28433         * math/s_csqrtf.c: Likewise.
28434         * math/s_csqrtl.c: Likewise.
28435         * math/libm-test.inc (csqrt_test): Add more tests.
28436         * sysdeps/i386/fpu/libm-test-ulps: Update.
28437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28439         [BZ #13840]
28440         * math/libm-test.inc (hypot_test): Add more tests.
28442 2012-03-13  David S. Miller  <davem@davemloft.net>
28444         [BZ #13840]
28445         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28446         double-precision for the calculation instead of scaling.
28448 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28450         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28451         manipulate bits before adding and subtracting TWO52[sx].
28452         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28453         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28454         Likewise.
28455         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28457 2012-03-13  David S. Miller  <davem@davemloft.net>
28459         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28460         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28461         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28462         rtld-global-offsets.h
28463         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28465         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28466         large parameters.
28468         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28470         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28471         'err' in the ifdef scope in which it is actually used.
28473         * nss/nss_db/db-init.c: Include string.h
28475 2012-03-12  David S. Miller  <davem@davemloft.net>
28477         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28478         masking out of the most significant byte of random value used.
28479         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28480         Fix coding style in previous change.
28482         * sysdeps/unix/sysv/linux/kernel-features.h
28483         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28484         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28485         expression.
28486         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28487         later.
28489 2012-03-11  David S. Miller  <davem@davemloft.net>
28491         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28492         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28493         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28494         for 'resultvar' otherwise things get truncated on 64-bit.
28496         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28497         Fix masking out of the most significant byte of random value used.
28499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28501 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28505 2012-03-09  David S. Miller  <davem@davemloft.net>
28507         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28508         variables with appropriate CPP guards.
28509         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28510         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28511         on resulting framesize and the management of the outregs buffer for pltexit.
28512         Preserve floating point return values across _dl_call_pltexit call.
28513         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28514         framesize and the management of the outregs buffer for pltexit.
28515         Preserve floating point return values across _dl_call_pltexit
28516         call.
28517         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28518         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28519         (print_exit): Fix format string for return register value.
28521 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28523         * sunrpc/Makefile (others): Add rpcgen.
28524         ($(objpfx)rpcgen): Remove special build rule and dependency on
28525         libc.
28526         * sunrpc/rpcgen.c: New file.
28528 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28530         [BZ #13673]
28531         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28532         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28533         * sysdeps/i386/crti.S: Likewise.
28534         * sysdeps/i386/crtn.S: Likewise.
28535         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28536         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28537         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28538         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28539         * sysdeps/sh/crti.S: Likewise.
28540         * sysdeps/sh/crtn.S: Likewise.
28541         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28543         [BZ #13673]
28544         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28545         with URL.
28546         * locale/programs/locfile-kw.gperf: Likewise.
28547         * locale/programs/charmap-kw.h: Regenerated.
28548         * locale/programs/locfile-kw.h: Likewise.
28550         [BZ #13673]
28551         * intl/plural.y: Replace FSF snail mail address with URL.
28552         * intl/plural.c: Regenerated.
28554 2012-03-09  Richard Henderson  <rth@twiddle.net>
28556         * include/math_private.h: Remove file.
28557         * math/math_private.h: Move file ...
28558         * sysdeps/generic/math_private.h: ... here.
28560         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28561         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28562         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28564         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28565         and <math_private.h>.
28566         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28567         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28568         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28569         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28570         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28571         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28572         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28573         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28574         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28575         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28577         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28578         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28579         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28580         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28581         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28582         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28583         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28584         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28585         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28586         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28587         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28588         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28589         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28590         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28591         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28592         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28593         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28594         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28595         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28596         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28597         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28598         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28599         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28600         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28601         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28602         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28603         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28604         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28605         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28606         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28607         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28608         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28609         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28610         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28611         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28612         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28613         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28614         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28615         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28616         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28617         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28618         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28619         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28620         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28621         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28622         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28623         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28624         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28625         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28626         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28627         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28628         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28629         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28630         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28631         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28632         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28633         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28634         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28635         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28636         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28637         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28638         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28639         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28640         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28641         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28642         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28643         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28644         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28645         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28646         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28647         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28648         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28649         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28650         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28651         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28652         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28653         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28654         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28655         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28656         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28657         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28658         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28659         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28660         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28661         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28662         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28663         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28664         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28665         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28666         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28667         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28668         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28669         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28670         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28671         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28672         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28673         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28674         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28675         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28676         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28677         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28678         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28679         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28680         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28681         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28682         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28683         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28684         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28685         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28686         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28687         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28688         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28689         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28690         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28691         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28692         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28693         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28694         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28695         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28696         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28697         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28698         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28699         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28700         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28701         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28702         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28703         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28704         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28705         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28706         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28707         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28708         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28709         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28710         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28711         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28712         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28713         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28714         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28715         * sysdeps/ieee754/k_standard.c: Likewise.
28716         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28717         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28718         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28719         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28720         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28721         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28722         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28723         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28724         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28725         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28726         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28727         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28728         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28729         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28730         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28731         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28732         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28733         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28734         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28735         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28736         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28737         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28738         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28739         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28740         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28741         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28742         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28743         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28744         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28745         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28746         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28747         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28748         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28749         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28750         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28751         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28752         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28753         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28754         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28755         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28756         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28757         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28758         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28759         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28760         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28761         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28762         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28763         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28764         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28765         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28766         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28767         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28768         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28769         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28770         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28771         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28772         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28773         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28774         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28775         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28776         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28777         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28778         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28779         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28780         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28781         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28782         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28783         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28784         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28785         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28786         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28787         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28788         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28789         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28790         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28791         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28792         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28793         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28794         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28795         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28796         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28797         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28798         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28799         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28800         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28801         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28802         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28803         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28804         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28805         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28806         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28807         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28808         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28809         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28810         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28811         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28812         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28813         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28814         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28815         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28816         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28817         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28818         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28819         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28820         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28821         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28822         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28823         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28824         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28825         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28826         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28827         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28828         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28829         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28830         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28831         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28832         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28833         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28834         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28835         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28836         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28837         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28838         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28839         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28840         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28841         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28842         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28843         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28844         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28845         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28846         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28847         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28848         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28849         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28850         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28851         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28852         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28853         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28854         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28855         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28856         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28857         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28858         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28859         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28860         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28861         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28862         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28863         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28864         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28865         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28866         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28867         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28868         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28869         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28870         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28871         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28872         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28873         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28874         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28875         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28876         * sysdeps/ieee754/s_lib_version.c: Likewise.
28877         * sysdeps/ieee754/s_matherr.c: Likewise.
28878         * sysdeps/ieee754/s_signgam.c: Likewise.
28879         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28880         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28881         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28882         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28883         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28884         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28885         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28886         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28887         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28888         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28889         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28890         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28891         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28892         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28893         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28894         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28895         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28896         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28897         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28898         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28899         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28901 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28903         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28904         * sunrpc/rpc_main.c: Likewise.
28905         * sunrpc/rpc_svcout.c: Likewise.
28907 2012-03-09  David S. Miller  <davem@davemloft.net>
28909         * include/math_private.h: New file.
28911 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28913         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28914         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28915         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28916         from <bits/socket_type.h>.
28917         (enum __socket_type): Don't define here.
28918         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28919         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28920         bits/socket_type.h.
28922         [BZ #13566]
28923         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28924         checking __USE_GNU.
28926         * Makerules ($(inst_includedir)/%.h): New rule.
28927         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28928         (install-others): Remove variable setting.
28929         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28931 2012-03-08  Richard Henderson  <rth@twiddle.net>
28933         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28934         from macro to inline function; merge with the
28935         !__LIBC_INTERNAL_MATH_INLINES version.
28936         (__ieee754_sqrtf): Likewise.
28938         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28939         to inline function.
28940         (__rintf, __floor, __floorf): Likewise.
28942         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28943         macro to inline function.
28944         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28946         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28947         not <math/math_private.h>.
28949 2012-03-08  David S. Miller  <davem@davemloft.net>
28951         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28952         copyright year.
28953         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28955 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28957         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28958         normalization.
28959         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28960         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28962 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28964         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28965         be defined individually, they must be defined as a block.  Define
28966         S for printing a string instead of hidint the different by using a
28967         macro for adding the 'l'.
28968         * stdio-common/tst-fphex-wide.c: Adjust.
28970 2012-03-07  Marek Polacek  <polacek@redhat.com>
28972         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28974 2012-03-08  Marek Polacek  <polacek@redhat.com>
28976         [BZ #13806]
28977         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28978         * stdio-common/tst-fphex.c: Define a few macros to make the
28979         test reusable.  Use them.
28980         * stdio-common/tst-fphex-wide.c: New file.
28982 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28984         [BZ #6911]
28985         * manual/macros.texi (gnusystems): New macro.
28986         (nongnusystems): Likewise.
28987         (gnulinuxhurdsystems): Likewise.
28988         (gnuhurdsystems): Likewise..
28989         (gnulinuxsystems): Likewise.
28990         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28991         variants of the GNU system, not "GNU system".
28992         * manual/conf.texi: Likewise.
28993         * manual/errno.texi: Likewise.  Update example of errno macro
28994         expansion.
28995         * manual/filesys.texi: Likewise.
28996         (getumask): Document as specific to GNU/Hurd.
28997         * manual/install.texi: Likewise.  Reword some references to
28998         GNU/Linux.
28999         * manual/intro.texi: Likewise.
29000         * manual/io.texi: Likewise.
29001         (File Name Portability): Detail which constraints are inapplicable
29002         to all GNU systems and which are only inapplicable to GNU/Hurd.
29003         * manual/job.texi: Likewise.
29004         * manual/llio.texi: Likewise.
29005         (O_NOCTTY): Document as present on GNU/Linux.
29006         * manual/maint.texi: Likewise.
29007         * manual/memory.texi: Likewise.
29008         * manual/pattern.texi: Likewise.
29009         * manual/pipe.texi: Likewise.
29010         * manual/process.texi: Likewise.
29011         * manual/resource.texi: Likewise.
29012         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29013         child on GNU/Hurd.
29014         * manual/setjmp.texi: Likewise.
29015         * manual/signal.texi: Likewise.
29016         * manual/startup.texi: Likewise.
29017         * manual/stdio.texi: Likewise.
29018         * manual/terminal.texi: Likewise.
29019         (ONLCR): Document as POSIX.
29020         (OXTABS): Document availability on GNU/Linux as XTABS.
29021         (ONOEOT): Document availability separately from other bits.
29022         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29023         * manual/time.texi: Likewise.
29024         * manual/users.texi: Likewise.
29025         * INSTALL: Regenerated.
29026         * sysdeps/gnu/errlist.c: Regenerated.
29028         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29029         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29030         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29031         puts.
29032         * configure: Regenerated.
29034 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29036         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29037         default includes instead of AC_HEADER_CHECK.
29038         * sysdeps/i386/configure: Regenerated.
29040         [BZ #10716]
29041         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29042         * math/s_cacoshf.c (__cacoshf): Likewise.
29043         * math/s_cacoshl.c (__cacoshl): Likewise.
29044         * math/s_casinh.c (__casinh): Set signs of result from argument.
29045         * math/s_casinhf.c (__casinhf): Likewise.
29046         * math/s_casinhl.c (__casinhl): Likewise.
29047         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29048         (casinh_test): Add more tests.
29049         * sysdeps/i386/fpu/libm-test-ulps: Update.
29050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29052 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29054         * po/zh_TW.po: Update from translation team.
29056         * login/Makefile (distribute): Remove variable.
29057         * catgets/Makefile: Likewise.
29058         * mach/Makefile: Likewise.
29059         * malloc/Makefile: Likewise.
29060         * misc/Makefile: Likewise.
29061         * iconv/Makefile: Likewise.
29062         * nscd/Makefile: Likewise.
29063         * hurd/Makefile: Likewise.
29064         * manual/Makefile: Likewise.
29065         * locale/Makefile: Likewise.
29066         * intl/Makefile: Likewise.
29067         * conform/Makefile: Likewise.
29068         * nss/Makefile: Likewise.
29069         * time/Makefile: Likewise.
29070         * soft-fp/Makefile: Likewise.
29071         * dirent/Makefile: Likewise.
29072         * gmon/Makefile: Likewise.
29073         * po/Makefile: Likewise.
29074         * rt/Makefile: Likewise.
29075         * socket/Makefile: Likewise.
29076         * math/Makefile: Likewise.
29077         * signal/Makefile: Likewise.
29078         * debug/Makefile: Likewise.
29079         * elf/Makefile: Likewise.
29080         * timezone/Makefile: Likewise.
29081         * stdlib/Makefile: Likewise.
29082         * iconvdata/Makefile: Likewise.
29083         * sunrpc/Makefile: Likewise.
29084         * io/Makefile: Likewise.
29085         * argp/Makefile: Likewise.
29086         * inet/Makefile: Likewise.
29087         * hesiod/Makefile: Likewise.
29088         * grp/Makefile: Likewise.
29089         * csu/Makefile: Likewise.
29090         * wctype/Makefile: Likewise.
29091         * crypt/Makefile: Likewise.
29092         * libio/Makefile: Likewise.
29093         * string/Makefile: Likewise.
29094         * nis/Makefile: Likewise.
29095         * resolv/Makefile: Likewise.
29096         * stdio-common/Makefile: Likewise.
29097         * wcsmbs/Makefile: Likewise.
29098         * dlfcn/Makefile: Likewise.
29099         * posix/Makefile: Likewise.
29101         [BZ #6959]
29102         * timezone/Makefile: Don't install timezone files, just the programs
29103         and scripts.
29105 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29107         * nss/databases.def: Add missing gshadow entry.
29109         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29111 2012-03-06  Marek Polacek  <polacek@redhat.com>
29113         [BZ #13726]
29114         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29115         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29116         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29117         * stdio-common/tst-long-dbl-fphex.c: New file.
29119 2012-03-06  David S. Miller  <davem@davemloft.net>
29121         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29122         (set_obp_int): New function.
29123         (get_obp_int): New function.
29124         (__get_clockfreq_via_dev_openprom): Likewise.
29125         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29126         Avoid unused variable warnings on 'val' and use builtin_expect.
29127         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29128         __builtin_expect.
29129         (INLINE_CLONE_SYSCALL): Likewise.
29131 2012-03-05  David S. Miller  <davem@davemloft.net>
29133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29135 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29139         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29140         only for |x| >= 40.
29141         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29143 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29145         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29146         Replace gettimeofday with __vdso_gettimeofday.
29148         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29149         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29150         __vdso_clock_gettime and __vdso_getcpu.
29152         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29153         time with __vdso_time.
29155 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29157         * manual/lang.texi (size_t): Note types to which size_t may be
29158         equivalent with the GNU C Library, but do not describe when
29159         differences between them are significant.
29161 2012-03-05  Andreas Jaeger  <aj@suse.de>
29163         * sysdeps/i386/fpu/libm-test-ulps: Update.
29165 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29167         [BZ #3976]
29168         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29169         (__ieee754_pow): Save and restore rounding mode and use
29170         round-to-nearest for main computations.
29171         * math/libm-test.inc (pow_test_tonearest): New function.
29172         (pow_test_towardzero): Likewise.
29173         (pow_test_downward): Likewise.
29174         (pow_test_upward): Likewise.
29175         (main): Call the new functions.
29176         * sysdeps/i386/fpu/libm-test-ulps: Update.
29177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29179         [BZ #3976]
29180         * math/libm-test.inc (cosh_test_tonearest): New function.
29181         (cosh_test_towardzero): Likewise.
29182         (cosh_test_downward): Likewise.
29183         (cosh_test_upward): Likewise.
29184         (sinh_test_tonearest): Likewise.
29185         (sinh_test_towardzero): Likewise.
29186         (sinh_test_downward): Likewise.
29187         (sinh_test_upward): Likewise.
29188         (main): Call the new functions.
29189         * sysdeps/i386/fpu/libm-test-ulps: Update.
29190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29192 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29194         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29195         default stack guard is set in last bytes.
29196         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29198 2012-03-05  Kees Cook  <keescook@chromium.org>
29200         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29202         [BZ #13656]
29203         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29204         possibly allocate from heap instead of stack.
29205         * stdio-common/bug-vfprintf-nargs.c: New file.
29206         * stdio-common/Makefile (tests): Add nargs overflow test.
29208 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29212 2012-03-03  Marek Polacek  <polacek@redhat.com>
29214         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29215         * math/math_private.h: Likewise.
29216         * stdlib/tst-strtod.c: Likewise.
29217         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29218         * sysdeps/x86_64/bits/atomic.h: Likewise.
29220 2012-03-02  David S. Miller  <davem@davemloft.net>
29222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29226         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29227         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29228         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29229         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29231 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29233         [BZ #13792]
29234         * manual/examples/README: New file, says the example source files
29235         can be used under GPL>=2.
29236         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29237         line containing just "*/".
29238         * manual/examples/add.c: Add copyright header (GPL>=2).
29239         * manual/examples/argp-ex1.c: Likewise.
29240         * manual/examples/argp-ex2.c: Likewise.
29241         * manual/examples/argp-ex3.c: Likewise.
29242         * manual/examples/argp-ex4.c: Likewise.
29243         * manual/examples/atexit.c: Likewise.
29244         * manual/examples/db.c: Likewise.
29245         * manual/examples/dir.c: Likewise.
29246         * manual/examples/dir2.c: Likewise.
29247         * manual/examples/execinfo.c: Likewise.
29248         * manual/examples/filecli.c: Likewise.
29249         * manual/examples/filesrv.c: Likewise.
29250         * manual/examples/fmtmsgexpl.c: Likewise.
29251         * manual/examples/genpass.c: Likewise.
29252         * manual/examples/inetcli.c: Likewise.
29253         * manual/examples/inetsrv.c: Likewise.
29254         * manual/examples/isockad.c: Likewise.
29255         * manual/examples/longopt.c: Likewise.
29256         * manual/examples/memopen.c: Likewise.
29257         * manual/examples/memstrm.c: Likewise.
29258         * manual/examples/mkfsock.c: Likewise.
29259         * manual/examples/mkisock.c: Likewise.
29260         * manual/examples/mygetpass.c: Likewise.
29261         * manual/examples/pipe.c: Likewise.
29262         * manual/examples/popen.c: Likewise.
29263         * manual/examples/rprintf.c: Likewise.
29264         * manual/examples/search.c: Likewise.
29265         * manual/examples/select.c: Likewise.
29266         * manual/examples/setjmp.c: Likewise.
29267         * manual/examples/sigh1.c: Likewise.
29268         * manual/examples/sigusr.c: Likewise.
29269         * manual/examples/stpcpy.c: Likewise.
29270         * manual/examples/strdupa.c: Likewise.
29271         * manual/examples/strftim.c: Likewise.
29272         * manual/examples/strncat.c: Likewise.
29273         * manual/examples/subopt.c: Likewise.
29274         * manual/examples/swapcontext.c: Likewise.
29275         * manual/examples/termios.c: Likewise.
29276         * manual/examples/testopt.c: Likewise.
29277         * manual/examples/testpass.c: Likewise.
29278         * manual/examples/timeval_subtract.c: Likewise.
29280         [BZ #13792]
29281         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29282         function to ...
29283         * manual/timeval_subtract.c.texi: ... here, new file.
29285 2012-03-02  David S. Miller  <davem@davemloft.net>
29287         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29289 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29291         [BZ #3976]
29292         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29293         (__sin): Save and restore rounding mode and use round-to-nearest
29294         for all computations.
29295         (__cos): Save and restore rounding mode and use round-to-nearest
29296         for all computations.
29297         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29298         <fenv.h>.
29299         (tan): Save and restore rounding mode and use round-to-nearest for
29300         all computations.
29301         * math/libm-test.inc (cos_test_tonearest): New function.
29302         (cos_test_towardzero): Likewise.
29303         (cos_test_downward): Likewise.
29304         (cos_test_upward): Likewise.
29305         (sin_test_tonearest): Likewise.
29306         (sin_test_towardzero): Likewise.
29307         (sin_test_downward): Likewise.
29308         (sin_test_upward): Likewise.
29309         (tan_test_tonearest): Likewise.
29310         (tan_test_towardzero): Likewise.
29311         (tan_test_downward): Likewise.
29312         (tan_test_upward): Likewise.
29313         (main): Call the new functions.
29314         * sysdeps/i386/fpu/libm-test-ulps: Update.
29315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29317         [BZ #10135]
29318         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29319         small n, then large n, before computing and testing k+n.
29320         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29321         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29322         Likewise.
29323         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29324         Likewise.
29325         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29326         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29327         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29328         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29329         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29330         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29331         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29332         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29333         * math/libm-test.inc (scalbn_test): Add more tests.
29334         (scalbln_test): Likewise.
29336         * manual/filesys.texi (mode_t): Describe constraints on size and
29337         signedness, not exact equivalence to a particular type.
29338         (ino_t): Likewise.
29339         (ino64_t): Likewise.
29340         (dev_t): Likewise.
29341         (nlink_t): Likewise.
29342         (blkcnt_t): Likewise.
29343         (blkcnt64_t): Likewise.
29344         * manual/llio.texi (off_t): Likewise.
29346         [BZ #3976]
29347         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29348         (__ieee754_exp): Save and restore rounding mode and use
29349         round-to-nearest for all computations.
29350         * math/libm-test.inc (exp_test_tonearest): New function.
29351         (exp_test_towardzero): Likewise.
29352         (exp_test_downward): Likewise.
29353         (exp_test_upward): Likewise.
29354         (main): Call the new functions.
29355         * sysdeps/i386/fpu/libm-test-ulps: Update.
29356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29358 2012-03-01  Chris Demetriou  <cgd@google.com>
29360         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29361         have predictable order.
29363 2012-03-01  David S. Miller  <davem@davemloft.net>
29365         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29367         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29368         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29369         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29370         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29372         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29373         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29374         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29376         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29377         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29378         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29379         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29380         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29384         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29385         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29386         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29388         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29389         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29390         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29391         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29392         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29393         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29394         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29395         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29396         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29397         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29398         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29399         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29400         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29401         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29402         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29403         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29404         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29405         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29406         * sysdeps/sparc/elf/configure: Regenerated.
29408 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29410         * configure.in (AS, LD): Require binutils 2.20 or later.
29411         * configure: Regenerated.
29412         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29413         as required minimum version.
29414         * INSTALL: Regenerated.
29416         [BZ #2541]
29417         [BZ #4108]
29418         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29419         before squaring exponent.
29420         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29421         bottom long double and 27 bits of top long double before squaring
29422         exponent.
29423         * math/libm-test.inc (erfc_test): Add more tests.
29424         * sysdeps/i386/fpu/libm-test-ulps: Update.
29425         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29428 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29430         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29431         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29432         containing bit-fields.
29433         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29434         * soft-fp/single.h (_FP_UNION_S): Likewise.
29435         * soft-fp/double.h (_FP_UNION_D): Likewise.
29437 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29439         [BZ #13786]
29440         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29441         not include ../strcmp.S.
29442         [USE_AS_STRNCASECMP_L]: Likewise.
29443         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29444         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29445         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29446         (__strncasecmp_l_ia32): Define as alias to
29447         __strncasecmp_l_nonascii.
29449         [BZ #5794]
29450         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29451         * sysdeps/i386/fpu/libm-test-ulps: Update.
29452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29454         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29457 2012-02-29  Jeff Law  <law@redhat.com>
29459         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29460         out of bounds read.
29462 2012-02-29  Marek Polacek  <polacek@redhat.com>
29464         [BZ #13706]
29465         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29466         * elf/Makefile: Add rules to run tst-unused-dep.out.
29468 2012-02-28  David S. Miller  <davem@davemloft.net>
29470         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29471         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29472         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29473         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29474         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29475         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29477 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29479         * math/libm-test.inc (llround_test): Move one test from
29480         lround_test.  Use TEST_f_L in moved test.
29481         (lround_test): Move misplaced test to llround_test.  Add testcase
29482         from bug 2561.
29484 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29486         * sysdeps/x86_64/fpu/e_expf.S: New file.
29487         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29489 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29491         [BZ #13637]
29492         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29493         of remain_len that may cause incomplete multi-byte character and
29494         false match.
29495         * posix/bug-regex33.c: New file.
29496         * posix/Makefile (tests): Add bug-regex33.
29498 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29500         * manual/macros.texi: New file.
29501         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29502         * manual/libc.texinfo: Include macros.texi.
29503         * manual/creatute.texi: Likewise.
29504         * manual/install.texi: Likewise.
29505         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29506         @glibcadj{} in references to the GNU C Library.
29507         * manual/charset.texi: Likewise.
29508         * manual/conf.texi: Likewise.
29509         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29510         when not using those macros.
29511         * manual/creature.texi: Likewise.
29512         * manual/crypt.texi: Likewise.
29513         * manual/errno.texi: Likewise.
29514         * manual/filesys.texi: Likewise.
29515         * manual/header.texi: Likewise.
29516         * manual/install.texi: Likewise.
29517         * manual/intro.texi: Likewise.
29518         * manual/io.texi: Likewise.
29519         * manual/job.texi: Likewise.
29520         * manual/lang.texi: Likewise.
29521         * manual/libc.texiinfo: Likewise.
29522         * manual/llio.texi: Likewise.
29523         * manual/locale.texi: Likewise.
29524         * manual/maint.texi: Likewise.
29525         * manual/math.texi: Likewise.
29526         * manual/memory.texi: Likewise.
29527         * manual/message.texi: Likewise.
29528         * manual/nss.texi: Likewise.
29529         * manual/pattern.texi: Likewise.
29530         * manual/process.texi: Likewise.
29531         * manual/resource.texi: Likewise.
29532         * manual/search.texi: Likewise.
29533         * manual/setjmp.texi: Likewise.
29534         * manual/signal.texi: Likewise.
29535         * manual/socket.texi: Likewise.
29536         * manual/startup.texi: Likewise.
29537         * manual/stdio.texi: Likewise.
29538         * manual/string.texi: Likewise.
29539         * manual/sysinfo.texi: Likewise.
29540         * manual/syslog.texi: Likewise.
29541         * manual/terminal.texi: Likewise.
29542         * manual/time.texi: Likewise.
29543         * manual/users.texi: Likewise.
29544         * INSTALL: Regenerated.
29545         * NOTES: Regenerated.
29546         * sysdeps/gnu/errlist.c: Regenerated.
29548 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29550         * include/dirent.h: Include <dirstream.h> before
29551         <dirent/dirent.h>.
29553 2012-02-28  David S. Miller  <davem@davemloft.net>
29555         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29556         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29557         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29558         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29560 2012-02-27  David S. Miller  <davem@davemloft.net>
29562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29564         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29565         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29568         frame pointer instead of stack pointer relative arg slot.
29569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29570         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29571         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29573 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29575         [BZ #3992]
29576         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29578 2012-02-27  David S. Miller  <davem@davemloft.net>
29580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29584         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29585         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29586         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29587         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29589 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29591         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29592         later.  Allow versions 5-9.
29593         * configure: Regenerated.
29594         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29595         required minimum version and 4.6 as recommended version.  Do not
29596         mention bugs in GCC 2.7 and 2.8.
29597         * INSTALL: Regenerated.
29599 2012-02-27  David S. Miller  <davem@davemloft.net>
29601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29605         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29606         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29607         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29608         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29610         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29611         manipulate bits before adding and subtracting TWO112[sx].
29612         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29614 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29616         [BZ #13775]
29617         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29618         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29619         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29620         being in POSIX, because they are in 1003.1-2008.
29622         * rt/tst-aio.c: Include <fcntl.h>.
29623         * rt/tst-aio7.c: Likewise.
29624         * rt/tst-aio64.c: Likewise.
29626         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29628 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29630         * manual/install.texi (--with-headers): Describe headers as
29631         interface headers, not private headers.
29632         (Specific advice for GNU/Linux systems): Describe use of headers
29633         from "make headers_install", not private headers from older
29634         kernels.
29635         * INSTALL: Regenerated.
29636         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29637         Change to 2.6.19.
29638         * sysdeps/unix/sysv/linux/configure: Regenerated.
29640         * manual/llio.texi (fclean): Remove documentation.
29642         * manual/Makefile (libc-texi-generated): New variable.  Include
29643         version.texi.
29644         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29645         $(libc-texi-generated), not duplicated list of files.
29646         (version.texi, stamp-version): New rules.
29647         (realclean): Remove $(libc-texi-generated), not individual files
29648         from that list.  Do not remove dir-add.texinfo.
29649         * manual/libc.texinfo: Comment out uses of edition numbers and
29650         references to printed manual.  Remove last-updated dates.
29651         (EDITION): Comment out.
29652         (ISBN): Likewise.
29653         (VERSION, UPDATED): Remove.
29654         (version.texi): Include.
29656 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29658         * sysdeps/posix/spawni.c: Include <signal.h>.
29659         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29660         * sysdeps/pthread/aio_fsync.c: Likewise.
29662 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29664         * conform/Makefile (tests): Run only when not cross-compiling and
29665         when fast-check is not defined.
29667         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29668         * conform/data/limits.h-data: Fixes for POSIX2008.
29669         * conform/run-conformtest.sh: Run all tests.
29670         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29671         headers.
29672         * include/bits/dlfcn.h: Likewise.
29673         * include/langinfo.h: Likewise.
29674         * include/monetary.h: Likewise.
29675         * include/sys/poll.h: Likewise.
29677         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29678         for __USE_GNU.
29679         * posix/spawn.h: Define __need_sigset_t.
29680         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29681         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29682         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29683         to get sigevent_t only.
29684         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29685         only for __USE_GNU.
29686         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29687         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29688         process_vm_writev only for __USE_GNU.
29689         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29691         * conform/Makefile: For now ignore errors from run-conformtest.
29692         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29693         POSIX to avoid namespace pollution.  Don't prepend headers.
29694         * conform/data/aio.h-data: Fixes for POSIX testing.
29695         * conform/data/fcntl.h-data: Likewise.
29696         * conform/data/glob.h-data: Likewise.
29697         * conform/data/grp.h-data: Likewise.
29698         * conform/data/pthread.h-data: Likewise.
29699         * conform/data/pwd.h-data: Likewise.
29700         * conform/data/signal.h-data: Likewise.
29701         * conform/data/spawn.h-data: Likewise.
29702         * conform/data/stdio.h-data: Likewise.
29703         * conform/data/stdlib.h-data: Likewise.
29704         * conform/data/stropts.h-data: Likewise.
29705         * conform/data/sys/mman.h-data: Likewise.
29706         * conform/data/sys/stat.h-data: Likewise.
29707         * conform/data/sys/types.h-data: Likewise.
29708         * conform/data/sys/wait.h-data: Likewise.
29709         * conform/data/time.h-data: Likewise.
29710         * conform/data/unistd.h-data: Likewise.
29711         * conform/data/utime.h-data: Likewise.
29713         * io/sys/stat.h: fchmod was always in POSIX.
29714         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29715         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29716         * rt/aio.h: Define __need_timespec before including <time.h>.
29717         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29718         struct.  Add forward declaration of pthread_attr_t and use it in
29719         sigevent.
29720         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29721         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29722         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29723         always remove CLK_TCK definition.
29725 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29727         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29729 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29731         * conform/run-conformtest.sh: New file.
29732         * conform/Makefile: Run run-conformtest for tests.
29733         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29734         support.
29736         * conform/data/uchar.h-data: New file.
29737         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29738         * conform/data/arpa/inet.h-data: Likewise.
29739         * conform/data/assert.h-data: Likewise.
29740         * conform/data/complex.h-data: Likewise.
29741         * conform/data/cpio.h-data: Likewise.
29742         * conform/data/ctype.h-data: Likewise.
29743         * conform/data/dirent.h-data: Likewise.
29744         * conform/data/dlfcn.h-data: Likewise.
29745         * conform/data/errno.h-data: Likewise.
29746         * conform/data/fcntl.h-data: Likewise.
29747         * conform/data/float.h-data: Likewise.
29748         * conform/data/fmtmsg.h-data: Likewise.
29749         * conform/data/fnmatch.h-data: Likewise.
29750         * conform/data/ftw.h-data: Likewise.
29751         * conform/data/glob.h-data: Likewise.
29752         * conform/data/grp.h-data: Likewise.
29753         * conform/data/iconv.h-data: Likewise.
29754         * conform/data/inttypes.h-data: Likewise.
29755         * conform/data/langinfo.h-data: Likewise.
29756         * conform/data/libgen.h-data: Likewise.
29757         * conform/data/limits.h-data: Likewise.
29758         * conform/data/locale.h-data: Likewise.
29759         * conform/data/math.h-data: Likewise.
29760         * conform/data/monetary.h-data: Likewise.
29761         * conform/data/mqueue.h-data: Likewise.
29762         * conform/data/ndbm.h-data: Likewise.
29763         * conform/data/net/if.h-data: Likewise.
29764         * conform/data/netdb.h-data: Likewise.
29765         * conform/data/netinet/in.h-data: Likewise.
29766         * conform/data/nl_types.h-data: Likewise.
29767         * conform/data/poll.h-data: Likewise.
29768         * conform/data/pthread.h-data: Likewise.
29769         * conform/data/pwd.h-data: Likewise.
29770         * conform/data/regex.h-data: Likewise.
29771         * conform/data/sched.h-data: Likewise.
29772         * conform/data/search.h-data: Likewise.
29773         * conform/data/semaphore.h-data: Likewise.
29774         * conform/data/setjmp.h-data: Likewise.
29775         * conform/data/signal.h-data: Likewise.
29776         * conform/data/spawn.h-data: Likewise.
29777         * conform/data/stdarg.h-data: Likewise.
29778         * conform/data/stdio.h-data: Likewise.
29779         * conform/data/stdlib.h-data: Likewise.
29780         * conform/data/string.h-data: Likewise.
29781         * conform/data/strings.h-data: Likewise.
29782         * conform/data/stropts.h-data: Likewise.
29783         * conform/data/sys/ipc.h-data: Likewise.
29784         * conform/data/sys/mman.h-data: Likewise.
29785         * conform/data/sys/msg.h-data: Likewise.
29786         * conform/data/sys/resource.h-data: Likewise.
29787         * conform/data/sys/select.h-data: Likewise.
29788         * conform/data/sys/sem.h-data: Likewise.
29789         * conform/data/sys/shm.h-data: Likewise.
29790         * conform/data/sys/socket.h-data: Likewise.
29791         * conform/data/sys/stat.h-data: Likewise.
29792         * conform/data/sys/statvfs.h-data: Likewise.
29793         * conform/data/sys/time.h-data: Likewise.
29794         * conform/data/sys/timeb.h-data: Likewise.
29795         * conform/data/sys/times.h-data: Likewise.
29796         * conform/data/sys/types.h-data: Likewise.
29797         * conform/data/sys/uio.h-data: Likewise.
29798         * conform/data/sys/un.h-data: Likewise.
29799         * conform/data/sys/utsname.h-data: Likewise.
29800         * conform/data/sys/wait.h-data: Likewise.
29801         * conform/data/syslog.h-data: Likewise.
29802         * conform/data/tar.h-data: Likewise.
29803         * conform/data/termios.h-data: Likewise.
29804         * conform/data/utime.h-data: Likewise.
29805         * conform/data/utmpx.h-data: Likewise.
29806         * conform/data/varargs.h-data: Likewise.
29807         * conform/data/wchar.h-data: Likewise.
29808         * conform/data/wctype.h-data: Likewise.
29809         * conform/data/wordexp.h-data: Likewise.
29811         * include/stropts.h: New file.
29812         * include/uchar.h: New file.
29813         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29814         * include/assert.h: Likewise.
29815         * include/ctype.h: Likewise.
29816         * include/dirent.h: Likewise.
29817         * include/dlfcn.h: Likewise.
29818         * include/fcntl.h: Likewise.
29819         * include/fnmatch.h: Likewise.
29820         * include/glob.h: Likewise.
29821         * include/grp.h: Likewise.
29822         * include/libio.h: Likewise.
29823         * include/locale.h: Likewise.
29824         * include/math.h: Likewise.
29825         * include/net/if.h: Likewise.
29826         * include/netdb.h: Likewise.
29827         * include/netinet/in.h: Likewise.
29828         * include/pthread.h: Likewise.
29829         * include/pwd.h: Likewise.
29830         * include/regex.h: Likewise.
29831         * include/sched.h: Likewise.
29832         * include/search.h: Likewise.
29833         * include/setjmp.h: Likewise.
29834         * include/signal.h: Likewise.
29835         * include/stdio.h: Likewise.
29836         * include/stdlib.h: Likewise.
29837         * include/string.h: Likewise.
29838         * include/sys/cdefs.h: Likewise.
29839         * include/sys/mman.h: Likewise.
29840         * include/sys/msg.h: Likewise.
29841         * include/sys/resource.h: Likewise.
29842         * include/sys/select.h: Likewise.
29843         * include/sys/socket.h: Likewise.
29844         * include/sys/stat.h: Likewise.
29845         * include/sys/statvfs.h: Likewise.
29846         * include/sys/time.h: Likewise.
29847         * include/sys/times.h: Likewise.
29848         * include/sys/uio.h: Likewise.
29849         * include/sys/utsname.h: Likewise.
29850         * include/sys/wait.h: Likewise.
29851         * include/termios.h: Likewise.
29852         * include/time.h: Likewise.
29853         * include/ulimit.h: Likewise.
29854         * include/unistd.h: Likewise.
29855         * include/utime.h: Likewise.
29856         * include/wchar.h: Likewise.
29857         * include/wctype.h: Likewise.
29858         * include/wordexp.h: Likewise.
29860         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29862         * time/time.h: TIME_UTC must be a macro.
29863         Make timespec_get available for ISO C11 only as well.
29865 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29867         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29868         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29870 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29872         * configure.in: Use -o not -a in test for unsupported multi-arch.
29874 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29876         * manual/texinfo.tex: Update to version 2012-01-19.16.
29878 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29880         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29882 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29884         [BZ #13738]
29885         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29886         * manual/fdl-1.3.texi: New file.
29887         * manual/fdl-1.1.texi: File removed.
29889         [BZ #13738]
29890         * manual/libc.texinfo (FDL_VERSION): New @set.
29891         Use it for mention of FDL in cover text.
29892         (Documentation License): Use it in @include file name.
29894 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29895             Roland McGrath  <roland@hack.frob.com>
29897         [BZ #5461]
29898         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29899         not LONG_LONG_MAX and LONG_LONG_MIN.
29900         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29901         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29902         name.
29903         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29905 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29907         [BZ #2547]
29908         [BZ #11365]
29909         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29910         manipulate bits before adding and subtracting TWO23[sx].
29911         * math/libm-test.inc (nearbyint_test): Add more tests.
29913 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29915         [BZ #2548]
29916         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29917         bits before adding and subtracting TWO23[sx].
29918         * math/libm-test.inc (rint_test): Add more tests.
29919         (rint_test_tonearest): Likewise.
29920         (rint_test_towardzero): Likewise.
29921         (rint_test_downward): Likewise.
29922         (rint_test_upward: Likewise.
29924 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29926         [BZ #10110]
29927         * include/stdc-predef.h: New file.  Extracted from features.h.
29928         * include/features.h: Include stdc-predef.h.
29929         * Makefile (headers): Add stdc-predef.h.
29930         * CONFORMANCE (Compiler limitations): Update.
29932 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29934         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29936 2012-02-21  David S. Miller  <davem@davemloft.net>
29938         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29939         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29941 2012-02-20  David S. Miller  <davem@davemloft.net>
29943         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29944         using a normal save/restore sequence, rather than allocating a
29945         dummy stack frame just to store a frame pointer and restore.
29946         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29948 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29950         * manual/install.texi: Fix stray word in line-wrapped comment.
29952 2012-02-20  David S. Miller  <davem@davemloft.net>
29954         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29955         both binutils and gcc support GOTDATA.
29957         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29958         "rd %pc" in the PIC register setup sequences.
29960         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29961         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29962         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29963         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29964         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29965         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29966         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29967         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29968         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29969         (SYSCALL_ERROR_HANDLER): Likewise.
29970         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29971         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29972         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29973         (SYSCALL_ERROR_HANDLER): Likewise.
29975         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29976         (HAVE_GCC_GOTDATA): New.
29977         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29978         relocation support in both binutils and gcc.
29979         * sysdeps/sparc/elf/configure: Regenerate.
29981         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29982         * sysdeps/sparc/sparc32/elf/configure: Delete.
29983         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29984         * sysdeps/sparc/sparc64/elf/configure: Delete.
29985         * sysdeps/sparc/elf/configure.in: New file.
29986         * sysdeps/sparc/elf/configure: Generate.
29988         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29989         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29990         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29991         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29992         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29994 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29996         * manual/install.texi: Do not mention specific glibc version
29997         numbers.
29998         * manual/libc.texinfo (VERSION, UPDATED): Update.
29999         (@copying): Use @copyright{} and range of years.
30001 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30003         [BZ #13695]
30004         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30005         [crti.S not in sysdirs] (generated): Do not append.
30006         [crti.S not in sysdirs] (omit-deps): Likewise.
30007         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30008         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30009         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30010         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30011         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30012         Likewise.
30013         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30014         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30015         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30016         * csu/defs.awk: Remove file.
30017         * sysdeps/generic/initfini.c: Likewise.
30018         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30019         variable.
30020         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30021         Likewise.
30023 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30025         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30026         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30027         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30028         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30029         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30030         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30031         <bits/epoll.h>.
30032         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30033         (__EPOLL_PACKED): Define to empty if not defined by
30034         <bits/epoll.h>.
30035         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30036         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30037         bits/epoll.h.
30039 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30041         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30042         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30043         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30044         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30045         <bits/timerfd.h>.
30046         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30047         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30048         bits/timerfd.h.
30050 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30052         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30053         in C locale.
30054         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30055         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30056         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30059 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30061         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30062         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30064 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30066         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30067         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30068         defined.
30069         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30070         Likewise.
30071         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30072         entry for 2.16.
30074 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30076         * math/w_acos.c: Use non-signaling floating-point comparisons.
30077         * math/w_acosf.c: Likewise.
30078         * math/w_acosh.c: Likewise.
30079         * math/w_acoshf.c: Likewise.
30080         * math/w_acoshl.c: Likewise.
30081         * math/w_acosl.c: Likewise.
30082         * math/w_asin.c: Likewise.
30083         * math/w_asinf.c: Likewise.
30084         * math/w_asinl.c: Likewise.
30085         * math/w_atanh.c: Likewise.
30086         * math/w_atanhf.c: Likewise.
30087         * math/w_atanhl.c: Likewise.
30088         * math/w_exp2.c: Likewise.
30089         * math/w_exp2f.c: Likewise.
30090         * math/w_exp2l.c: Likewise.
30091         * math/w_j0.c: Likewise.
30092         * math/w_j0f.c: Likewise.
30093         * math/w_j0l.c: Likewise.
30094         * math/w_j1.c: Likewise.
30095         * math/w_j1f.c: Likewise.
30096         * math/w_j1l.c: Likewise.
30097         * math/w_jn.c: Likewise.
30098         * math/w_jnf.c: Likewise.
30099         * math/w_log.c: Likewise.
30100         * math/w_log10.c: Likewise.
30101         * math/w_log10f.c: Likewise.
30102         * math/w_log10l.c: Likewise.
30103         * math/w_log2.c: Likewise.
30104         * math/w_log2f.c: Likewise.
30105         * math/w_log2l.c: Likewise.
30106         * math/w_logf.c: Likewise.
30107         * math/w_logl.c: Likewise.
30108         * math/w_sqrt.c: Likewise.
30109         * math/w_sqrtf.c: Likewise.
30110         * math/w_sqrtl.c: Likewise.
30111         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30112         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30113         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30114         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30115         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30117 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30119         [BZ #9739]
30120         * manual/string.texi (strnlen): Use correct parameter name in
30121         equivalent expression.
30123 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30125         [BZ #11174]
30126         * manual/users.texi (seteuid): Consistently use neweuid for
30127         argument name.
30129 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30131         [BZ #13704]
30132         * manual/nss.texi (Services in the NSS configuration): Correct
30133         list of services in example configuration file.
30135 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30137         [BZ #11322]
30138         * manual/arith.texi: Remove statements about negative zero
30139         behaving identically to zero.
30141 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30143         [BZ #5993]
30144         * manual/install.texi: Do not document upgrading from libc5.
30146 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30148         [BZ #4596]
30149         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30151 2012-02-18  David S. Miller  <davem@davemloft.net>
30153         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30154         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30155         %o7 across the call.
30156         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30157         instead.
30158         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30159         SETUP_PIC_REG_LEAF.
30160         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30161         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30162         * sysdeps/sparc/crtn.S: Likewise.
30164 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30166         * aout/Makefile: Remove.
30168 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30170         [BZ #13058]
30171         * manual/examples/argp-ex1.c (main): Format definition in GNU
30172         style.
30173         * manual/examples/argp-ex2.c (main): Likewise.
30174         * manual/examples/argp-ex3.c (main): Likewise.
30175         * manual/examples/argp-ex4.c (main): Likewise.
30176         * manual/examples/longopt.c (main): Use new-style prototype
30177         definition.
30178         * manual/examples/strncat.c (main): Specify return type and use
30179         (void) for arguments.
30180         * manual/examples/subopt.c (main): Use char **argv argument.
30182 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30184         [BZ #5077]
30185         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30186         rounding modes.
30188 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30190         [BZ #6907]
30191         * manual/string.texi (strchr): Change when strchrnul is
30192         recommended.
30194 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30196         [BZ #174]
30197         * manual/locale.texi (setlocale): Document LOCPATH.
30199 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30201         [BZ #10210]
30202         * manual/process.texi (execle): Move @dots{} before last argument.
30204 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30206         [BZ #12047]
30207         * manual/charset.texi (Generic Charset Conversion): Fix typo
30208         (LC_TYPE -> LC_CTYPE).
30210 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30212         [BZ #5805]
30213         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30214         (scalbnf): Likewise.
30215         (scalbnl): Likewise.
30216         (scalbln): Likewise.
30217         (scalblnf): Likewise.
30218         (scalblnl): Likewise.
30219         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30220         (vwarnx): Likewise.
30221         (verr): Likewise.
30222         (verrx): Likewise.
30223         * manual/filesys.texi (telldir): Use braces around return type.
30224         * manual/llio.texi (mmap): Add space after comma.
30225         (mmap64): Likewise.
30226         * manual/math.texi (jn): Use @var{} on parameter names.
30227         (jnf): Likewise.
30228         (jnl): Likewise.
30229         (yn): Likewise.
30230         (ynf): Likewise.
30231         (ynl): Likewise.
30232         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30233         line.
30234         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30235         "...".
30236         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30237         (sched_get_priority_max): Likewise.
30238         * manual/signal.texi (sigvec): Add space after comma.
30239         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30240         names.
30241         (if_indextoname): Likewise.
30242         (if_freenameindex): Likewise.
30243         (sendto): Use ',' instead of '.' in prototype.
30244         * manual/startup.texi (syscall): Use @dots{} instead of literal
30245         "...".
30246         * manual/stdio.texi (__fpending): Separate initial words of
30247         paragraph from @deftypefun line.
30248         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30249         "...".
30250         (vsyslog): Use @var{} on parameter names.
30251         * manual/terminal.texi (stty): Use @var{} on parameter names.
30252         * manual/users.texi (getutmp): Use @var{} on parameter names.
30253         (getutmpx): Likewise.
30255 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30257         [BZ #6884]
30258         * manual/stdio.texi (fopen): Fix typos in description of
30259         ",ccs=STRING".
30261 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30263         [BZ #4026]
30264         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30265         get clock_id definition.
30267 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30269         [BZ #4822]
30270         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30271         (madvise): Cast every argument to void on its own.
30273 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30275         [BZ #9902]
30276         * manual/startup.texi (Exit Status): Fix typo.
30278 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30280         [BZ #10140]
30281         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30282         * manual/examples/argp-ex2.c: Likewise.
30283         * manual/examples/argp-ex3.c: Likewise.
30285 2012-02-16  Richard Henderson  <rth@redhat.com>
30287         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30288         * sysdeps/s390/s390-32/initfini.c: Remove.
30289         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30290         * sysdeps/s390/s390-64/initfini.c: Remove.
30292 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30294         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30295         compiler output for sysdeps/generic/initfini.c.
30296         * sysdeps/sh/elf/initfini.c: Remove file.
30298 2012-02-16  David S. Miller  <davem@davemloft.net>
30300         [BZ #11494]
30301         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30303         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30304         * sysdeps/sparc/crti.S: New file.
30305         * sysdeps/sparc/crtn.S: New file.
30306         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30307         * sysdeps/sparc/sparc64/Makefile: Likewise.
30309 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30311         [BZ #3335]
30312         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30314 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30316         [BZ #4822]
30317         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30319         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30320         (write, read, close): Likewise.
30321         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30323 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30325         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30326         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30327         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30328         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30329         <bits/signalfd.h>.
30330         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30331         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30332         bits/signalfd.h.
30334 2012-02-14  Marek Polacek  <polacek@redhat.com>
30336         * sysdeps/x86_64/crti.S: New file.
30337         * sysdeps/x86_64/crtn.S: New file.
30338         * sysdeps/x86_64/elf/initfini.c: Remove file.
30340 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30342         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30343         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30344         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30345         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30346         <bits/inotify.h>.
30347         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30349         bits/inotify.h.
30351 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30353         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30354         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30355         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30356         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30357         <bits/eventfd.h>.
30358         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30360         bits/eventfd.h.
30362 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30364         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30365         __feraiseexcept instead of feraiseexcept.
30367         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30368         nanosleep invocations.
30369         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30370         strings, and add error checking for a nanosleep invocations.
30372 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30374         Replace FSF snail mail address with URLs, as per GNU coding standards.
30375         Most of the snail mail addresses were wrong anyway, and omitting
30376         them makes the source code easier to maintain.  Almost all of the
30377         changes are to license notices and to locale LC_IDENTIFICATION
30378         addresses, except for this one:
30379         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30380         not its snail mail address.
30382 2012-02-09  Richard Henderson  <rth@twiddle.net>
30384         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30385         of kernel-features.h.
30387         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30389 2012-02-08  Marek Polacek  <polacek@redhat.com>
30391         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30392         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30393         * sysdeps/gnu/_G_config.h: Likewise.
30394         * sysdeps/generic/_G_config.h: Likewise.
30396 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30398         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30399         tests.
30400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30402         * sysdeps/powerpc/powerpc32/crti.S: New file.
30403         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30404         * sysdeps/powerpc/powerpc64/crti.S: New file.
30405         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30407         * Makeconfig (have-initfini): Don't set.
30408         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30409         * configure.in (nopic_initfini): Don't substitute.
30410         * config.h.in (HAVE_INITFINI): Don't #undef.
30411         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30412         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30414 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30416         Support crti.S and crtn.S provided directly by architectures.
30417         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30418         [crti.S in sysdirs] (omit-deps): Likewise.
30419         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30420         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30421         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30422         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30423         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30424         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30425         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30426         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30427         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30428         compiler output for sysdeps/generic/initfini.c.
30429         * sysdeps/i386/elf/Makefile: Remove file.
30430         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30432 2012-02-07  Marek Polacek  <polacek@redhat.com>
30434         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30435         * sysdeps/gnu/_G_config.h: Likewise.
30436         * sysdeps/mach/hurd/_G_config.h: Likewise.
30438 2012-02-07  Marek Polacek  <polacek@redhat.com>
30440         * math/Makefile (tests): Add tst-CMPLX2.
30441         * math/tst-CMPLX2.c: New file.
30443 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30445         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30447         * math/libm-test.inc (jn_test): Add missing L suffix.
30449 2012-02-06  Marek Polacek  <polacek@redhat.com>
30451         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30452         * sysdeps/i386/fpu/e_powf.S: Likewise.
30453         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30454         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30455         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30456         * sysdeps/i386/fpu/e_pow.S: Likewise.
30457         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30458         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30459         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30460         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30461         * sysdeps/i386/fpu/e_log2.S: Likewise.
30462         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30463         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30464         * sysdeps/i386/fpu/e_powl.S: Likewise.
30465         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30466         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30467         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30468         * sysdeps/i386/fpu/e_logl.S: Likewise.
30469         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30470         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30471         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30472         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30473         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30474         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30475         * sysdeps/i386/fpu/e_log.S: Likewise.
30476         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30477         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30478         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30479         * sysdeps/i386/fpu/e_logf.S: Likewise.
30480         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30481         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30482         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30483         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30484         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30485         * sysdeps/i386/fpu/e_log10.S: Likewise.
30486         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30487         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30488         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30489         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30490         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30491         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30492         * sysdeps/i386/asm-syntax.h: Likewise.
30493         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30494         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30495         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30496         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30497         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30498         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30499         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30500         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30501         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30502         * sysdeps/powerpc/sysdep.h: Likewise.
30503         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30504         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30506 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30508         [BZ #411]
30509         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30511 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30513         * sysdeps/i386/sysdep.h: Include <features.h>.
30514         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30515         version.
30517 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30519         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30520         Define.
30521         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30522         LOAD_PIC_REG_STR.
30524 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30526         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30527         (SETUP_PIC_REG): Use GET_PC_THUNK.
30528         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30529         macro.
30531 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30533         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30534         for non-PIC compilation.
30535         (SETUP_PIC_REG): Add .p2align directive.
30536         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30537         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30538         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30539         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30540         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30541         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30542         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30543         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30544         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30545         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30546         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30547         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30548         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30549         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30550         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30551         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30552         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30553         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30554         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30555         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30556         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30557         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30558         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30559         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30560         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30561         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30562         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30563         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30564         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30565         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30566         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30567         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30568         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30569         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30570         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30571         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30572         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30573         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30574         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30575         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30576         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30578 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30580         * math/tst-CMPLX.c: Include <stdio.h>.
30582 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30584         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30585         float.
30586         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30587         * sysdeps/sparc/bits/mathdef.h: Likewise.
30589 2012-01-31  Marek Polacek  <polacek@redhat.com>
30591         * libio/libio.h: Don't define _PARAMS.
30592         * locale/programs/config.h: Don't define PARAMS.
30593         * stdlib/strtol_l.c: Likewise.
30594         (__strtol_l): Remove PARAMS from the prototype.
30596 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30598         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30599         names.  Just use the correct names.  Remove unnecessary wrapper
30600         functions.
30601         * malloc/arena.c: Likewise.
30602         * malloc/hooks.c: Likewise.
30604         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30605         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30606         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30608 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30610         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30611         into tail calls.
30612         (update_get_addr): New function.
30613         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30614         GET_ADDR_MODULE parameter.
30616 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30618         * crypt/cert.c: Remove __STDC__ conditionals.
30619         * crypt/crypt-entry.c: Likewise.
30620         * crypt/crypt_util.c: Likewise.
30621         * libio/filedoalloc.c: Likewise.
30622         * libio/fileops.c: Likewise.
30623         * libio/genops.c: Likewise.
30624         * libio/iofclose.c: Likewise.
30625         * libio/iofdopen.c: Likewise.
30626         * libio/iofopen.c: Likewise.
30627         * libio/iofopen64.c: Likewise.
30628         * libio/iogetdelim.c: Likewise.
30629         * libio/iopopen.c: Likewise.
30630         * libio/obprintf.c: Likewise.
30631         * libio/oldfileops.c: Likewise.
30632         * libio/oldiofclose.c: Likewise.
30633         * libio/oldiofdopen.c: Likewise.
30634         * libio/oldiofopen.c: Likewise.
30635         * libio/oldiopopen.c: Likewise.
30636         * libio/wfiledoalloc.c: Likewise.
30637         * libio/wgenops.c: Likewise.
30638         * locale/programs/xmalloc.c: Likewise.
30639         * misc/syslog.c: Likewise.
30640         * stdio-common/xbug.c: Likewise.
30641         * string/memchr.c: Likewise.
30642         * string/memcmp.c: Likewise.
30643         * string/memrchr.c: Likewise.
30644         * string/rawmemchr.c: Likewise.
30645         * sysdeps/posix/getcwd.c: Likewise.
30646         * time/strftime_l.c: Likewise.
30648 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30650         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30651         * config.make.in (config-cflags-sse2avx): Define.
30652         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30653         Fix typo.
30655 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30657         * scripts/config.guess: Update from upstream config git repository.
30658         * scripts/config.sub: Likewise.
30660 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30662         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30663         (EM_NUM): Update.
30664         (R_TILEPRO_*, R_TILEGX_*): New macros.
30666         * scripts/firstversions.awk: Fix bug in version range handling.
30668         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30670         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30672         * include/sys/epoll.h: New file.
30673         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30674         libc_hidden_def.
30676 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30678         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30679         Avoid unnecessary __WORDSIZE == 64 test.
30680         (fmaxf): Use VEX format if possible.
30681         (fmax): Likewise.
30682         (fminf): Likewise.
30683         (fmin): Likewise.
30685         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30686         * math/math_private.h: Remove libc_fegetround* and
30687         libc_fesetround*.
30688         * sysdeps/i386/configure.in: Check for -msse2avx.
30689         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30690         also if SSE2AVX is defined.
30691         Remove libc_fegetround* and libc_fesetround*.
30692         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30693         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30694         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30695         of HAS_YMM_USABLE.
30696         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30697         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30698         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30699         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30700         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30702         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30704 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30706         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30707         size is not set.
30708         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30710 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30712         [BZ #13618]
30713         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30714         relocation.
30715         * Makeconfig (libm): Define.
30716         * elf/Makefile: Add rules to build and run tst-relsort1.
30717         * elf/tst-relsort1.c: New file.
30718         * elf/tst-relsort1mod1.c: New file.
30719         * elf/tst-relsort1mod2.c: New file.
30721 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30723         * math/s_ldexp.c: Remove __STDC__ conditionals.
30724         * math/s_ldexpf.c: Likewise.
30725         * math/s_ldexpl.c: Likewise.
30726         * math/s_nextafter.c: Likewise.
30727         * math/s_nexttowardf.c: Likewise.
30728         * math/s_significand.c: Likewise.
30729         * math/s_significandf.c: Likewise.
30730         * math/s_significandl.c: Likewise.
30731         * math/w_jnl.c: Likewise.
30732         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30733         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30734         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30735         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30736         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30737         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30738         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30739         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30740         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30741         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30742         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30743         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30744         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30745         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30746         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30747         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30748         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30749         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30750         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30751         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30752         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30753         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30754         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30755         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30756         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30757         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30758         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30759         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30760         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30761         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30762         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30763         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30764         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30765         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30766         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30767         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30768         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30769         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30770         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30771         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30772         * sysdeps/ieee754/k_standard.c: Likewise.
30773         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30774         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30775         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30776         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30777         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30778         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30779         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30780         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30781         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30782         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30783         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30784         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30785         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30786         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30787         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30788         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30789         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30790         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30791         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30792         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30793         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30794         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30795         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30796         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30797         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30798         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30799         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30800         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30801         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30802         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30803         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30804         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30805         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30806         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30807         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30808         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30809         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30810         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30811         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30812         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30813         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30815         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30816         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30817         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30818         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30819         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30820         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30821         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30822         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30823         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30824         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30825         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30826         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30827         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30828         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30829         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30830         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30831         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30832         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30833         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30834         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30835         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30836         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30837         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30838         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30839         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30840         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30841         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30842         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30843         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30844         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30845         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30846         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30847         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30848         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30849         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30850         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30851         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30852         * sysdeps/ieee754/s_matherr.c: Likewise.
30853         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30854         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30855         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30856         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30858 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30860         * crypt/md5.h: Remove __STDC__ conditionals.
30861         * libio/libioP.h: Likewise.
30862         * locale/programs/config.h: Likewise.
30863         * sysdeps/generic/sysdep.h: Likewise.
30864         * sysdeps/i386/asm-syntax.h: Likewise.
30865         * sysdeps/s390/asm-syntax.h: Likewise.
30866         * sysdeps/unix/sysdep.h: Likewise.
30867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30870 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30872         * libio/libio.h: Remove __STDC__ conditionals.
30873         * malloc/obstack.h: Likewise.
30874         * math/complex.h: Likewise.
30875         * math/math.h: Likewise.
30876         * sysdeps/generic/_G_config.h: Likewise.
30877         * sysdeps/gnu/_G_config.h: Likewise.
30878         * sysdeps/mach/hurd/_G_config.h: Likewise.
30879         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30880         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30881         * sysdeps/sparc/bits/mathdef.h: Likewise.
30883 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30885         [BZ #13583]
30886         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30887         Clean up HAS_* macros.
30888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30889         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30890         possible.
30891         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30892         HAS_AVX.
30893         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30894         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30895         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30896         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30897         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30899 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30901         * elf/tst-unique3.cc (gets): Remove declaration.
30902         * elf/tst-unique3lib.cc (gets): Likewise.
30903         * elf/tst-unique3lib2.cc (gets): Likewise.
30904         * elf/tst-unique4.cc (gets): Likewise.
30906 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30908         * include/stdio.h: Add C++ protection.  Add gets declarations and
30909         definitions.
30910         * debug/tst-chk1.c: Don't declare gets here.
30911         * stdio-common/tst-gets.c: Likewise.
30913 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30915         * posix/glob: Remove directory.
30917 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30919         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30921 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30923         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30924         of the non-standard EPFNOSUPPORT.
30926 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30928         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30929         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30930         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30932 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30934         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30936 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30938         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30939         transient errors.
30940         * nscd/grpcache.c (cache_addgr): Likewise.
30941         * nscd/hstcache.c (cache_addhst): Likewise.
30942         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30943         * nscd/pwdcache.c (cache_addpw): Likewise.
30944         * nscd/servicescache.c (cache_addserv): Likewise.
30946 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30948         * malloc/malloc.c: Various cleanups.
30949         * malloc/hooks.c: Likewise.
30951         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30952         * stdlib/bug-fmtmsg1.c: New file.
30954         * stdlib/fmtmsg.c (init): Add missing unlock.
30955         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30957 2012-01-12  Marek Polacek  <polacek@redhat.com>
30959         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30960         and _GNU_SOURCE.
30962 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30964         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30965         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30966         macro to ensure uniqueness of label name.
30967         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30968         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30970 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30972         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30974         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30975         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30976         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30977         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30979 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30981         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30983         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30984         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30985         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30987         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30989         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30990         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30991         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30992         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30994         * math/bits/math-finite.h: Add ldexp support.
30996 2012-01-10  Marek Polacek  <polacek@redhat.com>
30998         * locale/programs/localedef.h (show_archive_content): Add noreturn
30999         attribute.
31001 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31003         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31005 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31007         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31009         * io/Makefile (headers): Add bits/poll2.h.
31011 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31014         typo #include statement.
31016 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31018         * include/sys/cdefs.h: Define __attribute_alloc_size.
31019         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31020         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31021         * elf/pldd.c: Likewise.
31022         * iconv/iconv_charmap.c: Likewise.
31023         * iconv/iconvconfig.c: Likewise.
31024         * iconv/strtab.c: Likewise.
31025         * locale/programs/locale.c: Likewise.
31026         * locale/programs/localedef.h: Likewise.
31027         * locale/programs/simple-hash.c: Likewise.
31028         * nscd/nscd.h: Likewise.
31029         * nss/makedb.c: Likewise.
31030         * sysdeps/generic/ldconfig.h: Likewise.
31031         * locale/programs/localedef.c: Remove xmalloc prototype.
31032         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31034 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31036         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31037         appropriate.
31039 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31041         * math/Makefile (tests): Add tst-CMPLX.
31042         * math/tst-CMPLX.c: New file.
31044         * math/complex.h (CMPLXL): Fix typo.
31046         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31047         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31048         GLIBC_2.16.
31049         * debug/tst-chk1.c: Add poll and ppoll tests.
31050         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31051         * include/sys/poll.h: Add hidden proto for ppoll.
31052         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31053         * sysdeps/mach/hurd/ppoll.c: Likewise.
31054         * io/ppoll.c: Likewise.
31055         * debug/poll_chk.c: New file.
31056         * debug/ppoll_chk.c: New file.
31057         * include/bits/poll2.h: New file.
31058         * io/bits/poll2.h: New file.
31060         [BZ #1350]
31061         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31063         * configure.in: static is always set to yes.  Remove.
31064         * config.make.in: Don't set build-static.
31065         * Makeconfig: Remove use of build-static.
31066         * dlfcn/Makefile: Likewise.
31067         * elf/Makefile: Likewise.
31068         * math/Makefile: Likewise.
31069         * misc/Makefile: Likewise.
31070         * nptl/Makefile: Likewise.
31071         * sysdeps/mach/hurd/Makefile: Likewise.
31073         * configure.in: PWD_P is not used anymore.
31074         * config.make.in: Remove PWD_P entry.
31076         * configure.in: Remove last remnants of RANLIB.
31077         No need to check for signed size_t anymore.
31078         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31079         and IA-64.
31080         Remove __builtin_expect test because we require at least gcc 3.4.
31081         * aclocal.m4: Likewise.
31083         * wcsmbs/mbrtoc16.c: Implement using towc function.
31084         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31085         * wcsmbs/wcsmbsload.c: Likewise.
31086         * iconv/gconv_simple.c: Likewise.
31087         * iconv/gconv_int.h: Likewise.
31088         * iconv/gconv_builtin.h: Likewise.
31089         * iconv/iconv_prog.c: Remove CHAR16 handling.
31091         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31093         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31095         * configure.in: Remove --with-elf and --enable-bounded options.
31096         Dont set base_machine for ia64.  More non-ELF conditions removed.
31097         Remove testing and setting of leading underscore information.
31098         * config.make.in (build-bounded): Set to no.
31099         * config.h.in: Remove NO_UNDERSCORES entry.
31100         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31101         them.
31102         * csu/start.c: Remove !NO_UNDERSCORE code.
31103         * locale/localeinfo.h: Likewise.
31104         * sysdeps/generic/machine-gmon.h: Likewise.
31105         * sysdeps/generic/sysdep.h: Likewise.
31106         * sysdeps/i386/sysdep.h: Likewise.
31107         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31108         * sysdeps/mach/sysdep.h: Likewise.
31109         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31110         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31111         * sysdeps/sh/sysdep.h: Likewise.
31112         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31113         * sysdeps/unix/i386/sysdep.S: Likewise.
31114         * sysdeps/unix/sparc/start.c: Likewise.
31115         * sysdeps/unix/sparc/sysdep.S: Likewise.
31116         * sysdeps/unix/sparc/sysdep.h: Likewise.
31117         * sysdeps/unix/start.c: Likewise.
31118         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31119         * sysdeps/x86_64/sysdep.h: Likewise.
31121 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31123         [BZ #13553]
31124         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31125         for non-gcc.
31126         * argp/argp-fmtstream.h: Use const instead __const.
31127         * argp/argp.h: Likewise.
31128         * assert/assert.h: Likewise.
31129         * bits/fenv.h: Likewise.
31130         * bits/sched.h: Likewise.
31131         * bits/sigset.h: Likewise.
31132         * bits/sigthread.h: Likewise.
31133         * catgets/nl_types.h: Likewise.
31134         * conform/data/pthread.h-data: Likewise.
31135         * crypt/crypt-private.h: Likewise.
31136         * crypt/crypt.h: Likewise.
31137         * crypt/crypt_util.c: Likewise.
31138         * ctype/ctype.h: Likewise.
31139         * debug/execinfo.h: Likewise.
31140         * debug/mbsnrtowcs_chk.c: Likewise.
31141         * debug/mbsrtowcs_chk.c: Likewise.
31142         * debug/wcsnrtombs_chk.c: Likewise.
31143         * debug/wcsrtombs_chk.c: Likewise.
31144         * debug/wcstombs_chk.c: Likewise.
31145         * dirent/dirent.h: Likewise.
31146         * dlfcn/dlfcn.h: Likewise.
31147         * elf/neededtest4.c: Likewise.
31148         * grp/grp.h: Likewise.
31149         * gshadow/gshadow.h: Likewise.
31150         * iconv/gconv.h: Likewise.
31151         * iconv/gconv_int.h: Likewise.
31152         * iconv/gconv_simple.c: Likewise.
31153         * iconv/iconv.h: Likewise.
31154         * iconv/loop.c: Likewise.
31155         * iconv/skeleton.c: Likewise.
31156         * include/aio.h: Likewise.
31157         * include/aliases.h: Likewise.
31158         * include/argz.h: Likewise.
31159         * include/arpa/inet.h: Likewise.
31160         * include/assert.h: Likewise.
31161         * include/dirent.h: Likewise.
31162         * include/dlfcn.h: Likewise.
31163         * include/execinfo.h: Likewise.
31164         * include/fcntl.h: Likewise.
31165         * include/fenv.h: Likewise.
31166         * include/glob.h: Likewise.
31167         * include/grp.h: Likewise.
31168         * include/libintl.h: Likewise.
31169         * include/mntent.h: Likewise.
31170         * include/netdb.h: Likewise.
31171         * include/pwd.h: Likewise.
31172         * include/rpc/netdb.h: Likewise.
31173         * include/sched.h: Likewise.
31174         * include/search.h: Likewise.
31175         * include/shadow.h: Likewise.
31176         * include/signal.h: Likewise.
31177         * include/stdio.h: Likewise.
31178         * include/stdlib.h: Likewise.
31179         * include/string.h: Likewise.
31180         * include/sys/socket.h: Likewise.
31181         * include/sys/stat.h: Likewise.
31182         * include/sys/statfs.h: Likewise.
31183         * include/sys/statvfs.h: Likewise.
31184         * include/sys/syslog.h: Likewise.
31185         * include/sys/time.h: Likewise.
31186         * include/sys/uio.h: Likewise.
31187         * include/time.h: Likewise.
31188         * include/unistd.h: Likewise.
31189         * include/utmp.h: Likewise.
31190         * include/wchar.h: Likewise.
31191         * include/wctype.h: Likewise.
31192         * inet/aliases.h: Likewise.
31193         * inet/arpa/inet.h: Likewise.
31194         * inet/netinet/ether.h: Likewise.
31195         * inet/netinet/in.h: Likewise.
31196         * intl/libintl.h: Likewise.
31197         * io/bits/fcntl2.h: Likewise.
31198         * io/fcntl.h: Likewise.
31199         * io/ftw.h: Likewise.
31200         * io/sys/poll.h: Likewise.
31201         * io/sys/stat.h: Likewise.
31202         * io/sys/statfs.h: Likewise.
31203         * io/sys/statvfs.h: Likewise.
31204         * io/utime.h: Likewise.
31205         * libio/bits/stdio.h: Likewise.
31206         * libio/bits/stdio2.h: Likewise.
31207         * libio/libio.h: Likewise.
31208         * libio/libioP.h: Likewise.
31209         * libio/stdio.h: Likewise.
31210         * locale/lc-ctype.c: Likewise.
31211         * locale/locale.h: Likewise.
31212         * login/utmp.h: Likewise.
31213         * malloc/arena.c: Likewise.
31214         * malloc/malloc.c: Likewise.
31215         * malloc/malloc.h: Likewise.
31216         * malloc/mcheck.c: Likewise.
31217         * malloc/mtrace.c: Likewise.
31218         * math/bits/mathcalls.h: Likewise.
31219         * math/fenv.h: Likewise.
31220         * math/math_private.h: Likewise.
31221         * misc/bits/error.h: Likewise.
31222         * misc/bits/syslog.h: Likewise.
31223         * misc/err.h: Likewise.
31224         * misc/error.h: Likewise.
31225         * misc/fstab.h: Likewise.
31226         * misc/mntent.h: Likewise.
31227         * misc/regexp.h: Likewise.
31228         * misc/search.h: Likewise.
31229         * misc/sgtty.h: Likewise.
31230         * misc/sys/mman.h: Likewise.
31231         * misc/sys/syslog.h: Likewise.
31232         * misc/sys/uio.h: Likewise.
31233         * misc/sys/xattr.h: Likewise.
31234         * misc/ttyent.h: Likewise.
31235         * nis/rpcsvc/ypclnt.h: Likewise.
31236         * nss/nss.h: Likewise.
31237         * posix/bits/unistd.h: Likewise.
31238         * posix/fnmatch.h: Likewise.
31239         * posix/glob.h: Likewise.
31240         * posix/sched.h: Likewise.
31241         * posix/spawn.h: Likewise.
31242         * posix/sys/wait.h: Likewise.
31243         * posix/unistd.h: Likewise.
31244         * posix/wordexp.h: Likewise.
31245         * pwd/pwd.h: Likewise.
31246         * resolv/netdb.h: Likewise.
31247         * resource/sys/resource.h: Likewise.
31248         * rt/aio.h: Likewise.
31249         * rt/bits/mqueue2.h: Likewise.
31250         * rt/mqueue.h: Likewise.
31251         * shadow/shadow.h: Likewise.
31252         * signal/signal.h: Likewise.
31253         * socket/send.c: Likewise.
31254         * socket/sendto.c: Likewise.
31255         * socket/sys/socket.h: Likewise.
31256         * stdio-common/printf.h: Likewise.
31257         * stdlib/bits/stdlib.h: Likewise.
31258         * stdlib/fmtmsg.h: Likewise.
31259         * stdlib/monetary.h: Likewise.
31260         * stdlib/stdlib.h: Likewise.
31261         * stdlib/ucontext.h: Likewise.
31262         * streams/stropts.h: Likewise.
31263         * string/argz.h: Likewise.
31264         * string/bits/string2.h: Likewise.
31265         * string/string.h: Likewise.
31266         * string/strings.h: Likewise.
31267         * sunrpc/rpc/auth.h: Likewise.
31268         * sunrpc/rpc/auth_des.h: Likewise.
31269         * sunrpc/rpc/clnt.h: Likewise.
31270         * sunrpc/rpc/netdb.h: Likewise.
31271         * sunrpc/rpc/pmap_clnt.h: Likewise.
31272         * sunrpc/rpc/xdr.h: Likewise.
31273         * sysdeps/generic/inttypes.h: Likewise.
31274         * sysdeps/generic/net/if.h: Likewise.
31275         * sysdeps/generic/sys/swap.h: Likewise.
31276         * sysdeps/gnu/net/if.h: Likewise.
31277         * sysdeps/gnu/utmpx.h: Likewise.
31278         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31279         * sysdeps/i386/i486/bits/string.h: Likewise.
31280         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31281         * sysdeps/s390/bits/string.h: Likewise.
31282         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31283         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31284         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31285         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31286         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31287         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31288         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31289         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31290         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31291         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31292         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31293         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31294         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31295         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31296         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31297         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31298         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31299         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31300         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31301         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31302         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31303         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31304         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31305         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31306         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31307         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31308         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31309         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31310         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31311         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31312         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31313         * sysvipc/sys/ipc.h: Likewise.
31314         * sysvipc/sys/msg.h: Likewise.
31315         * sysvipc/sys/sem.h: Likewise.
31316         * sysvipc/sys/shm.h: Likewise.
31317         * termios/termios.h: Likewise.
31318         * time/sys/time.h: Likewise.
31319         * time/time.h: Likewise.
31320         * wcsmbs/bits/wchar2.h: Likewise.
31321         * wcsmbs/uchar.h: Likewise.
31322         * wcsmbs/wchar.h: Likewise.
31323         * wctype/wctype.h: Likewise.
31325         [BZ #13551]
31326         * Makeconfig: Remove all but ELF support including AIX support.
31327         * Makerules: Likewise.
31328         * config.h.in: Likewise.
31329         * config.make.in: Likewise.
31330         * configure: Likewise.
31331         * configure.in: Likewise.
31332         * csu/Makefile: Likewise.
31333         * csu/version.c: Likewise.
31334         * debug/Makefile: Likewise.
31335         * dlfcn/Makefile: Likewise.
31336         * elf/Makefile: Likewise.
31337         * extra-lib.mk: Likewise.
31338         * iconv/Makefile: Likewise.
31339         * include/libc-symbols.h: Likewise.
31340         * include/shlib-compat.h: Likewise.
31341         * resolv/Makefile: Likewise.
31342         * resolv/res_libc.c: Likewise.
31343         * rt/Makefile: Likewise.
31344         * sysdeps/i386/asm-syntax.h: Likewise.
31345         * sysdeps/i386/sysdep.h: Likewise.
31346         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31347         * sysdeps/mach/sysdep.h: Likewise.
31348         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31349         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31350         * sysdeps/s390/asm-syntax.h: Likewise.
31351         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31352         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31353         * sysdeps/sh/sysdep.h: Likewise.
31354         * sysdeps/unix/sparc/sysdep.h: Likewise.
31355         * sysdeps/wordsize-32/divdi3.c: Likewise.
31356         * sysdeps/x86_64/sysdep.h: Likewise.
31358         * argp/Versions: Remove _argp_unlock_xxx.
31360         [BZ #13559]
31361         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31362         * abilist/libBrokenLocale.abilist: Likewise.
31363         * abilist/libanl.abilist: Likewise.
31364         * abilist/libc.abilist: Likewise.
31365         * abilist/libcrypt.abilist: Likewise.
31366         * abilist/libdl.abilist: Likewise.
31367         * abilist/libm.abilist: Likewise.
31368         * abilist/libnsl.abilist: Likewise.
31369         * abilist/libpthread.abilist: Likewise.
31370         * abilist/libresolv.abilist: Likewise.
31371         * abilist/librt.abilist: Likewise.
31372         * abilist/libthread_db.abilist: Likewise.
31373         * abilist/libutil.abilist: Likewise.
31374         * abilist/libnss_db.abilist: New file.
31376         * scripts/abilist.awk: Add support for indirect functions.
31378         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31380         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31382         * shlib-versions: Remove entries for ports architectures.
31384         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31385         files in ports.
31386         * elf/stackguard-macros.h: Remove support for IA-64.
31387         * elf/tst-auditmod1.c: Likewise.
31388         * sysdeps/generic/ldsodefs.h: Likewise.
31390         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31391         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31392         configure files.
31394         [BZ #13552]
31395         * configure.in: Remove --enable-omitfp support.
31396         * FAQ.in: Adjust.
31397         * config.make.in: Likewise.
31398         * Makeconfig: Likewise.
31399         * manual/install.texi: Likewise.
31401         In case anyone cares, the IA-64 architecture could move to ports.
31402         * sysdeps/ia64/*: Removed.
31403         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31404         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31406         [BZ #13555]
31407         * configure.in: Remove entries for unsupported architectures.
31409         [BZ #13533]
31410         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31411         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31412         routines.
31413         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31414         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31415         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31416         fall back to using wcrtomb.
31417         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31418         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31419         renaming.
31420         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31421         * wcsmbs/tst-c16c32-1.c: New file.
31423         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31424         local variable.
31426         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31428         * elf/tst-unique3.cc: Add explicit declaration of gets.
31429         * elf/tst-unique3lib.cc: Likewise.
31430         * elf/tst-unique3lib2.cc: Likewise.
31431         * elf/tst-unique4.cc: Likewise.
31433         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31435 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31437         [BZ #13566]
31438         * assert/assert.h (static_assert): Don't define for C++.
31439         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31440         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31442 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31444         * iconv/loop.c (single loop): Fix assertion in storing of
31445         remaining bytes.
31447         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31449 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31451         * posix/getconf.c: Update copyright year.
31452         * nss/getent.c: Likewise.
31453         * nss/makedb.c: Likewise.
31454         * iconv/iconvconfig.c: Likewise.
31455         * iconv/iconv_prog.c: Likewise.
31456         * elf/ldconfig.c: Likewise.
31457         * elf/pldd.c: Likewise.
31458         * elf/sotruss.ksh: Likewise.
31459         * catgets/gencat.c: Likewise.
31460         * csu/version.c: Likewise.
31461         * elf/ldd.bash.in: Likewise.
31462         * elf/sprof.c (print_version): Likewise.
31463         * locale/programs/locale.c: Likewise.
31464         * locale/programs/localedef.c: Likewise.
31465         * login/programs/pt_chown.c: Likewise.
31466         * nscd/nscd.c (print_version): Likewise.
31467         * debug/xtrace.sh: Likewise.
31468         * malloc/memusage.sh: Likewise.
31469         * malloc/mtrace.pl: Likewise.
31470         * debug/catchsegv.sh: Likewise.
31472 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31474         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31475         pure attribute.
31477 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31479         [BZ #13533]
31480         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31481         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31482         transformations.
31483         * iconv/gconv_int.h: Likewise.
31484         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31485         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31486         from libc for GLIBC_2.16.
31487         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31488         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31489         * wcsmbs/uchar.h: Really define mbstate_t.
31490         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31491         * wcsmbs/c16rtomb.c: New file.
31492         * wcsmbs/mbrtoc16.c: New file.
31493         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31494         for C/POSIX locale.
31495         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31496         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31498         * wcsmbs/wchar.h: Add missing __restrict.
31500 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31502         [BZ #13532]
31503         * time/Makefile (routines): Add timespec_get.
31504         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31505         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31506         timespec for ISO C11.
31507         * time/timespec_get.c: New file.
31508         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31509         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31511         [BZ #13531]
31512         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31513         * stdlib/stdlib.h: Declare aligned_alloc.
31514         * Versions.def: Add GLIBC_2.16 for libc.
31515         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31517         [BZ 13527]
31518         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31519         ISO C11.
31521         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31522         code.
31524         [BZ #13528]
31525         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31527         [BZ #13529]
31528         * assert/assert.h (static_assert): Define.
31530         * version.h: Update for 2.16 development version.
31532         [BZ #13526]
31533         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31534         _ISOC11_SOURCE.
31536         * version.h (RELEASE): Bump for 2.15 release.
31537         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31539         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31540         Patch by Marek Polacek <mpolacek@redhat.com>.
31542         * bits/byteswap.h: Protect long long constants with __extension__.
31543         * sysdeps/i386/bits/byteswap.h: Likewise.
31544         * sysdeps/ia64/bits/byteswap.h: Likewise.
31545         * sysdeps/s390/bits/byteswap.h: Likewise.
31546         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31548 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31550         [BZ #13540]
31551         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31552         destination buffer.
31553         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31555 2011-12-23  Marek Polacek  <polacek@redhat.com>
31557         * elf/dl-addr.c (determine_info): Add inline keyword.
31558         * elf/tst-auditmod4b.c (check_avx): Likewise.
31559         * elf/tst-auditmod6b.c (check_avx): Likewise.
31560         * elf/tst-auditmod6c.c (check_avx): Likewise.
31561         * elf/tst-auditmod7b.c (check_avx): Likewise.
31563 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31565         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31566         !__SSE_MATH__.
31568 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31570         [BZ #13540]
31571         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31572         processing for last bytes.
31574 2011-08-06  Bruno Haible  <bruno@clisp.org>
31576         [BZ #13061]
31577         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31578         U+0385, not to U+1FEE.
31580         [BZ #13062]
31581         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31582         entry for U+00A5 U+0301.
31584 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31586         [BZ #13166]
31587         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31588         buffer for the output is too small.
31590         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31591         optimization.
31593         [BZ #13185]
31594         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31595         SSE flags if possible.
31597 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31599         [BZ #13540]
31600         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31601         processing for last bytes.
31603 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31605         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31606         (syscall-list-default-options, syscall-list-default-condition)
31607         (syscall-list-includes): Define.
31608         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31609         list of ABIs and options and #if conditions for each ABI.  Do not
31610         handle common syscalls between ABIs specially.
31611         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31612         Remove.
31613         (syscall-list-variants, syscall-list-32bit-options)
31614         (syscall-list-32bit-condition, syscall-list-64bit-options)
31615         (syscall-list-64bit-condition): Define.
31616         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31617         (syscall-list-variants, syscall-list-32bit-options)
31618         (syscall-list-32bit-condition, syscall-list-64bit-options)
31619         (syscall-list-64bit-condition): Define.
31620         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31621         Remove.
31622         (syscall-list-variants, syscall-list-32bit-options)
31623         (syscall-list-32bit-condition, syscall-list-64bit-options)
31624         (syscall-list-64bit-condition): Define.
31625         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31626         Remove.
31627         (syscall-list-variants, syscall-list-32bit-options)
31628         (syscall-list-32bit-condition, syscall-list-64bit-options)
31629         (syscall-list-64bit-condition): Define.
31631 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31633         * locale/iso-639.def: Add brx entry.
31635         [BZ #13328]
31636         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31637         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31639         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31640         __feraiseexcept_renamed.
31642 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31644         [BZ #13538]
31645         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31646         EPOLLET with unsigned values.
31647         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31648         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31650         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31651         to large cancellation.
31652         * math/s_cacoshf.c: Likewise.
31653         * math/s_cacoshl.c: Likewise.
31655 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31657         [BZ #13305]
31658         [BZ #12786]
31659         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31660         * math/s_cacoshf.c: Likewise.
31661         * math/s_cacoshl.c: Likewise.
31663 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31665         [BZ #13439]
31666         * iconv/gconv.h: Define __GCONV_SWAP.
31667         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31668         * iconvdata/utf-16.c: Likewise.
31669         * iconvdata/utf-32.c: Likewise.
31671 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31673         [BZ #13524]
31674         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31675         numerator after shifting it by one limb.
31677 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31679         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31680         under [__USE_EXTERN_INLINES].
31682 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31684         [BZ #13446]
31685         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31687 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31689         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31690         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31691         optimized code.
31692         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31693         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31694         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31695         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31696         for strncasecmp/strncasecmp_l compilation.
31697         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31698         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31700 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31702         [BZ #13484]
31703         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31704         of __asm__.
31706 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31708         [BZ #13506]
31709         * time/tzfile.c (__tzfile_read): Check values from file header.
31711 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31713         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31714         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31715         * powerpc/powerpc32/dl-start.S: Likewise.
31716         * powerpc/powerpc32/elf/start.S: Likewise.
31717         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31718         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31719         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31720         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31721         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31722         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31723         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31724         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31725         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31726         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31727         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31728         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31729         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31730         * powerpc/powerpc32/memset.S: Likewise.
31731         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31732         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31733         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31734         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31735         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31736         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31737         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31738         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31739         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31740         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31741         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31742         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31743         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31745 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31747         * math/libm-test.inc: Added more nearbyint tests.
31748         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31749         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31750         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31751         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31753 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31755         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31756         FD_CLOEXEC.
31758 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31760         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31761         Add wcscpy-ssse3 wcscpy-c.
31762         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31763         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31764         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31765         * sysdeps/x86_64/wcschr.S: New file.
31766         * sysdeps/x86_64/wcsrchr.S: New file.
31767         * string/test-strcmp.c: Remove checking of wcscmp function for
31768         wrong alignments.
31769         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31770         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31771         wcsrchr-sse2 wcsrchr-c.
31772         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31773         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31774         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31775         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31776         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31777         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31778         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31779         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31780         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31781         * wcsmbc/wcschr.c (WCSCHR): New macro.
31783 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31785         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31786         * wcsmbs/test-wcsrchr.c: New file.
31787         * string/test-strrchr.c: Add wcsrchr support.
31788         (WIDE): New macro.
31789         * wcsmbs/test-wcscpy.c: New file.
31790         * string/test-strcpy.c: Add wcscpy support.
31791         (WIDE): New macro.
31793 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31795         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31796         the inner loop.
31798 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31800         [BZ #13472]
31801         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31803 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31805         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31806         Minor optimizations.
31808         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31809         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31810         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31812 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31814         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31815         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31816         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31817         for gcc to avoid warnings.
31818         * inet/Makefile (tests): Add tst-checks.
31819         * inet/tst-checks.c: New file.
31821         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31822         warning.
31824         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31825         __wmemcmp_sse2.
31827         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31828         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31830         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31832 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31834         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31835         problem.
31837         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31839 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31841         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31842         conditional on GCC version.
31843         (__arch_compare_and_exchange_val_8_acq)
31844         (__arch_compare_and_exchange_val_16_acq)
31845         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31846         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31847         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31849 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31851         * sysdeps/sh/backtrace.c: New file.
31853 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31855         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31856         parenthesis.
31858 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31860         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31861         falling back to utime.
31863 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31865         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31866         expectations for float.
31868 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31870         * locale/weight.h (findidx): Add parameter len.
31871         * locale/weightwc.h (findidx): Likewise.
31872         * posix/fnmatch_loop.c (FCT): Adjust caller.
31873         * posix/regcomp.c (build_equiv_class): Likewise.
31874         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31875         * posix/regexec.c (check_node_accept_bytes): Likewise.
31876         * string/strcoll_l.c (STRCOLL): Likewise.
31877         * string/strxfrm_l.c (STRXFRM): Likewise.
31879 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31881         * Makefile.in: Remove CVSOPT handling.
31882         * configure.in: Remove use of AC_REVISION.
31883         * iconvdata/Makefile (distribute): No need to filter out CVS.
31884         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31885         handling.
31887 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31889         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31890         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31891         [USE_AS_STRNCASECMP_L]: Likewise.
31892         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31893         NO_TLS_DIRECT_SEG_REFS.
31894         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31895         Fix argument offsets for non-PIC.
31896         [USE_AS_STRNCASECMP_L]: Likewise.
31897         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31898         NO_TLS_DIRECT_SEG_REFS.
31900 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31902         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31903         O_CLOEXEC.
31904         * locale/loadlocale.c (_nl_load_locale): Likewise.
31906 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31908         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31909         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31910         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31911         (SYSCALL_GETTIME): Set errno on error.
31913         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31914         count references to noai6ai_cached.
31916 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31918         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31920         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31921         FD_CLOEXEC for /proc/self/maps.
31923         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31924         FD_CLOEXEC for /proc/meminfo.
31926         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31927         gai.conf.
31929         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31930         FD_CLOEXEC for given file.
31932         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31934         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31935         FD_CLOEXEC for /etc/hosts.
31936         (_gethtent): Likewise.
31938         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31940         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31941         cancellation and set FD_CLOEXEC for /etc/netgroup.
31943         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31944         reading /etc/publickey.
31946         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31947         allow cancellation when reading /etc/group.
31949         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31950         cancellation.
31951         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31953         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31954         when using data file.
31956         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31958         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31959         (write_nis_obj): Use "c" and "e" in fopen.
31961         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31963         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31965         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31967         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31969         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31970         locale.alias.
31972         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31974         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31976         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31978         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31979         file parsing and set FD_CLOEXEC.
31981 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31983         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31985 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31987         * malloc/arena.c (arena_get2): Don't call reused_arena when
31988         _int_new_arena failed.
31990 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31992         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31993         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31994         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31995         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31996         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31997         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31998         to compile strcasecmp and strncasecmp.
31999         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32000         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32002         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32004 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32006         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32007         locale-defines.sym to gen-as-const-headers.
32008         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32009         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32010         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32011         to compile strcasecmp and strncasecmp.
32012         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32013         strcasecmp_l and strncasecmp_l.
32014         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32015         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32016         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32017         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32018         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32019         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32020         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32021         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32022         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32023         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32024         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32026 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32028         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32029         result of SYSDEP_GETTIME_CPU to retval.
32030         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32031         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32033         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32034         variable.
32036         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32037         mantissa words.
32038         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32040         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32041         from unused variable.
32043         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32044         DWARF definitions.
32045         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32046         for assembling.
32048         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32049         over namespaces.
32051         * sunrpc/rpc_prot.c (rejected): Fix case value.
32053         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32054         unsigned long long int to avoid warnings in shift.
32056         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32057         of use of trans.
32058         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32059         variable tmp.
32061         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32062         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32063         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32065         * nis/nis_table.c (nis_list): Use variable of correct type for
32066         result of __follow_path call.
32068 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32070         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32071         of math functions ceil, trunc, floor, round, and sqrt, when
32072         avaliable on the platform.
32073         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32074         name clash.
32075         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32076         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32077         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32079 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32081         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32082         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32084 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32086         * include/unistd.h: Fix __readlink return type.
32087         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32089 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32091         * stdlib/ucontext.h: Undo last change for makecontext.
32093 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32095         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32097         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32098         * setjmp/setjmp.h: Mark functions as non-leaf.
32099         * setjmp/bits/setjmp2.h: Likewise.
32100         * stdlib/ucontext.h: Likewise.
32102 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32104         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32105         (reused_arena): Don't check arena limit.
32106         (arena_get2): Atomically check arena limit.
32108 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32110         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32111         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32113         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32114         instructions.
32116 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32118         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32119         handler when locking.
32121         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32122         Fix size of allocated buffer.
32124 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32126         [BZ #10103]
32127         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32128         declarations for long double functions.
32129         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32131         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32133 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32135         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32136         installed.
32138         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32139         is disabled.
32141 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32143         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32145 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32147         * include/alloca.h (stackinfo_alloca_round): Define.
32148         (extend_alloca): Use it.
32149         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32150         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32151         here.
32153         * scripts/check-local-headers.sh: Ignore libaudit.h.
32155         * nscd/Makefile (extra-objs): Make recursively expanded.
32157 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32159         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32160         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32162         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32163         * posix/tst-rfc3484-2.c: Likewise.
32164         * posix/tst-rfc3484-3.c: Likewise.
32166         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32167         process_vm_writev.
32168         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32169         process_vm_writev.
32170         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32171         process_vm_writev from libc using GLIBC_2.15 version.
32173         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32175 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32177         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32178         stack usage.
32180 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32182         [BZ #13367]
32183         * nss/getent.c (initgroups_keys): Show error message in case no group
32184         names are given.
32186         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32187         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32188         __bump_nl_timestamp.
32189         * nscd/connections (nscd_init): When host database is served open
32190         netlink socket and request notification about configuration changes.
32191         (main_loop_poll): Track netlink file descriptor and bump timestamp
32192         in case data becomes available.
32193         (main_loop_epoll): Likewise.
32194         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32195         (database_pers_head): Add extra_data fileds.
32196         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32197         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32198         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32199         Adjust caller.
32200         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32201         in6ai data, call __free_in6ai.
32202         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32203         Add -DHAVE_NETLINK.
32204         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32205         interface information.  Reuse previous data if netlink timestamp
32206         is not changed.
32207         (__bump_nl_timestamp): New function.
32208         (__free_in6ai): New function.
32210 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32212         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32213         close_not_cancel_no_status here.
32214         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32216 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32218         [BZ #13276]
32219         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32220         return value.
32222         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32223         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32224         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32226 2011-07-03  Andreas Jaeger  <aj@suse.de>
32228         [BZ #10709]
32229         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32230         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32231         * math/libm-test.inc (sin_test): Add test case.
32233 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32235         [BZ #13337]
32236         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32237         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32239         * elf/chroot_canon.c (chroot_canon): Cleanups.
32241         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32243         [BZ #13335]
32244         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32245         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32247         * string/test-strchr.c: Make usable for strchrnul testing.
32248         * string/test-strchrnul.c: New file.
32249         * string/Makefile (strop-tests): Add strchrnul.
32251         * po/it.po: Update from translation team.
32252         * po/es.po: Likewise.
32254 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32256         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32257         the three constants needed as parameters.  Drop the others.
32258         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32259         __m128i_strloadu_tolower.
32260         Create and initialize variable zero and use it in all the places
32261         where _mm_setzero_si128 was used.
32263         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32264         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32265         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32266         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32267         anymore.
32268         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32269         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32270         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32271         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32272         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32273         __mpranred, __mptan.
32274         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32275         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32276         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32277         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32278         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32279         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32280         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32281         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32282         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32284 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32286         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32287         redefine if SHARED.
32288         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32290         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32291         wide char related routines to wcsmbs subdir.
32293 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32295         [BZ #13344]
32296         * misc/sys/cdefs.h (__THROWNL): Define.
32297         * posix/unistd.h: Use __THREADNL instead of __THREAD
32298         for memory synchronization functions.
32300 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32302         [BZ #13349]
32303         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32304         doesn't exist.
32305         * manual/stdio.texi (Obstack Streams): Node removed.
32307 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32309         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32310         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32311         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32313         * math/math_private.h (math_force_eval): Allow non-addressable
32314         arguments.
32315         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32317 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32319         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32320         file is not needed.
32322         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32323         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32324         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32325         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32326         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32327         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32328         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32329         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32330         Add AVX variants.
32331         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32332         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32333         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32334         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32335         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32336         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32337         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32338         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32339         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32340         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32341         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32342         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32343         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32344         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32345         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32346         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32347         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32348         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32349         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32351         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32352         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32354         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32355         place.  Use VEX encoding when compiling for AVX.
32357 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32359         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32360         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32362         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32364 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32366         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32367         useless if() expression.
32368         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32369         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32370         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32371         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32372         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32373         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32374         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32375         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32376         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32377         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32378         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32379         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32380         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32381         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32382         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32383         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32384         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32385         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32386         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32388         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32390 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32392         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32393         condition.
32394         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32396 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32398         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32399         .text section.  Avoid duplicate constants.
32400         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32401         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32402         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32403         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32404         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32405         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32406         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32407         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32408         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32409         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32410         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32411         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32412         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32413         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32414         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32415         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32416         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32417         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32418         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32419         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32420         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32421         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32422         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32423         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32424         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32425         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32426         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32427         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32428         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32429         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32430         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32431         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32432         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32433         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32434         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32435         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32436         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32437         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32438         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32439         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32440         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32441         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32442         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32443         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32444         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32446 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32448         * sysdeps/x86_64/dla.h: Move to ...
32449         * sysdeps/x86_64/fpu/dla.h: ...here.
32450         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32451         situations.  Use __builtin_fma only for gcc 4.6 and up.
32453         * config.make.in: Add have-mfma4 entry.
32454         * configure.in: Substitute libc_cv_cc_fma4.
32455         * math/Makefile (dbl-only-routines): Add sincostab.
32456         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32457         Use __sincostab not sincos.
32458         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32459         name is a macro.
32460         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32462         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32463         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32464         using __copysign.
32465         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32466         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32467         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32468         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32469         and __inv.
32470         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32471         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32472         __copysign.
32473         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32474         define aliases when function name is a macro.
32475         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32476         sysdeps/ieee754/dbl-64/sincos.tbl.
32477         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32478         fma4-enabled routines.
32479         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32480         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32481         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32482         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32483         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32484         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32485         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32486         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32487         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32488         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32489         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32490         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32491         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32492         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32493         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32494         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32495         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32496         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32497         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32498         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32499         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32500         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32501         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32502         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32503         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32504         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32505         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32506         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32507         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32508         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32510         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32511         rename.
32512         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32515         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32516         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32517         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32518         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32519         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32521 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32523         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32525 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32527         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32529         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32530         prediction.
32531         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32533         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32534         Remove unused variable magic_bits.
32535         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32537         * string/strnlen.c: Define and use STRNLEN macro.
32538         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32539         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32540         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32541         * wcsmbs/wcslen.c: Define and use WCSLEN.
32542         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32543         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32544         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32545         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32546         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32547         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32548         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32550 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32553         strnlen-sse2-no-bsf.
32554         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32555         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32556         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32557         Add strnlen support.
32558         (USE_AS_STRNLEN): New macro.
32559         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32560         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32561         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32562         * sysdeps/x86_64/wcslen.S: New file.
32564 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32566         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32567         XMM-moves are used for copying on small sizes.
32569 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32571         * wcsmbs/Makefile (strop-tests): Add wcschr.
32572         * wcsmbs/test-wcschr.c: New file.
32573         * string/test-strchr.c: Update.
32574         Add wcschr support.
32575         (WIDE): New macro.
32577 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32579         * wcsmbs/Makefile (strop-tests): Add wcslen.
32580         * wcsmbs/test-wcslen.c: New file.
32581         * string/test-strlen.c: Update.
32582         Add wcslen support.
32583         (WIDE): New macro.
32585 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32587         * po/it.po: Update from translation team.
32589 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32591         * sysdeps/x86_64/wcscmp.S: Update.
32592         Fix wrong comparison semantics.
32593         wcscmp shall use signed comparison not unsigned.
32594         Don't use substraction to avoid overflow bug.
32595         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32596         * wcsmbc/wcscmp.c: Likewise.
32597         * string/test-strcmp.c: Likewise.
32598         Add new tests to check cases with negative values.
32600 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32602         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32603         * sysdeps/x86_64/dla.h: ...here.  New file.
32604         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32605         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32606         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32608         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32609         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32610         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32611         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32612         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32614 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32616         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32617         __ynl_finite aliases.
32619 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32623         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32624         define DLA_FMA.
32625         [DLA_FMA] (EMULV): Use DLA_FMA.
32626         [DLA_FMA] (MUL12): Use EMULV.
32627         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32628         that are not needed.
32629         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32630         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32631         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32632         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32633         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32634         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32635         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32637 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32639         * math/s_nan.c: Undef __nan.
32640         * math/s_nanf.c: Undef __nanf.
32641         * math/s_nanl.c: Undef __nanl.
32642         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32643         "math_private.h".
32645 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32647         * math/s_catan.c: Add branch predictions.
32648         * math/s_catanf.c: Likewise.
32649         * math/s_catanh.c: Likewise.
32650         * math/s_catanhf.c: Likewise.
32651         * math/s_catanhl.c: Likewise.
32652         * math/s_catanl.c: Likewise.
32653         * math/s_cexp.c: Likewise.
32654         * math/s_cexpf.c: Likewise.
32655         * math/s_cexpl.c: Likewise.
32656         * math/s_clog.c: Likewise.
32657         * math/s_clog10.c: Likewise.
32658         * math/s_clog10f.c: Likewise.
32659         * math/s_clog10l.c: Likewise.
32660         * math/s_clogf.c: Likewise.
32661         * math/s_clogl.c: Likewise.
32662         * math/s_csqrt.c: Likewise.
32663         * math/s_csqrtf.c: Likewise.
32664         * math/s_csqrtl.c: Likewise.
32665         * math/s_ctanf.c: Likewise.
32666         * math/s_ctanh.c: Likewise.
32667         * math/s_ctanhf.c: Likewise.
32668         * math/s_ctanhl.c: Likewise.
32669         * math/s_ctanl.c: Likewise.
32671         * math/math_private.h: Define __nan, __nanf, __nanl.
32672         * math/s_cacosh.c: Include <math_private.h>.
32673         * math/s_cacoshl.c: Likewise.
32674         * math/s_casinh.c: Likewise.
32675         * math/s_casinhf.c: Likewise.
32676         * math/s_casinhl.c: Likewise.
32677         * math/s_ccos.c: Rely entire on ccosh.
32678         * math/s_ccosf.c: Rely entire on ccoshf.
32679         * math/s_ccosl.c: Rely entirely on ccoshl.
32680         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32681         Remove tests for FE_INVALID.
32682         * math/s_ccoshf.c: Likewise.
32683         * math/s_ccoshl.c: Likewise.
32684         * math/s_csin.c: Likewise.
32685         * math/s_csinf.c: Likewise.
32686         * math/s_csinh.c Likewise.
32687         * math/s_csinhf.c: Likewise.
32688         * math/s_csinhl.c: Likewise.
32689         * math/s_csinl.c: Likewise.
32690         * math/s_ctan.c: Likewise.
32691         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32692         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32693         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32695 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32698         compilation problems.
32700         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32701         __builtin_expect.
32703 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32705         * sysdeps/i386/configure.in: Test for -mfma4 option.
32706         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32707         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32708         COMMON_CPUID_INDEX_80000001.
32709         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32710         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32711         use it if FMA3 is not supported.
32712         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32714         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32715         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32717 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32719         [BZ #12892]
32720         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32721         it would create a cycle with a link time dependency.
32723 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32725         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32726         instruction.
32727         * string/Makefile (strop-tests): Add rawmemchr.
32728         * string/test-rawmemchr.c: New file.
32730         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32731         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32732         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32733         when compiling str{,n}casecmp and when AVX is available.  Hook up
32734         new optimized code in initializers.
32736 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32738         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32739         __feraiseexcept instead of feraiseexcept.
32741 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32743         * math/math_private.h: Define defaults for libc_fetestexcept and
32744         libc_feupdateenv.
32745         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32746         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32747         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32748         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32749         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32750         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32751         libc_fetestexcept and libc_feupdateenv.
32753         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32754         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32755         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32756         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32757         libc_feholdexcept_setround.
32759         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32760         Add s_nearbyint-c and s_nearbyintf-c.
32761         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32762         nearbyintf inlines.
32763         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32764         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32765         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32766         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32768         * math/math_private.h: Define defaults for libc_fegetround,
32769         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32770         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32771         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32772         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32773         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32774         standard functions.
32775         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32776         Remove comments and hacks for old compiler versions.
32777         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32778         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32779         libc_feholdexceptl.
32781 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32783         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32784         (__feraiseexcept_renamed): Add __NTH.
32785         (feraiseexcept): Add __NTH.  Rename local variables to fix
32786         namespace violations.
32788 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32790         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32792         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32794         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32795         recently added interfaces.
32796         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32798         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32799         about macro parameter expansion.
32801         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32802         __NO_MATH_INLINES is defined.  Cleanups.
32804         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32805         and __floorf is target has SSE4.1.
32806         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32807         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32808         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32809         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32811         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32812         name.
32813         (floorf): Likewise.
32815         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32817 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32819         * misc/sys/cdefs.h: Fix last change.
32821         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32822         database lookup.
32824 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32826         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32828         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32829         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32830         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32831         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32832         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32833         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32834         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32835         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32836         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32837         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32838         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32839         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32840         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32841         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32842         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32843         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32844         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32845         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32846         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32847         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32848         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32849         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32851         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32852         ceil, ceilf, floor, floorf.
32854         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32855         Perform IRELATIVE relocations last.
32857         * elf/do-rel.h: Add another parameter nrelative, replacing the
32858         local variable with the same name.  Change name of the function
32859         to end in Rel or Rela (uppercase).
32860         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32861         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32862         elf_dynamic_do_##reloc function.
32864 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32866         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32867         is sufficient, at least on modern CPUs.
32869         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32871         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32872         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32874         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32875         __expl_finite.
32876         * math/bits/math-finite.h: Add entries for exp.
32877         * math/e_expl.c: Add __*_finite alias.
32878         * sysdeps/i386/fpu/e_exp.S: Likewise.
32879         * sysdeps/i386/fpu/e_expf.S: Likewise.
32880         * sysdeps/i386/fpu/e_expl.c: Likewise.
32881         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32882         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32883         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32884         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32885         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32886         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32887         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32889         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32890         is sufficient, at least on modern CPUs.
32892         * ctype/ctype-info.c (__ctype_init): Define.
32893         * include/ctype.h (__ctype_init): Declare.
32894         (__ctype_b_loc): The variable is always initialized.
32895         (__ctype_toupper_loc): Likewise.
32896         (__ctype_tolower_loc): Likewise.
32897         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32898         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32900 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32902         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32904         * configure.in: Also look in $cxxmachine/include for C++ system
32905         headers.
32907 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32909         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32910         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32911         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32912         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32913         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32914         (USE_AS_WMEMCMP): New macro.
32915         Fixing indents.
32916         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32917         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32918         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32919         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32920         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32921         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32922         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32923         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32924         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32925         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32926         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32927         (USE_AS_WMEMCMP): New macro.
32928         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32929         * sysdeps/string/test-memcmp.c: Update.
32930         Fix simple_wmemcmp.
32931         Add new tests.
32932         * wcsmbs/wmemcmp.c: Update.
32933         (WMEMCMP): New macro.
32934         Fix overflow bug.
32936 2011-10-12  Andreas Jaeger  <aj@suse.de>
32938         [BZ #13268]
32939         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32941 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32943         * libio/iofwide.c (do_length): Avoid warning.
32945         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32947 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32949         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32951         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32952         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32953         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32954         * sysdeps/i386/i686/fpu/e_log.S: New file.
32955         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32956         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32958         * ctype/ctype.h: Add support for inlined isXXX functions when
32959         compiling C++ code.
32961 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32963         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32965         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32967 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32969         [BZ #13291]
32970         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32972 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32974         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32975         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32976         feraiseexcept.
32978         * sysdeps/x86_64/memrchr.S: Check for zero size.
32980         * string/stratcliff.c: Add memrchr tests.
32982 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32985         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32986         rawmemchr-sse2 rawmemchr-sse2-bsf.
32987         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32988         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32989         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32990         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32991         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32992         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32993         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32994         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32995         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32996         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32997         * string/memrchr.c (MEMRCHR): New macro.
32999 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33001         Add integration with gcc's -ffinite-math-only and optimize wrapper
33002         functions in libm.
33003         * Versions.def: Define GLIBC_2.15 version for libm.
33004         * math/Makefile (headers): Add bits/math-finite.h.
33005         * math/bits/math-finite.h: New file.
33006         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33007         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33008         * math/e_acoshl.c: Add __*_finite alias.
33009         * math/e_acosl.c: Likewise.
33010         * math/e_asinl.c: Likewise.
33011         * math/e_atan2l.c: Likewise.
33012         * math/e_atanhl.c: Likewise.
33013         * math/e_coshl.c: Likewise.
33014         * math/e_exp10.c: Likewise.
33015         * math/e_exp10f.c: Likewise.
33016         * math/e_exp10l.c: Likewise.
33017         * math/e_exp2l.c: Likewise.
33018         * math/e_fmodl.c: Likewise.
33019         * math/e_gammal_r.c: Likewise.
33020         * math/e_hypotl.c: Likewise.
33021         * math/e_j0l.c: Likewise.
33022         * math/e_j1l.c: Likewise.
33023         * math/e_jnl.c: Likewise.
33024         * math/e_lgammal_r.c: Likewise.
33025         * math/e_log10l.c: Likewise.
33026         * math/e_log2l.c: Likewise.
33027         * math/e_logl.c: Likewise.
33028         * math/e_powl.c: Likewise.
33029         * math/e_sinhl.c: Likewise.
33030         * math/e_sqrtl.c: Likewise.
33031         * math/e_scalb.c: Completely rewritten and optimized.
33032         * math/e_scalbf.c: Likewise.
33033         * math/e_scalbl.c: Likewise.
33034         * math/w_acos.c: Likewise.
33035         * math/w_acosf.c: Likewise.
33036         * math/w_acosl.c: Likewise.
33037         * math/w_acosh.c: Likewise.
33038         * math/w_acoshf.c: Likewise.
33039         * math/w_acoshl.c: Likewise.
33040         * math/w_asin.c: Likewise.
33041         * math/w_asinf.c: Likewise.
33042         * math/w_asinl.c: Likewise.
33043         * math/w_atan2.c: Likewise.
33044         * math/w_atan2f.c: Likewise.
33045         * math/w_atan2l.c: Likewise.
33046         * math/w_atanh.c: Likewise.
33047         * math/w_atanhf.c: Likewise.
33048         * math/w_atanhl.c: Likewise.
33049         * math/w_exp10.c: Likewise.
33050         * math/w_exp10f.c: Likewise.
33051         * math/w_exp10l.c: Likewise.
33052         * math/w_fmod.c: Likewise.
33053         * math/w_fmodf.c: Likewise.
33054         * math/w_fmodl.c: Likewise.
33055         * math/w_j0.c: Likewise.
33056         * math/w_j0f.c: Likewise.
33057         * math/w_j0l.c: Likewise.
33058         * math/w_j1.c: Likewise.
33059         * math/w_j1f.c: Likewise.
33060         * math/w_j1l.c: Likewise.
33061         * math/w_jn.c: Likewise.
33062         * math/w_jnf.c: Likewise.
33063         * math/w_log.c: Likewise.
33064         * math/w_logf.c: Likewise.
33065         * math/w_logl.c: Likewise.
33066         * math/w_log10.c: Likewise.
33067         * math/w_log10f.c: Likewise.
33068         * math/w_log10l.c: Likewise.
33069         * math/w_log2.c: Likewise.
33070         * math/w_log2f.c: Likewise.
33071         * math/w_log2l.c: Likewise.
33072         * math/w_pow.c: Likewise.
33073         * math/w_powf.c: Likewise.
33074         * math/w_powl.c: Likewise.
33075         * math/w_remainder.c: Likewise.
33076         * math/w_remainderf.c: Likewise.
33077         * math/w_remainderl.c: Likewise.
33078         * math/w_scalb.c: Likewise.
33079         * math/w_scalbf.c: Likewise.
33080         * math/w_scalbl.c: Likewise.
33081         * math/w_sqrt.c: Likewise.
33082         * math/w_sqrtf.c: Likewise.
33083         * math/w_sqrtl.c: Likewise.
33084         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33085         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33086         used.
33087         * math/math_private.h: Declare __kernel_standard_f.
33088         * math/w_cosh.c: Remove cruft and optimize a bit.
33089         * math/w_coshf.c: Likewise.
33090         * math/w_coshl.c: Likewise.
33091         * math/w_exp2.c: Likewise.
33092         * math/w_exp2f.c: Likewise.
33093         * math/w_exp2l.c: Likewise.
33094         * math/w_hypot.c: Likewise.
33095         * math/w_hypotf.c: Likewise.
33096         * math/w_hypotl.c: Likewise.
33097         * math/w_lgamma.c: Likewise.
33098         * math/w_lgamma_r.c: Likewise.
33099         * math/w_lgammaf.c: Likewise.
33100         * math/w_lgammaf_r.c: Likewise.
33101         * math/w_lgammal.c: Likewise.
33102         * math/w_lgammal_r.c: Likewise.
33103         * math/w_sinh.c: Likewise.
33104         * math/w_sinhf.c: Likewise.
33105         * math/w_sinhl.c: Likewise.
33106         * math/w_tgamma.c: Likewise.
33107         * math/w_tgammaf.c: Likewise.
33108         * math/w_tgammal.c: Likewise.
33109         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33110         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33111         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33112         Minor optimizations.  Pretty printing.  Remove cruft.
33113         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33114         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33115         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33116         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33117         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33118         * sysdeps/i386/fpu/e_asin.S: Likewise.
33119         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33120         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33121         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33122         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33123         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33124         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33125         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33126         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33127         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33128         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33129         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33130         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33131         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33132         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33133         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33134         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33135         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33136         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33137         * sysdeps/i386/fpu/e_log.S: Likewise.
33138         * sysdeps/i386/fpu/e_log10.S: Likewise.
33139         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33140         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33141         * sysdeps/i386/fpu/e_log2.S: Likewise.
33142         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33143         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33144         * sysdeps/i386/fpu/e_logf.S: Likewise.
33145         * sysdeps/i386/fpu/e_logl.S: Likewise.
33146         * sysdeps/i386/fpu/e_pow.S: Likewise.
33147         * sysdeps/i386/fpu/e_powf.S: Likewise.
33148         * sysdeps/i386/fpu/e_powl.S: Likewise.
33149         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33150         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33151         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33152         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33153         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33154         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33155         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33156         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33157         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33158         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33159         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33160         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33161         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33162         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33163         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33164         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33165         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33166         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33167         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33168         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33169         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33170         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33171         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33172         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33173         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33174         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33175         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33176         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33177         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33178         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33179         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33180         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33181         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33182         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33183         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33184         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33185         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33186         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33187         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33188         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33189         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33190         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33191         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33192         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33193         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33194         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33195         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33196         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33197         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33198         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33199         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33200         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33201         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33202         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33203         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33204         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33205         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33206         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33207         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33208         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33209         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33210         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33211         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33212         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33213         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33214         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33215         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33216         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33217         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33218         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33219         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33220         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33221         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33222         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33223         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33224         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33225         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33226         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33227         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33228         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33229         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33230         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33231         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33232         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33233         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33234         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33235         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33236         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33237         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33238         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33239         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33240         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33241         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33242         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33243         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33244         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33245         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33246         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33247         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33248         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33249         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33250         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33251         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33252         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33253         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33254         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33255         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33256         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33257         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33258         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33259         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33260         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33261         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33262         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33263         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33264         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33265         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33266         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33267         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33268         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33269         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33270         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33271         (__isnanf): Likewise.
33272         (__isinf_ns): Likewise.
33273         (__isinf_nsf): Likewise.
33274         (__finite): Likewise.
33275         (__finitef): Likewise.
33276         (__ieee754_sqrt): Define as macro.
33277         (__ieee754_sqrtf): Define as macro.
33278         (__ieee754_sqrtl): Define as macro.
33279         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33280         inlined copy.
33281         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33282         __FINITE_MATH_ONLY__ consistent.
33283         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33285 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33287         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33288         of rawmemchr.
33290         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33292 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33294         * po/ja.po: Update from translation team.
33296 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33298         * locale/programs/locarchive.c (prepare_address_space): New function.
33299         (create_archive, enlarge_archive, open_archive): Use it.
33301         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33302         inside [SHARED], where it is used.
33304         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33306         * nss/getent.c (netgroup_keys): Remove unused variable.
33307         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33309 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33311         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33312         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33313         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33314         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33315         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33316         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33317         * math/Makefile (libm-calls): Add s_isinf_ns.
33318         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33319         * math/multc3.c: Likewise.
33320         * math/s_casin.c: Likewise.
33321         * math/s_casinf.c: Likewise.
33322         * math/s_casinl.c: Likewise.
33323         * math/s_ccos.c: Likewise.
33324         * math/s_ccosf.c: Likewise.
33325         * math/s_ccosl.c: Likewise.
33326         * math/s_ctan.c: Likewise.
33327         * math/s_ctanf.c: Likewise.
33328         * math/s_ctanh.c: Likewise.
33329         * math/s_ctanhf.c: Likewise.
33330         * math/s_ctanhl.c: Likewise.
33331         * math/s_ctanl.c: Likewise.
33332         * math/w_fmod.c: Likewise.
33333         * math/w_fmodf.c: Likewise.
33334         * math/w_fmodl.c: Likewise.
33335         * math/w_remainder.c: Likewise.
33336         * math/w_remainderf.c: Likewise.
33337         * math/w_remainderl.c: Likewise.
33338         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33339         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33340         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33341         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33342         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33343         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33344         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33345         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33347         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33348         of the number.
33349         * stdio-common/printf_fphex.c: Likewise.
33350         * stdio-common/printf_size.c: Likewise.
33352         * math/e_exp10.c: Include math_private.h using <...> not "...".
33353         * math/e_exp10f.c: Likewise.
33354         * math/e_exp10l.c: Likewise.
33355         * math/e_exp2l.c: Likewise.
33356         * math/e_j0l.c: Likewise.
33357         * math/e_j1l.c: Likewise.
33358         * math/e_jnl.c: Likewise.
33359         * math/e_lgammal_r.c: Likewise.
33360         * math/e_rem_pio2l.c: Likewise.
33361         * math/e_scalb.c: Likewise.
33362         * math/e_scalbf.c: Likewise.
33363         * math/e_scalbl.c: Likewise.
33364         * math/k_cosl.c: Likewise.
33365         * math/k_sinl.c: Likewise.
33366         * math/k_tanl.c: Likewise.
33367         * math/s_cacoshf.c: Likewise.
33368         * math/s_catan.c: Likewise.
33369         * math/s_catanf.c: Likewise.
33370         * math/s_catanh.c: Likewise.
33371         * math/s_catanhf.c: Likewise.
33372         * math/s_catanhl.c: Likewise.
33373         * math/s_catanl.c: Likewise.
33374         * math/s_ccosh.c: Likewise.
33375         * math/s_ccoshf.c: Likewise.
33376         * math/s_ccoshl.c: Likewise.
33377         * math/s_cexp.c: Likewise.
33378         * math/s_cexpf.c: Likewise.
33379         * math/s_cexpl.c: Likewise.
33380         * math/s_clog.c: Likewise.
33381         * math/s_clog10.c: Likewise.
33382         * math/s_clog10f.c: Likewise.
33383         * math/s_clog10l.c: Likewise.
33384         * math/s_clogf.c: Likewise.
33385         * math/s_clogl.c: Likewise.
33386         * math/s_csin.c: Likewise.
33387         * math/s_csinf.c: Likewise.
33388         * math/s_csinh.c: Likewise.
33389         * math/s_csinhf.c: Likewise.
33390         * math/s_csinhl.c: Likewise.
33391         * math/s_csinl.c: Likewise.
33392         * math/s_csqrt.c: Likewise.
33393         * math/s_csqrtf.c: Likewise.
33394         * math/s_csqrtl.c: Likewise.
33395         * math/s_ctan.c: Likewise.
33396         * math/s_ctanf.c: Likewise.
33397         * math/s_ctanh.c: Likewise.
33398         * math/s_ctanhf.c: Likewise.
33399         * math/s_ctanhl.c: Likewise.
33400         * math/s_ctanl.c: Likewise.
33401         * math/s_ldexp.c: Likewise.
33402         * math/s_ldexpf.c: Likewise.
33403         * math/s_ldexpl.c: Likewise.
33404         * math/s_significand.c: Likewise.
33405         * math/s_significandf.c: Likewise.
33406         * math/s_significandl.c: Likewise.
33407         * math/w_acos.c: Likewise.
33408         * math/w_acosf.c: Likewise.
33409         * math/w_acosh.c: Likewise.
33410         * math/w_acoshf.c: Likewise.
33411         * math/w_acoshl.c: Likewise.
33412         * math/w_acosl.c: Likewise.
33413         * math/w_asin.c: Likewise.
33414         * math/w_asinf.c: Likewise.
33415         * math/w_asinl.c: Likewise.
33416         * math/w_atan2.c: Likewise.
33417         * math/w_atan2f.c: Likewise.
33418         * math/w_atan2l.c: Likewise.
33419         * math/w_atanh.c: Likewise.
33420         * math/w_atanhf.c: Likewise.
33421         * math/w_atanhl.c: Likewise.
33422         * math/w_cosh.c: Likewise.
33423         * math/w_coshf.c: Likewise.
33424         * math/w_coshl.c: Likewise.
33425         * math/w_dremf.c: Likewise.
33426         * math/w_exp10.c: Likewise.
33427         * math/w_exp10f.c: Likewise.
33428         * math/w_exp10l.c: Likewise.
33429         * math/w_exp2.c: Likewise.
33430         * math/w_exp2f.c: Likewise.
33431         * math/w_fmod.c: Likewise.
33432         * math/w_fmodf.c: Likewise.
33433         * math/w_fmodl.c: Likewise.
33434         * math/w_hypot.c: Likewise.
33435         * math/w_hypotf.c: Likewise.
33436         * math/w_hypotl.c: Likewise.
33437         * math/w_j0.c: Likewise.
33438         * math/w_j0f.c: Likewise.
33439         * math/w_j0l.c: Likewise.
33440         * math/w_j1.c: Likewise.
33441         * math/w_j1f.c: Likewise.
33442         * math/w_j1l.c: Likewise.
33443         * math/w_jn.c: Likewise.
33444         * math/w_jnf.c: Likewise.
33445         * math/w_jnl.c: Likewise.
33446         * math/w_lgamma.c: Likewise.
33447         * math/w_lgamma_r.c: Likewise.
33448         * math/w_lgammaf.c: Likewise.
33449         * math/w_lgammaf_r.c: Likewise.
33450         * math/w_lgammal.c: Likewise.
33451         * math/w_lgammal_r.c: Likewise.
33452         * math/w_log.c: Likewise.
33453         * math/w_log10.c: Likewise.
33454         * math/w_log10f.c: Likewise.
33455         * math/w_log10l.c: Likewise.
33456         * math/w_log2.c: Likewise.
33457         * math/w_log2f.c: Likewise.
33458         * math/w_log2l.c: Likewise.
33459         * math/w_logf.c: Likewise.
33460         * math/w_logl.c: Likewise.
33461         * math/w_pow.c: Likewise.
33462         * math/w_powf.c: Likewise.
33463         * math/w_powl.c: Likewise.
33464         * math/w_remainder.c: Likewise.
33465         * math/w_remainderf.c: Likewise.
33466         * math/w_remainderl.c: Likewise.
33467         * math/w_scalb.c: Likewise.
33468         * math/w_scalbf.c: Likewise.
33469         * math/w_scalbl.c: Likewise.
33470         * math/w_sinh.c: Likewise.
33471         * math/w_sinhf.c: Likewise.
33472         * math/w_sinhl.c: Likewise.
33473         * math/w_sqrt.c: Likewise.
33474         * math/w_sqrtf.c: Likewise.
33475         * math/w_sqrtl.c: Likewise.
33476         * math/w_tgamma.c: Likewise.
33477         * math/w_tgammaf.c: Likewise.
33478         * math/w_tgammal.c: Likewise.
33480         * po/ja.po: Update from translation team.
33482 2011-09-29  Andreas Jaeger  <aj@suse.de>
33484         [BZ #13179]
33485         * sunrpc/netname.c (netname2host): Fix logic.
33487         [BZ #6779]
33488         [BZ #6783]
33489         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33490         correctly.
33491         * math/w_remainder.c (__remainder): Likewise.
33492         * math/w_remainderf.c (__remainderf): Likewise.
33493         * math/libm-test.inc (remainder_test): Add test cases.
33495 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33497         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33498         sdiv_qrnnd.
33500 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33502         * string/test-memcmp.c: Avoid unncessary #defines.
33503         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33505 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33507         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33508         Use new sse2 version for core i3 - i7 as it's faster
33509         than sse42 version.
33510         (bit_Prefer_PMINUB_for_stringop): New.
33511         * sysdeps/x86_64/rawmemchr.S: Update.
33512         Replace with faster SSE2 version.
33513         * sysdeps/x86_64/memrchr.S: New file.
33514         * sysdeps/x86_64/memchr.S: Update.
33515         Replace with faster SSE2 version.
33517 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33519         * elf/dl-load.c (lose): Add cast to avoid warning.
33521 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33523         * po/ca.po: Update from translation team.
33525         * inet/getnetgrent_r.c: Hook up nscd.
33526         * nscd/Makefile (routines): Add nscd_netgroup.
33527         (nscd-modules): Add netgroupcache.
33528         (CFLAGS-netgroupcache.c): Define.
33529         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33530         (cache_search): Add const to second parameter.
33531         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33532         INNETGR.
33533         (dbs): Add netgrdb entry.
33534         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33535         (verify_persistent_db): Handle netgrdb.
33536         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33537         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33538         GETFDNETGR.
33539         (netgroup_response_header): Define.
33540         (innetgroup_response_header): Define.
33541         (datahead): Add netgroup_response_header and innetgroup_response_header
33542         elements.
33543         * nscd/nscd.conf: Add entries for netgroup cache.
33544         * nscd/nscd.h (dbtype): Add netgrdb.
33545         (_PATH_NSCD_NETGROUP_DB): Define.
33546         (netgroup_iov_disabled): Declare.
33547         (xmalloc, xcalloc, xrealloc): Move declarations here.
33548         (cache_search): Adjust prototype.
33549         Add netgroup-related prototypes.
33550         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33551         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33552         (__nscd_innetgr): Declare.
33553         * nscd/selinux.c (perms): Use access_vector_t as element type and
33554         add netgroup-related initializers.
33555         * nscd/netgroupcache.c: New file.
33556         * nscd/nscd_netgroup.c: New file.
33557         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33558         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33559         For four parameters use innetgr.
33560         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33561         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33562         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33563         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33565         * nscd/connections.c (register_traced_file): Don't register file
33566         for disabled databases.
33568 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33570         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33572         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33573         from tree and freeing node.
33575 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33577         * nss/nsswitch.c (__nss_database_lookup): Handle
33578         nss_parse_service_list out of memory case.
33580 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33582         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33583         out of memory case.
33585 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33587         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33588         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33589         pass it down.
33590         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33591         elf_machine_rela, elf_machine_lazy_rel.
33592         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33593         (ELF_DYNAMIC_DO_REL): Likewise.
33594         (ELF_DYNAMIC_DO_RELA): Likewise.
33595         (ELF_DYNAMIC_RELOCATE): Likewise.
33596         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33597         to ELF_DYNAMIC_DO_REL.
33598         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33599         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33600         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33601         elf_machine_rela.
33602         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33603         skip_ifunc, don't call ifunc function if non-zero.
33604         (elf_machine_rela): Likewise.
33605         (elf_machine_lazy_rel): Likewise.
33606         (elf_machine_lazy_rela): Likewise.
33607         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33608         (elf_machine_lazy_rel): Likewise.
33609         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33610         Likewise.
33611         (elf_machine_lazy_rel): Likewise.
33612         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33613         Likewise.
33614         (elf_machine_lazy_rel): Likewise.
33615         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33616         (elf_machine_lazy_rel): Likewise.
33617         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33618         (elf_machine_lazy_rel): Likewise.
33619         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33620         (elf_machine_lazy_rel): Likewise.
33621         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33622         (elf_machine_lazy_rel): Likewise.
33623         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33624         (elf_machine_lazy_rel): Likewise.
33625         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33626         (elf_machine_lazy_rel): Likewise.
33628 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33630         * nss/nss_files/files-init.c (_nss_files_init): Use static
33631         initialization for all the *_traced_file variables.
33633 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33635         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33637 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33639         [BZ #13226]
33640         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33642 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33644         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33645         Reread the line before reparsing it.
33647 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33649         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33651 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33652             Maxim Kuvyrkov  <maxim@codesourcery.com>
33653             Joseph Myers  <joseph@codesourcery.com>
33655         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33656         if needed for __stack_chk_guard.
33658 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33660         * sysdeps/posix/spawni.c (script_execute): Always define it.
33661         It will be optimized away if unused.
33662         (maybe_script_execute): New function.
33663         (__spawni): Call it.
33665         * Makerules: Don't include tls.make.
33666         (config-tls): Always set to thread.
33667         * tls.make.c: File removed.
33669 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33671         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33672         * config.make.in (CPPFLAGS-config): New substituted variable.
33674 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33676         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33678         [BZ #13192]
33679         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33680         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33682 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33684         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33685         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33686         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33687         (CALL_FAIL): Likewise.
33688         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33689         (CALL_FAIL): Macro removed.
33690         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33692 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33694         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33695         for __FINITE_MATH_ONLY__ == 1.
33697 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33699         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33700         __ieee754_sqrt instead of sqrt.
33701         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33702         __ieee754_sqrtf instead of sqrtf.
33703         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33704         __floorf instead of floorf.
33705         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33706         __floorf, __truncf instead of floorf, truncf.
33708 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33710         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33712         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33713         __extern_always_inline.
33714         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33715         32-bit.
33717 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33719         * elf/rtld.c (dl_main): Also relocate in dependency order when
33720         doing symbol dependency testing.
33722 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33724         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33725         Always define `refsym'.
33727 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33729         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33730         (__FD_ELT): Renamed from __FDELT.
33731         * misc/bits/select2.h (__FD_ELT): Likewise.
33732         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33733         __FD_MASK instead of __FDELT, __FDMASK.
33734         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33735         Likewise.
33736         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33737         Likewise.
33739         * elf/Makefile (gen-ldd): Fix pattern.
33741         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33742         (init_tls): Likewise.
33744 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33746         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33748 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33750         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33751         `struct cmsghdr *' instead of `void *'.
33752         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33753         Likewise.
33755 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33757         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33758         if non-absolute.
33759         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33760         ldd_rewrite_script.
33762 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33764         * configure.in: Remove --with-tls option.
33765         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33766         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33767         out in case it is missing.
33768         * sysdeps/ia64/elf/configure.in: Likewise.
33769         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33770         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33771         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33772         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33773         * sysdeps/sh/elf/configure.in: Likewise.
33774         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33775         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33776         * sysdeps/x86_64/elf/configure.in: Likewise.
33777         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33778         * sysdeps/mach/hurd/tls.h: Likewise.
33780         [BZ #13067]
33781         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33783         [BZ #13090]
33784         * configure.in: Fix use of AC_INIT.
33786         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33788 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33790         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33791         __set_errno.
33792         * malloc/hooks.c: Likewise.
33794         [BZ #11929]
33795         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33796         variables statically.
33797         (narenas): Initialize.
33798         (list_lock): Initialize.
33799         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33800         initializtion of main_arena and list_lock.  Small cleanups.
33801         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33802         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33803         Add initializers to main_arena and mp_.
33804         (malloc_state): Remove pagesize member.  Change all users to use
33805         GLRO(dl_pagesize).
33807         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33808         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33809         is always initialized.
33811         * malloc/malloc.c: Removed unused configurations and dead code.
33812         * malloc/arena.c: Likewise.
33813         * malloc/hooks.c: Likewise.
33814         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33816         * include/tls.h: Removed.  USE___THREAD must always be defined.
33817         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33818         * elf/dl-libc.c: Likewise.
33819         * elf/dl-tsd.c: Likewise.
33820         * include/errno.h: Likewise.
33821         * include/netdb.h: Likewise.
33822         * include/resolv.h: Likewise.
33823         * inet/herrno-loc.c: Likewise.
33824         * inet/herrno.c: Likewise.
33825         * malloc/arena.c: Likewise.
33826         * malloc/hooks.c: Likewise.
33827         * malloc/malloc.c: Likewise.
33828         * resolv/res-state.c: Likewise.
33829         * resolv/res_libc.c: Likewise.
33830         * sysdeps/i386/dl-machine.h: Likewise.
33831         * sysdeps/ia64/dl-machine.h: Likewise.
33832         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33833         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33834         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33835         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33836         * sysdeps/sh/dl-machine.h: Likewise.
33837         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33838         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33839         * sysdeps/unix/i386/sysdep.S: Likewise.
33840         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33841         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33843         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33845         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33846         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33847         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33848         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33850         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33851         * sysdeps/x86_64/dl-machine.h: Likewise.
33852         * tls.make.c: Likewise.
33854         * configure.in: Remove --with-__thread option.  Make tests for
33855         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33856         tls_model attribute fail if no support is available.  Remove
33857         USE_IN_LIBIO.
33858         * Makeconfig: Adjust for dropped configure option.  All features are
33859         now mandatory.
33860         * Makerules: Likewise.
33861         * Versions.def: Likewise.
33862         * argp/argp-fmtstream.c: Likewise.
33863         * argp/argp-fmtstream.h: Likewise.
33864         * argp/argp-help.c: Likewise.
33865         * assert/assert.c: Likewise.
33866         * config.h.in: Likewise.
33867         * config.make.in: Likewise.
33868         * configure: Likewise.
33869         * configure.in: Likewise.
33870         * csu/Versions: Likewise.
33871         * csu/init.c: Likewise.
33872         * elf/tst-audit2.c: Likewise.
33873         * elf/tst-tls10.c: Likewise.
33874         * elf/tst-tls10.h: Likewise.
33875         * elf/tst-tls11.c: Likewise.
33876         * elf/tst-tls12.c: Likewise.
33877         * elf/tst-tls14.c: Likewise.
33878         * elf/tst-tlsmod11.c: Likewise.
33879         * elf/tst-tlsmod12.c: Likewise.
33880         * elf/tst-tlsmod13.c: Likewise.
33881         * elf/tst-tlsmod13a.c: Likewise.
33882         * elf/tst-tlsmod14a.c: Likewise.
33883         * elf/tst-tlsmod15b.c: Likewise.
33884         * elf/tst-tlsmod16a.c: Likewise.
33885         * elf/tst-tlsmod16b.c: Likewise.
33886         * elf/tst-tlsmod7.c: Likewise.
33887         * elf/tst-tlsmod8.c: Likewise.
33888         * elf/tst-tlsmod9.c: Likewise.
33889         * gmon/gmon.c: Likewise.
33890         * grp/fgetgrent_r.c: Likewise.
33891         * grp/putgrent.c: Likewise.
33892         * hurd/fopenport.c: Likewise.
33893         * include/libc-symbols.h: Likewise.
33894         * include/tls.h: Likewise.
33895         * intl/gettextP.h: Likewise.
33896         * intl/loadinfo.h: Likewise.
33897         * locale/global-locale.c: Likewise.
33898         * locale/localeinfo.h: Likewise.
33899         * mach/devstream.c: Likewise.
33900         * malloc/arena.c: Likewise.
33901         * malloc/set-freeres.c: Likewise.
33902         * misc/err.c: Likewise.
33903         * misc/getttyent.c: Likewise.
33904         * misc/mntent_r.c: Likewise.
33905         * posix/getopt.c: Likewise.
33906         * posix/wordexp.c: Likewise.
33907         * pwd/fgetpwent_r.c: Likewise.
33908         * resolv/Versions: Likewise.
33909         * resolv/res_hconf.c: Likewise.
33910         * shadow/fgetspent_r.c: Likewise.
33911         * shadow/putspent.c: Likewise.
33912         * stdio-common/printf_fphex.c: Likewise.
33913         * stdio-common/tmpfile.c: Likewise.
33914         * stdlib/abort.c: Likewise.
33915         * stdlib/fmtmsg.c: Likewise.
33916         * sunrpc/auth_unix.c: Likewise.
33917         * sunrpc/clnt_perr.c: Likewise.
33918         * sunrpc/clnt_tcp.c: Likewise.
33919         * sunrpc/clnt_udp.c: Likewise.
33920         * sunrpc/clnt_unix.c: Likewise.
33921         * sunrpc/openchild.c: Likewise.
33922         * sunrpc/svc_simple.c: Likewise.
33923         * sunrpc/svc_tcp.c: Likewise.
33924         * sunrpc/svc_udp.c: Likewise.
33925         * sunrpc/svc_unix.c: Likewise.
33926         * sunrpc/xdr.c: Likewise.
33927         * sunrpc/xdr_array.c: Likewise.
33928         * sunrpc/xdr_rec.c: Likewise.
33929         * sunrpc/xdr_ref.c: Likewise.
33930         * sunrpc/xdr_stdio.c: Likewise.
33932 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33934         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33936 2011-07-03  Andreas Jaeger  <aj@suse.de>
33938         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33939         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33940         regenerate with gen-libm-tests.pl.
33942 2010-05-12  Petr Baudis  <pasky@suse.cz>
33944         [BZ #11589]
33945         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33946         around j0() zero points by switching to j1().
33947         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33948         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33950         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33952 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33954         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33955         instead of 0.
33956         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33957         instead of 0.
33958         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33959         Patch in part by Pavel Roskin <proski@gnu.org>.
33961         [BZ #13138]
33962         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33963         realloc.
33964         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33965         Free memory block if necessary.
33967         [BZ #12847]
33968         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33969         be NULL.  Don't lock in this case.
33971 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33973         * elf/elf.h (ELFOSABI_GNU): New macro.
33974         (ELFOSABI_LINUX): Define to that.
33976 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33978         * string/strncat.c (strncat): Undef the symbol in case it has been
33979         defined in bits/string.h.
33981 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33983         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33985         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33986         link map.
33988 2011-08-17  Andreas Jaeger  <aj@suse.de>
33990         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33992 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33993             Ian Lance Taylor  <iant@google.com>
33995         * math/libm-test.inc (lround_test): New testcase.
33996         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33998 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34000         * Makefile: Remove support for automatic cvs check-ins.
34001         * Makerules: Likewise.
34002         * config.make.in: Likewise.
34003         * configure.in: Likewise.
34004         * intl/Makefile: Likewise.
34005         * locale/Makefile: Likewise.
34006         * po/Makefile: Likewise.
34007         * posix/Makefile: Likewise.
34008         * sysdeps/gnu/Makefile: Likewise.
34009         * sysdeps/mach/hurd/Makefile: Likewise.
34010         * sysdeps/sparc/sparc32/Makefile: Likewise.
34012         [BZ #13118]
34013         * posix/Makefile (bug-regex32-ENV): Define.
34014         Patch by John Stanley <jpsinthemix@verizon.net>.
34016         * misc/Makefile (headers): Add bits/select2.h.
34017         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34018         * misc/bits/select2.h: New file.
34019         * include/bits/select2.h: New file.
34020         * debug/Makefile (routines): Add fdelt_chk.
34021         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34022         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34023         FD_ISSET.
34024         * debug/fdelt_chk.c: New file.
34026         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34027         * wcsmbs/test-wmemcmp.c: Likewise.
34028         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34029         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34031 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34033         * string/Makefile (strop-tests): Add memcmp.
34034         * string/test-wmemcmp.c: New file.
34035         * string/test-memcmp.c: Add wmemcmp support.
34037 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34039         [BZ #13153]
34040         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34041         2011-07-19 change.
34043         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34044         garbage value in a __mach_port_mod_refs call in the cases of the
34045         task-self and thread-self ports.
34047 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34049         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34051 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34053         * elf/dl-load.c (lose): Check for non-null L.
34055 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34057         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34059         * elf/dl-libc.c (dlerror_run): Pass back error code from
34060         dl_catch_error.
34062         [BZ #13123]
34063         * elf/dl-load.c (lose): Free l_origin if it is valid.
34065         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34066         names.
34067         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34068         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34069         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34070         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34071         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34072         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34074 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34076         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34077         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34078         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34079         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34080         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34081         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34082         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34083         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34084         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34085         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34087 2011-08-15  Alan Modra  <amodra@gmail.com>
34089         [BZ #13092]
34090         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34091         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34092         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34093         ppc_mcount to static-only-routines.
34094         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34095         __mcount_internal.
34096         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34097         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34099 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34101         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34102         for finite and infinity parameters.
34104 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34106         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34107         and add nop instructions for throughput optimization.
34108         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34110 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34112         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34113         aligned copy for power7 with vector-scalar instructions.
34114         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34116 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34118         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34119         AVX check.
34121 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34123         [BZ #13144]
34124         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34125         last change.
34127 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34129         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34130         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34131         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34132         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34133         clock_gettime.
34135 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34137         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34138         Forgot to demangle the pointer.
34140         * sysdeps/i386/sysdep.h: Define atom_text_section.
34141         * sysdeps/x86_64/sysdep.h: Likewise.
34142         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34143         section with atom_text_section.
34144         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34145         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34146         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34147         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34148         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34150         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34151         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34152         already be defined.  Change to take two parameters and don't assign
34153         result to variable.  Adjust all users.
34154         Define INTERNAL_GETTIME if not already defined.
34155         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34156         call.
34157         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34158         HAVE_CLOCK_GETTIME_VSYSCALL.
34159         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34161         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34162         gettimeofday vsyscall, just use time.
34164 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34166         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34167         <errno.h>.
34169 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34171         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34172         syscall on x86-64.
34173         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34174         syscall.
34175         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34176         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34177         syscall if possible.
34179 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34181         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34182         e_ident.  Don't pass to find_mapsXX.
34183         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34185 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34188         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34189         * sysdeps/x86_64/multiarch/strchr.S: Update.
34190         Check bit_slow_BSF bit.
34191         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34192         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34193         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34195 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34197         [BZ #13134]
34198         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34199         before glibc 2.15.
34200         (tryshell): Define.
34201         (__spawni): Change last parameter to be flag.  Test
34202         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34203         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34204         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34205         * posix/spawni.c: Likewise.
34206         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34207         * posix/spawnp.c: Likewise.  Change normal version to use
34208         SPAWN_XFLAGS_USE_PATH.
34209         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34210         SPAWN_XFLAGS_TRY_SHELL.
34212         [BZ #13150]
34213         * posix/glob.h: Remove gcc 1.x support.
34215         [BZ #13068]
34216         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34218 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34220         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34221         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34222         strrchr-sse2-bsf
34223         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34224         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34225         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34226         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34227         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34228         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34230 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34232         * sysdeps/x86_64/wcscmp.S: New file.
34234         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34235         wcscmp-c wcscmp-sse2
34236         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34237         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34238         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34239         * wcsmbs/wcscmp.c: Allow renaming.
34241 2011-09-05  David S. Miller  <davem@davemloft.net>
34243         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34244         stack slot, rather than the struct return pointer slot.
34245         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34246         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34248         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34250 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34252         * po/ja.po: Update from translation team.
34254         [BZ #13144]
34255         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34256         kernel in 64-bit binaries.
34258 2011-09-01  David S. Miller  <davem@davemloft.net>
34260         * elf/elf.h (HWCAP_SPARC_*): Move to..
34261         * sysdeps/sparc/sysdep.h: this new file and add new values.
34262         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34263         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34264         _DL_HWCAP_COUNT to 24.
34265         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34266         entries.
34267         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34268         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34269         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34270         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34271         instead of magic constants.
34272         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34274 2011-08-31  David S. Miller  <davem@davemloft.net>
34276         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34277         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34278         Reimplement to do errno handling inline.
34279         (SYSCALL_ERROR_HANDLER): New macro.
34280         (__SYSCALL_STRING): Do not do errno handling in asm.
34281         (__CLONE_SYSCALL_STRING): Delete.
34282         (__INTERNAL_SYSCALL_STRING): Delete.
34283         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34284         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34285         (PSEUDO): Reimplement to do errno handling inline.
34286         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34287         (SYSCALL_ERROR_HANDLER): New macro.
34288         (__SYSCALL_STRING): Do not do errno handling in asm.
34289         (__CLONE_SYSCALL_STRING): Delete.
34290         (__INTERNAL_SYSCALL_STRING): Delete.
34291         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34292         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34293         i386.
34294         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34295         (inline_syscall*): Add 'err' argument.
34296         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34297         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34298         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34299         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34301         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34302         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34304 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34306         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34308 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34310         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34311         directive.
34313 2011-08-24  David S. Miller  <davem@davemloft.net>
34315         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34317 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34319         * elf/Makefile: Add rules to build and run unload8 test.
34320         * elf/unload8.c: New file.
34321         * elf/unload8mod1.c: New file.
34322         * elf/unload8mod1x.c: New file.
34323         * elf/unload8mod2.c: New file.
34324         * elf/unload8mod3.c: New file.
34326         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34327         it wasn't used.
34329 2011-08-23  David S. Miller  <davem@davemloft.net>
34331         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34332         subtract stack bias.
34333         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34334         %sp not %fp in calculations.
34335         (_JMPBUF_UNWINDS_ADJ): Likewise.
34337         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34338         (aio_suspend): Call it to force an exception region around the
34339         AIO_MISC_WAIT() invocation.
34341 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34343         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34344         backslash.
34346 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34348         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34349         protection macro.
34350         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34351         and <dl-machine.h>.
34352         (Elf64_FuncDesc): Remove.
34354 2011-08-22  David S. Miller  <davem@davemloft.net>
34356         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34357         sigaltstack check, add missing cfi directives.
34358         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34359         missing cfi directives, and sigaltstack handling.
34361 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34363         [BZ #11724]
34364         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34365         object is seen twice.
34366         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34368         * elf/Makefile (distribute): Add tst-initorder2.c.
34369         (tests): Add tst-initorder2.
34370         (modules-names): Add tst-initorder2a tst-initorder2b
34371         tst-initorder2c tst-initorder2d.  Add rules to build them.
34372         ($(objpfx)tst-initorder2.out): New rule.
34373         * elf/tst-initorder2.c: New file.
34374         * elf/tst-initorder2.exp: New file.
34376 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34378         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34380         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34381         dependencies back to end of function.
34383         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34384         $(elfobjdir)/ld.so.
34386 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34388         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34389         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34390         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34391         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34392         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34393         of __vdso_gettimeofday.
34394         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34395         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34396         attribute_hidden.
34397         (_libc_vdso_platform_setup): Remove initialization of
34398         __vdso_gettimeofday and __vdso_time.
34400 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34402         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34403         and fgetc_unlocked.
34404         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34405         getc_unlocked.
34407         * elf/dl-open.c (add_to_global): Report additions to the global scope
34408         for LD_DEBUG=scopes.
34409         (dl_open_worker): Also print scope of newly loaded dependencies.
34410         (_dl_show_scope): Indicate if there is no scope.
34412         [BZ #13114]
34413         * stdio-common/Makefile (tests): Add bug24.
34414         * stdio-common/bug24.c: New file.
34416 2011-08-19  Andreas Jaeger  <aj@suse.de>
34418         [BZ #13114]
34419         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34420         non-existant file when using close-on-exec mode.
34422 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34424         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34425         the very first instruction.
34427         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34428         the CFI state in the end.
34429         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34430         inclusion of dl-trampoline.h.
34431         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34433 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34435         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34436         expectations for long double.
34438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34439         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34441 2011-08-14  David S. Miller  <davem@davemloft.net>
34443         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34444         artificual limit depends upon the system page size.
34446 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34448         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34449         * resolv/Makefile: Define CFLAGS-libresolv.
34451 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34453         * nss/makedb.c (compute_tables): Make variables used in nested
34454         function static.
34456 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34458         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34459         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34460         if buffer was too small.
34462         * elf/pldd.c (main): Attach to all threads in the process.
34463         Rewrite /proc handling to use *at functions.
34465 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34467         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34468         specifies first scope to show.
34469         (dl_open_worker): Update callers.  Move printing scope of new
34470         object to before the relocation.
34471         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34472         * sysdeps/generic/ldsodefs.h: Update declaration.
34474         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34475         string for the scope number.
34477 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34479         * nscd/servicescache.c (cache_addserv): Make sure written is always
34480         initialized.
34482 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34484         * sysdeps/i386/i486/bits/atomic.h
34485         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34486         statement expression, so as to suppress "set but not used" warning.
34487         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34489         * string/strncat.c (STRNCAT): Use prototype definition.
34491         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34492         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34493         -Iprograms here.
34494         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34495         (localedef-modules): Add localedef.
34496         (locale-modules): Add locale.
34498         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34499         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34500         to avoid a warning.
34502 2011-08-14  David S. Miller  <davem@davemloft.net>
34504         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34505         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34507 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34509         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34510         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34511         * elf/rtld.c (dl_main): Set l_name of vDSO.
34512         Call _dl_show_scope when DL_DEBUG_SCOPES.
34513         (process_dl_debug): Recognize scopes flag and also set it for all.
34514         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34515         Declare _dl_show_scope.
34517         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34518         (do_dlopen): Pass caller_dlopen to dl_open.
34519         (__libc_dlopen_mode): Initialize caller_dlopen.
34521         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34522         of libc.  Make tolower call locale-independent.  Optimize a bit by
34523         using isdigit instead of isalnum.
34524         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34526 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34528         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34529         was a dependency or dynamically loaded.
34531 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34533         * intl/l10nflist.c: Allow architecture-specific pop function.
34534         * sysdeps/x86_64/l10nflist.c: New file.
34536         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34537         classification.
34539 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34541         * include/dirent.h: Add libc_hidden_proto for scandirat and
34542         scandirat64.  Don't declare __scandirat64.
34543         * dirent/scandirat.c: Add libc_hidden_def.
34544         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34545         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34547 2011-08-10  David S. Miller  <davem@davemloft.net>
34549         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34550         enum.
34551         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34552         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34553         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34555 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34557         * Versions.def [libc]: Add GLIBC_2.15.
34558         * dirent/Makefile (routines): Add scandirat and scandirat64.
34559         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34560         GLIBC_2.15.
34561         * dirent/dirent.h: Declare scandirat and scandirat64.
34562         * dirent/scandirat.c: New file.
34563         * dirent/scandirat64.c: New file.
34564         * sysdeps/wordsize-64/scandirat.c: New file.
34565         * sysdeps/wordsize-64/scandirat64.c: New file.
34566         * dirent/opendir.c: Define opendirat.
34567         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34568         using scandirat.
34569         * dirent/scandir64.c: Adjust for scandir.c change.
34570         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34571         __scandirat64, and __scandir_cancel_handler.
34572         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34573         additional parameter and use openat instead of open (outside of ld.so).
34574         Add new __opendir as wrapper around __opendirat.
34575         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34576         here without requiring old scandirat implementation.
34578 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34580         * dirent/scandir.c (cancel_handler): Renamed to
34581         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34582         defined.  Adjust users.
34583         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34584         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34586 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34588         * string/test-string.h (IMPL): Use __STRING to expand name and then
34589         stringify it.
34591         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34592         of cleanups.
34594 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34596         * string/Makefile: Update.
34597         (strop-tests): Append strncat.
34598         * string/test-wcscmp.c: New file.
34599         New comprehensive test for wcscmp.
34600         * string/test-strcmp.c: Update.
34601         (WIDE): New define.
34603 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34605         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34606         line.
34608 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34610         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34611         encoding to ACE if AI_IDN.
34613 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34615         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34616         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34618 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34620         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34621         Fix overflow bug in strncat.
34622         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34624         * string/test-strncat.c: Update.
34625         Add new tests for checking overflow bugs.
34627 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34629         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34630         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34631         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34632         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34633         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34634         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34635         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34636         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34637         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34639         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34640         (USE_AS_STRCAT): Define.
34641         Add strcat and strncat support.
34642         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34644 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34646         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34647         __n bigger than INT_MAX+1.
34648         (__strncmp_g): Likewise.
34650 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34652         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34653         * libio/stido.h: Likewise.
34655         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34656         (AF_NFC): Define.
34657         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34658         (AF_NFC): Define.
34660         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34661         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34662         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34663         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34664         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34666         [BZ #13021]
34667         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34668         installed.
34670         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34671         typo.
34672         (_dl_x86_64_save_sse): Likewise.
34674 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34677         OSXSAVE.
34678         (_dl_x86_64_save_sse): Likewise.
34680         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34682         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34684 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34686         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34687         change.
34688         (_dl_x86_64_save_sse): Use correct AVX check.
34690 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34692         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34693         bug in strncpy/strncat.
34694         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34696 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34698         * string/tester.c (test_strcat): Add tests for different alignments
34699         of source and destination.
34700         (test_strncat): Likewise.
34702 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34704         [BZ #12852]
34705         * posix/glob.c (glob): Check passed in values before using them in
34706         expressions to avoid some overflows.
34707         (glob_in_dir): Likewise.
34709         [BZ #13007]
34710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34711         check for AVX enablement so that we don't crash with old kernels and
34712         new hardware.
34713         * elf/tst-audit4.c: Add same checks here.
34714         * elf/tst-audit6.c: Likewise.
34716         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34718 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34720         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34722 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34724         * po/cs.po: Update from translation team.
34725         * po/bg.po: Likewise.
34727 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34729         * misc/sys/cdefs.h: Add support for const attribute.
34730         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34731         to gnu_dev_{major,minor,makedev} functions.
34733 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34735         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34737 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34739         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34740         strlen results.
34742 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34744         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34745         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34746         register in order to avoid conflicts with the soft frame pointer
34747         being held in r11 when necessary.
34748         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34749         (INTERNAL_VSYSCALL_NCS): Likewise.
34751 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34753         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34754         * elf/dl-fini.c (_dl_fini): Adjust caller.
34755         * elf/dl-close.c (_dl_close_worker): Likewise.
34756         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34758 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34760         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34761         "aux_cache->nlibs < 0".
34763         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34764         in the reload-count case.
34766 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34769         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34770         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34771         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34772         * sysdeps/x86_64/multiarch/strcat.S: New file.
34773         * sysdeps/x86_64/multiarch/strncat.S: New file.
34774         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34775         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34776         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34777         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34778         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34779         (USE_AS_STRCAT): Define.
34780         Add strcat and strncat support.
34781         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34782         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34783         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34784         * string/strncat.c: Update.
34785         (USE_AS_STRNCAT): Define.
34786         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34787         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34788         and i7.
34789         * sysdeps/x86_64/multiarch/init-arch.h
34790         (bit_Prefer_PMINUB_for_stringop): New.
34791         (index_Prefer_PMINUB_for_stringop): Likewise.
34792         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34793         bit_Prefer_PMINUB_for_stringop.
34795 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34797         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34798         buffer64.
34799         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34800         of casting of buffer.
34801         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34802         buffer32 and buffer64.
34803         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34804         writes instead of casting of buffer.
34805         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34806         buffer32.
34807         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34808         casting of buffer.
34810 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34812         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34814 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34816         * nscd/nscd.c (termination_handler): Don't do anything for a database
34817         if it has not yet been initialized.
34819 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34821         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34823 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34825         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34827 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34829         * po/nl.po: Update from translation team.
34830         * po/sv.po: Likewise.
34832 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34834         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34835         now disallowed by GCC.
34837         * configure.in (use-default-link): Default to yes if a test -shared
34838         link meets our qualifications.
34839         * configure: Regenerated.
34841         * config.make.in (output-format): New variable.
34842         * configure.in: Check for ld --print-output-format support.
34843         * configure: Regenerated.
34844         * Makerules ($(common-objpfx)format.lds)
34845         [$(output-format) != unknown]: Just use $(output-format),
34846         instead of the linker-script munging.
34848 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34850         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34851         of $(common-objpfx)shlib.lds.
34852         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34854         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34855         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34857         * configure.in (-z relro check): Adjust test code to add a large
34858         writable data section after it.
34859         * configure: Regenerated.
34861 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34863         * configure.in (-z relro check): Fix test code to make the variable
34864         truly const.
34865         * configure: Regenerated.
34867 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34869         * nscd/nscd.h (struct traced_file): Define.
34870         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34871         elements.  Add traced_files.
34872         (inotify_fd): Declare.
34873         (register_traced_file): Declare.
34874         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34875         (inotify_fd): Export.
34876         (resolv_conf_descr): Remove.
34877         (nscd_init): Move inotify descriptor creation to main.
34878         Don't register files for notification here.
34879         (register_traced_file): New function.
34880         (invalidate_cache): Don't use reset_res to determine whether to call
34881         res_init, go through the list of registered files.
34882         (main_loop_poll): The inotify descriptors are now stored in the
34883         structures for the traced files.
34884         (main_loop_epoll): Likewise
34885         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34886         to __nss_disable_nscd.
34887         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34888         for a database anymore.  Check the records for all the registered
34889         files instead.
34890         * nss/Makefile (libnss_files-routines): Add files-init.
34891         (libnss_db-routines): Add db-init.
34892         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34893         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34894         * nss/nss_db/db-init.c: New file.
34895         * nss/nss_files/files-init.c: New file.
34896         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34897         __nss_lookup_function.
34898         (__nss_lookup_function): Call nss_load_library.
34899         (nss_load_all_libraries): New function.
34900         (__nss_disable_nscd): Take parameter with callback function for files
34901         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34902         used for the cached services.
34903         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34904         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34905         options for features to all the files in nscd.
34907         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34909 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34911         * csu/elf-init.c (__libc_csu_init): Comment typo.
34913 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34915         * po/pl.po: Update from translation team.
34916         * po/ja.po: Likewise.
34917         * po/ru.po: Likewise.
34918         * po/ko.po: Likewise.
34919         * po/fr.po: Likewise.
34921 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34923         * configure.in (.ctors/.dtors header and trailer check):
34924         Use an empirical test on a built program.
34925         * configure: Regenerated.
34927         * configure.in (-z relro check): Use an empirical test on a built DSO.
34928         Detect, but do not require, on ia64.
34929         * configure: Regenerated.
34931         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34932         Update tests that use readelf to use $READELF instead.
34933         * configure: Regenerated.
34935 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34937         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34938         if the result is not used.
34940 2011-07-05  Andreas Jaeger  <aj@suse.de>
34942         [BZ#9696]
34943         * stdlib/tst-strtod.c: Add testcase.
34945 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34947         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34948         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34949         The latter has a higher limit.  Take additional parameter to pass to
34950         the new function.
34951         (__pathconf): Pass file to __statfs_link_max.
34952         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34953         __statfs_link_max.
34954         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34955         __statfs_link_max.
34957         [BZ #12868]
34958         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34959         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34960         Handle Lustre.
34961         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34962         (__statfs_filesize_max): Likewise.
34963         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34965 2011-07-05  Andreas Jaeger  <aj@suse.de>
34967         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34969 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34971         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34972         `status' variable.
34973         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34974         Likewise.
34976 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34978         * Makefile (strop-tests): Add strncat.
34979         * string/test-strncat.c: New file.
34981 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34983         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34985 2011-06-21  Andreas Jaeger  <aj@suse.de>
34987         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34988         Copy rule from iconvdata/Makefile.
34990 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34992         [BZ #12922]
34993         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34994         but no long options are defined, just return 'W'.
34996 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34998         [BZ #9696]
34999         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35001 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35003         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35004         netgroups to read.
35005         (innetgr): Likewise.
35007 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35009         * config.make.in (install_root): Default to $(DESTDIR).
35011 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35013         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35015 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35017         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35019         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35020         containing directory rather than embedding absolute directory names.
35022         * scripts/check-local-headers.sh: Rewritten using awk.
35023         Match by word, not by line.  Print error messages for matches.
35024         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35026         * Makerules [shlib-lds-flags empty]:
35027         ($(common-objpfx)libc_pic.opts): New target.
35028         ($(common-objpfx)libc_pic.os.clean): New target.
35029         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35031         * config.make.in (OBJCOPY): New variable.
35032         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35033         * configure: Regenerated.
35035         * config.make.in (use-default-link): New variable.
35036         * configure.in (use_default_link): Grok --with-default-link to set it.
35037         * configure: Regenerated.
35038         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35039         (shlib-lds, shlib-lds-flags): Define to empty.
35041         * Makerules (shlib-lds): New variable.
35042         (shlib-lds-flags): New variable.
35043         (build-shlib, build-moduile, build-module-asneeded): Use it.
35044         ($(common-objpfx)libc.so): Use $(shlib-lds).
35045         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35046         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35048         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35049         DT_FLAGS/DT_FLAGS_1 with zero flags.
35051         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35052         linker script munging.
35054 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35056         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35057         as 128-bit value.
35058         * crypt/sha512.c (sha512_process_block): Perform total addition using
35059         128-bit if possible.
35060         (__sha512_finish_ctx): Likewise.
35061         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35062         as 64-bit value.
35063         * crypt/sha256.c (SWAP64): Define.
35064         (sha256_process_block): Perform total addition using 64-bit if
35065         possible.
35066         (__sha256_finish_ctx): Likewise.
35068 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35070         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35071         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35072         * nscd/hstcache.c (cache_addhst): Likewise.
35073         * nscd/grpcache.c (cache_addgr): Likewise.
35074         * nscd/aicache.c (addhstaiX): Likewise
35075         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35077 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35079         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35080         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35081         * nscd/hstcache.c (cache_addhst): Likewise.
35082         * nscd/grpcache.c (cache_addgr): Likewise.
35083         * nscd/aicache.c (addhstaiX): Likewise
35085 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35087         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35088         domain only when needed.
35090 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35092         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35093         is always restored.
35095 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35097         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35098         are re-adding the entry.
35099         * nscd/servicescache.c (cache_addserv): Likewise.
35101 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35103         * sysdeps/generic/dl-irel.h: fix protection against multiple
35104         inclusions.
35105         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35107 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35109         [BZ #12935]
35110         * malloc/memusage.sh: Fix quoting in message.
35111         * debug/xtrace.sh: Likewise.
35113         * configure.in: Remove support for --experimental-malloc option, make
35114         it the default.
35115         * config.make.in: Likewise.
35116         * malloc/Makefile: Likewise.
35118 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35120         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35121         two-byte characters.
35123 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35125         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35126         AC_CACHE_CHECK invocation.
35127         * configure: Regenerated.
35129         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35131 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35133         [BZ #12350]
35134         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35135         bit from old_res_options.
35137         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35139         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35140         value type for setfct.
35142 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35144         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35145         __gettimeofday instead of gettimeofday.
35147 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35149         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35151 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35153         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35155         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35156         info.
35158 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35161         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35162         strcpy-sse2-unaligned strncpy-sse2-unaligned
35163         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35164         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35165         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35166         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35167         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35168         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35169         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35170         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35171         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35172         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35173         (STRCPY): Support SSE2 and SSSE3 versions.
35175 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35177         [BZ #12874]
35178         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35179         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35180         kernels which artificially limit size of requests.
35182 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35184         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35185         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35186         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35187         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35188         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35189         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35190         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35191         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35192         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35193         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35194         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35195         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35196         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35197         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35198         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35200         Enable unaligned load optimization for Intel Core i3, i5 and i7
35201         processors.
35202         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35203         Define.
35204         (index_Fast_Unaligned_Load): Define.
35205         (HAS_FAST_UNALIGNED_LOAD): Define.
35207 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35209         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35211 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35213         [BZ #12907]
35214         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35215         until it is clear that the information is realy needed.
35216         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35218 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35222 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35224         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35225         /sys/devices/system/cpu/online if it is usable.
35227         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35228         reading the information from the /proc filesystem to once a second.
35230 2011-06-21  Andreas Jaeger  <aj@suse.de>
35232         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35233         NULL after inclusion of kernel headers.
35235 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35237         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35238         calls to internal_setent.
35240         [BZ #12885]
35241         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35242         addresses using gethostbyname4_r ignore IPv4 addresses.
35244         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35245         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35247         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35249 2011-06-20  David S. Miller  <davem@davemloft.net>
35251         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35252         inclusions.
35253         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35255         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35256         (elf_irel): Use it.
35257         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35258         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35259         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35260         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35261         * sysdeps/x86_64/dl-irel.h: Likewise.
35263         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35264         * elf/dl-sym.c: Likewise.
35266 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35268         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35269         need to dereference resplen2.
35271 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35273         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35275 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35277         * Makeconfig: Define vardbdir and inst_vardbdir.
35278         * nss/Makefile: Add rules to install db-Makefile.
35280         * nss/nss_db/db-XXX.c: Cleanup.
35282         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35283         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35284         GLIBC_PRIVATE.
35285         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35286         * nss/makedb.c: Implement -g option to specify that value strings
35287         are generated and should not be added to table iterated over for
35288         get*ent calls.
35289         * nss/nss_db/db-initgroups.c: New file.
35291         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35292         interface.
35294         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35295         (internal_getgrouplist): Adjust to name change.
35296         Update use_initgroups_entry if this is not the first call.
35297         * nss/databases.def: Add initgroups entry.
35299         * nss/makedb.c (compute_tables): Check result of multiple hash table
35300         sizes to minimize maximum chain length.
35302 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35304         * Versions.def: Add entry for libnss_db.
35305         * shlib-versions: Likewise.
35306         * nss/Makefile: Add rules to build libnss_db.
35307         * nss/Versions: Add libnss_db information.  Organize libnss_files
35308         entries better.
35309         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35310         makedb progra.  Some minor improvements to generate smaller files.
35311         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35312         here from...
35313         * nss/makedb.c: ...here.
35314         Improve database format to be smaller and require less memory at
35315         runtime.
35316         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35317         db anymore.
35318         * nss/nss_db/db-netgrp.c: Likewise.
35319         * nss/nss_db/db-open.c: Likewise.
35320         * nss/nss_files/flies-XXX.x: Adjust comments.
35321         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35322         * nss/nss_files/files-grp.c: Likewise.
35323         * nss/nss_files/files-hosts.c: Likewise.
35324         * nss/nss_files/files-network.c: Likewise.
35325         * nss/nss_files/files-proto.c: Likewise.
35326         * nss/nss_files/files-pwd.c: Likewise.
35327         * nss/nss_files/files-rpc.c: Likewise.
35328         * nss/nss_files/files-service.c: Likewise.
35329         * nss/nss_files/files-sgrp.c: Likewise.
35330         * nss/nss_files/files-spwd.c: Likewise.
35331         * nss/nss_db/db-alias.c: Removed.
35332         * nss/nss_db/dummy-db.h: Removed.
35334 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35336         * nss/makedb.c: Rewritten to not use database library.
35337         * nss/Makefile: Update to build new makedb program.
35339 2011-06-14  Andreas Jaeger  <aj@suse.de>
35341         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35342         memset declaration.
35344 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35346         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35347         tmpbuf.
35349 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35351         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35352         * elf/Makefile ($(objpfx)ld.so): Likewise.
35354         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35355         Don't list ld.so twice in dependencies.
35357         * posix/bug-regex31.c: Include <stdlib.h>.
35359         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35361         * nis/nss_compat/compat-spwd.c
35362         (getspent_next_nss_netgr): Remove unused variable.
35363         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35365         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35366         nonmembers" output to use the right array.
35368         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35370         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35372         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35373         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35374         * catgets/gencat.c (read_input_file): Likewise.
35375         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35377         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35378         variable definition inside #if's controlling its use.
35380         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35382         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35384         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35386         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35387         unreachable code.
35389         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35391         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35392         * configure: Regenerated.
35394         * Makerules: Revert last change.
35395         * elf/Makefile: Likewise.
35397 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35399         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35400         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35401         (reloc-link): Likewise.
35403 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35405         * elf/Makefile: Add rules to build pldd.
35406         * elf/pldd.c: New file.
35407         * elf/pldd-xx.c: New file.
35409 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35411         * version.h: Update for 2.15 development version.
35413 2011-06-07  David S. Miller  <davem@davemloft.net>
35415         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35416         ifuncs.
35417         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35418         elf_machine_lazy_rel): Likewise.
35419         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35420         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35421         elf_machine_lazy_rel): Likewise.
35422         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35423         dl_hwcap via passed in argument.
35424         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35425         Likewise.
35427 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35429         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35431 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35433         [BZ #12849]
35434         * manual/fdl-1.1.texi: New file, verbatim from:
35435         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35436         * manual/lgpl-2.1.texi: New file, verbatim from:
35437         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35438         * manual/Makefile (licenses): New variable, list those new file names.
35439         (texis): Use it.
35440         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35442         * manual/fdl.texi: File removed.
35443         * manual/lesser.texi: File removed.
35444         * manual/libc.texinfo (Copying, Documentation License):
35445         Use new @include file names, put @appendix directive before @include.
35447 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35449         [BZ #12841]
35450         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35451         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35452         (mq_open): Add __NTH.
35454 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35457         Assume Intel Core i3/i5/i7 processor if AVX is available.
35459 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35461         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35462         typo.
35464 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35466         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35467         memory.  Use alloca_account.  Fix memory leak when retrying.
35469 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35471         * version.h (RELEASE): Bump for 2.14 release.
35472         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35474         * config.make.in (RANLIB): Remove entry.
35476 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35478         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35479         (libc.pot): Work around missing support for .ksh extension in xgettext.
35481         [BZ #12684]
35482         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35483         if both request failed.
35484         (send_dg): In case of server errors clear resplen or *resplen2.
35486         [BZ #12454]
35487         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35488         when there are multiple maps.
35489         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35490         (_dl_fini): Remove test here.
35492         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35494 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35496         [BZ #12350]
35497         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35498         bit from old_res_options.
35499         (gaih_inet): Likewise.
35501         [BZ #11099]
35502         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35503         as signed.
35505         * resolv/res_init.c (res_setoptions): Make the code more compact.
35507         [BZ #11558]
35508         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35509         set RES_USEVC.
35511         [BZ #11634]
35512         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35514         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35516         [BZ #11781]
35517         * malloc/malloc.h: Declare malloc hook variables as volatile.
35519         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35520         in last patch.
35522         [BZ #11799]
35523         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35524         raise in the comment.
35525         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35526         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35527         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35529 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35531         [BZ #12811]
35532         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35533         grow the buffers more if it already has to be sufficient.
35534         (build_wcs_upper_buffer): Likewise.
35535         * posix/regexec.c (check_matching): Likewise.
35536         (clean_state_log_if_needed): Likewise.
35537         (extend_buffers): Don't enlarge buffers beyond size of the input
35538         buffer.
35539         Patches mostly by Emil Wojak <emil@wojak.eu>.
35540         * posix/bug-regex32.c: New file.
35541         * posix/Makefile (tests): Add bug-regex32.
35543         * locale/findlocale.c (_nl_find_locale): Return right away if
35544         _nl_explode_name failed.
35545         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35547         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35549         * debug/xtrace.sh: Unify messages.
35550         * malloc/memusage.sh: Likewise.
35552         [BZ #12813]
35553         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35554         time symbol from vDSO.  Substitute with vsyscall if not available.
35555         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35556         __vdso_time.
35558         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35559         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35560         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35561         Add sendmmsg and internal_sendmmsg.
35562         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35563         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35564         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35566         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35567         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35568         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35570 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35572         [BZ #12813]
35573         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35574         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35575         available.
35576         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35577         __vdso_getcpu.
35579         [BZ #12814]
35580         * iconvdata/Makefile (tests): Add bug-iconv9.
35581         * iconvdata/bug-iconv9.c: New file.
35583 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35585         [BZ #12814]
35586         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35588 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35590         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35591         (struct user_regs_struct): Change intcs field back to cs.
35593 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35595         * po/ja.po: Update from translation team.
35597 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35599         [BZ #12795]
35600         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35601         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35603 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35605         * stdlib/longlong.h: Update from GCC.
35607 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35609         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35610         parameter name.
35611         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35612         Add parameter name.
35613         (__sysconf): Pass it down.
35615 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35617         [BZ #12671]
35618         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35619         some situations.
35620         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35621         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35622         add in in __libc_use_alloca calls.  Adjust callers.
35623         (glob): Use malloc in some situations.
35625         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35626         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35627         pltexit.
35629 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35631         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35632         and CLOCK_BOOTTIME_ALARM.
35634         [BZ #12782]
35635         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35636         is returned.
35638         * string/_strerror.c (__strerror_r): Print negative errors as signed
35639         numbers.
35641         [BZ #12777]
35642         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35643         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35644         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35646         * configure.in: Fix typo in redirection and correct removal of test
35647         files in two cases.
35649         [BZ #12788]
35650         * locale/setlocale.c (new_composite_name): Fix test to check for
35651         identical name of all categories.
35653         [BZ #12792]
35654         * libio/filedoalloc.c (local_isatty): New function.
35655         (_IO_file_doallocate): Use local_isatty.
35656         * stdio-common/perror.c (perror): In case a new stream is used
35657         forward the stream error.
35658         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35659         error flag.
35661 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35663         [BZ #11869]
35664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35665         alloca.
35666         * include/alloca.h (extend_alloca_account): Define.
35668         [BZ #11857]
35669         * posix/regex.h: Fix comments with documentation of user-accessible
35670         fields after compilation and describe correct free'ing of pattern
35671         after re_compile_pattern.
35672         Patch by Reuben Thomas <rrt@sc3d.org>.
35674 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35676         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35677         and -mno-altivec to prevent the compiler from using Altivec and/or
35678         VSX instructions when the corresponding registers are not available.
35680 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35682         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35684 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35686         * libio/freopen.c (freopen): Use __dup2, not dup2.
35687         * libio/freopen64.c (freopen64): Likewise.
35689 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35691         [BZ #12775]
35692         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35693         * math/Makefile (tests): Add test-powl.
35694         (CFLAGS-test-powl.c): Define.
35695         * math/test-powl.c: New file.
35697 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35699         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35701 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35703         [BZ #11837]
35704         * iconvdata/gb18030.c: Update to GB18020-2005.
35706 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35708         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35709         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35710         Patch by Aharon Robbins <arnold@skeeve.com>.
35712         [BZ #11892]
35713         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35714         on the stack.
35716         [BZ #11895]
35717         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35718         through underflows.
35720         [BZ #12766]
35721         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35722         point to strings before performing equality test for error_one_per_line
35723         mode.
35725         [BZ #11697]
35726         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35728         [BZ #11820]
35729         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35730         (struct user_fpregs_struct): Avoid __uint*_t types.
35732         [BZ #6420]
35733         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35734         symbol info.  Use it instead of calling _dl_addr locally.
35735         (lock_and_info): New function.
35736         (tr_freehook): Call lock_and_info and pass symbol info as additional
35737         parameter to tr_where.
35738         (tr_mallochook): Likewise.
35739         (tr_reallochook): Likewise.
35740         (tr_memalignhook): Likewise.
35742         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35743         used and couldn't be at all thread-safe.
35745 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35747         * libio/freopen.c (freopen): Don't close old file descriptor
35748         before the new one is opened.  Instead dup the new file descriptor
35749         to the old one after the new stream is created.
35750         * libio/freopen64.c (freopen64): Likewise.
35751         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35752         * libio/fileops.c (_IO_new_file_close_it): Handle new
35753         _IO_FLAGS2_NOCLOSE flag.
35754         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35755         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35756         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35757         _IO_FLAGS2_NOCLOSE flag.
35758         * include/unistd.h: Add hidden_proto for dup3.
35759         Define __have_dup3.
35760         * io/dup3.c: Define hidden symbol.
35761         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35763         [BZ #7101]
35764         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35765         when an incomplete long option is used.
35766         * posix/tst-getopt_long1.c: New file.
35767         * posix/Makefile (tests): Add tst-getopt_long1.
35769         [BZ #10138]
35770         * scripts/config.guess: Update from autoconf-2.68.
35771         * scripts/config.sub: Likewise.
35773         [BZ #10157]
35774         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35775         tests into ...
35776         (has_cpuclock): ...this.  New function.
35777         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35778         macro here based on has_cpuclock code.
35780         [BZ #10149]
35781         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35782         First byte (not low byte) is now always NUL.
35783         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35785         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35786         Use non-cancelable interfaces.
35788         [BZ #9809]
35789         * locale/iso-639.def: Add entry for Sorani.
35791         [BZ #11901]
35792         * include/stdlib.h: Move include protection to the right place.
35793         Define abort_msg_s.  Declare __abort_msg with it.
35794         * stdlib/abort.c (__abort_msg): Adjust type.
35795         * assert/assert.c (__assert_fail_base): New function.  Majority
35796         of code from __assert_fail.  Allocate memory for __abort_msg with
35797         mmap.
35798         (__assert_fail): Now call __assert_fail_base.
35799         * assert/assert-perr.c: Remove bulk of implementation.  Use
35800         __assert_fail_base.
35801         * include/assert.hL Declare __assert_fail_base.
35802         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35803         mmap.
35804         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35806 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35808         [BZ #11952]
35809         [BZ #12453]
35810         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35811         until all modules are registered in the DTV.
35812         * elf/Makefile: Add rules to build and run tst-tls19.
35813         * elf/tst-tls19.c: New file.
35814         * elf/tst-tls19mod1.c: New file.
35815         * elf/tst-tls19mod2.c: New file.
35816         * elf/tst-tls19mod3.c: New file.
35817         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35819         [BZ #12083]
35820         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35821         correctly.
35823         [BZ #12601]
35824         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35825         two-byte sequence errors.
35826         * iconvdata/Makefile (tests): Add bug-iconv8.
35827         * iconvdata/bug-iconv8.c: New file.
35829         [BZ #12626]
35830         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35831         buf2 definition.
35833         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35835         [BZ #12432]
35836         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35837         (dummy_getcfa): New function.
35838         (init): Get _Unwind_GetCFA address, use dummy if not found.
35839         (backtrace_helper): In recursion check, also check whether CFA changes.
35840         (__backtrace): Completely initialize arg.
35842         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35843         storing incomplete byte sequence in state object.  Avoid testing for
35844         guaranteed too small input if we know there is enough data available.
35846 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35848         * Makeconfig (+link-pie): Indent.
35849         * Rules (binaries-pie): Define if $(have-fpie) and
35850         $(build-shared).
35851         (binaries-shared): Also filter out $(binaries-pie).
35852         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35853         * nscd/Makefile (others-pie): Add nscd.
35854         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35855         ($(objpfx)nscd): Remove command override.
35856         * login/Makefile (others-pie): Add pt_chown.
35857         ($(objpfx)pt_chown): Remove command override.
35858         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35859         remove command overrides.
35861 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35863         * libio/tst_putwc.c: Fix error messages.
35865         [BZ #12724]
35866         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35867         currently writing and seek to current position when not.
35868         * libio/Makefile (tests): Add bug-fclose1.
35869         * libio/bug-fclose1.c: New file.
35871 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35873         [BZ #12511]
35874         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35875         don't set DF_1_NODELETE here.
35876         (do_lookup_x): When entering new entry test for copy relocation
35877         and if necessary set DF_1_NODELETE flag.
35878         * elf/tst-unique4.cc: New file.
35879         * elf/tst-unique4.h: New file.
35880         * elf/tst-unique4lib.cc: New file.
35881         * elf/Makefile: Add rules to build and run tst-unique4.
35882         Patch by Piotr Bury <pbury@goahead.com>.
35884 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35886         [BZ #12052]
35887         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35889         [BZ #12625]
35890         * misc/mntent_r.c (addmntent): Flush the stream after the output
35892         [BZ #12393]
35893         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35894         (is_trusted_path_normalize): Skip initial colon.  Append slash
35895         to empty buffer.  Duplicate is_trusted_path code but allow
35896         constructed patch to be prefix.
35897         (is_dst): Allow $ORIGIN followed by /.
35898         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35899         Correct testing of result of is_trusted_path_normalize
35900         (decompose_rpath): Fix warning.
35902 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35904         [BZ #11257]
35905         * grp/initgroups.c (internal_getgrouplist): When we found the service
35906         list through the initgroups entry in nsswitch.conf do not always
35907         continue on a successful lookup.  Don't always use the
35908         __nss_group_database value if it is set.
35909         * nss/nsswitch.conf (initgroups): Change action for successful db
35910         lookup to continue for compatibility.
35912 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35914         [BZ #11532]
35915         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35916         and CP774 modules.
35917         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35918         and CP774 modules.
35919         * iconvdata/tst-tables.sh: Likewise.
35920         * iconvdata/cp770.c: New file.
35921         * iconvdata/cp771.c: New file.
35922         * iconvdata/cp772.c: New file.
35923         * iconvdata/cp773.c: New file.
35924         * iconvdata/cp774.c: New file.
35925         * iconvdata/testdata/CP770: New file.
35926         * iconvdata/testdata/CP770..UTF8: New file.
35927         * iconvdata/testdata/CP771: New file.
35928         * iconvdata/testdata/CP771..UTF8: New file.
35929         * iconvdata/testdata/CP772: New file.
35930         * iconvdata/testdata/CP772..UTF8: New file.
35931         * iconvdata/testdata/CP773: New file.
35932         * iconvdata/testdata/CP773..UTF8: New file.
35933         * iconvdata/testdata/CP774: New file.
35934         * iconvdata/testdata/CP774..UTF8: New file.
35936         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35937         END CHARMAP line.
35938         * iconvdata/gen-8bit-gap.sh: Likewise.
35939         * iconvdata/gen-8bit.sh: Likewise.
35941         * locale/iso-639.def: Add ary entry.
35943         [BZ #11258]
35944         * locale/C-translit.h.in: Add U20A1 transliteration.
35946         [BZ #12178]
35947         * locale/iso-639.def: Add wae entry.
35948         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35950         [BZ #12545]
35951         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35952         for n.
35954         [BZ #12711]
35955         * locale/C-translit.h.in: Add entry for U20B9.
35956         Patch by pravin.d.s@gmail.com.
35958 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35960         [BZ #12713]
35961         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35962         ENAMETOOLONG use generic getcwd.
35963         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35964         in rtld.  Use *stat64.
35965         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35966         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35967         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35968         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35969         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35970         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35971         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35972         __fstatat64 macros.
35973         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35974         * dirent/rewinddir.c: Add libc_hidden_def.
35975         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35976         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35978         * include/dirent.h (__alloc_dir): Add flags parameter.
35979         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35980         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35981         __alloc_dir.
35982         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35983         from fdopendir if O_CLOEXEC is already set.
35985 2011-03-15  Alan Modra  <amodra@gmail.com>
35987         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35988         l_tls_firstbyte_offset non-zero.  Save padding offset in
35989         l_tls_firstbyte_offset for later use.
35990         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35991         freeing static tls block.
35993 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35995         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35996         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35997         being defined by the kernel headers.
35999 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36001         [BZ #12734]
36002         * resolv/resolv.h: Define RES_NOTLDQUERY.
36003         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36004         no-tld-query and set RES_NOTLDQUERY.
36005         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36006         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36007         modern BIND to search name as TLD unless forbidden.
36009 2011-05-07  Petr Baudis  <pasky@suse.cz>
36010             Ulrich Drepper  <drepper@gmail.com>
36012         [BZ #12393]
36013         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36014         (is_trusted_path): ...to here.
36015         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36016         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36017         using is_trusted_path_normalize() in setuid scripts.
36019 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36021         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36022         __BEGIN/__END_DECLS.
36024 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36026         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36027         NSS_STATUS_NOTFOUND if no record was found.
36029 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36031         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36032         (headers-not-in-tirpc): Remove rpc/netdb.h
36033         * resolv/netdb.h: Revert last change.
36035 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36037         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36038         circular dependency between libgcc.a and libc.a.
36040 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36042         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36043         * nis/Makefile: Don't install rpcsvc/*.
36044         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36045         instead of <rpc/types.h>.
36046         (MAXHOSTNAMELEN): Define.
36048 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36050         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36052 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36054         [BZ #12714]
36055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36056         gethostbyname4_r when IPv6 results are possible.
36058 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36060         [BZ #12723]
36061         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36062         _PC_PIPE_BUF handling.
36064 2011-04-30  Bruno Haible  <bruno@clisp.org>
36066         [BZ #12717]
36067         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36068         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36069         to 'int'.
36070         * inet/getnameinfo.c (getnameinfo): Likewise.
36072 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36074         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36075         to groups setting in database lookup.
36076         * nss/nsswitch.conf: Add initgroups entry.
36078 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36080         [BZ #12685]
36081         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36082         mode string.
36083         Patch by Eric Blake <eblake@redhat.com>.
36085 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36087         * sunrpc/Makefile (need-export-routines): Add svc_run.
36088         (routines): Remove svc_run.
36089         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36090         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36091         * sunrpc/svc_run.c (svc_run): Likewise.
36092         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36094 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36096         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36097         problem in reallocation in last patch.
36099 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36101         * sunrpc/Makefile: Move inclusion of Rules.
36103 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36105         * nss/nss_files/files-initgroups.c: New file.
36106         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36107         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36108         _nss_files_initgroups_dyn.
36110 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36112         * elf/elf.h (R_ARM_IRELATIVE): Define.
36114 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36116         * po/ru.po: Update from translation team.
36118 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36120         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36121         dependencies.
36123 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36125         [BZ #12653]
36126         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36127         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36128         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36129         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36130         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36132 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36134         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36135         differing bytes.
36136         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36137         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36138         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36140 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36142         [BZ #12420]
36143         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36144         storing it.
36145         * stdlib/bug-getcontext.c: New file.
36146         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36148 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36150         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36151         instructions into .machine "z9-109".
36152         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36153         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36155 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36157         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36158         between environment variables and auxiliary vector.
36160 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36162         * Makefile: Add rules to build linkobj/libc.so.
36163         * include/libc-symbols.h: Define libc_hidden_nolink.
36164         * include/rpc/auth.h: Mark functions which are to be hidden.
36165         * include/rpc/auth_des.h: Likewise.
36166         * include/rpc/auth_unix.h: Likewise.
36167         * include/rpc/clnt.h: Likewise.
36168         * include/rpc/des_crypt.h: Likewise.
36169         * include/rpc/key_prot.h: Likewise.
36170         * include/rpc/pmap_clnt.h: Likewise.
36171         * include/rpc/pmap_prot.h: Likewise.
36172         * include/rpc/pmap_rmt.h: Likewise.
36173         * include/rpc/rpc_msg.h: Likewise.
36174         * include/rpc/svc.h: Likewise.
36175         * include/rpc/svc_auth.h: Likewise.
36176         * include/rpc/xdr.h: Likewise.
36177         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36178         * nss/Makefile: Likewise.
36179         * sunrpc/Makefile: Don't install headers.  Build library with normal
36180         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36181         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36182         for the compat linking library.  Remove use of INTDEF/INTUSE.
36183         * sunrpc/auth_none.c: Likewise.
36184         * sunrpc/auth_unix.c: Likewise.
36185         * sunrpc/authdes_prot.c: Likewise.
36186         * sunrpc/authuxprot.c: Likewise.
36187         * sunrpc/clnt_gen.c: Likewise.
36188         * sunrpc/clnt_perr.c: Likewise.
36189         * sunrpc/clnt_raw.c: Likewise.
36190         * sunrpc/clnt_simp.c: Likewise.
36191         * sunrpc/clnt_tcp.c: Likewise.
36192         * sunrpc/clnt_udp.c: Likewise.
36193         * sunrpc/clnt_unix.c: Likewise.
36194         * sunrpc/des_crypt.c: Likewise.
36195         * sunrpc/des_soft.c: Likewise.
36196         * sunrpc/get_myaddr.c: Likewise.
36197         * sunrpc/key_call.c: Likewise.
36198         * sunrpc/key_prot.c: Likewise.
36199         * sunrpc/netname.c: Likewise.
36200         * sunrpc/pm_getmaps.c: Likewise.
36201         * sunrpc/pm_getport.c: Likewise.
36202         * sunrpc/pmap_clnt.c: Likewise.
36203         * sunrpc/pmap_prot.c: Likewise.
36204         * sunrpc/pmap_prot2.c: Likewise.
36205         * sunrpc/pmap_rmt.c: Likewise.
36206         * sunrpc/publickey.c: Likewise.
36207         * sunrpc/rpc_cmsg.c: Likewise.
36208         * sunrpc/rpc_common.c: Likewise.
36209         * sunrpc/rpc_dtable.c: Likewise.
36210         * sunrpc/rpc_prot.c: Likewise.
36211         * sunrpc/rpc_thread.c: Likewise.
36212         * sunrpc/rtime.c: Likewise.
36213         * sunrpc/svc.c: Likewise.
36214         * sunrpc/svc_auth.c: Likewise.
36215         * sunrpc/svc_authux.c: Likewise.
36216         * sunrpc/svc_raw.c: Likewise.
36217         * sunrpc/svc_run.c: Likewise.
36218         * sunrpc/svc_simple.c: Likewise.
36219         * sunrpc/svc_tcp.c: Likewise.
36220         * sunrpc/svc_udp.c: Likewise.
36221         * sunrpc/svc_unix.c: Likewise.
36222         * sunrpc/svcauth_des.c: Likewise.
36223         * sunrpc/xcrypt.c: Likewise.
36224         * sunrpc/xdr.c: Likewise.
36225         * sunrpc/xdr_array.c: Likewise.
36226         * sunrpc/xdr_float.c: Likewise.
36227         * sunrpc/xdr_intXX_t.c: Likewise.
36228         * sunrpc/xdr_mem.c: Likewise.
36229         * sunrpc/xdr_rec.c: Likewise.
36230         * sunrpc/xdr_ref.c: Likewise.
36231         * sunrpc/xdr_sizeof.c: Likewise.
36232         * sunrpc/xdr_stdio.c: Likewise.
36234 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36236         [BZ #12650]
36237         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36238         * sysdeps/ia64/dl-tls.h: Likewise.
36239         * sysdeps/powerpc/dl-tls.h: Likewise.
36240         * sysdeps/s390/dl-tls.h: Likewise.
36241         * sysdeps/sh/dl-tls.h: Likewise.
36242         * sysdeps/sparc/dl-tls.h: Likewise.
36243         * sysdeps/x86_64/dl-tls.h: Likewise.
36244         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36246 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36248         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36249         rpath element also skip the following colon.
36250         (expand_dynamic_string_token): Add is_path parameter and pass
36251         down to DL_DST_REQUIRED and _dl_dst_substitute.
36252         (decompose_rpath): Call expand_dynamic_string_token with
36253         non-zero is_path.  Ignore empty rpaths.
36254         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36255         with zero is_path.
36257 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36260         Make cancelable.
36262 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36264         [BZ #12655]
36265         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36266         Patch by Filipe David Manana <fdmanana@apache.org>.
36268 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36270         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36271         Maintain aligned stack.
36272         (CHECK_RSP): Remove unused macro.
36274 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36276         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36277         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36279 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36281         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36283         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36285 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36287         [BZ #12518]
36288         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36289         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36290         * sysdeps/x86_64/memmove.c: New file.
36291         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36292         (memcpy): Renamed to ...
36293         (__new_memcpy): This.
36294         (memcpy): Provide GLIBC_2_14 memcpy.
36295         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36296         (memcpy): Provide GLIBC_2_2_5 memcpy.
36298 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36300         [BZ #12631]
36301         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36303 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36305         * misc/syncfs.c: New file.
36306         * misc/Makefile (routines): Add syncfs.
36307         * posix/unistd.h: Declare syncfs.
36308         * sysdeps/unix/syscalls.list: Add syncfs.
36310 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36312         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36313         open_by_handle_at.
36314         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36315         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36316         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36317         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36318         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36319         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36320         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36322 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36324         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36325         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36326         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36327         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36328         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36330         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36332         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36333         sync_file_range.c with -fexceptions.
36334         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36335         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36336         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36337         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36338         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36339         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36340         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36341         sync_file_range as cancellation point
36342         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36343         now a wrapper around __call_sync_file_range with cancellation handling.
36344         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36345         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36346         function name to __call_sync_file_range.
36347         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36348         Add call_sync_file_range.
36350 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36353         bits/timex.h.
36355 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36357         * iconv/iconv.h: Fix typo in comment.
36358         * io/fcntl.h: Likewise.
36359         * libio/stdio.h: Likewise.
36360         * posix/spawn.h: Likewise.
36361         * posix/unistd.h: Likewise.
36362         * stdlib/stdlib.h: Likewise.
36363         * time/time.h: Likewise.
36364         * wcsmbs/wchar.h: Likewise.
36366         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36367         open_by_handle): Add.
36368         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36369         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36370         Augment a few comments.
36371         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36372         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36373         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36374         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36375         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36376         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36377         open_by_handle.
36379         * io/fcntl.h (AT_EMPTY_PATH): Define.
36381 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36383         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36384         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36385         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36386         to...
36387         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36388         * Versions.def: Add GLIBC_2.14.
36389         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36390         Export.
36392 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36394         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36395         round counter.
36396         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36398 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36400         [BZ #12597]
36401         * string/test-strncmp.c (do_page_test): New function.
36402         (check2): Likewise.
36403         (test_main): Call check2.
36404         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36406 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36408         [BZ #12587]
36409         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36410         Handle cache information in CPU leaf 4.
36411         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36413 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36415         [BZ #12583]
36416         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36417         character representation.
36418         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36420 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36422         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36423         END(__isnan) to END(__isnanf) to match function entry point/label
36424         EALIGN(__isnanf,...).
36426 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36428         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36430 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36432         [BZ #12510]
36433         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36434         copy from the symbol referenced in the relocation to initialize the
36435         used variable.
36436         Patch by Piotr Bury <pbury@goahead.com>.
36437         * elf/Makefile: Add rules to build and tst-unique3.
36438         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36439         * elf/tst-unique3.cc: New file.
36440         * elf/tst-unique3.h: New file.
36441         * elf/tst-unique3lib.cc: New file.
36442         * elf/tst-unique3lib2.cc: New file.
36444         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36446 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36448         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36449         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36450         to _start.
36452 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36454         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36455         to-be-loaded object along a path to loader is ld.so.
36457 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36458             Ulrich Drepper  <drepper@gmail.com>
36460         * sysdeps/x86_64/memset.S: After aligning destination, code
36461         branches to different locations depending on the value of
36462         misalignment, when multiarch is enabled. Fix this.
36464 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36466         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36467         Set _x86_64_preferred_memory_instruction for AMD processsors.
36468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36469         Set bit_Prefer_SSE_for_memop for AMD processors.
36471 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36473         * libio/fmemopen.c (fmemopen): Optimize a bit.
36475 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36477         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36479 2011-03-03  Roland McGrath  <roland@redhat.com>
36481         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36483 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36485         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36486         __bzero_ultra1 instead of __memset_ultra1.
36488 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36489             Ulrich Drepper  <drepper@gmail.com>
36491         [BZ #12509]
36492         * include/link.h (struct link_map): Add l_orig_initfini.
36493         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36494         returning unsuccessfully.
36495         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36496         close of a file loaded at startup, restore the original l_initfini
36497         list.
36498         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36499         list, store the pointer.
36500         * elf/Makefile ($(objpfx)noload-mem): New rule.
36501         (noload-ENV): Define.
36502         (tests): Add $(objpfx)noload-mem.
36503         * elf/noload.c: Include <memcheck.h>.
36504         (main): Call mtrace.  Close all opened handles.
36506 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36508         [BZ #12454]
36509         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36510         dependencies are missing.
36512 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36514         Fix __if_freereq crash: Unlike the generic version which uses free,
36515         Hurd needs munmap.
36516         * sysdeps/mach/hurd/ifreq.h: New file.
36518 2011-01-27  Petr Baudis  <pasky@suse.cz>
36519             Ulrich Drepper  <drepper@gmail.com>
36521         [BZ 12445]#
36522         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36523         to extend_alloca().
36524         * stdio-common/bug23.c: New file.
36525         * stdio-common/Makefile (tests): Add bug23.
36527 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36528             Ulrich Drepper  <drepper@gmail.com>
36530         [BZ #12489]
36531         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36532         before performing relro protection.  At old place add assertion
36533         to make sure nothing changed.
36535 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36536             Glauber de Oliveira Costa  <glommer@gmail.com>
36538         * elf/elf.h: Add new ARM TLS relocs.
36540 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36543         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36544         cast from r3.
36545         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36546         'tests' variable.
36547         * sysdeps/wordsize-64/tst-writev.c: New file.
36549 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36551         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36552         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36553         insns in _dl_start to prevent a TOC reference before relocs are
36554         resolved.
36556 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36558         [BZ #12469]
36559         * Makeconfig: Remove RANLIB definition.
36560         * Makerules: Don't use RANLIB.
36561         * aclocal.m4: Remove ranlib test.
36562         * configure.in: No need to check for ranlib.
36563         * elf/rtld-Rules: Don't use RANLIB.
36565 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36567         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36568         protection macro.
36569         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36570         inclusion protection macro.
36572         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36573         SIGRTMIN and SIGRTMAX and print information in that case only when
36574         SIGRTMIN is defined.
36576 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36578         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36579         arginfo fn returning -1.
36581         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36582         and thousands string is zero terminated.
36584 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36586         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36587         sysdeps/unix/sysv/linux/bits/socket.h.
36589 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36591         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36592         (__CPU_COUNT): Remove old macros.
36593         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36594         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36595         (__CPU_ALLOC, __CPU_FREE): Add macros.
36596         (__sched_cpualloc, __sched_cpufree): Add declarations.
36598 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36600         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36601         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36602         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36603         (readdhstai): Return value of addhstaiX call.
36604         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36605         (addgrbyX): Return value returned by cache_addgr.
36606         (readdgrbyname): Return value returned by addgrbyX.
36607         (readdgrbygid): Likewise.
36608         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36609         (addpwbyX): Return value returned by cache_addpw.
36610         (readdpwbyname): Return value returned by addhstbyX.
36611         (readdpwbyuid): Likewise.
36612         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36613         (addservbyX): Return value returned by cache_addserv.
36614         (readdservbyname): Return value returned by addservbyX:
36615         (readdservbyport): Likewise.
36616         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36617         (addhstbyX): Return value returned by cache_addhst.
36618         (readdhstbyname): Return value returned by addhstbyX.
36619         (readdhstbyaddr): Likewise.
36620         (readdhstbynamev6): Likewise.
36621         (readdhstbyaddrv6): Likewise.
36622         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36623         (readdinitgroups): Return value returned by addinitgroupsX.
36624         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36625         (prune_cache): Keep track of timeout value of re-added entries.
36626         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36627         * nscd/nscd.h: Adjust prototypes of readd* functions.
36629 2011-02-04  Roland McGrath  <roland@redhat.com>
36631         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36632         (nis_stats): Likewise.
36633         * nis/nis_modify.c (nis_modify): Likewise.
36634         * nis/nis_remove.c (nis_remove): Likewise.
36635         * nis/nis_add.c (nis_add): Likewise.
36637         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36639         * posix/fnmatch_loop.c: Add some consts.
36641         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36643 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36645         [BZ #12460]
36646         * config.make.in (config-cflags-novzeroupper): Define.
36647         * configure.in: Substitute libc_cv_cc_novzeroupper.
36648         * elf/Makefile (AVX-CFLAGS): Define.
36649         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36650         (CFLAGS-tst-auditmod4a.c): Likewise.
36651         (CFLAGS-tst-auditmod4b.c): Likewise.
36652         (CFLAGS-tst-auditmod6b.c): Likewise.
36653         (CFLAGS-tst-auditmod6c.c): Likewise.
36654         (CFLAGS-tst-auditmod7b.c): Likewise.
36655         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36657 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36659         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36660         function to the callback.
36661         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36663 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36665         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36666         of errno.
36668 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36670         [BZ #11724]
36671         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36672         of constructors.
36673         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36674         of destructors.
36675         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36677         [BZ #11724]
36678         * elf/Makefile: Add rules to build and run new test.
36679         * elf/tst-initorder.c: New file.
36680         * elf/tst-initorder.exp: New file.
36681         * elf/tst-initordera1.c: New file.
36682         * elf/tst-initordera2.c: New file.
36683         * elf/tst-initordera3.c: New file.
36684         * elf/tst-initordera4.c: New file.
36685         * elf/tst-initorderb1.c: New file.
36686         * elf/tst-initorderb2.c: New file.
36687         * elf/tst-order-a1.c: New file.
36688         * elf/tst-order-a2.c: New file.
36689         * elf/tst-order-a3.c: New file.
36690         * elf/tst-order-a4.c: New file.
36691         * elf/tst-order-b1.c: New file.
36692         * elf/tst-order-b2.c: New file.
36693         * elf/tst-order-main.c: New file.
36694         New test case by George Gensure <werkt0@gmail.com>.
36696 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36699         decoding ACE if AI_CANONIDN.
36701 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36703         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36705 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36707         * version.h (RELEASE): Bump for 2.13 release.
36708         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36710         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36712         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36713         MADV_NOHUGEPAGE.
36714         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36715         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36716         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36717         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36718         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36719         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36721         * posix/getconf.c: Update copyright year.
36722         * catgets/gencat.c: Likewise.
36723         * csu/version.c: Likewise.
36724         * debug/catchsegv.sh: Likewise.
36725         * debug/xtrace.sh: Likewise.
36726         * elf/ldconfig.c: Likewise.
36727         * elf/ldd.bash.in: Likewise.
36728         * elf/sprof.c (print_version): Likewise.
36729         * iconv/iconv_prog.c: Likewise.
36730         * iconv/iconvconfig.c: Likewise.
36731         * locale/programs/locale.c: Likewise.
36732         * locale/programs/localedef.c: Likewise.
36733         * malloc/memusage.sh: Likewise.
36734         * malloc/mtrace.pl: Likewise.
36735         * nscd/nscd.c (print_version): Likewise.
36736         * nss/getent.c: Likewise.
36738         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36739         PF_CAIF, and PF_ALG.
36740         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36742 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36744         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36745         (modules-names): Use them.
36746         (ifunc-test-modules, ifunc-pie-tests): Define.
36747         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36748         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36749         (test-extras): Likewise.
36750         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36751         $(compile-command.c).
36752         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36753         (all-built-dso): Define.
36754         (check-textrel.out, check-execstack.out): Depend on it.
36756         * configure.in: Don't override --enable-multi-arch.
36758 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36760         [BZ #6812]
36761         * nscd/hstcache.c (tryagain): Define.
36762         (cache_addhst): Return tryagain not notfound for temporary errors.
36763         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36764         failed.
36766 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36768         [BZ #10563]
36769         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36770         to make the syscall.
36771         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36773         [BZ #12378]
36774         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36775         and fall back to matching as normal character if the string ends before
36776         the matching ']' is found.  This is what POSIX requires.
36777         * posix/testfnm.c: Adjust test result.
36778         * posix/globtest.sh: Adjust test result.  Add new test.
36779         * posix/tst-fnmatch.input: Likewise.
36780         * posix/tst-fnmatch2.c: Add new test.
36782 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36784         * elf/Makefile (check-execstack): Revert last change.  Depend on
36785         check-execstack.h.
36786         (check-execstack.h): New target.
36787         (generated): Add check-execstack.h.
36788         * elf/check-execstack.c: Include "check-execstack.h".
36789         (main): Revert last change.
36790         (handle_file): Return zero if GNU_STACK is absent and
36791         DEFAULT_STACK_PERMS doesn't include PF_X.
36793 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36795         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36796         in child fails because the descriptor is already closed.
36797         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36798         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36799         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36801         [BZ #12397]
36802         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36803         syscall.
36805         [BZ #10484]
36806         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36807         temporary buffer used to handle multi lookups locally.
36808         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36810 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36812         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36813         loader is ld.so.
36815 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36817         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36818         alignment for SSE2.
36820 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36822         [BZ #12394]
36823         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36824         characters.  When rounding increased number of integer digits recompute
36825         number of groups.
36826         * stdio-common/tst-grouping.c: New file.
36827         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36829 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36831         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36832         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36834         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36835         void.
36836         * bits/select.h: Likewise.
36838 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36840         * po/ja.po: Update from translation team.
36842 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36844         [BZ #11155]
36845         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36846         implementation just like for lxstat, fxstatat, et al.
36848 2010-12-27  Jim Meyering  <meyering@redhat.com>
36850         [BZ #12348]
36851         * posix/regexec.c (build_trtable): Return failure indication upon
36852         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36854 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36856         [BZ #12201]
36857         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36858         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36859         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36860         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36862         [BZ #12207]
36863         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36865         [BZ #12204]
36866         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36867         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36869 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36871         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36872         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36873         script has SORT_BY_INIT_PRIORITY.
36874         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36875         NO_CTORS_DTORS_SECTIONS is defined.
36876         * elf/soinit.c: Likewise.
36877         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36878         NO_CTORS_DTORS_SECTIONS is defined.
36879         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36880         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36881         * sysdeps/sh/init-first.c: Likewise.
36882         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36884 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36886         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36887         always use the slow path.
36889 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36891         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36892         similar rule which adds the sysdep directories to the header search in
36893         order to pick up the correct platform stackinfo.h.
36894         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36895         perform test if it is, otherwise return successfully without testing.
36896         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36897         DEFAULT_STACK_PERMS define in stackinfo.h.
36898         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36899         defined in stackinfo.h.
36900         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36901         DEFAULT_STACK_PERMS defined in stackinfo.h.
36902         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36903         * sysdeps/ia64/stackinfo.h: Likewise.
36904         * sysdeps/s390/stackinfo.h: Likewise.
36905         * sysdeps/sh/stackinfo.h: Likewise.
36906         * sysdeps/sparc/stackinfo.h: Likewise.
36907         * sysdeps/x86_64/stackinfo.h: Likewise.
36908         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36909         PF_X for powerpc64.  Retain PF_X for powerpc32.
36911 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36913         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36914         accurately.
36915         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36916         GETDENTS_64BIT_ALIGNED.
36918 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36920         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36922 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36924         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36925         _GNU_SOURCE.
36927         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36928         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36929         Remove __restrict.
36930         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36931         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36933 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36935         [BZ #11655]
36936         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36937         are initialized.
36939 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36941         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36943 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36945         * po/it.po: Update from translation team.
36947 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36949         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36950         unused codes.
36952 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36954         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36956 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36958         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36959         specially.
36960         (gaih_getanswer_slice): Likewise.
36962 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36966 2010-05-31  Petr Baudis  <pasky@suse.cz>
36968         [BZ #11149]
36969         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36970         silently even in the chroot mode.
36972 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36974         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36975         last patch a bit.  Pretty printing
36977 2010-05-31  Petr Baudis <pasky@suse.cz>
36979         [BZ #10085]
36980         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36981         initialization of skip_initgroups_dyn.
36983 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36985         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36986         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36988 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36990         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36992 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36994         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36995         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36996         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36997         ($(objpfx)tst-fnmatch-mem): New rule.
36998         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36999         * posix/tst-fnmatch.c (main): Call mtrace.
37001 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37004         Support Intel processor model 6 and model 0x2c.
37006 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37008         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37009           signed comparison.
37011 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37013         [BZ #12205]
37014         * string/test-strncasecmp.c (check_result): New function.
37015         (do_one_test): Use it.
37016         (check1): New function.
37017         (test_main): Use it.
37018         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37019         Support strcasecmp and strncasecmp.
37021 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37023         [BZ #12194]
37024         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37025         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37027 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37029         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37030         IFUNC support.
37031         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37032         memset-x86-64.
37033         * sysdeps/x86_64/multiarch/bzero.S: New file.
37034         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37035         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37036         * sysdeps/x86_64/multiarch/memset.S: New file.
37037         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37039         Set bit_Prefer_SSE_for_memop for Intel processors.
37040         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37041         Define.
37042         (index_Prefer_SSE_for_memop): Define.
37043         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37045 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37047         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37048         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37050 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37052         [BZ #12191]
37053         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37054         (__x86_64_raw_data_cache_size_half): Likewise.
37055         (__x86_64_raw_shared_cache_size): Likewise.
37056         (__x86_64_raw_shared_cache_size_half): Likewise.
37058         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37059         (__x86_64_raw_data_cache_size_half): Likewise.
37060         (__x86_64_raw_shared_cache_size): Likewise.
37061         (__x86_64_raw_shared_cache_size_half): Likewise.
37062         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37063         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37064         and __x86_64_raw_shared_cache_size_half.  Round
37065         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37066         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37067         to multiple of 256 bytes.
37069 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37071         [BZ #12167]
37072         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37073         of inacessible symlinks.  Verify result of symlink before returning it.
37074         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37075         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37077 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37079         * math/math.h (isinf): Fix typo in comment.
37081 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37083         * po/da.po: Update from translation team.
37085 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37087         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37088         is added to the list.
37090 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37091             Ulrich Drepper  <drepper@gmail.com>
37093         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37094         the global list here.  Move code to...
37095         (_dl_add_to_namespace_list): ...here.  New function.
37096         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37097         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37098         * elf/dl-load.c (lose): Don't remove the element from the list.
37099         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37100         (_dl_map_object): Likewise.
37102 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37104         [BZ #12159]
37105         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37106         into all bytes of SSE register.
37107         Patch by Richard Li <richardpku@gmail.com>.
37109 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37111         [BZ #12140]
37112         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37113         perturbing.
37115 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37117         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37118         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37119         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37120         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37122         submachine.
37123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37125 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37127         * include/dlfcn.h (__RTLD_SECURE): Define.
37128         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37129         mode & __RTLD_SECURE instead.
37130         (open_path): Rename preloaded parameter to secure.
37131         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37132         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37133         * elf/dl-deps.c (openaux): Likewise.
37134         * elf/rtld.c (struct map_args): Remove is_preloaded.
37135         (map_doit): Don't use it.
37136         (dl_main): Likewise.
37137         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37138         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37140 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37142         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37143         (sysd-rules-targets): Remove duplicates.
37144         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37145         rtld-%.$o dependency.
37147 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37149         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37150         _dl_map_object do it.
37152 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37154         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37155         fast fma builtins, define the macros in the C99 standard.
37156         (FP_FAST_FMAF): Likewise.
37157         (FP_FAST_FMAL): Likewise.
37158         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37160         * bits/mathdef.h: Update copyright year.
37161         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37163 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37165         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37166         builtins, define the macros in the C99 standard.
37167         (FP_FAST_FMAF): Likewise.
37168         (FP_FAST_FMAL): Likewise.
37169         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37170         multiply/add.
37171         (FP_FAST_FMAF): Likewise.
37173 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37175         [BZ #3268]
37176         * math/libm-test.inc (fma_test): Some new testcases.
37177         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37178         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37179         y and infinite z.  Do multiplication by C already in long double.
37180         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37182         y and infinite z.  Do bitwise or of inexact bit into u.d.
37183         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37184         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37185         * sysdeps/i386/fpu/s_fma.S: Removed.
37186         * sysdeps/i386/fpu/s_fmal.S: Removed.
37188 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37190         [BZ #3268]
37191         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37192         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37193         computation is not scheduled after fetestexcept.  Fix value
37194         of minimum denormal long double.
37196 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37198         [BZ #3268]
37199         * math/libm-test.inc (fma_test): Add some more tests.
37200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37201         correctly.
37203 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37205         * scripts/data/localplt-s390-linux-gnu.data: New file.
37206         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37208 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37210         [BZ #3268]
37211         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37212         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37213         instead of dbl-64.
37214         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37215         inlines.
37216         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37218         if one of x and y is very large and the other is subnormal.
37219         * sysdeps/s390/fpu/s_fmaf.c: New file.
37220         * sysdeps/s390/fpu/s_fma.c: New file.
37221         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37222         * sysdeps/powerpc/fpu/s_fma.S: New file.
37223         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37224         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37225         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37227 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37229         [BZ #3268]
37230         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37231         fma tests.
37232         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37233         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37234         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37235         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37236         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37237         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37238         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37240 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37242         [BZ #12078]
37243         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37244         * posix/bug-regex31.input: Add test case.
37246 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37248         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37249         * posix/bug-regex31.input: New file.
37251         [BZ #12078]
37252         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37253         (parse_sub_exp): Fix last change, use postorder.
37255         * posix/bug-regex31.c: New file.
37256         * posix/Makefile: Add rules to build and run bug-regex31.
37258         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37260         [BZ #12078]
37261         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37263         [BZ #12108]
37264         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37265         to have entries in sys_siglist.
37267         [BZ #12093]
37268         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37269         be NULL.
37271 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37273         [BZ #3268]
37274         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37275         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37276         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37277         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37278         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37279         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37280         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37281         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37282         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37283         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37284         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37285         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37286         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37287         * math/ftestexcept.c (fetestexcept): Likewise.
37288         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37289         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37290         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37291         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37292         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37293         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37294         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37296 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37298         [BZ #12107]
37299         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37300         newline.
37302 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37304         * string/bug-strstr1.c: New file.
37305         * string/Makefile: Add rules to build and run bug-strstr1.
37307 2010-10-05  Eric Blake  <eblake@redhat.com>
37309         [BZ #12092]
37310         * string/str-two-way.h (two_way_long_needle): Always clear memory
37311         when skipping input due to the shift table.
37313 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37315         [BZ #12005]
37316         * malloc/mcheck.c: Handle large requests.
37318         [BZ #12077]
37319         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37320         for strncmp and strncasecmp.
37321         * string/stratcliff.c: Add tests for strcmp and strncmp.
37322         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37324 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37326         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37327         __set_fpscr.
37329 2010-09-30  Andreas Jaeger  <aj@suse.de>
37331         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37332         (CGROUP_SUPER_MAGIC): Define.
37333         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37334         Handle btrfs and cgroup file systems.
37335         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37336         Likewise.
37338 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37340         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37341         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37343 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37345         [BZ #12067]
37346         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37347         trying to locate the ELF header.
37349 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37351         [BZ #11611]
37352         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37353         Mask out sign-bit copies when constructing f_fsid.
37355 2010-09-24  Petr Baudis <pasky@suse.cz>
37357         * debug/stack_chk_fail_local.c: Add missing licence exception.
37358         * debug/warning-nop.c: Likewise.
37360 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37362         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37363         implementing getdents64 using getdents syscall, set d_type if
37364         __ASSUME_GETDENTS32_D_TYPE.
37366 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37368         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37369         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37371 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37373         [BZ #12037]
37374         * posix/unistd.h: Undo change of feature selection for ftruncate from
37375         2010-01-11.
37377 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37379         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37380         detection.
37382 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37384         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37385         fanotify_mark.
37386         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37388 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37390         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37391         variables after CHECK_SP call.
37392         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37394 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37395             Ulrich Drepper  <drepper@redhat.com>
37397         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37398         re-relocationg ld.so.
37399         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37400         _dl_init_paths call.
37401         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37402         here anymore.
37404 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37406         * resolv/res_init.c (__res_vinit): Count the default server we added.
37408 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37409             Ulrich Drepper  <drepper@redhat.com>
37411         [BZ #11968]
37412         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37413         (____longjmp_chk): Use %ebx for saving value across system call.
37414         Add unwind info.
37416 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37418         * manual/Makefile: Don't mix pattern rules with normal rules.
37420 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37422         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37423         operation.
37424         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37425         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37426         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37427         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37428         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37429         Likewise.
37431 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37433         [BZ #11979]
37434         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37435         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37437 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37439         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37440         * sysdeps/x86_64/addmul_1.S: Likewise.
37441         * sysdeps/x86_64/lshift.S: Likewise.
37442         * sysdeps/x86_64/mul_1.S: Likewise.
37443         * sysdeps/x86_64/rshift.S: Likewise.
37444         * sysdeps/x86_64/sub_n.S: Likewise.
37445         * sysdeps/x86_64/submul_1.S: Likewise.
37447 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37449         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37450         Define __sched_param instead of SCHED_* and sched_param when
37451         <bits/sched.h> is included with __need_schedparam defined.
37452         * bits/sched.h [__need_schedparam]
37453         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37454         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37455         (__defined_schedparam): Define to 1.
37456         (__sched_param): New structure, identical to sched_param.
37457         (__need_schedparam): Undefine.
37459 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37461         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37462         (epoll_create1): Declare.
37464         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37466 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37468         [BZ #7066]
37469         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37470         shifting retval into place.
37472 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37474         * nis/rpcsvc/nis.h: Update copyright notice.
37475         * nis/rpcsvc/nis.x: Likewise.
37476         * nis/rpcsvc/nis_callback.h: Likewise.
37477         * nis/rpcsvc/nis_callback.x: Likewise.
37478         * nis/rpcsvc/nis_object.x: Likewise.
37479         * nis/rpcsvc/nis_tags.h: Likewise.
37480         * nis/rpcsvc/yp.h: Likewise.
37481         * nis/rpcsvc/yp.x: Likewise.
37482         * nis/rpcsvc/ypupd.h: Likewise.
37483         * nis/yp_xdr.c: Likewise.
37484         * nis/ypupdate_xdr.c: Likewise.
37486         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37487         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37488         (pmap_getport): Use __libc_rpc_getport.
37489         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37490         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37491         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37493 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37496         fanotify_mark.
37498 2010-08-27  Roland McGrath  <roland@redhat.com>
37500         * sysdeps/i386/i686/multiarch/Makefile
37501         (CFLAGS-varshift.c): New variable.
37503 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37505         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37506         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37508         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37510         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37512 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37514         * sysdeps/x86_64/strlen.S: Unroll the loop.
37515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37516         strlen-sse2 strlen-sse2-bsf.
37517         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37518         __strlen_no_bsf if bit_Slow_BSF is set.
37519         (__strlen_sse42): Removed.
37520         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37521         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37523 2010-08-25  Roland McGrath  <roland@redhat.com>
37525         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37526         * sysdeps/x86_64/multiarch/varshift.c: New file.
37527         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37528         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37529         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37530         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37532 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37534         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37535         strlen-sse2 strlen-sse2-bsf.
37536         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37537         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37538         (__strlen_sse2): Removed.
37539         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37540         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37542         bit_Slow_BSF for Atom.
37543         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37544         (index_Slow_BSF): Define.
37545         (HAS_SLOW_BSF): Define.
37547 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37549         [BZ #10851]
37550         * resolv/res_init.c (__res_vinit): When no server address at all
37551         is given default to loopback.
37553 2010-08-24  Roland McGrath  <roland@redhat.com>
37555         * configure.in: Remove config-name.h generation.
37556         * configure: Regenerated.
37557         * config-name.in: File removed.
37558         * scripts/config-uname.sh: New file.
37559         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37560         ($(objdir)config-name.h): New target.
37562         * sunrpc/rpc_parse.h: Avoid nested comment.
37564 2010-08-24  Richard Henderson  <rth@redhat.com>
37565             Ulrich Drepper  <drepper@redhat.com>
37566             H.J. Lu  <hongjiu.lu@intel.com>
37568         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37570         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37571         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37572         _mm_alignr_epi8 with _mm_loadu_si128.
37573         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37574         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37575         (__m128i_shift_right): Removed.
37576         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37577         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37578         * sysdeps/x86_64/multiarch/varshift.h: New file.
37579         * sysdeps/x86_64/multiarch/varshift.S: New file.
37581 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37583         * configure.in: Move assembler checks to before sysdep dir checking.
37585 2010-08-20  Petr Baudis  <pasky@suse.cz>
37587         * LICENSES: Sync the sunrpc license.
37589 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37591         * sunrpc/auth_des.c: Update copyright notice once again.
37592         * sunrpc/auth_none.c: Likewise.
37593         * sunrpc/auth_unix.c: Likewise.
37594         * sunrpc/authdes_prot.c: Likewise.
37595         * sunrpc/authuxprot.c: Likewise.
37596         * sunrpc/bindrsvprt.c: Likewise.
37597         * sunrpc/clnt_gen.c: Likewise.
37598         * sunrpc/clnt_perr.c: Likewise.
37599         * sunrpc/clnt_raw.c: Likewise.
37600         * sunrpc/clnt_simp.c: Likewise.
37601         * sunrpc/clnt_tcp.c: Likewise.
37602         * sunrpc/clnt_udp.c: Likewise.
37603         * sunrpc/clnt_unix.c: Likewise.
37604         * sunrpc/des_crypt.c: Likewise.
37605         * sunrpc/des_soft.c: Likewise.
37606         * sunrpc/get_myaddr.c: Likewise.
37607         * sunrpc/getrpcport.c: Likewise.
37608         * sunrpc/key_call.c: Likewise.
37609         * sunrpc/key_prot.c: Likewise.
37610         * sunrpc/openchild.c: Likewise.
37611         * sunrpc/pm_getmaps.c: Likewise.
37612         * sunrpc/pm_getport.c: Likewise.
37613         * sunrpc/pmap_clnt.c: Likewise.
37614         * sunrpc/pmap_prot.c: Likewise.
37615         * sunrpc/pmap_prot2.c: Likewise.
37616         * sunrpc/pmap_rmt.c: Likewise.
37617         * sunrpc/rpc/auth.h: Likewise.
37618         * sunrpc/rpc/auth_unix.h: Likewise.
37619         * sunrpc/rpc/clnt.h: Likewise.
37620         * sunrpc/rpc/des_crypt.h: Likewise.
37621         * sunrpc/rpc/key_prot.h: Likewise.
37622         * sunrpc/rpc/netdb.h: Likewise.
37623         * sunrpc/rpc/pmap_clnt.h: Likewise.
37624         * sunrpc/rpc/pmap_prot.h: Likewise.
37625         * sunrpc/rpc/pmap_rmt.h: Likewise.
37626         * sunrpc/rpc/rpc.h: Likewise.
37627         * sunrpc/rpc/rpc_des.h: Likewise.
37628         * sunrpc/rpc/rpc_msg.h: Likewise.
37629         * sunrpc/rpc/svc.h: Likewise.
37630         * sunrpc/rpc/svc_auth.h: Likewise.
37631         * sunrpc/rpc/types.h: Likewise.
37632         * sunrpc/rpc/xdr.h: Likewise.
37633         * sunrpc/rpc_clntout.c: Likewise.
37634         * sunrpc/rpc_cmsg.c: Likewise.
37635         * sunrpc/rpc_common.c: Likewise.
37636         * sunrpc/rpc_cout.c: Likewise.
37637         * sunrpc/rpc_dtable.c: Likewise.
37638         * sunrpc/rpc_hout.c: Likewise.
37639         * sunrpc/rpc_main.c: Likewise.
37640         * sunrpc/rpc_parse.c: Likewise.
37641         * sunrpc/rpc_parse.h: Likewise.
37642         * sunrpc/rpc_prot.c: Likewise.
37643         * sunrpc/rpc_sample.c: Likewise.
37644         * sunrpc/rpc_scan.c: Likewise.
37645         * sunrpc/rpc_scan.h: Likewise.
37646         * sunrpc/rpc_svcout.c: Likewise.
37647         * sunrpc/rpc_tblout.c: Likewise.
37648         * sunrpc/rpc_util.c: Likewise.
37649         * sunrpc/rpc_util.h: Likewise.
37650         * sunrpc/rpcinfo.c: Likewise.
37651         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37652         * sunrpc/rpcsvc/key_prot.x: Likewise.
37653         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37654         * sunrpc/rpcsvc/mount.x: Likewise.
37655         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37656         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37657         * sunrpc/rpcsvc/rex.x: Likewise.
37658         * sunrpc/rpcsvc/rstat.x: Likewise.
37659         * sunrpc/rpcsvc/rusers.x: Likewise.
37660         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37661         * sunrpc/rpcsvc/spray.x: Likewise.
37662         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37663         * sunrpc/rtime.c: Likewise.
37664         * sunrpc/svc.c: Likewise.
37665         * sunrpc/svc_auth.c: Likewise.
37666         * sunrpc/svc_authux.c: Likewise.
37667         * sunrpc/svc_raw.c: Likewise.
37668         * sunrpc/svc_run.c: Likewise.
37669         * sunrpc/svc_simple.c: Likewise.
37670         * sunrpc/svc_tcp.c: Likewise.
37671         * sunrpc/svc_udp.c: Likewise.
37672         * sunrpc/svc_unix.c: Likewise.
37673         * sunrpc/svcauth_des.c: Likewise.
37674         * sunrpc/xcrypt.c: Likewise.
37675         * sunrpc/xdr.c: Likewise.
37676         * sunrpc/xdr_array.c: Likewise.
37677         * sunrpc/xdr_float.c: Likewise.
37678         * sunrpc/xdr_mem.c: Likewise.
37679         * sunrpc/xdr_rec.c: Likewise.
37680         * sunrpc/xdr_ref.c: Likewise.
37681         * sunrpc/xdr_sizeof.c: Likewise.
37682         * sunrpc/xdr_stdio.c: Likewise.
37684         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37685         handling.
37687 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37689         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37691 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37693         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37694         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37695         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37696         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37697         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37698         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37699         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37700         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37701         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37702         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37703         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37704         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37705         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37706         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37708 2010-07-26  Anton Blanchard  <anton@samba.org>
37710         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37711         * malloc/arena.c (heap_trim): Likewise.
37713 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37715         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37716         here.  Not...
37717         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37718         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37720 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37722         * sysdeps/i386/elf/Makefile: New file.
37724 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37726         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37727         from fanotify_init.
37728         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37729         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37731 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37733         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37734         of strncasecmp_l.
37735         * sysdeps/multiarch/strcmp.S: Likewise.
37737 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37739         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37740         strncase_l-nonascii.
37741         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37742         Add strncase_l-ssse3.
37743         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37744         * sysdeps/x86_64/strcmp.S: Likewise.
37745         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37746         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37747         * sysdeps/x86_64/strncase.S: New file.
37748         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37749         * sysdeps/x86_64/strncase_l.S: New file.
37750         * string/Makefile (strop-tests): Add strncasecmp.
37751         * string/test-strncasecmp.c: New file.
37753         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37754         warning.
37756         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37757         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37759 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37761         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37763 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37765         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37766         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37767         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37769 2010-05-01  Alan Modra  <amodra@gmail.com>
37771         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37772         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37773         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37774         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37775         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37776         tidying.  Don't tail-call __sigjmp_save for static lib.
37777         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37778         save location.
37779         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37780         (CALL_MCOUNT): Add eh info, and nop after bl.
37781         (TAIL_CALL_SYSCALL_ERROR): New macro.
37782         (PSEUDO_RET): Use it.
37783         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37784         Correct save location of integer regs and cr.
37785         (_dl_profile_resolve): Correct cr save location.  Delete nops
37786         after bl when SHARED.  Reduce cfi size a little by better
37787         placement of cfi directives.
37788         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37789         make a stack frame.  Instead use parm save area as a temp.
37790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37791         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37793         Don't make a stack frame for parent, use parm save area.
37794         Increase child stack frame to 112 bytes.  Don't save unused reg,
37795         and adjust reg usage.  Set up cfi on error recovery and
37796         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37798         (__makecontext): Add dummy nop after jump to exit.
37799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37800         Use correct parm save area and cr save, reduce stack frame.
37801         Correct cfi for possible PSEUDO_RET frame setup.
37802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37803         Branch to local label emitted by PSEUDO_RET rather than
37804         __syscall_error.
37806 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37808         [BZ #11904]
37809         * locale/programs/locale.c (print_assignment): New function.
37810         (show_locale_vars): Use it.
37812 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37814         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37815         field.
37816         (struct statfs64): Likewise.
37817         (_STATFS_F_FLAGS): Define.
37818         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37819         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37820         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37821         (ST_VALID): Define locally.
37822         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37823         __statvfs_getflags, use the provided value.
37824         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37825         __ASSUME_STATFS_F_FLAGS.
37827         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37829         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37830         Add sys/fanotify.h.
37831         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37832         fanotify_mask for GLIBC_2.13.
37833         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37834         fanotify_init and fanotify_mark.
37835         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37836         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37838         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37839         Add prlimit.
37840         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37841         prlimit64 for GLIBC_2.13.
37842         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37843         prlimit64.
37844         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37845         syscall.
37846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37847         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37848         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37849         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37850         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37851         add prlimit alias.
37852         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37854         [BZ #11903]
37855         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37856         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37858         * nss/Makefile: Add rules to build and run tst-nss-test1.
37859         * shlib-versions: Add entry for libnss_test1.
37860         * nss/nss_test1.c: New file.
37861         * nss/tst-nss-test1.c: New file.
37863         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37864         (__nss_configure_lookup): Set appropriate entry in
37865         __nss_configure_lookup to true.
37866         * nss/nsswitch.h: Define enum with indeces of databases in
37867         databases and __nss_database_custom arrays.  Declare
37868         __nss_database_custom.
37869         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37870         to avoid using nscd when custom rules are installed.
37871         * nss/getXXbyYY_r.c: Likewise.
37872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37874         * nss/nss_files/files-parse.c: Whitespace fixes.
37876 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37878         [BZ #11883]
37879         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37880         * posix/fnmatch_loop.c: Likewise.
37882 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37884         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37885         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37886         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37887         * Versions.def [GLIBC_2.13]: Add.
37889 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37891         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37892         Also fail if tpwd after pwuid call is NULL.
37894 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37896         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37897         when converting to ms.
37899 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37901         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37902         EOPNOTSUPP errors with ENOTTY.
37903         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37904         EOPNOTSUPP errors with ENOTTY.
37906 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37908         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37909         Add strcasecmp_l-ssse3.
37910         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37911         strcasecmp.
37912         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37913         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37914         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37916 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37918         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37920         * string/Makefile (strop-tests): Add strcasecmp.
37921         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37922         strcasecmp_l-nonascii.
37923         (gen-as-const-headers): Add locale-defines.sym.
37924         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37925         * sysdeps/x86_64/strcasecmp.S: New file.
37926         * sysdeps/x86_64/strcasecmp_l.S: New file.
37927         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37928         * sysdeps/x86_64/locale-defines.sym: New file.
37929         * string/test-strcasecmp.c: New file.
37931         * string/test-strcasestr.c: Test both ends of the range of characters.
37932         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37934 2010-07-29  Roland McGrath  <roland@redhat.com>
37936         [BZ #11856]
37937         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37939 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37941         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37942         for ld.so.
37944 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37946         * manual/memory.texi (Malloc Tunable Parameters): Document
37947         M_PERTURB.
37949 2010-07-26  Roland McGrath  <roland@redhat.com>
37951         [BZ #11840]
37952         * configure.in (-fgnu89-inline check): Set and substitute
37953         gnu89_inline, not libc_cv_gnu89_inline.
37954         * configure: Regenerated.
37955         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37957 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37959         * string/test-strnlen.c: New file.
37960         * string/Makefile (strop-tests): Add strnlen.
37961         * string/tester.c (test_strnlen): Add a few more test cases.
37962         * string/tst-strlen.c: Better error reporting.
37964         * sysdeps/x86_64/strnlen.S: New file.
37966 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37968         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37969         lower-latency instructions.
37971 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37973         * string/test-strcasestr.c: New file.
37974         * string/test-strstr.c: New file.
37975         * string/Makefile (strop-tests): Add strstr and strcasestr.
37976         * string/str-two-way.h: Don't undefine MAX.
37977         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37979 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37981         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37982         strcasestr-nonascii.
37983         (CFLAGS-strcasestr-nonascii.c): Define.
37984         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37985         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37986         Remove unused attribute.
37988 2010-07-20  Roland McGrath  <roland@redhat.com>
37990         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37991         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37992         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37993         like LD_HWCAP_MASK can disable hwcaps.
37995 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37997         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37999 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38001         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38002         call in strcasestr.
38003         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38004         __strcasestr_sse42_nonascii.
38005         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38006         strcasestr-nonascii.c.
38007         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38009 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38011         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38012         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38013         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38014         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38016 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38018         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38019         fcntl.
38021 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38023         [BZ #11577]
38024         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38025         dl_signal_cerror.
38027 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38029         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38030         _PC_PIPE_BUF using F_GETPIPE_SZ.
38032 2010-07-05  Roland McGrath  <roland@redhat.com>
38034         * manual/arith.texi (Rounding Functions): Fix rint description
38035         implicit in round description.
38037 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38039         * elf/Makefile: Fix linking for a few tests to make recent linker
38040         happy.
38042 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38044         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38045         $(common-objpfx)libc_nonshared.a.
38047 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38049         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38050         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38051         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38052         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38053         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38054         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38055         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38056         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38071         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38072         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38073         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38074         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38075         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38076         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38077         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38078         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38079         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38080         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38081         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38082         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38098 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38100         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38101         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38102         * string/memmove.c (memmove): Renamed to ...
38103         (MEMMOVE): ...this.  Default to memmove.
38104         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38105         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38106         (END_CHK): Define.
38107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38108         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38109         mempcpy-ssse3-back memmove-ssse3-back.
38110         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38111         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38112         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38113         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38114         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38115         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38116         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38117         * sysdeps/x86_64/multiarch/memmove.c: New file.
38118         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38119         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38120         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38121         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38122         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38123         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38124         Define.
38125         (index_Fast_Copy_Backward): Define.
38126         (HAS_ARCH_FEATURE): Define.
38127         (HAS_FAST_REP_STRING): Define.
38128         (HAS_FAST_COPY_BACKWARD): Define.
38130 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38132         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38133         Restore proper fallback handling.
38135 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38137         [BZ #11701]
38138         * posix/group_member.c (__group_member): Correct checking loop.
38140         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38141         OOM in getpwuid_r correctly.  Return error number when the caller
38142         should return, otherwise -1.
38143         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38144         call returning > 0 value.
38145         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38147 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38149         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38150         libc_nonshared.a from targets in modules-names.
38152 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38154         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38155         requires it.
38157 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38159         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38160         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38161         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38162         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38164 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38166         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38168 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38170         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38171         and F_GETPIPE_SZ.
38172         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38173         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38174         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38175         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38176         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38177         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38179 2010-06-14  Roland McGrath  <roland@redhat.com>
38181         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38183 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38185         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38186         __REDIRECT followed by __THROW.
38187         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38188         * posix/getopt.h (getopt): Likewise.
38190 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38192         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38193         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38194         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38195         in AT_FLAGS.
38196         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38197         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38199 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38201         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38203 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38205         [BZ #11640]
38206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38207         Properly check family and model.
38209 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38211         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38213 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38215         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38217 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38219         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38220         symbol reference.
38222 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38224         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38225         symbol reference.
38227 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38229         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38230         and internal_recvmmsg.
38231         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38232         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38233         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38234         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38236         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38237         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38238         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38240 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38242         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38244 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38246         POWER7 optimizations.
38247         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38248         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38250 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38252         * version.h: Update for 2.13 development version.
38254 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38256         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38257         exceptions.  Return 0.
38259 2010-05-07  Roland McGrath  <roland@redhat.com>
38261         * elf/ldconfig.c (main): Add a const.
38263 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38265         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38266         (args_options): Add no-idn option.
38267         (ahosts_keys_int): Add idn_flags to ai_flags.
38268         (parse_option): Handle 'i' option to clear idn_flags.
38270         * malloc/malloc.c (_int_free): Possible race in the most recently
38271         added check.  Only act on the data if no current modification
38272         happened.
38274 See ChangeLog.17 for earlier changes.