Disable x87 inline functions for SSE2 math
[glibc.git] / ChangeLog
blobb54386f39e034d212ec879545e34eedf90ab12ce
1 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #16510]
4         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5         of __x86_64__ when disabling x87 inline functions.
7 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9         * manual/charset.texi: Document MTASC-safety properties.
11 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
13         * manual/crypt.texi: Document MTASC-safety properties.
15 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
17         * manual/conf.texi: Document MTASC-safety properties.
19 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
21         * manual/arith.texi: Document MTASC-safety properties.
23 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25         * manual/argp.texi: Document MTASC-safety properties.
27 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
29         * manual/macros.texi: Introduce macros to document multi
30         thread, asynchronous signal and asynchronous cancellation
31         safety properties.
32         * manual/intro.texi: Introduce the properties themselves.
34 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36         * sysdeps/sh/sh4/Makefile: New file.
38 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40         * math/gen-libm-test.pl ($srcdir): New variable.
41         ($auto_input): Use it.
43 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45         [BZ #16506]
46         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47         access beyond array bounds when parsing netgroups file.
49         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50         the old buffer before realloc.
52 2014-01-27  Allan McRae  <allan@archlinux.org>
54         * po/fr.po: Update French translation from translation project.
56 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58         * sysdeps/sh/libm-test-ulps: Regenerate.
60 2014-01-24  David S. Miller  <davem@davemloft.net>
62         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
64 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
67         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
69 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
71         [BZ #16474]
72         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
73         string pointers after reallocation.
75 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
78         __SH4A__ instead of __SH_FPU_ANY__.
80 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82         * sysdeps/sh/fpu_control.h: New file.
83         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
84         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
85         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
86         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
87         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
88         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
89         * sysdeps/sh/sys/ucontext.h: Remove.
90         * sysdeps/sh/sys: Remove directory.
92 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
95         s390/sys/ucontext.h.
96         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
97         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
99 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
101         [BZ #15605]
102         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
104 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
106         [BZ#16431]
107         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
108         Adjust the vDSO correctly for internal calls.
109         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
111 2014-01-20  Allan McRae  <allan@archlinux.org>
113         * po/ca.po: Update Catalan translation from translation project.
115 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
117         * sysdeps/s390/sotruss-lib.c: New file.
119 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
121         [BZ#16430]
122         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
123         (__GI___gettimeofday): Alias for a different internal symbol to avoid
124         local calls issues by not having a PLT stub required for IFUNC calls.
125         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
127 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
129         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
130         * math/test-fpucw-static.c: Likewise.
132 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
134         [BZ #16453]
135         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
137 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
139         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
140         implementation for powerpc.
142 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
144         [BZ #14782]
145         * sysdeps/posix/system.c (__libc_system): Do not enable
146         asynchronous cancellation.
148 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
150         [BZ #16427]
151         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
152         handling only for numbers special also in the IEEE case.
154 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
156         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
158 2014-01-11  Allan McRae  <allan@archlinux.org>
160         * po/bg.po: Update Bulgarian translation from translation project.
162         * po/de.po: Update German translation from translation project.
164 2014-01-10  Roland McGrath  <roland@hack.frob.com>
166         * sysdeps/generic/gcc-compat.h: New file.
168 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
170         * benchtests/asin-inputs: Correct slow inputs.
171         * benchtests/acos-inputs: Likewise.
173 2014-01-10  Allan McRae  <allan@archlinux.org>
175         * po:sv.po: Update Swedish translation from translation project.
177         * po/vi.po: Update Vietnamese translation from translation project.
179         * po/eo.po: Update Esperanto translation from translation project.
181         * po/cs.po: Update Czech translation from translation project.
183         * po/nl.po: Update Dutch translation from translation project.
185         * po/pl.po: Update Polish translation from translation project.
187         * po/ru.po: Update Russian translation from translation project.
189         * po/uk.po: Update Ukrainian translation from translation project.
191 2014-01-08  Brooks Moses  <bmoses@google.com>
193         * elf/dl-load.c: Fix comment typo.
195 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
197         * po/header.pot: Rename to...
198         * po/pot.header: ... this.
199         * po/Makefile: Use pot.header.
201 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
202             Maxim Kuvyrkov  <maxim@kugelworks.com>
204         [BZ #16394]
205         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
206         SRC and DEST against LEN.
208 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
210         [BZ #16414]
211         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
212         implementation.
213         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
215 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
219 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
221         [BZ #16408]
222         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
223         for large positive arguments.
225 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
227         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
229         * math/auto-libm-test-in: Mark various tests with
230         xfail-rounding:ldbl-128ibm.
231         * math/auto-libm-test-out: Regenerated.
233         [BZ #16407]
234         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
235         Increase overflow threshold.
237 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
239         [BZ #14286]
240         * stdio-common/vfprintf.c: Check for integer overflow.
242 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
244         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
245         the first argument and return value of __tls_get_addr_internal.
247 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
249         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
250         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
252 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
254         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
255         * sysdeps/s390/rtld-global-offsets.sym: New file.
256         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
257         GLIBC_2.19 symbol.
258         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
259         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
260         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
261         ... this.
262         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
263         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
264         ... this.
265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
266         Regenerate.
267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
268         Regenerate.
269         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
270         halfs of GPRs for high_gprs contexts.
271         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
272         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
273         field.
274         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
275         uc_flags field.
276         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
277         64 bit versions:
278         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
279         for high GPRs (uc_high_gprs) and for future extensions
280         (__reserved).
281         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
282         for future extensions (__reserved).
283         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
284         64 bit versions:
285         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
286         SC_HIGHGPRS offset definition.
287         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
288         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
290 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
292         * Versions.def: Add GLIBC_2.19 for libpthread.
293         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
294         siglongjmp for libpthread with GLIBC_2.19 symver.
295         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
296         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
297         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
298         * sysdeps/s390/__longjmp.c: New file.
299         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
300         * sysdeps/s390/longjmp.c: New file.
301         * sysdeps/s390/setjmp.S: New file.
302         * sysdeps/s390/sigjmp.S: New file.
303         * sysdeps/s390/v1-longjmp.c: New file.
304         * sysdeps/s390/v1-setjmp.h: New file.
305         * sysdeps/s390/v1-sigjmp.c: New file.
306         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
307         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
308         GLIBC_2.19 version.
309         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
310         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
311         versioned symbols for ____longjmp_chk.
312         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
313         Likewise.
314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
315         Regenerate.
316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
317         Regenerate.
318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
319         Regenerate.
320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
321         Regenerate.
322         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
323         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
324         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
325         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
326         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
327         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
328         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
329         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
330         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
331         * sysdeps/s390/rtld-__longjmp.c: New file.
332         * sysdeps/s390/rtld-setjmp.S: New file.
334 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
336         [BZ #16400]
337         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
338         Return -__logl (x) for small positive arguments without evaluating
339         a polynomial.
341 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
343         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
344         Rename to ...
345         (__ptrace_peeksiginfo_args): ... this.
346         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
347         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
348         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
350 2014-01-06  Allan McRae  <allan@archlinux.org>
352         * inet/netinet/in.h: Fix typo in comment.
354 2014-01-05  Andreas Jaeger  <aj@suse.de>
356         * sysdeps/i386/fpu/libm-test-ulps: Update.
358 2014-01-05  Allan McRae  <allan@archlinux.org>
360         * po/libc.pot: Regenerated.
362         * malloc/memusagestat.c: Fix gettext call formatting.
364 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
366         * nscd/nscd.c: Improve usage() output.
368 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
370         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
371         * sysdeps/unix/sysv/linux/configure: Regenerated.
372         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
373         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
375 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
377         [BZ #16390]
378         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
379         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
381 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
383         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
384         extra tokens at end of #undef directive.
385         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
386         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
387         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
389 2014-01-03  Andrew Hunter  <ahh@google.com>
391         * elf/dl-open.c (dl_open_worker): New comment.
392         * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
393         atomic_compare_and_exchange_bool_acq
394         (_dl_allocate_static_tls): Block signals.
395         * elf/dl-tls.c (allocate_and_init): Return void.
396         (_dl_update_slotinfo): Block signals, use atomic update.
398 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
400         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
402         * math/auto-libm-test-in: Mark various tests with
403         xfail-rounding:ldbl-128ibm.
404         * math/auto-libm-test-out: Regenerated.
406 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
408         [BZ #16386]
409         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
410         numbers with subnormal high part when calculating exponent.
412         [BZ #16385]
413         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
414         fabs.
416         [BZ #16384]
417         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
418         M_LN2l.
419         (__ieee754_acoshl): Use __log1pl not __log1p.
421 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
423         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
424         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
425         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
426         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
427         Convert to GNU style.
428         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
429         mem2mem_check, mem2chunk_check, top_check, realloc_check,
430         memalign_check, __malloc_set_state): Likewise.
431         * malloc/mallocbug.c (main): Likewise.
432         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
433         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
434         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
435         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
436         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
437         * malloc/malloc.h: Likewise.
438         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
439         memalignhook, reallochook, mabort): Likewise.
440         * malloc/mcheck.h: Likewise.
441         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
442         mmap64, mremap, munmap, dest): Likewise.
443         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
444         * malloc/morecore.c (__default_morecore): Likewise.
445         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
446         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
447         _obstack_allocated_p, obstack_free, _obstack_memory_used,
448         print_and_abort): Likewise.
449         * malloc/obstack.h: Likewise.
450         * malloc/set-freeres.c (__libc_freeres): Likewise.
451         * malloc/tst-mallocstate.c (main): Likewise.
452         * malloc/tst-mtrace.c (main): Likewise.
453         * malloc/tst-realloc.c (do_test): Likewise.
455 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
457         [BZ #16366]
458         * nscd/netgroupcache.c (do_notfound): New function.
459         (addgetnetgrentX): Use it.
461         [BZ # 16365]
462         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
463         NSS_STATUS_NOTFOUND.
465 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
467         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
470 2014-01-01  Allan McRae  <allan@archlinux.org>
472         * scripts/update-copyrights: Update configure input file suffix.
474         * NEWS: Update copyright year.
475         * catgets/gencat.c: Likewise.
476         * csu/version.c: Likewise.
477         * debug/catchsegv.sh: Likewise.
478         * debug/pcprofiledump.c: Likewise.
479         * debug/xtrace.sh: Likewise.
480         * elf/ldconfig.c: Likewise.
481         * elf/ldd.bash.in: Likewise.
482         * elf/pldd.c: Likewise.
483         * elf/sotruss.ksh: Likewise.
484         * elf/sprof.c: Likewise.
485         * iconv/iconv_prog.c: Likewise.
486         * iconv/iconvconfig.c: Likewise.
487         * locale/programs/locale.c: Likewise.
488         * locale/programs/localedef.c: Likewise.
489         * login/programs/pt_chown.c: Likewise.
490         * malloc/memusage.sh: Likewise.
491         * malloc/memusagestat.c: Likewise.
492         * malloc/mtrace.pl: Likewise.
493         * manual/libc.texinfo: Likewise.
494         * nscd/nscd.c: Likewise.
495         * nss/getent.c: Likewise.
496         * nss/makedb.c: Likewise.
497         * posix/getconf.c: Likewise.
498         * scripts/test-installation.pl: Likewise.
500         * All files with FSF copyright notices: Update copyright dates
501         using scripts/update-copyrights.
502         * intl/plural.c: Regenerated.
503         * locale/programs/charmap-kw.h: Likewise.
504         * locale/programs/locfile-kw.h: Likewise.
506 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
508         * sysdeps/unix/sysv/linux/configure: Regenerated.
509         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
510         the linux/fanotify.h header.
511         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
512         HAVE_LINUX_FANOTIFY_H is defined.
514 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
516         * benchtests/cos-inputs: New inputs.
517         * benchtests/sin-inputs: Likewise.
519         * benchtests/atan-inputs: New inputs. Fix name of multiple
520         precision fallback inputs.
522         * benchtests/atanh-inputs: New inputs.
523         * benchtests/tanh-inputs: Likewise.
525         * benchtests/acosh-inputs: New inputs.
526         * benchtests/asinh-inputs: Likewise.
528         * benchtests/cosh-inputs: New inputs.
529         * benchtests/sinh-inputs: Likewise.
531         * benchtests/acos-inputs: Add more inputs.
532         * benchtests/asin-inputs: Likewise.
534 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
536         [BZ #16375]
537         * manual/arith.texi: Fix spelling.
538         * manual/charset.texi: Likewise.
539         * manual/errno.texi: Likewise.
540         * manual/filesys.texi: Likewise.
541         * manual/lang.texi: Likewise.
542         * manual/llio.texi: Likewise.
543         * manual/locale.texi: Likewise.
544         * manual/message.texi: Likewise.
545         * manual/resource.texi: Likewise.
546         * manual/search.texi: Likewise.
547         * manual/setjmp.texi: Likewise.
548         * manual/stdio.texi: Likewise.
549         * manual/string.texi: Likewise.
550         * manual/sysinfo.texi: Likewise.
551         * manual/time.texi: Likewise.
553 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
555         * po/sl.po: New file.
557 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
559         * .gitignore: Add core/.gdbinit/.gdb_history.
561 2013-12-27  Allan McRae  <allan@archlinux.org>
563         [BZ #16369]
564         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
565         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
567 2013-12-24  Brooks Moses  <bmoses@google.com>
569         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
570         all compilers that claim C++98 compliance, not just GCC.
571         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
572         Likewise.
574 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
576         * NEWS: Restore accidentally deleted bug-fix entries.
578 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
579             Ondřej Bílka  <neleai@seznam.cz>
581         [BZ #15073]
582         * malloc/malloc.c (_int_free): Perform sanity check only if we
583         have_lock.
585 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
587         [BZ #12986]
588         * manual/stdio.texi (String Input Conversions): Clarify that character
589         classes are not supported.
591 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
595 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
597         [BZ #16337]
598         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
599         Calculate results for small negative arguments directly rather
600         than using reflection formula with special underflow handling.
602         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
603         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
604         sysdeps/unix/bsd/bsd4.4/syscalls.list.
605         (fchflags): Likewise.
606         (revoke): Likewise.
607         (setlogin): Likewise.
608         (sigaltstack): Likewise.
609         (wait4): Likewise.
610         (sigblock): Remove.
611         (sigsetmask): Likewise.
612         (wait3): Likewise.
613         (waitpid): Likewise.
614         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
615         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
616         file.
617         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
618         * sysdeps/unix/bsd/Makefile: ... here.
619         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
620         * sysdeps/unix/bsd/Versions: ... here.
621         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
622         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
623         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
624         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
625         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
626         * sysdeps/unix/bsd/sigblock.c: ... here.
627         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
628         * sysdeps/unix/bsd/sigsetmask.c: ... here.
629         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
630         * sysdeps/unix/bsd/sigvec.c: ... here.
631         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
632         * sysdeps/unix/bsd/tcdrain.c: ... here.
633         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
634         * sysdeps/unix/bsd/tcgetattr.c: ... here.
635         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
636         * sysdeps/unix/bsd/tcsetattr.c: ... here.
637         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
638         * sysdeps/unix/bsd/wait.c: ... here.
639         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
640         * sysdeps/unix/bsd/wait3.c: ... here.
641         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
642         * sysdeps/unix/bsd/waitpid.c: ... here.
644 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
646         [BZ #16356]
647         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
648         round-to-nearest for [!USE_AS_EXPM1L].
649         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
650         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
651         more tests of exp and exp10.  Expect some exp10 tests to miss
652         exceptions or fail in directed rounding modes.
653         * math/auto-libm-test-out: Regenerated.
654         * math/libm-test.inc (exp10_tonearest_test_data): New array.
655         (exp10_test_tonearest): New function.
656         (exp10_towardzero_test_data): New array.
657         (exp10_test_towardzero): New function.
658         (exp10_downward_test_data): New array.
659         (exp10_test_downward): New function.
660         (exp10_upward_test_data): New array.
661         (exp10_test_upward): New function.
662         (main): Call the new functions.
663         * sysdeps/i386/fpu/libm-test-ulps: Update.
664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
666 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
668         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
669         asinh, atan, atan2, atanh, cbrt, cos and cosh.
670         * math/auto-libm-test-out: Regenerated.
671         * math/libm-test.inc (acosh_test_data): Add more tests.
672         (atanh_test_data): Likewise.
673         (ceil_test_data): Likewise.
674         (copysign_test_data): Likewise.
675         * sysdeps/i386/fpu/libm-test-ulps: Update.
676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
678         * timezone/checktab.awk: Update from tzcode 2013i.
679         * timezone/private.h: Likewise.
680         * timezone/scheck.c: Likewise.
681         * timezone/tzfile.h: Likewise.
682         * timezone/tzselect.ksh: Likewise.
683         * timezone/zdump.c: Likewise.
684         * timezone/zic.c: Likewise.
686         * math/auto-libm-test-in: Add tests of cpow.
687         * math/auto-libm-test-out: Regenerated.
688         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
689         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
690         mpc_cc_c.
691         (func_calc_desc): Add mpc_cc_c union field.
692         (test_functions): Add cpow.
693         (special_fill_2pi): New function.
694         (special_real_inputs): Add 2pi.
695         (calc_generic_results): Handle mpc_cc_c.
696         * sysdeps/i386/fpu/libm-test-ulps: Update.
697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
699         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
700         csqrt, ctan and ctanh.
701         * math/auto-libm-test-out: Regenerated.
702         * math/libm-test.inc (TEST_COND_x86_64): New macro.
703         (TEST_COND_x86): Likewise.
704         (ccos_test_data): Use AUTO_TESTS_c_c.
705         (ccosh_test_data): Likewise.
706         (cexp_test_data): Likewise.
707         (clog_test_data): Likewise.
708         (csqrt_test_data): Likewise.
709         (ctan_test_data): Likewise.
710         (ctan_tonearest_test_data): Likewise.
711         (ctan_towardzero_test_data): Likewise.
712         (ctan_downward_test_data): Likewise.
713         (ctan_upward_test_data): Likewise.
714         (ctanh_test_data): Likewise.
715         (ctanh_tonearest_test_data): Likewise.
716         (ctanh_towardzero_test_data): Likewise.
717         (ctanh_downward_test_data): Likewise.
718         (ctanh_upward_test_data): Likewise.
719         * math/gen-auto-libm-tests.c (func_calc_method): Add value
720         mpc_c_c.
721         (func_calc_desc): Add mpc_c_c union field.
722         (FUNC_mpc_c_c): New macro.
723         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
724         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
725         ctanh.
726         (special_fill_min_subnorm_p120): New function.
727         (special_real_inputs): Add min_subnorm_p120.
728         (calc_generic_results): Handle mpc_c_c.
729         * sysdeps/i386/fpu/libm-test-ulps: Update.
730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
732 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
734         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
735         do_sin_slow): New functions.
736         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
737         cslow2, csloww1, csloww2): Use the new functions.
739         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
740         Use M to change sign of result instead of X.  Assume X is
741         positive.
742         (csloww1): Likewise.
743         (__sin): Adjust.
744         (__cos): Adjust.
746         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
747         arguments A and DA.
748         (__sin): Adjust.
749         (__cos): Likewise.
751         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
752         (__cos): Likewise.
753         (sloww1): Don't adjust sign of DX.
754         (csloww1): Likewise.
755         (sloww2): Use X directly and don't adjust sign of DX.
756         (csloww2): Likewise.
758 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
760         * math/auto-libm-test-in: Add tests of cabs and carg.
761         * math/auto-libm-test-out: Regenerated.
762         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
763         (carg_test_data): Likewise.
764         * math/gen-auto-libm-tests.c (func_calc_method): Add value
765         mpc_c_f.
766         (func_calc_desc): Add mpc_c_f union field.
767         (test_functions): Add cabs and carg.
768         (calc_generic_results): Handle mpc_c_f.
770         * sysdeps/powerpc/powerpc32/libgcc-compat.S
771         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
772         as a macro and a compat symbol.
773         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
774         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
775         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
776         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
777         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
778         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
779         not use .hidden.
780         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
781         Likewise.
782         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
783         Likewise.
784         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
785         Likewise.
786         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
787         Likewise.
788         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
789         Likewise.
790         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
791         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
792         from GLIBC_2.3.2.
794 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
798 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
800         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
801         (__signal_safe_memalign, __signal_safe_free): Use it.
802         (__signal_safe_realloc): Likewise.
804 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
806         * manual/texinfo.tex: Update to version 2013-11-26.10 with
807         trailing whitespace removed.
808         * scripts/config.guess: Update to version 2013-11-29.
809         * scripts/config.sub: Update to version 2013-10-01.
811         * math/auto-libm-test-in: Add tests of sincos.
812         * math/auto-libm-test-out: Regenerated.
813         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
814         * math/gen-auto-libm-tests.c (func_calc_method): Add value
815         mpfr_f_11.
816         (func_calc_desc): Add mpfr_f_11 union field.
817         (test_functions): Add sincos.
818         (calc_generic_results): Handle mpfr_f_11.
819         * sysdeps/i386/fpu/libm-test-ulps: Update.
820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
822 2013-12-19  Andreas Schwab  <schwab@suse.de>
824         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
825         CALL_MCOUNT.
826         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
827         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
828         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
830 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
832         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
833         * sysdeps/i386/fpu/libm-test-ulps: Update.
834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
836         [BZ #16293]
837         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
838         round-to-nearest mode when using frndint.
839         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
840         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
841         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
842         Likewise.
843         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
844         sinh test to fail.
845         * math/auto-libm-test-out: Regenerated.
846         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
847         (TEST_COND_x86): Likewise.
848         (expm1_tonearest_test_data): New array.
849         (expm1_test_tonearest): New function.
850         (expm1_towardzero_test_data): New array.
851         (expm1_test_towardzero): New function.
852         (expm1_downward_test_data): New array.
853         (expm1_test_downward): New function.
854         (expm1_upward_test_data): New array.
855         (expm1_test_upward): New function.
856         (main): Run the new test functions.
857         * sysdeps/i386/fpu/libm-test-ulps: Update.
858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
860         * include/features.h: Update comment documenting feature test
861         macros.  Mention _DEFAULT_SOURCE in comment.
862         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
863         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
864         _BSD_SOURCE and _SVID_SOURCE.
865         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
866         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
867         !_SVID_SOURCE]: Likewise.
868         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
869         (__USE_POSIX_IMPLICITLY): Define.
870         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
871         (_POSIX_SOURCE): Undefine and redefine.
872         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
873         (_POSIX_C_SOURCE): Likewise.
874         * manual/creature.texi (_DEFAULT_SOURCE): Document.
875         (Feature Test Macros): Update documentation of default features.
877 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
879         * benchtests/Makefile: Add bench-strtok.
880         * benchtests/bench-strtok.c: New file: strtok benchtest.
882 2013-12-19  Allan McRae  <allan@archlinux.org>
884         * manual/install.texi: Suppress menu for plain text output.
885         * INSTALL: Regenerated.
887 2013-12-18  Andrew Hunter  <ahh@google.com>
889         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
890         (__signal_safe_malloc, __signal_safe_free): Likewise.
891         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
892         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
893         (__signal_safe_memalign, __signal_safe_malloc): New function.
894         (__signal_safe_free, __signal_safe_realloc): Likewise.
895         (__signal_safe_calloc): Likewise.
896         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
897         functions.
898         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
900 2013-12-18  Andrew Hunter  <ahh@google.com>
902         * elf/Versions (ld): Add _dl_clear_dtv.
903         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
904         * elf/dl-tls.c (_dl_clear_dtv): New function.
905         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
907 2013-12-18  Andrew Hunter  <ahh@google.com>
909         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
910         (_dl_unmask_signals): Likewise.
911         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
912         (_dl_unmask_all_signals): Likewise.
913         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
914         (_dl_unmask_all_signals): Likewise.
915         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
916         (_dl_unmask_signals): Likewise.
918 2013-12-18  Brooks Moses  <bmoses@google.com>
920         [BZ #15846]
921         * misc/getauxval.c: Include errno.h.
922         (__getauxval): Set errno to ENOENT if the requested type is not
923         found.
924         * misc/sys/auxv.h (getauxval): Document that it may set errno;
925         don't declare with __attribute_const__.
926         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
927         * manual/startup.texi: Document that getauxval sets errno.
929 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
931         * math/auto-libm-test-in: Add tests of jn and yn.
932         * math/auto-libm-test-out: Regenerated.
933         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
934         (yn_test_data): Likewise.
935         * math/gen-auto-libm-tests.c (func_calc_method): Add value
936         mpfr_if_f.
937         (func_calc_desc): Add mpfr_if_f union field.
938         (FUNC_mpfr_if_f): New macro.
939         (test_functions): Add jn and yn.
940         (calc_generic_results): Assert type of second input for
941         mpfr_ff_f.  Handle mpfr_if_f.
942         (output_for_one_input_case): Disable all checking for arguments
943         fitting floating-point types in case of an integer argument.
944         * sysdeps/i386/fpu/libm-test-ulps: Update.
945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
948         Don't expect fegetround reference in libm.so.
950 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
952         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
953         $(config-cflags-nofma).
955 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
957         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
958         * math/auto-libm-test-out: Regenerated.
960         [BZ #16338]
961         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
962         to determine exponent and adjust argument to have exponent of -1.
963         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
964         log2.
965         * math/auto-libm-test-out: Regenerated.
966         * sysdeps/i386/fpu/libm-test-ulps: Update.
967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
969 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
971         * manual/probes.texi: Remove cases when per-thread arenas are
972         disabled.
974 2013-12-18  Andreas Schwab  <schwab@suse.de>
976         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
977         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
978         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
979         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
980         * sysdeps/i386/i686/multiarch/Makefile: Update.
981         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
983 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
985         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
986         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
988 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
990         Support TZ transition times < 00:00:00.
991         This is needed for version-3 tz-format files; it supports time
992         stamps past 2037 for America/Godthab (the only entry in the tz
993         database for which this change is relevant).
994         * manual/time.texi (TZ Variable): Document transition times
995         from -167:59:59 through -00:00:01.
996         * time/tzset.c (tz_rule): Time of day is now signed.
997         (__tzset_parse_tz): Parse negative time of day.
999         Document TZ transition times >= 25:00:00.
1000         * manual/time.texi (TZ Variable): Document transition times from
1001         25:00:00 through 167:59:59.  These are already supported, and this
1002         support will help with version-3 tz-format files.
1004         * manual/time.texi (TZ Variable): Modernize North America example
1005         to reflect current (i.e., 2007-and-later) daylight saving rules.
1007         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1009 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1011         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1012         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1013         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1014         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1015         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1016         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1017         * sysdeps/unix/bsd/clock.c: Likewise.
1018         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1019         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1020         * sysdeps/unix/bsd/init-posix.c: Likewise.
1021         * sysdeps/unix/bsd/poll.c: Likewise.
1022         * sysdeps/unix/bsd/ptsname.c: Likewise.
1023         * sysdeps/unix/bsd/seekdir.c: Likewise.
1024         * sysdeps/unix/bsd/setegid.c: Likewise.
1025         * sysdeps/unix/bsd/seteuid.c: Likewise.
1026         * sysdeps/unix/bsd/setgid.c: Likewise.
1027         * sysdeps/unix/bsd/setrgid.c: Likewise.
1028         * sysdeps/unix/bsd/setruid.c: Likewise.
1029         * sysdeps/unix/bsd/setsid.c: Likewise.
1030         * sysdeps/unix/bsd/setuid.c: Likewise.
1031         * sysdeps/unix/bsd/sigaction.c: Likewise.
1032         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1033         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1034         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1035         * sysdeps/unix/bsd/telldir.c: Likewise.
1036         * sysdeps/unix/bsd/times.c: Likewise.
1037         * sysdeps/unix/bsd/usleep.c: Likewise.
1039         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1040         ($(objpfx)libbsd-compat.a): Remove rule.
1042         * include/features.h (__FAVOR_BSD): Do not define.
1043         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1044         features conflicting with POSIX.
1045         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1046         (_BSD_SOURCE): Remove description of not being a subset of other
1047         feature test macros.
1048         * manual/job.texi (getpgrp): Do not document BSD version.
1049         (getpgid): Do not document by reference to BSD getpgrp.
1050         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1051         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1052         * signal/signal.h [__FAVOR_BSD]: Likewise.
1053         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1054         instead of making contents conditional on [__FAVOR_BSD].
1055         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1057 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1061 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1063         [BZ #16314]
1064         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1065         values below 2**-450, not 2**-500.
1066         * math/auto-libm-test-in: Don't allow spurious underflow from
1067         hypot.
1068         * math/auto-libm-test-out: Regenerated.
1070         [BZ #16316]
1071         [BZ #16330]
1072         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1073         values of ha and hb and sort them after adjusting subnormal
1074         arguments.
1075         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1076         Likewise.
1077         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1078         values of ea and eb and sort them after adjusting subnormal
1079         arguments.
1080         * math/auto-libm-test-in: Do not expect some hypot tests of
1081         subnormals to fail.  Add more hypot tests.
1082         * math/auto-libm-test-out: Regenerated.
1084 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1086         [BZ #13304]
1087         * sysdeps/sh/s_fma.c: New file.
1088         * sysdeps/sh/s_fmaf.c: New file.
1089         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1090         version.
1091         * sysdeps/sh/Implies: Add sh/soft-fp.
1093 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1095         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1096         level of indirection to members `objname', `errstring', `malloced'.
1097         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1098         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1099         it as the __longjmp argument (just pass 1 instead).
1100         (_dl_catch_error): Initialize C with argument pointers and address of
1101         volatile local ERRCODE rather than copying values out of C at return.
1103 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1105         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1106         * math/auto-libm-test-out: Regenerated.
1107         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1108         (hypot_test_data): Likewise.
1109         (pow_test_data): Likewise.
1110         (pow_tonearest_test_data): Likewise.
1111         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1112         mpfr_ff_f.
1113         (func_calc_desc): Add mpfr_ff_f union field.
1114         (FUNC_mpfr_ff_f): New macro.
1115         (test_functions): Add atan2, hypot and pow.
1116         (special_fill_min): New function.
1117         (special_fill_minus_min): Likewise.
1118         (special_fill_min_subnorm): Likewise.
1119         (special_fill_minus_min_subnorm): Likewise.
1120         (special_real_inputs): Add min, -min, min_subnorm and
1121         -min_subnorm.
1122         (calc_generic_results): Handle mpfr_ff_f.
1123         * sysdeps/i386/fpu/libm-test-ulps: Update.
1124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1126 2013-12-16  Will Newton  <will.newton@linaro.org>
1128         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1129         (Aligned Memory Blocks): Add documentation for aligned_alloc
1130         and suggest it as an alternative to posix_memalign.
1131         (Hooks for Malloc): Document __memalign_hook is also called
1132         for aligned_alloc.  (Summary of Malloc): Add summary for
1133         aligned alloc.  Document __memalign_hook is also called
1134         for aligned_alloc.
1136 2013-12-16  Will Newton  <will.newton@linaro.org>
1138         * manual/memory.texi (Malloc Examples): Clarify default
1139         alignment documentation.  Suggest posix_memalign rather
1140         than memalign or valloc.
1141         (Aligned Memory Blocks): Remove suggestion to use memalign
1142         or valloc.  Remove obsolete comment about BSD.
1143         Document memalign errno values and mark the function obsolete.
1144         Document posix_memalign returned error codes.  Mark valloc
1145         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1146         called for posix_memalign and valloc.
1147         (Summary of Malloc): Add posix_memalign to function summary.
1148         __memalign_hook is also called for posix_memalign and valloc.
1150 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1152         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1153         TAYLOR_SIN.
1154         (__sin): Adjust.
1155         (__cos): Likewise.
1156         (sloww): Use mynumber union.  Expand ternary operator into
1157         if-else statements.
1158         (cslow): use mynumber union.
1160 2013-12-16  Allan McRae  <allan@archlinux.org>
1162         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1163         * configure: Regenerated.
1165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1167         [BZ #14120]
1168         * configure.ac: Added --enable-maintainer-mode. Check for
1169         autoconf when enabled.
1170         * configure: Regenerated.
1172         * nscd/nscd.service: New file.
1173         * nscd/nscd.tmpfiles: New file.
1175 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1177         [BZ #12100]
1178         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1179         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1180         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1181         (strstr): Add __strstr_sse2_unaligned ifunc.
1182         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1183         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1184         (strcasestr): Remove __strcasestr_sse42 ifunc.
1185         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1189 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1191         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1192         * sysdeps/sh/bits/fenv.h: ... here.
1193         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1195 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1197         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1199 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1201         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1202         hypotf multiarch implementations.
1203         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1204         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1205         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1206         multiarch hypot for PPC64.
1207         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1208         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1209         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1210         multiarch hypotf for PPC64.
1212 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1215         modff multiarch implementations.
1216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1219         multiarch modf for PPC64.
1220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1223         multiarch modff for PPC64.
1225 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1228         and logl multiarch implementations.
1229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1232         multiarch logb for PPC64.
1233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1236         multiarch logb for PPC64.
1237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1240         multiarch logb for PPC64.
1242 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1245         isinff multiarch implementation.
1246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1247         file.
1248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1250         multiarch isinf for PPC64.
1251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1252         file.
1253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1254         multiarch isinff for PPC64.
1256 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1259         finitef multiarch implementation.
1260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1261         file.
1262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1264         multiarch finite for PPC64.
1265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1266         file.
1267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1268         multiarch finitef for PPC64.
1270 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1272         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1273         lrint multiarch implementation.
1274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1275         file.
1276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1278         multiarch llrint for PPC64.
1279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1280         multiarch lrint for PPC64.
1282 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1284         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1285         copysignf multiarch implementation.
1286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1287         file.
1288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1289         file.
1290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1291         multiarch copysign for PPC64.
1292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1293         multiarch copysignf for PPC64.
1295 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1298         multiarch implementation.
1299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1300         file.
1301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1302         file.
1303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1304         file.
1305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1306         file.
1307         multiarch llround for PPC64.
1308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1309         multiarch trunc for PPC64.
1310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1311         multiarch truncf for PPC64.
1313 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1316         multiarch implementation.
1317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1318         file.
1319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1320         file.
1321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1322         file.
1323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1324         file.
1325         multiarch llround for PPC64.
1326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1327         multiarch round for PPC64.
1328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1329         multiarch roundf for PPC64.
1331 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1333         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1334         multiarch implementation.
1335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1336         file.
1337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1338         file.
1339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1340         file.
1341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1342         file.
1343         multiarch llround for PPC64.
1344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1345         multiarch floor for PPC64.
1346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1347         multiarch floorf for PPC64.
1349 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1352         multiarch implementation.
1353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1354         file.
1355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1356         file.
1357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1358         file.
1359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1360         file.
1361         multiarch llround for PPC64.
1362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1363         multiarch ceil for PPC64.
1364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1365         multiarch ceilf for PPC64.
1367 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1369         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1370         multiarch implementation.
1371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1372         file.
1373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1374         file.
1375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1376         file.
1377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1378         multiarch llround for PPC64.
1379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1380         multiarch lround for PPC64.
1382 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1385         multiarch implementation.
1386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1389         file.
1390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1393         multiarch isnan for PPC64.
1394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1395         multiarch isnanf for PPC64.
1397 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1399         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1400         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1401         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1402         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1403         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1406 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1408         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1409         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1410         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1411         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1413 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1416         multiarch implementations.
1417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1418         (__libc_ifunc_impl_list): Likewise.
1419         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1420         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1421         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1422         multiarch stpcpy for PPC64.
1424 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1427         multiarch implementations.
1428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1429         (__libc_ifunc_impl_list): Likewise.
1430         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1431         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1432         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1433         multiarch strcpy for PPC64.
1435 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1437         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1438         redefine function name.
1439         (_wordcopy_fwd_dest_aligned): Likewise.
1440         (_wordcopy_bwd_aligned): Likewise.
1441         (_wordcopy_bwd_dest_aligned): Likewise.
1442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1443         multiarch implementations.
1444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1445         (__libc_ifunc_impl_list): Likewise.
1446         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1447         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1448         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1449         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1450         multiarch wcscpy for PPC64.
1452 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1455         multiarch implementations.
1456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1457         (__libc_ifunc_impl_list): Likewise.
1458         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1459         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1460         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1461         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1462         multiarch wcscpy for PPC64.
1464 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1467         multiarch implementations.
1468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1469         (__libc_ifunc_impl_list): Likewise.
1470         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1471         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1472         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1473         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1474         multiarch wcsrchr for PPC64.
1476 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1479         multiarch implementations.
1480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1481         (__libc_ifunc_impl_list): Likewise.
1482         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1483         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1484         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1485         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1486         multiarch wcschr for PPC64.
1488 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1491         multiarch implementations.
1492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1493         (__libc_ifunc_impl_list): Likewise.
1494         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1495         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1496         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1497         multiarch strchrnul for PPC64.
1499 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1502         implementations.
1503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1504         (__libc_ifunc_impl_list): Likewise.
1505         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1506         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1507         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1508         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1509         strchr for PPC64.
1511 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1514         implementations.
1515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1516         (__libc_ifunc_impl_list): Likewise.
1517         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1518         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1519         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1520         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1521         strncmp for PPC64.
1523 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1526         multiarch implementations.
1527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1528         (__libc_ifunc_impl_list): Likewise.
1529         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1530         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1531         strncasecmp for PPC64.
1532         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1533         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1534         multiarch strncasecmp_l for PPC64.
1536 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1539         multiarch implementations.
1540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1541         (__libc_ifunc_impl_list): Likewise.
1542         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1543         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1544         multiarch strcasecmp for PPC64.
1545         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1546         file.
1547         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1548         multiarch strcasecmp_l for PPC64.
1550 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1553         implementations.
1554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1555         (__libc_ifunc_impl_list): Likewise.
1556         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1557         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1558         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1559         strnlen for PPC64.
1561 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1564         implementations.
1565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1566         (__libc_ifunc_impl_list): Likewise.
1567         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1568         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1569         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1570         strlen for PPC64.
1572 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1575         implementations.
1576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1577         (__libc_ifunc_impl_list): Likewise.
1578         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1579         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1580         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1581         rawmemrchr for PPC64.
1583 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1586         implementation.
1587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1588         (__libc_ifunc_impl_list): Likewise.
1589         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1590         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1591         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1592         memrchr for PPC64.
1594 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1597         implementation.
1598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1599         (__libc_ifunc_impl_list): Likewise.
1600         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1601         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1602         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1603         memchr for PPC64.
1605 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1608         implementation.
1609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1610         (__libc_ifunc_impl_list): Likewise.
1611         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1612         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1613         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1614         mempcpy for PPC64.
1616 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1618         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1619         avoid cretion of __bzero symbol.
1620         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1621         Likewise.
1622         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1623         Likewise.
1624         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1625         Likewise.
1626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1627         multiarch implementations.
1628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1629         (__libc_ifunc_impl_list): Likewise.
1630         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1631         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1632         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1633         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1634         bzero for PPC32.
1635         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1636         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1637         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1638         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1639         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1640         memset for PPC64.
1641         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1643 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1645         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1647         implementations.
1648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1649         (__libc_ifunc_impl_list): Likewise.
1650         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1651         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1652         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1653         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1654         memcmp for PPC64.
1656 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1659         multiarch for POWER/PPC64.
1660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1661         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1662         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1663         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1664         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1665         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1666         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1667         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1668         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1669         memcpy for PPC64.
1671 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1673         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1674         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1675         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1676         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1677         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1678         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1679         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1680         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1681         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1682         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1683         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1684         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1685         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1686         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1687         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1696 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1698         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1700 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1702         * benchtests/Makefile (bench): Add exp2 and log2.
1703         (LDLIBS-bench-exp2): Add -lm.
1704         (LDLIBS-bench-log2): Likewise.
1705         * benchtests/exp2-inputs: New inputs file.
1706         * benchtests/log2-inputs: New inputs file.
1707         * benchtests/log-inputs: Add new inputs.
1708         * benchtests/tan-inputs: Likewise.
1710 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1712         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1713         definition...
1714         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1715         csloww1, csloww2): ... from here.
1717         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1718         instead of structures.
1719         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1720         (POLYNOMIAL): Likewise.
1721         (TAYLOR_SLOW): Likewise.
1722         (__sin): Likewise.
1723         (__cos): Likewise.
1724         (slow1): Likewise.
1725         (slow2): Likewise.
1726         (sloww): Likewise.
1727         (sloww1); Likewise.
1728         (sloww2): Likewise.
1729         (bsloww1): Likewise.
1730         (bsloww2): Likewise.
1731         (cslow2): Likewise.
1732         (csloww): Likewise.
1733         (csloww1): Likewise.
1734         (csloww2): Likewise.
1736 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1738         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1739         (__malloc_assert, __libc_realloc, __libc_calloc,
1740         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1741         memcpy and memset.
1742         * malloc/hooks.c (realloc_check): Likewise.
1744 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1746         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1747         * malloc/arena.c: Remove PER_THREAD conditional.
1748         [!PER_THREAD]: Remove code.
1749         (ptmalloc_unlock_all2): Likewise.
1750         (ptmalloc_init): Likewise.
1751         (_int_new_arena): Likewise.
1752         (arena_get2): Likewise.
1753         * malloc/hooks.c (__malloc_get_state): Likewise.
1754         (__malloc_set_state): Likewise.
1755         * malloc/malloc.c: Likewise.
1756         (struct malloc_state): Likewise.
1757         (struct malloc_par): Likewise.
1758         (__libc_realloc): Likewise.
1759         (__libc_mallopt): Likewise.
1761 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1763         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1765 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1767         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1768         macro to a function.  Check for zero perturb_byte.
1769         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1771 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1773         * malloc/malloc.c: (force_reg): Remove.
1774         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1775         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1776         force_reg by atomic_forced_read.
1777         * malloc/arena.c (ptmalloc_init): Likewise.
1778         * malloc/hooks.c (top_check): Likewise.
1780 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1784 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1788 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1790         * math/auto-libm-test-in: Add tests of lgamma.
1791         * math/auto-libm-test-out: Regenerated.
1792         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1793         (M_LOG_2_SQRT_PIl): Likewise.
1794         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1795         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1796         mpfr_f_f1.
1797         (func_calc_desc): Add mpfr_f_f1 union field.
1798         (ARGS1): New macro.
1799         (ARGS2): Likewise.
1800         (ARGS3): Likewise.
1801         (ARGS4): Likewise.
1802         (RET1): Likewise.
1803         (RET2): Likewise.
1804         (CALC): Likewise.
1805         (FUNC): Likewise.
1806         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1807         (test_functions): Add lgamma.
1808         (calc_generic_results): Handle mpfr_f_f1.
1809         * sysdeps/i386/fpu/libm-test-ulps: Update.
1810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1812 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1814         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1815         __mpn_add_n for PowerPC64/POWER7.
1816         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1817         __mpn_sub_n for PowerPC64/POWER7.
1819 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1821         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1822         __mpn_addmul_1 for PowerPC64.
1823         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1824         __mpn_submul_1 for PowerPC64.
1825         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1826         for PowerPC64.
1827         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1828         for PowerPC64.
1830 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1832         [BZ #15089]
1833         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1835 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1837         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1839 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1841         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1842         add multiarch folders.
1843         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1844         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1845         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1846         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1847         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1848         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1849         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1850         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1851         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1852         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1853         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1861 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1864         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1866         New file.
1867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1868         New file.
1869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1870         multiarch __ieee754_hypot for PowerPC32.
1871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1872         New file.
1873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1874         New file.
1875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1876         multiarch __ieee754_hypotf for PowerPC32.
1878 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1880         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1881         long_double_symbol only if __logbl is defined.
1882         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1883         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1884         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1885         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1886         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1887         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1888         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1889         path for implementation.
1890         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1891         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1893         logb, and logbl multiarch implementations for PowerPC32.
1894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1895         file.
1896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1897         file.
1898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1899         multiarch logb for PowerPC32.
1900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1901         file.
1902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1903         file.
1904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1905         multiarch logbf for PowerPC32.
1906         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1908         file.
1909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1910         multiarch logbl implementation for PowerPC32.
1912 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1915         and modff multiarch implementations.
1916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1917         New file.
1918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1919         New file.
1920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1921         multiarch modf for PowerPC32.
1922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1923         New file.
1924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1925         New file.
1926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1927         multiarch modff for PowerPC32.
1929 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1932         and lrintf multiarch implementations.
1933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1934         New file.
1935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1936         New file.
1937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1938         multiarch lrint for PowerPC32.
1939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1940         file: multiarch lrintf for PowerPC32.
1942 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1945         and lroundf multiarch implementations.
1946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1947         New file.
1948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1949         New file.
1950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1951         New file.
1952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1953         multiarch lround for PowerPC32.
1954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1955         file: multiarch lroundf for PowerPC32.
1957 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1960         copysign and copysignf multiarch implementations.
1961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1962         New file.
1963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1964         New file.
1965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1966         file: multiarch copysign for PowerPC32.
1967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1968         file: multiarch copysignf for PowerPC32.
1970 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1973         and truncf multiarch implementations.
1974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1975         New file.
1976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1977         file.
1978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1979         multiarch trunc for PowerPC32.
1980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1981         New file.
1982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1983         New file.
1984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1985         multiarch truncf for PowerPC32.
1987 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1990         and roundf multiarch implementations.
1991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1992         New file.
1993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1994         file.
1995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1996         multiarch round for PowerPC32.
1997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1998         New file.
1999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2000         New file.
2001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2002         multiarch roundf for PowerPC32.
2004 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2007         and floorf multiarch implementations.
2008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2009         New file.
2010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2011         file.
2012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2013         multiarch floor for PowerPC32.
2014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2015         New file.
2016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2017         New file.
2018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2019         multiarch floorf for PowerPC32.
2021 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2024         and ceilf multiarch implementations.
2025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2026         New file.
2027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2028         file.
2029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2030         multiarch ceil for PowerPC32.
2031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2032         New file.
2033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2034         file.
2035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2036         multiarch ceilf for PowerPC32.
2038 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2040         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2041         is defined.
2042         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2043         FINITEF is defined.
2044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2045         and finitef multiarch implementations.
2046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2047         New file.
2048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2049         file.
2050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2051         multiarch finite for PowerPC32.
2052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2053         New file.
2054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2055         file: multiarch finitef for PowerPC32.
2057 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2060         and isinff multiarch implementations.
2061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2062         file.
2063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2064         file.
2065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2066         multiarch isinf for PowerPC32.
2067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2068         New file.
2069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2070         multiarch isinff for PowerPC32.
2072 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2074         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2075         alias when __isnan is defined.
2076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2077         and isnanf multiarch implementations.
2078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2079         file.
2080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2081         file.
2082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2083         file.
2084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2085         file.
2086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2087         multiarch isnan for PowerPC32.
2088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2089         New file.
2090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2091         New file.
2092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2093         multiarch isnanf for PowerPC32.
2095 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2098         and sqrtf multiarch implementations.
2099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2100         file.
2101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2102         file.
2103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2104         multiarch sqrt for PowerPC32.
2105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2106         file.
2107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2108         file.
2109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2110         multiarch sqrtf for PowerPC32.
2112 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2115         and llroundf multiarch implementations.
2116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2117         New file.
2118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2119         New file.
2120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2121         New file.
2122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2123         file: multiarch llround for PowerPC32.
2124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2125         file: multiarch llroundf for PowerPC32.
2127 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2130         multiarch PowerPC32 fpu implementations.
2131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2132         New file.
2133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2134         New file.
2135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2136         multiarch llrint for PowerPC32.
2137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2138         New file.
2139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2140         New file.
2141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2142         file.
2144 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2148 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2150         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2151         file.
2152         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2153         file.
2154         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2155         file.
2156         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2157         multiarch wordcopy for PPC32.
2158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2159         wordcopy objects.
2160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2161         (__libc_ifunc_impl_list): Likewise.
2162         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2163         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2164         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2165         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2166         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2167         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2169 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2171         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2173         file.
2174         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2175         file.
2176         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2177         file.
2178         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2179         multiarch wcscpy for PPC32.
2180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2181         multiarch objects.
2182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2183         (__libc_ifunc_impl_list): Likewise.
2184         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2185         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2186         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2187         sysdeps/powerpc/power6/wcscpy.c.
2189 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2191         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2192         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2193         file.
2194         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2195         file.
2196         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2197         file.
2198         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2199         multiarch wcsrchr for PPC32.
2200         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2201         multiarch objects.
2202         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2203         (__libc_ifunc_impl_list): Likewise.
2204         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2205         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2206         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2207         sysdeps/powerpc/power6/wcsrchr.c.
2209 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2211         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2212         file.
2213         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2214         file.
2215         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2216         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2217         multiarch wcschr for PPc32.
2218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2219         multiarch objects.
2220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2221         (__libc_ifunc_impl_list): Likewise.
2222         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2223         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2224         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2225         sysdeps/powerpc/power6/wcschr.c.
2227 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2229         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2230         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2231         file.
2232         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2233         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2234         file: multiarch strchr for PPC32.
2235         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2236         multiarch objects.
2237         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2238         (__libc_ifunc_impl_list): Likewise.
2240 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2242         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2243         name.
2244         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2245         file.
2246         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2247         file.
2248         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2249         multiarch strchrnul for PPC32.
2250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2251         multiarch objects.
2252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2253         (__libc_ifunc_impl_list): Likewise.
2255 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2257         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2258         file.
2259         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2260         multiarch strncasecmp for PPC32.
2261         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2262         file.
2263         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2264         multiarch strncasecmp_l for PPC32.
2265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2266         strncasecmp multiarch objects.
2267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2268         (__libc_ifunc_impl_list): Likewise.
2270 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2272         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2273         file.
2274         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2275         multiarch strncasecmp for PPC32.
2276         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2277         New file.
2278         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2279         multiarch strcasecmp_l for PPC32.
2280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2281         multiarch objects.
2282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2283         (__libc_ifunc_impl_list): Likewise.
2285 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2287         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2288         file.
2289         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2290         file.
2291         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2292         multiarch strncmp for PPC32.
2293         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2294         multiarch objects.
2295         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2296         (__libc_ifunc_impl_list): Likewise.
2298 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2300         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2301         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2302         file.
2303         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2304         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2306         multiarch objects.
2307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2308         (__libc_ifunc_impl_list): Likewise.
2310 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2312         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2313         file.
2314         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2315         file.
2316         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2317         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2318         multiarch objects.
2319         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2320         (__libc_ifunc_impl_list): Likewise.
2322 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2324         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2325         file.
2326         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2327         file.
2328         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2329         multiarch rawmemchr for PPC32.
2330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2331         multiarch objects.
2332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2333         (__libc_ifunc_impl_list): Likewise.
2335 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2337         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2338         file.
2339         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2340         file.
2341         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2342         file: memrchr multiarch for PPC32.
2343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2344         multiarch objects.
2345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2346         (__libc_ifunc_impl_list): Likewise.
2348 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2350         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2351         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2352         file.
2353         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2354         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2355         multiarch memchr for PPC32.
2356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2357         multiarch objects.
2358         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2359         (__libc_ifunc_impl_list): Likewise.
2361 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2363         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2364         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2365         file.
2366         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2367         file.
2368         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2369         file: multiarch mempcpy for PPC32.
2370         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2371         multiarch objects.
2372         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2373         (__libc_ifunc_impl_list): Likewise.
2375 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2377         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2378         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2379         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2380         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2381         multiarch bzero for PPC32.
2382         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2383         file.
2384         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2385         file.
2386         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2387         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2388         file: multiarch memset for PPC32.
2389         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2391         memset multiarch objects.
2392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2393         (__libc_ifunc_impl_list): Likewise.
2395 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2397         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2398         file.
2399         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2400         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2401         memcmp for PPC32.
2402         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2404         multiarch objects.
2405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2406         (__libc_ifunc_impl_list): Likewise.
2408 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2410         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2411         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2412         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2413         file.
2414         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2415         file.
2416         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2417         file.
2418         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2419         multiarch memcpy for PPC32.
2420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2421         multiarch objects.
2422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2423         (__libc_ifunc_impl_list): Likewise.
2425 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2428         support multiarch for POWER/PPC32.
2429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2430         Likewise.
2431         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2433         Implies file to make multiarch folder appers before the fpu and
2434         default folder for power4 configuration.
2436 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2438         * scripts/bench.pl: Append volatile keyword to type.
2440 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2442         * sysdeps/sh/sotruss-lib.c: New file.
2443         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2445 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2449 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2451         [BZ #6810]
2452         * math/w_tgamma.c: Include <errno.h>.
2453         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2454         * math/w_tgammaf.c: Include <errno.h>.
2455         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2456         * math/w_tgammal.c: Include <errno.h>.
2457         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2458         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2459         underflow.  Add more tgamma tests.
2460         * math/auto-libm-test-out: Regenerated.
2461         * sysdeps/i386/fpu/libm-test-ulps: Update.
2462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2464         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2465         sin, sinh, tan, tanh, tgamma, y0 and y1.
2466         * math/auto-libm-test-out: Regenerated.
2467         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2468         (TEST_COND_x86): Likewise.
2469         (M_E2l): Remove macro.
2470         (M_E3l): Likewise.
2471         (M_2_SQRT_PIl): Likewise.
2472         (M_SQRT_PIl): Likewise.
2473         (M_1_DIV_El): Likewise.
2474         (log_test_data): Use AUTO_TESTS_f_f.
2475         (log10_test_data): Likewise.
2476         (log1p_test_data): Likewise.
2477         (log2_test_data): Likewise.
2478         (sin_test_data): Likewise.
2479         (sin_tonearest_test_data): Likewise.
2480         (sin_towardzero_test_data): Likewise.
2481         (sin_downward_test_data): Likewise.
2482         (sin_upward_test_data): Likewise.
2483         (sinh_test_data): Likewise.
2484         (sinh_tonearest_test_data): Likewise.
2485         (sinh_towardzero_test_data): Likewise.
2486         (sinh_downward_test_data): Likewise.
2487         (sinh_upward_test_data): Likewise.
2488         (tan_test_data): Likewise.
2489         (tan_tonearest_test_data): Likewise.
2490         (tan_towardzero_test_data): Likewise.
2491         (tan_downward_test_data): Likewise.
2492         (tan_upward_test_data): Likewise.
2493         (tanh_test_data): Likewise.
2494         (tgamma_test_data): Likewise.
2495         (y0_test_data): Likewise.
2496         (y1_test_data): Likewise.
2497         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2498         (special_real_inputs): Add pi/4.
2499         * sysdeps/i386/fpu/libm-test-ulps: Update.
2500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2502 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2504         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2505         "longjmp_target" static probes.
2506         (__longjmp): Rename to __longjmp_symbol.
2507         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2508         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2509         on which longjmp to generate.
2510         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2511         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2512         probe.
2513         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2514         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2515         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2516         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2517         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2518         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2520         __longjmp_symbol based on which __longjmp to generate.
2521         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2522         probe.
2523         (setjmp): Rename to setjmp_symbol.
2524         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2525         (_setjmp): Rename to _setjmp_symbol.
2526         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2527         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2528         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2529         which setjmp to generate.
2530         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2531         "longjmp_target" static probes.
2533 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2535         * benchtests/README: Add note about output arguments.
2536         * benchtests/bench-sincos.c: Remove file.
2537         * benchtests/sincos-inputs: New file.
2538         * scripts/bench.pl: Identify output arguments and define
2539         static variables for them.
2541         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2543         [BZ #15941]
2544         * Makefile (INSTALL): Add install-plain.texi as the primary
2545         dependency.
2546         * manual/install-plain.texi: New file.
2547         * manual/install.texi: Include node directive only for
2548         non-plaintext output.
2550 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2552         * stdlib/longlong.h: Update from GCC.
2554         [BZ #6807]
2555         [BZ #15901]
2556         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2557         * math/w_j0f.c (y0f): Likewise.
2558         * math/w_j0l.c (__y0l): Likewise.
2559         * math/w_j1.c (y1): Likewise.
2560         * math/w_j1f.c (y1f): Likewise.
2561         * math/w_j1l.c (__y1l): Likewise
2562         * math/w_jn.c (yn): Likewise.
2563         * math/w_jnf.c (ynf): Likewise.
2564         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2565         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2566         value for Bessel function domain errors outside _SVID_ mode.
2567         Adjust sign of return value for yn (negative integer, 0).
2568         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2569         by zero in return for negative x and set sign appropriately for
2570         negative n.
2571         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2572         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2573         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2574         expectations in error cases.
2575         (y1_test_data): Likewise.
2576         (yn_test_data): Likewise.
2577         * sysdeps/i386/fpu/libm-test-ulps: Update.
2578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2580 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2582         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2583         "64" to "64-v1".  Add "64-v2".
2584         (abi-64-options): Rename to ...
2585         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2586         (abi-64-condition): Rename to ...
2587         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2588         (abi-64-ld-soname): Rename to ...
2589         (abi-64-v1-ld-soname): ... this.
2590         (abi-64-v2-options): Define.
2591         (abi-64-v2-condition): Likewise.
2592         (abi-64-v2-ld-soname): Likewise.
2593         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2594         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2599 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2600             Alan Modra  <amodra@gmail.com>
2602         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2603         New versions for use with the ELFv2 ABI.
2604         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2605         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2606         declaration.
2607         (struct La_ppc64v2_retval): Likewise.
2608         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2609         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2610         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2611         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2612         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2613         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2614         Do not save or restore CR.
2615         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2616         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2617         return values for ELFv2 ABI.  Fix location of FPR return registers.
2618         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2619         updated values for _CALL_ELF == 2.
2620         (La_regs, La_retval, int_retval): Likewise.
2622 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2624         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2625         (FRAME_MIN_SIZE_PARM): Likewise.
2626         (FRAME_BACKCHAIN): Likewise.
2627         (FRAME_CR_SAVE): Likewise.
2628         (FRAME_LR_SAVE): Likewise.
2629         (FRAME_TOC_SAVE): Likewise.
2630         (FRAME_PARM_SAVE): Likewise.
2631         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2632         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2633         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2634         (call_mcount_parm_offset): New macro.
2635         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2636         (PROF): Use symbolic stack frame offsets.
2637         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2638         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2639         Redefine in terms of FRAME_MIN_SIZE.
2640         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2641         (_dl_profile_resolve): Likewise.  Update comment.
2642         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2643         symbols stack frame offsets.
2644         (__sigsetjmp): Likewise.
2645         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2646         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2647         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2648         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2651         (FRAME_BACKCHAIN): Remove.
2652         (FRAME_CR_SAVE): Likewise.
2653         (FRAME_LR_SAVE): Likewise.
2654         (FRAME_COMPILER_DW): Likewise.
2655         (FRAME_LINKER_DW): Likewise.
2656         (FRAME_TOC_SAVE): Likewise.
2657         (FRAME_PARM_SAVE): Likewise.
2658         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2659         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2660         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2662         (CHECK_SP): Use symbolic stack frame offsets.
2663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2664         zone" instead of caller's parameter save area for temp storage.
2665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2666         Likewise.  Also, use symbolic stack frame offsets.
2667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2668         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2669         our own stack frame instead of the caller's.
2670         (__socket): Use symbolic stack frame offsets.
2672 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2673             Alan Modra  <amodra@gmail.com>
2675         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2676         Define.
2677         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2678         PPC64_LOCAL_ENTRY_OFFSET): Define.
2679         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2680         New function.
2681         (elf_machine_fixup_plt): Call it.
2682         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2683         reloc arguments.
2684         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2685         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2686         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2687         r2 before calling target.
2689 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2690             Alan Modra  <amodra@gmail.com>
2692         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2693         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2694         versions of macros to support ELFv2 ABI.
2695         (LOCALENTRY): New macro.
2696         (ENTRY, EALIGN): Use it.
2697         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2698         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2699         fall through into ENTRY entry point.
2700         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2701         Only define if _CALL_ELF != 2.
2703         (elf_machine_matches_host): Verify ABI version matches.
2704         (RTLD_START): Use LOCALENTRY.
2705         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2706         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2707         (PLT_ENTRY_WORDS): New macro.
2708         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2709         (elf_machine_runtime_setup): Support ELFv2 ABI.
2710         (elf_machine_fixup_plt): Likewise.
2711         (elf_machine_plt_conflict): Likewise.
2712         (resolve_ifunc): Likewise.
2713         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2714         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2715         Likewise.
2716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2717         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2719         (makecontext): Support ELFv2 ABI.
2720         * elf/elf.h (EF_PPC64_ABI): Define.
2722 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2724         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2725         New assembler macro.
2726         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2727         [ASSEMBLER] (ENTRY): ... but instead here ...
2728         [ASSEMBLER] (EALIGN): ... and here.
2729         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2730         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2731         [!ASSEMBLER] (ENTRY_2): Use it.
2732         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2733         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2734         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2735         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2736         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2738         Use PPC64_LOAD_FUNCPTR.
2740 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2742         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2744 2013-12-04  Alan Modra  <amodra@gmail.com>
2746         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2747         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2748         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2749         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2751         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2752         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2753         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2754         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2755         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2756         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2758 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2761         (__makecontext): Fix incorrect CFI when backtracing out of
2762         context created via makecontext.
2763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2764         (__setcontext): Fix incorrect CFI during switch to new context.
2765         (__novec_setcontext): Likewise.
2767 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2769         [BZ #4772]
2770         * time/strptime_l.c (__strptime_internal): Allow modifiers
2771         in strptime.
2772         * time/tst-strptime.c (day_tests): Add testcase.
2775 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2777         * scripts/bench.pl: Skip over blank lines.
2779 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2781         [BZ #926]
2782         * manual/time.texi (Calendar Time): Clarify what timezone functions
2783         use.
2785 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2789 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2791         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2792         implementation.
2793         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2794         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2795         * debug/memset_chk.c (__memset_chk): Likewise.
2796         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2797         * debug/strncpy_chk.c: Likewise.
2799 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2801         [BZ #15268]
2802         [BZ #15425]
2803         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2804         (__ieee754_exp): For possibly underflowing results, check size of
2805         result and force underflow exception if required.
2806         * math/auto-libm-test-in: Add more tests of exp.
2807         * math/auto-libm-test-out: Regenerated.
2808         * sysdeps/i386/fpu/libm-test-ulps: Update.
2809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2811         [BZ #16283]
2812         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2813         * math/w_exp2f.c (__exp2f): Likewise.
2814         * math/w_exp2l.c (__exp2l): Likewise.
2815         * math/auto-libm-test-in: Do not allow missing errno on exp2
2816         underflow.
2817         * math/auto-libm-test-out: Regenerated.
2819 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2821         [BZ #16274]
2822         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2823         handle filename validation.
2824         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2825         (do_open): Delete.
2827 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2829         [BZ #6786]
2830         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2831         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2832         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2833         <float.h>.
2834         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2835         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2836         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2837         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2838         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2839         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2840         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2841         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2842         Add more erfc tests.
2843         * math/auto-libm-test-out: Regenerated.
2844         * sysdeps/i386/fpu/libm-test-ulps: Update.
2845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2847         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2848         exp2, expm1, j0 and j1.
2849         * math/auto-libm-test-out: Regenerated.
2850         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2851         (erfc_test_data): Likewise.
2852         (exp_test_data): Likewise.
2853         (exp_tonearest_test_data): Likewise.
2854         (exp_towardzero_test_data): Likewise.
2855         (exp_downward_test_data): Likewise.
2856         (exp_upward_test_data): Likewise.
2857         (exp10_test_data): Likewise.
2858         (exp2_test_data): Likewise.
2859         (expm1_test_data): Likewise.
2860         (j0_test_data): Likewise.
2861         (j1_test_data): Likewise.
2862         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2863         (input_flag_type): Add flag_xfail_rounding.
2864         (input_flags): Add xfail-rounding.
2865         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2866         (output_for_one_input_case): Handle flag_xfail_rounding.
2867         * sysdeps/i386/fpu/libm-test-ulps: Update.
2868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2870 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2872         [BZ #16289]
2873         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2874         division by 0.
2876 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2878         [BZ #16195]
2879         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2880         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2881         (STAP_PROBE0): New macro.
2882         (STAP_PROBE1): Likewise.
2883         (STAP_PROBE2): Likewise.
2884         (STAP_PROBE3): Likewise.
2885         (STAP_PROBE4): Likewise.
2887 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2889         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2891 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2893         * benchtests/Makefile (bench): Add sqrt.
2894         (LDLIBS-bench-sqrt): New.
2895         * benchtests/sqrt-input: New.
2897 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2899         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2900         (GAIH_EAI): Likewise.
2901         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2902         (gaih_inet): Likewise.
2903         (getaddrinfo): Don't use GAIH_EAI.
2905         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2906         (struct gaih): Remove definition.
2908 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2910         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2911         Use HERRNOP directly.
2913 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2917 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2919         * math/gen-auto-libm-tests.c (test_functions): Add more
2920         single-argument functions.
2921         (special_fill_pi_2): New function.
2922         (special_fill_minus_pi_2): Likewise.
2923         (special_fill_pi_6): Likewise.
2924         (special_fill_minus_pi_6): Likewise.
2925         (special_fill_pi_3): Likewise.
2926         (special_fill_2pi_3): Likewise.
2927         (special_fill_e): Likewise.
2928         (special_fill_1_e): Likewise.
2929         (special_fill_e_minus_1): Likewise.
2930         (special_real_inputs): Add more special inputs.
2931         (output_for_one_input_case): Do not require ERANGE on underflow to
2932         zero if round-to-nearest result does not underflow to zero, unless
2933         exact results required.
2934         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2935         atan, atanh, cbrt, cos and cosh.
2936         * math/auto-libm-test-out: Regenerated.
2937         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2938         (acos_tonearest_test_data): Likewise.
2939         (acos_towardzero_test_data): Likewise.
2940         (acos_downward_test_data): Likewise.
2941         (acos_upward_test_data): Likewise.
2942         (acosh_test_data): Likewise.
2943         (asin_test_data): Likewise.
2944         (asin_tonearest_test_data): Likewise.
2945         (asin_towardzero_test_data): Likewise.
2946         (asin_upward_test_data): Likewise.
2947         (asinh_test_data): Likewise.
2948         (atan_test_data): Likewise.
2949         (atanh_test_data): Likewise.
2950         (cbrt_test_data): Likewise.
2951         (cos_test_data): Likewise.
2952         (cos_tonearest_test_data): Likewise.
2953         (cos_towardzero_test_data): Likewise.
2954         (cos_downward_test_data): Likewise.
2955         (cos_upward_test_data): Likewise.
2956         (cosh_test_data): Likewise.
2957         (cosh_tonearest_test_data): Likewise.
2958         (cosh_towardzero_test_data): Likewise.
2959         (cosh_downward_test_data): Likewise.
2960         (cosh_upward_test_data): Likewise.
2961         * sysdeps/i386/fpu/libm-test-ulps: Update.
2962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2964 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2966         [BZ #6787]
2967         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2968         * math/w_exp10f.c (__exp10f): Likewise.
2969         * math/w_exp10l.c (__exp10l): Likewise.
2970         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2971         errno settings in existing tests.
2973         [BZ #14032]
2974         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2975         precision control set to double precision.
2976         * sysdeps/i386/fpu/w_sqrt.c: New file.
2977         * math/auto-libm-test-in: Add more tests.
2978         * math/auto-libm-test-out: Update.
2980         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2981         (sqrt_test_tonearest): New function.
2982         (sqrt_towardzero_test_data): New variable.
2983         (sqrt_test_towardzero): New function.
2984         (sqrt_downward_test_data): New variable.
2985         (sqrt_test_downward): New function.
2986         (sqrt_upward_test_data): New variable.
2987         (sqrt_test_upward): New function.
2988         (main): Call the new functions.
2990         * math/gen-auto-libm-tests.c: New file.
2991         * math/auto-libm-test-in: Likewise.
2992         * math/auto-libm-test-out: New generated file.
2993         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2994         variables.
2995         (%beautify): Add generated representations of zero.
2996         (top level): Set $auto_input and call parse_auto_input.
2997         (beautify): Remove trailing "f" from hex float constants.
2998         (parse_args): Handle XFAIL_TEST.
2999         (convert_condition): New function.
3000         (or_value): Likewise.
3001         (or_cond_value): Likewise.
3002         (generate_testfile): Handle AUTO_TESTS_* lines.
3003         (parse_auto_input): New function.
3004         * math/libm-test.inc (XFAIL_TEST): New macro.
3005         (ERRNO_UNCHANGED): Update value.
3006         (ERRNO_EDOM): Likewise.
3007         (ERRNO_ERANGE): Likewise.
3008         (IGNORE_RESULT): Likewise.
3009         (TEST_COND_flt_32): New macro.
3010         (TEST_COND_dbl_64): Likewise.
3011         (TEST_COND_ldbl_96_intel): Likewise.
3012         (TEST_COND_ldbl_96_m68k): Likewise.
3013         (TEST_COND_ldbl_128): Likewise.
3014         (TEST_COND_ldbl_128ibm): Likewise.
3015         (TEST_COND_long32): Likewise.
3016         (TEST_COND_long64): Likewise.
3017         (TEST_COND_before_rounding): Likewise.
3018         (TEST_COND_after_rounding): Likewise.
3019         (enable_test): Handle XFAIL_TEST flag.
3020         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3021         with finite results.
3022         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3023         auto-libm-test-out.
3025 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3026             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3028         [BZ #16214]
3029         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3030         __tls_get_addr_internal instead of __tls_get_offset in order to
3031         avoid GOT pointer dependency.  Make rtld export
3032         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3033         __tls_get_addr since we are a __tls_get_offset platform.
3034         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3035         GOT pointer being set up before.
3036         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3038 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3040         * manual/math.texi (Errors in Math Functions): Document accuracy
3041         goals.
3043         [BZ #15004]
3044         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3045         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3046         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3047         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3048         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3049         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3050         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3051         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3052         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3053         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3054         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3055         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3056         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3057         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3058         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3059         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3061         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3062         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3063         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3064         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3065         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3066         Likewise.
3067         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3068         Likewise.
3069         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3070         Likewise.
3071         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3072         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3073         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3074         atomic-feupdateenv and flt-rounds.
3075         * sysdeps/powerpc/nofpu/Versions (libc): Add
3076         __atomic_feholdexcept, __atomic_feclearexcept,
3077         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3078         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3079         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3080         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3081         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3082         here.
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3084         Update.
3086         * manual/arith.texi (FP Exceptions): Document that exceptions may
3087         not be raised when matherr is used.
3088         (Math Error Reporting): Document overflow in directed rounding
3089         modes.  Document that errno may not be set when finite values are
3090         returned on overflow.  Document intent to set errno on underflow
3091         only for underflow to zero.
3093         [BZ #16271]
3094         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3095         round-to-nearest then adjust result for other rounding modes.
3096         * include/fenv.h (fegetround): Use libm_hidden_proto.
3097         * math/fegetround.c (fegetround): Use libm_hidden_def.
3098         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3099         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3100         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3101         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3102         Likewise.
3103         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3104         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3105         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3106         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3108 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3110         [BZ #16077]
3111         * nss/Versions (libnss_files): Add
3112         _nss_files_gethostbyname3_r.
3113         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3114         New function.
3115         (HOST_DB_LOOKUP): Remove macro.
3116         (_nss_files_gethostbyname_r): Implement function without the
3117         HOST_DB_LOOKUP macro.
3118         (_nss_files_gethostbyname2_r): Likewise.
3120 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3122         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3124 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3126         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3127         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3128         warning.
3130 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3132         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3133         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3134         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3135         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3136         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3137         __fe_nomask_env_priv and attribute_hidden.
3138         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3139         (libc_feupdateenv_test_ppc): Likewise.
3140         (libc_feresetround_ppc): Likewise.
3141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3142         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3143         compat_symbol macro.
3144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3145         (__fe_nomask_env): Likewise.
3146         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3148 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3150         * string/Makefile: Remove ifunc tests.
3151         * string/test-string.h: Define TEST_IFUNC.
3152         * string/test-bcopy-ifunc.c: Remove.
3153         * string/test-bzero-ifunc.c: Likewise.
3154         * string/test-memccpy-ifunc.c: Likewise.
3155         * string/test-memchr-ifunc.c: Likewise.
3156         * string/test-memcmp-ifunc.c: Likewise.
3157         * string/test-memcpy-ifunc.c: Likewise.
3158         * string/test-memmem-ifunc.c: Likewise.
3159         * string/test-memmove-ifunc.c: Likewise.
3160         * string/test-mempcpy-ifunc.c: Likewise.
3161         * string/test-memrchr-ifunc.c: Likewise.
3162         * string/test-memset-ifunc.c: Likewise.
3163         * string/test-rawmemchr-ifunc.c: Likewise.
3164         * string/test-stpcpy-ifunc.c: Likewise.
3165         * string/test-stpncpy-ifunc.c: Likewise.
3166         * string/test-strcasecmp-ifunc.c: Likewise.
3167         * string/test-strcasestr-ifunc.c: Likewise.
3168         * string/test-strcat-ifunc.c: Likewise.
3169         * string/test-strchr-ifunc.c: Likewise.
3170         * string/test-strchrnul-ifunc.c: Likewise.
3171         * string/test-strcmp-ifunc.c: Likewise.
3172         * string/test-strcpy-ifunc.c: Likewise.
3173         * string/test-strcspn-ifunc.c: Likewise.
3174         * string/test-strlen-ifunc.c: Likewise.
3175         * string/test-strncasecmp-ifunc.c: Likewise.
3176         * string/test-strncat-ifunc.c: Likewise.
3177         * string/test-strncmp-ifunc.c: Likewise.
3178         * string/test-strncpy-ifunc.c: Likewise.
3179         * string/test-strnlen-ifunc.c: Likewise.
3180         * string/test-strpbrk-ifunc.c: Likewise.
3181         * string/test-strrchr-ifunc.c: Likewise.
3182         * string/test-strspn-ifunc.c: Likewise.
3183         * string/test-strstr-ifunc.c: Likewise.
3185 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3187         * benchtests/Makefile: Remove ifunc tests.
3188         * benchtests/bench-string.h: Define TEST_IFUNC.
3189         * benchtests/bench-bcopy-ifunc.c: Remove.
3190         * benchtests/bench-bzero-ifunc.c: Likewise.
3191         * benchtests/bench-memccpy-ifunc.c: Likewise.
3192         * benchtests/bench-memchr-ifunc.c: Likewise.
3193         * benchtests/bench-memcmp-ifunc.c: Likewise.
3194         * benchtests/bench-memcpy-ifunc.c: Likewise.
3195         * benchtests/bench-memmem-ifunc.c: Likewise.
3196         * benchtests/bench-memmove-ifunc.c: Likewise.
3197         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3198         * benchtests/bench-memrchr-ifunc.c: Likewise.
3199         * benchtests/bench-memset-ifunc.c: Likewise.
3200         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3201         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3202         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3203         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3204         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3205         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3206         * benchtests/bench-strcat-ifunc.c: Likewise.
3207         * benchtests/bench-strchr-ifunc.c: Likewise.
3208         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3209         * benchtests/bench-strcmp-ifunc.c: Likewise.
3210         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3211         * benchtests/bench-strcpy-ifunc.c: Likewise.
3212         * benchtests/bench-strcspn-ifunc.c: Likewise.
3213         * benchtests/bench-strlen-ifunc.c: Likewise.
3214         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3215         * benchtests/bench-strncat-ifunc.c: Likewise.
3216         * benchtests/bench-strncmp-ifunc.c: Likewise.
3217         * benchtests/bench-strncpy-ifunc.c: Likewise.
3218         * benchtests/bench-strnlen-ifunc.c: Likewise.
3219         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3220         * benchtests/bench-strrchr-ifunc.c: Likewise.
3221         * benchtests/bench-strsep-ifunc.c: Likewise.
3222         * benchtests/bench-strspn-ifunc.c: Likewise.
3223         * benchtests/bench-strstr-ifunc.c: Likewise.
3225 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3227         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3229 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3231         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3232         * rt/aio.h: Likewise.
3233         * sysdeps/gnu/bits/utmp.h: Likewise.
3234         * sysdeps/gnu/bits/utmpx.h: Likewise.
3235         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3236         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3237         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3238         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3239         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3240         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3241         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3242         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3243         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3244         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3245         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3246         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3247         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3249         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3250         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3251         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3252         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3253         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3254         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3255         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3256         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3257         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3258         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3259         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3260         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3261         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3262         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3263         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3264         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3265         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3266         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3267         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3268         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3269         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3270         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3271         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3272         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3273         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3274         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3275         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3276         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3278 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3280         [BZ #16245]
3281         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3282         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3284 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3286         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3287         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3288         Likewise.
3290 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3292         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3293         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3294         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3295         (__fesetround): Remove define.
3296         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3297         rounding and exceptions handling.
3298         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3299         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3300         (__fe_nomask_env): Likewise.
3301         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3302         __fegetround instead of fegetround.
3303         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3304         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3306 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3308         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3309         it's there.
3311         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3313 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3315         [BZ #11157]
3316         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3317         (encrypt_r): Likewise.
3318         * malloc/obstack.h (obstack_free): Likewise.
3319         * posix/unistd.h (encrypt): Likewise.
3321 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3323         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3324         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3325         DL_CALL_DT_FINI() that call the functions directly.
3326         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3327         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3328         * elf/dl-fini.c: Likewise.
3330 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3332         * malloc/hooks.c (memalign_check): Add alignment rounding.
3333         * malloc/malloc.c (_mid_memalign): New function.
3334         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3335         Implement by calling _mid_memalign.
3336         * manual/probes.texi (Memory Allocation Probes): Remove
3337         memory_valloc_retry and memory_pvalloc_retry.
3339 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3341         * locale/programs/locarchive.c (open_archive): Add const
3342         qualifier to ARCHIVEFNAME and copy default fname to
3343         DEFAULT_FNAME.
3345         [BZ #15601]
3346         * libio/tst-widetext.input: Rename Oriya to Odia.
3347         * locale/iso-639.def: Likewise.
3349         * manual/probes.texi (Mathematical Function Probes): Add
3350         documentation for sin, cos, asin and acos probes.
3351         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3352         (__sin32): Add slowasin probe.
3353         (__cos32): Add slowacos probe.
3354         (__mpsin): Add slowsin probe.
3355         (__mpcos): Add slowcos probe.
3357 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3359         [BZ #15483]
3360         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3361         thread-local __sim_exceptions_thread and global
3362         __sim_exceptions_global.
3363         (__sim_disabled_exceptions): Change to thread-local
3364         __sim_disabled_exceptions_thread and global
3365         __sim_disabled_exceptions_global.
3366         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3367         and global __sim_round_mode_global.
3368         (__simulate_exceptions): Use thread-local floating-point state and
3369         set global state from it as needed.
3370         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3371         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3372         __sim_round_mode_thread.
3373         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3374         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3375         and global __sim_exceptions_global.
3376         (__sim_disabled_exceptions): Change to thread-local
3377         __sim_disabled_exceptions_thread and global
3378         __sim_disabled_exceptions_global.
3379         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3380         and global __sim_round_mode_global.
3381         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3382         (SIM_SET_GLOBAL): Likewise.
3383         * sysdeps/powerpc/soft-fp/sfp-machine.h
3384         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3385         __sim_round_mode_thread.
3386         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3387         __sim_disabled_exceptions_thread.
3388         (__sim_exceptions): Change to __sim_exceptions_thread.
3389         (__sim_disabled_exceptions): Change to
3390         __sim_disabled_exceptions_thread.
3391         (__sim_round_mode): Change to __sim_round_mode_thread.
3392         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3393         thread-local floating-point state and set global state from it as
3394         needed.
3395         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3396         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3397         (__sim_disabled_exceptions): Remove extern declaration.
3398         (feenableexcept): Use thread-local floating-point state and set
3399         global state from it as needed.
3400         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3401         extern declaration.
3402         (__sim_disabled_exceptions): Likewise.
3403         (__sim_round_mode): Likewise.
3404         (__fegetenv): Use thread-local floating-point state.
3405         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3406         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3407         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3408         floating-point state and set global state from it as needed.
3409         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3410         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3411         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3412         Likewise.
3413         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3414         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3415         Likewise.
3416         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3417         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3418         Use __sim_round_mode_thread.
3419         * math/test-fenv-tls.c: New file.
3420         * math/Makefile (tests): Add test-fenv-tls.
3421         ($(objpfx)test-fenv-tls): Depend on
3422         $(common-objpfx)nptl/libpthread.so.
3424 2013-11-19  Andreas Schwab  <schwab@suse.de>
3426         * locale/programs/locale.c (show_info): Decode wordarray elements.
3427         * locale/categories.def (LC_MONETARY): Add element for
3428         _NL_MONETARY_CRNCYSTR.
3429         * locale/C-monetary.c (conversion_rate): New variable.
3430         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3431         element.
3433 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3435         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3436         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3438 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3440         * elf/Makefile (tst-auxv): New test.
3441         * elf/tst-auxv.c: New
3442         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3444 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3446         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3447         (hidden_proto): Caller changed.
3448         (hidden_tls_proto): New macro.
3449         (libc_hidden_tls_proto): Likewise.
3450         (rtld_hidden_tls_proto): Likewise.
3451         (libm_hidden_tls_proto): Likewise.
3452         (libresolv_hidden_tls_proto): Likewise.
3453         (librt_hidden_tls_proto): Likewise.
3454         (libdl_hidden_tls_proto): Likewise.
3455         (libnss_files_hidden_tls_proto): Likewise.
3456         (libnsl_hidden_tls_proto): Likewise.
3457         (libnss_nisplus_hidden_tls_proto): Likewise.
3458         (libutil_hidden_tls_proto): Likewise.
3460 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3462         [BZ #10253]
3463         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3464         (decompose_rpath): Defer expansion to fillin_rpath.
3465         (_dl_init_paths): Pass linkmap to fillin_rpath.
3467 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3469         * benchtests/Makefile: Add strsep.
3470         * benchtests/bench-strsep.c: New file: strsep benchtest.
3471         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3473 2013-11-18  Andreas Schwab  <schwab@suse.de>
3475         * locale/programs/locale.c (show_info) [case byte]: Check for
3476         '\377' instead of '\177'.
3477         * locale/C-monetary.c (not_available): Always use "\377".
3478         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3479         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3480         detect unavailable sign_posn locale elements.
3481         * locale/localeconv.c (__localeconv): For grouping and
3482         mon_grouping handle "\177" and "\377" like no grouping.
3483         (INT_ELEM): New macro.  Use it to set all numeric members.
3484         * locale/programs/ld-monetary.c (monetary_read)
3485         <tok_mon_grouping>: Normalize single -1 to the empty string.
3486         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3487         Likewise.
3489 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3491         [BZ #16055]
3492         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3493         when we match (nil).
3494         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3496 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3498         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3499         (NO_TEST_INLINE): Update value.
3500         (ERRNO_UNCHANGED): Likewise.
3501         (ERRNO_EDOM): Likewise.
3502         (ERRNO_ERANGE): Likewise.
3503         (IGNORE_RESULT): Likewise.
3504         (check_float_internal): Check signs of NaN results if
3505         TEST_NAN_SIGN used.
3506         (check_complex): Pass TEST_NAN_SIGN flag through to second
3507         check_float_internal call.
3508         (copysign_test_data): Add tests with quiet NaNs as second
3509         argument.  Use TEST_NAN_SIGN.
3510         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3511         TEST_NAN_SIGN.
3512         (signbit_test_data): Add tests of quiet NaN argument.
3513         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3515         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3516         $ignore_result.
3517         (parse_args): Handle function results specified as IGNORE.
3518         * math/libm-test.inc (IGNORE_RESULT): New macro.
3519         (check_float_internal): Do not check numerical result if flag
3520         IGNORE_RESULT set.
3521         (check_complex): Pass through IGNORE_RESULT to second
3522         check_float_internal call.
3523         (check_int): Do not check numerical result if flag IGNORE_RESULT
3524         set.
3525         (check_long): Likewise.
3526         (check_bool): Likewise.
3527         (check_longlong): Likewise.
3528         (lrint_test_data): Add tests of infinite and NaN arguments.
3529         (lrint_tonearest_test_data): Likewise.
3530         (lrint_towardzero_test_data): Likewise.
3531         (lrint_downward_test_data): Likewise.
3532         (lrint_upward_test_data): Likewise.
3533         (llrint_test_data): Likewise.
3534         (llrint_tonearest_test_data): Likewise.
3535         (llrint_towardzero_test_data): Likewise.
3536         (llrint_downward_test_data): Likewise.
3537         (llrint_upward_test_data): Likewise.
3538         (lround_test_data): Likewise.
3539         (llround_test_data): Likewise.
3541         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3542         (ERRNO_UNCHANGED): Update value.
3543         (ERRNO_EDOM): Likewise.
3544         (ERRNO_ERANGE): Likewise.
3545         (NO_TEST_INLINE_FLOAT): New macro.
3546         (NO_TEST_INLINE_DOUBLE): Likewise.
3547         (enable_test): New function.
3548         (RUN_TEST_f_f): Check enable_test before running test.
3549         (RUN_TEST_2_f): Likewise.
3550         (RUN_TEST_fff_f): Likewise.
3551         (RUN_TEST_c_f): Likewise.
3552         (RUN_TEST_f_f1): Likewise.
3553         (RUN_TEST_fF_f1): Likewise.
3554         (RUN_TEST_fI_f1): Likewise.
3555         (RUN_TEST_ffI_f1): Likewise.
3556         (RUN_TEST_c_c): Likewise.
3557         (RUN_TEST_cc_c): Likewise.
3558         (RUN_TEST_f_i): Likewise.
3559         (RUN_TEST_f_i_tg): Likewise.
3560         (RUN_TEST_ff_i_tg): Likewise.
3561         (RUN_TEST_f_b): Likewise.
3562         (RUN_TEST_f_b_tg): Likewise.
3563         (RUN_TEST_f_l): Likewise.
3564         (RUN_TEST_f_L): Likewise.
3565         (RUN_TEST_fFF_11): Likewise.
3566         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3567         conditionals.
3568         (cosh_test_data): Likewise.
3569         (exp_test_data): Likewise.
3570         (expm1_test_data): Likewise.
3571         (hypot_test_data): Likewise.
3572         (pow_test_data): Likewise.
3573         (sinh_test_data): Likewise.
3574         (tanh_test_data): Likewise.
3575         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3576         flags argument.
3578         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3579         tests with quiet NaN input and output.
3580         (acosh_test_data): Likewise.
3581         (asin_test_data): Likewise.
3582         (asinh_test_data): Likewise.
3583         (atan_test_data): Likewise.
3584         (atanh_test_data): Likewise.
3585         (atan2_test_data): Likewise.
3586         (cbrt_test_data): Likewise.
3587         (cos_test_data): Likewise.
3588         (cosh_test_data): Likewise.
3589         (erf_test_data): Likewise.
3590         (erfc_test_data): Likewise.
3591         (exp_test_data): Likewise.
3592         (exp10_test_data): Likewise.
3593         (exp2_test_data): Likewise.
3594         (expm1_test_data): Likewise.
3595         (hypot_test_data): Likewise.
3596         (j0_test_data): Likewise.
3597         (j1_test_data): Likewise.
3598         (jn_test_data): Likewise.
3599         (lgamma_test_data): Likewise.
3600         (log_test_data): Likewise.
3601         (log10_test_data): Likewise.
3602         (log1p_test_data): Likewise.
3603         (log2_test_data): Likewise.
3604         (pow_test_data): Likewise.
3605         (scalb_test_data): Likewise.
3606         (sin_test_data): Likewise.
3607         (sincos_test_data): Likewise.
3608         (sinh_test_data): Likewise.
3609         (tan_test_data): Likewise.
3610         (tanh_test_data): Likewise.
3611         (tgamma_test_data): Likewise.
3612         (y0_test_data): Likewise.
3613         (y1_test_data): Likewise.
3614         (yn_test_data): Likewise.
3616         [BZ #16167]
3617         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3618         argument being NaN and avoid computations with second argument in
3619         that case.
3620         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3621         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3622         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3624 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3626         * locale/iso-639.def: Add Chitwani Tharu (the).
3628 2013-11-14  Andreas Schwab  <schwab@suse.de>
3630         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3631         word instead of empty string.
3633 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3636         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3638         (__fe_nomask_env): Likewise.
3640 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3642         * benchtests/bench-timing.h: Include time.h.
3644 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3646         [BZ #15997]
3647         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3648         to 3.4.0 for x32.
3649         * sysdeps/unix/sysv/linux/configure: Regenerated.
3651 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3653         [BZ #16151]
3654         * stdlib/strtod_l.c (round_and_return): Do not consider
3655         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3656         exponent one less than half the least subnormal exponent.
3657         * stdlib/test-strtod-round-data: Add more tests.
3658         * stdlib/tst-strtod-round.c (tests): Regenerated.
3660 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3662         [BZ #14143]
3663         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3664         (__fe_mask_env): Likewise.
3665         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3666         libm_hidden_proto and add function prototype.
3667         (__fe_mask_env): Add function prototype.
3668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3669         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3671         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3673         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3675 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3677         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3678         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3680 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3682         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3683         of htab_find_slot().
3685 2013-11-11  David S. Miller  <davem@davemloft.net>
3687         [BZ #16150]
3688         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3689         symbol in the non-vis3 case in static builds.
3690         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3691         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3692         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3693         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3695 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3697         [BZ #387]
3698         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3699         it is empty.
3701 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3703         * benchtests/Makefile: Add bench-strtod.
3704         * benchtests/bench-strtod.c: New file: strtod benchtest
3706 2013-11-11  Andreas Schwab  <schwab@suse.de>
3708         [BZ #16153]
3709         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3710         terminating NUL in key length.
3712 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3714         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3715         Add artificial ODP entry for vDSO symbol for PPC64.
3716         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3717         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3719 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3721         [BZ #15374]
3722         * nss/getent.c (services_keys): Recognize services starting with digit.
3724 2013-11-06  David S. Miller  <davem@davemloft.net>
3726         [BZ #15985]
3727         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3728         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3730 2013-11-06  Will Newton  <will.newton@linaro.org>
3732         * manual/memory.texi (Malloc Examples): Remove register
3733         keyword from examples.
3735 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3737         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3739 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3741         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3742         depending on [__GCC_IEC_559 > 0].
3743         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3744         depending on [__GCC_IEC_559_COMPLEX > 0].
3746 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3748         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3749         to iso-639.def.
3751 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3753         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3755 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3757         [BZ #16112]
3758         * malloc/malloc (malloc_info): Do not handle first bin as
3759         special case.
3761 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3763         * locale/iso-639.def: Add Central Nahuatl (nhn).
3765 2013-11-01  Bruno Haible  <bruno@clisp.org>
3767         [BZ #7003]
3768         * manual/math.texi (BSD Random): Specify range upper bound as
3769         in POSIX.
3771 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3773         * locale/iso-639.def: Add Meadow Mari (mhr).
3775 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3777         [BZ #14752], [BZ #15763]
3778         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3779         Validate name.
3780         * rt/tst_shm.c: Add test for escaping directory.
3782 2013-10-31  Andreas Schwab  <schwab@suse.de>
3784         [BZ #15917]
3785         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3786         followed by 'x' as part of digit sequence.
3787         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3789 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3791         [BZ #16037]
3792         * configure.ac: allow GNU Make 4.0 and greater.
3793         * configure: Regenerated.
3795 2013-10-30  Will Newton  <will.newton@linaro.org>
3797         [BZ #16038]
3798         * malloc/hooks.c (memalign_check): Limit alignment to the
3799         maximum representable power of two.
3800         * malloc/malloc.c (__libc_memalign): Likewise.
3801         * malloc/tst-memalign.c (do_test): Add test for very
3802         large alignment values.
3803         * malloc/tst-posix_memalign.c (do_test): Likewise.
3805 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3807         [BZ #11087]
3808         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3809         (munmap_chunk): Likewise.
3810         (mremap_chunk): Likewise.
3812 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3814         [BZ #15799]
3815         * stdlib/div.c (div): Remove obsolete code.
3816         * stdlib/ldiv.c (ldiv): Likewise.
3817         * stdlib/lldiv.c (lldiv): Likewise.
3819 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3821         [BZ #16071]
3822         * nss/nss_files/files-XXX.c (get_contents_ret): New
3823         enumerator.
3824         (get_contents): New function.
3825         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3827 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3829         * configure.in: Moved to ...
3830         * configure.ac: ... here. Change reference to configure.in
3831         to configure.ac.
3832         * sysdeps/arm/preconfigure.ac: ... here.
3833         configure.in to configure.ac.
3834         * sysdeps/gnu/configure.in: Moved to ...
3835         * sysdeps/gnu/configure.ac: ... here.
3836         * sysdeps/i386/configure.in: Moved to ...
3837         * sysdeps/i386/configure.ac: ... here.
3838         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3839         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3840         * sysdeps/mach/configure.in: Moved to ...
3841         * sysdeps/mach/configure.ac: ... here.
3842         * sysdeps/mach/hurd/configure.in: Moved to ...
3843         * sysdeps/mach/hurd/configure.ac: ... here.
3844         * sysdeps/powerpc/configure.in: Moved to ...
3845         * sysdeps/powerpc/configure.ac: ... here.
3846         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3847         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3848         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3849         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3850         * sysdeps/s390/s390-32/configure.in: Moved to ...
3851         * sysdeps/s390/s390-32/configure.ac: ... here.
3852         * sysdeps/s390/s390-64/configure.in: Moved to ...
3853         * sysdeps/s390/s390-64/configure.ac: ... here.
3854         * sysdeps/sh/configure.in: Moved to ...
3855         * sysdeps/sh/configure.ac: ... here.
3856         * sysdeps/sparc/configure.in: Moved to ...
3857         * sysdeps/sparc/configure.ac: ... here.
3858         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3859         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3860         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3861         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3862         * sysdeps/x86_64/configure.in: Moved to ...
3863         * sysdeps/x86_64/configure.ac: ... here.
3864         * sysdeps/x86_64/preconfigure.in: Moved to ...
3865         * sysdeps/x86_64/preconfigure.ac: ... here.
3866         * aclocal.m4: Change reference to configure.in to configure.ac.
3867         * config.h.in: Likewise.
3868         * manual/install.texi: Likewise.
3869         * manual/maint.texi: Likewise.
3870         * Makefile: Likewise.
3871         * malloc/Makefile: Likewise.
3872         * nscd/Makefile: Likewise.
3873         * Makeconfig: Change reference to configure.in and
3874         preconfigure.in to configure.ac and preconfigure.ac
3875         respectively.
3876         * INSTALL: Regenerated.
3877         * configure: Likewise.
3878         * sysdeps/gnu/configure: Likewise.
3879         * sysdeps/i386/configure: Likewise.
3880         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3881         * sysdeps/mach/configure: Likewise.
3882         * sysdeps/mach/hurd/configure: Likewise.
3883         * sysdeps/powerpc/configure: Likewise.
3884         * sysdeps/powerpc/powerpc32/configure: Likewise.
3885         * sysdeps/powerpc/powerpc64/configure: Likewise.
3886         * sysdeps/s390/s390-32/configure: Likewise.
3887         * sysdeps/s390/s390-64/configure: Likewise.
3888         * sysdeps/sh/configure: Likewise.
3889         * sysdeps/sparc/configure: Likewise.
3890         * sysdeps/unix/sysv/linux/configure: Likewise.
3891         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3892         * sysdeps/x86_64/configure: Likewise.
3893         * sysdeps/x86_64/preconfigure: Likewise.
3895 2013-10-29  Andreas Schwab  <schwab@suse.de>
3897         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3899 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3901         * benchtests/pow-inputs: Add new inputs.
3903         * benchtests/exp-inputs: Add new inputs.
3905         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3906         conditional check for return value.
3907         (__cos32): Likewise.
3909 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3911         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3912         to provide a boost for large inputs with word alignment.
3913         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3914         implementation based on optimized PPC64 strcpy.
3915         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3916         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3917         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3918         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3920 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3922         [BZ #2801]
3923         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3925 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3927         [BZ #14876]
3928         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3929         * time/tst-strptime.c (day_tests): Add testcase.
3931 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3933         [BZ #14029]
3934         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3936 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3938         [BZ #16074]
3939         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3940         MAP_FAILED on error.
3942 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3944         [BZ #16072]
3945         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3946         heap for large requests.
3948 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3950         [BZ #9954]
3951         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3952         result if the result has no associated interface.
3953         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3954         interface for all 127.X.Y.Z addresses.
3956 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3958         * locale/iso-639.def: Add Ligurian (lij)
3960 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3962         [BZ #15825]
3963         * sunrpc/rpc_main.c: Document rpcgen -5.
3965 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3967         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3969 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3971         [BZ #10278]
3972         * posix/glob.c: Match only directories when trailing slash is present.
3973         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3974         (main): Add testcase.
3976 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3978         [BZ #15670]
3979         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3981 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3983         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3984         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3985         AUTH_DES and cindex for FIPS 140-2.
3986         (DES Encryption): Add cindex FIPS 46-3.
3988         * locale/locarchive.h (struct locarhandle): Add fname.
3989         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3990         if an optional argument was specified to --list-archive,
3991         otherwise NULL.
3992         * locale/programs/locarchive.c (show_archive_content): Take new
3993         argument fname and pass it via ah.fname to open_archive.
3994         * locale/programs/localedef.h: Update decl.
3995         (open_archive): If AH->fname is non-null, open that file
3996         rather than the default file name, and don't ignore ENOENT.
3997         (create_archive): Set AH.fname to NULL.
3998         (delete_locales_from_archive): Likewise.
3999         (add_locales_to_archive): Likewise.
4000         * locale/programs/locfile.c (write_all_categories): Likewise.
4002 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4003             Aldy Hernandez  <aldyh@redhat.com>
4005         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4006         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4007         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4008         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4009         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4010         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4011         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4012         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4013         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4014         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4015         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4016         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4017         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4018         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4019         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4020         Likewise.
4021         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4022         Likewise.
4023         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4024         Likewise.
4025         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4026         Likewise.
4027         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4028         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4029         Likewise.
4030         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4031         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4032         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4033         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4034         Likewise.
4035         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4036         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4037         * sysdeps/powerpc/preconfigure: Likewise.
4038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4039         Likewise.
4040         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4041         Replace contents of file by #include of <fenv_libc.h>.
4042         * sysdeps/powerpc/soft-fp/sfp-machine.h
4043         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4044         and <sys/prctl.h>.
4045         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4046         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4047         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4048         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4049         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4050         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4052         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4053         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4054         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4055         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4056         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4058         Allow copysignl PLT reference to be missing.
4060 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4061             Joseph Myers  <joseph@codesourcery.com
4063         [BZ #15948]
4064         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4065         single character.
4066         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4068 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4070         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4071         * elf/tst-tls1.c: Likewise.
4072         * elf/tst-tls10.h: Likewise.
4073         * elf/tst-tls14.c: Likewise.
4074         * elf/tst-tls2.c: Likewise.
4075         * elf/tst-tls3.c: Likewise.
4076         * elf/tst-tls4.c: Likewise.
4077         * elf/tst-tls5.c: Likewise.
4078         * elf/tst-tls6.c: Likewise.
4079         * elf/tst-tls7.c: Likewise.
4080         * elf/tst-tls8.c: Likewise.
4081         * elf/tst-tls9.c: Likewise.
4082         * elf/tst-tlsmod1.c: Likewise.
4083         * elf/tst-tlsmod13.c: Likewise.
4084         * elf/tst-tlsmod13a.c: Likewise.
4085         * elf/tst-tlsmod14a.c: Likewise.
4086         * elf/tst-tlsmod16a.c: Likewise.
4087         * elf/tst-tlsmod16b.c: Likewise.
4088         * elf/tst-tlsmod2.c: Likewise.
4089         * elf/tst-tlsmod3.c: Likewise.
4090         * elf/tst-tlsmod4.c: Likewise.
4091         * elf/tst-tlsmod5.c: Likewise.
4092         * elf/tst-tlsmod6.c: Likewise.
4094 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4096         [BZ #12486]
4097         * malloc/malloc.c: remove checks for statistics.
4099 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4101         [BZ #15277]
4102         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4103         * inet/tst-network.c: Add testcase.
4105 2013-10-17  Andreas Schwab  <schwab@suse.de>
4107         [BZ #15218]
4108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4109         to determine canonical name.
4111 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4113         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4114         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4115         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4116         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4117         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4118         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4119         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4120         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4121         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4122         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4123         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4124         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4125         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4126         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4127         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4128         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4130         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4131         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4132         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4133         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4134         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4135         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4136         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4137         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4138         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4139         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4140         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4141         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4142         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4143         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4144         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4145         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4146         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4147         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4148         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4150         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4151         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4152         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4153         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4154         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4155         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4156         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4157         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4158         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4159         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4160         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4161         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4162         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4163         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4164         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4165         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4166         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4167         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4168         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4169         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4170         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4172 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4174         [BZ #16041]
4175         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4176         make result into a quiet NaN.
4178 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4180         * soft-fp/adddf3.c: Fix horizontal whitespace.
4181         * soft-fp/addsf3.c: Likewise.
4182         * soft-fp/addtf3.c: Likewise.
4183         * soft-fp/divdf3.c: Likewise.
4184         * soft-fp/divsf3.c: Likewise.
4185         * soft-fp/divtf3.c: Likewise.
4186         * soft-fp/double.h: Likewise.
4187         * soft-fp/eqdf2.c: Likewise.
4188         * soft-fp/eqsf2.c: Likewise.
4189         * soft-fp/eqtf2.c: Likewise.
4190         * soft-fp/extenddftf2.c: Likewise.
4191         * soft-fp/extended.h: Likewise.
4192         * soft-fp/extendsfdf2.c: Likewise.
4193         * soft-fp/extendsftf2.c: Likewise.
4194         * soft-fp/extendxftf2.c: Likewise.
4195         * soft-fp/fixdfdi.c: Likewise.
4196         * soft-fp/fixdfsi.c: Likewise.
4197         * soft-fp/fixdfti.c: Likewise.
4198         * soft-fp/fixsfdi.c: Likewise.
4199         * soft-fp/fixsfsi.c: Likewise.
4200         * soft-fp/fixsfti.c: Likewise.
4201         * soft-fp/fixtfdi.c: Likewise.
4202         * soft-fp/fixtfsi.c: Likewise.
4203         * soft-fp/fixtfti.c: Likewise.
4204         * soft-fp/fixunsdfdi.c: Likewise.
4205         * soft-fp/fixunsdfsi.c: Likewise.
4206         * soft-fp/fixunsdfti.c: Likewise.
4207         * soft-fp/fixunssfdi.c: Likewise.
4208         * soft-fp/fixunssfsi.c: Likewise.
4209         * soft-fp/fixunssfti.c: Likewise.
4210         * soft-fp/fixunstfdi.c: Likewise.
4211         * soft-fp/fixunstfsi.c: Likewise.
4212         * soft-fp/fixunstfti.c: Likewise.
4213         * soft-fp/floatdidf.c: Likewise.
4214         * soft-fp/floatdisf.c: Likewise.
4215         * soft-fp/floatditf.c: Likewise.
4216         * soft-fp/floatsidf.c: Likewise.
4217         * soft-fp/floatsisf.c: Likewise.
4218         * soft-fp/floatsitf.c: Likewise.
4219         * soft-fp/floattidf.c: Likewise.
4220         * soft-fp/floattisf.c: Likewise.
4221         * soft-fp/floattitf.c: Likewise.
4222         * soft-fp/floatundidf.c: Likewise.
4223         * soft-fp/floatundisf.c: Likewise.
4224         * soft-fp/floatunditf.c: Likewise.
4225         * soft-fp/floatunsidf.c: Likewise.
4226         * soft-fp/floatunsisf.c: Likewise.
4227         * soft-fp/floatunsitf.c: Likewise.
4228         * soft-fp/floatuntidf.c: Likewise.
4229         * soft-fp/floatuntisf.c: Likewise.
4230         * soft-fp/floatuntitf.c: Likewise.
4231         * soft-fp/fmadf4.c: Likewise.
4232         * soft-fp/fmasf4.c: Likewise.
4233         * soft-fp/fmatf4.c: Likewise.
4234         * soft-fp/gedf2.c: Likewise.
4235         * soft-fp/gesf2.c: Likewise.
4236         * soft-fp/getf2.c: Likewise.
4237         * soft-fp/ledf2.c: Likewise.
4238         * soft-fp/lesf2.c: Likewise.
4239         * soft-fp/letf2.c: Likewise.
4240         * soft-fp/muldf3.c: Likewise.
4241         * soft-fp/mulsf3.c: Likewise.
4242         * soft-fp/multf3.c: Likewise.
4243         * soft-fp/negdf2.c: Likewise.
4244         * soft-fp/negsf2.c: Likewise.
4245         * soft-fp/negtf2.c: Likewise.
4246         * soft-fp/op-1.h: Likewise.
4247         * soft-fp/op-2.h: Likewise.
4248         * soft-fp/op-4.h: Likewise.
4249         * soft-fp/op-8.h: Likewise.
4250         * soft-fp/op-common.h: Likewise.
4251         * soft-fp/quad.h: Likewise.
4252         * soft-fp/single.h: Likewise.
4253         * soft-fp/soft-fp.h: Likewise.
4254         * soft-fp/sqrtdf2.c: Likewise.
4255         * soft-fp/sqrtsf2.c: Likewise.
4256         * soft-fp/sqrttf2.c: Likewise.
4257         * soft-fp/subdf3.c: Likewise.
4258         * soft-fp/subsf3.c: Likewise.
4259         * soft-fp/subtf3.c: Likewise.
4260         * soft-fp/truncdfsf2.c: Likewise.
4261         * soft-fp/trunctfdf2.c: Likewise.
4262         * soft-fp/trunctfsf2.c: Likewise.
4263         * soft-fp/trunctfxf2.c: Likewise.
4264         * soft-fp/unorddf2.c: Likewise.
4265         * soft-fp/unordsf2.c: Likewise.
4266         * soft-fp/unordtf2.c: Likewise.
4268 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4270         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4271         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4273 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4275         * elf/dl-libc.c: Clear initfini list after freeing.
4277 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4279         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4280         * soft-fp/addsf3.c: Likewise.
4281         * soft-fp/addtf3.c: Likewise.
4282         * soft-fp/divdf3.c: Likewise.
4283         * soft-fp/divsf3.c: Likewise.
4284         * soft-fp/divtf3.c: Likewise.
4285         * soft-fp/double.h: Likewise.
4286         * soft-fp/eqdf2.c: Likewise.
4287         * soft-fp/eqsf2.c: Likewise.
4288         * soft-fp/eqtf2.c: Likewise.
4289         * soft-fp/extenddftf2.c: Likewise.
4290         * soft-fp/extended.h: Likewise.
4291         * soft-fp/extendsfdf2.c: Likewise.
4292         * soft-fp/extendsftf2.c: Likewise.
4293         * soft-fp/extendxftf2.c: Likewise.
4294         * soft-fp/fixdfdi.c: Likewise.
4295         * soft-fp/fixdfsi.c: Likewise.
4296         * soft-fp/fixdfti.c: Likewise.
4297         * soft-fp/fixsfdi.c: Likewise.
4298         * soft-fp/fixsfsi.c: Likewise.
4299         * soft-fp/fixsfti.c: Likewise.
4300         * soft-fp/fixtfdi.c: Likewise.
4301         * soft-fp/fixtfsi.c: Likewise.
4302         * soft-fp/fixtfti.c: Likewise.
4303         * soft-fp/fixunsdfdi.c: Likewise.
4304         * soft-fp/fixunsdfsi.c: Likewise.
4305         * soft-fp/fixunsdfti.c: Likewise.
4306         * soft-fp/fixunssfdi.c: Likewise.
4307         * soft-fp/fixunssfsi.c: Likewise.
4308         * soft-fp/fixunssfti.c: Likewise.
4309         * soft-fp/fixunstfdi.c: Likewise.
4310         * soft-fp/fixunstfsi.c: Likewise.
4311         * soft-fp/fixunstfti.c: Likewise.
4312         * soft-fp/floatdidf.c: Likewise.
4313         * soft-fp/floatdisf.c: Likewise.
4314         * soft-fp/floatditf.c: Likewise.
4315         * soft-fp/floatsidf.c: Likewise.
4316         * soft-fp/floatsisf.c: Likewise.
4317         * soft-fp/floatsitf.c: Likewise.
4318         * soft-fp/floattidf.c: Likewise.
4319         * soft-fp/floattisf.c: Likewise.
4320         * soft-fp/floattitf.c: Likewise.
4321         * soft-fp/floatundidf.c: Likewise.
4322         * soft-fp/floatundisf.c: Likewise.
4323         * soft-fp/floatunsidf.c: Likewise.
4324         * soft-fp/floatunsisf.c: Likewise.
4325         * soft-fp/floatuntidf.c: Likewise.
4326         * soft-fp/floatuntisf.c: Likewise.
4327         * soft-fp/floatuntitf.c: Likewise.
4328         * soft-fp/fmadf4.c: Likewise.
4329         * soft-fp/fmasf4.c: Likewise.
4330         * soft-fp/fmatf4.c: Likewise.
4331         * soft-fp/gedf2.c: Likewise.
4332         * soft-fp/gesf2.c: Likewise.
4333         * soft-fp/getf2.c: Likewise.
4334         * soft-fp/ledf2.c: Likewise.
4335         * soft-fp/lesf2.c: Likewise.
4336         * soft-fp/letf2.c: Likewise.
4337         * soft-fp/muldf3.c: Likewise.
4338         * soft-fp/mulsf3.c: Likewise.
4339         * soft-fp/multf3.c: Likewise.
4340         * soft-fp/negdf2.c: Likewise.
4341         * soft-fp/negsf2.c: Likewise.
4342         * soft-fp/negtf2.c: Likewise.
4343         * soft-fp/op-1.h: Likewise.
4344         * soft-fp/op-2.h: Likewise.
4345         * soft-fp/op-4.h: Likewise.
4346         * soft-fp/op-8.h: Likewise.
4347         * soft-fp/op-common.h: Likewise.
4348         * soft-fp/quad.h: Likewise.
4349         * soft-fp/single.h: Likewise.
4350         * soft-fp/soft-fp.h: Likewise.
4351         * soft-fp/sqrtdf2.c: Likewise.
4352         * soft-fp/sqrtsf2.c: Likewise.
4353         * soft-fp/sqrttf2.c: Likewise.
4354         * soft-fp/subdf3.c: Likewise.
4355         * soft-fp/subsf3.c: Likewise.
4356         * soft-fp/subtf3.c: Likewise.
4357         * soft-fp/truncdfsf2.c: Likewise.
4358         * soft-fp/trunctfdf2.c: Likewise.
4359         * soft-fp/trunctfsf2.c: Likewise.
4360         * soft-fp/trunctfxf2.c: Likewise.
4361         * soft-fp/unorddf2.c: Likewise.
4362         * soft-fp/unordsf2.c: Likewise.
4363         * soft-fp/unordtf2.c: Likewise.
4365 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4367         [BZ #15672]
4368         * misc/error.c (error_tail): Fix possible buffer overflow.
4370 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4372         [BZ #13028]
4373         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4374         address.
4376 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4378         [BZ #832]
4379         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4380         testing pipefail option.
4382 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4384         * soft-fp/double.h: Indent preprocessor directives inside #if.
4385         * soft-fp/extended.h: Likewise.
4386         * soft-fp/op-2.h: Likewise.
4387         * soft-fp/op-4.h: Likewise.
4388         * soft-fp/op-common.h: Likewise.
4389         * soft-fp/quad.h: Likewise.
4390         * soft-fp/single.h: Likewise.
4391         * soft-fp/soft-fp.h: Likewise.
4393 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4395         * iconv/iconv_prog.c: Fix typos.
4396         * stdio-common/psiginfo-data.h: Likewise.
4398 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4400         [BZ #15764]
4401         * locale/setlocale.c: Fix typo.
4403 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4405         [BZ #16036]
4406         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4407         signaling NaN arguments.
4408         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4409         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4411         [BZ #14910]
4412         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4413         unordered operands.
4414         * soft-fp/gesf2.c (__gesf2): Likewise.
4415         * soft-fp/getf2.c (__getf2): Likewise.
4416         * soft-fp/ledf2.c (__ledf2): Likewise.
4417         * soft-fp/lesf2.c (__lesf2): Likewise.
4418         * soft-fp/letf2.c (__letf2): Likewise.
4420         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4421         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4422         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4423         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4424         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4425         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4426         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4427         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4428         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4429         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4430         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4431         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4432         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4433         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4434         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4435         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4436         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4437         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4438         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4439         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4440         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4441         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4442         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4443         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4444         * soft-fp/floattidf.c (__floattidf): Likewise.
4445         * soft-fp/floattisf.c (__floattisf): Likewise.
4446         * soft-fp/floattitf.c (__floattitf): Likewise.
4447         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4448         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4449         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4450         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4451         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4452         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4453         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4454         * soft-fp/gesf2.c (__gesf2): Likewise.
4455         * soft-fp/getf2.c (__getf2): Likewise.
4456         * soft-fp/ledf2.c (__ledf2): Likewise.
4457         * soft-fp/lesf2.c (__lesf2): Likewise.
4458         * soft-fp/letf2.c (__letf2): Likewise.
4460         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4461         Undefine and redefine.
4462         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4463         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4464         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4465         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4466         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4467         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4468         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4469         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4470         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4471         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4472         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4473         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4474         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4475         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4476         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4478         [BZ #16032]
4479         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4480         without decrementing exponent if mantissa >= that for the
4481         denominator, not >.
4482         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4483         denominator, not >.  Decrement exponent in < case instead of
4484         incrementing in >= case.
4485         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4486         without decrementing exponent if mantissa >= that for the
4487         denominator, not >.
4489         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4490         computing saturated result for unsigned overflow.
4492 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4493             Jeff Law  <law@redhat.com>
4495         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4496         (atan2Mp): Add systemtap probe marker.
4497         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4498         (__ieee754_log): Add systemtap probe marker.
4499         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4500         (atanMp): Add systemtap probe marker.
4501         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4502         (tanMp): Add systemtap probe marker.
4503         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4504         (__slowexp): Add systemtap probe marker.
4505         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4506         (__slowpow): Add systemtap probe marker.
4507         * manual/probes.texi: Document probes.
4509 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4511         [BZ #15362]
4512         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4513         written.
4514         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4515         written.
4516         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4517         written to buffer but not flushed.
4518         * libio/iofwrite_u.c:  Likewise.
4519         * libio/iopadn.c:  Return bytes returned even if EOF was
4520         encountered.
4521         * libio/iowpadn.c:  Likewise.
4522         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4523         if _IO_padn does not write the whole buffer.
4524         [!COMPILE_WPRINTF] (PAD): Likewise.
4526 2013-10-10  David S. Miller  <davem@davemloft.net>
4528         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4529         directory block.
4531 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4533         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4534         instead of FSF address.
4535         * soft-fp/fixdfti.c: Likewise.
4536         * soft-fp/fixsfti.c: Likewise.
4537         * soft-fp/fixtfti.c: Likewise.
4538         * soft-fp/fixunsdfti.c: Likewise.
4539         * soft-fp/fixunssfti.c: Likewise.
4540         * soft-fp/fixunstfti.c: Likewise.
4541         * soft-fp/floattidf.c: Likewise.
4542         * soft-fp/floattisf.c: Likewise.
4543         * soft-fp/floattitf.c: Likewise.
4544         * soft-fp/floatuntidf.c: Likewise.
4545         * soft-fp/floatuntisf.c: Likewise.
4546         * soft-fp/floatuntitf.c: Likewise.
4547         * soft-fp/trunctfxf2.c: Likewise.
4549         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4550         * soft-fp/fixdfti.c: Likewise.
4551         * soft-fp/fixsfti.c: Likewise.
4552         * soft-fp/fixtfti.c: Likewise.
4553         * soft-fp/fixunsdfti.c: Likewise.
4554         * soft-fp/fixunssfti.c: Likewise.
4555         * soft-fp/fixunstfti.c: Likewise.
4556         * soft-fp/floattidf.c: Likewise.
4557         * soft-fp/floattisf.c: Likewise.
4558         * soft-fp/floattitf.c: Likewise.
4559         * soft-fp/floatuntidf.c: Likewise.
4560         * soft-fp/floatuntisf.c: Likewise.
4561         * soft-fp/floatuntitf.c: Likewise.
4562         * soft-fp/trunctfxf2.c: Likewise.
4564 2013-10-10  David S. Miller  <davem@davemloft.net>
4566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4568 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4570         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4571         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4572         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4573         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4574         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4575         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4576         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4578         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4579         for NaNs before doing comparisons on argument.
4580         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4581         Likewise.
4583 2013-10-10  Will Newton  <will.newton@linaro.org>
4585         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4586         passed to _int_memalign does not overflow.
4588 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4590         * scripts/bench.pl: Add include-sources directive.
4591         * benchtests/README: Update documentation.
4593 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4595         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4596         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4597         instead of FP_INIT_ROUNDMODE.
4598         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4599         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4601         [BZ #16034]
4602         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4603         copy class of input value.
4604         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4605         not handle exceptions.
4606         * soft-fp/negsf2.c (__negsf2): Likewise.
4607         * soft-fp/negtf2.c (__negtf2): Likewise.
4608         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4610 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4612         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4613         semicolon.  From Linux kernel.
4615 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4617         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4619 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4621         [BZ #156]
4622         * manual/socket.texi: Added statement about buffer
4623         for gethostbyname2_r.
4625 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4627         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4628         Use .p2align directive instead, throughout.
4629         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4630         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4631         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4632         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4633         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4634         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4635         * sysdeps/x86_64/strchr.S: Likewise.
4636         * sysdeps/x86_64/strrchr.S: Likewise.
4638 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4640         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4642         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4644         * sysdeps/generic/math_private.h (__mpsin1): Remove
4645         declaration.
4646         (__mpcos1): Likewise.
4647         (__mpsin): New argument __range_reduce.
4648         (__mpcos): Likewise.
4649         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4650         (slow): Use __mpsin and __mpcos.
4651         (slow1): Likewise.
4652         (slow2): Likewise.
4653         (sloww): Likewise.
4654         (sloww1): Likewise.
4655         (sloww2): Likewise.
4656         (bsloww): Likewise.
4657         (bsloww1): Likewise.
4658         (bsloww2): Likewise.
4659         (cslow2): Likewise.
4660         (csloww): Likewise.
4661         (csloww1): Likewise.
4662         (csloww2): Likewise.
4663         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4664         range_reduce.  Merge in __mpsin1.
4665         (__mpcos): Likewise.
4666         (__mpsin1): Remove.
4667         (__mpcos1): Likewise.
4669 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4671         * locale/loadlocale.c (_nl_intern_locale_data): Use
4672         LOCFILE_ALIGNED_P.
4673         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4674         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4675         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4676         obstack data is appropriately aligned.
4677         (obstack_int32_grow_fast): Likewise.
4678         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4679         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4680         (add_locale_uint32_array): Likewise.
4682 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4684         * benchtests/Makefile: Remove ARGLIST and RET variables.
4685         ($(objpfx)bench-%.c): Pass only function name to the script.
4686         * benchtests/README: Update documentation.
4687         * benchtests/acos-inputs: Add new directives.
4688         * benchtests/acosh-inputs: Likewise.
4689         * benchtests/asin-inputs: Likewise.
4690         * benchtests/asinh-inputs: Likewise.
4691         * benchtests/atan-inputs: Likewise.
4692         * benchtests/atanh-inputs: Likewise.
4693         * benchtests/cos-inputs: Likewise.
4694         * benchtests/cosh-inputs: Likewise.
4695         * benchtests/exp-inputs: Likewise.
4696         * benchtests/log-inputs: Likewise.
4697         * benchtests/pow-inputs: Likewise.
4698         * benchtests/rint-inputs: Likewise.
4699         * benchtests/sin-inputs: Likewise.
4700         * benchtests/sinh-inputs: Likewise.
4701         * benchtests/tan-inputs: Likewise.
4702         * benchtests/tanh-inputs: Likewise.
4703         * scripts/bench.pl: Add support for new directives.
4705 2013-10-07  Alan Modra  <amodra@gmail.com>
4707         * README: Fix careless merge.
4709 2013-10-05  Alan Modra  <amodra@gmail.com>
4711         * NEWS: Mention powerpc64le support and bugs fixed.
4712         * README: Both big-endian and little-endian powerpc64 supported.
4714 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4716         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4717         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4718         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4719         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4721 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4723         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4724         match prototype.
4726 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4728         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4729         Move -mhard-float appending from
4730         ports/sysdeps/powerpc/powerpc32/Makefile.
4731         [$(with-fp) = yes] (ASFLAGS): Likewise.
4732         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4733         * sysdeps/powerpc/nofpu: Move directory from
4734         ports/sysdeps/powerpc/nofpu.
4735         * sysdeps/powerpc/soft-fp: Move directory from
4736         ports/sysdeps/powerpc/soft-fp.
4737         * sysdeps/powerpc/powerpc32/405: Move directory from
4738         ports/sysdeps/powerpc/powerpc32/405.
4739         * sysdeps/powerpc/powerpc32/440: Move directory from
4740         ports/sysdeps/powerpc/powerpc32/440.
4741         * sysdeps/powerpc/powerpc32/464: Move directory from
4742         ports/sysdeps/powerpc/powerpc32/464.
4743         * sysdeps/powerpc/powerpc32/476: Move directory from
4744         ports/sysdeps/powerpc/powerpc32/476.
4745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4746         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4748         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4750         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4752         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4754         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4755         * README: Update for powerpc-*-linux-gnu software floating point
4756         support in libc.
4758         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4759         case to powerpc/powerpc32*.
4760         * sysdeps/unix/sysv/linux/configure: Regenerated.
4762         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4763         (_FPU_MASK_OM): Define as 0x04.
4764         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4765         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4766         0x00c10080.
4767         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4768         0x0000003c.
4769         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4772         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4773         getcontext_e500.
4774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4775         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4776         setcontext_e500.
4777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4778         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4779         and setcontext_e500.
4781 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4783         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4785 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4787         * manual/threads.texi (Default Thread Attributes): Fix typo.
4789 2013-10-04  Will Newton  <will.newton@linaro.org>
4791         * malloc/Makefile: Add tst-memalign.
4792         * malloc/tst-memalign.c: New file.
4794         * malloc/tst-posix_memalign.c: Add comments.
4795         (do_test): Add comments and call free on all potentially
4796         allocated pointers. Add space after cast.
4798         * malloc/tst-pvalloc.c: Add comments.
4799         (do_test): Add comments and call free on all potentially
4800         allocated pointers. Remove duplicate check for NULL pointer.
4801         Add space after cast.
4803         * malloc/tst-valloc.c: Add comments.
4804         (do_test): Add comments and call free on all potentially
4805         allocated pointers. Remove duplicate check for NULL pointer.
4806         Add space after cast.
4808 2013-10-04  Alan Modra  <amodra@gmail.com>
4810         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4811         Use stdint types in rather than __attribute__((mode())).
4812         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4814 2013-10-04  Alan Modra  <amodra@gmail.com>
4816         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4817         Correct handling of unaligned relocs for little-endian.
4818         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4820 2013-10-04  Alan Modra  <amodra@gmail.com>
4822         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4823         * configure: Regenerate.
4824         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4825         * shlib-versions: Likewise.
4827 2013-10-04  Alan Modra  <amodra@gmail.com>
4829         * string/tester.c (test_memrchr): Increment reported test cycle.
4831 2013-10-04  Alan Modra  <amodra@gmail.com>
4833         * string/test-memcpy.c (do_one_test): When reporting errors, print
4834         string address and don't overrun end of string.
4836 2013-10-04  Alan Modra  <amodra@gmail.com>
4838         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4839         insrdi.  Make better use of reg selection to speed exit slightly.
4840         Schedule entry path a little better.  Remove useless "are we done"
4841         checks on entry to main loop.  Handle wrapping around zero address.
4842         Correct main loop count.  Handle single left-over word from main
4843         loop inline rather than by using loop_small.  Remove extra word
4844         case in loop_small caused by wrong loop count.  Add little-endian
4845         support.
4846         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4847         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4848         cache hint.
4849         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4850         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4851         support.  Avoid rlwimi.
4852         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4854 2013-10-04  Alan Modra  <amodra@gmail.com>
4856         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4857         insrdi.  Formatting.
4858         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4859         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4860         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4861         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4862         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4863         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4865 2013-10-04  Alan Modra  <amodra@gmail.com>
4867         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4868         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4869         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4870         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4871         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4872         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4873         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4874         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4875         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4876         use of regs.  Use power7 mtocrf.  Tidy function tails.
4878 2013-10-04  Alan Modra  <amodra@gmail.com>
4880         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4881         Formatting.  Consistently use rXXX register defines or rN defines.
4882         Use early exit labels that avoid restoring unused non-volatile regs.
4883         Make cr field use more consistent with rWORDn compares.  Rename
4884         regs used as shift registers for unaligned loop, using rN defines
4885         for short lifetime/multiple use regs.
4886         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4887         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4888         addi 1,1,64 to pop stack frame.  Simplify return value code.
4889         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4891 2013-10-04  Alan Modra  <amodra@gmail.com>
4893         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4894         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4895         rather than rlwimi.
4896         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4897         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4898         little-endian support.  Correct typos.
4899         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4900         rather than rlwimi.
4901         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4902         in loop and entry code to keep "and." results.
4903         (strchr): Add little-endian support.  Comment.  Move cntlzd
4904         earlier in tail.
4905         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4907 2013-10-04  Alan Modra  <amodra@gmail.com>
4909         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4910         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4911         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4912         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4914 2013-10-04  Alan Modra  <amodra@gmail.com>
4916         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4917         (rTMP): Define as r11.
4918         (strcmp): Add little-endian support.  Optimise tail.
4919         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4920         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4921         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4922         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4923         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4924         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4925         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4927 2013-10-04  Alan Modra  <amodra@gmail.com>
4929         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4930         little-endian support.  Remove unnecessary "are we done" tests.
4931         Handle "s" wrapping around zero and extremely large "size".
4932         Correct main loop count.  Handle single left-over word from main
4933         loop inline rather than by using small_loop.  Correct comments.
4934         Delete "zero" tail, use "end_max" instead.
4935         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4937 2013-10-04  Alan Modra  <amodra@gmail.com>
4939         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4940         support.  Don't branch over align.
4941         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4942         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4943         support.  Rearrange tmp reg use to suit.  Comment.
4944         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4946 2013-10-04  Alan Modra  <amodra@gmail.com>
4948         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4950 2013-10-04  Alan Modra  <amodra@gmail.com>
4952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4953         conditional form of branch and link when obtaining pc.
4954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4956 2013-10-04  Alan Modra  <amodra@gmail.com>
4958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4959         HIWORD/LOWORD.
4960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4963 2013-10-04  Alan Modra  <amodra@gmail.com>
4965         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4966         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4967         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4968         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4969         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4970         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4971         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4972         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4973         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4974         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4976 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4977             Alistair Popple <alistair@ozlabs.au.ibm.com>
4978             Alan Modra <amodra@gmail.com>
4980         [BZ #15723]
4981         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4982         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4983         _dl_hwcap access for little-endian.
4984         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4985         destroy vmx regs when saving unaligned.
4986         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4987         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4988         destroy vmx regs when saving unaligned.
4990 2013-10-04  Alan Modra  <amodra@gmail.com>
4992         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4993         Don't use a union to pack hi/low value.
4995 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4997         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4998         for little-endian.
4999         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5000         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5001         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5002         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5003         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5005 2013-10-04  Alan Modra  <amodra@gmail.com>
5007         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5008         constants to usual value for .cst8 section, and remove redundant
5009         high address load.
5010         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5011         constant for 0x1p52.  Load little-endian words of double from
5012         correct stack offsets.
5014 2013-10-04  Alan Modra  <amodra@gmail.com>
5016         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5017         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5018         words of double from correct stack offsets.
5019         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5020         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5021         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5022         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5023         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5024         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5025         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5026         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5027         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5028         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5029         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5030         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5031         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5032         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5033         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5034         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5035         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5037 2013-10-04  Alan Modra  <amodra@gmail.com>
5039         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5040         64-bit int/double union.
5041         (_FPU_SETCW): Likewise.
5042         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5043         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5045 2013-10-04  Alan Modra  <amodra@gmail.com>
5047         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5048         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5050 2013-10-04  Alan Modra  <amodra@gmail.com>
5052         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5053         use vector int constants.
5054         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5056 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5058         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5059         array with long long.
5060         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5061         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5062         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5063         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5064         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5065         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5066         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5067         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5068         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5069         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5070         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5071         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5072         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5074 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5076         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5077         (__signbit): Likewise.  Correct for little-endian.
5078         (__signbitl): Call __signbit.
5079         (lrint): Correct for little-endian.
5080         (lrintf): Call lrint.
5082 2013-10-04  Alan Modra  <amodra@gmail.com>
5084         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5085         union 32-bit int array member with 64-bit int array.
5086         (t515, tm256): Double rather than long double.
5087         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5089 2013-10-04  Alan Modra  <amodra@gmail.com>
5091         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5092         Delete.
5093         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5094         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5095         version of math_ldbl.h.
5097 2013-10-04  Alan Modra  <amodra@gmail.com>
5099         [BZ #15734], [BZ #15735]
5100         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5101         all uses of ieee875 long double macros and unions.  Simplify test
5102         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5103         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5104         normalize after ldbl_extract_mantissa, and don't add hidden bit
5105         already handled.  Don't treat low word of ieee854 mantissa like
5106         low word of IBM long double and mask off bit when testing for
5107         zero.
5108         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5109         all uses of ieee875 long double macros and unions.  Simplify tests
5110         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5111         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5112         two1022, instead use their values.  Recognise that tests for large
5113         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5114         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5115         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5116         test for 0.0L and nan.  Correct negation.
5117         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5118         ieee875 long double macros and unions.  Correct output for large
5119         magnitude x.  Correct absolute value calculation.
5120         (__erfcl): Likewise.
5121         * math/libm-test.inc: Add tests for errors discovered in IBM long
5122         double versions of fmodl, remainderl, erfl and erfcl.
5124 2013-10-04  Alan Modra  <amodra@gmail.com>
5126         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5127         all uses of ieee854 long double macros and unions.  Simplify tests
5128         for long doubles that are fully specified by the high double.
5129         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5130         Likewise.
5131         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5132         Remove dead code too.
5133         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5134         (__ieee754_ynl): Likewise.
5135         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5136         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5137         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5138         Remove dead code too.
5139         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5140         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5141         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5142         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5143         Simplify.
5144         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5145         Simplify.
5146         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5147         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5148         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5149         Comment on variable precision.
5150         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5151         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5152         Likewise.
5153         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5154         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5155         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5156         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5157         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5159 2013-10-04  Alan Modra  <amodra@gmail.com>
5161         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5162         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5163         all uses of ieee854 long double macros and unions.
5164         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5165         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5166         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5167         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5168         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5169         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5170         Likewise.
5171         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5172         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5173         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5174         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5175         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5176         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5177         Simplify sign and nan test too.
5178         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5179         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5180         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5181         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5182         Likewise.
5183         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5184         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5185         Likewise.
5186         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5187         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5188         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5189         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5190         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5193 2013-10-04  Alan Modra  <amodra@gmail.com>
5195         * stdio-common/printf_size.c (__printf_size): Don't use
5196         union ieee854_long_double in fpnum union.
5197         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5198         signbit macro to retrieve sign from long double.
5199         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5200         retrieve sign from long double.
5201         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5202         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5203         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5204         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5205         * math/test-misc.c (main): Don't use union ieee854_long_double.
5207 2013-10-04  Alan Modra  <amodra@gmail.com>
5209         [BZ #15680]
5210         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5211         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5212         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5213         calculation.  Remove unnecessary test for denormal exponent.
5214         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5215         Correct handling of denormals.  Avoid undefined shift behaviour.
5216         Correct normalisation of low mantissa when low double is denormal.
5217         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5218         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5219         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5220         Correct normalisation of low mantissa.  Test for overflow of high
5221         mantissa and normalise.
5222         (ldbl_nearbyint): Use more readable constant for two52.
5223         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5224         (__mpn_construct_long_double): Fix test for overflow of high
5225         mantissa and correct normalisation.  Avoid undefined shift.
5227 2013-10-04  Alan Modra  <amodra@gmail.com>
5229         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5230         (union ibm_extended_long_double): Define as an array of ieee754_double.
5231         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5232         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5233         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5234         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5235         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5236         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5237         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5238         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5239         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5240         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5241         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5243 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5245         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5246         page size instead of calling getpagesize.
5248         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5249         (LOCFILE_ALIGN_MASK): Likewise.
5250         (LOCFILE_ALIGN_UP): Likewise.
5251         (LOCFILE_ALIGNED_P): Likewise.
5252         * locale/programs/ld-collate.c (collate_output): Use the new
5253         macros instead of __alignof__ (int32_t).
5254         * locale/weight.h (findidx): Likewise.
5256 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5258         [BZ #431]
5259         * manual/string.texi: Fix strncat and wcsncat.
5261 2013-10-03  Brooks Moses  <bmoses@google.com>
5263         [BZ #15915]
5264         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5265         * Makerules: ...here, and adjust associated comments.
5267 2013-10-02  Will Newton  <will.newton@linaro.org>
5269         * malloc/Makefile: Add tst-pvalloc.
5270         * malloc/tst-pvalloc.c: New file.
5272 2013-10-02  Will Newton  <will.newton@linaro.org>
5274         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5275         improve test coverage.
5277 2013-10-02  Will Newton  <will.newton@linaro.org>
5279         * malloc/Makefile: Add tst-posix_memalign.
5280         * malloc/tst-posix_memalign.c: New file.
5282 2013-10-01  Eric Blake  <eblake@redhat.com>
5284         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5285         Use __THROWNL rather than __THROW on static functions.
5287 2013-09-30  Petr Machata  <pmachata@redhat.com>
5289         * elf/elf.h (R_AARCH64_ABS16): New macro.
5290         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5291         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5292         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5293         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5294         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5295         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5296         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5297         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5298         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5299         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5300         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5301         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5302         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5303         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5304         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5305         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5306         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5307         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5308         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5309         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5310         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5311         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5312         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5313         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5314         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5315         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5316         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5317         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5318         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5319         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5320         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5321         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5322         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5323         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5324         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5325         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5326         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5327         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5328         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5329         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5330         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5331         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5332         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5333         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5334         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5335         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5336         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5337         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5338         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5339         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5340         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5341         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5342         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5343         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5344         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5345         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5346         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5347         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5348         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5349         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5350         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5351         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5352         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5353         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5354         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5355         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5356         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5357         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5358         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5359         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5360         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5361         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5362         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5363         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5364         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5365         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5366         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5367         (R_AARCH64_TLSDESC_LDR): Likewise.
5368         (R_AARCH64_TLSDESC_ADD): Likewise.
5369         (R_AARCH64_TLSDESC_CALL): Likewise.
5371 2013-09-30  Andreas Schwab  <schwab@suse.de>
5373         [BZ #15048]
5374         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5375         the nss database lookup.
5376         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5379 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5381         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5383 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5385         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5386         ${Bash-specific parameter/pattern/string} parameter expansion.
5387         * sysdeps/unix/make-syscalls.sh: Likewise.
5389 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5391         * sysdeps/sh/stackguard-macros.h: New file.
5393 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5396         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5397         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5398         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5399         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5400         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5402 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5404         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5405         Fix thread ID register.
5407 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5409         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5410         [POSIX || UNIX98]: Require rather than permitting all symbols from
5411         <time.h>.
5412         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5413         element of struct sched_param.
5414         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5415         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5416         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5417         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5418         constant.
5420 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5422         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5423         argument calculation.
5425 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5427         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5428         Expect macro.
5429         [POSIX] (pthread_attr_t): Do not require type.
5430         [POSIX] (pthread_cond_t): Likewise.
5431         [POSIX] (pthread_condattr_t): Likewise.
5432         [POSIX] (pthread_key_t): Likewise.
5433         [POSIX] (pthread_mutex_t): Likewise.
5434         [POSIX] (pthread_mutexattr_t): Likewise.
5435         [POSIX] (pthread_once_t): Likewise.
5436         [POSIX] (pthread_t): Likewise.
5437         [POSIX-based standards] (pthread_atfork): Expect function.
5439 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5440             Richard Sandiford  <richard@codesourcery.com>
5442         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5443         (swap_endianness_p): New extern variable.
5444         (set_big_endian): New inline function.
5445         (maybe_swap_uint32): Likewise.
5446         (maybe_swap_uint32_array): Likewise.
5447         (maybe_swap_uint32_obstack): Likewise.
5448         * locale/programs/locfile.c: Include <stdbool.h>.
5449         (swap_endianness_p): New variable.
5450         (add_locale_uint32): Call maybe_swap_uint32.
5451         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5452         (write_locale_data): Call maybe_swap_uint32_array.
5453         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5454         maybe_swap_uint32.
5455         (obstack_int32_grow_fast): Likewise.
5456         (output_weightwc): Call maybe_swap_uint32_obstack.
5457         (collate_output): Likewise.
5458         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5459         (OPT_LITTLE_ENDIAN): Likewise.
5460         (options): Add --little-endian and --big-endian options.
5461         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5462         * locale/programs/locarchive.c: Include "locfile.h".
5463         (GET): New macro.
5464         (SET): Likewise.
5465         (INC): Likewise.
5466         (create_archive): Use the new macros to access fields of
5467         structures directly mapped from or written to locale archives.
5468         (oldlocrecentcmp): Likewise.
5469         (enlarge_archive): Likewise.
5470         (insert_name): Likewise.
5471         (add_alias): Likewise.
5472         (add_locale): Likewise.
5473         (delete_locales_from_archive): Likewise.
5474         (show_archive_content): Likewise.
5475         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5476         locale data.
5478 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5480         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5481         http://www.gnu.org/doc/freemanuals.texi.
5482         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5484 2013-09-24  Will Newton  <will.newton@linaro.org>
5486         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5487         macro.
5489 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5491         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5492         unsigned char.
5494 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5496         * manual/threads.texi (POSIX Threads): Fix a typo.
5498 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5500         [BZ #14547]
5501         * string/tst-strcoll-overflow.c: New test case.
5502         * string/Makefile (xtests): Add tst-strcoll-overflow.
5503         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5504         cache if string sizes may cause integer overflow.
5506         [BZ #14547]
5507         * string/strcoll_l.c (coll_seq): New members rule, idx,
5508         save_idx and back_us.
5509         (get_next_seq_nocache): New function.
5510         (do_compare_nocache): New function.
5511         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5512         when malloc fails.
5514 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5516         [BZ #15754]
5517         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5518         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5519         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5521         [BZ #15754]
5522         * elf/Makefile (tests): Add tst-ptrguard1.
5523         (tests-static): Add tst-ptrguard1-static.
5524         (tst-ptrguard1-ARGS): Define.
5525         (tst-ptrguard1-static-ARGS): Define.
5526         * elf/tst-ptrguard1.c: New file.
5527         * elf/tst-ptrguard1-static.c: New file.
5528         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5529         * sysdeps/i386/stackguard-macros.h: Likewise.
5530         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5531         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5532         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5533         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5534         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5535         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5537 2013-09-23  Hector Marco  <hecmargi@upv.es>
5538             Ismael Ripoll  <iripoll@disca.upv.es>
5539             Carlos O'Donell  <carlos@redhat.com>
5541         [BZ #15754]
5542         * sysdeps/generic/stackguard-macros.h: Define
5543         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5544         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5545         Define __pointer_chk_guard_local.
5546         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5547         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5549 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5551         [BZ #15859]
5552         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5554 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5556         * include/string.h (__ffs): Declare as hidden.
5557         * string/ffs.c (__ffs): Define as hidden.
5558         * sysdeps/i386/ffs.c (__ffs): Likewise.
5559         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5560         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5561         * sysdeps/s390/ffs.c (__ffs): Likewise.
5562         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5564 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5566         * NEWS: Mention malloc probes.
5568         * malloc/arena.c (new_heap): New memory_heap_new probe.
5569         (grow_heap): New memory_heap_more probe.
5570         (shrink_heap): New memory_heap_less probe.
5571         (heap_trim): New memory_heap_free probe.
5572         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5573         (systrim): New memory_sbrk_less probe.
5574         * manual/probes.texi: Document them.
5576         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5577         * manual/probes.texi: Document it.
5579         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5580         (__libc_realloc): Add memory_realloc_retry probe.
5581         (__libc_memalign): Add memory_memalign_retry probe.
5582         (__libc_valloc): Add memory_valloc_retry probe.
5583         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5584         (__libc_calloc): Add memory_calloc_retry probe.
5585         * manual/probes.texi: Document them.
5587         * malloc/arena.c (get_free_list): Add probe
5588         memory_arena_reuse_free_list.
5589         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5590         and memory_arena_reuse.
5591         (arena_get2) [!PER_THREAD]: Likewise.
5592         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5593         memory_arena_reuse_realloc.
5594         * manual/probes.texi: Document them.
5596         * malloc/malloc.c (__libc_free): Add
5597         memory_mallopt_free_dyn_thresholds probe.
5598         (__libc_mallopt): Add multiple memory_mallopt probes.
5599         * manual/probes.texi: Document them.
5601         * malloc/malloc.c: Include stap-probe.h.
5602         (__libc_mallopt): Add memory_mallopt probe.
5603         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5604         * manual/probes.texi: New.
5605         * manual/Makefile (chapters): Add probes.
5606         * manual/threads.texi: Set next node.
5608 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5610         [BZ #15963, #13985]
5611         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5612         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5613         Add `Chinese' to `nan' entry name.
5615 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5617         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5618         (POLYNOMIAL): Likewise.
5619         (TAYLOR_SINCOS): Likewise.
5620         (TAYLOR_SLOW): Likewise.
5621         (__sin): Use TAYLOR_SINCOS.
5622         (__cos): Likewise.
5623         (slow): Use TAYLOR_SLOW.
5624         (sloww): Likewise.
5625         (bsloww): Likewise.
5626         (csloww): Likewise.
5628 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5630         * stdlib/strtod_l.c: Fix buffer overrun.
5632 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5634         * benchtests/Makefile (bench): Add sincos.
5635         * benchtests/bench-sincos.c: New file.
5637         * math/libm-test.inc (cos_test_data): New test inputs.
5638         (sin_test_data): Likewise.
5640         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5641         macro.
5642         (__sin): Use it.
5643         (__cos): Likewise.
5644         (slow1): Likewise.
5645         (slow2): Likewise.
5646         (sloww1): Likewise.
5647         (sloww2): Likewise.
5648         (bsloww1): Likewise.
5649         (bsloww2): Likewise.
5650         (cslow2): Likewise.
5651         (csloww1): Likewise.
5652         (csloww2): Likewise.
5654         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5655         function.
5656         (__sin): Use it.
5657         (__cos): Likewise.
5659         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5660         gotos.
5661         (__cos): Likewise.
5663 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5665         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5666         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5667         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5668         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5669         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5670         * elf/cache.c (print_entry): Handle the new cache flags.
5672 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5673             Aldy Hernandez  <aldyh@redhat.com>
5675         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5676         Change condition to [_SOFT_FLOAT].
5677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5689         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5692         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5693         declaration.
5695 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5697         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5698         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5699         (__longjmp): Use LOAD_GP to load saved GPRs.
5700         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5701         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5702         (__sigsetjmp): Use SAVE_GP to save GPRs.
5704         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5705         Do not append -msoft-float.
5706         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5708 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5710         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5712 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5714         [BZ #15966]
5715         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5716         (_FPU_GETCW): Use initial "__" on variable and field names but not
5717         on macro parameter name.
5718         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5719         parentheses around reference to macro parameter.
5721 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5723         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5724         prototype.
5725         (ctype_startup): Use uint32_t in cast and sizeof for
5726         ctype->charnames.
5728 2013-09-11  Jia Liu  <proljc@gmail.com>
5730         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5731         __daddr_t_defined.
5732         [__FreeBSD__]: Likewise.
5734 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5736         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5737         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5738         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5739         (strchr): Remove __strchr_sse42 ifunc selection.
5740         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5741         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5743 2013-09-11  Will Newton  <will.newton@linaro.org>
5745         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5746         parameter to RES. Remove hardcoded 1000 value.
5747         * benchtests/bench-skeleton.c (main): Pass RES parameter
5748         to TIMING_INIT and multiply result by 1000.
5750 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5754 2013-09-11  Andreas Schwab  <schwab@suse.de>
5756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5757         if not defined.
5758         (O_TMPFILE) [__USE_GNU]: Define.
5759         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5760         Define.
5762 2013-09-11  Will Newton  <will.newton@linaro.org>
5764         [BZ #15857]
5765         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5766         does not overflow.
5768 2013-09-11  Will Newton  <will.newton@linaro.org>
5770         [BZ #15856]
5771         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5772         does not overflow.
5774 2013-09-11  Will Newton  <will.newton@linaro.org>
5776         [BZ #15855]
5777         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5778         does not overflow.
5780 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5782         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5783         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5784         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5785         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5786         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5788 2013-09-10  Allan McRae  <allan@archlinux.org>
5790         [BZ #15748]
5791         * manual/arith.texi (Parsing of Floats): Clarify
5792         cross-reference.
5794         [BZ #15849]
5795         * manual/install.texi (Running make install): Mention
5796         --enable-pt-chown.
5797         * INSTALL: Regenerated.
5799 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5801         * csu/init-first.c (_init): Remove the !SHARED condition around
5802         FPU control word initialization.
5803         * elf/dl-support.c (_dl_fpu_control): New variable.
5804         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5805         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5806         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5807         * math/test-fpucw-static.c: New file.
5808         * math/test-fpucw-ieee.c: New file.
5809         * math/test-fpucw-ieee-static.c: New file.
5810         * math/Makefile (tests): Add `test-fpucw-ieee' and
5811         `$(tests-static)'.
5812         (tests-static): New variable.
5813         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5814         dependency to...
5815         [($(build-shared),yes)]
5816         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5817         ... this.
5818         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5819         New dependency.
5821 2013-09-09  Allan McRae  <allan@archlinux.org>
5823         [BZ #15939]
5824         * manual/string.texi (Collation Functions): Fix typo in
5825         strcoll example.
5826         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5828         [BZ #15893]
5829         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5831         [BZ #15892]
5832         * libio/memstream.c (open_memstream): Fix memory leak.
5833         * libio/wmemstream.c (open_wmemstream): Likewise.
5835         [BZ #15895]
5836         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5838 2013-09-09  Will Newton  <will.newton@linaro.org>
5840         * malloc/Makefile: Add tst-realloc to tests.
5841         * malloc/tst-realloc.c: New file.
5843 2013-09-09  Allan McRae  <allan@archlinux.org>
5845         [BZ #15844]
5846         * COPYING: Update from GNU website to fix FSF address.
5847         * COPYING.LIB: Likewise.
5849 2013-09-06  David S. Miller  <davem@davemloft.net>
5851         * po/zh_TW.po: Update Chinese (traditional) translation from
5852         translation project.
5854 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5855             Joseph Myers  <joseph@codesourcery.com>
5857         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5858         "localeinfo.h".
5859         (obstack_chunk_alloc): New macro.
5860         (obstack_chunk_free): Likewise.
5861         (record_offset): New function.
5862         (init_locale_data): Likewise.
5863         (align_locale_data): Likewise.
5864         (add_locale_empty): Likewise.
5865         (add_locale_raw_data): Likewise.
5866         (add_locale_raw_obstack): Likewise.
5867         (add_locale_string): Likewise.
5868         (add_locale_wstring): Likewise.
5869         (add_locale_uint32): Likewise.
5870         (add_locale_uint32_array): Likewise.
5871         (add_locale_char): Likewise.
5872         (start_locale_structure): Likewise.
5873         (end_locale_structure): Likewise.
5874         (start_locale_prelude): Likewise.
5875         (end_locale_prelude): Likewise.
5876         (write_locale_data): Take locale_file structure rather than an
5877         iovec.
5878         * locale/programs/locfile.h: Include "obstack.h".
5879         (struct locale_file): Change to store locale file contents instead
5880         of header.
5881         (init_locale_data): New prototype.
5882         (align_locale_data): Likewise.
5883         (add_locale_empty): Likewise.
5884         (add_locale_raw_data): Likewise.
5885         (add_locale_raw_obstack): Likewise.
5886         (add_locale_string): Likewise.
5887         (add_locale_wstring): Likewise.
5888         (add_locale_uint32): Likewise.
5889         (add_locale_uint32_array): Likewise.
5890         (add_locale_char): Likewise.
5891         (start_locale_structure): Likewise.
5892         (end_locale_structure): Likewise.
5893         (start_locale_prelude): Likewise.
5894         (end_locale_prelude): Likewise.
5895         (write_locale_data): Update prototype.
5896         * locale/programs/3level.h (struct TABLE): Remove result field.
5897         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5898         Use new locale_file interface.
5899         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5900         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5901         * locale/programs/ld-address.c (address_output): Use new
5902         locale_file interface.
5903         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5904         NO_ADD_LOCALE.
5905         (collate_finish): Don't call collseq_table_finalize.
5906         (collate_output): Use new locale_file interface.
5907         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5908         in file.
5909         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5910         (TABLE): Move defines earlier in file.
5911         (ELEMENT): Likewise.
5912         (DEFAULT): Likewise.
5913         (wctrans_table_add): Move macro and inline function earlier in
5914         file.
5915         (struct wctype_table): Move type earlier in file.
5916         (add_locale_wctype_table): New static prototype.
5917         (struct locale_ctype_t): Use logical types instead of struct iovec
5918         pointers for members.
5919         (ctype_output): Use new locale_file interface.
5920         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5921         new locale_file interface.
5922         (allocate_arrays): Update for use of new locale_file interface.
5923         * locale/programs/ld-identification.c (identification_output): Use
5924         new locale_file interface.
5925         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5926         * locale/programs/ld-messages.c (messages_output): Likewise.
5927         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5928         * locale/programs/ld-name.c (name_output): Likewise.
5929         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5930         * locale/programs/ld-paper.c (paper_output): Likewise.
5931         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5932         * locale/programs/ld-time.c (time_output): Likewise.
5934 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5936         * benchtests/Makefile: Add memrchr benchmark.
5937         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5938         benchmark as memrchr.
5939         * benchtests/bench-memrchr-ifunc.c: New file.
5940         * benchtests/bench-memrchr.c: New file.
5942 2013-09-06   Will Newton  <will.newton@linaro.org>
5944         * benchtests/Makefile (string-bench): Add memcpy.
5946 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5947             Cong Wang  <amwang@redhat.com>
5949         [BZ #15850]
5950         * sysdeps/unix/sysv/linux/bits/in.h
5951         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5952         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5953         before __USE_KERNEL_IPV6_DEFS uses.
5954         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5955         IPPROTO_BEETPH.
5956         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5957         sockaddr_in6, or ipv6_mreq.
5959 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5961         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5962         memory access for final bytes in some large inputs.
5963         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5965 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5967         * string/test-memrchr.c: New file.
5968         * string/test-memrchr-ifunc.c: New file.
5969         * string/Makefile: Add new memrchr testcase.
5971 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5973         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5974         fanotify_init returns EPERM.
5976 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5978         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5979         errors.
5980         (top level): Treat second token from macro or constant entries for
5981         allowed headers as allowed.
5982         * include/complex.h: Condition internal declarations on
5983         [!_ISOMAC].
5984         * include/fenv.h: Condition include of <stdbool.h> and internal
5985         declarations on [!_ISOMAC].
5987 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5989         [BZ #15923]
5990         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5992 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5994         * configure.in (--enable-versioning): Remove configure option.
5995         (libc_cv_asm_symver_directive): Remove configure test.
5996         (libc_cv_ld_version_script_option): Likewise.
5997         (VERSIONING): Remove variable and AC_SUBST.
5998         (DO_VERSIONING): Remove AC_DEFINE.
5999         * configure: Regenerated.
6000         * config.h.in (DO_VERSIONING): Remove macro.
6001         * Makerules [$(versioning) = yes]: Change conditionals to
6002         [$(build-shared) = yes].
6003         * config.make.in (versioning): Remove variable.
6004         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6005         [$(build-shared) = yes].
6006         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6007         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6008         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6009         [$(build-shared) = yes].
6010         * extra-lib.mk [$(versioning) = yes]: Likewise.
6011         * hurd/Makefile [$(versioning) = yes]: Likewise.
6012         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6013         [SHARED].
6014         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6015         [SHARED].
6016         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6017         [SHARED && !NO_HIDDEN].
6018         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6019         [SHARED].
6020         [SHARED && DO_VERSIONING]: Likewise..
6021         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6022         [$(build-shared) = yes].
6023         * manual/install.texi (--disable-versioning): Remove
6024         documentation.
6025         * INSTALL: Regenerated.
6026         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6027         to [SHARED].
6028         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6029         [$(build-shared) = yes].
6030         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6031         * sysdeps/i386/i686/multiarch/strstr-c.c
6032         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6033         [SHARED && !NO_HIDDEN].
6034         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6035         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6036         * sysdeps/powerpc/powerpc32/dl-machine.c
6037         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6038         * sysdeps/powerpc/powerpc32/sysdep.h
6039         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6040         to [SHARED && PIC && !NO_HIDDEN].
6041         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6042         conditional to [SHARED].
6044 2013-09-04   Will Newton  <will.newton@linaro.org>
6046         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6047         * benchtests/bench-string.h: Include bench-timing.h instead
6048         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6049         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6050         call to HP_TIMING_DIFF_INIT.
6051         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6052         instead of hp-timing.h macros.
6053         * benchtests/bench-memchr.c: Likewise.
6054         * benchtests/bench-memcmp.c: Likewise.
6055         * benchtests/bench-memcpy.c: Likewise.
6056         * benchtests/bench-memmem.c: Likewise.
6057         * benchtests/bench-memmove.c: Likewise.
6058         * benchtests/bench-memset.c: Likewise.
6059         * benchtests/bench-rawmemchr.c: Likewise.
6060         * benchtests/bench-strcasecmp.c: Likewise.
6061         * benchtests/bench-strcasestr.c: Likewise.
6062         * benchtests/bench-strcat.c: Likewise.
6063         * benchtests/bench-strchr.c: Likewise.
6064         * benchtests/bench-strcmp.c: Likewise.
6065         * benchtests/bench-strcpy.c: Likewise.
6066         * benchtests/bench-strcpy_chk.c: Likewise.
6067         * benchtests/bench-strlen.c: Likewise.
6068         * benchtests/bench-strncasecmp.c: Likewise.
6069         * benchtests/bench-strncat.c: Likewise.
6070         * benchtests/bench-strncmp.c: Likewise.
6071         * benchtests/bench-strncpy.c: Likewise.
6072         * benchtests/bench-strnlen.c: Likewise.
6073         * benchtests/bench-strpbrk.c: Likewise.
6074         * benchtests/bench-strrchr.c: Likewise.
6075         * benchtests/bench-strspn.c: Likewise.
6076         * benchtests/bench-strstr.c: Likewise.
6078 2013-09-04  Will Newton  <will.newton@linaro.org>
6080         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6082 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6084         [BZ #15427]
6085         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6086         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6087         * math/libm-test.inc (lgamma_test_data): Add more tests.
6088         * sysdeps/i386/fpu/libm-test-ulps: Update.
6089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6091 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6093         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6095         Add ifunc.
6096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6097         Add strcmp-sse2-unaligned
6098         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6100 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6102         * Versions.def (libc): Add GLIBC_2.19.
6104 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6106         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6107         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6109 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6111         [BZ #14155]
6112         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6113         intermediate calculations in recurrence.
6114         (__ieee754_ynf): Likewise.
6115         * math/libm-test.inc (jn_test_data): Do not allow spurious
6116         underflow exception.  Add more tests.
6117         (yn_test_data): Add more tests.
6118         * sysdeps/i386/fpu/libm-test-ulps: Update.
6119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6121 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6123         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6125 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6127         * csu/init-first.c: Fix then/than typos.
6128         * locale/programs/ld-collate.c: Likewise.
6129         * locale/programs/linereader.h: Likewise.
6130         * manual/charset.texi: Likewise.
6131         * manual/filesys.texi: Likewise.
6132         * manual/stdio.texi: Likewise.
6133         * manual/string.texi: Likewise.
6134         * stdlib/fmtmsg.c: Likewise.
6135         * sysdeps/i386/stpncpy.S: Likewise.
6136         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6137         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6138         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6139         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6141 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6143         * elf/dl-open.c: Fix typos.
6144         * iconvdata/gbbig5.c: Likewise.
6145         * iconvdata/iso-2022-jp.c: Likewise.
6146         * iconv/gconv_int.h: Likewise.
6147         * iconv/loop.c: Likewise.
6148         * nis/rpcsvc/nis.h: Likewise.
6149         * resolv/ns_name.c: Likewise.
6150         * stdio-common/vfscanf.c: Likewise.
6151         * streams/stropts.h: Likewise.
6152         * sunrpc/rpc_thread.c: Likewise.
6153         * sysdeps/i386/strpbrk.S: Likewise.
6154         * sysdeps/ieee754/k_standard.c: Likewise.
6155         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6156         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6157         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6158         * sysdeps/mach/hurd/profil.c: Likewise.
6159         * sysdeps/s390/dl-procinfo.h: Likewise.
6160         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6161         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6162         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6163         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6164         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6166 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6168         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6171 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6173         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6174         aix specific files.
6175         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6176         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6177         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6178         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6179         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6180         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6181         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6182         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6184 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6185             Roland McGrath  <roland@hack.frob.com>
6187         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6188         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6190 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6192         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6193         __executable_start symbol instead of _start.
6195 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6197         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6198         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6199         Move macros to...
6200         * sysdeps/gnu/ldsodefs.h: ... this new file.
6202         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6203         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6204         instead of ELFOSABI_LINUX.
6206         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6207         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6208         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6209         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6210         Likewise.
6211         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6212         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6213         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6214         Likewise.
6215         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6216         (ibm_extended_long_double): Add ieee_nan member.
6217         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6218         (do_test): New function.
6220         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6221         TEST_TRUNC.
6222         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6223         functions, renamed from truncdfsf_test, trunctfsf_test,
6224         trunctfdf_test.
6225         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6226         functions.
6227         (do_test): Run all these.
6229 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6231         * argp/argp-help.c: Fix typos.
6232         * argp/argp-parse.c: Likewise.
6233         * debug/backtracesyms.c: Likewise.
6234         * elf/elf.h: Likewise.
6235         * malloc/malloc.c: Likewise.
6236         * nis/nis_print.c: Likewise.
6237         * resolv/res_comp.c: Likewise.
6238         * stdlib/stdlib.h: Likewise.
6239         * sunrpc/clnt_tcp.c: Likewise.
6240         * sunrpc/clnt_udp.c: Likewise.
6241         * sunrpc/clnt_unix.c: Likewise.
6242         * sysdeps/unix/bsd/ptsname.c: Likewise.
6243         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6244         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6246         Likewise.
6247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6248         Likewise.
6249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6250         Likewise.
6251         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6253 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6255         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6258 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6260         [BZ #15897]
6261         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6262         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6263         ($(objpfx)bug-dl-leaf): New rule.
6264         ($(objpfx)bug-dl-leaf.so): Likewise.
6265         ($(objpfx)bug-dl-leaf.out): Likewise.
6266         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6267         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6268         * dlfcn/bug-dl-leaf.c: New test.
6269         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6270         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6271         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6272         (dlclose): Likewise.
6273         (dlmopen): Likewise.
6275 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6277         * include/netdb.h [!_ISOMAC]:
6278         Don't include <tls.h>.
6279         (h_errno, __libc_h_errno): Move declaration and macros out of
6280         [_LIBC_REENTRANT].
6282         * include/resolv.h [_RESOLV_H_]:
6283         Don't include <tls.h>.
6284         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6285         * resolv/res_libc.c: Don't include <tls.h>.
6286         (_res): Use __attribute__ ((nocommon)) in place of
6287         __attribute__ ((section (".bss"))).
6289         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6290         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6292         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6294         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6295         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6297         * resolv/res_mkquery.c: Include <sys/time.h>.
6299         * inet/ifreq.c: Moved to ...
6300         * sysdeps/unix/ifreq.c: ... here.
6301         * inet/ifreq.c: New file, true stub version.
6303         * socket/sa_len.c: New file.
6304         * socket/Makefile (aux): Add it.
6305         * sysdeps/unix/sysv/linux/Makefile
6306         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6307         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6308         and #include <socket/sa_len.c>.
6309         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6310         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6312         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6313         * bits/socket.h: ... here.
6315         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6316         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6317         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6319 2013-08-27  Andreas Schwab  <schwab@suse.de>
6321         [BZ #15736]
6322         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6323         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6324         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6325         * string/test-strcasecmp.c (test_main): Run tests in several
6326         locales.
6327         * string/test-strncasecmp.c (test_main): Likewise.
6329         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6330         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6331         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6332         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6333         (__strncasecmp_ssse3) [PIC]: Likewise.
6335 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6337         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6339         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6340         instead of explicitly declaring xdecrypt.
6341         * nis/nss_nis/nis-publickey.c: Likewise.
6343 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6345         [BZ #15890]
6346         * nscd/aicache.c: Include res_hconf.h.
6347         (addhstaiX): Initialize res_hconf.
6349 2013-08-26  Andreas Schwab  <schwab@suse.de>
6351         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6352         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6354 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6356         * nscd/aicache.c (addhstaiX): Fix indentation.
6358 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6360         * configure.ac: Quote $build_pt_chown test.
6361         * configure: Regenerated.
6363 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6365         [BZ #15532]
6366         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6367         * math/s_cexpf.c (__cexpf): Likewise.
6368         * math/s_cexpl.c (__cexpl): Likewise.
6369         * math/libm-test.inc (cexp_test_data): Correct expected return
6370         value for NaN + i0.  Add another test.
6372 2013-08-22  David S. Miller  <davem@davemloft.net>
6374         * po/ca.po: Update Catalan translation from translation project.
6375         * po/uk.po: Add Ukrainian translations from translation project.
6377 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6379         [BZ #15797]
6380         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6381         is infinite, not alongside NaN test.
6382         * math/s_fdimf.c (__fdimf): Likewise.
6383         * math/s_fdiml.c (__fdiml): Likewise.
6384         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6385         errno is unchanged.
6387 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6389         * argp/argp-help.c: Fix typos.
6390         * crypt/speeds.c: Likewise.
6391         * csu/check_fds.c: Likewise.
6392         * elf/dl-load.c: Likewise.
6393         * elf/dl-open.c: Likewise.
6394         * elf/reldep3.c: Likewise.
6395         * elf/reldep.c: Likewise.
6396         * elf/sprof.c: Likewise.
6397         * iconv/iconv_charmap.c: Likewise.
6398         * iconv/skeleton.c: Likewise.
6399         * iconv/strtab.c: Likewise.
6400         * io/lockf64.c: Likewise.
6401         * libio/libioP.h: Likewise.
6402         * resolv/gai_notify.c: Likewise.
6403         * resolv/ns_name.c: Likewise.
6404         * resolv/ns_samedomain.c: Likewise.
6405         * resolv/res_send.c: Likewise.
6406         * stdlib/random.c: Likewise.
6407         * sunrpc/rpc/xdr.h: Likewise.
6408         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6409         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6410         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6411         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6412         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6413         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6415         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6416         * sysdeps/mach/hurd/check_fds.c: Likewise.
6417         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6418         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6419         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6420         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6421         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6422         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6423         * sysdeps/pthread/aio_notify.c: Likewise.
6424         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6425         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6426         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6427         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6428         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6430 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6432         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6433         version if bit_Slow_SSE4_2 is set.
6434         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6435         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6437 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6439         [BZ #15867]
6440         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6441         trampoline stack frame information.
6442         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6443         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6444         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6445         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6446         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6447         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6448         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6449         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6450         sa_flags value.
6451         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6452         interrupting a syscall and set with option SA_SIGINFO.
6454 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6456         [BZ #15531]
6457         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6458         argument is infinite.
6459         * math/s_cprojf.c (__cprojf): Likewise.
6460         * math/s_cprojl.c (__cprojl): Likewise.
6461         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6462         * math/libm-test.inc (cproj_test_data): Add more tests.
6464         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6466         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6467         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6468         size.  Use __ffs to determine corresponding shift.
6470 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6471             Roland McGrath  <roland@hack.frob.com>
6473         * Makefile (INSTALL): Remove trailing blank lines from output of
6474         makeinfo.
6476 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6478         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6479         Align 32 bit compat elf_greg to 8 bytes.
6481 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6483         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6485 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6487         * string/strcoll_l.c (coll_seq): New structure.
6488         (get_next_seq_cached): New function.
6489         (get_next_seq): New function.
6490         (do_compare): New function.
6491         (STRCOLL): Use GNU style definition.  Simplify implementation
6492         by using get_next_seq, get_next_seq_cached and do_compare.
6494 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6496         [BZ #14699]
6497         CVE-2013-4237
6498         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6499         member.
6500         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6501         member.
6502         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6503         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6504         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6505         conditional.
6506         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6507         GETDENTS_64BIT_ALIGNED.
6508         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6509         * manual/filesys.texi (Reading/Closing Directory): Document
6510         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6511         strongly.
6512         * manual/conf.texi (Limits for Files): Add portability note to
6513         NAME_MAX, PATH_MAX.
6514         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6516 2013-08-13  Andreas Schwab  <schwab@suse.de>
6518         [BZ #15749]
6519         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6520         of fabs.
6521         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6522         LDBL_MAX_EXP >= 16384]: Add tests for it.
6524 2013-08-12  David S. Miller  <davem@davemloft.net>
6526         * version.h (RELEASE): Set to "development".
6527         (VERSION): Set to "2.18.90".
6528         * NEWS: Add 2.19 section.
6530 2013-08-03  David S. Miller  <davem@davemloft.net>
6532         * po/ko.po: Update Korean translation from translation project.
6534 2013-08-01  David S. Miller  <davem@davemloft.net>
6536         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6537         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6538         Bilka.
6540 2013-07-30  David S. Miller  <davem@davemloft.net>
6542         * po/fr.po: Update French translation from translation project.
6544 2013-07-28  David S. Miller  <davem@davemloft.net>
6546         * po/cs.po: Update Czech translation from translation project.
6548         * po/sv.po: Update Swedish translation from translation project.
6550 2013-07-27  David S. Miller  <davem@davemloft.net>
6552         * po/eo.po: Update Esperanto translation from translation project.
6554         * po/vi.po: Update Vietnamese translation from translation project.
6556         * po/de.po: Update German translation from translation project.
6558 2013-07-26  David S. Miller  <davem@davemloft.net>
6560         * po/bg.po: Update Bulgarian translation from translation project.
6562         * po/nl.po: Update Dutch translation from translation project.
6563         * po/pl.po: Update Polish translation from translation project.
6564         * po/ru.po: Update Russian translation from translation project.
6566 2013-07-24  David S. Miller  <davem@davemloft.net>
6568         * po/libc.pot: Update.
6570 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6572         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6573         variable page size.
6574         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6575         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6576         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6578 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6580         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6582 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6583             Andreas Schwab  <schwab@suse.de>
6584             Roland McGrath  <roland@hack.frob.com>
6585             Joseph Myers  <joseph@codesourcery.com>
6586             Carlos O'Donell  <carlos@redhat.com>
6588         [BZ #15755]
6589         * config.h.in: Define HAVE_PT_CHOWN.
6590         * config.make.in (build-pt-chown): New variable.
6591         * configure.in (--enable-pt_chown): New configure option.
6592         * configure: Regenerate.
6593         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6594         build-pt-chown is enabled.
6595         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6596         pt_chown to fix pty ownership.
6597         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6598         CLOSE_ALL_FDS.
6599         * manual/install.texi (Configuring and compiling): Mention
6600         --enable-pt_chown. Add @findex for grantpt.
6601         * INSTALL: Regenerate.
6603 2013-07-20  David S. Miller  <davem@davemloft.net>
6605         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6606         difference between 32-bit and 64-bit.
6608 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6610         [BZ #15711]
6611         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6612         Avoid system header dependency with -ffreestanding.
6613         ($(objpfx)bits/syscall%d): Likewise.
6615 2013-07-13  David S. Miller  <davem@davemloft.net>
6617         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6618         underflows from atanl/atan2l due to bug 15319.
6619         (casinh_test_data): Likewise.
6621 2013-07-07  David S. Miller  <davem@davemloft.net>
6623         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6625 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6627         * sysdeps/i386/fpu/libm-test-ulps: Update.
6628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6630 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6632         * configure.in (--enable-lock-elision): Fix message text.
6633         * INSTALL: Regenerate.
6634         * configure: Regenerate.
6636 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6640 2013-07-03  Andreas Jaeger  <aj@suse.de>
6642         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6643         define.
6644         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6645         (ptrace_peeksiginfo_args): Add.
6646         (__ptrace_peeksiginfo_flags): Add.
6647         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6648         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6649         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6651 2013-07-03  Allan McRae  <allan@archlinux.org>
6653         * sysdeps/i386/fpu/libm-test-ulps: Update.
6655 2013-07-02  David S. Miller  <davem@davemloft.net>
6657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6659 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6663 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6665         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6668 2013-07-02  Andi Kleen <ak@linux.intel.com>
6670         * config.h.in (ENABLE_LOCK_ELISION): Add.
6671         * configure.in (--enable-lock-elision): Add option.
6672         * manual/install.texi: Document --enable lock elision.
6673         * configure: Regenerate
6674         * INSTALL: Regenerate.
6676 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6678         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6679         SSE4.2 strcasecmp for libc.a.
6680         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6682 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6684         [BZ #13304]
6685         * soft-fp/op-common.h (_FP_FMA): New macro.
6686         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6687         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6688         (_FP_MUL_MEAT_1_imm): ... here.
6689         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6690         (_FP_MUL_MEAT_1_wide): ... here.
6691         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6692         (_FP_MUL_MEAT_1_hard): ... here.
6693         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6694         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6695         (_FP_MUL_MEAT_2_wide): ... here.
6696         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6697         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6698         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6699         (_FP_MUL_MEAT_2_gmp): ... here.
6700         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6701         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6702         (_FP_MUL_MEAT_4_wide): ... here.
6703         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6704         (_FP_MUL_MEAT_4_gmp): ... here.
6705         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6706         (_FP_WFRACBITS_DW_S): Likewise.
6707         (_FP_WFRACXBITS_DW_S): Likewise.
6708         (_FP_HIGHBIT_DW_S): Likewise.
6709         (FP_FMA_S): Likewise.
6710         (_FP_FRAC_HIGH_DW_S): Likewise.
6711         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6712         (_FP_WFRACBITS_DW_D): Likewise.
6713         (_FP_WFRACXBITS_DW_D): Likewise.
6714         (_FP_HIGHBIT_DW_D): Likewise.
6715         (FP_FMA_D): Likewise.
6716         (_FP_FRAC_HIGH_DW_D): Likewise.
6717         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6718         (_FP_WFRACBITS_DW_E): Likewise.
6719         (_FP_WFRACXBITS_DW_E): Likewise.
6720         (_FP_HIGHBIT_DW_E): Likewise.
6721         (FP_FMA_E): Likewise.
6722         (_FP_FRAC_HIGH_DW_E): Likewise.
6723         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6724         (_FP_WFRACBITS_DW_Q): Likewise.
6725         (_FP_WFRACXBITS_DW_Q): Likewise.
6726         (_FP_HIGHBIT_DW_Q): Likewise.
6727         (FP_FMA_Q): Likewise.
6728         (_FP_FRAC_HIGH_DW_Q): Likewise.
6729         * soft-fp/fmasf4.c: New file.
6730         * soft-fp/fmadf4.c: Likewise.
6731         * soft-fp/fmatf4.c: Likewise.
6733 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6736         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6737         Silvermont.
6738         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6739         macro.
6740         (index_Slow_SSE4_2): Likewise.
6741         (index_Prefer_PMINUB_for_stringop): Likewise.
6742         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6743         bit_Slow_SSE4_2 is set.
6744         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6745         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6747 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6749         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6750         rtld_global._dl_hwcap2.
6751         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6752         POWER8.
6753         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6754         POWER8 feature descriptions defined in _dl_hwcap2.
6755         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6756         string handling for POWER8 feature bits.
6757         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6758         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6759         _dl_powerpc_cap_flags.
6760         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6761         * sysdeps/powerpc/rtld-global-offsets.sym
6762         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6763         _dl_hwcap2 in the rtld_global_ro structure.
6765 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6767         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6768         hardware capabilities in support of AT_HWCAP2.
6769         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6770         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6771         GLRO(dl_hwcap2).
6772         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6773         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6774         explicitly the unknown a_type display mechanism is used.
6775         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6776         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6777         struct member.
6778         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6779         to macro prototype for AT_HWCAP2 support.
6780         * sysdeps/i386/dl-procinfo.h: Likewise.
6781         * sysdeps/s390/dl-procinfo.h: Likewise.
6782         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6783         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6784         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6785         return -1 for unknown a_type display fallback.
6786         * sysdeps/sparc/dl-procinfo.h: Likewise.
6787         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6788         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6790 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6792         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6793         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6795 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6797         [BZ #12492]
6798         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6799         mprotect making __stack_prot writable.
6801 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6802             Joseph Myers  <joseph@codesourcery.com>
6804         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6805         as being properly aligned.
6807 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6809         * dlfcn/modstatic5.c: New file.
6810         * dlfcn/tststatic5.c: New file.
6811         * dlfcn/Makefile (tests): Add tststatic5.
6812         (tests-static): Likewise.
6813         (modules-names): Add modstatic5.
6814         (tststatic5-ENV): New variable.
6815         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6817         [BZ #15022]
6818         * elf/dl-support.c (_dl_main_map): New variable.
6819         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6820         (_dl_nns, _dl_load_adds): Set to 1.
6821         (_dl_initial_searchlist): Refer to _dl_main_map.
6822         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6823         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6824         call to _dl_get_origin.
6825         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6826         around call_map.
6827         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6828         * dlfcn/modstatic3.c: New file.
6829         * dlfcn/tststatic3.c: New file.
6830         * dlfcn/tststatic4.c: New file.
6831         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6832         (tests-static): Likewise.
6833         (modules-names): Add modstatic3.
6834         (tststatic3-ENV, tststatic4-ENV): New variables.
6835         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6836         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6838 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6840         * configure.in (CC): Require GCC version 4.4 or later.
6841         * configure: Regenerated.
6842         * manual/install.texi (Tools for Compilation): Update GCC version
6843         requirement.
6844         * INSTALL: Regenerated.
6846 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6848         [BZ #15674]
6849         * string/test-memcmp.c (check2): New.
6850         (main): Call check2.
6852         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6854 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6856         [BZ #15022]
6857         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6858         over to...
6859         (dl_open_worker) [!SHARED]: ... here.
6861 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6863         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6865 2013-06-25  Richard Henderson  <rth@redhat.com>
6867         * locale/programs/locarchive.c: Include <libc-internal.h>
6869 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6871         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6872         trailing whitespace removed.
6874 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6876         [BZ #10283]
6877         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6878         * locale/programs/locarchive.c: Include libc-mmap.h.
6879         (prepare_address_space): Take two new outputs (the mmap base and len).
6880         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6881         values.
6882         (create_archive): Declare new mmap base and len values for
6883         prepare_address_space, and store the result in ah.
6884         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6885         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6886         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6887         Declare new mmap base and len values for
6888         prepare_address_space, and store the result in new_ah.
6889         (open_archive): Declare new mmap base and len values for
6890         prepare_address_space, and store the result in ah.
6891         (close_archive): If ah->mmap_base is not NULL, use that and
6892         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6893         * sysdeps/generic/libc-mmap.h: New file.
6895 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6897         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6898         (ALIGN_UP): Likewise.
6899         (PTR_ALIGN_DOWN): Likewise.
6900         (PTR_ALIGN_UP): Likewise.
6902 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6904         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6905         entry mapped to PPC_PLATFORM_POWER8.
6906         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6907         POWER8.
6908         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6909         (_dl_string_platform): Add case for exporting platform position for
6910         POWER8.
6911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6912         search path to sysdeps/powerpc/powerpc32/power8 directory.
6913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6914         search path to sysdeps/powerpc/powerpc64/power8 directory.
6915         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6916         power7 directories.
6917         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6918         power7 directories.
6920 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6922         * INSTALL: Regenerate.
6924         * nscd/connections.c (nscd_init): Fix comment.
6926 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6928         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6930         [BZ #15667]
6931         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6932         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6934 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6936         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6937         DL_DST_REQ_STATIC.
6938         (DL_DST_REQ_STATIC): Remove macro.
6940 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6942         [BZ #7006]
6943         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6944         with a shift of 0 bits.
6946 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6948         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6949         $(tststatic-ENV).
6951 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6953         [BZ #15655]
6954         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6956 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6958         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6959         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6960         accepts -fno-tree-loop-distribute-patterns.
6961         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6962         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6963         recursive call.
6964         * string/memset.c (memset): Likewise.
6965         * string/test-memmove.c (simple_memmove): Disable loop transformation
6966         to library calls.
6967         * string/test-memset.c (simple_memset): Likewise.
6968         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6969         * benchtests/bench-memset.c (simple_memset): Likewise.
6970         * configure: Regenerated.
6972 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6974         * math/test-misc.c (main): Ignore fesetround failure when failures
6975         of subsequent rounding tests would be ignored.
6977         [BZ #15654]
6978         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6979         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6980         * math/fegetenv.c (__fegetenv): Return 0.
6981         * math/fegetexcept.c (fegetexcept): Return 0.
6982         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6983         FE_TONEAREST.
6984         * math/feholdexcpt.c (feholdexcept): Return 0.
6985         * math/fesetenv.c (__fesetenv): Return 0.
6986         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6987         argument FE_TONEAREST.
6988         * math/feupdateenv.c (__feupdateenv): Return 0.
6989         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6991 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6993         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6994         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6995         ($(objpfx)rtld-%.os rules): Use them.
6997 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6999         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7000         fields.
7002 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7004         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7005         length of target pattern, then descending length of dependency pattern.
7006         * configure.in (AWK): Require gawk 3.1.2 or newer.
7007         * manual/install.texi (Tools for Compilation): Say that we do.
7008         * configure: Regenerated.
7010         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7011         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7012         * scripts/sysd-rules.awk: ... this new script.
7013         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7014         than a glob-style pattern.
7016 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7018         * math/test-misc.c (main): Do not treat incorrectly rounded
7019         conversions as failure unless ROUNDING_TESTS passes.
7021 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7023         [BZ #15631]
7024         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7025         restore exception state around main square root computation, then
7026         check for inexactness explicitly.
7028         * math/libm-test.inc (fma_test_data): Add another test.
7030 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7032         * manual/threads.texi (Non-POSIX Extensions): New document
7033         node.  Document pthread_getattr_default_np and
7034         pthread_setattr_default_np.
7036         * Versions.def (libpthread): Add GLIBC_2.18.
7037         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7039         Likewise.
7040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7041         Likewise.
7042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7043         Likewise.
7044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7045         Likewise.
7046         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7047         Likewise.
7048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7049         Likewise.
7050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7051         Likewise.
7052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7053         Likewise.
7054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7055         Likewise.
7057 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7060         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7062 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7063             H.J. Lu  <hjl.tools@gmail.com>
7065         [BZ #15627]
7066         * sysdeps/x86_64/rtld-memset.c: Remove file.
7067         * sysdeps/x86_64/rtld-memset.S: New file.
7069 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7071         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7072         (test_in_one_mode): Take arguments for whether the rounding mode
7073         is supported for each floating-point type.
7074         (do_test): Pass new arguments to test_in_one_mode using
7075         ROUNDING_TESTS.
7077 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7079         * posix/tst-waitid.c (do_test): Distinguish different instances of
7080         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7081         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7082         before entering the kernel for waitpid.
7084 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7086         * NEWS: Fix note on clock function precision.  Text by Roland
7087         McGrath.
7089 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7091         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7092         it into place only when and if the sanity check passes.
7094 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7096         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7097         output for whether conversion result is exact.  Take argument
7098         indicating whether type is IBM long double.
7099         (round_for_all): Change need_exact field to ibm_ld.
7100         * stdlib/tst-strtod-round.c (struct exactness): New type.
7101         (struct test): Change bool ld_ok field to struct exactness exact.
7102         (TEST): Update all definitions for change to field.
7103         (tests): Regenerate array contents.
7104         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7105         field value.  Check for IBM long double here.
7106         (do_test): Update calls to test_in_one_mode.
7108 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7110         [BZ #12515]
7111         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7112         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7114 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7116         [BZ #15605]
7117         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7118         generated by the compiler on loop optimizations.
7119         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7120         general definitions.
7122 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7124         * math/bug-nextafter.c: Include <math-tests.h>.
7125         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7126         the relevant type.
7127         * math/bug-nexttoward.c: Include <math-tests.h>.
7128         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7129         the relevant type.
7130         * math/test-misc.c: Include <math-tests.h>.
7131         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7132         the relevant type.
7134 2013-06-12  Andreas Jaeger  <aj@suse.de>
7136         * po/ia.po: Update Interlingua translation from translation
7137         project.
7139 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7141         * include/fenv.h: Include stdbool.h.
7142         (struct rm_ctx): New structure.
7143         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7144         Define macro.
7145         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7146         (SET_RESTORE_ROUNDF): Likewise.
7147         (SET_RESTORE_ROUNDL): Likewise.
7148         (SET_RESTORE_ROUND_NOEX): Likewise.
7149         (SET_RESTORE_ROUND_NOEXF): Likewise.
7150         (SET_RESTORE_ROUND_NOEXL): Likewise.
7151         (SET_RESTORE_ROUND_53BIT): Likewise.
7152         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7153         (libc_feresetround_noexf_ctx): Likewise.
7154         (libc_feresetround_noexl_ctx): Likewise.
7155         (libc_feholdsetround_53bit_ctx): Likewise.
7156         (libc_feresetround_53bit_ctx): Likewise.
7157         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7158         (libc_feholdexcept_setround_sse_ctx): New function.
7159         (libc_fesetenv_sse_ctx): Likewise.
7160         (libc_feupdateenv_sse_ctx): Likewise.
7161         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7162         (libc_feholdexcept_setround_387_ctx): Likewise.
7163         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7164         (libc_feholdsetround_387_prec_ctx): Likewise.
7165         (libc_feholdsetround_387_ctx): Likewise.
7166         (libc_feholdsetround_387_53bit_ctx): Likewise.
7167         (libc_feholdsetround_sse_ctx): Likewise.
7168         (libc_feresetround_sse_ctx): Likewise.
7169         (libc_feresetround_387_ctx): Likewise.
7170         (libc_feupdateenv_387_ctx): Likewise.
7171         (libc_feholdexcept_setroundf_ctx): Define macro.
7172         (libc_fesetenvf_ctx): Likewise.
7173         (libc_feupdateenvf_ctx): Likewise.
7174         (libc_feholdsetroundf_ctx): Likewise.
7175         (libc_feresetroundf_ctx): Likewise.
7176         (libc_feholdexcept_setround_ctx): Likewise.
7177         (libc_fesetenv_ctx): Likewise.
7178         (libc_feupdateenv_ctx): Likewise.
7179         (libc_feholdsetround_ctx): Likewise.
7180         (libc_feresetround_ctx): Likewise.
7181         (libc_feholdexcept_setroundl_ctx): Likewise.
7182         (libc_feupdateenvl_ctx): Likewise.
7183         (libc_feholdsetroundl_ctx): Likewise.
7184         (libc_feresetroundl_ctx): Likewise.
7185         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7186         (libc_feresetround_53bit_ctx): Likewise.
7188 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7190         * locale/iso-639.def: Convert to UTF-8.
7192 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7194         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7195         (EXCEPTION_TESTS_double): Likewise.
7196         (EXCEPTION_TESTS_long_double): Likewise.
7197         (EXCEPTION_TESTS): Likewise.
7198         * math/libm-test.inc (test_exceptions): Only test exceptions if
7199         EXCEPTION_TESTS (FLOAT).
7201 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7203         * benchtests/Makefile (string-bench): Add strcpy_chk and
7204         stpcpy_chk.
7205         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7206         * benchtests/bench-stpcpy_chk.c: New file.
7207         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7208         * benchtests/bench-strcpy_chk.c: New file.
7209         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7210         code.
7211         (do_test): Likewise.
7213 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7215         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7216         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7217         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7218         with tabs where appropriate.
7219         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7220         dl-procinfo.h.
7221         [PPC_PLATFORM_PPC440]: Likewise.
7222         [PPC_PLATFORM_PPC464]: Likewise.
7223         [PPC_PLATFORM_PPC476]: Likewise.
7224         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7225         ppc464, and ppc476 platform strings merging from ports/
7226         dl-procinfo.h.
7228 2013-06-11  Andreas Schwab  <schwab@suse.de>
7230         [BZ #14991]
7231         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7232         (from_ucs4_idx): Regenerate.
7233         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7234         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7235         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7236         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7237         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7238         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7239         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7240         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7241         from FROM_LOOP and TO_LOOP specific macros.
7242         (BODY): Handle combining characters.
7243         * iconvdata/BIG5HKSCS.irreversible: Update.
7244         * iconvdata/BIG5HKSCS.precomposed: New file.
7245         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7246         characters.
7247         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7249 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7251         * include/sys/time.h: Fix indentation and add copyright header.
7253         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7254         (do_test): Likewise.
7255         * string/test-memchr.c (do_one_test): Likewise.
7256         (do_test): Likewise.
7257         * string/test-memcmp.c (do_one_test): Likewise.
7258         (do_test): Likewise.
7259         * string/test-memcpy.c (do_one_test): Likewise.
7260         (do_test): Likewise.
7261         * string/test-memmem.c (do_one_test): Likewise.
7262         (do_test): Likewise.
7263         (do_random_tests): Likewise.
7264         * string/test-memmove.c (do_one_test): Likewise.
7265         (do_test): Likewise.
7266         * string/test-memset.c (do_one_test): Likewise.
7267         (do_test): Likewise.
7268         * string/test-rawmemchr.c (do_one_test): Likewise.
7269         (do_test): Likewise.
7270         * string/test-strcasecmp.c (do_one_test): Likewise.
7271         (do_test): Likewise.
7272         * string/test-strcasestr.c (do_one_test): Likewise.
7273         (do_test): Likewise.
7274         * string/test-strcat.c (do_one_test): Likewise.
7275         (do_test): Likewise.
7276         * string/test-strchr.c (do_one_test): Likewise.
7277         (do_test): Likewise.
7278         * string/test-strcmp.c (do_one_test): Likewise.
7279         (do_test): Likewise.
7280         * string/test-strcpy.c (do_one_test): Likewise.
7281         (do_test): Likewise.
7282         * string/test-string.h: Likewise.
7283         (test_init): Likewise.
7284         * string/test-strlen.c (do_one_test): Likewise.
7285         (do_test): Likewise.
7286         * string/test-strncasecmp.c (do_one_test): Likewise.
7287         (do_test): Likewise.
7288         * string/test-strncat.c (do_one_test): Likewise.
7289         (do_test): Likewise.
7290         * string/test-strncmp.c (do_one_test): Likewise.
7291         (do_test_limit): Likewise.
7292         (do_test): Likewise.
7293         * string/test-strncpy.c (do_one_test): Likewise.
7294         (do_test): Likewise.
7295         * string/test-strnlen.c (do_one_test): Likewise.
7296         (do_test): Likewise.
7297         * string/test-strpbrk.c (do_one_test): Likewise.
7298         (do_test): Likewise.
7299         * string/test-strrchr.c (do_one_test): Likewise.
7300         (do_test): Likewise.
7301         * string/test-strspn.c (do_one_test): Likewise.
7302         (do_test): Likewise.
7303         * string/test-strstr.c (do_one_test): Likewise.
7304         (do_test): Likewise.
7306         * benchtests/Makefile (string-bench): Add string benchmarks.
7307         * benchtests/bench-bcopy-ifunc.c: New file.
7308         * benchtests/bench-bcopy.c: New file.
7309         * benchtests/bench-bzero-ifunc.c: New file.
7310         * benchtests/bench-bzero.c: New file.
7311         * benchtests/bench-memccpy-ifunc.c: New file.
7312         * benchtests/bench-memccpy.c: New file.
7313         * benchtests/bench-memchr-ifunc.c: New file.
7314         * benchtests/bench-memchr.c: New file.
7315         * benchtests/bench-memcmp-ifunc.c: New file.
7316         * benchtests/bench-memcmp.c: New file.
7317         * benchtests/bench-memmem-ifunc.c: New file.
7318         * benchtests/bench-memmem.c: New file.
7319         * benchtests/bench-memmove-ifunc.c: New file.
7320         * benchtests/bench-memmove.c: New file.
7321         * benchtests/bench-mempcpy-ifunc.c: New file.
7322         * benchtests/bench-mempcpy.c: New file.
7323         * benchtests/bench-memset-ifunc.c: New file.
7324         * benchtests/bench-memset.c: New file.
7325         * benchtests/bench-rawmemchr-ifunc.c: New file.
7326         * benchtests/bench-rawmemchr.c: New file.
7327         * benchtests/bench-stpcpy-ifunc.c: New file.
7328         * benchtests/bench-stpcpy.c: New file.
7329         * benchtests/bench-stpncpy-ifunc.c: New file.
7330         * benchtests/bench-stpncpy.c: New file.
7331         * benchtests/bench-strcasecmp-ifunc.c: New file.
7332         * benchtests/bench-strcasecmp.c: New file.
7333         * benchtests/bench-strcasestr-ifunc.c: New file.
7334         * benchtests/bench-strcasestr.c: New file.
7335         * benchtests/bench-strcat-ifunc.c: New file.
7336         * benchtests/bench-strcat.c: New file.
7337         * benchtests/bench-strchr-ifunc.c: New file.
7338         * benchtests/bench-strchr.c: New file.
7339         * benchtests/bench-strchrnul-ifunc.c: New file.
7340         * benchtests/bench-strchrnul.c: New file.
7341         * benchtests/bench-strcmp-ifunc.c: New file.
7342         * benchtests/bench-strcmp.c: New file.
7343         * benchtests/bench-strcpy-ifunc.c: New file.
7344         * benchtests/bench-strcpy.c: New file.
7345         * benchtests/bench-strcspn-ifunc.c: New file.
7346         * benchtests/bench-strcspn.c: New file.
7347         * benchtests/bench-strlen-ifunc.c: New file.
7348         * benchtests/bench-strlen.c: New file.
7349         * benchtests/bench-strncasecmp-ifunc.c: New file.
7350         * benchtests/bench-strncasecmp.c: New file.
7351         * benchtests/bench-strncat-ifunc.c: New file.
7352         * benchtests/bench-strncat.c: New file.
7353         * benchtests/bench-strncmp-ifunc.c: New file.
7354         * benchtests/bench-strncmp.c: New file.
7355         * benchtests/bench-strncpy-ifunc.c: New file.
7356         * benchtests/bench-strncpy.c: New file.
7357         * benchtests/bench-strnlen-ifunc.c: New file.
7358         * benchtests/bench-strnlen.c: New file.
7359         * benchtests/bench-strpbrk-ifunc.c: New file.
7360         * benchtests/bench-strpbrk.c: New file.
7361         * benchtests/bench-strrchr-ifunc.c: New file.
7362         * benchtests/bench-strrchr.c: New file.
7363         * benchtests/bench-strspn-ifunc.c: New file.
7364         * benchtests/bench-strspn.c: New file.
7365         * benchtests/bench-strstr-ifunc.c: New file.
7366         * benchtests/bench-strstr.c: New file.
7368         * benchtests/Makefile: Disable parallel execution of targets.
7369         (string-bench): Add memcpy.
7370         (benchset): New variable to store a list of benchmark sets.
7371         (bench-func): Renamed from bench.
7372         (bench-set): New target.
7373         (bench): Depend on bench-func and bench-set.
7374         * benchtests/README: Add section on benchmark sets.
7375         * benchtests/bench-memcpy-ifunc.c: New file.
7376         * benchtests/bench-memcpy.c: New file.
7377         * benchtests/bench-string.h: New file.
7379 2013-06-11  Andreas Schwab  <schwab@suse.de>
7381         [BZ #15577]
7382         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7383         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7384         values in the triple.
7385         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7386         terminator in the group key.
7388 2013-06-11  Andreas Jaeger  <aj@suse.de>
7390         * po/zh_TW.po: Update Chinese (traditional) translation from
7391         translation project.
7393 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7395         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7396         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7397         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7398         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7399         (clock_getcpuclockid): Likewise.
7400         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7401         Add weak_alias and libc_hidden_def.
7402         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7403         * rt/clock_gettime.c (clock_gettime): Rename to
7404         __clock_gettime.  Add weak_alias and libc_hidden_def.
7405         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7406         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7407         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7408         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7409         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7410         Likewise.
7411         * rt/clock_settime.c (clock_settime): Rename to
7412         __clock_settime.  Add weak_alias and libc_hidden_def.
7413         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7415 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7417         * mach/err_boot.sub: Remove trailing whitespace.
7418         * mach/err_ipc.sub: Likewise.
7419         * mach/err_mach.sub: Likewise.
7421         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7422         (ROUNDING_TESTS_double): Likewise.
7423         (ROUNDING_TESTS_long_double): Likewise.
7424         (ROUNDING_TESTS): Likewise.
7425         * math/libm-test.inc: Include <math-tests.h>.
7426         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7427         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7428         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7429         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7431 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7433         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7434         of assigning.
7436 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7438         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7439         otherwise empty TRANS lines.
7440         * sysdeps/gnu/errlist.c: Regenerated.
7442         * catgets/gencat.c (error_print): Use (void) in function
7443         definition.
7444         * crypt/crypt_util.c (__init_des): Likewise.
7445         * crypt/speeds.c (Stop): Likewise.
7446         (main): Likewise.
7447         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7448         * inet/ruserpass.c (token): Likewise.
7449         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7450         * intl/localealias.c (extend_alias_table): Likewise.
7451         * intl/plural-exp.c (init_germanic_plural): Likewise.
7452         * libio/fcloseall.c (__fcloseall): Likewise.
7453         * libio/genops.c (_IO_flush_all): Likewise.
7454         (_IO_flush_all_linebuffered): Likewise.
7455         (_IO_cleanup): Likewise.
7456         (_IO_iter_begin): Likewise.
7457         (_IO_iter_end): Likewise.
7458         (_IO_list_lock): Likewise.
7459         (_IO_list_unlock): Likewise.
7460         (_IO_list_resetlock): Likewise.
7461         * libio/getchar.c (getchar): Likewise.
7462         * libio/getchar_u.c (getchar_unlocked): Likewise.
7463         * libio/getwchar.c (getwchar): Likewise.
7464         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7465         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7466         * login/getpt.c (__getpt): Likewise.
7467         * login/tst-utmp.c (main): Likewise.
7468         * malloc/hooks.c (__malloc_check_init): Likewise.
7469         * malloc/malloc.c (__malloc_stats): Likewise.
7470         * malloc/mtrace.c (tr_break): Likewise.
7471         (mtrace): Likewise.
7472         (muntrace): Likewise.
7473         * misc/fstab.c (endfsent): Likewise.
7474         * misc/getclktck.c (__getclktck): Likewise.
7475         * misc/getdtsz.c (__getdtablesize): Likewise.
7476         * misc/gethostid.c (gethostid): Likewise.
7477         * misc/getpagesize.c (__getpagesize): Likewise.
7478         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7479         (__get_nprocs): Likewise.
7480         (__get_phys_pages): Likewise.
7481         (__get_avphys_pages): Likewise.
7482         * misc/getttyent.c (getttyent): Likewise.
7483         (setttyent): Likewise.
7484         (endttyent): Likewise.
7485         * misc/getusershell.c (getusershell): Likewise.
7486         (endusershell): Likewise.
7487         (setusershell): Likewise.
7488         (initshells): Likewise.
7489         * misc/hsearch.c (__hdestroy): Likewise.
7490         * misc/sync.c (sync): Likewise.
7491         * misc/syslog.c (closelog_internal): Likewise.
7492         (closelog): Likewise.
7493         * misc/ttyslot.c (ttyslot): Likewise.
7494         * misc/vhangup.c (vhangup): Likewise.
7495         * posix/fork.c (__fork): Likewise.
7496         * posix/getegid.c (__getegid): Likewise.
7497         * posix/geteuid.c (__geteuid): Likewise.
7498         * posix/getgid.c (__getgid): Likewise.
7499         * posix/getpid.c (__getpid): Likewise.
7500         * posix/getppid.c (__getppid): Likewise.
7501         * posix/getuid.c (__getuid): Likewise.
7502         * posix/pause.c (pause): Likewise.
7503         * posix/setpgrp.c (setpgrp): Likewise.
7504         * posix/setsid.c (__setsid): Likewise.
7505         * posix/test-vfork.c (noop): Likewise.
7506         * resolv/gethnamaddr.c (_endhtent): Likewise.
7507         (_gethtent): Likewise.
7508         (ht_endhostent): Likewise.
7509         (gethostent): Likewise.
7510         (dns_service): Likewise.
7511         * stdlib/drand48.c (drand48): Likewise.
7512         * stdlib/lrand48.c (lrand48): Likewise.
7513         * stdlib/mrand48.c (mrand48): Likewise.
7514         * stdlib/rand.c (rand): Likewise.
7515         * stdlib/random.c (__random): Likewise.
7516         * stdlib/setenv.c (clearenv): Likewise.
7517         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7518         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7519         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7520         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7521         (__get_nprocs): Likewise.
7522         (__get_phys_pages): Likewise.
7523         (__get_avphys_pages): Likewise.
7524         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7525         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7526         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7527         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7528         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7529         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7530         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7531         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7532         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7533         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7534         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7535         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7536         * sysdeps/posix/clock.c (clock): Likewise.
7537         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7538         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7539         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7540         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7541         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7542         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7543         (__get_nprocs_conf): Likewise.
7544         (__get_phys_pages): Likewise.
7545         (__get_avphys_pages): Likewise.
7546         * time/clock.c (clock): Likewise.
7547         * time/tzset.c (__tzname_max): Likewise.
7549 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7551         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7552         (__bswap_32): Do not use "register".
7553         * crypt/crypt.c (_ufc_doit_r): Likewise.
7554         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7555         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7556         * gmon/gmon.c (__monstartup): Likewise.
7557         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7558         * hurd/hurdmalloc.c (more_memory): Likewise.
7559         (malloc): Likewise.
7560         (free): Likewise.
7561         (realloc): Likewise.
7562         (malloc_fork_prepare): Likewise.
7563         (malloc_fork_parent): Likewise.
7564         (malloc_fork_child): Likewise.
7565         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7566         (_svcauth_des): Likewise.
7567         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7568         * inet/inet_net.c (inet_network): Likewise.
7569         * inet/inet_netof.c (inet_netof): Likewise.
7570         * inet/rcmd.c (__validuser2_sa): Likewise.
7571         * io/fts.c (fts_open): Likewise.
7572         (fts_load): Likewise.
7573         (fts_close): Likewise.
7574         (fts_read): Likewise.
7575         (fts_children): Likewise.
7576         (fts_build): Likewise.
7577         (fts_stat): Likewise.
7578         (fts_sort): Likewise.
7579         (fts_alloc): Likewise.
7580         (fts_lfree): Likewise.
7581         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7582         (_IO_file_xsgetn): Likewise.
7583         (_IO_file_xsgetn_mmap): Likewise.
7584         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7585         (_IO_cookie_write): Likewise.
7586         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7587         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7588         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7589         * malloc/obstack.c (_obstack_begin): Likewise.
7590         (_obstack_begin_1): Likewise.
7591         (_obstack_newchunk): Likewise.
7592         (_obstack_allocated_p): Likewise.
7593         (obstack_free): Likewise.
7594         (_obstack_memory_used): Likewise.
7595         * misc/getttyent.c (getttynam): Likewise.
7596         (getttyent): Likewise.
7597         (skip): Likewise.
7598         (value): Likewise.
7599         * misc/getusershell.c (initshells): Likewise.
7600         * misc/syslog.c (__vsyslog_chk): Likewise.
7601         * misc/ttyslot.c (ttyslot): Likewise.
7602         * nis/nis_hash.c (__nis_hash): Likewise.
7603         * posix/fnmatch_loop.c (FCT): Likewise.
7604         * posix/getconf.c (print_all): Likewise.
7605         (main): Likewise.
7606         * posix/getopt.c (exchange): Likewise.
7607         * posix/glob.c (globfree): Likewise.
7608         (prefix_array): Likewise.
7609         (__glob_pattern_type): Likewise.
7610         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7611         (NS_GET32): Likewise.
7612         (NS_PUT16): Likewise.
7613         (NS_PUT32): Likewise.
7614         * resolv/gethnamaddr.c (getanswer): Likewise.
7615         (gethostbyname2): Likewise.
7616         (gethostbyaddr): Likewise.
7617         (_gethtent): Likewise.
7618         (_gethtbyname2): Likewise.
7619         (_gethtbyaddr): Likewise.
7620         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7621         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7622         * resolv/res_init.c (__res_vinit): Likewise.
7623         (net_mask): Likewise.
7624         * resolv/res_mkquery.c (outchar): Likewise.
7625         (PRINT): Likewise.
7626         * stdio-common/printf_fp.c (outchar): Likewise.
7627         (PRINT): Likewise.
7628         * stdio-common/printf_fphex.c (outchar): Likewise.
7629         (PRINT): Likewise.
7630         * stdio-common/printf_size.c (outchar): Likewise.
7631         (PRINT): Likewise.
7632         * stdio-common/test_rdwr.c (main): Likewise.
7633         * stdio-common/tfformat.c (matches): Likewise.
7634         * stdio-common/vfprintf.c (outchar): Likewise.
7635         (printf_unknown): Likewise.
7636         (buffered_vfprintf): Likewise.
7637         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7638         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7639         (ReadFile): Likewise.
7640         * stdlib/qsort.c (SWAP): Likewise.
7641         (_quicksort): Likewise.
7642         * stdlib/setenv.c (__add_to_environ): Likewise.
7643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7644         * stdlib/strtol_l.c (__strtol_l): Likewise.
7645         * stdlib/tst-strtod.c (main): Likewise.
7646         * stdlib/tst-strtol.c (main): Likewise.
7647         * stdlib/tst-strtoll.c (main): Likewise.
7648         * string/bits/string2.h (__strcmp_cc): Likewise.
7649         (__strcmp_cg): Likewise.
7650         (__strcspn_c1): Likewise.
7651         (__strcspn_c2): Likewise.
7652         (__strcspn_c3): Likewise.
7653         (__strspn_c1): Likewise.
7654         (__strspn_c2): Likewise.
7655         (__strspn_c3): Likewise.
7656         (__strsep_1c): Likewise.
7657         (__strsep_2c): Likewise.
7658         (__strsep_3c): Likewise.
7659         * string/memccpy.c (__memccpy): Likewise.
7660         * string/stpcpy.c (__stpcpy): Likewise.
7661         * string/strcmp.c (strcmp): Likewise.
7662         * string/strrchr.c (strrchr): Likewise.
7663         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7664         Likewise.
7665         * sysdeps/mach/hurd/getcwd.c
7666         (_hurd_canonicalize_directory_name_internal): Likewise.
7667         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7668         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7669         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7670         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7671         Likewise, in both definitions.
7672         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7673         definitions.
7674         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7675         64] (__bswap_64): Likewise.
7676         * time/test_time.c (main): Likewise.
7677         * time/tzfile.c (__tzfile_read): Likewise.
7678         (__tzfile_compute): Likewise.
7679         * time/tzset.c (__tzset_parse_tz): Likewise.
7680         (tzset_internal): Likewise.
7681         (compute_change): Likewise.
7682         * wcsmbs/wcscat.c (__wcscat): Likewise.
7683         * wcsmbs/wcschr.c (wcschr): Likewise.
7684         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7685         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7686         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7687         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7688         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7689         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7690         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7691         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7692         * wcsmbs/wmemset.c (wmemset): Likewise.
7694 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7696         * scripts/config.guess: Update to version 2013-05-16.
7697         * scripts/config.sub: Update to version 2013-04-24.
7698         * scripts/install-sh: Update to version 2011-11-20.07.
7699         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7700         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7702 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7704         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7705         * elf/sln.c: Likewise.
7706         * hurd/hurd/ioctl.h: Likewise.
7707         * hurd/hurdmalloc.c: Likewise.
7708         * hurd/xattr.c: Likewise.
7709         * include/shlib-compat.h: Likewise.
7710         * inet/ruserpass.c: Likewise.
7711         * libio/iofgets_u.c: Likewise.
7712         * libio/iofgetws_u.c: Likewise.
7713         * locale/programs/ld-identification.c: Likewise.
7714         * locale/programs/ld-time.c: Likewise.
7715         * mach/msg-destroy.c: Likewise.
7716         * nss/nss_files/files-netgrp.c: Likewise.
7717         * resolv/res_data.c: Likewise.
7718         * soft-fp/op-1.h: Likewise.
7719         * soft-fp/op-2.h: Likewise.
7720         * soft-fp/op-4.h: Likewise.
7721         * soft-fp/op-common.h: Likewise.
7722         * stdio-common/printf_fphex.c: Likewise.
7723         * stdlib/strtod_l.c: Likewise.
7724         * sunrpc/rpc/clnt.h: Likewise.
7725         * sysdeps/generic/framestate.c: Likewise.
7726         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7727         * sysdeps/i386/bsd-setjmp.S: Likewise.
7728         * sysdeps/i386/__longjmp.S: Likewise.
7729         * sysdeps/i386/setjmp.S: Likewise.
7730         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7731         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7732         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7733         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7734         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7735         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7736         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7737         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7738         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7739         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7740         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7741         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7742         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7743         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7744         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7745         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7746         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7747         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7748         * sysdeps/ieee754/support.c: Likewise.
7749         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7750         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7751         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7752         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7753         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7754         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7755         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7756         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7757         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7758         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7759         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7760         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7761         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7762         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7763         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7764         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7765         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7768 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7770         * posix/transbug.c: Remove executable mode.
7772 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7774         * crypt/speeds.c: Remove trailing whitespace.
7775         * dlfcn/default.c: Likewise.
7776         * elf/ifuncdep2.c: Likewise.
7777         * elf/ifuncmain1.c: Likewise.
7778         * elf/ifuncmain1vis.c: Likewise.
7779         * elf/testobj.h: Likewise.
7780         * elf/tst-stackguard1.c: Likewise.
7781         * gmon/sys/gmon.h: Likewise.
7782         * hurd/hurdmsg.c: Likewise.
7783         * hurd/new-fd.c: Likewise.
7784         * hurd/ports-get.c: Likewise.
7785         * iconvdata/ibm1008_420.c: Likewise.
7786         * inet/tst-getni1.c: Likewise.
7787         * inet/tst-getni2.c: Likewise.
7788         * libio/ioungetc.c: Likewise.
7789         * libio/wfiledoalloc.c: Likewise.
7790         * manual/libm-err-tab.pl: Likewise.
7791         * math/w_dremf.c: Likewise.
7792         * misc/ftruncate.c: Likewise.
7793         * posix/bug-glob2.c: Likewise.
7794         * posix/tst-pcre.c: Likewise.
7795         * posix/wait4.c: Likewise.
7796         * resolv/README: Likewise.
7797         * resolv/res_debug.h: Likewise.
7798         * resolv/tst-inet_ntop.c: Likewise.
7799         * setjmp/bug269-setjmp.c: Likewise.
7800         * soft-fp/extended.h: Likewise.
7801         * soft-fp/op-1.h: Likewise.
7802         * soft-fp/op-2.h: Likewise.
7803         * soft-fp/op-4.h: Likewise.
7804         * soft-fp/op-8.h: Likewise.
7805         * soft-fp/testit.c: Likewise.
7806         * stdio-common/bug16.c: Likewise.
7807         * stdlib/random.c: Likewise.
7808         * sunrpc/rpcsvc/rquota.x: Likewise.
7809         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7810         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7811         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7812         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7813         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7814         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7815         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7816         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7817         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7818         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7819         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7820         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7821         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7822         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7823         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7824         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7825         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7826         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7827         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7828         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7829         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7830         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7831         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7832         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7833         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7834         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7835         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7836         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7837         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7838         * sysdeps/ieee754/s_lib_version.c: Likewise.
7839         * sysdeps/mach/hurd/check_fds.c: Likewise.
7840         * sysdeps/mach/hurd/getsockname.c: Likewise.
7841         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7842         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7843         * sysdeps/powerpc/bits/link.h: Likewise.
7844         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7845         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7846         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7847         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7848         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7849         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7850         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7851         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7852         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7853         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7854         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7855         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7856         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7857         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7858         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7859         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7860         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7861         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7862         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7863         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7864         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7865         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7866         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7867         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7868         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7869         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7870         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7871         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7872         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7873         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7874         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7875         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7876         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7877         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7878         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7879         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7880         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7881         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7882         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7883         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7884         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7885         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7886         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7887         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7888         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7889         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7890         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7891         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7892         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7893         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7894         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7895         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7896         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7897         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7898         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7899         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7900         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7901         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7902         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7903         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7904         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7905         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7906         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7907         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7908         * sysdeps/powerpc/sysdep.h: Likewise.
7909         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7910         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7911         * sysdeps/sh/dl-trampoline.S: Likewise.
7912         * sysdeps/sh/memset.S: Likewise.
7913         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7914         * sysdeps/sh/strlen.S: Likewise.
7915         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7916         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7917         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7918         * sysdeps/sparc/sparc32/rem.S: Likewise.
7919         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7920         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7921         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7922         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7923         * sysdeps/sparc/sparc32/urem.S: Likewise.
7924         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7925         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7926         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7927         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7928         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7929         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7930         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7931         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7932         * sysdeps/unix/bsd/times.c: Likewise.
7933         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7934         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7938         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7939         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7940         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7941         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7942         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7943         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7944         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7945         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7946         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7947         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7948         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7949         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7950         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7951         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7952         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7953         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7954         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7955         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7956         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7957         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7958         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7959         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7960         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7961         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7962         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7963         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7964         * sysdeps/x86_64/strcspn.S: Likewise.
7966 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7968         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7969         generated file.  Regenerate properly from gen-translit.pl.
7970         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7971         locale/C-translit.h.
7973 2013-06-05  Andreas Schwab  <schwab@suse.de>
7975         [BZ #15100]
7976         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7977         week as 6 instead of -1.
7978         * time/tst-strptime.c (day_tests): Add test case.
7980 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7982         * sysdeps/generic/math_private.h
7983         (libc_feholdexcept_setround_53bit): Replace with
7984         libc_feholdsetround_53bit.
7985         (libc_feupdateenv_53bit): Replace with
7986         libc_feresetround_53bit.
7987         (SET_RESTORE_ROUND_53BIT): Adjust.
7989 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7991         * string/test-strchrnul.c: Add copyright header.
7993         * posix/tst-getaddrinfo4.c: Increase test timeout.
7995 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7997         [BZ #15536]
7998         * math/libm-test.inc (MAX_EXP): Remove
7999         (MIN_EXP): Define.
8000         (ulp): Use MIN_EXP - MANT_DIG.
8001         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8003 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8005         * po/be.po: Revert last change.
8006         * po/zh_CN.po: Likewise.
8007         * po/header.pot: Likewise.
8009 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8011         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8012         link-libc-deps to empty as target-specific variable.
8013         * Makerules (link-libc-args): New variable.
8014         (libc-for-link): Likewise.
8015         (link-libc-deps): Likewise.
8016         (lib%.so): Depend on $(link-libc-deps).  Link with
8017         $(link-libc-args).
8018         (build-module): Link with $(link-libc-args).
8019         (build-module-asneeded): Likewise.
8020         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8021         list of objects.
8022         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8023         target-specific variable.
8024         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8025         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8026         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8027         libc.
8028         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8029         libc and ld.so.
8030         ($(objpfx)libpcprofile.so): Likewise.
8031         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8032         libc_nonshared.a.
8033         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8034         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8035         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8036         $(link-libc-deps).
8037         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8038         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8039         * login/Makefile ($(objpfx)libutil.so): Likewise.
8040         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8041         * math/Makefile ($(objpfx)libm.so): Likewise.
8042         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8043         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8044         variable instead of depending directly on libc.
8045         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8046         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8047         $(link-libc-deps).
8048         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8049         libc.
8050         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8051         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8052         ($(objpfx)libanl.so): Likewise.
8053         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8054         ld.so.
8055         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8056         $(link-libc-deps).
8057         * sysdeps/i386/fpu/Makefile: Remove file.
8058         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8059         ($(objpfx)libm.so): Remove dependency on ld.so.
8061 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8063         [BZ # 15553]
8064         * nis/yp_xdr.c (XDRMAXNAME): Define.
8065         (XDRMAXRECORD): Define.
8066         (xdr_domainname): Use XDRMAXNAME.
8067         (xdr_mapname): Likewise.
8068         (xdr_peername): Likewise.
8069         (xdr_keydat): Use XDRMAXRECORD.
8070         (xdr_valdat): Likewise.
8072 2013-05-30  Jeff Law  <law@redhat.com>
8074         [BZ #14256]
8075         * manual/errno.texi (ESTALE): Update to account for more than
8076         just NFS file systems.
8077         * sysdeps/gnu/errlist.c: Regenerated.
8079 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8081         [BZ #15465]
8082         * elf/Makefile (tests): Add tst-null-argv.
8083         (modules-names):  Add tst-null-argv-lib.
8084         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8085         (tst-null-argv-ENV): Set environment for tst-null-argv.
8086         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8087         (RTLD_PROGNAME): New macro.
8088         * elf/tst-null-argv.c: New test case.
8089         * elf/tst-null-argv-lib.c: Library for test case.
8090         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8091         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8092         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8093         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8094         * elf/dl-init.c (call_init): Likewise.
8095         (_dl_init): Likewise.
8096         * elf/dl-load.c (print_search_path): Likewise.
8097         (_dl_map_object): Likewise.
8098         * elf/dl-lookup.c (do_lookup_x): Likewise.
8099         (add_dependency): Likewise.
8100         (_dl_lookup_symbol_x): Likewise.
8101         (_dl_debug_bindings): Likewise.
8102         * elf/dl-open.c (_dl_show_scope): Likewise.
8103         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8104         * elf/dl-version.c (match_symbol): Likewise.
8105         (_dl_check_map_versions): Likewise.
8106         * elf/rtld.c (dl_main): Likewise.
8107         (print_unresolved): Use RTLD_PROGNAME.
8108         (print_missing_version): Likewise.
8109         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8110         (elf_machine_rela): Likewise.
8111         * sysdeps/powerpc/powerpc32/dl-machine.c
8112         (__process_machine_rela): Likewise.
8113         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8114         Likewise.
8115         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8116         Likewise.
8117         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8118         Likewise.
8119         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8120         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8121         Likewise.
8122         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8123         Likewise.
8124         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8126 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8128         * po/be.po: Add descriptive title.
8129         * po/zh_CN.po: Likewise.
8130         * po/header.pot: Likewise.
8132 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8134         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8135         error message.
8136         (enlarge_archive): Likewise.
8138 2013-05-28  Ben North  <ben@redfrontdoor.org>
8140         * manual/arith.texi (frexp): It is the magnitude of the return
8141         value which lies in [0.5, 1), not the return value itself.
8143 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8147 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8149         * stdio-common/bug26.c (main): Correct fscanf template.
8151         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8152         declare _dl_skip_args.
8154         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8155         Don't declare.
8157         * manual/platform.texi: Add missing @end deftypefun.
8159 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8161         [BZ #15529]
8162         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8163         bit of mantissa of 2^16382.
8164         * math/libm-test.inc (hypot_test_data): Add more tests.
8166         * math/libm-test.inc: Add drem and pow10 to list of tested
8167         functions.
8168         (pow10_test): New function.
8169         (drem_test): Likewise.
8170         (drem_test_tonearest): Likewise.
8171         (drem_test_towardzero): Likewise.
8172         (drem_test_downward): Likewise.
8173         (drem_test_upward): Likewise.
8174         (main): Call the new functions.
8176         * math/libm-test.inc (finite_test_data): Remove.
8177         (finite_test): Run tests from isfinite_test_data.
8178         (gamma_test_data): Remove.
8179         (gamma_test): Run tests from lgamma_test_data.
8180         * sysdeps/i386/fpu/libm-test-ulps: Update.
8181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8183 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8185         * manual/platform.texi: Add PowerPC PPR function set documentation.
8186         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8187         implementation.
8189 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8191         * math/libm-test.inc (MAX_EXP): Define.
8192         (ULPDIFF): Define.
8193         (ulp): New function.
8194         (check_float_internal): Use ULPDIFF.
8195         (cpow_test): Disable failing test.
8196         (check_ulp): Test ulp() implemetnation.
8197         (main): Call check_ulp before starting tests.
8199 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8201         * math/gen-libm-test.pl (generate_testfile): Do not handle
8202         START_DATA and END_DATA.
8203         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8204         END_DATA.
8205         (acos_tonearest_test_data): Likewise.
8206         (acos_towardzero_test_data): Likewise.
8207         (acos_downward_test_data): Likewise.
8208         (acos_upward_test_data): Likewise.
8209         (acosh_test_data): Likewise.
8210         (asin_test_data): Likewise.
8211         (asin_tonearest_test_data): Likewise.
8212         (asin_towardzero_test_data): Likewise.
8213         (asin_downward_test_data): Likewise.
8214         (asin_upward_test_data): Likewise.
8215         (asinh_test_data): Likewise.
8216         (atan_test_data): Likewise.
8217         (atanh_test_data): Likewise.
8218         (atan2_test_data): Likewise.
8219         (cabs_test_data): Likewise.
8220         (cacos_test_data): Likewise.
8221         (cacosh_test_data): Likewise.
8222         (carg_test_data): Likewise.
8223         (casin_test_data): Likewise.
8224         (casinh_test_data): Likewise.
8225         (catan_test_data): Likewise.
8226         (catanh_test_data): Likewise.
8227         (cbrt_test_data): Likewise.
8228         (ccos_test_data): Likewise.
8229         (ccosh_test_data): Likewise.
8230         (ceil_test_data): Likewise.
8231         (cexp_test_data): Likewise.
8232         (cimag_test_data): Likewise.
8233         (clog_test_data): Likewise.
8234         (clog10_test_data): Likewise.
8235         (conj_test_data): Likewise.
8236         (copysign_test_data): Likewise.
8237         (cos_test_data): Likewise.
8238         (cos_tonearest_test_data): Likewise.
8239         (cos_towardzero_test_data): Likewise.
8240         (cos_downward_test_data): Likewise.
8241         (cos_upward_test_data): Likewise.
8242         (cosh_test_data): Likewise.
8243         (cosh_tonearest_test_data): Likewise.
8244         (cosh_towardzero_test_data): Likewise.
8245         (cosh_downward_test_data): Likewise.
8246         (cosh_upward_test_data): Likewise.
8247         (cpow_test_data): Likewise.
8248         (cproj_test_data): Likewise.
8249         (creal_test_data): Likewise.
8250         (csin_test_data): Likewise.
8251         (csinh_test_data): Likewise.
8252         (csqrt_test_data): Likewise.
8253         (ctan_test_data): Likewise.
8254         (ctan_tonearest_test_data): Likewise.
8255         (ctan_towardzero_test_data): Likewise.
8256         (ctan_downward_test_data): Likewise.
8257         (ctan_upward_test_data): Likewise.
8258         (ctanh_test_data): Likewise.
8259         (ctanh_tonearest_test_data): Likewise.
8260         (ctanh_towardzero_test_data): Likewise.
8261         (ctanh_downward_test_data): Likewise.
8262         (ctanh_upward_test_data): Likewise.
8263         (erf_test_data): Likewise.
8264         (erfc_test_data): Likewise.
8265         (exp_test_data): Likewise.
8266         (exp_tonearest_test_data): Likewise.
8267         (exp_towardzero_test_data): Likewise.
8268         (exp_downward_test_data): Likewise.
8269         (exp_upward_test_data): Likewise.
8270         (exp10_test_data): Likewise.
8271         (exp2_test_data): Likewise.
8272         (expm1_test_data): Likewise.
8273         (fabs_test_data): Likewise.
8274         (fdim_test_data): Likewise.
8275         (finite_test_data): Likewise.
8276         (floor_test_data): Likewise.
8277         (fma_test_data): Likewise.
8278         (fma_towardzero_test_data): Likewise.
8279         (fma_downward_test_data): Likewise.
8280         (fma_upward_test_data): Likewise.
8281         (fmax_test_data): Likewise.
8282         (fmin_test_data): Likewise.
8283         (fmod_test_data): Likewise.
8284         (fpclassify_test_data): Likewise.
8285         (frexp_test_data): Likewise.
8286         (gamma_test_data): Likewise.
8287         (hypot_test_data): Likewise.
8288         (ilogb_test_data): Likewise.
8289         (isfinite_test_data): Likewise.
8290         (isgreater_test_data): Likewise.
8291         (isgreaterequal_test_data): Likewise.
8292         (isinf_test_data): Likewise.
8293         (isless_test_data): Likewise.
8294         (islessequal_test_data): Likewise.
8295         (islessgreater_test_data): Likewise.
8296         (isnan_test_data): Likewise.
8297         (isnormal_test_data): Likewise.
8298         (issignaling_test_data): Likewise.
8299         (isunordered_test_data): Likewise.
8300         (j0_test_data): Likewise.
8301         (j1_test_data): Likewise.
8302         (jn_test_data): Likewise.
8303         (ldexp_test_data): Likewise.
8304         (lgamma_test_data): Likewise.
8305         (lrint_test_data): Likewise.
8306         (lrint_tonearest_test_data): Likewise.
8307         (lrint_towardzero_test_data): Likewise.
8308         (lrint_downward_test_data): Likewise.
8309         (lrint_upward_test_data): Likewise.
8310         (llrint_test_data): Likewise.
8311         (llrint_tonearest_test_data): Likewise.
8312         (llrint_towardzero_test_data): Likewise.
8313         (llrint_downward_test_data): Likewise.
8314         (llrint_upward_test_data): Likewise.
8315         (log_test_data): Likewise.
8316         (log10_test_data): Likewise.
8317         (log1p_test_data): Likewise.
8318         (log2_test_data): Likewise.
8319         (logb_test_data): Likewise.
8320         (logb_downward_test_data): Likewise.
8321         (lround_test_data): Likewise.
8322         (llround_test_data): Likewise.
8323         (modf_test_data): Likewise.
8324         (nearbyint_test_data): Likewise.
8325         (nextafter_test_data): Likewise.
8326         (nexttoward_test_data): Likewise.
8327         (pow_test_data): Likewise.
8328         (pow_tonearest_test_data): Likewise.
8329         (pow_towardzero_test_data): Likewise.
8330         (pow_downward_test_data): Likewise.
8331         (pow_upward_test_data): Likewise.
8332         (remainder_test_data): Likewise.
8333         (remainder_tonearest_test_data): Likewise.
8334         (remainder_towardzero_test_data): Likewise.
8335         (remainder_downward_test_data): Likewise.
8336         (remainder_upward_test_data): Likewise.
8337         (remquo_test_data): Likewise.
8338         (rint_test_data): Likewise.
8339         (rint_tonearest_test_data): Likewise.
8340         (rint_towardzero_test_data): Likewise.
8341         (rint_downward_test_data): Likewise.
8342         (rint_upward_test_data): Likewise.
8343         (round_test_data): Likewise.
8344         (scalb_test_data): Likewise.
8345         (scalbn_test_data): Likewise.
8346         (scalbln_test_data): Likewise.
8347         (signbit_test_data): Likewise.
8348         (sin_test_data): Likewise.
8349         (sin_tonearest_test_data): Likewise.
8350         (sin_towardzero_test_data): Likewise.
8351         (sin_downward_test_data): Likewise.
8352         (sin_upward_test_data): Likewise.
8353         (sincos_test_data): Likewise.
8354         (sinh_test_data): Likewise.
8355         (sinh_tonearest_test_data): Likewise.
8356         (sinh_towardzero_test_data): Likewise.
8357         (sinh_downward_test_data): Likewise.
8358         (sinh_upward_test_data): Likewise.
8359         (sqrt_test_data): Likewise.
8360         (tan_test_data): Likewise.
8361         (tan_tonearest_test_data): Likewise.
8362         (tan_towardzero_test_data): Likewise.
8363         (tan_downward_test_data): Likewise.
8364         (tan_upward_test_data): Likewise.
8365         (tanh_test_data): Likewise.
8366         (tgamma_test_data): Likewise.
8367         (trunc_test_data): Likewise.
8368         (y0_test_data): Likewise.
8369         (y1_test_data): Likewise.
8370         (yn_test_data): Likewise.
8371         (significand_test_data): Likewise.
8373         * math/gen-libm-test.pl (@functions): Remove variable.
8374         (generate_testfile): Don't handle START and END lines.
8375         * math/libm-test.inc (START): New macro.
8376         (END): Likewise.
8377         (END_COMPLEX): Likewise.
8378         (acos_test): Use END macro without arguments.
8379         (acos_test_tonearest): Likewise.
8380         (acos_test_towardzero): Likewise.
8381         (acos_test_downward): Likewise.
8382         (acos_test_upward): Likewise.
8383         (acosh_test): Likewise.
8384         (asin_test): Likewise.
8385         (asin_test_tonearest): Likewise.
8386         (asin_test_towardzero): Likewise.
8387         (asin_test_downward): Likewise.
8388         (asin_test_upward): Likewise.
8389         (asinh_test): Likewise.
8390         (atan_test): Likewise.
8391         (atanh_test): Likewise.
8392         (atan2_test): Likewise.
8393         (cabs_test): Likewise.
8394         (cacos_test): Use END_COMPLEX macro without arguments.
8395         (cacosh_test): Likewise.
8396         (carg_test): Use END macro without arguments.
8397         (casin_test): Use END_COMPLEX macro without arguments.
8398         (casinh_test): Likewise.
8399         (catan_test): Likewise.
8400         (catanh_test): Likewise.
8401         (cbrt_test): Use END macro without arguments.
8402         (ccos_test): Use END_COMPLEX macro without arguments.
8403         (ccosh_test): Likewise.
8404         (ceil_test): Use END macro without arguments.
8405         (cexp_test): Use END_COMPLEX macro without arguments.
8406         (cimag_test): Use END macro without arguments.
8407         (clog_test): Use END_COMPLEX macro without arguments.
8408         (clog10_test): Likewise.
8409         (conj_test): Likewise.
8410         (copysign_test): Use END macro without arguments.
8411         (cos_test): Likewise.
8412         (cos_test_tonearest): Likewise.
8413         (cos_test_towardzero): Likewise.
8414         (cos_test_downward): Likewise.
8415         (cos_test_upward): Likewise.
8416         (cosh_test): Likewise.
8417         (cosh_test_tonearest): Likewise.
8418         (cosh_test_towardzero): Likewise.
8419         (cosh_test_downward): Likewise.
8420         (cosh_test_upward): Likewise.
8421         (cpow_test): Use END_COMPLEX macro without arguments.
8422         (cproj_test): Likewise.
8423         (creal_test): Use END macro without arguments.
8424         (csin_test): Use END_COMPLEX macro without arguments.
8425         (csinh_test): Likewise.
8426         (csqrt_test): Likewise.
8427         (ctan_test): Likewise.
8428         (ctan_test_tonearest): Likewise.
8429         (ctan_test_towardzero): Likewise.
8430         (ctan_test_downward): Likewise.
8431         (ctan_test_upward): Likewise.
8432         (ctanh_test): Likewise.
8433         (ctanh_test_tonearest): Likewise.
8434         (ctanh_test_towardzero): Likewise.
8435         (ctanh_test_downward): Likewise.
8436         (ctanh_test_upward): Likewise.
8437         (erf_test): Use END macro without arguments.
8438         (erfc_test): Likewise.
8439         (exp_test): Likewise.
8440         (exp_test_tonearest): Likewise.
8441         (exp_test_towardzero): Likewise.
8442         (exp_test_downward): Likewise.
8443         (exp_test_upward): Likewise.
8444         (exp10_test): Likewise.
8445         (exp2_test): Likewise.
8446         (expm1_test): Likewise.
8447         (fabs_test): Likewise.
8448         (fdim_test): Likewise.
8449         (finite_test): Likewise.
8450         (floor_test): Likewise.
8451         (fma_test): Likewise.
8452         (fma_test_towardzero): Likewise.
8453         (fma_test_downward): Likewise.
8454         (fma_test_upward): Likewise.
8455         (fmax_test): Likewise.
8456         (fmin_test): Likewise.
8457         (fmod_test): Likewise.
8458         (fpclassify_test): Likewise.
8459         (frexp_test): Likewise.
8460         (gamma_test): Likewise.
8461         (hypot_test): Likewise.
8462         (ilogb_test): Likewise.
8463         (isfinite_test): Likewise.
8464         (isgreater_test): Likewise.
8465         (isgreaterequal_test): Likewise.
8466         (isinf_test): Likewise.
8467         (isless_test): Likewise.
8468         (islessequal_test): Likewise.
8469         (islessgreater_test): Likewise.
8470         (isnan_test): Likewise.
8471         (isnormal_test): Likewise.
8472         (issignaling_test): Likewise.
8473         (isunordered_test): Likewise.
8474         (j0_test): Likewise.
8475         (j1_test): Likewise.
8476         (jn_test): Likewise.
8477         (ldexp_test): Likewise.
8478         (lgamma_test): Likewise.
8479         (lrint_test): Likewise.
8480         (lrint_test_tonearest): Likewise.
8481         (lrint_test_towardzero): Likewise.
8482         (lrint_test_downward): Likewise.
8483         (lrint_test_upward): Likewise.
8484         (llrint_test): Likewise.
8485         (llrint_test_tonearest): Likewise.
8486         (llrint_test_towardzero): Likewise.
8487         (llrint_test_downward): Likewise.
8488         (llrint_test_upward): Likewise.
8489         (log_test): Likewise.
8490         (log10_test): Likewise.
8491         (log1p_test): Likewise.
8492         (log2_test): Likewise.
8493         (logb_test): Likewise.
8494         (logb_test_downward): Likewise.
8495         (lround_test): Likewise.
8496         (llround_test): Likewise.
8497         (modf_test): Likewise.
8498         (nearbyint_test): Likewise.
8499         (nextafter_test): Likewise.
8500         (nexttoward_test): Likewise.
8501         (pow_test): Likewise.
8502         (pow_test_tonearest): Likewise.
8503         (pow_test_towardzero): Likewise.
8504         (pow_test_downward): Likewise.
8505         (pow_test_upward): Likewise.
8506         (remainder_test): Likewise.
8507         (remainder_test_tonearest): Likewise.
8508         (remainder_test_towardzero): Likewise.
8509         (remainder_test_downward): Likewise.
8510         (remainder_test_upward): Likewise.
8511         (remquo_test): Likewise.
8512         (rint_test): Likewise.
8513         (rint_test_tonearest): Likewise.
8514         (rint_test_towardzero): Likewise.
8515         (rint_test_downward): Likewise.
8516         (rint_test_upward): Likewise.
8517         (round_test): Likewise.
8518         (scalb_test): Likewise.
8519         (scalbn_test): Likewise.
8520         (scalbln_test): Likewise.
8521         (signbit_test): Likewise.
8522         (sin_test): Likewise.
8523         (sin_test_tonearest): Likewise.
8524         (sin_test_towardzero): Likewise.
8525         (sin_test_downward): Likewise.
8526         (sin_test_upward): Likewise.
8527         (sincos_test): Likewise.
8528         (sinh_test): Likewise.
8529         (sinh_test_tonearest): Likewise.
8530         (sinh_test_towardzero): Likewise.
8531         (sinh_test_downward): Likewise.
8532         (sinh_test_upward): Likewise.
8533         (sqrt_test): Likewise.
8534         (tan_test): Likewise.
8535         (tan_test_tonearest): Likewise.
8536         (tan_test_towardzero): Likewise.
8537         (tan_test_downward): Likewise.
8538         (tan_test_upward): Likewise.
8539         (tanh_test): Likewise.
8540         (tgamma_test): Likewise.
8541         (trunc_test): Likewise.
8542         (y0_test): Likewise.
8543         (y1_test): Likewise.
8544         (yn_test): Likewise.
8545         (significand_test): Likewise.
8547 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8549         [BZ #15381]
8550         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8552 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8554         [BZ #14894]
8555         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8556         __ppc_mdoio and __ppc_mdoom.
8557         * manual/platform.texi: Document new functions __ppc_yield,
8558         __ppc_mdoio and __ppc_mdoom.
8560 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8562         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8563         (main): Mention "tls" pseudo-hwcap is legacy.
8564         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8566 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8568         * math/gen-libm-test.pl (parse_args): Output only string of
8569         arguments as text for test name, not full call or descriptions of
8570         tests for extra outputs.
8571         (generate_testfile): Do not pass function name to parse_args.
8572         Generate this_func variable from START.
8573         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8574         field to arg_str.
8575         (struct test_ff_f_data): Likewise.
8576         (test_ff_f_data_nexttoward): Likewise.
8577         (struct test_fi_f_data): Likewise.
8578         (struct test_fl_f_data): Likewise.
8579         (struct test_if_f_data): Likewise.
8580         (struct test_fff_f_data): Likewise.
8581         (struct test_c_f_data): Likewise.
8582         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8583         (struct test_fF_f1_data): Likewise.
8584         (struct test_ffI_f1_data): Likewise.
8585         (struct test_c_c_data): Rename test_name field to arg_str.
8586         (struct test_cc_c_data): Likewise.
8587         (struct test_f_i_data): Likewise.
8588         (struct test_ff_i_data): Likewise.
8589         (struct test_f_l_data): Likewise.
8590         (struct test_f_L_data): Likewise.
8591         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8592         and extra2_name.
8593         (COMMON_TEST_SETUP): New macro.
8594         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8595         (COMMON_TEST_CLEANUP): Likewise.
8596         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8597         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8598         macros.
8599         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8600         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8601         macros.
8602         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8603         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8604         cleanup macros.
8605         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8606         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8607         macros.
8608         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8609         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8610         macros.
8611         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8612         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8613         cleanup macros.
8614         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8615         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8616         cleanup macros.
8617         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8618         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8619         cleanup macros.
8620         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8621         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8622         macros.
8623         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8624         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8625         macros.
8626         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8627         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8628         macros.
8629         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8630         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8631         cleanup macros.
8632         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8633         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8634         cleanup macros.
8635         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8636         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8637         macros.
8638         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8639         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8640         cleanup macros.
8641         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8642         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8643         macros.
8644         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8645         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8646         macros.
8647         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8648         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8649         cleanup macros.
8650         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8652 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8654         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8655         to _sifields.sigfault.
8656         (si_addr_lsb): Define new macro.
8657         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8658         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8659         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8661 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8663         [BZ #15441]
8664         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8665         returns -1.
8666         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8667         null return -1.
8668         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8669         loading the domain.
8671 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8673         * math/gen-libm-test.pl (parse_args): Do not include expected
8674         result in test name.
8675         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8676         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8677         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8678         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8679         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8682 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8684         * benchtests/Makefile: Sort function entries.
8686         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8687         tanh, asinh, acosh, atanh.
8688         * benchtests/acos-inputs: New file.
8689         * benchtests/acosh-inputs: New file.
8690         * benchtests/asin-inputs: New file.
8691         * benchtests/asinh-inputs: New file.
8692         * benchtests/atanh-inputs: New file.
8693         * benchtests/cosh-inputs: New file.
8694         * benchtests/log-inputs: New file.
8695         * benchtests/sinh-inputs: New file.
8696         * benchtests/tanh-inputs: New file.
8698 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8700         [BZ #15339]
8701         * posix/tst-getaddrinfo4.c: New test.
8702         * posix/Makefile (tests): Add it.
8704 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8706         [BZ #15339]
8707         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8708         when no services were used.
8709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8710         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8712 2013-05-21  Andreas Schwab  <schwab@suse.de>
8714         [BZ #15014]
8715         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8716         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8717         successful.
8718         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8719         redundant variable declarations and reallocation of buffer when
8720         parsing as IPv6 address.  Always set NSS status when called from
8721         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8722         buffer too small.  Correct computation of needed size.
8723         * nss/Makefile (tests): Add test-digits-dots.
8724         * nss/test-digits-dots.c: New test.
8726 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8728         * benchtests/Makefile: Remove instructions for adding
8729         benchmark tests.
8730         * benchtests/README: New file to explain how to execute and
8731         enhance the benchmark tests.
8733 2013-05-21  Andreas Schwab  <schwab@suse.de>
8735         [BZ #15493]
8736         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8737         * setjmp/tst-sigsetjmp.c: New test.
8739 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8741         * sysdeps/x86_64/memset.S (memset): New implementation.
8742         (__bzero): Likewise.
8743         (__memset_tail): New function.
8745 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8747         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8748         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8749         __memcpy_sse2_unaligned ifunc selection.
8750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8751         Add memcpy-sse2-unaligned.S.
8752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8753         Add: __memcpy_sse2_unaligned.
8755 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8757         [BZ #15490]
8758         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8759         math_force_eval before restoring floating-point envrionment.
8760         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8761         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8762         Likewise.
8763         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8764         <math_private.h>.
8765         (__nearbyintl): Use math_force_eval before restoring
8766         floating-point environment.
8767         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8769         * math/gen-libm-test.pl (special_functions): Remove.
8770         (parse_args): Don't handle TEST_extra.  Handle functions with no
8771         return value.
8772         * math/libm-test.inc (struct test_sincos_data): Replace with
8773         struct test_fFF_11_data.
8774         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8775         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8776         (sincos_test_data): Change element type to struct
8777         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8778         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8779         RUN_TEST_LOOP_sincos.
8780         * math/README.libm-test: Don't mention special handling of
8781         individual functions.
8782         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8783         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8784         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8785         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8786         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8789         * math/gen-libm-test.pl (get_variable): Remove function.
8790         (parse_args): Don't show pointer parameters to call in test
8791         names.  Use "extra output N" in test names for extra outputs
8792         rather than naming variables.
8794 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8796         [BZ #15488]
8797         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8798         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8799         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8800         double tests.
8801         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8802         disable.
8803         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8804         check_long_double.
8806         * math/gen-libm-test.pl (@tests): Remove variable.
8807         ($count): Likewise.
8808         (new_test): Remove function.
8809         (show_exceptions): New function.
8810         (special_functions): Use show_exceptions instead of new_test.
8811         (parse_args): Likewise.
8812         (generate_testfile): Pass only function name in generated call to
8813         print_max_error or print_complex_max_error.
8814         (get_ulps): Do not handle complex tests specially.
8815         (output_test): Rename to ...
8816         (get_all_ulps_for_test): ... this.  Return a string rather than
8817         printing to a file.  Require ulps to be present.
8818         (output_ulps): Generate arrays rather than #defines.
8819         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8820         (struct ulp_data): New type.
8821         (BUILD_COMPLEX_ULP): Remove macro.
8822         (compare_ulp_data): New function.
8823         (find_ulps): Likewise.
8824         (find_test_ulps): Likewise.
8825         (find_function_ulps): Likewise.
8826         (find_complex_function_ulps): Likewise.
8827         (print_max_error): Determine allowed ulps using
8828         find_function_ulps.
8829         (print_complex_max_error): Determine allowed ulps using
8830         find_complex_function_ulps.
8831         (check_float_internal): Determine max ulps using find_test_ulps.
8832         (check_float): Do not take max_ulp parameter.  Update call to
8833         check_float_internal.
8834         (check_complex): Likewise.
8835         (check_int): Do not take max_ulp parameter.
8836         (check_long): Likewise.
8837         (check_bool): Likewise.
8838         (check_longlong): Likewise.
8839         (struct test_f_f_data): Remove max_ulp field.
8840         (struct test_ff_f_data): Likewise.
8841         (struct test_ff_f_data_nexttoward): Likewise.
8842         (struct test_fi_f_data): Likewise.
8843         (struct test_fl_f_data): Likewise.
8844         (struct test_if_f_data): Likewise.
8845         (struct test_fff_f_data): Likewise.
8846         (struct test_c_f_data): Likewise.
8847         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8848         (struct test_fF_f1_data): Likewise.
8849         (struct test_ffI_f1_data): Likewise.
8850         (struct test_c_c_data): Remove max_ulp field.
8851         (struct test_cc_c_data): Likewise.
8852         (struct test_f_i_data): Likewise.
8853         (struct test_ff_i_data): Likewise.
8854         (struct test_f_l_data): Likewise.
8855         (struct test_f_L_data): Likewise.
8856         (struct test_sincos_data): Likewise.
8857         (RUN_TEST_f_f): Do not handle ulps.
8858         (RUN_TEST_LOOP_f_f): Likewise.
8859         (RUN_TEST_2_f): Likewise.
8860         (RUN_TEST_LOOP_2_f): Likewise.
8861         (RUN_TEST_fff_f): Likewise.
8862         (RUN_TEST_LOOP_fff_f): Likewise.
8863         (RUN_TEST_c_f): Likewise.
8864         (RUN_TEST_LOOP_c_f): Likewise.
8865         (RUN_TEST_f_f1): Likewise.
8866         (RUN_TEST_LOOP_f_f1): Likewise.
8867         (RUN_TEST_fF_f1): Likewise.
8868         (RUN_TEST_LOOP_fF_f1): Likewise.
8869         (RUN_TEST_fI_f1): Likewise.
8870         (RUN_TEST_LOOP_fI_f1): Likewise.
8871         (RUN_TEST_ffI_f1): Likewise.
8872         (RUN_TEST_LOOP_ffI_f1): Likewise.
8873         (RUN_TEST_c_c): Likewise.
8874         (RUN_TEST_LOOP_c_c): Likewise.
8875         (RUN_TEST_cc_c): Likewise.
8876         (RUN_TEST_LOOP_cc_c): Likewise.
8877         (RUN_TEST_f_i): Likewise.
8878         (RUN_TEST_LOOP_f_i): Likewise.
8879         (RUN_TEST_f_i_tg): Likewise.
8880         (RUN_TEST_LOOP_f_i_tg): Likewise.
8881         (RUN_TEST_ff_i_tg): Likewise.
8882         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8883         (RUN_TEST_f_b): Likewise.
8884         (RUN_TEST_LOOP_f_b): Likewise.
8885         (RUN_TEST_f_b_tg): Likewise.
8886         (RUN_TEST_LOOP_f_b_tg): Likewise.
8887         (RUN_TEST_f_l): Likewise.
8888         (RUN_TEST_LOOP_f_l): Likewise.
8889         (RUN_TEST_f_L): Likewise.
8890         (RUN_TEST_LOOP_f_L): Likewise.
8891         (RUN_TEST_sincos): Likewise.
8892         (RUN_TEST_LOOP_sincos): Likewise.
8894 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8896         [BZ #15480]
8897         [BZ #15485]
8898         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8899         main case of finite arguments, set rounding mode to FE_TONEAREST
8900         and discard exceptions.
8901         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8902         exceptions.
8903         (remainder_tonearest_test_data): New variable.
8904         (remainder_test_tonearest): New function.
8905         (remainder_towardzero_test_data): New variable.
8906         (remainder_test_towardzero): New function.
8907         (remainder_downward_test_data): New variable.
8908         (remainder_test_downward): New function.
8909         (remainder_upward_test_data): New variable.
8910         (remainder_test_upward): New function.
8911         (main): Call the new test functions.
8913         * math/libm-test.inc (struct test_f_f1_data): Remove field
8914         extra_init.
8915         (struct test_fF_f1_data): Likewise.
8916         (struct test_ffI_f1_data): Likewise.
8917         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8918         based on value of EXTRA_EXPECTED.
8919         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8920         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8921         EXTRA_VAR based on value of EXTRA_EXPECTED.
8922         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8923         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8924         EXTRA_VAR based on value of EXTRA_EXPECTED.
8925         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8926         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8927         EXTRA_VAR based on value of EXTRA_EXPECTED.
8928         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8929         * math/gen-libm-test.pl (parse_args): Don't output initializers
8930         for extra output values.
8932         * math/libm-test.inc (check_int): Expect result to be exactly
8933         equal to expected value and do not handle ulps.
8934         (check_long): Likewise.
8935         (check_longlong): Likewise.
8937         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8938         exceptions.
8939         (cimag_test_data): Likewise.
8940         (conj_test_data): Likewise.
8941         (copysign_test_data): Likewise.
8942         (cproj_test_data): Likewise.
8943         (creal_test_data): Likewise.
8944         (fabs_test_data): Likewise.
8945         (fdim_test_data): Likewise.
8946         (finite_test_data): Likewise.
8947         (floor_test_data): Likewise.
8948         (fmax_test_data): Likewise.
8949         (fmin_test_data): Likewise.
8950         (fmod_test_data): Likewise.
8951         (fpclassify_test_data): Likewise.
8952         (frexp_test_data): Likewise.
8953         (ilogb_test_data): Likewise.
8954         (isfinite_test_data): Likewise.
8955         (isgreater_test_data): Likewise.
8956         (isgreaterequal_test_data): Likewise.
8957         (isinf_test_data): Likewise.
8958         (isless_test_data): Likewise.
8959         (islessequal_test_data): Likewise.
8960         (islessgreater_test_data): Likewise.
8961         (isnan_test_data): Likewise.
8962         (isnormal_test_data): Likewise.
8963         (issignaling_test_data): Likewise.
8964         (isunordered_test_data): Likewise.
8965         (ldexp_test_data): Likewise.
8966         (lrint_test_data): Likewise.
8967         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8968         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8969         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8970         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8971         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8972         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8973         test input.
8974         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8975         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8976         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8977         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8978         that test input.
8979         (lrint_downward_test_data): Test for "inexact" exceptions.
8980         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8981         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8982         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8983         test input.
8984         (lrint_upward_test_data): Test for "inexact" exceptions.
8985         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8986         test input.
8987         (llrint_test_data): Test for "inexact" exceptions.
8988         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8989         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8990         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8991         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8992         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8993         (llrint_downward_test_data): Test for "inexact" exceptions.
8994         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8995         (llrint_upward_test_data): Test for "inexact" exceptions.
8996         (logb_test_data): Likewise.
8997         (logb_downward_test_data): Likewise.
8998         (nextafter_test_data): Likewise.
8999         (nexttoward_test_data): Likewise.
9000         (remainder_test_data): Likewise.
9001         (remquo_test_data): Likewise.
9002         (scalbn_test_data): Likewise.
9003         (scalbln_test_data): Likewise.
9004         (signbit_test_data): Likewise.
9005         (sqrt_test_data): Likewise.
9006         (significand_test_data): Likewise.
9008 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9010         [BZ #15424]
9011         * benchtests/bench-modf.c (struct args): Mark arg0 as
9012         volatile.
9013         * scripts/bench.pl: Mark members of struct args as volatile.
9015 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9017         [BZ # 15497]
9018         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9019         negative infinity on POWER6 or lower.
9020         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9022 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9024         [BZ #15442]
9025         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9026         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9027         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9028         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9029         (_FP_SETQNAN): New macro.
9030         (_FP_SETQNAN_SEMIRAW): Likewise.
9031         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9032         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9033         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9034         (FP_EXTEND): Use _FP_FRAC_SNANP.
9035         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9036         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9037         into account.
9038         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9039         New macro.
9040         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9041         Likewise.
9043 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9045         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9046         with DIVIDE_BY_ZERO_EXCEPTION.
9047         (gamma_test_data): Likewise.
9048         (lgamma_test_data): Likewise.
9049         (log_test_data): Likewise.
9050         (log10_test_data): Likewise.
9051         (log2_test_data): Likewise.
9052         (tgamma_test_data): Likewise.
9054         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9055         (acos_test_tonearest): Likewise.
9056         (acos_test_towardzero): Likewise.
9057         (acos_test_downward): Likewise.
9058         (acos_test_upward): Likewise.
9059         (acosh_test): Likewise.
9060         (asin_test): Likewise.
9061         (asin_test_tonearest): Likewise.
9062         (asin_test_towardzero): Likewise.
9063         (asin_test_downward): Likewise.
9064         (asin_test_upward): Likewise.
9065         (asinh_test): Likewise.
9066         (atan_test): Likewise.
9067         (atanh_test): Likewise.
9068         (atan2_test): Likewise.
9069         (cabs_test): Likewise.
9070         (cacos_test): Likewise.
9071         (cacosh_test): Likewise.
9072         (casin_test): Likewise.
9073         (casinh_test): Likewise.
9074         (catan_test): Likewise.
9075         (catanh_test): Likewise.
9076         (cbrt_test): Likewise.
9077         (ccos_test): Likewise.
9078         (ccosh_test): Likewise.
9079         (cexp_test): Likewise.
9080         (clog_test): Likewise.
9081         (clog10_test): Likewise.
9082         (cos_test): Likewise.
9083         (cos_test_tonearest): Likewise.
9084         (cos_test_towardzero): Likewise.
9085         (cos_test_downward): Likewise.
9086         (cos_test_upward): Likewise.
9087         (cosh_test): Likewise.
9088         (cosh_test_tonearest): Likewise.
9089         (cosh_test_towardzero): Likewise.
9090         (cosh_test_downward): Likewise.
9091         (cosh_test_upward): Likewise.
9092         (cpow_test): Likewise.
9093         (csin_test): Likewise.
9094         (csinh_test): Likewise.
9095         (csqrt_test): Likewise.
9096         (ctan_test): Likewise.
9097         (ctan_test_tonearest): Likewise.
9098         (ctan_test_towardzero): Likewise.
9099         (ctan_test_downward): Likewise.
9100         (ctan_test_upward): Likewise.
9101         (ctanh_test): Likewise.
9102         (ctanh_test_tonearest): Likewise.
9103         (ctanh_test_towardzero): Likewise.
9104         (ctanh_test_downward): Likewise.
9105         (ctanh_test_upward): Likewise.
9106         (erf_test): Likewise.
9107         (erfc_test): Likewise.
9108         (exp_test): Likewise.
9109         (exp_test_tonearest): Likewise.
9110         (exp_test_towardzero): Likewise.
9111         (exp_test_downward): Likewise.
9112         (exp_test_upward): Likewise.
9113         (exp10_test): Likewise.
9114         (exp2_test): Likewise.
9115         (expm1_test): Likewise.
9116         (fmod_test): Likewise.
9117         (gamma_test): Likewise.
9118         (hypot_test): Likewise.
9119         (j0_test): Likewise.
9120         (j1_test): Likewise.
9121         (jn_test): Likewise.
9122         (lgamma_test): Likewise.
9123         (log_test): Likewise.
9124         (log10_test): Likewise.
9125         (log1p_test): Likewise.
9126         (log2_test): Likewise.
9127         (logb_test_downward): Likewise.
9128         (pow_test): Likewise.
9129         (pow_test_tonearest): Likewise.
9130         (pow_test_towardzero): Likewise.
9131         (pow_test_downward): Likewise.
9132         (pow_test_upward): Likewise.
9133         (remainder_test): Likewise.
9134         (remquo_test): Likewise.
9135         (sin_test): Likewise.
9136         (sin_test_tonearest): Likewise.
9137         (sin_test_towardzero): Likewise.
9138         (sin_test_downward): Likewise.
9139         (sin_test_upward): Likewise.
9140         (sincos_test): Likewise.
9141         (sinh_test): Likewise.
9142         (sinh_test_tonearest): Likewise.
9143         (sinh_test_towardzero): Likewise.
9144         (sinh_test_downward): Likewise.
9145         (sinh_test_upward): Likewise.
9146         (sqrt_test): Likewise.
9147         (tan_test): Likewise.
9148         (tan_test_tonearest): Likewise.
9149         (tan_test_towardzero): Likewise.
9150         (tan_test_downward): Likewise.
9151         (tan_test_upward): Likewise.
9152         (tanh_test): Likewise.
9153         (tgamma_test): Likewise.
9154         (y0_test): Likewise.
9155         (y1_test): Likewise.
9156         (yn_test): Likewise.
9158         * math/gen-libm-test.pl (adjust_arg): Remove function.
9159         (special_function): Remove argument $in_func.  Only handle
9160         generating output for tables of tests, not inside functions.
9161         (parse_args): Likewise.
9162         (generate_testfile): Remove variable $in_func.  Update call to
9163         parse_args.
9164         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9165         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9166         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9167         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9168         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9169         (MAX_VALUE_INIT): Rename macro to max_value.
9170         (MIN_VALUE_INIT): Rename macro to min_value.
9171         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9172         (plus_zero): Remove variable.
9173         (minus_zero): Likewise.
9174         (plus_infty): Likewise.
9175         (minus_infty): Likewise.
9176         (qnan_value): Likewise.
9177         (max_value): Likewise.
9178         (min_value): Likewise.
9179         (min_subnorm_value): Likewise.
9181 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9183         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9184         uint64_t or uint32_t usage.
9185         * crypt/sha256-block.c: Likewise.
9186         * crypt/sha256-crypt.c: Likewise.
9187         * crypt/sha256.c: Likewise.
9188         * crypt/sha512-block.c: Likewise.
9189         * crypt/sha512-crypt.c: Likewise.
9190         * crypt/sha512.c: Likewise.
9191         * debug/backtrace-tst.c: Likewise.
9192         * debug/pcprofiledump.c: Likewise.
9193         * elf/cache.c: Likewise.
9194         * elf/dl-cache.c: Likewise.
9195         * elf/dl-misc.c: Likewise.
9196         * elf/dl-profile.c: Likewise.
9197         * elf/dl-support.c: Likewise.
9198         * elf/ldconfig.c: Likewise.
9199         * elf/sprof.c: Likewise.
9200         * iconv/dummy-repertoire.c: Likewise.
9201         * iconv/iconv_charmap.c: Likewise.
9202         * iconv/skeleton.c: Likewise.
9203         * iconvdata/8bit-generic.c: Likewise.
9204         * iconvdata/cp737.h: Likewise.
9205         * iconvdata/cp775.h: Likewise.
9206         * iconvdata/ibm1008.h: Likewise.
9207         * iconvdata/ibm1025.h: Likewise.
9208         * iconvdata/ibm1046.h: Likewise.
9209         * iconvdata/ibm1097.h: Likewise.
9210         * iconvdata/ibm1112.h: Likewise.
9211         * iconvdata/ibm1122.h: Likewise.
9212         * iconvdata/ibm1123.h: Likewise.
9213         * iconvdata/ibm1124.h: Likewise.
9214         * iconvdata/ibm1129.h: Likewise.
9215         * iconvdata/ibm1130.h: Likewise.
9216         * iconvdata/ibm1132.h: Likewise.
9217         * iconvdata/ibm1133.h: Likewise.
9218         * iconvdata/ibm1137.h: Likewise.
9219         * iconvdata/ibm1140.h: Likewise.
9220         * iconvdata/ibm1141.h: Likewise.
9221         * iconvdata/ibm1142.h: Likewise.
9222         * iconvdata/ibm1143.h: Likewise.
9223         * iconvdata/ibm1144.h: Likewise.
9224         * iconvdata/ibm1145.h: Likewise.
9225         * iconvdata/ibm1146.h: Likewise.
9226         * iconvdata/ibm1147.h: Likewise.
9227         * iconvdata/ibm1148.h: Likewise.
9228         * iconvdata/ibm1149.h: Likewise.
9229         * iconvdata/ibm1153.h: Likewise.
9230         * iconvdata/ibm1154.h: Likewise.
9231         * iconvdata/ibm1155.h: Likewise.
9232         * iconvdata/ibm1156.h: Likewise.
9233         * iconvdata/ibm1157.h: Likewise.
9234         * iconvdata/ibm1158.h: Likewise.
9235         * iconvdata/ibm1160.h: Likewise.
9236         * iconvdata/ibm1161.h: Likewise.
9237         * iconvdata/ibm1162.h: Likewise.
9238         * iconvdata/ibm1163.h: Likewise.
9239         * iconvdata/ibm1164.h: Likewise.
9240         * iconvdata/ibm1166.h: Likewise.
9241         * iconvdata/ibm1167.h: Likewise.
9242         * iconvdata/ibm12712.h: Likewise.
9243         * iconvdata/ibm1390.h: Likewise.
9244         * iconvdata/ibm1399.h: Likewise.
9245         * iconvdata/ibm16804.h: Likewise.
9246         * iconvdata/ibm4517.h: Likewise.
9247         * iconvdata/ibm4899.h: Likewise.
9248         * iconvdata/ibm4909.h: Likewise.
9249         * iconvdata/ibm4971.h: Likewise.
9250         * iconvdata/ibm5347.h: Likewise.
9251         * iconvdata/ibm803.h: Likewise.
9252         * iconvdata/ibm856.h: Likewise.
9253         * iconvdata/ibm901.h: Likewise.
9254         * iconvdata/ibm902.h: Likewise.
9255         * iconvdata/ibm9030.h: Likewise.
9256         * iconvdata/ibm9066.h: Likewise.
9257         * iconvdata/ibm921.h: Likewise.
9258         * iconvdata/ibm922.h: Likewise.
9259         * iconvdata/ibm9448.h: Likewise.
9260         * iconvdata/isiri-3342.h: Likewise.
9261         * iconvdata/jis0201.h: Likewise.
9262         * include/link.h: Likewise.
9263         * include/netdb.h: Likewise.
9264         * inet/check_native.c: Likewise.
9265         * inet/check_pf.c: Likewise.
9266         * inet/getipv4sourcefilter.c: Likewise.
9267         * inet/getnameinfo.c: Likewise.
9268         * inet/getsourcefilter.c: Likewise.
9269         * inet/htonl.c: Likewise.
9270         * inet/setipv4sourcefilter.c: Likewise.
9271         * inet/setsourcefilter.c: Likewise.
9272         * inet/test-inet6_opt.c: Likewise.
9273         * inet/tst-network.c: Likewise.
9274         * locale/C-collate.c: Likewise.
9275         * locale/C-ctype.c: Likewise.
9276         * locale/C-time.c: Likewise.
9277         * locale/C-translit.h: Likewise.
9278         * locale/loadarchive.c: Likewise.
9279         * locale/programs/3level.h: Likewise.
9280         * locale/programs/charmap.c: Likewise.
9281         * locale/programs/charmap.h: Likewise.
9282         * locale/programs/ld-address.c: Likewise.
9283         * locale/programs/ld-collate.c: Likewise.
9284         * locale/programs/ld-ctype.c: Likewise.
9285         * locale/programs/ld-identification.c: Likewise.
9286         * locale/programs/ld-measurement.c: Likewise.
9287         * locale/programs/ld-messages.c: Likewise.
9288         * locale/programs/ld-monetary.c: Likewise.
9289         * locale/programs/ld-name.c: Likewise.
9290         * locale/programs/ld-numeric.c: Likewise.
9291         * locale/programs/ld-paper.c: Likewise.
9292         * locale/programs/ld-telephone.c: Likewise.
9293         * locale/programs/ld-time.c: Likewise.
9294         * locale/programs/linereader.c: Likewise.
9295         * locale/programs/locale.c: Likewise.
9296         * locale/programs/locarchive.c: Likewise.
9297         * locale/programs/locfile.h: Likewise.
9298         * locale/programs/repertoire.c: Likewise.
9299         * locale/programs/simple-hash.c: Likewise.
9300         * locale/programs/simple-hash.h: Likewise.
9301         * malloc/memusage.c: Likewise.
9302         * malloc/memusagestat.c: Likewise.
9303         * nis/nis_defaults.c: Likewise.
9304         * nis/nis_hash.c: Likewise.
9305         * nis/nis_print.c: Likewise.
9306         * nis/nis_xdr.c: Likewise.
9307         * nscd/connections.c: Likewise.
9308         * nscd/hstcache.c: Likewise.
9309         * nscd/nscd_gethst_r.c: Likewise.
9310         * nscd/nscd_getserv_r.c: Likewise.
9311         * nscd/nscd_helper.c: Likewise.
9312         * nscd/servicescache.c: Likewise.
9313         * nss/makedb.c: Likewise.
9314         * nss/nss_db/db-XXX.c: Likewise.
9315         * nss/nss_db/db-initgroups.c: Likewise.
9316         * nss/nss_db/db-netgrp.c: Likewise.
9317         * nss/nss_files/files-network.c: Likewise.
9318         * nss/nss_files/files-parse.c: Likewise.
9319         * posix/bug-regex5.c: Likewise.
9320         * posix/fnmatch_loop.c: Likewise.
9321         * posix/regcomp.c: Likewise.
9322         * posix/regexec.c: Likewise.
9323         * posix/tst-rfc3484-2.c: Likewise.
9324         * posix/tst-rfc3484-3.c: Likewise.
9325         * posix/tst-rfc3484.c: Likewise.
9326         * resolv/nss_dns/dns-canon.c: Likewise.
9327         * resolv/nss_dns/dns-network.c: Likewise.
9328         * resolv/res_init.c: Likewise.
9329         * resolv/res_mkquery.c: Likewise.
9330         * resolv/tst-aton.c: Likewise.
9331         * stdlib/cxa_atexit.c: Likewise.
9332         * stdlib/cxa_finalize.c: Likewise.
9333         * stdlib/gen-fpioconst.c: Likewise.
9334         * stdlib/strtol_l.c: Likewise.
9335         * string/tst-endian.c: Likewise.
9336         * sunrpc/auth_des.c: Likewise.
9337         * sunrpc/clnt_udp.c: Likewise.
9338         * sunrpc/rtime.c: Likewise.
9339         * sunrpc/svcauth_des.c: Likewise.
9340         * sunrpc/xdr.c: Likewise.
9341         * sunrpc/xdr_intXX_t.c: Likewise.
9342         * sunrpc/xdr_rec.c: Likewise.
9343         * sysdeps/generic/ldconfig.h: Likewise.
9344         * sysdeps/generic/ldsodefs.h: Likewise.
9345         * sysdeps/generic/memusage.h: Likewise.
9346         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9347         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9348         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9349         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9350         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9351         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9352         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9353         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9354         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9355         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9356         * sysdeps/posix/getaddrinfo.c: Likewise.
9357         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9358         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9359         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9360         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9361         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9362         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9363         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9364         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9365         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9366         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9367         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9368         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9369         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9370         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9371         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9372         * sysdeps/x86_64/dl-tls.h: Likewise.
9373         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9374         * time/alt_digit.c: Likewise.
9375         * time/era.c: Likewise.
9376         * wcsmbs/tst-c16c32-1.c: Likewise.
9378 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9380         * math/libm-test.inc (struct test_sincos_data): New type.
9381         (RUN_TEST_LOOP_sincos): New macro.
9382         (sincos_test_data): New variable.
9383         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9385 2013-05-16  Richard Henderson  <rth@redhat.com>
9387         * math/atest-exp2.c (LIMB64): New macro.
9388         (CONSTSZ): New macro.
9389         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9390         (hexdig): Move ...
9391         (print_mpn_fp): ... to function scope.
9392         (read_mpn_hex): Remove.
9393         (get_log2): Remove.
9394         (exp2_mpn): Use mp_log2.
9395         (main): Use mp_exp1.
9397 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9399         * math/libm-test.inc: Remove comment about not testing "inexact"
9400         exceptions.
9401         (INEXACT_EXCEPTION): New macro.
9402         (NO_INEXACT_EXCEPTION): Likewise.
9403         (INVALID_EXCEPTION_OK): Update value.
9404         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9405         (OVERFLOW_EXCEPTION_OK): Likewise.
9406         (UNDERFLOW_EXCEPTION_OK): Likewise.
9407         (IGNORE_ZERO_INF_SIGN): Likewise.
9408         (ERRNO_UNCHANGED): Likewise.
9409         (ERRNO_EDOM): Likewise.
9410         (ERRNO_ERANGE): Likewise.
9411         (test_exceptions): Handle testing "inexact" exceptions.
9412         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9413         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9414         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9415         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9416         INEXACT_EXCEPTION.
9417         (rint_towardzero_test_data): Likewise.
9418         (rint_downward_test_data): Likewise.
9419         (rint_upward_test_data): Likewise.
9421         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9422         with OVERFLOW_EXCEPTION.
9423         (exp10_test_data): Likewise.
9424         (exp2_test_data): Likewise.
9425         (expm1_test_data): Likewise.
9426         (lgamma_test_data): Likewise.
9427         (pow_test_data): Likewise.
9428         (tgamma_test_data): Likewise.
9429         (yn_test_data): Remove duplicate test of overflow.
9431         * math/libm-test.inc (struct test_cc_c_data): New type.
9432         (RUN_TEST_LOOP_cc_c): New macro.
9433         (cpow_test_data): New variable.
9434         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9436         * math/libm-test.inc (struct test_f_L_data): New type.
9437         (RUN_TEST_LOOP_f_L): New macro.
9438         (llrint_test_data): New variable.
9439         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9440         (llrint_tonearest_test_data): New variable.
9441         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9442         (llrint_towardzero_test_data): New variable.
9443         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9444         (llrint_downward_test_data): New variable.
9445         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9446         (llrint_upward_test_data): New variable.
9447         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9448         (llround_test_data): New variable.
9449         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9451 2013-05-13  Peter Collingbourne  <pcc@google.com>
9453         * math/atest-exp2.c (get_log2): Remove const attribute.
9455 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9457         * math/libm-test.inc (struct test_f_l_data): New type.
9458         (RUN_TEST_LOOP_f_l): New macro.
9459         (lrint_test_data): New variable.
9460         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9461         (lrint_tonearest_test_data): New variable.
9462         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9463         (lrint_towardzero_test_data): New variable.
9464         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9465         (lrint_downward_test_data): New variable.
9466         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9467         (lrint_upward_test_data): New variable.
9468         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9469         (lround_test_data): New variable.
9470         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9472 2013-05-15  Peter Collingbourne  <pcc@google.com>
9474         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9475         (EXTRACT_WORDS64) Use where appropriate.
9476         (INSERT_WORDS64) Likewise.
9478         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9479         constraints with x constraints.
9480         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9482         * malloc/obstack.c (_obstack_compat): Add initializer.
9484 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9486         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9487         si_trapno and add si_addr_lsb to _sifields.sigfault.
9488         (si_trapno): Remove macro.
9489         (si_addr_lsb): Define new macro.
9490         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9492 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9494         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9495         instead of TEST_f_l.
9496         (llrint_test_tonearest): Likewise.
9497         (llrint_test_towardzero): Likewise.
9498         (llrint_test_downward): Likewise.
9499         (llrint_test_upward): Likewise.
9500         (llround_test): Likewise.
9502         * math/libm-test.inc (struct test_f_i_data): Add comment.
9503         (RUN_TEST_LOOP_f_b): New macro.
9504         (RUN_TEST_LOOP_f_b_tg): Likewise.
9505         (finite_test_data): New variable.
9506         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9507         (isfinite_test_data): New variable.
9508         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9509         (isinf_test_data): New variable.
9510         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9511         (isnan_test_data): New variable.
9512         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9513         (isnormal_test_data): New variable.
9514         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9515         (issignaling_test_data): New variable.
9516         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9517         (signbit_test_data): New variable.
9518         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9520         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9521         with INVALID_EXCEPTION.
9522         (acosh_test_data): Likewise.
9523         (asin_test_data): Likewise.
9524         (atanh_test_data): Likewise.
9525         (fmod_test_data): Likewise.
9526         (log_test_data): Likewise.
9527         (log10_test_data): Likewise.
9528         (log2_test_data): Likewise.
9529         (pow_test_data): Likewise.
9530         (sqrt_test_data): Likewise.
9531         (y0_test_data): Likewise.
9532         (y1_test_data): Likewise.
9533         (yn_test_data): Likewise.
9535         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9536         function contents.
9538         * math/libm-test.inc (struct test_ff_i_data): New type.
9539         (RUN_TEST_LOOP_ff_i_tg): New macro.
9540         (isgreater_test_data): New variable.
9541         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9542         (isgreaterequal_test_data): New variable.
9543         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9544         (isless_test_data): New variable.
9545         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9546         (islessequal_test_data): New variable.
9547         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9548         (islessgreater_test_data): New variable.
9549         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9550         (isunordered_test_data): New variable.
9551         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9553 2013-05-14  David S. Miller  <davem@davemloft.net>
9555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9557 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9559         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9561         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9562         extra_test to int.
9563         (struct test_f_i_data): Change type of max_ulp to int.
9565         * math/libm-test.inc (test_ffI_f1_data): New type.
9566         (RUN_TEST_LOOP_ffI_f1): New macro.
9567         (remquo_test_data): New variable.
9568         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9570         * setjmp/tst-setjmp-fp.c: New file.
9571         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9572         (link-libm): New variable.
9573         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9575         * math/libm-test.inc (struct test_f_i_data): New type.
9576         (RUN_TEST_LOOP_f_i): New macro.
9577         (RUN_TEST_LOOP_f_i_tg): Likewise.
9578         (fpclassify_test_data): New variable.
9579         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9580         (ilogb_test_data): New variable.
9581         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9583         * math/libm-test.inc (scalbln_test): Correct function name in END
9584         call.
9586         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9587         (RUN_TEST_LOOP_fI_f1): New macro.
9588         (frexp_test_data): New variable.
9589         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9591         * math/libm-test.inc (struct test_fF_f1_data): New type.
9592         (RUN_TEST_LOOP_fF_f1): New macro.
9593         (modf_test_data): New variable.
9594         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9596         * math/libm-test.inc (struct test_f_f1_data): New type.
9597         (RUN_TEST_LOOP_f_f1): New macro.
9598         (gamma_test_data): New variable.
9599         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9600         (lgamma_test_data): New variable.
9601         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9603 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9605         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9606         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9607         (main): Comment "tls" pseudo-hwcap.
9609 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9611         * math/libm-test.inc (struct test_fl_f_data): New type.
9612         (RUN_TEST_LOOP_fl_f): New variable.
9613         (scalbln_test_data): New variable.
9614         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9616         * math/libm-test.inc (struct test_fi_f_data): New type.
9617         (RUN_TEST_LOOP_fi_f): New macro.
9618         (ldexp_test_data): New variable.
9619         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9620         (scalbn_test_data): New variable.
9621         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9623         * math/libm-test.inc (struct test_c_f_data): New type.
9624         (RUN_TEST_LOOP_c_f): New macro.
9625         (cabs_test_data): New variable.
9626         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9627         (carg_test_data): New variable.
9628         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9629         (cimag_test_data): New variable.
9630         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9631         (creal_test_data): New variable.
9632         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9634         * math/libm-test.inc (struct test_if_f_data): New type.
9635         (RUN_TEST_LOOP_if_f): New macro.
9636         (jn_test_data): New variable.
9637         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9638         (yn_test_data): New variable.
9639         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9641         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9643 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9645         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9646         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9648 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9650         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9651         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9652         (bench-deps): Add bench-timing.h.
9653         * benchtests-bench-skeleton.c: Include bench-timing.h.
9654         (main): Use TIMING_* macros instead of clock_gettime.
9655         * benchtests/bench-timing.h: New file.
9657         [BZ #14582]
9658         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9659         Renamed from _LIB_VERSION.
9660         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9662 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9664         * math/libm-test.inc (struct test_fff_f_data): New type.
9665         (RUN_TEST_LOOP_fff_f): New macro.
9666         (fma_test_data): New variable.
9667         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9668         (fma_towardzero_test_data): New variable.
9669         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9670         (fma_downward_test_data): New variable.
9671         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9672         (fma_upward_test_data): New variable.
9673         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9675         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9676         (struct test_c_c_data): New type.
9677         (RUN_TEST_LOOP_c_c): New macro.
9678         (cacos_test_data): New variable.
9679         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9680         (cacosh_test_data): New variable.
9681         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9682         (casin_test_data): New variable.
9683         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9684         (casinh_test_data): New variable.
9685         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9686         (catan_test_data): New variable.
9687         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9688         (catanh_test_data): New variable.
9689         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9690         (ccos_test_data): New variable.
9691         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9692         (ccosh_test_data): New variable.
9693         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9694         (cexp_test_data): New variable.
9695         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9696         (clog_test_data): New variable.
9697         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9698         (clog10_test_data): New variable.
9699         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9700         (conj_test_data): New variable.
9701         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9702         (cproj_test_data): New variable.
9703         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9704         (csin_test_data): New variable.
9705         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9706         (csinh_test_data): New variable.
9707         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9708         (csqrt_test_data): New variable.
9709         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9710         (ctan_test_data): New variable.
9711         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9712         (ctan_tonearest_test_data): New variable.
9713         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9714         (ctan_towardzero_test_data): New variable.
9715         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9716         (ctan_downward_test_data): New variable.
9717         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9718         (ctan_upward_test_data): New variable.
9719         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9720         (ctanh_test_data): New variable.
9721         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9722         (ctanh_tonearest_test_data): New variable.
9723         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9724         (ctanh_towardzero_test_data): New variable.
9725         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9726         (ctanh_downward_test_data): New variable.
9727         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9728         (ctanh_upward_test_data): New variable.
9729         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9730         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9731         of BUILD_COMPLEX.
9733         * math/libm-test.inc (struct test_ff_f_data): New type.
9734         (struct test_ff_f_data_nexttoward): Likewise.
9735         (RUN_TEST_LOOP_2_f): New macro.
9736         (RUN_TEST_LOOP_ff_f): Likewise.
9737         (atan2_test_data): New variable.
9738         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9739         (copysign_test_data): New variable.
9740         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9741         (fdim_test_data): New variable.
9742         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9743         (fmax_test_data): New variable.
9744         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9745         (fmin_test_data): New variable.
9746         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9747         (fmod_test_data): New variable.
9748         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9749         (hypot_test_data): New variable.
9750         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9751         (nextafter_test_data): New variable.
9752         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9753         (nexttoward_test_data): New variable.
9754         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9755         (pow_test_data): New variable.
9756         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9757         (pow_tonearest_test_data): New variable.
9758         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9759         (pow_towardzero_test_data): New variable.
9760         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9761         (pow_downward_test_data): New variable.
9762         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9763         (pow_upward_test_data): New variable.
9764         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9765         (remainder_test_data): New variable.
9766         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9767         (scalb_test_data): New variable.
9768         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9769         * sysdeps/i386/fpu/libm-test-ulps: Update.
9771 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9773         * math/libm-test.inc (fma_test): Use max_value instead of local
9774         variable fltmax.
9775         (nextafter_test): Likewise.
9777         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9778         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9779         (acos_downward_test_data): New variable.
9780         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9781         (acos_upward_test_data): New variable.
9782         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9783         (acosh_test_data): New variable.
9784         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9785         (asin_test_data): New variable.
9786         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9787         (asin_tonearest_test_data): New variable.
9788         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9789         (asin_towardzero_test_data): New variable.
9790         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9791         (asin_downward_test_data): New variable.
9792         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9793         (asin_upward_test_data): New variable.
9794         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9795         (asinh_test_data): New variable.
9796         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9797         (atan_test_data): New variable.
9798         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9799         (atanh_test_data): New variable.
9800         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9801         (cbrt_test_data): New variable.
9802         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9803         (ceil_test_data): New variable.
9804         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9805         (cos_test_data): New variable.
9806         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9807         (cos_tonearest_test_data): New variable.
9808         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9809         (cos_towardzero_test_data): New variable.
9810         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9811         (cos_downward_test_data): New variable.
9812         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9813         (cos_upward_test_data): New variable.
9814         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9815         (cosh_test_data): New variable.
9816         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9817         (cosh_tonearest_test_data): New variable.
9818         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9819         (cosh_towardzero_test_data): New variable.
9820         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9821         (cosh_downward_test_data): New variable.
9822         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9823         (cosh_upward_test_data): New variable.
9824         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9825         (erf_test_data): New variable.
9826         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9827         (erfc_test_data): New variable.
9828         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9829         (exp_test_data): New variable.
9830         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9831         (exp_tonearest_test_data): New variable.
9832         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9833         (exp_towardzero_test_data): New variable.
9834         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9835         (exp_downward_test_data): New variable.
9836         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9837         (exp_upward_test_data): New variable.
9838         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9839         (exp10_test_data): New variable.
9840         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9841         (exp2_test_data): New variable.
9842         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9843         (expm1_test_data): New variable.
9844         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9845         (fabs_test_data): New variable.
9846         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9847         (floor_test_data): New variable.
9848         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9849         (j0_test_data): New variable.
9850         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9851         (j1_test_data): New variable.
9852         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9853         (log_test_data): New variable.
9854         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9855         (log10_test_data): New variable.
9856         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9857         (log1p_test_data): New variable.
9858         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9859         (log2_test_data): New variable.
9860         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9861         (logb_test_data): New variable.
9862         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9863         (logb_downward_test_data): New variable.
9864         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9865         (nearbyint_test_data): New variable.
9866         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9867         (rint_test_data): New variable.
9868         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9869         (rint_tonearest_test_data): New variable.
9870         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9871         (rint_towardzero_test_data): New variable.
9872         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9873         (rint_downward_test_data): New variable.
9874         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9875         (rint_upward_test_data): New variable.
9876         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9877         (round_test_data): New variable.
9878         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9879         (sin_test_data): New variable.
9880         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9881         (sin_tonearest_test_data): New variable.
9882         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9883         (sin_towardzero_test_data): New variable.
9884         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9885         (sin_downward_test_data): New variable.
9886         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9887         (sin_upward_test_data): New variable.
9888         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9889         (sinh_test_data): New variable.
9890         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9891         (sinh_tonearest_test_data): New variable.
9892         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9893         (sinh_towardzero_test_data): New variable.
9894         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9895         (sinh_downward_test_data): New variable.
9896         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9897         (sinh_upward_test_data): New variable.
9898         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9899         (sqrt_test_data): New variable.
9900         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9901         (tan_test_data): New variable.
9902         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9903         (tan_tonearest_test_data): New variable.
9904         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9905         (tan_towardzero_test_data): New variable.
9906         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9907         (tan_downward_test_data): New variable.
9908         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9909         (tan_upward_test_data): New variable.
9910         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9911         (tanh_test_data): New variable.
9912         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9913         (tgamma_test_data): New variable.
9914         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9915         (trunc_test_data): New variable.
9916         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9917         (y0_test_data): New variable.
9918         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9919         (y1_test_data): New variable.
9920         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9921         (significand_test_data): New variable.
9922         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9924 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9926         [BZ #12387]
9927         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9929 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9931         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9933 2013-05-10  Andreas Jaeger  <aj@suse.de>
9935         [BZ #15448]
9936         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9937         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9939 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9941         * math/gen-libm-test.pl (adjust_arg): New function.
9942         (special_functions): Handle generating output in both functions
9943         and arrays.
9944         (parse_args): Likewise.
9945         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9946         $in_func argument to parse_args.
9947         * math/libm-test.inc (struct test_f_f_data): New type.
9948         (IF_ROUND_INIT_): New macro.
9949         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9950         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9951         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9952         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9953         (ROUND_RESTORE_): Likewise.
9954         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9955         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9956         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9957         (ROUND_RESTORE_FE_UPWARD): Likewise.
9958         (RUN_TEST_LOOP_f_f): New macro.
9959         (acos_test_data): New variable.
9960         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9961         (acos_tonearest_test_data): New variable.
9962         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9964 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9966         * benchtests/bench-skeleton.c (startup): Fix coding style.
9968 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9970         [BZ #6809]
9971         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9972         negative infinity argument.
9973         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9974         negative infinity argument.
9975         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9976         negative infinity argument.
9977         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9978         domain errors.
9980 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9982         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9983         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9984         * iconv/iconv_prog.c (main): Likewise.
9985         * locale/programs/charmap-dir.c (charmap_readdir)
9986         (fopen_uncompressed): Likewise.
9987         * locale/programs/locfile.c (siblings_uncached)
9988         (write_locale_data): Use lstat64 instead of lstat.
9989         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9990         stat.
9992 2013-05-10  Andreas Jaeger  <aj@suse.de>
9994         [BZ #15395]
9995         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9996         localization.
9997         Include <locale.h>.
9999 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10001         * elf/dl-close.c (_dl_close_worker): Add comments.
10003 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10005         [BZ #15359]
10006         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10007         high part of pi/2.
10008         (__ieee754_rem_pio2l): Update comments.
10010         [BZ #15429]
10011         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10012         high part of pi/2.
10013         (__ieee754_rem_pio2l): Update comments.
10015         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10016         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10018         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10019         M_PI_4l.
10021         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10022         (M_PI_34_LOG10El): Likewise.
10023         (M_PI2_LOG10El): Likewise.
10024         (M_PI4_LOG10El): Likewise.
10025         (M_PI_LOG10El): Likewise.
10027 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10031 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10033         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10034         (MINUS_ZERO_INIT): Likewise.
10035         (PLUS_INFTY_INIT): Likewise.
10036         (MINUS_INFTY_INIT): Likewise.
10037         (QNAN_VALUE_INIT): Likewise.
10038         (MAX_VALUE_INIT): Likewise.
10039         (MIN_VALUE_INIT): Likewise.
10040         (MIN_SUBNORM_VALUE_INIT): Likewise.
10041         (plus_zero): Initialize with PLUS_ZERO_INIT.
10042         (minus_zero): Initialize with MINUS_ZERO_INIT.
10043         (plus_infty): Initialize with PLUS_INFTY_INIT.
10044         (minus_infty): Initialize with MINUS_INFTY_INIT.
10045         (qnan_value): Initialize with QNAN_VALUE_INIT.
10046         (max_value): Initialize with MAX_VALUE_INIT.
10047         (min_value): Initialize with MIN_VALUE_INIT.
10048         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10050         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10051         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10052         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10053         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10055         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10056         (RUN_TEST_2_f): Likewise.
10057         (RUN_TEST_ff_f): Likewise.
10058         (RUN_TEST_fi_f): Likewise.
10059         (RUN_TEST_fl_f): Likewise.
10060         (RUN_TEST_fff_f): Likewise.
10061         (RUN_TEST_c_f): Likewise.
10062         (RUN_TEST_f_f1): Likewise.
10063         (RUN_TEST_fF_f1): Likewise.
10064         (RUN_TEST_fI_f1): Likewise.
10065         (RUN_TEST_ffI_f1): Likewise.
10066         (RUN_TEST_c_c): Likewise.
10067         (RUN_TEST_cc_c): Likewise.
10068         (RUN_TEST_f_i): Likewise.
10069         (RUN_TEST_f_i_tg): Likewise.
10070         (RUN_TEST_ff_i_tg): Likewise.
10071         (RUN_TEST_f_b): Likewise.
10072         (RUN_TEST_f_b_tg): Likewise.
10073         (RUN_TEST_f_l): Likewise.
10074         (RUN_TEST_f_L): Likewise.
10075         (RUN_TEST_sincos): Likewise.
10076         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10077         whether to show exceptions.  Do not include ");\n" in return
10078         value.
10079         (special_functions): Output call to RUN_TEST_sincos instead of
10080         check_float calls.  Update calls to new_test.
10081         (parse_args): Output call to single RUN_TEST_* macro instead of
10082         check_* calls and other assignments.  Update calls to new_test.
10084         [BZ #2546]
10085         [BZ #2560]
10086         [BZ #5159]
10087         [BZ #15426]
10088         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10089         input to result for tgamma overflow.
10090         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10091         (gamma_coeff): New variable.
10092         (NCOEFF): New macro.
10093         (gamma_positive): New function.
10094         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10095         underflow here.  Use gamma_positive instead of exp (lgamma) for
10096         other arguments.
10097         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10098         (gamma_coeff): New variable.
10099         (NCOEFF): New macro.
10100         (gammaf_positive): New function.
10101         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10102         underflow here.  Use gamma_positive instead of exp (lgamma) for
10103         other arguments.
10104         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10105         (gamma_coeff): New variable.
10106         (NCOEFF): New macro.
10107         (gammal_positive): New function.
10108         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10109         underflow here.  Use gamma_positive instead of exp (lgamma) for
10110         other arguments.
10111         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10112         (gamma_coeff): New variable.
10113         (NCOEFF): New macro.
10114         (gammal_positive): New function.
10115         (__ieee754_gammal_r): Handle positive infinity, overflow and
10116         underflow here.  Handle NaN the same as positive infinity.  Remove
10117         check x < 0xffffffff for negative integers.  Use gamma_positive
10118         instead of exp (lgamma) for other arguments.
10119         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10120         (gamma_coeff): New variable.
10121         (NCOEFF): New macro.
10122         (gammal_positive): New function.
10123         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10124         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10125         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10126         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10127         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10128         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10129         * sysdeps/generic/math_private.h (__gamma_productf): New
10130         prototype.
10131         (__gamma_product): Likewise.
10132         (__gamma_productl): Likewise.
10133         * math/Makefile (libm-calls): Add gamma_product.
10134         * math/libm-test.inc (tgamma_test): Add more tests.
10135         * sysdeps/i386/fpu/libm-test-ulps: Update.
10136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10138 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10140         * benchtests/bench-skeleton.c (main): Preheat CPU.
10142 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10144         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10146 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10148         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10149         and _dl_skip_args_internal.
10151 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10153         * manual/message.texi (Message Translation): Talk about users.
10154         Message to key mapping impacts design.
10156 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10158         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10160         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10162         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10163         * sysdeps/wordsize-64/glob64.c: ... here.
10165         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10166         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10167         New macros.
10169         * debug/getlogin_r_chk.c: Moved to ...
10170         * login/getlogin_r_chk.c: ... here.
10171         * debug/Makefile (routines): Move getlogin_r_chk to ...
10172         * login/Makefile (routines): ... here.
10173         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10174         * login/Versions (libc: GLIBC_2.4): ... here.
10176         * io/poll.c (__poll): Renamed from poll.
10177         Add libc_hidden_def.
10178         (poll): Define as weak alias.
10180         * debug/ptsname_r_chk.c: Moved to ...
10181         * login/ptsname_r_chk.c: ... here.
10182         * debug/Makefile (routines): Move ptsname_r_chk to ...
10183         * login/Makefile (routines): ... here.
10184         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10185         * login/Versions (libc: GLIBC_2.4): ... here.
10187         * posix/getlogin.c: Moved to ...
10188         * login/getlogin.c: ... here.
10189         * posix/getlogin_r.c: Moved to ...
10190         * login/getlogin_r.c: ... here.
10191         * posix/getlogin_r.c: Moved to ...
10192         * login/getlogin_r.c: ... here.
10193         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10194         * login/Makefile (routines): ... here.
10195         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10196         * login/Versions (libc: GLIBC_2.0): ... here.
10198         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10199         (setrlimit): Define as weak alias.
10201         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10202         Call __ names for open, ftruncate, and close.
10203         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10204         (truncate): Define as weak alias.
10206 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10208         * math/gen-libm-test.pl (parse_args): Initialize x before each
10209         test of frexp, modf and remquo.
10211         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10212         test signgam value.
10214 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10216         [BZ #15418]
10217         [BZ #15419]
10218         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10219         internal tests.
10220         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10222 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10224         * elf/dl-writev.h: New file.
10225         * elf/dl-misc.c: Include it.
10226         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10227         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10229 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10231         * math/libm-test.inc (noXFails): Remove variable.
10232         (noXPasses): Likewise.
10233         (BUILD_COMPLEX_INT): Remove macro.
10234         (print_screen): Remove xfail argument.
10235         (print_screen_max_error): Likewise.
10236         (update_stats): Likewise.
10237         (print_max_error): Likewise.  Update calls to other affected
10238         functions.
10239         (print_complex_max_error): Likewise.
10240         (test_single_exception): Update calls to print_screen.
10241         (test_single_errno): Likewise.
10242         (check_float_internal): Remove xfail argument.  Update calls to
10243         other affected functions.
10244         (check_float): Likewise.
10245         (check_complex): Likewise.
10246         (check_int): Likewise.
10247         (check_long): Likewise.
10248         (check_bool): Likewise.
10249         (check_longlong): Likewise.
10250         (main): Don't print noXFails and noXPasses.
10251         * math/gen-libm-test.pl (top level): Don't mention expected
10252         failure handling in comment.
10253         (new_test): Don't handle expected failures.
10254         (parse_args): Don't mention expected failure handling in comment.
10255         (generate_testfile): Don't handle expected failures.
10256         (parse_ulps): Likewise.
10257         (print_ulps_file): Likewise.
10258         (get_failure): Remove function.
10259         (output_test): Don't handle expected failures.
10260         * make/README.libm-test: Don't mention expected failure handling.
10262         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10263         (minus_zero): Likewise.
10264         (plus_infty): Likewise.
10265         (minus_infty): Likewise.
10266         (qnan_value): Likewise.
10267         (max_value): Likewise.
10268         (min_value): Likewise.
10269         (min_subnorm_value): Likewise.
10270         (initialize): Do not initialize those variables dynamically.
10272 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10274         * io/open.c (__open_2): Moved to ...
10275         * io/open_2.c: ... this new file.
10276         * io/open64.c (__open64_2): Moved to ...
10277         * io/open64_2.c: ... this new file.
10278         * io/openat.c (__openat_2): Moved to ...
10279         * io/openat_2.c: ... this new file.
10280         * io/openat64.c (__openat64_2): Moved to ...
10281         * io/openat64_2.c: ... this new file.
10282         * io/Makefile (routines): Add them.
10283         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10284         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10285         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10286         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10287         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10288         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10289         (__openat64): Add hidden_ver.
10290         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10291         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10293         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10294         Separately conditionalize setting of GLRO(dl_sysinfo) so
10295         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10296         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10298 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10300         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10301         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10302         definition.
10303         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10304         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10305         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10306         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10307         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10309 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10311         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10312         test signgam value.
10314         * math/libm-test.inc (hypot_test): Do not use
10315         IGNORE_ZERO_INF_SIGN.
10317 2013-05-03  Andreas Jaeger  <aj@suse.de>
10319         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10320         Linux 3.9.
10321         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10322         (PF_MAX): Adjust for VSOCK change.
10324 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10328 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10330         [BZ #15264]
10331         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10332         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10333         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10335 2013-05-02  David S. Miller  <davem@davemloft.net>
10337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10339 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10341         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10343 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10345         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10347 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10349         [BZ #14952]
10350         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10351         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10352         Use __attribute__ ((__gnu_inline__)).
10353         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10354         Don't use __attribute__ ((__gnu_inline__)).
10356 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10358         [BZ #15423]
10359         * math/s_catan.c (__catan): Handle small real or imaginary part of
10360         input specially to avoid spurious underflow.
10361         * math/s_catanf.c (__catanf): Likewise.
10362         * math/s_catanh.c (__catanh): Likewise.
10363         * math/s_catanhf.c (__catanhf): Likewise.
10364         * math/s_catanhl.c (__catanhl): Likewise.
10365         * math/s_catanl.c (__catanl): Likewise.
10366         * math/libm-test.inc (catan_test): Add more tests.
10367         (catanh_test): Likewise.
10368         * sysdeps/i386/fpu/libm-test-ulps: Update.
10369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10371 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10375 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10377         [BZ #15416]
10378         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10379         accurately for denominator in atan2.
10380         * math/s_catanf.c (__catanf): Likewise.
10381         * math/s_catanh.c (__catanh): Likewise.
10382         * math/s_catanhf.c (__catanhf): Likewise.
10383         * math/s_catanhl.c (__catanhl): Likewise.
10384         * math/s_catanl.c (__catanl): Likewise.
10385         * math/libm-test.inc (catan_test): Add more tests.
10386         (catanh_test): Likewise.
10387         * sysdeps/i386/fpu/libm-test-ulps: Update.
10388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10390 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10392         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10394         * benchtests/Makefile (bench): Remove slow benchmarks.
10395         * benchtests/atan-inputs: Add slow benchmark inputs.
10396         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10397         (BENCH_FUNC): Accept variant offset.
10398         (VARIANT): Define.
10399         * benchtests/bench-skeleton.c (main): Run benchmark for each
10400         variant.
10401         * benchtests/cos-inputs: Add slow benchmark inputs.
10402         * benchtests/exp-inputs: Likewise.
10403         * benchtests/pow-inputs: Likewise.
10404         * benchtests/sin-inputs: Likewise.
10405         * benchtests/slowatan-inputs: Remove.
10406         * benchtests/slowatan.c: Remove.
10407         * benchtests/slowcos-inputs: Remove.
10408         * benchtests/slowcos.c: Remove.
10409         * benchtests/slowexp-inputs: Remove.
10410         * benchtests/slowexp.c: Remove.
10411         * benchtests/slowpow-inputs: Remove.
10412         * benchtests/slowpow.c: Remove.
10413         * benchtests/slowsin-inputs: Remove.
10414         * benchtests/slowsin.c: Remove.
10415         * benchtests/slowtan-inputs: Remove.
10416         * benchtests/slowtan.c: Remove.
10417         * benchtests/tan-inputs: Add slow benchmark inputs.
10418         * scripts/bench.pl: Parse comments and directives.
10420         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10421         in CPPFLAGS.
10422         ($(objpfx)bench-%.c): Remove *-ITER.
10423         * benchtests/bench-modf.c: Remove definition of ITER.
10424         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10425         (main): Loop for DURATION seconds instead of fixed number of
10426         iterations.
10427         * scripts/bench.pl: Don't expect iterations in parameters.
10429 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10431         * io/fchdir.c (__fchdir): Renamed from fchdir.
10432         (fchdir): Define as weak alias.
10434 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10436         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10437         (ERRNO_EDOM): Likewise.
10438         (ERRNO_ERANGE): Likewise.
10439         (noErrnoTests): New variable.
10440         (init_max_error): Set errno to 0.
10441         (test_single_errno): New function.
10442         (test_errno): Likewise.
10443         (check_float_internal): Call test_errno.  Set errno to 0.
10444         (check_complex): Refer to errno tests in comment.
10445         (check_int): Call test_errno.  Set errno to 0.
10446         (check_long): Likewise.
10447         (check_bool): Likewise.
10448         (check_longlong): Likewise.
10449         (cos_test): Use ERRNO_* flags for errno tests instead of
10450         check_int.
10451         (expm1_test): Likewise.
10452         (fmod_test): Likewise.
10453         (ilogb_test): Likewise.
10454         (lgamma_test): Likewise.
10455         (pow_test): Likewise.
10456         (remainder_test): Likewise.
10457         (sin_test): Likewise.
10458         (tan_test): Likewise.
10459         (yn_test): Likewise.
10460         (initialize): Set errno to 0.
10461         (main): Print number of errno tests.
10462         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10464 2013-04-29  Andreas Jaeger  <aj@suse.de>
10466         [BZ #15084]
10467         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10468         and RES_USEVC.
10470         [BZ #15085]
10471         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10472         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10473         unimplemented.
10475         [BZ #15380]
10476         * stdlib/random.c (__initstate): Return NULL if
10477         __initstate fails.
10479         [BZ #15086]
10480         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10481         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10482         RES_SNGLKUPREOP.
10484 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10488 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10490         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10491         of individual tests.
10492         (casin_test): Likewise.
10493         (casinh_test): Likewise.
10495 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10497         [BZ #15409]
10498         * math/s_catan.c (__catan): Handle arguments with large real or
10499         imaginary part separately without squaring.
10500         * math/s_catanf.c (__catanf): Likewise.
10501         * math/s_catanh.c (__catanh): Likewise.
10502         * math/s_catanhf.c (__catanhf): Likewise.
10503         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10504         and redefine.
10505         (__catanhl): Handle arguments with large real or imaginary part
10506         separately without squaring.
10507         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10508         and redefine.
10509         (__catanl): Handle arguments with large real or imaginary part
10510         separately without squaring.
10511         * math/libm-test.inc (catan_test): Add more tests.
10512         (catanh_test): Likewise.
10513         * sysdeps/i386/fpu/libm-test-ulps: Update.
10514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10516 2013-04-27  Andreas Jaeger  <aj@suse.de>
10518         [BZ #15007]
10519         * stdlib/stdlib.h: Update guards for qecvt.
10520         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10521         <stdlib.h>.
10523 2013-04-27  Allan McRae  <allan@archlinux.org>
10525         * sysdeps/i386/fpu/libm-test-ulps: Update.
10527 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10529         [BZ #15406]
10530         * math/s_catan.c: Include <float.h>.
10531         (__catan): Ensure underflow exception occurs for underflowed
10532         result.
10533         * math/s_catanf.c: Include <float.h>.
10534         (__catanf): Ensure underflow exception occurs for underflowed
10535         result.
10536         * math/s_catanh.c: Include <float.h>.
10537         (__catanh): Ensure underflow exception occurs for underflowed
10538         result.
10539         * math/s_catanhf.c: Include <float.h>.
10540         (__catanhf): Ensure underflow exception occurs for underflowed
10541         result.
10542         * math/s_catanhl.c: Include <float.h>.
10543         (__catanhl): Ensure underflow exception occurs for underflowed
10544         result.
10545         * math/s_catanl.c: Include <float.h>.
10546         (__catanl): Ensure underflow exception occurs for underflowed
10547         result.
10548         * math/libm-test.inc (catan_test): Add more tests.
10549         (catanh_test): Likewise.
10551         [BZ #15405]
10552         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10553         underflowed result.
10554         * math/s_ccoshf.c (__ccoshf): Likewise.
10555         * math/s_ccoshl.c (__ccoshl): Likewise.
10556         * math/s_csin.c (__csin): Likewise.
10557         * math/s_csinf.c (__csinf): Likewise.
10558         * math/s_csinh.c (__csinh): Likewise.
10559         * math/s_csinhf.c (__csinhf): Likewise.
10560         * math/s_csinhl.c (__csinhl): Likewise.
10561         * math/s_csinl.c (__csinl): Likewise.
10562         * math/libm-test.inc (ccos_test): Add more tests.
10563         (ccosh_test): Likewise.
10564         (csin_test): Likewise.
10565         (csinh_test): Likewise.
10567 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10569         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10570         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10571         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10572         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10573         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10574         powerpc/power5+/fpu folders.
10575         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10578 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10582 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10584         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10585         additions to variable.
10586         [$(config-machine) = x86_64] (modules-names): Likewise.
10587         ($(objpfx)tst-audit3): Remove dependency.
10588         ($(objpfx)tst-audit3.out): Likewise.
10589         ($(objpfx)tst-audit4): Likewise.
10590         ($(objpfx)tst-audit4.out): Likewise.
10591         ($(objpfx)tst-audit5): Likewise.
10592         ($(objpfx)tst-audit5.out): Likewise.
10593         ($(objpfx)tst-audit6): Likewise.
10594         ($(objpfx)tst-audit6.out): Likewise.
10595         ($(objpfx)tst-audit7): Likewise.
10596         ($(objpfx)tst-audit7.out): Likewise.
10597         (tst-audit3-ENV): Remove variable.
10598         (tst-audit4-ENV): Likewise.
10599         (tst-audit5-ENV): Likewise.
10600         (tst-audit6-ENV): Likewise.
10601         (tst-audit7-ENV): Likewise.
10602         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10603         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10604         addition to variable.
10605         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10606         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10607         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10608         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10609         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10610         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10611         tst-audit3, tst-audit4 and tst-audit5.
10612         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10613         tst-audit6 and tst-audit7.
10614         [$(subdir) = elf] (modules-names): Add audit modules for those
10615         tests.
10616         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10617         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10618         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10619         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10620         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10621         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10622         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10623         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10624         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10625         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10626         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10627         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10628         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10629         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10630         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10631         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10632         Likewise.
10633         [$(subdir) = elf && $(config-cflags-avx) = yes]
10634         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10635         [$(subdir) = elf && $(config-cflags-avx) = yes]
10636         (CFLAGS-tst-auditmod4a.c): Likewise.
10637         [$(subdir) = elf && $(config-cflags-avx) = yes]
10638         (CFLAGS-tst-auditmod4b.c): Likewise.
10639         [$(subdir) = elf && $(config-cflags-avx) = yes]
10640         (CFLAGS-tst-auditmod6b.c): Likewise.
10641         [$(subdir) = elf && $(config-cflags-avx) = yes]
10642         (CFLAGS-tst-auditmod6c.c): Likewise.
10643         [$(subdir) = elf && $(config-cflags-avx) = yes]
10644         (CFLAGS-tst-auditmod7b.c): Likewise.
10645         * elf/tst-audit3.c: Move to ...
10646         * sysdeps/x86_64/tst-audit3.c: ... here.
10647         * elf/tst-audit4.c: Move to ...
10648         * sysdeps/x86_64/tst-audit4.c: ... here.
10649         * elf/tst-audit5.c: Move to ...
10650         * sysdeps/x86_64/tst-audit5.c: ... here.
10651         * elf/tst-audit6.c: Move to ...
10652         * sysdeps/x86_64/tst-audit6.c: ... here.
10653         * elf/tst-audit7.c: Move to ...
10654         * sysdeps/x86_64/tst-audit7.c: ... here.
10655         * elf/tst-auditmod3a.c: Move to ...
10656         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10657         * elf/tst-auditmod3b.c: Move to ...
10658         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10659         * elf/tst-auditmod4a.c: Move to ...
10660         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10661         * elf/tst-auditmod4b.c: Move to ...
10662         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10663         * elf/tst-auditmod5a.c: Move to ...
10664         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10665         * elf/tst-auditmod5b.c: Move to ...
10666         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10667         * elf/tst-auditmod6a.c: Move to ...
10668         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10669         * elf/tst-auditmod6b.c: Move to ...
10670         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10671         * elf/tst-auditmod6c.c: Move to ...
10672         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10673         * elf/tst-auditmod7a.c: Move to ...
10674         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10675         * elf/tst-auditmod7b.c: Move to ...
10676         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10678 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10680         [BZ #15366]
10681         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10682         define unconditionally.
10683         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10684         define unconditionally.
10685         (INT8_C, INT16_C, etc.): Likewise.
10687 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10689         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10690         __ehdr_start with hidden visibility.
10692         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10694 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10696         * math/libm-test.inc (cos_test): Use accurate hex constants.
10697         (sincost_test): Likewise.
10699 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10701         * math/libm-test.inc (catan_test): Add more tests.
10702         (catanh_test): Likewise.
10704         * math/s_catanf.c (__catanf): Use suffixed floating-point
10705         constants.
10706         * math/s_catanhf.c (__catanhf): Likewise.
10707         * math/s_catanhl.c (__catanhl): Likewise.
10708         * math/s_catanl.c (__catanl): Likewise.
10710         [BZ #15394]
10711         * math/s_catan.c (__catan): Calculate imaginary part of result
10712         with log1p not log unless computing log of number close to 0.
10713         * math/s_catanf.c (__catanf): Likewise.
10714         * math/s_catanl.c (__catanl): Likewise.
10715         * math/s_catanh.c (__catanh): Calculate real part of result with
10716         log1p not log unless computing log of number close to 0.
10717         * math/s_catanhf.c (__catanhf): Likewise.
10718         * math/s_catanhl.c (__catanhl): Likewise.
10719         * math/libm-test.inc (catan_test): Add more tests.
10720         (catanh_test): Likewise.
10721         * sysdeps/i386/fpu/libm-test-ulps: Update.
10722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10724 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10726         * benchtests/Makefile: Mention files in which fast and slow
10727         paths of math functions are implemented.
10729 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10731         * sysdeps/posix/timespec_get.c: New file.
10733 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10735         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10736         POWER.
10737         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10738         for POWER.
10739         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10740         powerpc/power5/fpu folders.
10741         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10742         * benchtests/Makefile: Add modf testcase.
10743         * benchtests/bench-modf.c: New file: Benchmark test for mo
10745 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10747         [BZ #14888]
10748         * time/Makefile (tests): Add tst-strptime-whitespace.
10749         * time/strptime_l.c (get_number): Use ISSPACE.
10750         (__strptime_internal): Likewise.
10751         * time/tst-strptime-whitespace.c: New test case.
10753 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10755         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10756         member.
10757         (_nss_files_init): Set it here.
10759 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10761         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10762         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10763         unsigned.
10765 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10767         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10769 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10771         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10772         size just once.
10774 2013-04-21  David S. Miller  <davem@davemloft.net>
10776         * po/ru.po: Update Russion translation from translation project.
10778 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10780         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10781         and setfsgid.
10783 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10785         * configure.in: Remove i386 configure warning. Remove i386 case.
10786         * configure: Regenerate.
10787         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10788         Add example to error message.
10789         * sysdeps/i386/configure: Regenerate.
10791 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10793         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10794         slowtan.
10795         * benchtests/cos-inputs: New file.
10796         * benchtests/slowcos-inputs: New file.
10797         * benchtests/slowcos.c: New file.
10798         * benchtests/slowtan-inputs: New file.
10799         * benchtests/slowtan.c: New file.
10800         * benchtests/tan-inputs: New file.
10802 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10804         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10805         considered kosher.
10807 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10809         * benchtests/Makefile: Include cppflags-iterator.mk to add
10810         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10812         * Makefile.in (bench-clean): New target.
10813         * benchtests/Makefile (bench-clean): Likewise.
10815 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10817         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10819 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10821         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10823 2013-04-15  Andreas Schwab  <schwab@suse.de>
10825         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10826         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10827         * nscd/pwdcache.c (cache_addpw): Likewise.
10828         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10829         more than recsize.
10831 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10833         * benchtests/Makefile (bench): Write all output to
10834         bench-out.tmp together.
10836 2013-04-15  Andreas Schwab  <schwab@suse.de>
10838         * nscd/nscd.c (main): Don't fork again after closing files.
10840 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10842         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10844         * benchtests/Rules (bench-deps): Collect dependencies into a
10845         single variable.  Add Makefile to dependencies.
10846         ($(objpfx)bench-%.c): Depend on bench-deps.
10848 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10849             Xavier Roche  <roche+kml2@exalead.com>
10851         [BZ #15361]
10852         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10853         just that it's a file descriptor.
10854         * manual/llio.texi (Synchronizing AIO Operations): Update description
10855         for EBADF error from aio_fsync.
10857 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10859         * Rules (bench): Move target definition...
10860         * benchtests/Makefile: ... here.
10862 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10864         * math/libm-test.inc (cos_test): Fix PI/2 test.
10865         (sincos_test): Likewise.
10866         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10867         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10869 2013-04-11  Andreas Schwab  <schwab@suse.de>
10871         [BZ #13988]
10872         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10873         accept exponent character only when digits were seen.
10874         * stdio-common/Makefile (tests): Add bug26.
10875         * stdio-common/bug26.c: New file.
10877         [BZ #14293]
10878         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10879         non-freeable.
10881 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10883         * Makeconfig (rtld-prefix): Define built linker prefix.
10884         * Rules (run-bench): Use it.
10885         * math/Makefile (run-regen-ulps): Likewise.
10887         * Rules (bench): Remove eval.
10889 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10890             Roland McGrath  <roland@hack.frob.com>
10891             Ondrej Bilka  <neleai@seznam.cz>
10893         [BZ #15346]
10894         * time/getdate.c: Include ctype.h and alloca.h.
10895         (__getdate_r): Trim leading and trailing spaces of input.
10896         * time/tst-getdate.c (tests): Add tests with leading and
10897         trailing spaces.
10899 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10901         [BZ #14280]
10902         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10903         when computing value.
10905 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10907         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10908         Use testrun.sh to run libm tests.
10910         [BZ #15309]
10911         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10913 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10915         [BZ #15264]
10916         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10918 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10920         * Makefile.in (regen-ulps): New target.
10921         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10922         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10923         [ifneq (no,$(PERL)] (regen-ulps): New target.
10924         [ifeq (no,$(PERL)] (regen-ulps): New target.
10925         * math/libm-test.inc (ulps_file_name): Define.
10926         (output_dir): New variable.
10927         (options): Add "output-dir" option.
10928         (parse_opt): Handle 'o' case.
10929         (main): If output_dir is non-NULL use it as a prefix
10930         otherwise use "".
10931         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10933 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10935         [BZ #10060, #10062]
10936         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10937         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10938         fail configure if __sync_val_compare_and_swap is not inlined.
10939         * sysdeps/i386/configure: Regenerate.
10940         * configure.in: Build for i686 when configured for i386.
10941         * configure: Regenerate.
10942         * README: Remove i386 reference.
10944 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10946         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10947         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10949 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10951         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10952         (lmsnanval): New variables.
10953         (F): Add conversion tests.
10954         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10955         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10957         * stdio-common/tstdiomisc.c (F): Properly collect individual
10958         tests' results.
10960         [BZ #14686, #15336]
10961         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10962         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10963         Instead, use input NaN values or generate a qNaN by arithmetic
10964         operation.  Also fix bugs to comply with the standard.
10965         * math/libm-test.inc (remainder_test): Add more tests.
10967         [BZ #15335, #15342]
10968         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10969         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10970         input NaN values or generate a qNaN by arithmetic operation.
10972         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10973         unreachable code.
10975         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10976         definitions.
10978 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10980         [BZ #14478]
10981         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10982         underflowed result.
10983         * math/s_cexpf.c (__cexpf): Likewise.
10984         * math/s_cexpl.c (__cexpl): Likewise.
10985         * math/libm-test.inc (cexp_test): Add more tests.
10987 2013-04-03  Andreas Schwab  <schwab@suse.de>
10989         [BZ #15330]
10990         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10991         order arrays from heap if bigger than alloca cutoff.
10993 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10995         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10996         (SNAN_TESTS_double): Refer to GCC PR56831.
10997         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10998         GCC PR56828.
11000 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11002         * Rules (bench): Move bench.out after the run is complete.
11004         * Rules (bench): Echo currently running benchmark.
11006         * benchtests/Makefile (bench): Add atan and slowatan.
11007         * benchtests/atan-inputs: New file.
11008         * benchtests/slowatan-inputs: New file.
11009         * benchtests/slowatan.c: New file.
11011         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11012         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11013         its value.
11015         [BZ #15305]
11016         * sysdeps/unix/sysv/linux/kernel-features.h
11017         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11018         __ASSUME_XFS_RESTRICTED_CHOWN.
11019         * sysdeps/unix/sysv/linux/pathconf.c
11020         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11021         Save and restore errno.
11023 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11025         [BZ #15327]
11026         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11027         arguments using __kernel_casinh.
11028         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11029         arguments using __kernel_casinhf.
11030         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11031         arguments using __kernel_casinhl.
11032         * math/libm-test.inc (cacosh_test): Add more tests.
11033         * sysdeps/i386/fpu/libm-test-ulps: Update.
11034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11036 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11038         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11041         * bench/Makefile (bench): Add sin and slowsin.
11042         * benchtests/sin-inputs: New file.
11043         * benchtests/slowsin-inputs: New file.
11044         * benchtests/slowsin.c: New file.
11046         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11047         (bench): Add slowexp and slowpow.
11048         (exp-ITER): Increase iterations.
11049         (pow-ITER): Likewise.
11050         * benchtests/exp-inputs: Change input.
11051         * benchtests/pow-inputs: Likewise.
11052         * benchtests/slowexp-inputs: New file.
11053         * benchtests/slowexp.c: New file.
11054         * benchtests/slowpow-inputs: New file.
11055         * benchtests/slowpow.c: New file.
11057 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11059         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11060         instructions.
11061         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11062         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11063         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11064         * benchtests/Makefile: Add rint benchtest.
11065         * benchtests/rint-inputs: Input for rint benchtest.
11067 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11069         * Versions.def (libm): Add GLIBC_2.18.
11070         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11071         hidden libm prototypes.
11072         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11073         * math/Makefile (libm-calls): Add s_issignaling.
11074         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11075         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11076         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11077         declaration.
11078         * math/math.h [__USE_GNU] (issignaling): New macro.
11079         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11080         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11081         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11082         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11083         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11084         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11085         * manual/arith.texi (issignaling): New section.
11086         * manual/libm-err-tab.pl (@all_functions): Update comment.
11087         * math/gen-libm-test.pl (parse_args): Apply special handling for
11088         issignaling.
11089         * math/libm-test.inc (print_float, issignaling_test): New
11090         functions.
11091         (check_float_internal): Add issignaling checks.
11092         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11093         default definition.
11094         * sysdeps/powerpc/math-tests.h: New file.
11095         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11096         tests.
11097         * math/test-snan.c (TEST_FUNC): Likewise.
11099 2013-03-30  David S. Miller  <davem@davemloft.net>
11101         * po/de.po: Update from translation team.
11103 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11105         [BZ #10357]
11106         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11107         imaginary part less than 1.0 and real part less than 0.5
11108         specially.
11109         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11110         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11111         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11112         (cacos_test): Add more tests.
11113         (casin_test): Likewise.
11114         (casinh_test): Likewise.
11115         * sysdeps/i386/fpu/libm-test-ulps: Update.
11116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11118 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11120         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11121         ONE with its value.
11123         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11124         (__pow_mp): Replace ONE and MONE with their values.
11125         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11127         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11128         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11129         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11130         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11132         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11134         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11135         (__pow_mp): Replace ZERO and MZERO with their values.
11136         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11137         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11138         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11140         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11141         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11142         (__sqr): Likewise.
11144         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11146         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11148 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11150         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11151         Declare with __attribute__ ((weak)).
11152         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11153         Call __call_tls_dtors only if it's not NULL.
11155 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11157         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11158         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11159         magic __ehdr_start linker symbol if it's defined.
11160         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11161         them up here if it was already done.
11163         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11164         (_dl_aux_init): Use const in cast when setting it.
11165         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11166         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11167         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11169         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11170         Declare them here.
11171         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11172         * csu/libc-tls.c: Nor here.
11173         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11175         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11176         (__libc_message): Never call vsyslog.
11178 2013-03-28  Alan Modra  <amodra@gmail.com>
11180         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11181         Define as empty.
11182         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11183         Likewise.
11185 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11187         [BZ #15214]
11188         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11189         underflow.
11190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11192 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11194         [BZ #15304]
11195         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11196         Don't add gid passed as argument.
11198         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11200 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11202         [BZ #15307]
11203         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11204         imaginary part between 1.0 and 1.5 and real part less than 0.5
11205         specially.
11206         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11207         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11208         * math/libm-test.inc (cacos_test): Add more tests.
11209         (casin_test): Likewise.
11210         (casinh_test): Likewise.
11211         * sysdeps/i386/fpu/libm-test-ulps: Update.
11212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11214 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11216         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11217         constants.
11218         (norm): Likewise.
11219         (denorm): Likewise.
11220         (__dbl_mp): Likewise.
11221         (add_magnitudes): Likewise.
11222         (sub_magnitudes): Likewise.
11223         (__add): Likewise.
11224         (__sub): Likewise.
11225         (__mul): Likewise.
11226         (__sqr): Likewise.
11227         (__inv): Likewise.
11228         (__dvd): Likewise.
11230         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11231         commented code.
11232         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11233         (__dubcos): Likewise.
11234         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11235         (__ieee754_acos): Likewise.
11236         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11237         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11238         (__exp1): Likewise.
11239         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11240         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11241         (log1): Likewise.
11242         (my_log2): Likewise.
11243         (checkint): Likewise.
11244         * sysdeps/ieee754/dbl-64/e_remainder.c
11245         (__ieee754_remainder): Likewise.
11246         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11247         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11248         (bsloww): Likewise.
11249         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11251         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11252         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11253         MANTISSA_STORE_T to store computations on mantissa.  Use
11254         macros for rounding and division.
11255         (denorm): Likewise.
11256         (__dbl_mp): Likewise.
11257         (add_magnitudes): Likewise.
11258         (sub_magnitudes): Likewise.
11259         (__mul): Likewise.
11260         (__sqr): Likewise.
11261         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11262         powers of two in terms of TWOPOW macro.
11263         (mp_no): Make type of mantissa as MANTISSA_T.
11264         [!RADIXI]: Define RADIXI.
11265         [!TWO52]: Define TWO52.
11266         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11268 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11270         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11271         llroundl symbol when building for PPC32.
11273 2013-03-24  Mark H Weaver  <mhw@netris.org>
11275         * manual/arith.texi (Normalization Functions): Fix prototypes for
11276         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11278 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11280         [BZ #13889]
11281         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11282         high value to check if expl overflow.
11283         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11284         to check for underflow and overflow.
11285         * math/libm-test.inc: Add exp test.
11287 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11289         [BZ #11120]
11290         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11291         with NOT_IN_libc.
11293 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11295         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11296         symbol.
11298 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11300         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11301         wrap blocks consisting of several statements.
11303         * sysdeps/generic/math-tests.h: New file.
11304         * sysdeps/i386/fpu/math-tests.h: Likewise.
11305         * math/test-snan.c: Include it.
11306         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11308 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11310         [BZ #15285]
11311         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11312         (__ieee754_j0l): Do not improve calculations using cos of twice
11313         input for inputs above LDBL_MAX / 2.0L.
11314         (__ieee754_y0l): Likewise.
11315         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11316         (__ieee754_j1l): Do not improve calculations using cos of twice
11317         input for inputs above LDBL_MAX / 2.0L.
11318         (__ieee754_y1l): Likewise.
11319         * math/libm-test.inc (j0_test): Add another test.
11320         (j1_test): Likewise.
11321         (y0_test): Likewise.
11322         (y1_test): Likewise.
11323         * sysdeps/i386/fpu/libm-test-ulps: Update.
11325 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11327         * Rules ($(objpfx)bench-%.c): Include code from a C source
11328         file.
11330 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11332         [BZ #15287]
11333         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11334         imaginary part 1.0 and real part less than 0.5 specially.
11335         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11336         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11337         * math/libm-test.inc (cacos_test): Add more tests.
11338         (casin_test): Likewise.
11339         (casinh_test): Likewise.
11340         * sysdeps/i386/fpu/libm-test-ulps: Update.
11341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11343 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11345         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11346         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11348 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11350         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11351         * config.make.in (config-cflags-sse4): Remove variable.
11352         (config-cflags-avx): Likewise.
11353         (config-cflags-sse2avx): Likewise.
11354         (config-cflags-novzeroupper): Likewise.
11355         (config-asflags-i686): Likewise.
11356         (have-mfma4): Likewise.
11357         (have-as-vis3): Likewise.
11358         (MIG): Likewise.
11359         * configure.in (MIG): Do not AC_SUBST.
11360         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11361         (libc_cv_cc_sse4): Do not AC_SUBST.
11362         (libc_cv_cc_avx): Likewise.
11363         (libc_cv_cc_sse2avx): Likewise.
11364         (libc_cv_cc_novzeroupper): Likewise.
11365         (libc_cv_cc_fma4): Likewise.
11366         (libc_cv_as_i686): Likewise.
11367         (libc_cv_sparc_as_vis3): Likewise.
11368         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11369         LIBC_CONFIG_VAR.
11370         (config-asflags-i686): Likewise.
11371         (config-cflags-avx): Likewise.
11372         (config-cflags-sse2avx): Likewise.
11373         (have-mfma4): Likewise.
11374         (config-cflags-novzeroupper): Likewise.
11375         * sysdeps/mach/configure.in (MIG): Likewise.
11376         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11377         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11378         LIBC_CONFIG_VAR.
11379         (config-cflags-avx): Likewise.
11380         (config-cflags-sse2avx): Likewise.
11381         (have-mfma4): Likewise.
11382         (config-cflags-novzeroupper): Likewise.
11383         * configure: Regenerated.
11384         * sysdeps/i386/configure: Likewise.
11385         * sysdeps/mach/configure: Likewise.
11386         * sysdeps/sparc/configure: Likewise.
11387         * sysdeps/x86_64/configure: Likewise.
11389 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11391         [BZ #14812]
11392         * locale/programs/localedef.c (options): Put N_ translation marker
11393         on argument names, not just descriptions.
11395 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11397         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11399 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11401         [BZ #14176]
11402         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11404 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11406         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11407         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11408         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11409         [!BEFORE_ABORT] (before_abort): New function.
11410         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11411         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11412         (writev_for_fatal): New function.
11413         (WRITEV_FOR_FATAL): New macro; call that.
11414         (backtrace_and_maps): New function.
11415         (BEFORE_ABORT): New macro; call that.
11416         (struct str_list): Type removed.
11417         (__libc_message, __libc_fatal): Functions removed.
11418         Include <sysdeps/posix/libc_fatal.c> instead.
11420 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11422         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11423         constants.
11424         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11425         double constants.
11427 2013-03-19  Andreas Schwab  <schwab@suse.de>
11429         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11430         * sysdeps/gnu/configure: Regenerate.
11432         * configure.in: Substitute libc_cv_rtlddir.
11433         * configure: Regenerate.
11434         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11435         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11436         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11437         * elf/Makefile (install-others, CFLAGS-interp.c)
11438         (ldso_install, common-ldd-rewrite): Likewise.
11439         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11440         $(inst_slibdir)/$(rtld-installed-name).
11441         * scripts/rellns-sh: Add -p option.
11442         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11443         for source.
11445 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11447         * manual/nptl.texi: Renamed to ...
11448         * manual/threads.texi: ... this.
11449         * manual/Makefile (chapters): Update.
11451 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11453         [BZ #14812]
11454         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11455         on argument names, not just descriptions.
11456         * malloc/memusagestat.c (options): Likewise.
11457         * nss/getent.c (options): Likewise.
11459 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11461         [BZ #14812]
11462         * iconv/iconv_prog.c (options): Put N_ translation marker
11463         on argument names, not just descriptions.
11464         * iconv/iconvconfig.c (options): Likewise.
11466 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11468         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11469         implementation which is faster on all x86_64 architectures.
11470         Tested on AMD, Intel Nehalem, SNB, IVB.
11471         * sysdeps/x86_64/strnlen.S: Likewise.
11473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11474         Remove all multiarch strlen and strnlen versions.
11475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11476         Remove strlen and strnlen related parts.
11478         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11479         Inline strlen part.
11480         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11482         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11483         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11484         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11485         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11486         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11487         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11489 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11491         * manual/memory.texi (Malloc Tunable Parameters):
11492         Sort parameters alphabetically. Add comments for missing entries.
11494 2013-03-17  David S. Miller  <davem@davemloft.net>
11496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11498 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11500         [BZ #15283]
11501         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11502         for arguments at most half maximum finite value.
11503         * math/libm-test.inc (j0_test): Add more tests.
11504         (j1_test): Likewise.
11505         (y0_test): Likewise.
11506         (y1_test): Likewise.
11507         * sysdeps/i386/fpu/libm-test-ulps: Update.
11508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11510         [BZ #14155]
11511         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11512         1 / x and functions P and Q for arguments above 0x1p256L.
11513         (__ieee754_y0l): Likewise.
11514         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11515         (__ieee754_y1l): Likewise.
11516         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11517         (j1_test): Likewise.
11518         (y0_test): Likewise.
11519         (y1_test): Likewise.
11521 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11523         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11524         variable.
11526 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11528         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11529         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11530         zero since it's initialized to EXEC_PAGESIZE.
11532         * sysdeps/unix/sysv/linux/ldsodefs.h
11533         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11534         * sysdeps/generic/ldsodefs.h: ... here.
11536 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11538         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11540         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11541         math/test-snan.c.
11542         * math/test-snan.c: Renamed from
11543         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11544         * math/Makefile (tests): Add test-snan.
11545         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11546         test-powerpc-snan.
11548         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11549         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11550         functions.
11551         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11552         __builtin_nan family of functions.
11553         * math/libm-test.inc (initialize): Initialize qnan_value with
11554         __builtin_nan family of functions.
11555         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11556         Remove variables.
11557         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11558         Remove functions.
11559         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11560         storage class.  Initialize qNaN_var and sNaN_var with
11561         __builtin_nan and __builtin_nans families of functions,
11562         respectively.
11564         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11565         (sqrt_test): Remove duplicate test with qNaN input.
11566         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11567         (round_test, signbit_test, significand_test): Note missing +/-Inf
11568         as well as qNaN tests.
11570         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11571         qNaN_var.  Fix a few strings, too.
11572         * math/libm-test.inc (nan_value): Rename to qnan_value.
11573         * math/gen-libm-test.pl (%beautify): Adjust to that.
11574         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11575         * math/test-misc.c (main): Likewise.
11576         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11577         to __qnan_bytes, and __qnan_union, respectively.
11578         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11579         Likewise.
11580         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11581         and lqnanval, respectively.
11582         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11583         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11584         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11585         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11587         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11588         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11589         doubles.
11591         * math/test-misc.c (main): Fix copy'n'pastos.
11592         * misc/tst-efgcvt.c (special): Likewise.
11594         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11595         Remove declarations.
11597 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11599         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11600         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11601         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11602         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11604 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11606         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11607         macro to return vdso values correctly in IFUNC implementations.
11608         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11609         Optimization by using IFUNC.
11611 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11612             Richard Henderson  <rth@redhat.com>
11613             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11615         * Makefile.in (bench): New target.
11616         * NEWS: Mention the benchmark framework.
11617         * Rules (bench): Likewise.
11618         (binaries-bench): Generate binaries for functions to
11619         benchmark.
11620         * benchtests/Makefile: New makefile for benchmark tests.
11621         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11622         programs.
11623         * benchtests/exp-inputs: New input file for EXP function.
11624         * benchtests/pow-inputs: New input file for POW function.
11625         * scripts/bench.pl: New script to generate source files for
11626         benchmark programs.
11628 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11630         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11631         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11632         computations on mantissa.  Use macros for rounding and
11633         division.
11634         (denorm): Likewise.
11635         (__dbl_mp): Likewise.
11636         (add_magnitudes): Likewise.
11637         (sub_magnitudes): Likewise.
11638         (__mul): Likewise.
11639         (__sqr): Likewise.
11640         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11641         powers of two in terms of TWOPOW macro.
11642         (mp_no): Make type of mantissa as MANTISSA_T.
11643         [!RADIXI]: Define RADIXI.
11644         [!TWO52]: Define TWO52.
11645         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11647         * manual/nptl.texi (cindex): Modify threads to pthreads.
11649 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11651         * sysdeps/x86_64/preconfigure: Regenerated.
11653 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11655         [BZ #14155]
11656         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11657         0x1p28 and above.
11658         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11659         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11660         0x1p28 and above.
11661         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11662         * math/libm-test.inc (j0_test): Do not allow one spurious
11663         underflow exception.
11664         (y1_test): Likewise.
11666 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11668         * manual/Makefile (chapters): Add nptl.
11669         * manual/debug.texi (Debugging Support): Add link to Threads
11670         chapter.
11671         * manual/nptl.texi: New file.
11673         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11675 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11677         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11678         for non-NULL pointer before the memory validity test. Pointed
11679         out by Holger Brunck <holger.brunck@keymile.com>.
11681 2013-03-13  Andreas Schwab  <schwab@suse.de>
11683         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11684         instead of .os.
11686 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11688         * timezone/zic.c: Update from tzcode 2013b.
11690 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11692         * manual/install.texi (Configuring and compiling):
11693         Mention i686 and i586.
11694         * INSTALL: Regenerate.
11696 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11698         * sysdeps/init_array/elf-init.c: New file.
11699         * csu/elf-init.c
11700         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11701         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11703         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11704         __gmon_start__ as global, but as static with a .preinit_array pointer.
11705         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11706         * sysdeps/init_array/crti.S: New file, empty except for comments.
11707         * sysdeps/init_array/crtn.S: Likewise.
11709 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11711         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11712         definining bcopy.
11713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11714         Remove Prefer_SSE_for_memop.
11715         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11716         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11717         HAS_PREFER_SSE_FOR_MEMOP.
11718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11719         memset-x86-64.
11720         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11721         Remove bzero, memset ifunc support.
11722         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11723         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11724         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11725         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11727 2013-03-11  Andreas Schwab  <schwab@suse.de>
11729         [BZ #15234]
11730         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11731         by SHLIB_COMPAT.
11732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11733         (GLIBC_2.16): Remove pthread_atfork.
11735 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11737         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11738         (ptestcases.h): Likewise.
11740 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11742         * Makeconfig ($(common-objpfx)config.status): Depend on
11743         sysdeps/*/preconfigure{,.in} too.
11745 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11747         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11748         (__free_hook): Use void * instead of __malloc_ptr_t.
11749         (__malloc_hook): Likewise.
11750         (__realloc_hook): Likewise.
11751         (__memalign_hook): Likewise.
11752         (__after_morecore_hook): Likewise.
11753         * malloc/arena.c (save_malloc_hook): Likewise.
11754         (save_free_hook): Likewise.
11755         * malloc/hooks.c (malloc_hook_ini): Likewise.
11756         (realloc_hook_ini): Likewise.
11757         (memalign_hook_ini): Likewise.
11758         * malloc/malloc.c (malloc_hook_ini): Likewise.
11759         (realloc_hook_ini): Likewise.
11760         (memalign_hook_ini): Likewise.
11761         (__free_hook): Likewise.
11762         (__malloc_hook): Likewise.
11763         (__realloc_hook): Likewise.
11764         (__memalign_hook): Likewise.
11765         (__libc_malloc): Likewise.
11766         (__libc_free): Likewise.
11767         (__libc_realloc): Likewise.
11768         (__libc_memalign): Likewise.
11769         (__libc_valloc): Likewise.
11770         (__libc_pvalloc): Likewise.
11771         (__libc_calloc): Likewise.
11772         (__posix_memalign): Likewise.
11773         * malloc/morecore.c (__sbrk): Likewise.
11774         (__default_morecore): Likewise.
11776         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11778         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11779         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11780         __malloc_ptrdiff_t.
11782         * malloc/malloc.h (__malloc_size_t): Remove macro.
11783         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11784         __malloc_size_t.
11785         (old_memalign_hook): Likewise.
11786         (old_realloc_hook): Likewise.
11787         (struct hdr): Likewise.
11788         (flood): Likewise.
11789         (mallochook): Likewise.
11790         (memalignhook): Likewise.
11791         (reallochook): Likewise.
11792         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11793         (tr_old_realloc_hook): Likewise.
11794         (tr_old_memalign_hook): Likewise.
11795         (tr_mallochook): Likewise.
11796         (tr_reallochook): Likewise.
11797         (tr_memalignhook): Likewise.
11799 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11801         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11802         default_ldbl_pack and using as default implementation.
11803         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11804         implementation.
11805         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11806         redundant definition.
11807         (ldbl_insert_mantissa): Likewise.
11808         (ldbl_canonicalize): Likewise.
11809         (ldbl_nearbyint): Likewise.
11810         (ldbl_pack): Rename to ldbl_pack_ppc.
11811         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11812         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11813         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11815 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11818         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11819         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11820         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11822         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11823         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11824         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11826 2013-03-07  Andreas Jaeger  <aj@suse.de>
11828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11829         bits/mman-linux.h.
11831 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11833         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11834         Include mpa.h and declare __MPEXP.
11835         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11836         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11837         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11838         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11839         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11840         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11841         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11843         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11844         (__slowpow): Use long double EXPL and LOGL functions to
11845         compute POW.
11846         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11847         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11848         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11849         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11850         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11851         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11854         intermediate variable to calculate exponent.
11855         (__sqr): Likewise.
11856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11857         Likewise.
11858         (__sqr): Likewise.
11860         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11861         [!NO__SQR]: Define __sqr.
11862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11863         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11864         sysdeps/ieee754/dbl-64/mpa.c.
11865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11867         [BZ #12723]
11868         * posix/Makefile (tests): Add tst-pathconf.
11869         * posix/tst-pathconf.c: New test case.
11870         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11871         _PC_PIPE_BUF.
11872         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11874 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11876         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11878 2013-03-06  Andreas Jaeger  <aj@suse.de>
11880         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11881         definition via __MAP_ANONYMOUS.
11883         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11884         it's not part of Linux headers.
11886         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11887         (MAP_HUGE_MASK): Define.
11889         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11890         Define.
11891         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11892         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11893         Define.
11894         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11895         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11896         Define.
11897         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11898         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11899         Define.
11900         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11902         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11903         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11904         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11905         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11906         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11907         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11909         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11910         Handle f2fs.
11912         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11913         Handle f2fs and efivarfs.
11915         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11916         f2fs.
11918         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11919         (EFIVARFS_MAGIC): Add.
11920         (F2FS_LINK_MAX): Add.
11922 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11924         * stdio-common/vfprintf.c: Replace __builtin_expect with
11925         __glibc_unlikely.
11927 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11929         [BZ #13550]
11930         * sysdeps/generic/bp-sym.h: Remove file.
11931         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11932         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11933         <bp-sym.h> and <bp-asm.h>.
11934         (__longjmp): Don't use BP_SYM.
11935         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11936         and <bp-asm.h>.
11937         (memcpy): Don't use BP_SYM.
11938         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11939         <bp-sym.h> and <bp-asm.h>.
11940         (memcpy): Don't use BP_SYM.
11941         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11942         <bp-asm.h>.
11943         (memcpy): Don't use BP_SYM.
11944         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11945         <bp-asm.h>.
11946         (memset): Don't use BP_SYM.
11947         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11948         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11949         (__bzero): Don't use BP_SYM.
11950         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11951         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11952         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11953         <bp-sym.h> and <bp-asm.h>.
11954         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11955         pointers.
11956         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11957         <bp-sym.h> and <bp-asm.h>.
11958         (memcpy): Don't use BP_SYM.
11959         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11960         <bp-sym.h> and <bp-asm.h>.
11961         (memset): Don't use BP_SYM.
11962         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11963         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11964         (__bzero): Don't use BP_SYM.
11965         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11966         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11967         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11968         <bp-sym.h> and <bp-asm.h>.
11969         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11970         pointers.
11971         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11972         <bp-sym.h> and <bp-asm.h>.
11973         (memcpy): Don't use BP_SYM.
11974         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11975         <bp-sym.h> and <bp-asm.h>.
11976         (memset): Don't use BP_SYM.
11977         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11978         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11979         (__bzero): Don't use BP_SYM.
11980         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11981         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11982         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11983         <bp-sym.h> and <bp-asm.h>.
11984         (__memchr): Don't use BP_SYM.
11985         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11986         <bp-sym.h> and <bp-asm.h>.
11987         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11988         pointers.
11989         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11990         <bp-sym.h> and <bp-asm.h>.
11991         (memcpy): Don't use BP_SYM.
11992         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11993         <bp-sym.h> and <bp-asm.h>.
11994         (__mempcpy): Don't use BP_SYM.
11995         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11996         <bp-sym.h> and <bp-asm.h>.
11997         (__memrchr): Don't use BP_SYM.
11998         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11999         <bp-sym.h> and <bp-asm.h>.
12000         (memset): Don't use BP_SYM.
12001         (__bzero): Likewise.
12002         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12003         <bp-sym.h> and <bp-asm.h>.
12004         (__rawmemchr): Don't use BP_SYM.
12005         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12006         <bp-sym.h> and <bp-asm.h>.
12007         (__STRCMP): Don't use BP_SYM.
12008         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12009         <bp-sym.h> and <bp-asm.h>.
12010         (strchr): Don't use BP_SYM.
12011         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12012         <bp-sym.h> and <bp-asm.h>.
12013         (__strchrnul): Don't use BP_SYM.
12014         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12015         <bp-sym.h> and <bp-asm.h>.
12016         (strlen): Don't use BP_SYM.
12017         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12018         <bp-sym.h> and <bp-asm.h>.
12019         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12020         pointers.
12021         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12022         <bp-sym.h> and <bp-asm.h>.
12023         (__strnlen): Don't use BP_SYM.
12024         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12025         <bp-sym.h> and <bp-asm.h>.
12026         (__GI__setjmp): Don't use BP_SYM.
12027         (_setjmp): Likewise.
12028         (__sigsetjmp): Likewise.
12029         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12030         (L(start_addresses)): Don't use BP_SYM.
12031         (_start): Likewise.
12032         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12033         <bp-asm.h>.
12034         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12035         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12036         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12037         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12038         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12039         <bp-asm.h>.
12040         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12041         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12042         about bounded pointers.
12043         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12044         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12045         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12046         <bp-asm.h>.
12047         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12048         about bounded pointers.  Remove GKM FIXME comments.
12049         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12050         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12051         <bp-asm.h>.
12052         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12053         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12054         Remove GKM FIXME comments.
12055         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12056         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12057         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12058         <bp-asm.h>.
12059         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12060         about bounded pointers.  Remove GKM FIXME comment.
12061         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12062         and <bp-asm.h>.
12063         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12064         pointers.
12065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12066         <bp-sym.h> and <bp-asm.h>.
12067         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12069         <bp-sym.h> and <bp-asm.h>.
12070         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12071         comment.
12073 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12075         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12076         call free(NULL).
12078 2013-03-05  David S. Miller  <davem@davemloft.net>
12080         * po/es.po: Update from translation team.
12082 2013-03-05  Andreas Jaeger  <aj@suse.de>
12084         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12085         <bits/mman-linux.h>.
12086         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12087         is fine.
12088         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12089         <bits/mman-linux.h> to end of file.
12090         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12091         is fine.
12092         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12093         <bits/mman-linux.h> to end of file.
12094         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12095         is fine.
12096         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12097         <bits/mman-linux.h> to end of file.
12099         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12100         (MCL_CURRENT, MCL_FUTURE): Define here.
12102 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12104         [BZ #15232]
12105         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12106         attribute_hidden.
12107         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12109 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12111         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12112         fourth parameter needed for rt_sigprocmask syscall.
12113         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12114         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12115         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12116         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12117         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12118         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12120 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12122         [BZ #13550]
12123         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12124         comment about bounded pointers.
12125         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12126         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12128 2013-03-04  Andreas Jaeger  <aj@suse.de>
12130         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12131         common definitions.
12133         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12134         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12135         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12136         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12137         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12138         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12140 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12142         [BZ #15055]
12143         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12144         __ieee754_sqrl instead of __sqrl.
12146 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12148         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12149         * sysdeps/powerpc/fpu_control.h: ... here.
12150         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12151         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12152         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12153         * sysdeps/powerpc/bits/mathinline.h: ... here.
12155 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12157         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12158         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12159         to just [NEED_DL_SYSINFO_DSO].
12160         * elf/dl-support.c: Likewise.
12161         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12162         * elf/rtld.c (dl_main): Likewise.
12163         * elf/setup-vdso.h (setup_vdso): Likewise.
12164         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12165         * sysdeps/unix/sysv/linux/dl-sysdep.c
12166         (_dl_discover_osversion): Likewise.
12168 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12170         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12171         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12173 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12175         * NEWS: Mention libm performance improvements and non-x86 PI
12176         futex support.
12178         * csu/libc-start.c (__pthread_initialize_minimal): Change
12179         function arguments.
12180         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12182 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12184         [BZ #13550]
12185         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12186         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12187         <bp-sym.h> and <bp-asm.h>.
12188         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12189         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12190         and <bp-asm.h>.
12191         (memcpy): Don't use BP_SYM.
12192         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12193         <bp-asm.h>.
12194         (__mpn_add_n): Don't use BP_SYM.
12195         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12196         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12197         and <bp-asm.h>.
12198         (__mpn_addmul_1): Don't use BP_SYM.
12199         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12200         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12201         <bp-sym.h>.
12202         (_setjmp): Don't use BP_SYM.
12203         (__novmx_setjmp): Likewise.
12204         (__GI__setjmp): Likewise.
12205         (__vmx_setjmp): Likewise.
12206         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12207         <bp-sym.h>.
12208         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12209         (__bzero): Don't use BP_SYM.
12210         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12211         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12212         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12213         <bp-sym.h> and <bp-asm.h>.
12214         (memcpy): Don't use BP_SYM.
12215         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12216         <bp-sym.h> and <bp-asm.h>.
12217         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12218         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12219         <bp-sym.h> and <bp-asm.h>.
12220         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12221         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12222         <bp-asm.h>.
12223         (__mpn_lshift): Don't use BP_SYM.
12224         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12225         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12226         <bp-asm.h>.
12227         (memset): Don't use BP_SYM.
12228         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12229         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12230         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12231         <bp-asm.h>.
12232         (__mpn_mul_1): Don't use BP_SYM.
12233         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12234         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12235         <bp-sym.h> and <bp-asm.h>.
12236         (memcmp): Don't use BP_SYM.
12237         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12238         <bp-sym.h> and <bp-asm.h>.
12239         (memcpy): Don't use BP_SYM.
12240         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12241         <bp-sym.h> and <bp-asm.h>.
12242         (memset): Don't use BP_SYM.
12243         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12244         <bp-sym.h> and <bp-asm.h>.
12245         (strncmp): Don't use BP_SYM.
12246         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12247         <bp-sym.h> and <bp-asm.h>.
12248         (memcpy): Don't use BP_SYM.
12249         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12250         <bp-sym.h> and <bp-asm.h>.
12251         (memset): Don't use BP_SYM.
12252         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12253         <bp-sym.h> and <bp-asm.h>.
12254         (__memchr): Don't use BP_SYM.
12255         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12256         <bp-sym.h> and <bp-asm.h>.
12257         (memcmp): Don't use BP_SYM.
12258         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12259         <bp-sym.h> and <bp-asm.h>.
12260         (memcpy): Don't use BP_SYM.
12261         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12262         <bp-sym.h> and <bp-asm.h>.
12263         (__mempcpy): Don't use BP_SYM.
12264         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12265         <bp-sym.h> and <bp-asm.h>.
12266         (__memrchr): Don't use BP_SYM.
12267         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12268         <bp-sym.h> and <bp-asm.h>.
12269         (memset): Don't use BP_SYM.
12270         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12271         <bp-sym.h> and <bp-asm.h>.
12272         (__rawmemchr): Don't use BP_SYM.
12273         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12274         <bp-sym.h> and <bp-asm.h>.
12275         (__STRCMP): Don't use BP_SYM.
12276         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12277         <bp-sym.h> and <bp-asm.h>.
12278         (strchr): Don't use BP_SYM.
12279         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12280         <bp-sym.h> and <bp-asm.h>.
12281         (__strchrnul): Don't use BP_SYM.
12282         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12283         <bp-sym.h> and <bp-asm.h>.
12284         (strlen): Don't use BP_SYM.
12285         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12286         <bp-sym.h> and <bp-asm.h>.
12287         (strncmp): Don't use BP_SYM.
12288         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12289         <bp-sym.h> and <bp-asm.h>.
12290         (__strnlen): Don't use BP_SYM.
12291         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12292         <bp-asm.h>.
12293         (__mpn_rshift): Don't use BP_SYM.
12294         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12295         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12296         <bp-sym.h> and <bp-asm.h>.
12297         (__sigsetjmp): Don't use BP_SYM.
12298         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12299         (L(start_addresses)): Don't use BP_SYM.
12300         (_start): Likewise.
12301         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12302         <bp-asm.h>.
12303         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12304         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12305         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12306         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12307         <bp-asm.h>.
12308         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12309         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12310         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12311         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12312         <bp-asm.h>.
12313         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12314         comments.
12315         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12316         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12317         <bp-asm.h>.
12318         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12319         FIXME comments.
12320         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12321         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12322         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12323         <bp-asm.h>.
12324         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12325         comment.
12326         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12327         and <bp-asm.h>.
12328         (strncmp): Don't use BP_SYM,
12329         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12330         <bp-asm.h>.
12331         (__mpn_sub_n): Don't use BP_SYM.
12332         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12333         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12334         and <bp-asm.h>.
12335         (__mpn_submul_1): Don't use BP_SYM.
12336         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12338         <bp-sym.h> and <bp-asm.h>.
12339         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12341         <bp-sym.h> and <bp-asm.h>.
12342         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12343         comment.
12345 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12348         Use ZK to minimize writes to Z.
12349         (sub_magnitudes): Simplify code a bit.
12350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12351         Use ZK to minimize writes to Z.
12352         (sub_magnitudes): Simplify code a bit.
12354 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12356         * csu/gmon-start.c: Add special exception to license text.
12358 2013-02-27  Richard Henderson  <rth@redhat.com>
12360         * scripts/config.guess: Update from config.git.
12361         * scripts/config.sub: Likewise.
12363 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12365         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12367         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12369         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12371         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12373         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12375 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12377         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12378         [$(build-shared = yes].
12380 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12382         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12383         (__mul): Reduce iterations for calculating mantissa.
12385         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12386         MPTWO.
12387         (__mpranred): Likewise.
12389         [BZ #15160]
12390         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12391         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12393 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12395         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12396         Define __attribute__.
12398 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12400         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12401         unused.
12402         * posix/regex_internal.h (__attribute): Remove.
12403         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12404         (re_string_context_at): Likewise.
12405         (bitset_not): Use __attribute__ and mark function as possibly
12406         unused.
12407         (bitset_merge): Likewise.
12408         (bitset_mask): Likewise.
12409         (re_string_char_size_at): Likewise.
12410         (re_string_wchar_at): Likewise.
12411         (re_string_elem_size_at): Likewise.
12413 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12415         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12416         code.
12417         (cc32): Likewise.
12419         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12420         (__acr): Likewise.
12421         (__cpy): Likewise.
12422         (norm): Likewise.
12423         (denorm): Likewise.
12424         (__dbl_mp): Likewise.
12425         (add_magnitudes): Likewise.
12426         (sub_magnitudes): Likewise.
12427         (__mul): Likewise.
12428         (__inv): Likewise.
12430         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12431         style.
12433         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12434         style.
12436         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12437         code.
12439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12440         up changes with default code.
12441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12442         Likewise.
12444 2013-02-24  Allan McRae  <allan@archlinux.org>
12446         * manual/socket.texi (The Internet Namespace): Order menu items
12447         to match that in the file.
12449         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12450         node listing of the info page menu.
12452 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12454         [BZ #13550]
12455         * sysdeps/i386/bp-asm.h: Remove file.
12456         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12457         (PARMS): Do not use macros from bp-asm.h.
12458         (S1): Likewise.
12459         (S2): Likewise.
12460         (SIZE): Likewise.
12461         (__mpn_add_n): Do not use BP_SYM
12462         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12463         "bp-asm.h".
12464         (PARMS): Do not use macros from bp-asm.h.
12465         (S1): Likewise.
12466         (SIZE): Likewise.
12467         (__mpn_addmul_1): Do not use BP_SYM
12468         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12469         "bp-asm.h".
12470         (PARMS): Do not use macros from bp-asm.h.
12471         (SIGMSK): Likewise.
12472         (_setjmp): Likewise.  Do not use BP_SYM.
12473         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12474         "bp-asm.h".
12475         (PARMS): Do not use macros from bp-asm.h.
12476         (SIGMSK): Likewise.
12477         (setjmp): Likewise.  Do not use BP_SYM.
12478         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12479         "bp-asm.h".
12480         (PARMS): Do not use macros from bp-asm.h.
12481         (__frexp): Do not use BP_SYM.
12482         (frexp): Likewise.
12483         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12484         "bp-asm.h".
12485         (PARMS): Do not use macros from bp-asm.h.
12486         (__frexpf): Do not use BP_SYM.
12487         (frexpf): Likewise.
12488         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12489         "bp-asm.h".
12490         (PARMS): Do not use macros from bp-asm.h.
12491         (__frexpl): Do not use BP_SYM.
12492         (frexpl): Likewise.
12493         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12494         "bp-asm.h".
12495         (PARMS): Do not use macros from bp-asm.h.
12496         (__remquo): Do not use BP_SYM.
12497         (remquo): Likewise.
12498         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12499         "bp-asm.h".
12500         (PARMS): Do not use macros from bp-asm.h.
12501         (__remquof): Do not use BP_SYM.
12502         (remquof): Likewise.
12503         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12504         "bp-asm.h".
12505         (PARMS): Do not use macros from bp-asm.h.
12506         (__remquol): Do not use BP_SYM.
12507         (remquol): Likewise.
12508         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12509         "bp-asm.h".
12510         (PARMS): Do not use macros from bp-asm.h.
12511         (DEST): Likewise.
12512         (SRC): Likewise.
12513         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12514         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12515         "bp-asm.h".
12516         (PARMS): Do not use macros from bp-asm.h.
12517         (strlen): Do not use BP_SYM.
12518         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12519         "bp-asm.h".
12520         (PARMS): Do not use macros from bp-asm.h.
12521         (S1): Likewise.
12522         (S2): Likewise.
12523         (SIZE): Likewise.
12524         (__mpn_add_n): Do not use BP_SYM.
12525         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12526         "bp-asm.h".
12527         (PARMS): Do not use macros from bp-asm.h.
12528         (S1): Likewise.
12529         (SIZE): Likewise.
12530         (__mpn_addmul_1): Do not use BP_SYM.
12531         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12532         weak_alias.
12533         (bzero): Likewise.
12534         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12535         "bp-asm.h".
12536         (PARMS): Do not use macros from bp-asm.h.
12537         (S): Likewise.
12538         (SIZE): Likewise.
12539         (__mpn_lshift): Do not use BP_SYM.
12540         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12541         "bp-asm.h".
12542         (PARMS): Do not use macros from bp-asm.h.
12543         (DEST): Likewise.
12544         (SRC): Likewise.
12545         (LEN): Likewise.
12546         (memcpy): Likewise.  Do not use BP_SYM.
12547         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12548         libc_hidden_def and weak_alias.
12549         (mempcpy): Do not use BP_SYM in weak_alias.
12550         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12551         "bp-asm.h".
12552         (PARMS): Do not use macros from bp-asm.h.
12553         (DEST): Likewise.
12554         (LEN): Likewise.
12555         [!BZERO_P] (CHR): Likewise.
12556         (memset): Likewise.  Do not use BP_SYM.
12557         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12558         "bp-asm.h".
12559         (PARMS): Do not use macros from bp-asm.h.
12560         (S1): Likewise.
12561         (SIZE): Likewise.
12562         (__mpn_mul_1): Do not use BP_SYM.
12563         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12564         "bp-asm.h".
12565         (PARMS): Do not use macros from bp-asm.h.
12566         (S): Likewise.
12567         (SIZE): Likewise.
12568         (__mpn_rshift): Do not use BP_SYM.
12569         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12570         "bp-asm.h".
12571         (PARMS): Do not use macros from bp-asm.h.
12572         (STR): Likewise.
12573         (CHR): Likewise.
12574         (strchr): Likewise.  Do not use BP_SYM.
12575         (index): Do not use BP_SYM in weak_alias.
12576         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12577         "bp-asm.h".
12578         (PARMS): Do not use macros from bp-asm.h.
12579         (DEST): Likewise.
12580         (SRC): Likewise.
12581         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12582         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12583         "bp-asm.h".
12584         (PARMS): Do not use macros from bp-asm.h.
12585         (strlen): Do not use BP_SYM.
12586         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12587         "bp-asm.h".
12588         (PARMS): Do not use macros from bp-asm.h.
12589         (S1): Likewise.
12590         (S2): Likewise.
12591         (SIZE): Likewise.
12592         (__mpn_sub_n): Do not use BP_SYM.
12593         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12594         "bp-asm.h".
12595         (PARMS): Do not use macros from bp-asm.h.
12596         (S1): Likewise.
12597         (SIZE): Likewise.
12598         (__mpn_submul_1): Do not use BP_SYM.
12599         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12600         "bp-asm.h".
12601         (PARMS): Do not use macros from bp-asm.h.
12602         (S1): Likewise.
12603         (S2): Likewise.
12604         (SIZE): Likewise.
12605         (__mpn_add_n): Do not use BP_SYM.
12606         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12607         weak_alias.
12608         (bzero): Likewise.
12609         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12610         "bp-asm.h".
12611         (PARMS): Do not use macros from bp-asm.h.
12612         (BLK2): Likewise.
12613         (LEN): Likewise.
12614         (memcmp): Do not use BP_SYM.
12615         (bcmp): Do not use BP_SYM in weak_alias.
12616         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12617         "bp-asm.h".
12618         (PARMS): Do not use macros from bp-asm.h.
12619         (DEST): Likewise.
12620         (SRC): Likewise.
12621         (LEN): Likewise.
12622         (memcpy): Likewise.  Do not use BP_SYM.
12623         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12624         "bp-asm.h".
12625         (PARMS): Do not use macros from bp-asm.h.
12626         (DEST): Likewise.
12627         (SRC): Likewise.
12628         (LEN): Likewise.
12629         (memmove): Likewise.  Do not use BP_SYM.
12630         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12631         "bp-asm.h".
12632         (PARMS): Do not use macros from bp-asm.h.
12633         (DEST): Likewise.
12634         (SRC): Likewise.
12635         (LEN): Likewise.
12636         (__mempcpy): Likewise.  Do not use BP_SYM.
12637         (mempcpy): Do not use BP_SYM in weak_alias.
12638         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12639         "bp-asm.h".
12640         (PARMS): Do not use macros from bp-asm.h.
12641         (DEST): Likewise.
12642         (LEN): Likewise.
12643         [!BZERO_P] (CHR): Likewise.
12644         (memset): Likewise.  Do not use BP_SYM.
12645         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12646         "bp-asm.h".
12647         (PARMS): Do not use macros from bp-asm.h.
12648         (STR2): Likewise.
12649         (strcmp): Do not use BP_SYM.
12650         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12651         "bp-asm.h".
12652         (PARMS): Do not use macros from bp-asm.h.
12653         (STR): Likewise.
12654         (DELIM): Likewise.
12655         [USE_AS_STRTOK_R] (SAVE): Likewise.
12656         (FUNCTION): Likewise.  Do not use BP_SYM.
12657         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12658         aliases.
12659         (strtok_r): Likewise.
12660         (__GI___strtok_r): Likewise.
12661         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12662         (PARMS): Do not use macros from bp-asm.h.
12663         (S): Likewise.
12664         (SIZE): Likewise.
12665         (__mpn_lshift): Do not use BP_SYM.
12666         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12667         (PARMS): Do not use macros from bp-asm.h.
12668         (STR): Likewise.
12669         (CHR): Likewise.
12670         (__memchr): Do not use BP_SYM.
12671         (memchr): Do not use BP_SYM in weak_alias.
12672         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12673         (PARMS): Do not use macros from bp-asm.h.
12674         (BLK2): Likewise.
12675         (LEN): Likewise.
12676         (memcmp): Do not use BP_SYM.
12677         (bcmp): Do not use BP_SYM in weak_alias.
12678         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12679         (PARMS): Do not use macros from bp-asm.h.
12680         (S1): Likewise.
12681         (SIZE): Likewise.
12682         (__mpn_mul_1): Do not use BP_SYM.
12683         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12684         "bp-asm.h".
12685         (PARMS): Do not use macros from bp-asm.h.
12686         (STR): Likewise.
12687         (CHR): Likewise.
12688         (__rawmemchr): Do not use BP_SYM.
12689         (rawmemchr): Do not use BP_SYM in weak_alias.
12690         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12691         (PARMS): Do not use macros from bp-asm.h.
12692         (S): Likewise.
12693         (SIZE): Likewise.
12694         (__mpn_rshift): Do not use BP_SYM.
12695         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12696         (PARMS): Do not use macros from bp-asm.h.
12697         (SIGMSK): Likewise.
12698         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12699         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12700         (_start): Do not use BP_SYM.
12701         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12702         (PARMS): Do not use macros from bp-asm.h.
12703         (DEST): Likewise.
12704         (SRC): Likewise.
12705         (__stpcpy): Likewise.  Do not use BP_SYM.
12706         (stpcpy): Do not use BP_SYM in weak_alias.
12707         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12708         "bp-asm.h".
12709         (PARMS): Do not use macros from bp-asm.h.
12710         (DEST): Likewise.
12711         (SRC): Likewise.
12712         (LEN): Likewise.
12713         (__stpncpy): Likewise.  Do not use BP_SYM.
12714         (stpncpy): Do not use BP_SYM in weak_alias.
12715         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12716         (PARMS): Do not use macros from bp-asm.h.
12717         (STR): Likewise.
12718         (CHR): Likewise.
12719         (strchr): Likewise.  Do not use BP_SYM.
12720         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12721         "bp-asm.h".
12722         (PARMS): Do not use macros from bp-asm.h.
12723         (STR): Likewise.
12724         (CHR): Likewise.
12725         (__strchrnul): Likewise.  Do not use BP_SYM.
12726         (strchrnul): Do not use BP_SYM in weak_alias.
12727         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12728         "bp-asm.h".
12729         (PARMS): Do not use macros from bp-asm.h.
12730         (STOP): Likewise.
12731         (strcspn): Do not use BP_SYM.
12732         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12733         "bp-asm.h".
12734         (PARMS): Do not use macros from bp-asm.h.
12735         (STR): Likewise.
12736         (STOP): Likewise.
12737         (strpbrk): Likewise.  Do not use BP_SYM.
12738         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12739         "bp-asm.h".
12740         (PARMS): Do not use macros from bp-asm.h.
12741         (STR): Likewise.
12742         (CHR): Likewise.
12743         (strrchr): Likewise.  Do not use BP_SYM.
12744         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12745         (PARMS): Do not use macros from bp-asm.h.
12746         (SKIP): Likewise.
12747         (strspn): Do not use BP_SYM.
12748         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12749         (PARMS): Do not use macros from bp-asm.h.
12750         (STR): Likewise.
12751         (DELIM): Likewise.
12752         (SAVE): Likewise.
12753         (FUNCTION): Likewise.  Do not use BP_SYM.
12754         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12755         aliases.
12756         (strtok_r): Likewise.
12757         (__GI___strtok_r): Likewise.
12758         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12759         (PARMS): Do not use macros from bp-asm.h.
12760         (S1): Likewise.
12761         (S2): Likewise.
12762         (SIZE): Likewise.
12763         (__mpn_sub_n): Do not use BP_SYM.
12764         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12765         "bp-asm.h".
12766         (PARMS): Do not use macros from bp-asm.h.
12767         (S1): Likewise.
12768         (SIZE): Likewise.
12769         (__mpn_submul_1): Do not use BP_SYM.
12770         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12771         <bp-sym.h>.
12772         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12773         and <bp-asm.h>.
12774         (PARMS): Do not use macros from bp-asm.h.
12775         (FLAGS): Likewise.
12776         (PTID): Likewise.
12777         (TLS): Likewise.
12778         (CTID): Likewise.
12779         (__clone): Do not use BP_SYM.
12780         (clone): Do not use BP_SYM in weak_alias.
12781         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12782         and <bp-asm.h>.
12783         (PARMS): Do not use macros from bp-asm.h.
12784         (LEN): Likewise.
12785         (__mmap64): Do not use BP_SYM.
12786         (mmap64): Do not use BP_SYM in weak_alias.
12787         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12788         <bp-sym.h> and <bp-asm.h>.
12789         (PARMS): Do not use macros from bp-asm.h.
12790         (__posix_fadvise64_l64): Do not use BP_SYM.
12791         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12792         (PARMS): Do not use macros from bp-asm.h.
12793         (NSOPS): Likewise.
12794         (semtimedop): Do not use BP_SYM.
12795         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12796         and <bp-asm.h>.
12798 2013-02-21  Allan McRae  <allan@archlinux.org>
12800         * manual/message.texi (Charset conversion in gettext):
12801         Move @end statement to beginning of line.
12803 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12806         static.
12807         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12808         Likewise.
12810         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12811         (denorm): Likewise.
12812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12815 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12817         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12818         tail-call to the resolved function if pltexit isn't needed.
12820 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12823         or Y being zero as being unlikely.
12824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12825         Likewise.
12827 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12829         * manual/nss.texi (System Databases and Name Service Switch):
12830         Remove frobnicate @pxref.
12832 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12834         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12835         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12837 2013-02-20  Petr Machata  <pmachata@redhat.com>
12839         * elf/elf.h (R_ARM_TARGET1): New macro.
12840         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12841         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12842         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12843         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12844         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12845         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12846         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12847         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12848         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12849         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12850         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12851         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12852         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12853         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12854         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12855         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12856         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12857         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12858         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12859         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12860         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12861         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12862         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12863         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12864         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12865         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12866         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12867         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12868         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12869         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12870         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12871         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12872         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12873         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12874         (R_ARM_THM_GOT_BREL12): Likewise.
12875         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12876         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12877         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12878         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12879         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12880         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12881         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12882         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12883         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12885 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12887         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12888         __attribute_used__ to __attribute__ ((unused)).
12890 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12892         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12893         powerpc mpa.c.
12894         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12895         comment formatting.
12896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12898 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12900         [BZ #13550]
12901         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12902         Remove macro.
12903         (ENTER): Remove both macro definitions.
12904         (LEAVE): Likewise.
12905         (CHECK_BOUNDS_LOW): Likewise.
12906         (CHECK_BOUNDS_HIGH): Likewise.
12907         (CHECK_BOUNDS_BOTH): Likewise.
12908         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12909         (RETURN_BOUNDED_POINTER): Likewise.
12910         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12911         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12912         (POP_ERRNO_LOCATION_RETURN): Likewise.
12913         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12914         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12915         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12916         macros.
12917         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12918         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12919         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12920         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12921         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12922         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12923         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12924         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12925         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12926         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12927         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12928         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12929         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12930         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12931         removed macros.
12932         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12933         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12934         macros.
12935         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12936         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12937         * sysdeps/i386/i586/memset.S (memset): Likewise.
12938         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12939         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12940         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12941         macros.
12942         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12943         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12944         Change uses of L(2) to L(out).
12945         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12946         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12947         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12948         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12949         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12950         removed macros.
12951         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12952         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12953         macros.
12954         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12955         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12956         (RETURN): Do not use macro LEAVE.
12957         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12958         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12959         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12960         * sysdeps/i386/i686/memset.S (memset): Likewise.
12961         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12962         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12963         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12964         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12965         Likewise.
12966         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12967         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12968         L(1_2) and L(1_3) into L(1).
12969         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12970         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12971         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12972         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12973         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12974         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12975         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12976         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12977         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12978         macros.
12979         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12980         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12981         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12982         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12983         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12984         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12985         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12986         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12987         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12988         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12989         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12990         * sysdeps/i386/strspn.S (strspn): Likewise.
12991         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12992         conditional code.
12993         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12994         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12995         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12996         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12997         L(1_3) into L(1_1).
12998         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12999         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13000         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13001         macros.
13002         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13004 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13006         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13007         macro.
13009 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13011         * math/atest-exp.c (exp_mpn): Remove ROUND.
13012         * math/atest-exp2.c (exp_mpn): Likewise.
13013         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13015         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13016         * stdlib/tst-tls-atexit-lib.c: Likewise.
13017         * stdlib/tst-tls-atexit.c: Likewise.
13019 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13021         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13022         and __attribute_alloc_size__.
13024 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13026         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13027         __attribute_alloc_size__.
13028         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13029         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13031 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13033         * include/programs/xmalloc.h: New file.
13034         * catgets/gencat.c: Include it.
13035         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13036         * elf/pldd.c: Likewise.
13037         * iconv/iconv_charmap.c: Likewise.
13038         * iconv/iconvconfig.c: Likewise.
13039         * iconv/strtab.c: Likewise.
13040         * locale/programs/locale.c: Likewise.
13041         * locale/programs/localedef.h: Likewise.
13042         * locale/programs/simple-hash.c: Likewise.
13043         * nscd/nscd.h: Likewise.
13044         * nss/makedb.c: Likewise.
13045         * sysdeps/generic/ldconfig.h: Likewise.
13047 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13049         * Versions.def: Add GLIBC_2.18.
13050         * include/link.h (struct link_map): New member l_tls_dtor_count.
13051         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13052         (__call_tls_dtors): Likewise.
13053         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13054         __cxa_thread_atexit_impl.
13055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13056         Likewise.
13057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13058         Likewise.
13059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13060         Likewise.
13061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13062         Likewise.
13063         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13065         Likewise.
13066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13067         Likewise.
13068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13070         Likewise.
13071         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13072         (tests): Add test case tst-tls-atexit.
13073         (modules-names): Add shared library for tst-tls-atexit.
13074         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13075         (GLIBC_PRIVATE): Add __call_tls_dtors.
13076         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13077         for libstdc++.
13078         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13079         * stdlib/tst-tls-atexit.c: New test case.
13080         * stdlib/tst-tls-atexit-lib.c: New test case.
13082         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13084         * elf/Versions (ld): Add _dl_find_dso_for_object.
13085         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13086         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13087         (dl_open_worker): Use _dl_find_dso_for_object.
13088         * elf/dl-sym.c (do_sym): Likewise.
13089         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13091 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13093         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13094         Syntactic changes only.
13095         (_dl_runtime_profile): Do a tail-call to the resolved function.
13097 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13099         [BZ #13550]
13100         * sysdeps/x86_64/bp-asm.h: Remove file.
13101         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13102         <bp-sym.h> and <bp-asm.h>.
13103         (__clone): Do not use BP_SYM.
13104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13105         <bp-sym.h> and <bp-asm.h>.
13106         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13107         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13108         "bp-asm.h".
13109         (_setjmp): Do not use BP_SYM.
13110         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13111         "bp-asm.h".
13112         (setjmp): Do not use BP_SYM.
13113         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13114         libc_hidden_def.
13115         (mempcpy): Do not use BP_SYM in weak_alias.
13116         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13117         "bp-asm.h".
13118         (strchr): Do not use BP_SYM.
13119         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13120         "bp-asm.h".
13121         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13122         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13123         (_start): Do not use BP_SYM.
13124         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13125         "bp-asm.h".
13126         (strcat): Do not use BP_SYM.
13127         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13128         "bp-asm.h".
13129         (STRCMP): Do not use BP_SYM.
13130         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13131         "bp-asm.h".
13132         (STRCPY): Do not use BP_SYM.
13133         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13134         "bp-asm.h".
13135         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13136         "bp-asm.h".
13137         (FUNCTION): Do not use BP_SYM.
13138         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13139         weak_alias.
13140         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13142 2013-02-17  Andreas Jaeger  <aj@suse.de>
13144         * time/Versions: Sort entries.
13145         * string/Versions: Likewise.
13146         * resolv/Versions: Likewise.
13147         * posix/Versions: Likewise.
13148         * iconv/Versions: Likewise.
13149         * elf/Versions: Likewise.
13150         * wcsmbs/Versions: Likewise.
13152 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13154         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13155         loop termination condition.
13157         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13158         variable to calculate EZ.
13159         (__sqr): Likewise.
13161         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13162         the lower precision input.
13164 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13166         [BZ #13550]
13167         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13168         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13169         (run-via-rtld-prefix): Do not handle %-bp tests.
13170         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13171         (all-object-suffixes): Remove .ob.
13172         (bppfx): Remove variable.
13173         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13174         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13175         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13176         [$(build-bounded) = yes] (libtype.ob): Likewise.
13177         * Makerules (elide-routines.ob): Remove variable.
13178         (do-tests-clean): Do not handle *-bp.out.
13179         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13180         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13181         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13182         (tests): Do not include $(tests-bp.out).
13183         (xtests): Do not include $(xtests-bp.out).
13184         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13185         [$(build-bounded) = yes] ($(addprefix
13186         $(objpfx),$(binaries-bounded))): Remove rule.
13187         ($(objpfx)%-bp.out): Remove rule.
13188         * config.make.in (build-bounded): Remove variable.
13189         * crypt/Makefile [$(build-bounded) = yes]
13190         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13191         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13192         append to variable.
13193         [$(build-bounded) = yes] (install-lib): Likewise.
13194         [$(build-bounded) = yes] (generated): Likewise.
13195         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13196         Remove rule.
13197         * intl/Makefile [$(build-bounded) = yes]
13198         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13199         * math/Makefile [$(build-bounded) = yes]
13200         ($(tests:%=$(objpfx)%-bp): Likewise.
13201         * misc/Makefile [$(build-bounded) = yes]
13202         ($(objpfx)tst-tsearch-bp): Likewise.
13203         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13204         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13205         Remove dependency.
13206         * string/Makefile (o-objects.ob): Remove variable.
13207         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13208         (CFLAGS-.ob): Remove variable.
13209         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13210         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13211         both definitions of variable.
13212         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13213         (ASFLAGS-.ob): Remove variable.
13215 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13217         [BZ #13550]
13218         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13219         Remove __BOUNDED_POINTERS__ from condition.
13220         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13221         * string/bits/string2.h [!__NO_STRING_INLINES &&
13222         !__BOUNDED_POINTERS__]: Likewise.
13223         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13224         Likewise.
13225         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13226         Remove conditional code.
13227         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13228         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13229         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13230         condition.
13232         [BZ #13550]
13233         * csu/libc-start.c: Do not include <bp-sym.h>.
13234         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13235         * elf/dl-open.c: Do not include <bp-sym.h>.
13236         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13237         * math/fegetenv.c: Do not include <bp-sym.h>.
13238         (fegetenv): Do not use BP_SYM in versioned symbols.
13239         * nptl/sysdeps/pthread/bits/libc-lockP.h
13240         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13241         <bp-sym.h>.
13242         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13243         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13244         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13245         (__pthread_mutex_destroy): Likewise.
13246         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13247         (__pthread_mutex_lock): Likewise.
13248         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13249         (__pthread_mutex_trylock): Likewise.
13250         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13251         (__pthread_mutex_unlock): Likewise.
13252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13253         (__pthread_mutexattr_init): Likewise.
13254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13255         (__pthread_mutexattr_destroy): Likewise.
13256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13257         (__pthread_mutexattr_settype): Likewise.
13258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13259         (__pthread_rwlock_init): Likewise.
13260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13261         (__pthread_rwlock_destroy): Likewise.
13262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13263         (__pthread_rwlock_rdlock): Likewise.
13264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13265         (__pthread_rwlock_tryrdlock): Likewise.
13266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13267         (__pthread_rwlock_wrlock): Likewise.
13268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13269         (__pthread_rwlock_trywrlock): Likewise.
13270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13271         (__pthread_rwlock_unlock): Likewise.
13272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13273         (__pthread_key_create): Likewise.
13274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13275         (__pthread_setspecific): Likewise.
13276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13277         (__pthread_getspecific): Likewise.
13278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13279         Likewise.
13280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13281         (_pthread_cleanup_push_defer): Likewise.
13282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13283         (_pthread_cleanup_pop_restore): Likewise.
13284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13285         (pthread_setcancelstate): Likewise.
13286         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13287         <bp-sym.h>.
13288         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13289         (memchr): Do not use BP_SYM in weak_alias.
13290         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13291         (fegetenv): Do not use BP_SYM in versioned symbols.
13292         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13293         (fesetenv): Do not use BP_SYM in versioned symbols.
13294         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13295         (feupdateenv): Do not use BP_SYM in versioned symbols.
13296         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13297         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13298         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13299         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13300         (open64): Do not use BP_SYM in weak_alias.
13301         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13302         (fegetenv): Do not use BP_SYM in versioned symbols.
13303         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13304         (fesetenv): Do not use BP_SYM in versioned symbols.
13305         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13306         (feupdateenv): Do not use BP_SYM in versioned symbols.
13307         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13308         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13309         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13310         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13311         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13312         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13313         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13314         <bp-sym.h>.
13315         (__libc_start_main): Do not use BP_SYM.
13317 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13320         redundant return line.
13321         (norm): Likewise.
13322         (denorm): Likewise.
13323         (dbl_mp): Likewise.
13324         (sub_magnitudes): Likewise.
13325         (__add): Likewise.
13326         (__sub): Likewise.
13327         (__mul): Likewise.
13328         (__inv): Likewise.
13329         (__dvd): Likewise.
13330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13331         (norm): Likewise.
13332         (denorm): Likewise.
13333         (dbl_mp): Likewise.
13334         (sub_magnitudes): Likewise.
13335         (__add): Likewise.
13336         (__sub): Likewise.
13337         (__mul): Likewise.
13338         (__inv): Likewise.
13339         (__dvd): Likewise.
13341         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13342         instead of __mul.
13343         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13344         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13345         (cc32): Likewise.
13347         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13348         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13349         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13350         of __mul for squares.
13351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13352         function
13353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13354         Likewise.
13355         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13356         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13358 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13360         [BZ #13550]
13361         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13362         code.
13363         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13364         prototype or function definition.  Rename ubp_* variables and
13365         parameters.  Remove argv definitions conditional on
13366         [__BOUNDED_POINTERS__].
13367         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13368         * elf/dl-runtime.c (_dl_fixup): Likewise.
13369         * include/set-hooks.h (RUN_HOOK): Likewise.
13370         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13371         definition.
13372         * string/strcpy.c (strcpy): Do not use __unbounded.
13373         * sysdeps/generic/frame.h (struct layout): Likewise.
13374         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13375         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13376         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13377         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13378         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13379         (__backtrace): Likewise.
13380         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13381         use __ptrvalue.
13382         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13383         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13384         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13385         Likewise.
13386         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13387         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13388         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13389         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13390         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13391         Do not use __unbounded.
13392         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13393         Rename __unboundedrlimits parameter to rlimits in prototype.
13394         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13395         Do not use __unbounded.
13396         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13397         not use __ptrvalue.
13398         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13399         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13400         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13401         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13402         __ptrvalue or __unbounded.
13403         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13404         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13405         use __unbounded.
13406         (__new_msgctl): Do not use __ptrvalue.
13407         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13408         __unbounded.
13409         (__libc_msgrcv): Do not use __ptrvalue.
13410         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13411         startup_info): Do not use __unbounded.
13412         (__libc_start_main): Likewise.  Rename ubp_* variables and
13413         parameters.  Remove argv definitions conditional on
13414         [__BOUNDED_POINTERS__].
13415         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13416         __ptrvalue.
13417         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13418         use __unbounded.
13419         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13420         or __ptrvalue.
13421         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13422         use __unbounded.
13423         (__new_shmctl): Do not use __ptrvalue.
13424         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13425         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13426         Likewise.
13427         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13428         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13429         (__libc_sigaction): Likewise.
13430         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13431         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13432         Likewise.
13433         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13435 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13437         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13439         * string/mempcpy.c: Implement by calling memcpy.
13441 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13443         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13445         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13446         evaluation.
13448         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13449         values in the mantissa.
13451         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13452         minimize writes to Z.
13453         (sub_magnitudes): Simplify code a bit.
13455 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13457         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13458         from the message.  The linker prefixes all warnings with that already.
13460 2013-02-12  Andreas Schwab  <schwab@suse.de>
13462         [BZ #15078]
13463         * posix/regexec.c (extend_buffers): Add parameter min_len.
13464         (check_matching): Pass minimum needed length.
13465         (clean_state_log_if_needed): Likewise.
13466         (get_subexp): Likewise.
13467         * posix/Makefile (tests): Add bug-regex34.
13468         (bug-regex34-ENV): Define.
13469         * posix/bug-regex34.c: New file.
13471         [BZ #11561]
13472         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13473         elements compare against the byte sequence of it, not its name.
13474         * posix/Makefile (tests): Add bug-regex35.
13475         (bug-regex35-ENV): Define.
13476         * posix/bug-regex35.c: New file.
13478 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13480         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13481         comment.
13482         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13483         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13484         (CHECK_EOL): Add undef.
13486 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13488         * bits/stdlib-bsearch.h: New file.
13489         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13490         * stdlib/stdlib.h: Likewise.
13492 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13494         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13495         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13496         declaration.
13497         * manual/search.texi (Array Search Function): Add missing const in
13498         lfind prototype.
13499         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13500         declaration to use rlim_t.
13501         (Basic Scheduling Functions): Remove erroneous const from
13502         sched_getparam prototype.  Remove erroneous * from
13503         sched_get_priority_max and sched_get_priority_min prototypes.
13504         (Resource Usage): Fix summary @comment on vtimes to refer to
13505         sys/vtimes.h rather than vtimes.h.
13506         Add missing *s in vtimes prototype.
13507         (Limits on Resources): Fix ulimit prototype to return long int.
13508         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13509         prototypes to use long int rather than double.
13510         (BSD Random): Fix initstate and setstate to use char *, not void *.
13511         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13512         prototype to make second argument 'struct aiocb64 *const[]'.
13513         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13514         (Status of AIO Operations): Remove erroneous const in aio_return and
13515         aio_return64 prototypes.
13516         (Synchronizing I/O): Fix sync prototype to return void.
13517         * manual/startup.texi (Suboptions): Remove an erroneous const in
13518         getsubopt prototype.
13519         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13520         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13521         use size_t rather than int.
13522         (Scanning All Users): Likewise for getpwent_r.
13523         (Setting Groups): Add missing const to setgroups prototype.
13524         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13525         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13526         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13527         'const void *' rather than 'const char *'.
13528         (Host Address Functions): Likewise for inet_ntop.
13529         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13530         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13531         ssize_t for return value.
13532         (Sending Data): Likewise for send, sendto, sendmsg.
13533         (Socket Option Functions): Add a missing const in setsockopt prototype.
13534         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13535         use wchar_t for the argument.
13536         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13537         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13538         take no arguments.
13539         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13540         double/float/long double for second argument.
13541         Fix return types of significand, significandf, significandl.
13542         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13543         argument in fchmod prototype.
13544         (File Owner): Use uid_t and gid_t in fchown prototype.
13545         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13546         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13547         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13548         use 'const struct dirent **' as argument types to CMP function pointer
13549         argument.
13550         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13551         (File Times): Fix summary magic @comment for struct utimbuf and utime
13552         to refer to utime.h, not time.h.
13553         * manual/string.texi (Argz Functions): Add missing const in
13554         argz_extract and argz_next prototypes.
13555         (Finding Tokens in a String): Likewise for basename.
13556         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13557         (Copying and Concatenation): Fix typo in wmemmove prototype.
13558         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13559         (Signal Stack): Remove erroneous const in sigstack prototype.
13560         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13561         prototype.
13562         (Simple Calendar Time): Likewise for stime.
13563         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13564         prototype.
13565         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13566         say sys/sysctl.h instead.
13567         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13568         and vsyslog prototypes.
13570 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13572         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13573         Remove.
13575 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13577         * misc/sys/mman.h: Fix typo in mremap comment.
13579 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13581         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13582         the '\0' terminator.
13584 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13586         [BZ #13550]
13587         * debug/segfault.c: Don't include <bp-checks.h>.
13588         * sysdeps/generic/bp-checks.h: Remove file.
13589         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13590         (__GETDENTS): Don't use CHECK_N.
13591         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13592         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13593         (__getgroups): Don't use CHECK_N.
13594         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13595         (setgroups): Don't use CHECK_N.
13596         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13597         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13598         (__libc_msgrcv): Don't use CHECK_N.
13599         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13600         (__libc_msgsnd): Don't use CHECK_N.
13601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13602         <bp-checks.h>.
13603         (__libc_pread): Don't use CHECK_N.
13604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13605         include <bp-checks.h>.
13606         (__libc_pread64): Don't use CHECK_N.
13607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13608         include <bp-checks.h>.
13609         (__libc_pwrite): Don't use CHECK_N.
13610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13611         include <bp-checks.h>.
13612         (__libc_pwrite64): Don't use CHECK_N.
13613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13614         <bp-checks.h>.
13615         (__libc_pread): Don't use CHECK_N.
13616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13617         include <bp-checks.h>.
13618         (__libc_pread64): Don't use CHECK_N.
13619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13620         include <bp-checks.h>.
13621         (__libc_pwrite): Don't use CHECK_N.
13622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13623         include <bp-checks.h>.
13624         (__libc_pwrite64): Don't use CHECK_N.
13625         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13626         (do_pread): Don't use CHECK_N.
13627         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13628         (do_pread64): Don't use CHECK_N.
13629         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13630         (do_pwrite): Don't use CHECK_N.
13631         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13632         (do_pwrite64): Don't use CHECK_N.
13633         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13634         (__libc_readv): Don't use CHECK_N.
13635         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13636         (semop): Don't use CHECK_N.
13637         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13638         <bp-checks.h>.
13639         (semtimedop): Don't use CHECK_N.
13640         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13641         (__libc_pread): Don't use CHECK_N.
13642         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13643         <bp-checks.h>.
13644         (__libc_pread64): Don't use CHECK_N.
13645         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13646         <bp-checks.h>.
13647         (__libc_pwrite): Don't use CHECK_N.
13648         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13649         <bp-checks.h>.
13650         (__libc_pwrite64): Don't use CHECK_N.
13651         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13652         <bp-checks.h>.
13653         (__libc_msgrcv): Don't use CHECK_N.
13654         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13655         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13656         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13657         (__libc_writev): Don't use CHECK_N.
13659 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13661         * string/strcpy.c: Removed unused variable.
13663         * Makeconfig (+sysdep-includes): Define with := rather than =.
13664         Use an existing include/ subdir of each sysdeps dir before it.
13666 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13668         * nscd/connection.c (register_traced_file): Comment function.
13669         [HAVE_INOTIFY] (union __inev): Define.
13670         [HAVE_INOTIFY] (inotify_check_files): New function.
13671         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13672         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13673         clear_db_cache.
13674         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13676 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13678         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13679         loaded if not already and that a failure is permanent.
13681 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13683         [BZ #15006]
13684         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13685         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13687 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13689         [BZ #13550]
13690         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13691         (CHECK_1_NULL_OK): Likewise.
13692         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13693         (__fxstat): Do not use CHECK_1.
13694         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13695         <bp-checks.h>.
13696         (___fxstat64): Do not use CHECK_1.
13697         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13698         <bp-checks.h>.
13699         (__fxstatat): Do not use CHECK_1.
13700         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13701         <bp-checks.h>.
13702         (__fxstatat64): Do not use CHECK_1.
13703         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13704         <bp-checks.h>.
13705         (__fxstat): Do not use CHECK_1.
13706         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13707         <bp-checks.h>.
13708         (__fxstatat): Do not use CHECK_1.
13709         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13710         <bp-checks.h>.
13711         (__getresgid): Do not use CHECK_1.
13712         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13713         <bp-checks.h>.
13714         (__getresuid): Do not use CHECK_1.
13715         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13716         <bp-checks.h>.
13717         (__lxstat): Do not use CHECK_1.
13718         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13719         <bp-checks.h>.
13720         (__old_msgctl): Do not use CHECK_1.
13721         (__new_msgctl): Likewise.
13722         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13723         <bp-checks.h>.
13724         (__new_setrlimit): Do not use CHECK_1.
13725         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13726         <bp-checks.h>.
13727         (__old_shmctl): Do not use CHECK_1.
13728         (__new_shmctl): Likewise.
13729         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13730         <bp-checks.h>.
13731         (__xstat): Do not use CHECK_1.
13732         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13733         (__lxstat): Do not use CHECK_1.
13734         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13735         <bp-checks.h>.
13736         (___lxstat64): Do not use CHECK_1.
13737         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13738         (__old_msgctl): Do not use CHECK_1.
13739         (__new_msgctl): Likewise.
13740         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13741         <bp-checks.h>.
13742         (__gettimeofday): Do not use CHECK_1.
13743         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13744         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13745         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13746         <bp-checks.h>.
13747         (__gettimeofday): Do not use CHECK_1.
13748         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13749         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13750         (__new_shmctl): Do not use CHECK_1.
13751         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13752         <bp-checks.h>.
13753         (do_sigtimedwait): Do not use CHECK_1.
13754         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13755         <bp-checks.h>.
13756         (do_sigwaitinfo): Do not use CHECK_1.
13757         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13758         <bp-checks.h>.
13759         (msgctl): Do not use CHECK_1.
13760         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13761         <bp-checks.h>.
13762         (shmctl): Do not use CHECK_1.
13763         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13764         (ustat): Do not use CHECK_1.
13765         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13766         <bp-checks.h>.
13767         (__fxstat): Do not use CHECK_1.
13768         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13769         <bp-checks.h>.
13770         (__fxstatat): Do not use CHECK_1.
13771         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13772         <bp-checks.h>.
13773         (__lxstat): Do not use CHECK_1.
13774         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13775         <bp-checks.h>.
13776         (__xstat): Do not use CHECK_1.
13777         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13778         (__xstat): Do not use CHECK_1.
13779         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13780         (___xstat64): Do not use CHECK_1.
13782         [BZ #13550]
13783         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13784         definitions.
13785         (CHECK_BOUNDS_HIGH): Likewise.
13786         * string/strcpy.c: Do not include <bp-checks.h>.
13787         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13789 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13791         * nscd/nscd-client.h (__nscd_drop_map_ref):
13792         Add __attribute__ ((unused)).
13793         * nis/nss-nisplus.h (niserr2nss): Likewise.
13795         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13796         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13798         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13799         Remove inline keyword.
13800         * include/rounding-mode.h (round_away): Likewise.
13801         * libio/wfileops.c (adjust_wide_data): Likewise.
13802         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13803         (__m128i_strloadu_tolower): Likewise.
13804         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13805         (__m128i_strloadu_tolower): Likewise.
13806         * time/mktime.c (ydhms_diff): Likewise.
13807         * locale/elem-hash.h (elem_hash): Likewise.
13808         * locale/setlocale.c (setdata): Likewise.
13809         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13810         (re_string_wchar_at): Likewise.
13811         (bitset_not, bitset_merge, bitset_mask): Likewise.
13812         [!(__GNUC__ > 3)] (inline): Remove macro.
13813         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13814         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13815         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13816         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13817         * string/memcmp.c (memcmp_bytes): Likewise.
13818         * locale/programs/locarchive.c (compute_hashval): Likewise.
13819         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13820         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13821         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13822         * nss/getent.c (print_rpc, print_protocols): Likewise.
13823         (print_passwd, print_group, print_aliases): Likewise.
13824         * nis/nss-nisplus.h (niserr2nss): Likewise.
13825         * nscd/connections.c (restart_p): Likewise.
13826         Change return type to bool.
13828 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13830         * Makeconfig (all-Depend-files): Add existing
13831         $(sorted-subdirs:=/Depend) files.
13832         (all-subdirs): Remove nss.
13833         * sysdeps/unix/inet/Subdirs: Add it here instead.
13834         * hesiod/Depend: New file.
13836         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13837         instead of calling alloca.
13839         * io/lseek.c (__lseek): Rename to __libc_lseek.
13840         Define __lseek as an alias.
13842         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13844 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13846         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13847         else clause and remove check for non-standard endianness.
13849 2013-02-04  David S. Miller  <davem@davemloft.net>
13851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13853 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13855         [BZ #13550]
13856         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13857         (__ubp_memchr): Remove prototype.
13858         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13859         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13860         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13861         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13862         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13863         Remove alias.
13864         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13865         (__ubp_memchr): Likewise.
13866         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13867         (__ubp_memchr): Likewise.
13868         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13869         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13870         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13871         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13872         CHECK_STRING.
13873         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13874         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13875         (__getcwd): Do not use CHECK_STRING.
13876         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13877         <bp-checks.h>.
13878         (__real_chown): Do not use CHECK_STRING.
13879         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13880         <bp-checks.h>.
13881         (fchownat): Do not use CHECK_STRING.
13882         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13883         CHECK_STRING.
13884         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13885         <bp-checks.h>.
13886         (__lchown): Do not use CHECK_STRING.
13887         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13888         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13889         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13890         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13892         include <bp-checks.h>.
13893         (truncate64): Do not use CHECK_STRING.
13894         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13895         <bp-checks.h>.
13896         (__real_chown): Do not use CHECK_STRING.
13897         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13898         <bp-checks.h>.
13899         (__lchown): Do not use CHECK_STRING.
13900         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13901         <bp-checks.h>.
13902         (__chown): Do not use CHECK_STRING.
13903         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13904         <bp-checks.h>.
13905         (truncate64): Do not use CHECK_STRING.
13906         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13907         Likewise.
13908         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13909         (__xmknod): Do not use CHECK_STRING.
13910         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13911         <bp-checks.h>.
13912         (__xmknodat): Do not use CHECK_STRING.
13913         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13914         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13916 2013-02-04  Andreas Schwab  <schwab@suse.de>
13918         [BZ #14142]
13919         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13920         * include/netdb.h: Likewise for h_errno.
13921         * elf/tst-stackguard1.c: Include <tls.h>.
13923 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13925         * elf/link.h (struct link_map): Extend the l_addr comment.
13926         * include/link.h (struct link_map): Likewise.
13928 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13930         [BZ #13550]
13931         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13932         (BOUNDED_1): Remove macro.
13933         * debug/backtrace.c: Don't include <bp-checks.h>.
13934         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13935         (__backtrace): Likewise.
13936         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13937         <bp-checks.h>.
13938         (__backtrace): Don't use BOUNDED_1.
13939         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13940         <bp-checks.h>.
13941         (__backtrace): Don't use BOUNDED_1.
13942         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13943         (__backtrace): Don't use BOUNDED_1.
13944         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13945         (shmat): Don't use BOUNDED_N.
13947 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13949         [BZ #13550]
13950         * sysdeps/generic/bp-start.h: Remove file.
13951         * csu/libc-start.c: Don't include <bp-start.h>.
13952         (LIBC_START_MAIN): Set up __environ directly instead of using
13953         INIT_ARGV_and_ENVIRON.
13954         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13955         <bp-start.h>.
13957         [BZ #13550]
13958         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13959         definitions.
13960         (CHECK_FCNTL): Likewise.
13961         (CHECK_N_PAGES): Likewise.
13963         [BZ #13550]
13964         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13965         definitions.
13966         (CHECK_SIGSET_NULL_OK): Likewise.
13967         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13968         <bp-checks.h>.
13969         (sigpending): Don't use CHECK_SIGSET.
13970         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13971         <bp-checks.h>.
13972         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13973         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13974         <bp-checks.h>.
13975         (do_sigsuspend): Don't use CHECK_SIGSET.
13976         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13977         use CHECK_SIGSET.
13978         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13979         (do_sigwait): Don't use CHECK_SIGSET.
13980         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13981         use CHECK_SIGSET.
13982         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13983         include <bp-checks.h>.
13984         (sigpending): Don't use CHECK_SIGSET.
13985         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13986         include <bp-checks.h>.
13987         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13988         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13989         <bp-checks.h>.
13990         (sigpending): Don't use CHECK_SIGSET.
13991         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13992         <bp-checks.h>.
13993         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13995         [BZ #13550]
13996         * sysdeps/generic/bp-semctl.h: Remove file.
13997         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13998         <bp-checks.h> and <bp-semctl.h>.
13999         (__old_semctl): Don't use CHECK_SEMCTL.
14000         (__new_semctl): Likewise.
14001         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14002         and <bp-semctl.h>.
14003         (__old_semctl): Don't use CHECK_SEMCTL.
14004         (__new_semctl): Likewise.
14005         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14006         <bp-checks.h> and <bp-semctl.h>.
14007         (__old_semctl): Don't use CHECK_SEMCTL.
14008         (__new_semctl): Likewise.
14009         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14010         <bp-checks.h> and <bp-semctl.h>.
14011         (semctl): Don't use CHECK_SEMCTL.
14013         [BZ #13550]
14014         * Makerules (elide-bp-thunks): Remove variable.
14015         (elide-routines.oS): Don't use $(elide-bp-thunks).
14016         (elide-routines.os): Likewise.
14017         (elide-routines.o): Likewise.
14018         (elide-routines.op): Likewise.
14019         (elide-routines.og): Likewise.
14020         (objects): Don't use $(bp-thunks).
14021         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14022         include.
14023         (common-generated): Do not add s-proto-bp.d.
14024         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14025         (int): Likewise.
14026         (typ): Likewise.
14027         Do not generate makefile rules for bounded-pointer thunks.
14028         * sysdeps/generic/bp-thunks.h: Remove file.
14029         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14030         * sysdeps/unix/s-proto-bp.S: Likewise.
14032         [BZ #15062]
14033         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14034         parts of result separately when argument is not close to line from
14035         -i to i and one part of argument is small.
14036         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14037         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14038         * math/libm-test.inc (cacos_test): Add more tests.
14039         (casin_test): Likewise.
14040         (casinh_test): Likewise.
14041         * sysdeps/i386/fpu/libm-test-ulps: Update.
14042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14044 2013-01-31  David S. Miller  <davem@davemloft.net>
14046         * po/de.po: Update from translation team.
14048 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14050         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14052 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14054         * configure.in (_AC_PROG_CC_C89): New definition.
14055         * configure: Regenerate.
14057         * configure.in (AC_PROG_CPP): New definition.
14058         * configure: Regenerate.
14060 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14062         * debug/tst-backtrace.h: New file.
14063         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14064         (ret): Remove variable.
14065         (x): Likewise.
14066         (FAIL): Remove macro.
14067         (NO_INLINE): Likewise.
14068         (fn1): Use match function instead of strstr.
14069         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14070         (ret): Remove variable.
14071         (x): Likewise.
14072         (FAIL): Remove macro.
14073         (NO_INLINE): Likewise.
14074         (fn): Use match function instead of strstr.
14075         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14076         (ret): Remove variable.
14077         (x): Likewise.
14078         (FAIL): Remove macro.
14079         (NO_INLINE): Likewise.
14080         (handle_signal): Use match function instead of strstr.
14081         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14082         (ret): Remove variable.
14083         (x): Likewise.
14084         (FAIL): Remove macro.
14085         (NO_INLINE): Likewise.
14086         (handle_signal): Use match function instead of strstr.
14088 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14090         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14092 2013-01-23  David S. Miller  <davem@davemloft.net>
14094         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14095         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14096         argument of CAS if possible.
14097         * sysdeps/sparc/sparc64/bits/atomic.h
14098         (__arch_compare_and_exchange_val_32_acq): Likewise.
14099         (__arch_compare_and_exchange_val_64_acq): Likewise.
14101 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14103         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14104         * sysdeps/posix/ulimit.c: ... this.
14105         Include <limits.h>.
14106         * sysdeps/unix/bsd/ulimit.c: Remove file.
14108 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14110         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14111         (LDFLAGS-tst-array5): Likewise.
14113 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14115         [BZ #15036]
14116         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14117         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14118         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14119         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14121 2013-01-21  David S. Miller  <davem@davemloft.net>
14123         * sysdeps/sparc/backtrace.c: New file.
14124         * sysdeps/sparc/sparc32/backtrace.h: New file.
14125         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14126         * sysdeps/sparc/sparc64/backtrace.h: New file.
14127         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14128         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14129         -funwind-tables.
14131 2013-01-21  Andreas Schwab  <schwab@suse.de>
14133         [BZ #15020]
14134         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14135         closed its stdout.
14137 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14140         "mpa2.h".
14141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14143 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14144             Mark Mitchell  <mark@codesourcery.com>
14145             Tom de Vries  <tom@codesourcery.com>
14146             Paul Pluzhnikov  <ppluzhnikov@google.com>
14148         * debug/tst-backtrace2.c: New file.
14149         * debug/tst-backtrace3.c: Likewise.
14150         * debug/tst-backtrace4.c: Likewise.
14151         * debug/tst-backtrace5.c: Likewise.
14152         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14153         (CFLAGS-tst-backtrace3.c): Likewise.
14154         (CFLAGS-tst-backtrace4.c): Likewise.
14155         (CFLAGS-tst-backtrace5.c): Likewise.
14156         (LDFLAGS-tst-backtrace2): Likewise.
14157         (LDFLAGS-tst-backtrace3): Likewise.
14158         (LDFLAGS-tst-backtrace4): Likewise.
14159         (LDFLAGS-tst-backtrace5): Likewise.
14160         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14161         tst-backtrace4 and tst-backtrace5.
14163 2013-01-18  Anton Blanchard  <anton@samba.org>
14164             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14166         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14167         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14168         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14169         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14171         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14172         "+r" and remove output regs list as redundant.  Add explicit inline
14173         asm to specify register of return val to work around compiler codegen
14174         bug.  Remove (int) cast on return value.  Add return type parameter to
14175         use in macro so that this macro does not truncate return value for
14176         64-bit values.
14177         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14178         pass to INTERNAL_VSYSCALL_NCS.
14179         (INLINE_VSYSCALL): Add 'long int' as return type to
14180         INTERNAL_VSYSCALL_NCS macro invocation.
14181         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14182         INTERNAL_VSYSCALL_NCS macro invocation.
14183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14185 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14187         [BZ #14496]
14188         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14189         Fix application of SIMD FP exception mask.
14191         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14192         mp_no from a power of two.
14193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14194         __mpexp_twomm1.  Use __pow_mp.
14196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14197         multiplication.
14199 2013-01-17  David S. Miller  <davem@davemloft.net>
14201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14203 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14205         [BZ #15023]
14206         * include/complex.h: Condition contents on [!_COMPLEX_H].
14207         (__kernel_casinhf): New prototype.
14208         (__kernel_casinh): Likewise.
14209         (__kernel_casinhl): Likewise.
14210         * math/Makefile (libm_calls): Add k_casinh.
14211         * math/k_casinh.c: New file.
14212         * math/k_casinhf.c: Likewise.
14213         * math/k_casinhl.c: Likewise.
14214         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14215         finite nonzero arguments.
14216         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14217         finite nonzero arguments.
14218         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14219         finite nonzero arguments.
14220         * math/s_casinh.c: Do not include <float.h>.
14221         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14222         * math/s_casinhf.c: Do not include <float.h>.
14223         (__casinhf): Move code for finite nonzero arguments to
14224         k_casinhf.c.
14225         * math/s_casinhl.c: Do not include <float.h>.
14226         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14227         redefine.
14228         (__casinhl): Move code for finite nonzero arguments to
14229         k_casinhl.c.
14230         * math/libm-test.inc (cacos_test): Add more tests.
14231         * sysdeps/i386/fpu/libm-test-ulps: Update.
14232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14234 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14236         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14237         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14238         [!HAVE_MREMAP]: Remove [defined linux] case.
14239         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14241 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14243         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14245 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14247         * elf/elf.h (R_386_SIZE32): New relocation.
14248         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14249         R_386_SIZE32.
14250         (elf_machine_rela): Likewise.
14251         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14252         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14254 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14256         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14257         (FP_FAST_FMA): Do not define.
14258         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14259         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14260         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14261         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14262         !_SOFT_FLOAT]: Likewise.
14263         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14264         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14265         value.
14266         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14267         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14268         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14269         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14270         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14271         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14272         file.
14274 2013-01-16  Andreas Schwab  <schwab@suse.de>
14276         [BZ #14327]
14277         * include/stdlib.h (__mktemp): Add declaration.
14278         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14279         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14281 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14283         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14284         definitions.
14285         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14286         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14287         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14288         definitions here.
14289         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14290         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14291         definitions.
14292         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14293         and ONE.
14294         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14295         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14296         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14297         definitions.
14298         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14299         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14300         definitions.
14301         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14303         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14305 2013-01-15  David S. Miller  <davem@davemloft.net>
14307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14308         trunc{,f} to libm-sysdep_routes.
14309         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14311         file.
14312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14314         file.
14315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14316         file.
14317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14319         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14320         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14321         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14322         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14323         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14324         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14327         nearbyint{,f} to libm-sysdep_routes.
14328         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14330         New file.
14331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14332         file.
14333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14334         New file.
14335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14336         file.
14337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14339         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14340         file.
14341         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14342         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14343         file.
14344         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14345         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14346         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14348         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14349         libc_feholdexcept and libc_fesetenv.
14351 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14353         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14355 2013-01-14  David S. Miller  <davem@davemloft.net>
14357         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14358         (SPARC_ASM_VIS2_IFUNC): Likewise.
14359         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14361         use of 'siam' instruction.
14362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14363         Likewise.
14364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14365         Likewise.
14366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14367         Likewise.
14368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14371         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14373         file.
14374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14375         file.
14376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14377         file.
14378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14379         file.
14380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14385         new VIS2 routines.
14386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14389         Likewise.
14390         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14392         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14395         routines to libm-sysdep_routines.
14396         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14399         fdim/fdimf to libm-sysdep_routines.
14400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14401         file.
14402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14404         file.
14405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14408         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14409         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14410         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14411         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14413 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14415         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14416         to optimize copies.
14418         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14420         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14423         local variable MPTWO.
14424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14425         Likewise.
14427 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14429         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14430         GLOB_NOESCAPE.
14432 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14434         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14436 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14438         * manual/pattern.texi (glob_t): Document gl_flags.
14439         (glob64_t): Likewise.
14441 2013-01-11  David S. Miller  <davem@davemloft.net>
14443         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14444         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14445         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14446         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14447         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14448         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14449         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14450         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14451         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14452         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14453         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14454         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14455         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14457         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14458         sparc V9 rather than using V8 code.
14459         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14460         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14462         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14463         Move to...
14464         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14465         Here.
14467 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14469         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14470         not in the main loop.
14471         * configure: Regenerated.
14473 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14475         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14476         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14477         to just #else.
14478         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14479         [!__GLIBC_HAVE_LONG_LONG] case.
14480         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14481         condition to just #else.
14482         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14483         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14484         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14485         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14486         unconditional.
14487         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14488         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14489         #elif condition to just #else.
14490         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14491         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14492         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14493         #elif condition to just #else.
14495 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14497         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14498         (EF_MIPS_ARCH_64): Fix value.
14499         (EF_MIPS_ARCH_32R2): New.
14500         (EF_MIPS_ARCH_64R2): New.
14502 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14504         * Makeconfig (+link-pie-before-libc): New.
14505         (+link-pie-after-libc): Likewise.
14506         (+link-pie-tests): Likewise.
14507         (+link-pie): Rewritten.
14508         (link-before-libc): Remove $(config-LDFLAGS).
14509         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14510         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14511         (config-LDFLAGS): Renamed to ...
14512         (rtld-LDFLAGS): This.
14513         (rtld-tests-LDFLAGS): New macro.
14514         (link-libc-rpath-link): Likewise.
14515         (link-libc-tests-rpath-link): Likewise.
14516         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14517         (link-libc): Prepand $(link-libc-rpath-link).
14518         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14519         (test-program-prefix): New macro.
14520         (test-via-rtld-prefix): Likewise.
14521         (test-program-cmd): Likewise.
14522         (host-test-program-cmd): Likewise.
14523         * Makefile ($(common-objpfx)testrun.sh): Replace
14524         $(run-program-prefix) with $(test-program-prefix).
14525         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14526         $(rtld-LDFLAGS).
14527         ($(common-objpfx)shlib.lds): Likewise.
14528         (build-module-helper): Likewise.
14529         ($(common-objpfx)format.lds): Likewise.
14530         * Rules (binaries-pie-tests): New.
14531         (binaries-pie-notests): Likewise.
14532         (binaries-pie): Rewritten.
14533         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14534         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14535         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14536         (make-test-out): Replace $(host-built-program-cmd) with
14537         $(host-test-program-cmd).
14538         * config.make.in (build-hardcoded-path-in-tests): New variable.
14539         * configure.in (--enable-hardcoded-path-in-tests): New configure
14540         option.
14541         (hardcoded_path_in_tests): New AC_SUBST.
14542         * configure: Regenerated.
14543         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14544         $(built-program-cmd) with $(test-program-cmd).
14545         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14546         (test_program_cmd): This.
14547         * elf/Makefile ($(objpfx)order.out): Run test with
14548         $(test-program-prefix).
14549         ($(objpfx)order2.out): Likewise.
14550         ($(objpfx)tst-initorder.out): Likewise.
14551         ($(objpfx)tst-initorder2.out): Likewise.
14552         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14553         $(test-program-cmd).
14554         ($(objpfx)tst-array1-static.out): Likewise.
14555         ($(objpfx)tst-array2.out): Likewise.
14556         ($(objpfx)tst-array3.out): Likewise.
14557         ($(objpfx)tst-array4.out): Likewise.
14558         ($(objpfx)tst-array5.out): Likewise.
14559         ($(objpfx)tst-array5-static.out): Likewise.
14560         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14561         $(test-program-cmd).
14562         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14563         $(run-program-prefix) with $(test-program-prefix).
14564         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14565         (test_program_prefix): This.
14566         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14567         $(run-program-prefix) with $(test-program-prefix).
14568         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14569         (test_program_prefix): This.
14570         * iconvdata/tst-tables.sh: Likewise.
14571         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14572         $(run-program-prefix) with $(test-program-prefix).
14573         ($(objpfx)tst-translit.out): Likewise.
14574         ($(objpfx)tst-gettext2.out): Likewise.
14575         ($(objpfx)tst-gettext4.out): Likewise.
14576         ($(objpfx)tst-gettext6.out): Likewise.
14577         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14578         (test_program_prefix): This.
14579         * intl/tst-gettext2.sh: Likewise.
14580         * intl/tst-gettext4.sh  Likewise.
14581         * intl/tst-gettext6.sh: Likewise.
14582         * intl/tst-translit.sh: Likewise.
14583         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14584         with $(test-program-cmd).
14585         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14586         $(run-program-prefix) with $(test-program-prefix).
14587         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14588         (test_program_prefix): This.
14589         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14590         $(run-program-prefix) with $(test-program-prefix).
14591         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14592         (test_program_prefix): This.
14593         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14594         * posix/Makefile ($(objpfx)globtest.out): Replace
14595         $(run-via-rtld-prefix) and $(test-wrapper) with
14596         $(test-program-prefix) and $(test-via-rtld-prefix).
14597         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14598         $(test-program-prefix).
14599         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14600         $(host-test-program-cmd).
14601         (tst-spawn-ARGS): Likewise.
14602         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14603         $(test-program-prefix).
14604         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14605         (test_via_rtld_prefix): This.
14606         (test_wrapper): Renamed to ...
14607         (test_program_prefix): This.
14608         (run_program_prefix): Replaced by test_program_prefix.
14609         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14610         (test_program_prefix): This.
14611         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14612         with $(host-test-program-cmd).
14613         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14614         $(run-program-prefix) with $(test-program-prefix).
14615         ($(objpfx)tst-printf.out): Likewise.
14616         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14617         $(test-program-cmd).
14618         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14619         (test_program_prefix): This.
14620         * stdio-common/tst-unbputc.sh: Likewise.
14621         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14622         $(run-program-prefix) with $(test-program-prefix).
14623         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14624         (test_program_prefix): This.
14625         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14626         $(built-program-cmd) with $(test-program-cmd).
14628 2013-01-11  Andreas Jaeger  <aj@suse.de>
14630         [BZ #15003]
14631         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14632         value. Sync with Linux 3.7.
14634 2013-01-10  David S. Miller  <davem@davemloft.net>
14636         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14637         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14638         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14640 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14642         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14643         never set.
14644         * configure: Regenerated.
14646 2013-01-10  David S. Miller  <davem@davemloft.net>
14648         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14649         sparc V9 rather than using V8 code.
14650         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14651         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14653 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14655         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14656         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14657         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14658         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14659         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14660         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14661         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14662         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14663         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14664         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14665         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14666         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14667         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14668         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14669         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14670         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14671         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14672         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14673         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14674         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14675         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14676         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14677         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14678         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14679         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14680         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14681         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14683 2013-01-10  David S. Miller  <davem@davemloft.net>
14685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14687 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14689         * posix/Makefile (tests-static): New variable.
14690         (tests): Add $(tests-static).
14691         (tst-exec-static-ARGS): New variable.
14692         (tst-spawn-static-ARGS): Likewise.
14693         * posix/tst-exec-static.c: New file.
14694         * posix/tst-spawn-static.c: Likewise.
14695         * posix/tst-exec.c: Support run directly.
14696         * posix/tst-spawn.c: Likewise.
14698 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14700         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14701         long.
14702         * math/bits/mathcalls.h (llrint): Likewise.
14703         (llround): Likewise.
14704         * stdlib/stdlib.h (struct drand48_data): Likewise.
14705         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14706         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14707         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14708         Likewise.
14709         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14710         Likewise.
14711         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14712         (elf_greg_t): Likewise.
14713         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14714         (__jmp_buf): Likewise.
14715         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14716         definitions.
14717         (llrint): Likewise, for all definitions.
14718         (llrintl): Likewise.
14720         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14721         Remove [__GNUC__] condition.
14722         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14723         condition to just [__USE_ISOC99].
14724         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14726 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14728         [BZ #14200]
14729         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14730         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14731         defined.
14732         (_POSIX_V6_ILP32_OFF32): Likewise.
14733         (_XBS5_ILP32_OFF32): Likewise.
14734         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14735         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14737 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14739         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14741         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14742         doubles __mpexp_twomm1.  Adjust usage.
14743         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14744         Remove.
14746 2013-01-10  Andreas Schwab  <schwab@suse.de>
14748         [BZ #14964]
14749         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14750         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14752 2013-01-09  David S. Miller  <davem@davemloft.net>
14754         [BZ #15003]
14755         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14756         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14757         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14758         TCP_FASTOPEN): Define.
14759         (tcp_repair_opt): New structure.
14760         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14761         enum values.
14762         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14763         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14764         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14765         (tcp_cookie_transactions): New structure.
14767 2013-01-09  Anton Blanchard  <anton@samba.org>
14769         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14770         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14771         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14772         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14774 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14776         * include/features.h (__USE_ANSI): Remove.
14778 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14780         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14782         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14784 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14786         * sysdeps/s390/fpu/libm-test-ulps: Update.
14788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14790         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14791         (__acr): Likewise.
14792         (__cpy): Likewise.
14793         (norm): Likewise.
14794         (denorm): Likewise.
14795         (__mp_dbl): Likewise.
14796         (__dbl_mp): Likewise.
14797         (add_magnitudes): Likewise.
14798         (sub_magnitudes): Likewise.
14799         (__add): Likewise.
14800         (__sub): Likewise.
14801         (__mul): Likewise.
14802         (__inv): Likewise.
14803         (__dvd): Likewise.
14804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14805         (__acr): Likewise.
14806         (__cpy): Likewise.
14807         (norm): Likewise.
14808         (denorm): Likewise.
14809         (__mp_dbl): Likewise.
14810         (__dbl_mp): Likewise.
14811         (add_magnitudes): Likewise.
14812         (sub_magnitudes): Likewise.
14813         (__add): Likewise.
14814         (__sub): Likewise.
14815         (__mul): Likewise.
14816         (__inv): Likewise.
14817         (__dvd): Likewise.
14818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14819         (__acr): Likewise.
14820         (__cpy): Likewise.
14821         (norm): Likewise.
14822         (denorm): Likewise.
14823         (__mp_dbl): Likewise.
14824         (__dbl_mp): Likewise.
14825         (add_magnitudes): Likewise.
14826         (sub_magnitudes): Likewise.
14827         (__add): Likewise.
14828         (__sub): Likewise.
14829         (__mul): Likewise.
14830         (__inv): Likewise.
14831         (__dvd): Likewise.
14833 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14835         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14836         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14837         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14838         2 && __USE_EXTERN_INLINES]: Likewise.
14840 2013-01-08  Andreas Jaeger  <aj@suse.de>
14842         [BZ# 14985]
14843         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14844         Remove.
14845         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14846         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14848 2013-01-07  Anton Blanchard  <anton@samba.org>
14850         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14851         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14852         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14853         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14854         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14855         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14856         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14857         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14858         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14859         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14860         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14861         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14862         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14863         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14865         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14866         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14867         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14868         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14869         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14870         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14871         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14872         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14873         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14874         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14875         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14876         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14877         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14878         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14879         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14880         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14882         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14883         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14884         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14885         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14886         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14887         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14888         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14889         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14890         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14891         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14892         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14894 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14896         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14897         (__MALLOC_PMT): Likewise.
14898         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14899         [__GNUC__], only on [_LIBC].
14900         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14901         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14902         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14903         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14904         forward declaration.
14905         (realloc_hook_ini): Likewise.
14906         (memalign_hook_ini): Likewise.
14907         (__libc_memalign): Do not use __MALLOC_PMT in variable
14908         declaration.
14909         (__libc_valloc): Likewise.
14910         (__libc_pvalloc): Likewise.
14911         (__libc_calloc): Likewise.
14912         (__posix_memalign): Likewise.
14914         [BZ #14996]
14915         * math/s_casinh.c: Include <float.h>.
14916         (__casinh): Do not do computation with squaring and square root
14917         for large arguments.
14918         * math/s_casinhf.c: Include <float.h>.
14919         (__casinhf): Do not do computation with squaring and square root
14920         for large arguments.
14921         * math/s_casinhl.c: Include <float.h>.
14922         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14923         (__casinhl): Do not do computation with squaring and square root
14924         for large arguments.
14925         * math/libm-test.inc (casin_test): Add more tests.
14926         (casinh_test): Likewise.
14927         * sysdeps/i386/fpu/libm-test-ulps: Update.
14928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14930 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14932         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14933         (__x86_64_raw_data_cache_size): Likewise.
14934         (__x86_64_data_cache_size_half): Likewise.
14935         (__x86_64_raw_data_cache_size_half): Likewise.
14936         (__x86_64_shared_cache_size): Likewise.
14937         (__x86_64_raw_shared_cache_size): Likewise.
14938         (__x86_64_shared_cache_size_half): Likewise.
14939         (__x86_64_raw_shared_cache_size_half): Likewise.
14940         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14941         to ...
14942         (__x86_data_cache_size): This.
14943         (__x86_64_raw_data_cache_size): Renamed to ...
14944         (__x86_raw_data_cache_size): This.
14945         (__x86_64_data_cache_size_half): Renamed to ...
14946         (__x86_data_cache_size_half): This.
14947         (__x86_64_raw_data_cache_size_half): Renamed to ...
14948         (__x86_raw_data_cache_size_half): This.
14949         (__x86_64_shared_cache_size): Renamed to ...
14950         (__x86_shared_cache_size): This.
14951         (__x86_64_raw_shared_cache_size): Renamed to ...
14952         (__x86_raw_shared_cache_size): This.
14953         (__x86_64_shared_cache_size_half): Renamed to ...
14954         (__x86_shared_cache_size_half): This.
14955         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14956         (__x86_raw_shared_cache_size_half): This.
14957         * sysdeps/x86_64/memcpy.S: Updated.
14958         * sysdeps/x86_64/memset.S: Likewise.
14959         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14960         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14961         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14963 2013-01-04  David S. Miller  <davem@davemloft.net>
14965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14967 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14969         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14970         1 to avoid redefinition warning.
14971         (__USE_GNU): Don't define.
14972         (init_signaling_nan): Protoize.
14974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14976 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14978         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14980         (__cpymn): Likewise.
14981         (norm): Remove commented code.
14982         (denorm): Likewise.
14983         (__mp_dbl): Likewise.
14984         (__inv): Likewise.
14985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14986         (__cpymn): Likewise.
14987         (norm): Remove commented code.
14988         (denorm): Likewise.
14989         (__mp_dbl): Likewise.
14990         (__inv): Likewise.
14992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14993         mp_no value for 1.0 and 2.0.
14994         (norm): Use RADIXI instead of radixi.d.
14995         (denorm): Likewise.
14996         (__mul): Use 0.0 instead of zero.d.
14997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14998         mp_no value for 1.0 and 2.0.
14999         (norm): Use RADIXI instead of radixi.d.
15000         (denorm): Likewise.
15001         (__mul): Use 0.0 instead of zero.d.
15003 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15005         [BZ #14994]
15006         * math/s_casinh.c (__casinh): Reduce finite argument to first
15007         quadrant then set signs of results at the end.
15008         * math/s_casinhf.c (__casinhf): Likewise.
15009         * math/s_casinhl.c (__casinhl): Likewise.
15010         * math/libm-test.inc (casin_test): Add more tests.
15011         (casinh_test): Likewise.
15012         * sysdeps/i386/fpu/libm-test-ulps: Update.
15013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15015 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15017         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15019         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15021         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15022         declarations.
15023         (denorm): Likewise.
15024         (__mp_dbl): Likewise.
15025         (__inv): Likewise.
15027         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15028         and adjust the header comment.
15030         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15031         variable name from declaration.
15033 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15036         Initialize COMMON_CPUID_INDEX_7 element.
15037         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15038         (CPUID_RTM): Likewise.
15039         (HAS_RTM): Likewise.
15040         (COMMON_CPUID_INDEX_7): New enum.
15042 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15044         [BZ #14981]
15045         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15046         size is zero, record memory as freed.
15048 2013-01-03  Andreas Jaeger  <aj@suse.de>
15050         * po/ia.po: Add new Interlingua translation.
15052 2012-01-03  Allan McRae  <allan@archlinux.org>
15054         * locale/programs/localedef.c: Fix description of '--posix' flag.
15056 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15058         * NEWS: Update dates in second copyright notice.
15059         * README: Update copyright dates in example.
15060         * manual/libc.texinfo: Update copyright dates.
15061         * scripts/test-installation.pl: Update copyright date in --version
15062         output.
15064         * hurd/ctty-input.c: Fix copyright notice formatting.
15065         * hurd/ctty-output.c: Likewise.
15066         * hurd/dtable.c: Likewise.
15067         * hurd/hurd-raise.c: Likewise.
15068         * hurd/hurdprio.c: Likewise.
15069         * hurd/msgportdemux.c: Likewise.
15070         * misc/sys/file.h: Likewise.
15071         * misc/sys/ioctl.h: Likewise.
15072         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15073         * sysdeps/mach/hurd/chdir.c: Likewise.
15074         * sysdeps/mach/hurd/fchdir.c: Likewise.
15075         * sysdeps/mach/hurd/rename.c: Likewise.
15076         * sysdeps/mach/hurd/rmdir.c: Likewise.
15077         * sysdeps/mach/hurd/seekdir.c: Likewise.
15078         * sysdeps/mach/hurd/setsid.c: Likewise.
15079         * sysdeps/posix/wait3.c: Likewise.
15081         * All files with FSF copyright notices: Update copyright dates
15082         using scripts/update-copyrights.
15083         * intl/plural.c: Regenerated.
15084         * locale/programs/charmap-kw.h: Likewise.
15085         * locale/programs/locfile-kw.h: Likewise.
15087 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15089         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15090         four values.
15092         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15093         calculation loop and add branch prediction.
15095         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15096         check access beyond bounds of m1np.
15098         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15099         MPTWO.
15100         (__inv): Remove local variable MPTWO to use the global
15101         constant.
15102         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15104         variable MPTWO.
15105         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15106         MP3HALFS static const.
15108 2013-01-01  David S. Miller  <davem@davemloft.net>
15110         * po/ca.po: Update from translation team.
15112 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15114         * scripts/update-copyrights: New file.
15115         * Makeconfig: Reformat copyright notice.
15116         * ctype/ctype.h: Likewise.
15117         * debug/swprintf_chk.c: Likewise.
15118         * elf/dl-cache.c: Likewise.
15119         * elf/dl-debug.c: Likewise.
15120         * elf/dl-object.c: Likewise.
15121         * grp/initgroups.c: Likewise.
15122         * hurd/Makefile: Likewise.
15123         * hurd/hurd/signal.h: Likewise.
15124         * hurd/hurdfault.c: Likewise.
15125         * hurd/hurdioctl.c: Likewise.
15126         * hurd/hurdlookup.c: Likewise.
15127         * hurd/intr-msg.c: Likewise.
15128         * iconv/gconv_open.c: Likewise.
15129         * libio/swprintf.c: Likewise.
15130         * locale/lc-ctype.c: Likewise.
15131         * locale/nl_langinfo.c: Likewise.
15132         * mach/Machrules: Likewise.
15133         * mach/Makefile: Likewise.
15134         * malloc/obstack.h: Likewise.
15135         * manual/Makefile: Likewise.
15136         * manual/tsort.awk: Likewise.
15137         * misc/bits/stab.def: Likewise.
15138         * nis/nis_print_group_entry.c: Likewise.
15139         * nis/nis_table.c: Likewise.
15140         * nis/nss_compat/compat-pwd.c: Likewise.
15141         * nis/nss_compat/compat-spwd.c: Likewise.
15142         * po/Makefile: Likewise.
15143         * posix/fnmatch.c: Likewise.
15144         * posix/regex.h: Likewise.
15145         * resolv/Makefile: Likewise.
15146         * resolv/nss_dns/dns-network.c: Likewise.
15147         * resolv/res_hconf.c: Likewise.
15148         * scripts/gen-sorted.awk: Likewise.
15149         * soft-fp/soft-fp.h: Likewise.
15150         * stdio-common/printf.h: Likewise.
15151         * stdlib/monetary.h: Likewise.
15152         * stdlib/random.c: Likewise.
15153         * stdlib/random_r.c: Likewise.
15154         * sysdeps/generic/Makefile: Likewise.
15155         * sysdeps/gnu/Makefile: Likewise.
15156         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15157         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15158         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15159         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15160         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15161         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15162         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15163         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15164         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15165         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15166         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15167         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15168         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15169         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15170         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15171         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15172         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15173         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15174         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15175         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15176         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15177         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15178         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15179         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15180         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15181         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15182         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15183         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15184         * sysdeps/mach/hurd/errnos.awk: Likewise.
15185         * sysdeps/mach/hurd/fork.c: Likewise.
15186         * sysdeps/mach/hurd/getcwd.c: Likewise.
15187         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15188         * sysdeps/mach/hurd/mmap.c: Likewise.
15189         * sysdeps/mach/hurd/utimes.c: Likewise.
15190         * sysdeps/mach/hurd/xmknod.c: Likewise.
15191         * sysdeps/posix/profil.c: Likewise.
15192         * sysdeps/posix/readdir_r.c: Likewise.
15193         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15194         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15195         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15196         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15198         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15199         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15200         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15202         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15203         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15204         * sysdeps/pthread/lio_listio.c: Likewise.
15205         * sysdeps/sparc/dl-procinfo.h: Likewise.
15206         * sysdeps/unix/i386/sysdep.S: Likewise.
15207         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15208         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15209         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15210         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15212         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15213         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15214         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15215         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15216         * sysdeps/wordsize-32/divdi3.c: Likewise.
15217         * time/sys/time.h: Likewise.
15218         * wcsmbs/Makefile: Likewise.
15220 2013-01-01  David S. Miller  <davem@davemloft.net>
15222         * po/fr.po: Update from translation team.
15224         * catgets/gencat.c: Update copyright year.
15225         * csu/version.c: Likewise.
15226         * debug/catchsegv.sh: Likewise.
15227         * debug/pcprofiledump.c: Likewise.
15228         * debug/xtrace.sh: Likewise.
15229         * elf/ldconfig.c: Likewise.
15230         * elf/ldd.bash.in: Likewise.
15231         * elf/pldd.c: Likewise.
15232         * elf/sotruss.ksh: Likewise.
15233         * elf/sprof.c: Likewise.
15234         * iconv/iconv_prog.c: Likewise.
15235         * iconv/iconvconfig.c: Likewise.
15236         * locale/programs/locale.c: Likewise.
15237         * locale/programs/localedef.c: Likewise.
15238         * login/programs/pt_chown.c: Likewise.
15239         * malloc/memusage.sh: Likewise.
15240         * malloc/memusagestat.c: Likewise.
15241         * malloc/mtrace.pl: Likewise.
15242         * nscd/nscd.c: Likewise.
15243         * nss/getent.c: Likewise.
15244         * nss/makedb.c: Likewise.
15245         * posix/getconf.c: Likewise.
15247 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15249         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15250         numbers.
15252 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15254         * math/bits/mathcalls.h (modf): Use __nonnull.
15256 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15258         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15259         (split): Use macro CN instead of the bare value.
15260         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15261         could be used.
15262         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15263         instead of the bare value.
15264         (power1): Likewise.
15266 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15268         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15269         __ATAN_TWOM.
15270         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15272         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15273         their values.
15274         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15275         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15276         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15277         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15279 2012-12-28  Andreas Jaeger  <aj@suse.de>
15281         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15282         values are from Linux 3.7.
15284         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15285         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15287 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15289         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15290         TRUE case.
15292         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15293         (norm): Likewise.
15294         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15295         variables with preprocessor constants.
15296         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15297         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15298         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15300 2012-12-27  Bruno Haible  <bruno@clisp.org>
15302         [BZ #14317]
15303         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15304         only if needed.
15306 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15308         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15309         and use variable directly.
15310         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15312         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15313         MPONE.
15314         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15315         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15316         variable MPONE.
15317         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15318         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15319         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15320         include directive.  Remove local variable MPONE.
15321         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15322         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15323         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15325 2012-12-25  David S. Miller  <davem@davemloft.net>
15327         * version.h (RELEASE): Set to "development".
15328         (VERSION): Set to "2.17.90".
15329         * NEWS: Add 2.18 section.
15331 2012-12-21  David S. Miller  <davem@davemloft.net>
15333         * po/hr.po: Update from translation team.
15335 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15337         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15339 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15341         * NEWS:  Mention new memcpy for MIPS.
15343 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15345         * manual/contrib.texi (Contributors): Spelling correction.
15347 2012-12-15  David S. Miller  <davem@davemloft.net>
15349         * po/ru.po: Update from translation team.
15351 2012-12-13  David S. Miller  <davem@davemloft.net>
15353         * NEWS: Mention IFUNC testsuite enhancements.
15355         * po/pl.po: Update from translation team.
15356         * po/bg.po: Likewise.
15358         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15359         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15361 2012-12-11  David S. Miller  <davem@davemloft.net>
15363         * po/sv.po: Update from translation team.
15365         * po/vi.po: Update from translation team.
15367         * po/cs.po: Update from translation team.
15369         * po/de.po: Update from translation team.
15370         * po/eo.po: Likewise.
15371         * po/nl.po: Likewise.
15373 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15375         [BZ #14246]
15376         * manual/argp.texi (Argp Helper Functions): Move node to follow
15377         Argp Parsing State.
15379         [BZ #14872]
15380         * manual/conf.texi (Limits on File System Capacity): Mention if
15381         terminating null is included in the max size.
15383 2012-12-10  Andreas Jaeger  <aj@suse.de>
15385         * po/cs.po: Update from translation team.
15387 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15389         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15390         void pointer and cast to uintptr_t.
15391         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15392         path.
15393         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15394         * sysdeps/s390/s390-64/memset.S: Likewise.
15396 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15398         [BZ #14833]
15399         * menual/message.texi (Message Translation): Fix typos.
15400         (Helper programs for gettext): Likewise.
15402 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15404         [BZ #14898]
15405         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15406         Change to -1.
15408 2012-12-07  David S. Miller  <davem@davemloft.net>
15410         * po/libc.pot: Update.
15412 2012-12-07  Richard Henderson  <rth@redhat.com>
15414         [BZ #10114]
15415         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15416         normal/normal case to before the switch.
15417         (_FP_DIV): Likewise.
15419 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15420             Mike Frysinger  <vapier@gentoo.org>
15422         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15423         check for __NR_fadvise64_64.
15425 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15427         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15428         0, not just to plain "0" as a statement.
15429         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15430         with cw.
15432 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15434         * NEWS: Use sourceware.org in Bugzilla URL.
15436 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15439         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15441         * stdio-common/tst-put-error.c (do_test): Add newline to the
15442         padded test to ensure flush.
15444 2012-12-05  Jeff Law  <law@redhat.com>
15446         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15448 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15450         * README: Don't refer to ports add-on as distributed separately.
15451         Mention AArch64 in list of systems supported in the ports add-on.
15453         * LICENSES: Add more non-FSF copyright and license notices.
15455         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15456         ((unused)).
15458         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15460         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15461         10000 as width of padded output.
15463 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15465         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15467         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15468         variable LX with __attribute__ ((unused)).
15469         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15470         Likewise.
15471         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15472         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15473         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15474         with __attribute__ ((unused)).
15476 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15478         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15480 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15482         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15483         (CFLAGS-nldbl-acos.c): New variable.
15484         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15485         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15486         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15487         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15488         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15489         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15490         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15491         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15492         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15493         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15494         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15495         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15496         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15497         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15498         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15499         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15500         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15501         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15502         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15503         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15504         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15505         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15506         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15507         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15508         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15509         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15510         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15511         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15512         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15513         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15514         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15515         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15516         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15517         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15518         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15519         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15520         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15521         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15522         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15523         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15524         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15525         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15526         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15527         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15528         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15529         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15530         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15531         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15532         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15533         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15534         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15535         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15536         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15537         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15538         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15539         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15540         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15541         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15542         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15543         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15544         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15545         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15546         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15547         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15548         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15549         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15550         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15551         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15552         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15553         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15554         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15555         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15556         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15557         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15558         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15559         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15560         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15561         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15562         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15563         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15564         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15565         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15566         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15567         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15568         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15569         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15570         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15571         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15572         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15573         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15574         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15575         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15576         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15577         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15578         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15579         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15580         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15583         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15585         [BZ #14914]
15586         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15587         whole low double instead of just low 47 bits when splitting values
15588         into two parts.
15590 2012-12-03  Allan McRae  <allan@archlinux.org>
15592         * manual/stdio.texi (Predefined Printf Handlers): Remove
15593         @hsep and @vsep usage.
15595 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15597         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15598         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15600 2012-12-03  Jeff Law  <law@redhat.com>
15602         * time/sys/time.h (settimeofday): Do not mark TV argument
15603         as __nonnull.
15605 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15607         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15608         when currently writing and seek to current position when not.
15609         * libio/Makefile (tests): Remove bug-fclose1.
15610         * libio/bug-fclose1.c: Delete.
15612 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15614         * manual/arith.texi (feenableexcept): Fix typo.
15615         (fedisableexcept): Likewise.
15617 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15619         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15620         second, differently-typed declaration, rather than a cast.
15622 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15624         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15625         * include/rpc/svc.h: ... here.
15627 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15629         [BZ #13013]
15630         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15631         depending n and resplen2 to catch cases where answer
15632         equals answerp2.
15634 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15636         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15637         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15639 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15641         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15643 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15645         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15647 2012-11-28  Jeff Law  <law@redhat.com>
15649         [BZ #13761]
15650         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15651         dataset_temporary.  Track alloca usage into alloca_used.
15652         If dataset is large allocate and release it via malloc/free.
15654 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15656         [BZ #14197]
15657         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15659 2012-11-28  David S. Miller  <davem@davemloft.net>
15661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15663 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15665         [BZ #14803]
15666         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15667         of pi/2 rounded to nearest to 64 bits.
15668         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15669         nearest to 64 bits.
15670         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15671         bits.
15673 2012-11-28  Jeff Law <law@redhat.com>
15674             Martin Osvald <mosvald@redhat.com>
15676         [BZ #14889]
15677         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15678         * sunrpc/svc.c: Include time.h.
15679         (__svc_accept_failed): New function.
15680         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15681         any reason other than EINTR, call __svc_accept_failed.
15682         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15683         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15685 2012-11-28  Andreas Schwab  <schwab@suse.de>
15687         * scripts/abilist.awk: Also handle indirect functions in .opd
15688         section.
15690 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15692         [BZ #13881]
15693         * sysdeps/x86/fpu/powl_helper.c: New file.
15694         * sysdeps/x86/fpu/Makefile: Likewise.
15695         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15696         (p3): New object.
15697         (__ieee754_powl): Use __powl_helper for finite arguments except
15698         integer exponents below 8.
15699         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15700         (p3): New object.
15701         (__ieee754_powl): Use __powl_helper for finite arguments except
15702         integer exponents below 8.
15703         * math/libm-test.inc (pow_test): Add more tests and enable some
15704         previously disabled tests.
15705         * sysdeps/i386/fpu/libm-test-ulps: Update.
15706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15708 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15709             Carlos O'Donell  <carlos_odonell@mentor.com>
15711         * nss/makedb.c (is_prime): Assert that input is odd and greater
15712         than 4.  Note that fact in a comment too.
15713         (next_prime): Add 4 to input.
15715 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15717         [BZ #11741]
15718         * libio/Makefile (tests): Add test case tst-fwrite-error.
15719         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15720         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15721         * libio/tst-fwrite-error.c: New test case.
15723 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15725         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15726         before casting to void *.
15727         * include/libc-internal.h (__pointer_type): New macro.
15728         (__integer_if_pointer_type_sub): Likewise.
15729         (__integer_if_pointer_type): Likewise.
15730         (cast_to_integer): Likewise.
15731         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15732         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15733         before casting to atomic64_t.
15734         (atomic_exchange_acq): Likewise.
15735         (__arch_exchange_and_add_body): Likewise.
15736         (__arch_add_body): Likewise.
15737         (atomic_add_negative): Likewise.
15738         (atomic_add_zero): Likewise.
15740 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15742         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15743         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15744         (add_fdes): Likewise.
15745         (linear_search_fdes): Likewise.
15746         (binary_search_unencoded_fdes): Likewise.
15748 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15750         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15752 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15754         * configure.in: Autodetect C++ header directories.
15755         * configure: Regenerated.
15757 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15759         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15761 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15765 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15767         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15768         LDBL_MANT_DIG == 106]: Disable some tests.
15769         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15770         Likewise.
15771         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15772         Likewise.
15774         [BZ #14871]
15775         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15776         input for small inputs.  Return +/- pi/2 for large inputs.
15777         * math/libm-test.inc (atan_test): Add more tests.
15779         * sysdeps/generic/unwind-dw2-fde-glibc.c
15780         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15781         __attribute__ ((unused)).
15783         [BZ #14645]
15784         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15785         x * y if x and y are nonzero and z is zero.
15787         [BZ #14811]
15788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15789         nonzero exponents with absolute value below 0x1p-117 to +/-
15790         0x1p-117.
15792         [BZ #14869]
15793         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15794         up arguments below 2**-450, not just those below 2**-500.
15795         * math/libm-test.inc (hypot_test): Add another test.
15797         [BZ #14868]
15798         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15799         Return a+b for ratio over 2**120, not 2**60.
15800         * math/libm-test.inc (hypot_test): Add another test.
15802         * math/libm-test.inc (clog_test): Use
15803         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15804         (clog10_test): Likewise.
15806         [BZ #6778]
15807         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15809 2012-11-22  Andreas Schwab  <schwab@suse.de>
15811         * sysdeps/i386/fpu/libm-test-ulps: Update.
15813 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15815         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15816         printf output with newline.
15818 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15820         [BZ #14865]
15821         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15822         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15823         -z nodlopen, -z initfirst and -z execstack support.
15824         * configure: Regenerated.
15826         * elf/elf.h (DF_1_NODIRECT): New macro.
15827         (DF_1_IGNMULDEF): Likewise.
15828         (DF_1_NOKSYMS): Likewise.
15829         (DF_1_NOHDR): Likewise.
15830         (DF_1_EDITED): Likewise.
15831         (DF_1_NORELOC): Likewise.
15832         (DF_1_SYMINTPOSE): Likewise.
15833         (DF_1_GLOBAUDIT): Likewise.
15834         (DF_1_SINGLETON): Likewise.
15835         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15836         DT_1_SUPPORTED_MASK bits.
15837         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15839 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15841         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15843 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15845         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15846         macro.
15848         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15849         (sendmmsg): Move declarations...
15850         * socket/sys/socket.h: ... here.
15851         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15852         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15853         include it from...
15854         * socket/recvmmsg.c: ... this new file.
15855         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15856         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15857         definition of __sendmmsg hidden.
15858         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15859         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15860         Move ENOSYS stub into and include it from...
15861         * socket/sendmmsg.c: ... this new file.
15862         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15863         (sysdep_routines): Move recvmmsg and sendmmsg...
15864         * socket/Makefile (routines): ... here.
15865         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15866         (GLIBC_PRIVATE): Add __sendmmsg.
15867         * include/sys/socket.h (__sendmmsg): Add declarations.
15868         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15869         sendmmsg.
15871 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15873         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15874         variable I1 with __attribute__ ((unused)).
15875         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15877 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15879         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15880         DUMMY variables with __attribute__ ((unused)).
15882         * bits/byteswap.h: Include <bits/types.h>.
15883         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15885 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15887         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15888         string_t.  Do not manually set errno.
15889         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15890         length with __strnlen.  Make sure to both set errno and return it on
15891         failure.
15893 2012-11-19  David S. Miller  <davem@davemloft.net>
15895         With help from Joseph Myers.
15896         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15897         very large arguments properly.
15898         * math/libm-test.inc (atan_test): New tests.
15899         (atan2_test): New tests.
15900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15903 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15905         [BZ #14856]
15906         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15907         Define to 3.
15909         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15910         [POSIX] (EADDRNOTAVAIL): Likewise.
15911         [POSIX] (EAFNOSUPPORT): Likewise.
15912         [POSIX] (EALREADY): Likewise.
15913         [POSIX] (ECONNABORTED): Likewise.
15914         [POSIX] (ECONNREFUSED): Likewise.
15915         [POSIX] (ECONNRESET): Likewise.
15916         [POSIX] (EDESTADDRREQ): Likewise.
15917         [POSIX] (EDQUOT): Likewise.
15918         [POSIX] (EHOSTUNREACH): Likewise.
15919         [POSIX] (EIDRM): Likewise.
15920         [POSIX] (EISCONN): Likewise.
15921         [POSIX] (ELOOP): Likewise.
15922         [POSIX] (EMULTIHOP): Likewise.
15923         [POSIX] (ENETDOWN): Likewise.
15924         [POSIX] (ENETUNREACH): Likewise.
15925         [POSIX] (ENOBUFS): Likewise.
15926         [POSIX] (ENODATA): Likewise.
15927         [POSIX] (ENOLINK): Likewise.
15928         [POSIX] (ENOMSG): Likewise.
15929         [POSIX] (ENOPROTOOPT): Likewise.
15930         [POSIX] (ENOSR): Likewise.
15931         [POSIX] (ENOSTR): Likewise.
15932         [POSIX] (ENOTCONN): Likewise.
15933         [POSIX] (ENOTSOCK): Likewise.
15934         [POSIX] (EOPNOTSUPP): Likewise.
15935         [POSIX] (EOVERFLOW): Likewise.
15936         [POSIX] (EPROTO): Likewise.
15937         [POSIX] (EPROTONOSUPPORT): Likewise.
15938         [POSIX] (EPROTOTYPE): Likewise.
15939         [POSIX] (ESTALE): Likewise.
15940         [POSIX] (ETIME): Likewise.
15941         [POSIX] (ETXTBSY): Likewise.
15942         [POSIX] (EWOULDBLOCK): Likewise.
15943         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15944         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15945         [POSIX] (SEEK_CUR): Likewise.
15946         [POSIX] (SEEK_END): Likewise.
15947         [POSIX || UNIX98] (mode_t): Do not require.
15948         [POSIX] (off_t): Likewise.
15949         [POSIX] (pid_t): Likewise.
15950         [POSIX] (sys/stat.h): Do not allow header.
15951         [POSIX] (unistd.h): Likewise.
15952         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15953         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15954         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15955         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15956         require.
15957         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15958         sigevent): Specify elements.
15959         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15960         entry.
15961         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15962         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15964         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15965         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15966         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15967         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15968         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15969         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15970         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15971         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15972         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15973         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15974         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15975         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15976         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15977         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15978         Likewise.
15979         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15980         Likewise.
15981         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15982         Likewise.
15983         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15984         Likewise.
15985         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15986         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15987         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15988         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15989         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15990         Specify lower bound on value.
15991         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15992         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15993         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15994         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15995         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15996         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15997         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15998         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15999         value.
16000         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16001         as optional.
16002         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16003         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16004         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16005         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16006         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16007         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16008         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16009         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16010         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16011         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16012         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16013         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16014         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16015         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16016         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16017         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16018         entry.
16019         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16020         optional.
16021         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16022         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16023         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16024         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16025         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16026         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16027         Likewise.
16028         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16029         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16030         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16031         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16032         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16033         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16034         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16035         as optional.
16036         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16037         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16038         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16039         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16040         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16041         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16042         specify as optional.
16043         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16044         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16045         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16046         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16047         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16048         [XPG3] (NL_LANGMAX): Likewise.
16049         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16050         [POSIX || XPG3] (NL_NMAX): Likewise.
16051         [POSIX || XPG3] (NL_SETMAX): Likewise.
16052         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16053         [XPG3] (NZERO): Likewise.
16054         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16055         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16056         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16057         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16058         (REG_ERANGE): Expect.
16059         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16060         optional-constant.
16061         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16062         Use (void) in prototype.
16063         [POSIX] (*_t): Allow.
16064         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16065         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16066         (WRDE_BADVAL): Expect.
16068         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16069         expect.
16070         [XPG3 || XPG4] (O_RSYNC): Likewise.
16071         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16072         Likewise.
16073         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16074         [XPG3 || XPG4] (sigqueue): Likewise.
16075         [XPG3 || XPG4] (sigtimedwait): Likewise.
16076         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16077         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16078         [XPG3 || XPG4] (vsnprintf): Likewise.
16079         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16080         Likewise.
16081         [XPG3 || XPG4] (blksize_t): Likewise.
16082         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16083         Likewise.
16084         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16085         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16086         [XPG3 || XPG4] (struct itimerspec): Likewise.
16087         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16088         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16089         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16090         [XPG3 || XPG4] (clockid_t): Likewise.
16091         [XPG3 || XPG4] (timer_t): Likewise.
16092         [XPG3 || XPG4] (clock_getres): Likewise.
16093         [XPG3 || XPG4] (clock_gettime): Likewise.
16094         [XPG3 || XPG4] (clock_settime): Likewise.
16095         [XPG3 || XPG4] (nanosleep): Likewise.
16096         [XPG3 || XPG4] (timer_create): Likewise.
16097         [XPG3 || XPG4] (timer_delete): Likewise.
16098         [XPG3 || XPG4] (timer_gettime): Likewise.
16099         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16100         [XPG3 || XPG4] (timer_settime): Likewise.
16101         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16102         [XPG3 || XPG4] (getlogin_r): Likewise.
16103         [XPG3 || XPG4] (pread): Likewise.
16104         [XPG3 || XPG4] (pthread_atfork): Likewise.
16105         [XPG3 || XPG4] (pwrite): Likewise.
16107         [BZ #14835]
16108         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16109         <bits/siginfo.h>.
16111 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16113         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16114         finalizing MALLSTREAM.
16116         * sysdeps/mach/hurd/syncfs.c: New file.
16118 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16120         [BZ #14719]
16121         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16122         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16123         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16124         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16125         (_nss_dns_gethostbyname4_r): Likewise.
16126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16127         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16129 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16131         [BZ #13763]
16132         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16134 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16136         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16137         * elf/cache.c (print_entry): Print ",AArch64" for
16138         FLAG_AARCH64_LIB64
16140         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16141         * elf/cache.c (print_entry): Print ",hard-float" for
16142         FLAG_ARM_LIBHF.
16144 2012-11-18  David S. Miller  <davem@davemloft.net>
16146         With help from Joseph Myers.
16147         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16148         cutoff to 2**-13.
16149         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16150         cutoff to 2**-25.
16151         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16152         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16153         small.
16154         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16155         * math/libm-test.inc (y0_test): New tests.
16156         (y1_test): New tests.
16157         * sysdeps/i386/fpu/libm-test-ulps: Update.
16158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16161 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16163         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16164         64-bit targets.
16165         * configure: Regenerated.
16167 2012-11-17  David S. Miller  <davem@davemloft.net>
16169         [BZ #14811]
16170         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16171         nonzero exponents with absolute value below 0x1p-128 to +/-
16172         0x1p-128.
16174 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16176         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16178         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16180         * posix/getconf-speclist.c: New file.
16181         * posix/posix-envs.def: Likewise.
16182         * posix/confstr.c (START_ENV_GROUP): New macro.
16183         (END_ENV_GROUP): Likewise.
16184         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16185         (KNOWN_PRESENT_ENV_STRING): Likewise.
16186         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16187         (UNKNOWN_ENVIRONMENT): Likewise.
16188         (confstr): Include posix-envs.def instead of handling
16189         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16190         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16191         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16192         (END_ENV_GROUP): Likewise.
16193         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16194         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16195         (UNKNOWN_ENVIRONMENT): Likewise.
16196         (__sysconf): Include posix-envs.def instead of handling associated
16197         cases directly here.
16198         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16199         preprocessing getconf-speclist.c rather than running getconf or
16200         generating empty file.
16202 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16204         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16206 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16208         [BZ #14672]
16209         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16211 2012-11-16  David S. Miller  <davem@davemloft.net>
16213         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16214         smaller than LDBL_EPSILON/2.0L, just return xm1.
16216 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16218         * elf/tst-array1.c (init): Set constructor priority to 1000.
16219         (fini): Set destructor priority to 1000.
16220         * elf/tst-array2dep.c: Likewise.
16222 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16224         [BZ #11741]
16225         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16226         (_IO_new_file_xsputn): Also return EOF if none of the input
16227         data was written when overflow failed.
16228         * libio/iopadn.c (_IO_padn): Likewise.
16229         * libio/iowpadn.c (_IO_wpadn): Likewise.
16230         * stdio-common/tst-put-error.c: Add copyright notice.
16231         (do_test): Add case for printing padded string.
16232         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16233         _IO_padn returned error.
16234         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16235         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16236         return EOF.
16238 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16240         * libio/libioP.h: Add comment note that the references to C++
16241         bits are now obsolete.
16243 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16245         * math/libm-test.inc (check_complex): Use asprintf.
16247 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16249         * debug/pcprofiledump.c (print_version): Update copyright year.
16250         * malloc/memusagestat.c (print_version): Likewise.
16252 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16254         [BZ #14831]
16255         * elf/Makefile (tests): Add tst-audit8.
16256         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16257         ($(objpfx)tst-audit8.out): New target.
16258         (tst-audit8-ENV): New variable.
16259         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16260         audit if l_reloc_result is NULL.
16261         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16262         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16263         * elf/tst-audit8.c: New file.
16265 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16267         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16268         * misc/Makefile (CFLAGS-select.c): Define.
16269         * posix/Makefile (CFLAGS-pause.c): Define.
16271 2012-11-13  David S. Miller  <davem@davemloft.net>
16273         * crypt/Makefile: Move test targets after toplevel Rules
16274         inclusion.  Grab any necessary sysdep routines when linking.
16275         * crypt/md5.c (md5_process_block): Remove define, we will always
16276         name it __md5_process_block.
16277         (md5_finish_ctx): Update md5_process_block call.
16278         (md5_stream): Likewise.
16279         (md5_process_bytes): Likewise.
16280         (md5_process_block): Rename to __md5_process_block and move to ...
16281         * crypt/md5-block.c: ... here.
16282         * crypt/sha256.c (sha256_process_block): Move to ...
16283         * crypt/sha256-block.c: ... here.
16284         * crypt/sha512.c (sha512_process_block): Move to ...
16285         * crypt/sha512-block.c: ... here.
16286         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16287         path.
16288         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16289         * sysdeps/sparc/sparc64/multiarch/Makefile
16290         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16291         crypt subdir.
16292         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16293         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16294         multiarch changes.
16295         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16296         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16297         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16298         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16299         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16300         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16301         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16302         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16303         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16304         file.
16305         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16306         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16307         file.
16308         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16310 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16312         * timezone/tzselect.ksh: Update from tzcode git revision
16313         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16314         * timezone/zdump.c: Likewise.
16315         * timezone/zic.c: Likewise.
16316         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16317         in TZVERSION setting, not $(PKGVERSION).
16318         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16319         REPORT_BUGS_TO settings.
16321         [BZ #14838]
16322         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16323         macro.
16325 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16327         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16328         detection to immediately after _FP_ROUND().
16329         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16330         bits are 0.
16332 2012-11-11  David S. Miller  <davem@davemloft.net>
16334         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16335         inttypes.h
16336         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16337         __close rather than their public counterparts.
16339 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16341         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16342         file.
16343         [UNIX98] (sem_timedwait): Do not expect.
16344         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16345         [XPG4 || UNIX98] (sockatmark): Do not expect.
16346         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16347         (clock_getcpuclockid): Do not expect.
16348         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16349         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16350         Do not expect.
16351         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16352         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16353         [UNIX98] (vwscanf): Likewise.
16354         [UNIX98] (vswscanf): Likewise.
16356 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16358         * timezone/version.h: Remove file.
16359         * timezone/README: Do not refer to version.h.
16360         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16361         $(objpfx)version.h.
16362         ($(objpfx)zdump.o): Likewise.
16363         ($(objpfx)version.h): New target.
16365         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16366         2012i.
16367         * timezone/README: Don't mention modification to tzselect.ksh.
16368         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16369         work on unmodified tzselect.ksh.  Substitute version numbers in
16370         tzselect.ksh.
16372         * Makefile (format-me): Remove.
16373         (INSTALL): Adjust indentation.  Use commands directly instead of
16374         using $(format-me).
16376         * aclocal.m4 (ACX_PKGVERSION): New macro.
16377         (ACX_BUGURL): Likewise.
16378         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16379         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16380         (REPORT_BUGS_TO): Likewise.
16381         * configure: Regenerated.
16382         * config.h.in (PKGVERSION): New macro.
16383         (REPORT_BUGS_TO): Likewise.
16384         * config.make.in (PKGVERSION): New variable.
16385         (PKGVERSION_TEXI): Likewise.
16386         (REPORT_BUGS_TO): Likewise.
16387         (REPORT_BUGS_TEXI): Likewise.
16388         * Makefile (format-me): Use -I$(common-objpfx)manual.
16389         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16390         ($(common-objpfx)manual/%): New target.
16391         (manual/%): Remove target.
16392         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16393         (print_version): Use PKGVERSION.
16394         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16395         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16396         and REPORT_BUGS_TO.
16397         ($(objpfx)xtrace): Likewise.
16398         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16399         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16400         (print_version): Use PKGVERSION.
16401         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16402         (do_version): Use PKGVERSION.
16403         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16404         REPORT_BUGS_TO.
16405         (common-ldd-rewrite): Likewise.
16406         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16407         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16408         (print_version): Use PKGVERSION.
16409         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16410         * elf/pldd.c (argp_program_bug_address): Remove variable.
16411         (more_help): New function.
16412         (argp): Use more_help.
16413         (print_version): Use PKGVERSION.
16414         * elf/sln.c (main): Use PKGVERSION.
16415         (usage): Use REPORT_BUGS_TO.
16416         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16417         (top level): Use PKGVERSION.
16418         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16419         (print_version): Use PKGVERSION.
16420         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16421         (print_version): Use PKGVERSION.
16422         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16423         (print_version): Use PKGVERSION.
16424         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16425         (print_version): Use PKGVERSION.
16426         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16427         (print_version): Use PKGVERSION.
16428         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16429         (print_version): Use PKGVERSION.
16430         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16431         and BUGURL.
16432         ($(objpfx)memusage): Likewise.
16433         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16434         (do_version): Use PKGVERSION.
16435         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16436         (print_version): Use PKGVERSION.
16437         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16438         ($PKGVERSION): New variable.
16439         ($REPORT_BUGS_TO): Likewise.
16440         (usage): Use $REPORT_BUGS_TO.
16441         (top level): Use $PKGVERSION.
16442         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16443         ($(objpfx)pkgvers.texi): New rule.
16444         ($(objpfx)stamp-pkgvers): Likewise.
16445         * manual/install.texi: Include pkgvers.texi.
16446         (--with-pkgversion): Document new configure option.
16447         (--with-bugurl): Likewise.
16448         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16449         than necessarily for this particular distribution.  Use
16450         REPORT_BUGS_TO for where to report bugs.
16451         * INSTALL: Regenerated.
16452         * manual/libc.texinfo: Include pkgvers.texi.
16453         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16454         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16455         (print_version): Use PKGVERSION.
16456         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16457         (print_version): Use PKGVERSION.
16458         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16459         (print_version): Use PKGVERSION.
16460         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16461         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16462         macro.
16463         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16464         (print_version): Use PKGVERSION.
16465         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16466         (print_version): Use PKGVERSION.
16467         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16468         and PKGVERSION.
16470         * timezone/checktab.awk: Update from tzcode 2012i.
16471         * timezone/ialloc.c: Likewise.
16472         * timezone/private.h: Likewise.
16473         * timezone/scheck.c: Likewise.
16474         * timezone/tzfile.h: Likewise.
16475         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16476         (TZVERSION): Hardcode tzcode version number.
16477         * timezone/zdump.c: Update from tzcode 2012i.
16478         * timezone/zic.c: Likewise.
16479         * timezone/version.h: New file.
16480         * timezone/README: Describe version.h.  Update upstream location.
16482         [BZ #14824]
16483         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16484         (mktemp): Enable declaration.
16485         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16486         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16487         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16488         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16489         Likewise.
16490         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16491         Likewise.
16492         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16493         Likewise.
16494         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16495         Likewise.
16496         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16497         Likewise.
16498         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16499         Likewise.
16501         [BZ #14821]
16502         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16503         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16504         for copies of such integer values.
16505         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16506         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16508 2012-11-09  Andreas Jaeger  <aj@suse.de>
16510         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16511         definitions and declarations that are provided by
16512         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16514 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16516         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16517         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16518         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16519         definition.
16521 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16523         * elf/elf.h: Update comment before AArch64 relocations.
16525 2012-11-07  David S. Miller  <davem@davemloft.net>
16527         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16528         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16529         (__start_context): Declare.
16530         (__makecontext_ret): Delete.
16531         (__makecontext): Hook up __start_context instead of
16532         __makecontext_ret.
16533         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16534         (sysdep_routines): Add __start_context when in stdlib.
16536 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16538         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16539         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16540         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16541         hardcoded "nm".
16542         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16543         (READELF): New variable.  Use it instead of hardcoded "readelf".
16545 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16547         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16548         * sysdeps/x86/Makefile: Here.
16549         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16550         * sysdeps/x86/tst-xmmymm.sh: This.
16552 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16554         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16555         expectations.
16556         [UNIX98] (pthread_barrier_t): Do not expect.
16557         [UNIX98] (pthread_barrierattr_t): Likewise.
16558         [UNIX98] (pthread_spinlock_t): Likewise.
16559         [UNIX98] (pthread_barrier_destroy): Likewise.
16560         [UNIX98] (pthread_barrier_init): Likewise.
16561         [UNIX98] (pthread_barrier_wait): Likewise.
16562         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16563         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16564         [UNIX98] (pthread_barrierattr_init): Likewise.
16565         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16566         [UNIX98] (pthread_getcpuclockid): Likewise.
16567         [UNIX98] (pthread_mutex_timedlock): Likewise.
16568         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16569         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16570         [UNIX98] (pthread_sigmask): Likewise.
16571         [UNIX98] (pthread_spin_destroy): Likewise.
16572         [UNIX98] (pthread_spin_init): Likewise.
16573         [UNIX98] (pthread_spin_lock): Likewise.
16574         [UNIX98] (pthread_spin_trylock): Likewise.
16575         [UNIX98] (pthread_spin_unlock): Likewise.
16576         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16577         Do not expect.
16578         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16579         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16580         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16581         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16582         [XPG3 || XPG4] (pthread_key_t): Likewise.
16583         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16584         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16585         [XPG3 || XPG4] (pthread_once_t): Likewise.
16586         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16587         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16588         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16589         [XPG3 || XPG4] (pthread_t): Likewise.
16591         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16592         not expect.
16593         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16595         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16596         Change function return type to int.
16598         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16599         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16600         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16601         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16602         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16603         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16604         [!POSIX] (posix_madvise): Likewise.
16605         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16606         && !UNIX98].
16607         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16608         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16609         (mode_t): Likewise.
16610         (posix_mem_offset): Likewise.
16611         (posix_typed_mem_get_info): Likewise.
16612         (posix_typed_mem_open): Likewise.
16614         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16615         Change condition to [XOPEN2K8].
16617         * conform/conformtest.pl: Preprocess allow-header data with -x c
16618         instead of from stdin.
16619         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16620         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16621         [C99-based standards] (cerfc): Likewise.
16622         [C99-based standards] (cexp2): Likewise.
16623         [C99-based standards] (cexpm1): Likewise.
16624         [C99-based standards] (clog10): Likewise.
16625         [C99-based standards] (clog1p): Likewise.
16626         [C99-based standards] (clog2): Likewise.
16627         [C99-based standards] (clgamma): Likewise.
16628         [C99-based standards] (ctgamma): Likewise.
16629         [C99-based standards] (cerff): Likewise.
16630         [C99-based standards] (cerfcf): Likewise.
16631         [C99-based standards] (cexp2f): Likewise.
16632         [C99-based standards] (cexpm1f): Likewise.
16633         [C99-based standards] (clog10f): Likewise.
16634         [C99-based standards] (clog1pf): Likewise.
16635         [C99-based standards] (clog2f): Likewise.
16636         [C99-based standards] (clgammaf): Likewise.
16637         [C99-based standards] (ctgammaf): Likewise.
16638         [C99-based standards] (cerfl): Likewise.
16639         [C99-based standards] (cerfcl): Likewise.
16640         [C99-based standards] (cexp2l): Likewise.
16641         [C99-based standards] (cexpm1l): Likewise.
16642         [C99-based standards] (clog10l): Likewise.
16643         [C99-based standards] (clog1pl): Likewise.
16644         [C99-based standards] (clog2l): Likewise.
16645         [C99-based standards] (clgammal): Likewise.
16646         [C99-based standards] (ctgammal): Likewise.
16647         * conform/data/inttypes.h-data [C99-based standards]: Include
16648         stdint.h-data.  Remove all expectations for stdint.h contents.
16649         [C99-based standards] (PRI*): Do not allow.
16650         [C99-based standards] (SCN*): Likewise.
16651         [C99-based standards] (*_t): Likewise.
16652         [C99-based-standards] (PRId8): Expect macro.
16653         [C99-based-standards] (PRIi8): Likewise.
16654         [C99-based-standards] (PRIo8): Likewise.
16655         [C99-based-standards] (PRIu8): Likewise.
16656         [C99-based-standards] (PRIx8): Likewise.
16657         [C99-based-standards] (PRIX8): Likewise.
16658         [C99-based-standards] (SCNd8): Likewise.
16659         [C99-based-standards] (SCNi8): Likewise.
16660         [C99-based-standards] (SCNo8): Likewise.
16661         [C99-based-standards] (SCNu8): Likewise.
16662         [C99-based-standards] (SCNx8): Likewise.
16663         [C99-based-standards] (PRIdLEAST8): Likewise.
16664         [C99-based-standards] (PRIiLEAST8): Likewise.
16665         [C99-based-standards] (PRIoLEAST8): Likewise.
16666         [C99-based-standards] (PRIuLEAST8): Likewise.
16667         [C99-based-standards] (PRIxLEAST8): Likewise.
16668         [C99-based-standards] (PRIXLEAST8): Likewise.
16669         [C99-based-standards] (SCNdLEAST8): Likewise.
16670         [C99-based-standards] (SCNiLEAST8): Likewise.
16671         [C99-based-standards] (SCNoLEAST8): Likewise.
16672         [C99-based-standards] (SCNuLEAST8): Likewise.
16673         [C99-based-standards] (SCNxLEAST8): Likewise.
16674         [C99-based-standards] (PRIdFAST8): Likewise.
16675         [C99-based-standards] (PRIiFAST8): Likewise.
16676         [C99-based-standards] (PRIoFAST8): Likewise.
16677         [C99-based-standards] (PRIuFAST8): Likewise.
16678         [C99-based-standards] (PRIxFAST8): Likewise.
16679         [C99-based-standards] (PRIXFAST8): Likewise.
16680         [C99-based-standards] (SCNdFAST8): Likewise.
16681         [C99-based-standards] (SCNiFAST8): Likewise.
16682         [C99-based-standards] (SCNoFAST8): Likewise.
16683         [C99-based-standards] (SCNuFAST8): Likewise.
16684         [C99-based-standards] (SCNxFAST8): Likewise.
16685         [C99-based-standards] (PRId16): Likewise.
16686         [C99-based-standards] (PRIi16): Likewise.
16687         [C99-based-standards] (PRIo16): Likewise.
16688         [C99-based-standards] (PRIu16): Likewise.
16689         [C99-based-standards] (PRIx16): Likewise.
16690         [C99-based-standards] (PRIX16): Likewise.
16691         [C99-based-standards] (SCNd16): Likewise.
16692         [C99-based-standards] (SCNi16): Likewise.
16693         [C99-based-standards] (SCNo16): Likewise.
16694         [C99-based-standards] (SCNu16): Likewise.
16695         [C99-based-standards] (SCNx16): Likewise.
16696         [C99-based-standards] (PRIdLEAST16): Likewise.
16697         [C99-based-standards] (PRIiLEAST16): Likewise.
16698         [C99-based-standards] (PRIoLEAST16): Likewise.
16699         [C99-based-standards] (PRIuLEAST16): Likewise.
16700         [C99-based-standards] (PRIxLEAST16): Likewise.
16701         [C99-based-standards] (PRIXLEAST16): Likewise.
16702         [C99-based-standards] (SCNdLEAST16): Likewise.
16703         [C99-based-standards] (SCNiLEAST16): Likewise.
16704         [C99-based-standards] (SCNoLEAST16): Likewise.
16705         [C99-based-standards] (SCNuLEAST16): Likewise.
16706         [C99-based-standards] (SCNxLEAST16): Likewise.
16707         [C99-based-standards] (PRIdFAST16): Likewise.
16708         [C99-based-standards] (PRIiFAST16): Likewise.
16709         [C99-based-standards] (PRIoFAST16): Likewise.
16710         [C99-based-standards] (PRIuFAST16): Likewise.
16711         [C99-based-standards] (PRIxFAST16): Likewise.
16712         [C99-based-standards] (PRIXFAST16): Likewise.
16713         [C99-based-standards] (SCNdFAST16): Likewise.
16714         [C99-based-standards] (SCNiFAST16): Likewise.
16715         [C99-based-standards] (SCNoFAST16): Likewise.
16716         [C99-based-standards] (SCNuFAST16): Likewise.
16717         [C99-based-standards] (SCNxFAST16): Likewise.
16718         [C99-based-standards] (PRId32): Likewise.
16719         [C99-based-standards] (PRIi32): Likewise.
16720         [C99-based-standards] (PRIo32): Likewise.
16721         [C99-based-standards] (PRIu32): Likewise.
16722         [C99-based-standards] (PRIx32): Likewise.
16723         [C99-based-standards] (PRIX32): Likewise.
16724         [C99-based-standards] (SCNd32): Likewise.
16725         [C99-based-standards] (SCNi32): Likewise.
16726         [C99-based-standards] (SCNo32): Likewise.
16727         [C99-based-standards] (SCNu32): Likewise.
16728         [C99-based-standards] (SCNx32): Likewise.
16729         [C99-based-standards] (PRIdLEAST32): Likewise.
16730         [C99-based-standards] (PRIiLEAST32): Likewise.
16731         [C99-based-standards] (PRIoLEAST32): Likewise.
16732         [C99-based-standards] (PRIuLEAST32): Likewise.
16733         [C99-based-standards] (PRIxLEAST32): Likewise.
16734         [C99-based-standards] (PRIXLEAST32): Likewise.
16735         [C99-based-standards] (SCNdLEAST32): Likewise.
16736         [C99-based-standards] (SCNiLEAST32): Likewise.
16737         [C99-based-standards] (SCNoLEAST32): Likewise.
16738         [C99-based-standards] (SCNuLEAST32): Likewise.
16739         [C99-based-standards] (SCNxLEAST32): Likewise.
16740         [C99-based-standards] (PRIdFAST32): Likewise.
16741         [C99-based-standards] (PRIiFAST32): Likewise.
16742         [C99-based-standards] (PRIoFAST32): Likewise.
16743         [C99-based-standards] (PRIuFAST32): Likewise.
16744         [C99-based-standards] (PRIxFAST32): Likewise.
16745         [C99-based-standards] (PRIXFAST32): Likewise.
16746         [C99-based-standards] (SCNdFAST32): Likewise.
16747         [C99-based-standards] (SCNiFAST32): Likewise.
16748         [C99-based-standards] (SCNoFAST32): Likewise.
16749         [C99-based-standards] (SCNuFAST32): Likewise.
16750         [C99-based-standards] (SCNxFAST32): Likewise.
16751         [C99-based-standards] (PRId64): Likewise.
16752         [C99-based-standards] (PRIi64): Likewise.
16753         [C99-based-standards] (PRIo64): Likewise.
16754         [C99-based-standards] (PRIu64): Likewise.
16755         [C99-based-standards] (PRIx64): Likewise.
16756         [C99-based-standards] (PRIX64): Likewise.
16757         [C99-based-standards] (SCNd64): Likewise.
16758         [C99-based-standards] (SCNi64): Likewise.
16759         [C99-based-standards] (SCNo64): Likewise.
16760         [C99-based-standards] (SCNu64): Likewise.
16761         [C99-based-standards] (SCNx64): Likewise.
16762         [C99-based-standards] (PRIdLEAST64): Likewise.
16763         [C99-based-standards] (PRIiLEAST64): Likewise.
16764         [C99-based-standards] (PRIoLEAST64): Likewise.
16765         [C99-based-standards] (PRIuLEAST64): Likewise.
16766         [C99-based-standards] (PRIxLEAST64): Likewise.
16767         [C99-based-standards] (PRIXLEAST64): Likewise.
16768         [C99-based-standards] (SCNdLEAST64): Likewise.
16769         [C99-based-standards] (SCNiLEAST64): Likewise.
16770         [C99-based-standards] (SCNoLEAST64): Likewise.
16771         [C99-based-standards] (SCNuLEAST64): Likewise.
16772         [C99-based-standards] (SCNxLEAST64): Likewise.
16773         [C99-based-standards] (PRIdFAST64): Likewise.
16774         [C99-based-standards] (PRIiFAST64): Likewise.
16775         [C99-based-standards] (PRIoFAST64): Likewise.
16776         [C99-based-standards] (PRIuFAST64): Likewise.
16777         [C99-based-standards] (PRIxFAST64): Likewise.
16778         [C99-based-standards] (PRIXFAST64): Likewise.
16779         [C99-based-standards] (SCNdFAST64): Likewise.
16780         [C99-based-standards] (SCNiFAST64): Likewise.
16781         [C99-based-standards] (SCNoFAST64): Likewise.
16782         [C99-based-standards] (SCNuFAST64): Likewise.
16783         [C99-based-standards] (SCNxFAST64): Likewise.
16784         [C99-based-standards] (PRIdMAX): Likewise.
16785         [C99-based-standards] (PRIiMAX): Likewise.
16786         [C99-based-standards] (PRIoMAX): Likewise.
16787         [C99-based-standards] (PRIuMAX): Likewise.
16788         [C99-based-standards] (PRIxMAX): Likewise.
16789         [C99-based-standards] (PRIXMAX): Likewise.
16790         [C99-based-standards] (SCNdMAX): Likewise.
16791         [C99-based-standards] (SCNiMAX): Likewise.
16792         [C99-based-standards] (SCNoMAX): Likewise.
16793         [C99-based-standards] (SCNuMAX): Likewise.
16794         [C99-based-standards] (SCNxMAX): Likewise.
16795         [C99-based-standards] (PRIdPTR): Likewise.
16796         [C99-based-standards] (PRIiPTR): Likewise.
16797         [C99-based-standards] (PRIoPTR): Likewise.
16798         [C99-based-standards] (PRIuPTR): Likewise.
16799         [C99-based-standards] (PRIxPTR): Likewise.
16800         [C99-based-standards] (PRIXPTR): Likewise.
16801         [C99-based-standards] (SCNdPTR): Likewise.
16802         [C99-based-standards] (SCNiPTR): Likewise.
16803         [C99-based-standards] (SCNoPTR): Likewise.
16804         [C99-based-standards] (SCNuPTR): Likewise.
16805         [C99-based-standards] (SCNxPTR): Likewise.
16806         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16807         allow.
16808         * conform/data/stdint.h-data: Update comments to clarify
16809         requirements.
16810         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16811         type.
16812         [C99-based standards] (INT8_MAX): Likewise.
16813         [C99-based standards] (INT16_MIN): Likewise.
16814         [C99-based standards] (INT16_MAX): Likewise.
16815         [C99-based standards] (INT32_MIN): Likewise.
16816         [C99-based standards] (INT32_MAX): Likewise.
16817         [C99-based standards] (INT64_MIN): Likewise.
16818         [C99-based standards] (INT64_MAX): Likewise.
16819         [C99-based standards] (UINT8_MAX): Likewise.
16820         [C99-based standards] (UINT16_MAX): Likewise.
16821         [C99-based standards] (UINT32_MAX): Likewise.
16822         [C99-based standards] (UINT64_MAX): Likewise.
16823         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16824         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16825         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16826         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16827         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16828         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16829         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16830         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16831         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16832         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16833         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16834         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16835         [C99-based standards] (INT_FAST8_MIN): Likewise.
16836         [C99-based standards] (INT_FAST8_MAX): Likewise.
16837         [C99-based standards] (INT_FAST16_MIN): Likewise.
16838         [C99-based standards] (INT_FAST16_MAX): Likewise.
16839         [C99-based standards] (INT_FAST32_MIN): Likewise.
16840         [C99-based standards] (INT_FAST32_MAX): Likewise.
16841         [C99-based standards] (INT_FAST64_MIN): Likewise.
16842         [C99-based standards] (INT_FAST64_MAX): Likewise.
16843         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16844         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16845         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16846         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16847         [C99-based standards] (INTPTR_MIN): Likewise.
16848         [C99-based standards] (INTPTR_MAX): Likewise.
16849         [C99-based standards] (UINTPTR_MAX): Likewise.
16850         [C99-based standards] (INTMAX_MIN): Likewise.
16851         [C99-based standards] (INTMAX_MAX): Likewise.
16852         [C99-based standards] (UINTMAX_MAX): Likewise.
16853         [C99-based standards] (PTRDIFF_MIN): Likewise.
16854         [C99-based standards] (PTRDIFF_MAX): Likewise.
16855         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16856         [C99-based standards] (SIZE_MAX): Likewise.
16857         [C99-based standards] (WCHAR_MAX): Likewise.
16858         [C99-based standards] (WINT_MAX): Likewise.
16859         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16860         constraint on value.
16861         [C99-based standards] (WCHAR_MIN): Likewise.
16862         [C99-based standards] (WINT_MIN): Likewise.
16863         [C99-based standards] (*_t): Allow.
16864         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16865         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16866         Include math.h-data and complex.h-data.  Remove all expectations
16867         of math.h and complex.h contents.
16868         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16869         at end of line.
16870         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16871         (struct tm): Expect tag.
16872         [C99-based-standards] (wcstof): Expect function.
16873         [C99-based-standards] (wcstold): Likewise.
16874         [C99-based-standards] (wcstoll): Likewise.
16875         [C99-based-standards] (wcstoull): Likewise.
16876         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16877         macro-int-constant.  Specify type.
16878         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16879         constraint on value.
16880         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16881         Specify type.
16882         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16883         Specify value.
16884         [ISO C standards]: Do not allow headers.
16885         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16886         wcs[abcdefghijklmnopqrstuvwxyz]*.
16887         [ISO C standards] (*_t): Do not allow.
16888         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16889         Expect function.
16890         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16891         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16892         Specify type.
16893         [ISO C standards]: Do not allow headers.
16894         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16895         is[abcdefghijklmnopqrstuvwxyz]*.
16896         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16897         to[abcdefghijklmnopqrstuvwxyz]*.
16898         [ISO C standards] (*_t): Do not allow.
16899         * conform/data/stdalign.h-data: New file.
16900         * conform/data/stdbool.h-data: Likewise.
16901         * conform/data/stdnoreturn.h-data: Likewise.
16903 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16905         [BZ #14815]
16906         * manual/filesys.texi (Directory Entries): Typo fix.
16907         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16909 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16911         * elf/elf.h (EM_AARCH64): New macro.
16912         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16913         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16914         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16915         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16916         (R_AARCH64_TLSDESC): Likewise.
16917         (NT_ARM_TLS): Likewise.
16918         (NT_ARM_HW_BREAK): Likewise.
16919         (NT_ARM_HW_WATCH): Likewise.
16921 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16923         [BZ #14811]
16924         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16925         (__ieee754_powl): Saturate nonzero exponents with absolute value
16926         below 0x1p-79 to +/- 0x1p-79.
16927         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16928         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16929         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16930         nonzero exponents with absolute value below 0x1p-32 to +/-
16931         0x1p-32.
16932         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16933         (__ieee754_powl): Saturate nonzero exponents with absolute value
16934         below 0x1p-79 to +/- 0x1p-79.
16935         * math/libm-test.inc (pow_test): Add more tests.
16937 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16939         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16940         _dl_s390_cap_flags with kernel. Increase string length.
16941         (_dl_s390_platforms): Add z196 and zEC12.
16943 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16945         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16946         Change XOPEN21K to XOPEN2K.
16948 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16950         * string/memmove.c: Use memcpy when possible.
16952 2012-11-06  Andreas Jaeger  <aj@suse.de>
16954         * po/eo.po: Update from translation team.
16956 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16958         [BZ #14793]
16959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16960         exponent and small x and y exponents, scale x or y up.  Increase
16961         by 2 the exponent used in scaling up.
16962         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16963         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16964         * math/libm-test.inc (fma_test): Add more tests.
16965         (fma_test_towardzero): Likewise.
16966         (fma_test_downward): Likewise.
16967         (fma_test_upward): Likewise.
16969 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16971         [BZ #14805]
16972         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16973         fenv_t *.
16975         [BZ #14801]
16976         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16977         namespace for names of struct fields.
16978         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16979         fenv_t fields.
16980         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16981         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16983 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16985         [BZ #3665]
16986         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16988 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16990         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16991         PTR_DEMANGLE.
16993         [BZ #5246]
16994         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16995         PTR_DEMANGLE.
16997 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16999         [BZ #14797]
17000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17001         definitely overflow as x * y not x * y + z.
17002         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17003         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17004         * math/libm-test.inc (fma_test): Add more tests.
17005         (fma_test_towardzero): Likewise.
17006         (fma_test_downward): Likewise.
17007         (fma_test_upward): Likewise.
17009 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17011         [BZ #157]
17013         * include/stub-tag.h: Remove file.
17014         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17015         '#include' of it.
17016         * manual/maint.texi (Porting): Don't reference it.
17017         * Makerules ($(objpfx)stubs): Likewise.
17018         * dirent/closedir.c: Don't include <stub-tag.h>.
17019         * dirent/dirfd.c: Likewise.
17020         * dirent/fdopendir.c: Likewise.
17021         * dirent/getdents.c: Likewise.
17022         * dirent/getdents64.c: Likewise.
17023         * dirent/opendir.c: Likewise.
17024         * dirent/readdir.c: Likewise.
17025         * dirent/readdir64.c: Likewise.
17026         * dirent/readdir64_r.c: Likewise.
17027         * dirent/readdir_r.c: Likewise.
17028         * dirent/rewinddir.c: Likewise.
17029         * dirent/seekdir.c: Likewise.
17030         * dirent/telldir.c: Likewise.
17031         * gmon/profil.c: Likewise.
17032         * grp/setgroups.c: Likewise.
17033         * inet/if_index.c: Likewise.
17034         * io/access.c: Likewise.
17035         * io/chdir.c: Likewise.
17036         * io/chmod.c: Likewise.
17037         * io/chown.c: Likewise.
17038         * io/close.c: Likewise.
17039         * io/dup.c: Likewise.
17040         * io/dup2.c: Likewise.
17041         * io/dup3.c: Likewise.
17042         * io/euidaccess.c: Likewise.
17043         * io/faccessat.c: Likewise.
17044         * io/fchdir.c: Likewise.
17045         * io/fchmod.c: Likewise.
17046         * io/fchmodat.c: Likewise.
17047         * io/fchown.c: Likewise.
17048         * io/fchownat.c: Likewise.
17049         * io/fcntl.c: Likewise.
17050         * io/flock.c: Likewise.
17051         * io/fstatfs.c: Likewise.
17052         * io/fstatfs64.c: Likewise.
17053         * io/fstatvfs.c: Likewise.
17054         * io/fstatvfs64.c: Likewise.
17055         * io/futimens.c: Likewise.
17056         * io/fxstat.c: Likewise.
17057         * io/fxstat64.c: Likewise.
17058         * io/fxstatat.c: Likewise.
17059         * io/fxstatat64.c: Likewise.
17060         * io/getcwd.c: Likewise.
17061         * io/isatty.c: Likewise.
17062         * io/lchmod.c: Likewise.
17063         * io/lchown.c: Likewise.
17064         * io/link.c: Likewise.
17065         * io/linkat.c: Likewise.
17066         * io/lseek.c: Likewise.
17067         * io/lseek64.c: Likewise.
17068         * io/lxstat64.c: Likewise.
17069         * io/mkdir.c: Likewise.
17070         * io/mkdirat.c: Likewise.
17071         * io/mkfifo.c: Likewise.
17072         * io/mkfifoat.c: Likewise.
17073         * io/open.c: Likewise.
17074         * io/open64.c: Likewise.
17075         * io/openat.c: Likewise.
17076         * io/openat64.c: Likewise.
17077         * io/pipe.c: Likewise.
17078         * io/pipe2.c: Likewise.
17079         * io/poll.c: Likewise.
17080         * io/posix_fadvise.c: Likewise.
17081         * io/posix_fadvise64.c: Likewise.
17082         * io/posix_fallocate.c: Likewise.
17083         * io/posix_fallocate64.c: Likewise.
17084         * io/read.c: Likewise.
17085         * io/readlink.c: Likewise.
17086         * io/readlinkat.c: Likewise.
17087         * io/rmdir.c: Likewise.
17088         * io/sendfile.c: Likewise.
17089         * io/sendfile64.c: Likewise.
17090         * io/statfs.c: Likewise.
17091         * io/statfs64.c: Likewise.
17092         * io/statvfs.c: Likewise.
17093         * io/statvfs64.c: Likewise.
17094         * io/symlink.c: Likewise.
17095         * io/symlinkat.c: Likewise.
17096         * io/ttyname.c: Likewise.
17097         * io/ttyname_r.c: Likewise.
17098         * io/umask.c: Likewise.
17099         * io/unlink.c: Likewise.
17100         * io/unlinkat.c: Likewise.
17101         * io/utime.c: Likewise.
17102         * io/utimensat.c: Likewise.
17103         * io/write.c: Likewise.
17104         * io/xmknod.c: Likewise.
17105         * io/xmknodat.c: Likewise.
17106         * io/xstat.c: Likewise.
17107         * io/xstat64.c: Likewise.
17108         * login/getpt.c: Likewise.
17109         * login/grantpt.c: Likewise.
17110         * login/unlockpt.c: Likewise.
17111         * math/e_acoshl.c: Likewise.
17112         * math/e_acosl.c: Likewise.
17113         * math/e_asinl.c: Likewise.
17114         * math/e_atan2l.c: Likewise.
17115         * math/e_atanhl.c: Likewise.
17116         * math/e_coshl.c: Likewise.
17117         * math/e_expl.c: Likewise.
17118         * math/e_fmodl.c: Likewise.
17119         * math/e_gammal_r.c: Likewise.
17120         * math/e_hypotl.c: Likewise.
17121         * math/e_j0l.c: Likewise.
17122         * math/e_j1l.c: Likewise.
17123         * math/e_jnl.c: Likewise.
17124         * math/e_lgammal_r.c: Likewise.
17125         * math/e_log10l.c: Likewise.
17126         * math/e_log2l.c: Likewise.
17127         * math/e_logl.c: Likewise.
17128         * math/e_powl.c: Likewise.
17129         * math/e_rem_pio2l.c: Likewise.
17130         * math/e_sinhl.c: Likewise.
17131         * math/e_sqrtl.c: Likewise.
17132         * math/fclrexcpt.c: Likewise.
17133         * math/fedisblxcpt.c: Likewise.
17134         * math/feenablxcpt.c: Likewise.
17135         * math/fegetenv.c: Likewise.
17136         * math/fegetexcept.c: Likewise.
17137         * math/fegetround.c: Likewise.
17138         * math/feholdexcpt.c: Likewise.
17139         * math/fesetenv.c: Likewise.
17140         * math/fesetround.c: Likewise.
17141         * math/feupdateenv.c: Likewise.
17142         * math/fgetexcptflg.c: Likewise.
17143         * math/fraiseexcpt.c: Likewise.
17144         * math/fsetexcptflg.c: Likewise.
17145         * math/ftestexcept.c: Likewise.
17146         * math/k_cosl.c: Likewise.
17147         * math/k_rem_pio2l.c: Likewise.
17148         * math/k_sinl.c: Likewise.
17149         * math/k_tanl.c: Likewise.
17150         * math/s_asinhl.c: Likewise.
17151         * math/s_atanl.c: Likewise.
17152         * math/s_cbrtl.c: Likewise.
17153         * math/s_erfl.c: Likewise.
17154         * math/s_expm1l.c: Likewise.
17155         * math/s_log1pl.c: Likewise.
17156         * math/s_tanhl.c: Likewise.
17157         * misc/acct.c: Likewise.
17158         * misc/brk.c: Likewise.
17159         * misc/chflags.c: Likewise.
17160         * misc/chroot.c: Likewise.
17161         * misc/fchflags.c: Likewise.
17162         * misc/fgetxattr.c: Likewise.
17163         * misc/flistxattr.c: Likewise.
17164         * misc/fremovexattr.c: Likewise.
17165         * misc/fsetxattr.c: Likewise.
17166         * misc/fsync.c: Likewise.
17167         * misc/ftruncate.c: Likewise.
17168         * misc/futimes.c: Likewise.
17169         * misc/futimesat.c: Likewise.
17170         * misc/getdomain.c: Likewise.
17171         * misc/getdtsz.c: Likewise.
17172         * misc/gethostid.c: Likewise.
17173         * misc/gethostname.c: Likewise.
17174         * misc/getloadavg.c: Likewise.
17175         * misc/getpagesize.c: Likewise.
17176         * misc/getsysstats.c: Likewise.
17177         * misc/getxattr.c: Likewise.
17178         * misc/gtty.c: Likewise.
17179         * misc/ioctl.c: Likewise.
17180         * misc/lgetxattr.c: Likewise.
17181         * misc/listxattr.c: Likewise.
17182         * misc/llistxattr.c: Likewise.
17183         * misc/lremovexattr.c: Likewise.
17184         * misc/lsetxattr.c: Likewise.
17185         * misc/lutimes.c: Likewise.
17186         * misc/madvise.c: Likewise.
17187         * misc/mincore.c: Likewise.
17188         * misc/mlock.c: Likewise.
17189         * misc/mlockall.c: Likewise.
17190         * misc/mmap.c: Likewise.
17191         * misc/mprotect.c: Likewise.
17192         * misc/msync.c: Likewise.
17193         * misc/munlock.c: Likewise.
17194         * misc/munlockall.c: Likewise.
17195         * misc/munmap.c: Likewise.
17196         * misc/preadv.c: Likewise.
17197         * misc/preadv64.c: Likewise.
17198         * misc/ptrace.c: Likewise.
17199         * misc/pwritev.c: Likewise.
17200         * misc/pwritev64.c: Likewise.
17201         * misc/readv.c: Likewise.
17202         * misc/reboot.c: Likewise.
17203         * misc/remap_file_pages.c: Likewise.
17204         * misc/removexattr.c: Likewise.
17205         * misc/revoke.c: Likewise.
17206         * misc/select.c: Likewise.
17207         * misc/setdomain.c: Likewise.
17208         * misc/setegid.c: Likewise.
17209         * misc/seteuid.c: Likewise.
17210         * misc/sethostid.c: Likewise.
17211         * misc/sethostname.c: Likewise.
17212         * misc/setregid.c: Likewise.
17213         * misc/setreuid.c: Likewise.
17214         * misc/setxattr.c: Likewise.
17215         * misc/sstk.c: Likewise.
17216         * misc/stty.c: Likewise.
17217         * misc/swapoff.c: Likewise.
17218         * misc/swapon.c: Likewise.
17219         * misc/sync.c: Likewise.
17220         * misc/syncfs.c: Likewise.
17221         * misc/syscall.c: Likewise.
17222         * misc/truncate.c: Likewise.
17223         * misc/ualarm.c: Likewise.
17224         * misc/usleep.c: Likewise.
17225         * misc/ustat.c: Likewise.
17226         * misc/utimes.c: Likewise.
17227         * misc/vhangup.c: Likewise.
17228         * misc/writev.c: Likewise.
17229         * posix/_exit.c: Likewise.
17230         * posix/alarm.c: Likewise.
17231         * posix/execve.c: Likewise.
17232         * posix/fexecve.c: Likewise.
17233         * posix/fork.c: Likewise.
17234         * posix/fpathconf.c: Likewise.
17235         * posix/getaddrinfo.c: Likewise.
17236         * posix/getegid.c: Likewise.
17237         * posix/geteuid.c: Likewise.
17238         * posix/getgid.c: Likewise.
17239         * posix/getgroups.c: Likewise.
17240         * posix/getlogin.c: Likewise.
17241         * posix/getlogin_r.c: Likewise.
17242         * posix/getpgid.c: Likewise.
17243         * posix/getpid.c: Likewise.
17244         * posix/getppid.c: Likewise.
17245         * posix/getresgid.c: Likewise.
17246         * posix/getresuid.c: Likewise.
17247         * posix/getsid.c: Likewise.
17248         * posix/getuid.c: Likewise.
17249         * posix/glob64.c: Likewise.
17250         * posix/nanosleep.c: Likewise.
17251         * posix/pathconf.c: Likewise.
17252         * posix/pause.c: Likewise.
17253         * posix/posix_madvise.c: Likewise.
17254         * posix/pread.c: Likewise.
17255         * posix/pread64.c: Likewise.
17256         * posix/pwrite.c: Likewise.
17257         * posix/pwrite64.c: Likewise.
17258         * posix/sched_getaffinity.c: Likewise.
17259         * posix/sched_getp.c: Likewise.
17260         * posix/sched_gets.c: Likewise.
17261         * posix/sched_primax.c: Likewise.
17262         * posix/sched_primin.c: Likewise.
17263         * posix/sched_rr_gi.c: Likewise.
17264         * posix/sched_setaffinity.c: Likewise.
17265         * posix/sched_setp.c: Likewise.
17266         * posix/sched_sets.c: Likewise.
17267         * posix/sched_yield.c: Likewise.
17268         * posix/setgid.c: Likewise.
17269         * posix/setlogin.c: Likewise.
17270         * posix/setpgid.c: Likewise.
17271         * posix/setresgid.c: Likewise.
17272         * posix/setresuid.c: Likewise.
17273         * posix/setsid.c: Likewise.
17274         * posix/setuid.c: Likewise.
17275         * posix/sleep.c: Likewise.
17276         * posix/spawni.c: Likewise.
17277         * posix/sysconf.c: Likewise.
17278         * posix/times.c: Likewise.
17279         * posix/wait.c: Likewise.
17280         * posix/wait3.c: Likewise.
17281         * posix/wait4.c: Likewise.
17282         * posix/waitpid.c: Likewise.
17283         * resolv/gai_sigqueue.c: Likewise.
17284         * resource/getpriority.c: Likewise.
17285         * resource/getrlimit.c: Likewise.
17286         * resource/getrusage.c: Likewise.
17287         * resource/nice.c: Likewise.
17288         * resource/setpriority.c: Likewise.
17289         * resource/setrlimit.c: Likewise.
17290         * resource/ulimit.c: Likewise.
17291         * rt/aio_cancel.c: Likewise.
17292         * rt/aio_fsync.c: Likewise.
17293         * rt/aio_read.c: Likewise.
17294         * rt/aio_sigqueue.c: Likewise.
17295         * rt/aio_suspend.c: Likewise.
17296         * rt/aio_write.c: Likewise.
17297         * rt/clock_getres.c: Likewise.
17298         * rt/clock_gettime.c: Likewise.
17299         * rt/clock_nanosleep.c: Likewise.
17300         * rt/clock_settime.c: Likewise.
17301         * rt/lio_listio.c: Likewise.
17302         * rt/mq_close.c: Likewise.
17303         * rt/mq_getattr.c: Likewise.
17304         * rt/mq_notify.c: Likewise.
17305         * rt/mq_open.c: Likewise.
17306         * rt/mq_receive.c: Likewise.
17307         * rt/mq_send.c: Likewise.
17308         * rt/mq_setattr.c: Likewise.
17309         * rt/mq_timedreceive.c: Likewise.
17310         * rt/mq_timedsend.c: Likewise.
17311         * rt/mq_unlink.c: Likewise.
17312         * rt/shm_open.c: Likewise.
17313         * rt/shm_unlink.c: Likewise.
17314         * rt/timer_create.c: Likewise.
17315         * rt/timer_delete.c: Likewise.
17316         * rt/timer_getoverr.c: Likewise.
17317         * rt/timer_gettime.c: Likewise.
17318         * rt/timer_settime.c: Likewise.
17319         * setjmp/__longjmp.c: Likewise.
17320         * setjmp/setjmp.c: Likewise.
17321         * signal/kill.c: Likewise.
17322         * signal/killpg.c: Likewise.
17323         * signal/raise.c: Likewise.
17324         * signal/sigaction.c: Likewise.
17325         * signal/sigaltstack.c: Likewise.
17326         * signal/sigblock.c: Likewise.
17327         * signal/sigignore.c: Likewise.
17328         * signal/sigintr.c: Likewise.
17329         * signal/signal.c: Likewise.
17330         * signal/sigpause.c: Likewise.
17331         * signal/sigpending.c: Likewise.
17332         * signal/sigqueue.c: Likewise.
17333         * signal/sigreturn.c: Likewise.
17334         * signal/sigset.c: Likewise.
17335         * signal/sigsetmask.c: Likewise.
17336         * signal/sigstack.c: Likewise.
17337         * signal/sigsuspend.c: Likewise.
17338         * signal/sigtimedwait.c: Likewise.
17339         * signal/sigvec.c: Likewise.
17340         * signal/sigwait.c: Likewise.
17341         * signal/sigwaitinfo.c: Likewise.
17342         * signal/sysv_signal.c: Likewise.
17343         * socket/accept.c: Likewise.
17344         * socket/accept4.c: Likewise.
17345         * socket/bind.c: Likewise.
17346         * socket/connect.c: Likewise.
17347         * socket/getpeername.c: Likewise.
17348         * socket/getsockname.c: Likewise.
17349         * socket/getsockopt.c: Likewise.
17350         * socket/isfdtype.c: Likewise.
17351         * socket/listen.c: Likewise.
17352         * socket/recv.c: Likewise.
17353         * socket/recvfrom.c: Likewise.
17354         * socket/recvmsg.c: Likewise.
17355         * socket/send.c: Likewise.
17356         * socket/sendmsg.c: Likewise.
17357         * socket/sendto.c: Likewise.
17358         * socket/setsockopt.c: Likewise.
17359         * socket/shutdown.c: Likewise.
17360         * socket/sockatmark.c: Likewise.
17361         * socket/socket.c: Likewise.
17362         * socket/socketpair.c: Likewise.
17363         * stdio-common/ctermid.c: Likewise.
17364         * stdio-common/cuserid.c: Likewise.
17365         * stdio-common/remove.c: Likewise.
17366         * stdio-common/rename.c: Likewise.
17367         * stdio-common/renameat.c: Likewise.
17368         * stdio-common/tempname.c: Likewise.
17369         * stdlib/getcontext.c: Likewise.
17370         * stdlib/makecontext.c: Likewise.
17371         * stdlib/setcontext.c: Likewise.
17372         * stdlib/swapcontext.c: Likewise.
17373         * stdlib/system.c: Likewise.
17374         * streams/fattach.c: Likewise.
17375         * streams/fdetach.c: Likewise.
17376         * streams/getmsg.c: Likewise.
17377         * streams/getpmsg.c: Likewise.
17378         * streams/putmsg.c: Likewise.
17379         * streams/putpmsg.c: Likewise.
17380         * sysdeps/unix/bsd/getpt.c: Likewise.
17381         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17382         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17383         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17385         Likewise.
17386         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17387         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17388         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17389         * sysvipc/msgctl.c: Likewise.
17390         * sysvipc/msgget.c: Likewise.
17391         * sysvipc/msgrcv.c: Likewise.
17392         * sysvipc/msgsnd.c: Likewise.
17393         * sysvipc/semctl.c: Likewise.
17394         * sysvipc/semget.c: Likewise.
17395         * sysvipc/semop.c: Likewise.
17396         * sysvipc/semtimedop.c: Likewise.
17397         * sysvipc/shmat.c: Likewise.
17398         * sysvipc/shmctl.c: Likewise.
17399         * sysvipc/shmdt.c: Likewise.
17400         * sysvipc/shmget.c: Likewise.
17401         * termios/tcdrain.c: Likewise.
17402         * termios/tcflow.c: Likewise.
17403         * termios/tcflush.c: Likewise.
17404         * termios/tcgetattr.c: Likewise.
17405         * termios/tcgetpgrp.c: Likewise.
17406         * termios/tcsendbrk.c: Likewise.
17407         * termios/tcsetattr.c: Likewise.
17408         * termios/tcsetpgrp.c: Likewise.
17409         * time/adjtime.c: Likewise.
17410         * time/clock.c: Likewise.
17411         * time/getitimer.c: Likewise.
17412         * time/gettimeofday.c: Likewise.
17413         * time/setitimer.c: Likewise.
17414         * time/settimeofday.c: Likewise.
17415         * time/stime.c: Likewise.
17416         * time/time.c: Likewise.
17418 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17420         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17421         /usr/old/bin.
17423         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17424         instead of spaces.
17425         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17427 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17429         [BZ #14796]
17430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17431         FE_TONEAREST before applying Dekker multiplication and Knuth
17432         addition.  Clear inexact exceptions and check for exact zero
17433         results afterwards.
17434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17435         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17436         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17437         * math/libm-test.inc (fma_test): Add more tests.
17438         (fma_test_towardzero): Likewise.
17439         (fma_test_downward): Likewise.
17440         (fma_test_upward): Likewise.
17441         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17442         function.
17443         (libc_fesetround): New macro.
17444         (libc_fesetroundf): Likewise.
17445         (libc_fesetroundl): Likewise.
17446         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17447         function.
17448         (libc_fesetround_387): Likewise.
17449         (libc_fesetroundf): New macro.
17450         (libc_fesetround): Likewise.
17451         (libc_fesetroundl): Likewise.
17452         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17453         function.
17454         (libc_fesetroundf): New macro.
17455         (libc_fesetround): Likewise.
17456         (libc_fesetroundl): Likewise.
17457         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17458         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17459         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17460         libm_hidden_ver.
17461         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17462         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17463         libm_hidden_def.
17464         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17465         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17466         libm_hidden_ver.
17467         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17468         libm_hidden_def.
17470         [BZ #3439]
17471         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17472         integer constant usable in #if and use that to give value to enum
17473         constant.
17474         (FE_DIVBYZERO): Likewise.
17475         (FE_UNDERFLOW): Likewise.
17476         (FE_OVERFLOW): Likewise.
17477         (FE_INVALID): Likewise.
17478         (FE_INVALID_SNAN): Likewise.
17479         (FE_INVALID_ISI): Likewise.
17480         (FE_INVALID_IDI): Likewise.
17481         (FE_INVALID_ZDZ): Likewise.
17482         (FE_INVALID_IMZ): Likewise.
17483         (FE_INVALID_COMPARE): Likewise.
17484         (FE_INVALID_SOFTWARE): Likewise.
17485         (FE_INVALID_SQRT): Likewise.
17486         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17487         (FE_TONEAREST): Likewise.
17488         (FE_TOWARDZERO): Likewise.
17489         (FE_UPWARD): Likewise.
17490         (FE_DOWNWARD): Likewise.
17491         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17492         (FE_DIVBYZERO): Likewise.
17493         (FE_OVERFLOW): Likewise.
17494         (FE_UNDERFLOW): Likewise.
17495         (FE_INEXACT): Likewise.
17496         (FE_TONEAREST): Likewise.
17497         (FE_DOWNWARD): Likewise.
17498         (FE_UPWARD): Likewise.
17499         (FE_TOWARDZERO): Likewise.
17500         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17501         (FE_UNDERFLOW): Likewise.
17502         (FE_OVERFLOW): Likewise.
17503         (FE_DIVBYZERO): Likewise.
17504         (FE_INVALID): Likewise.
17505         (FE_TONEAREST): Likewise.
17506         (FE_TOWARDZERO): Likewise.
17507         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17508         (FE_OVERFLOW): Likewise.
17509         (FE_UNDERFLOW): Likewise.
17510         (FE_DIVBYZERO): Likewise.
17511         (FE_INEXACT): Likewise.
17512         (FE_TONEAREST): Likewise.
17513         (FE_TOWARDZERO): Likewise.
17514         (FE_UPWARD): Likewise.
17515         (FE_DOWNWARD): Likewise.
17516         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17517         (FE_DIVBYZERO): Likewise.
17518         (FE_OVERFLOW): Likewise.
17519         (FE_UNDERFLOW): Likewise.
17520         (FE_INEXACT): Likewise.
17521         (FE_TONEAREST): Likewise.
17522         (FE_DOWNWARD): Likewise.
17523         (FE_UPWARD): Likewise.
17524         (FE_TOWARDZERO): Likewise.
17526 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17528         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17530 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17532         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17533         commands.  Quote $PWD.
17534         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17535         -x" by "export".
17536         (remove_newlines): Remove.
17538 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17540         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17541         * stdlib/stdlib.h (atof): Moved to ...
17542         * include/bits/stdlib-float.h: Here.  New file.
17543         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17544         * stdlib/bits/stdlib-float.h: New file.
17545         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17546         -mno-sse -mno-mmx.
17547         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17548         <xmmintrin.h>.
17550 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17552         * conform/conformtest.pl (@headers): Add fenv.h.
17553         * conform/data/fenv.h-data: New file.
17554         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17555         include of <math/fenv.h>.
17557         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17558         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17559         && !UNIX98].  Enables tests for XOPEN2K8.
17560         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17561         POSIX2008]: Likewise.
17563         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17564         (struct rusage): Do not expect type or its members.
17566         [BZ #3439]
17567         * math/math.h (FP_NAN): Define macro to integer constant usable in
17568         #if and use that to give value to enum constant.
17569         (FP_INFINITE): Likewise.
17570         (FP_ZERO): Likewise.
17571         (FP_SUBNORMAL): Likewise.
17572         (FP_NORMAL): Likewise.
17574 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17576         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17577         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17578         arguments.
17580 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17582         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17583         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17584         autoconf-time if not.
17585         * configure.in: Remove AC_PREREQ.
17587 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17589         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17590         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17591         of the internal implementation.
17593 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17595         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17596         except include of <misc/sys/syslog.h>.
17598 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17601         function returns with a NULL context exit with zero.
17603 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17605         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17607 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17609         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17610         (run_program_cmd): This.
17611         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17612         (tst_langinfo): New variable.  Use it.
17614 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17616         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17617         floating point opcodes.
17619 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17621         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17622         variable.
17624         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17626         * sysdeps/mach/hurd/powerpc: Remove directory.
17627         * sysdeps/mach/powerpc: Likewise.
17629 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17631         * scripts/check-local-headers.sh: Ignore c++ headers.
17633 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17635         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17636         __libc_cleanup_region_start argument.
17638 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17640         [BZ #14784]
17641         [BZ #14785]
17642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17643         x * y using scaling, not as x * y + z.
17644         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17645         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17646         * math/libm-test.inc (fma_test): Add more tests.
17647         (fma_test_towardzero): Likewise.
17648         (fma_test_downward): Likewise.
17649         (fma_test_upward): Likewise.
17651 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17653         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17655 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17657         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17658         New variable.
17660 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17662         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17664 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17667         Fix sort order.
17668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17669         Likewise.
17671 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17674         Fix the order of the list for glibc 2.17.
17675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17676         Likewise.
17678 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17682 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17684         [BZ #14610]
17685         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17686         for low part of x being zero before using __atanl (y).
17687         * math/libm-test.inc (atan2_test): Add another test.
17689         * manual/install.texi (Configuring and compiling): Document
17690         general use of test-wrapper and test-wrapper-env.
17691         * INSTALL: Regenerated.
17693         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17694         (__fma): Do not extract and scale down low bits on after-rounding
17695         systems when result rounded to normal precision would have normal
17696         exponent.
17697         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17698         (__fmal): Do not extract and scale down low bits on after-rounding
17699         systems when result rounded to normal precision would have normal
17700         exponent.
17701         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17702         (__fmal): Do not extract and scale down low bits on after-rounding
17703         systems when result rounded to normal precision would have normal
17704         exponent.
17705         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17706         macro.
17707         (fma_test): Add more tests.
17708         (fma_test_towardzero): Likewise.
17709         (fma_test_downward): Likewise.
17710         (fma_test_upward): Likewise.
17712 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17714         * sysdeps/i386/tininess.h: Renamed to ...
17715         * sysdeps/x86/tininess.h: This.
17716         * sysdeps/x86_64/tininess.h: Removed.
17718 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17720         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17721         input.  Use $(build-program-cmd).
17722         ($(objpfx)tst-array1-static.out): Likewise.
17723         ($(objpfx)tst-array2.out): Likewise.
17724         ($(objpfx)tst-array3.out): Likewise.
17725         ($(objpfx)tst-array4.out): Likewise.
17726         ($(objpfx)tst-array5.out): Likewise.
17727         ($(objpfx)tst-array5-static.out): Likewise.
17729 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17731         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17732         if defined.
17734         * nss/nsswitch.h (nss_interface_function): Provide new
17735         macro for use with NSS functions.
17736         * grp/initgroups.c: Use new macro.
17737         * nss/getXXbyYY.c: Likewise.
17738         * nss/getXXbyYY_r.c: Likewise.
17739         * nss/getXXent.c: Likewise.
17740         * nss/getXXent_r.c: Likewise.
17741         * sysdeps/posix/getaddrinfo.c: Likewise.
17743 2012-10-30  Andreas Jaeger  <aj@suse.de>
17745         * po/ru.po: Update Russion translation from translation project.
17747 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17749         [BZ #14152]
17750         [BZ #14783]
17751         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17752         result and shift together with sticky bit instead of replicating
17753         round-to-nearest rounding.
17754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17755         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17756         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17757         missing underflow exceptions.
17758         (fma_test_towardzero): Add more tests.
17759         (fma_test_downward): Likewise.
17760         (fma_test_upward): Likewise.
17762         [BZ #14047]
17763         * sysdeps/generic/tininess.h: New file.
17764         * sysdeps/i386/tininess.h: Likewise.
17765         * sysdeps/sh/tininess.h: Likewise.
17766         * sysdeps/x86_64/tininess.h: Likewise.
17767         * stdlib/tst-strtod-underflow.c: Likewise.
17768         * stdlib/tst-tininess.c: Likewise.
17769         * stdlib/strtod_l.c: Include <tininess.h>.
17770         (round_and_return): Do not set errno for exact underflow cases.
17771         Force an underflow exception when setting errno for underflow.
17772         Determine underflow based on rounding to normal precision if
17773         TININESS_AFTER_ROUNDING.
17774         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17775         ERANGE for exact underflow cases.
17776         * stdlib/Makefile (tests): Add tst-tininess and
17777         tst-strtod-underflow.
17778         ($(objpfx)tst-tininess): Use $(link-libm).
17779         ($(objpfx)tst-strtod-underflow): Likewise.
17781 2012-10-30  Andreas Jaeger  <aj@suse.de>
17783         [BZ#14767]
17784         * elf/Makefile (tests): Remove conditional for have-initfini-array
17785         since this is now always required and the variable does not exist
17786         anymore.
17787         (tests-static): Likewise.
17788         (modules-names): Likewise.
17790         * po/eo.po: Add Esperanto translation from translation project.
17792         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17793         merged with constructor/destructor.
17794         (init_array): Likewise.
17795         * elf/tst-array2dep.c (fini_array): Likewise.
17796         (init_array): Likewise.
17798 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17800         * manual/message.texi: Delete @cartouche tags.
17802 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17804         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17805         EOPNOTSUPP.
17806         * sysdeps/mach/hurd/fsync.c: Likewise.
17808         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17809         [_POSIX_REALTIME_SIGNALS]: Change condition to
17810         [_POSIX_REALTIME_SIGNALS > 0].
17812 2012-10-27  Andreas Jaeger  <aj@suse.de>
17814         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17815         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17816         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17817         [__WORDSIZE != 64]: Likewise.
17819 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17821         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17822         *  iconvdata/tst-tables.sh: Likewise.
17824 2012-10-25  David S. Miller  <davem@davemloft.net>
17826         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17827         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17828         of strtoull.
17830         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17831         ifunc-impl-list.c
17832         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17833         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17834         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17835         file.
17837 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17839         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17840         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17841         __getdirentries.
17843 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17844             Jim Blandy  <jimb@codesourcery.com>
17846         * scripts/cross-test-ssh.sh: New file.
17847         * manual/install.texi (Configuring and compiling): Document use of
17848         cross-test-ssh.sh.
17849         * INSTALL: Regenerated.
17851 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17853         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17854         EOPNOTSUPP.
17856 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17858         * Makeconfig (run-program-prefix): Fix comment.
17860 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17861             Jim Blandy  <jimb@codesourcery.com>
17863         * Makeconfig (test-wrapper): New variable,
17864         (test-wrapper-env): Likewise.
17865         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17866         (run-built-tests): Define to yes.
17867         (run-program-prefix): Use $(test-wrapper).
17868         (built-program-cmd): Likewise.
17869         * Rules (make-test-out): Use $(test-wrapper-env) and
17870         $(host-built-program-cmd).
17871         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17872         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17873         tst-pathopt.sh.
17874         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17875         $(test-wrapper-env) to tst-rtld-load-self.sh.
17876         ($(objpfx)order2.out): Use $(test-wrapper).
17877         ($(objpfx)tst-initorder.out): Likewise.
17878         ($(objpfx)tst-initorder2.out): Likewise.
17879         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17880         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17881         (test_wrapper_env): New variable.  Use it to run ld.so.
17882         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17883         Use it to run ld.so.
17884         (test_wrapper_env): Likewise.
17885         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17886         $(test-wrapper) to run-iconv-test.sh.
17887         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17888         (ICONV): Use $test_wrapper.
17889         * posix/Makefile ($(objpfx)globtest.out): Pass
17890         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17891         globtest.sh, not $(run-program-prefix).
17892         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17893         (test_wrapper): Likewise.
17894         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17895         set together with run_via_rtld_prefix.
17896         (run_program_prefix): Define in terms of test_wrapper and
17897         run_via_rtld_prefix.
17899 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17901         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17902         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17903         Targets removed.
17905         [BZ #14743]
17906         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17907         Declare __clock_getres, __clock_gettime, __clock_settime,
17908         __clock_nanosleep, and __clock_getcpuclockid.
17909         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17910         Remove librt_hidden_def (clock_gettime).
17911         * sysdeps/unix/clock_gettime.c: Likewise.
17912         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17913         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17914         * rt/clock_getres.c: Define __clock_getres as an alias.
17915         * sysdeps/posix/clock_getres.c: Likewise.
17916         * rt/clock_settime.c: Define __clock_settime as an alias.
17917         * sysdeps/unix/clock_settime.c: Likewise.
17918         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17919         * sysdeps/unix/clock_nanosleep.c: Likewise.
17920         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17921         * rt/clock-compat.c: New file.
17922         * rt/Makefile (librt-routines): Add clock-compat and move
17923         $(clock-routines) to ...
17924         (routines): ... here, new variable.
17925         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17926         Don't add get_clockfreq here.
17927         * rt/Versions (libc: GLIBC_2.17): New version set.
17928         Add clock_* symbols here.
17929         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17930         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17931         (GLIBC_2.17): Add clock_* symbols.
17932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17934         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17936         Likewise.
17937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17938         Likewise.
17939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17943         * NEWS: Mention the move.
17945         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17946         Use __open, __read, __close rather than their public counterparts.
17947         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17948         (__get_clockfreq_via_cpuinfo): Likewise.
17949         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17950         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17952         * config.h.in (HAVE_IFUNC): New #undef.
17953         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17954         was successful.
17955         * configure: Regenerated.
17957 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17959         * configure.in: Move READELF check to start of file.
17960         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17961         libc_cv_asm_gnu_indirect_function in the process.
17962         * configure: Regenerated.
17964 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17966         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17967         send the output to /dev/null.
17968         (libc_cv_cc_with_libunwind): Likewise.
17969         (libc_cv_as_noexecstack): Likewise.
17970         * configure: Regenerate.
17972 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17974         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17976         * posix/globtest.sh (TMPDIR): Do not set.
17977         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17978         (testout): Likewise.
17980 2012-10-24  Andreas Jaeger  <aj@suse.de>
17982         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17983         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17984         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17985         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17986         posix_fadvise64, posix_fallocate64.
17988         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17989         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17990         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17991         Likewise.
17992         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17993         Likewise.
17994         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17997         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17998         <bits/fcntl-linux.h>.
17999         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18001         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18002         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18003         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18004         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18005         [__WORDSIZE != 64]: Likewise.
18007 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18009         * Makeconfig (run-built-tests): New variable.
18010         * Rules [$(cross-compiling) = yes]: Change condition to
18011         [$(run-built-tests) = no].
18012         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18013         to [$(run-built-tests) = yes].
18014         * elf/Makefile [$(cross-compiling) = no]: Likewise
18015         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18016         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18017         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18018         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18019         * io/Makefile [$(cross-compiling) = no]: Likewise.
18020         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18021         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18022         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18023         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18024         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18025         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18026         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18027         * string/Makefile [$(cross-compiling) = no]: Likewise.
18029         * posix/Makefile ($(objpfx)globtest.out): Pass
18030         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18031         $(rtld-installed-name).
18032         * posix/globtest.sh (elf_objpfx): Remove variable.
18033         (rtld_installed_name): Likewise.
18034         (library_path): Likewise.
18035         (run_program_prefix): New variable.  Use for running globtest
18036         binary.
18038 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18039             Joseph Myers  <joseph@codesourcery.com>
18041         * Makeconfig (host-built-program-cmd): New variable.
18042         * elf/Makefile (tst-stackguard1-ARGS): Use
18043         $(host-built-program-cmd).
18044         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18045         (tst-spawn-ARGS): Likewise.
18046         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18048 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18049             Jim Blandy  <jimb@codesourcery.com>
18051         * Makeconfig (run-via-rtld-prefix): New variable.
18052         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18053         (built-program-cmd): Likewise.
18055 2012-10-22  Andreas Jaeger  <aj@suse.de>
18057         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18058         __O_RSYNC if it exists, otherwise to O_SYNC.
18060 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18061             Joseph Myers  <joseph@codesourcery.com>
18063         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18064         /dev/null.
18065         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18066         from /dev/null
18067         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18068         /dev/null.
18070 2012-10-22  Andreas Jaeger  <aj@suse.de>
18072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18073         Define always.
18074         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18076         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18077         bits/fcntl-linux.h.
18079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18080         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18082         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18083         to __O_LARGEFILE.
18084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18085         to __O_LARGEFILE.
18087 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18088             Joseph Myers  <joseph@codesourcery.com>
18090         * config.make.in (NM): New variable.
18092 2012-10-21  Andreas Jaeger  <aj@suse.de>
18094         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18095         definitions and declarations that are provided by
18096         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18098 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18100         [BZ #14683]
18101         * elf/Makefile (tests-static): Add tst-leaks1-static.
18102         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18103         ($(objpfx)tst-leaks1-static): New rule.
18104         ($(objpfx)tst-leaks1-static-mem): Likewise.
18105         (tst-leaks1-static-ENV): New macro.
18106         * elf/dl-open.c (dl_open_worker): Check the main application
18107         only if SHARED is defined.
18108         * elf/tst-leaks1-static.c: New file.
18110 2012-10-20  Andreas Jaeger  <aj@suse.de>
18112         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18113         generic values for Linux.
18114         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18115         and declarations that are provided by <bits/fcntl-linux.h> and
18116         include <bits/fcntl-linux.h>.
18117         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18118         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18120 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18122         * io/fcntl.h: Move include of <bits/types.h> to the top and
18123         include it unconditionally.
18125 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18127         * wcsmbs/Makefile (tests-ifunc): New variable.
18128         (tests): Add $(tests-ifunc).
18129         * wcsmbs/test-wcschr-ifunc.c: New file.
18130         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18131         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18132         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18133         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18134         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18136         * string/Makefile (tests-ifunc): New variable.
18137         (tests): Add $(tests-ifunc).
18138         * string/test-memccpy.c (TEST_NAME): New macro.
18139         * string/test-memchr.c (TEST_NAME): Likewise.
18140         * string/test-memcmp.c (TEST_NAME): Likewise.
18141         * string/test-memcpy.c (TEST_NAME): Likewise.
18142         * string/test-memmem.c (TEST_NAME): Likewise.
18143         * string/test-memmove.c (TEST_NAME): Likewise.
18144         * string/test-memset.c (TEST_NAME): Likewise.
18145         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18146         * string/test-stpcpy.c (TEST_NAME): Likewise.
18147         * string/test-stpncpy.c (TEST_NAME): Likewise.
18148         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18149         * string/test-strcasestr.c (TEST_NAME): Likewise.
18150         * string/test-strcat.c (TEST_NAME): Likewise.
18151         * string/test-strchr.c (TEST_NAME): Likewise.
18152         * string/test-strcmp.c(TEST_NAME): Likewise.
18153         * string/test-strcpy.c (TEST_NAME): Likewise.
18154         * string/test-strcspn.c (TEST_NAME): Likewise.
18155         * string/test-strlen.c (TEST_NAME): Likewise.
18156         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18157         * string/test-strncmp.c (TEST_NAME): Likewise.
18158         * string/test-strncpy.c (TEST_NAME): Likewise.
18159         * string/test-strnlen.c (TEST_NAME): Likewise.
18160         * string/test-strpbrk.c (TEST_NAME): Likewise.
18161         * string/test-strrchr.c (TEST_NAME): Likewise.
18162         * string/test-strspn.c (TEST_NAME): Likewise.
18163         * string/test-strstr.c (TEST_NAME): Likewise.
18164         * string/test-bcopy-ifunc.c: New file.
18165         * string/test-bzero-ifunc.c: Likewise.
18166         * string/test-memccpy-ifunc.c: Likewise.
18167         * string/test-memchr-ifunc.c: Likewise.
18168         * string/test-memcmp-ifunc.c: Likewise.
18169         * string/test-memcpy-ifunc.c: Likewise.
18170         * string/test-memmem-ifunc.c: Likewise.
18171         * string/test-memmove-ifunc.c: Likewise.
18172         * string/test-mempcpy-ifunc.c: Likewise.
18173         * string/test-memset-ifunc.c: Likewise.
18174         * string/test-rawmemchr-ifunc.c: Likewise.
18175         * string/test-stpcpy-ifunc.c: Likewise.
18176         * string/test-stpncpy-ifunc.c: Likewise.
18177         * string/test-strcasecmp-ifunc.c: Likewise.
18178         * string/test-strcasestr-ifunc.c: Likewise.
18179         * string/test-strcat-ifunc.c: Likewise.
18180         * string/test-strchr-ifunc.c: Likewise.
18181         * string/test-strchrnul-ifunc.c: Likewise.
18182         * string/test-strcmp-ifunc.c: Likewise.
18183         * string/test-strcpy-ifunc.c: Likewise.
18184         * string/test-strcspn-ifunc.c: Likewise.
18185         * string/test-strlen-ifunc.c: Likewise.
18186         * string/test-strncasecmp-ifunc.c: Likewise.
18187         * string/test-strncat-ifunc.c: Likewise.
18188         * string/test-strncmp-ifunc.c: Likewise.
18189         * string/test-strncpy-ifunc.c: Likewise.
18190         * string/test-strnlen-ifunc.c: Likewise.
18191         * string/test-strpbrk-ifunc.c: Likewise.
18192         * string/test-strrchr-ifunc.c: Likewise.
18193         * string/test-strspn-ifunc.c: Likewise.
18194         * string/test-strstr-ifunc.c: Likewise.
18196         * debug/Makefile (tests-ifunc): New variable.
18197         (tests): Add $(tests-ifunc).
18198         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18199         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18200         * debug/test-stpcpy_chk-ifunc.c: New file.
18201         * debug/test-strcpy_chk-ifunc.c: Likewise.
18203 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18205         [BZ #13601]
18206         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18207         header is not read in.
18209 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18211         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18212         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18213         directly.  Pass built executable to script as
18214         $(built-program-cmd).
18215         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18216         $testprogram without using LD_LIBRARY_PATH and $ldso.
18218         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18219         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18220         $(rtld-installed-name).
18221         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18222         (rtld_installed_name): Likewise.
18223         (library_path): Likewise.
18224         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18225         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18226         $(run-program-prefix) to tst-tables.sh.
18227         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18228         it to run tst-table-from and tst-table-to.
18229         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18230         Pass it to tst-table.sh.
18231         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18232         $(run-program-prefix) to tst-gettext.sh.
18233         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18234         tst-translit.sh.
18235         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18236         tst-gettext2.sh.
18237         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18238         to run tst-gettext.
18239         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18240         to run tst-gettext2.
18241         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18242         to run tst-translit.
18243         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18244         $(run-program-prefix) to tst-mtrace.sh.
18245         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18246         to run tst-mtrace.
18247         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18248         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18249         $(rtld-installed-name).
18250         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18251         (rtld_installed_name): Likewise.
18252         (run_program_prefix): New variable.  Use it to run wordexp-test.
18254         * Makeconfig (ARCH): Remove all definitions.
18255         (machine): Likewise.
18256         [ARCH]: Remove conditional code.
18257         [!objdir]: Give error.
18258         [!objdir] (objpfx): Remove.
18259         [!objdir] (common-objpfx): Likewise.
18260         [!objdir] (common-objdir): Likewise.
18261         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18262         AC_CONFIG_FILES call.
18263         * configure: Regenerated.
18265         [BZ #13888]
18266         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18267         or TMPDIR.
18268         (testout): Likewise.
18270         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18271         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18272         $(rtld-installed-name).
18273         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18274         (rtld_installed_name): Likwise.
18275         (runit): Remove function.
18276         (run_getconf): New variable,  Use it for running getconf binary.
18278 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18280         [BZ #14716]
18281         * string/test-memmem.c (check_result): New function.
18282         (do_one_test): Use it.
18283         (check1): New function.
18284         (test_main): Use it.
18286 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18288         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18290 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18292         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18293         (_G_LSEEK64): Likewise.
18294         (_G_MMAP64): Likewise.
18295         (_G_FSTAT64): Likewise.
18296         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18297         (_G_LSEEK64): Likewise.
18298         (_G_MMAP64): Likewise.
18299         (_G_FSTAT64): Likewise.
18300         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18301         unconditional.  Call __mmap64 directly.
18302         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18303         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18304         __lseek64 directly.
18305         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18306         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18307         __mmap64 directly.
18308         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18309         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18310         __lseek64 directly.
18311         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18312         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18313         __lseek64 directly.
18314         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18315         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18316         __lseek64 directly.
18317         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18318         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18319         __fxstat64 directly.
18320         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18321         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18322         unconditional.
18323         (freopen64) [!_G_OPEN64]: Remove conditional code.
18324         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18325         unconditional.
18326         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18327         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18328         unconditional.
18329         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18330         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18331         unconditional.
18332         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18333         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18334         unconditional.
18335         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18336         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18337         unconditional.
18338         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18339         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18340         unconditional.
18341         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18342         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18343         unconditional.
18344         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18346 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18348         [BZ #12140]
18349         * manual/memory.texi (Malloc Tunable Parameters): Add note
18350         about free list pointers overwriting some perturb bytes.
18351         Wording suggested by Roland McGrath.
18353 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18355         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18356         (lgamma_test): Likewise.
18357         (tgamma_test): Likewise.
18359 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18361         [BZ #14700]
18362         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18363         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18365 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18367         * NEWS: Mention BZ #14716.
18368         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18369         when removing AVAILABLE1_USES_J macro.
18371 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18373         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18374         (__bswap_64): __uint64_t for unsigned 64-bit int.
18376 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18378         * include/string.h (memmem): Declare libc hidden alias.
18379         * string/memmem.c (memmem): Define libc hidden alias.
18380         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18381         __read, __close instead of open, read, close.
18383 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18386         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18387         global and hidden.
18388         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18389         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18390         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18391         Likewise.
18392         (__rawmemchr_sse2): Likewise.
18393         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18394         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18395         (__strchr_sse2): Likewise.
18396         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18397         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18398         (__strcasecmp_sse2): Likewise.
18399         (__strncasecmp_sse2): Likewise.
18400         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18401         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18402         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18403         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18404         (__strrchr_sse2): Likewise.
18405         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18406         ifunc-impl-list.c.
18407         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18408         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18409         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18410         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18411         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18412         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18413         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18414         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18415         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18416         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18417         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18418         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18419         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18420         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18421         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18422         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18423         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18424         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18425         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18426         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18427         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18428         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18429         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18430         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18431         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18432         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18433         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18434         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18435         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18436         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18438         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18439         global and hidden.
18440         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18441         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18442         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18443         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18444         Likewise.
18445         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18446         Likewise.
18447         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18448         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18449         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18450         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18451         ifunc-impl-list.c.
18452         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18453         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18454         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18455         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18456         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18457         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18458         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18459         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18460         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18461         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18462         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18463         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18464         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18465         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18466         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18467         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18468         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18469         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18470         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18471         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18472         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18473         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18474         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18475         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18476         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18477         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18478         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18479         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18480         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18481         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18482         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18483         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18484         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18485         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18486         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18487         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18488         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18489         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18490         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18491         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18492         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18494         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18495         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18496         * include/ifunc-impl-list.h: New file.
18497         * misc/ifunc-impl-list.c: Likewise.
18498         * misc/Makefile (routines): Add ifunc-impl-list.
18499         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18500         * string/test-string.h: Include <ifunc-impl-list.h>.
18501         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18502         impl_array): New variables.
18503         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18504         are defined.
18505         (test_init): Call __libc_ifunc_impl_list to initialize
18506         func_list if TEST_IFUNC and TEST_NAME are defined.
18508         * string/Makefile (strop-tests): Add bcopy and bzero.
18509         * string/test-bcopy.c: New file.
18510         * string/test-bzero.c: Likewise.
18511         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18512         defined.
18513         * string/test-memset.c: Support bzero test if TEST_BZERO is
18514         defined.
18515         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18516         __libc_memmove.
18517         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18518         __libc_memset.
18519         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18520         of memset.
18522 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18524         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18525         * configure: Regenerated.
18527         * Makeconfig (+link-static-before-libc): Don't include
18528         $(link-static-libc).
18530         * libio/libio.h (_IO_pos_t): Remove.
18532 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18534         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18535         McGrath.
18537 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18539         * crypt/crypt-entry.c: Include fips-private.h.
18540         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18541         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18542         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18543         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18545 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18547         * crypt/crypt-private.h: Include stdbool.h.
18548         (_ufc_setup_salt_r): Return bool.
18549         * crypt/crypt-entry.c: Include errno.h.
18550         (__crypt_r): Return NULL with EINVAL for bad salt.
18551         * crypt/crypt_util.c (bad_for_salt): New.
18552         (_ufc_setup_salt_r): Check that salt is long enough and within
18553         the specified alphabet.
18554         * crypt/badsalttest.c: New file.
18555         * crypt/Makefile (tests): Add it.
18556         ($(objpfx)badsalttest): New.
18558 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18560         * NEWS: Add entry for BZ #14602.
18562 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18564         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18565         type-generic.
18566         * math/libm-test.inc: Update comment listing what functions and
18567         macros are tested.
18568         (isgreater_test): New function.
18569         (isgreaterequal_test): Likewise.
18570         (isless_test): Likewise.
18571         (islessequal_test): Likewise.
18572         (islessgreater_test): Likewise.
18573         (isunordered_test): Likewise.
18574         (main): Call the new functions.
18576 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18578         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18579         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18580         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18581         * sysdeps/i386/configure: Regenerated.
18582         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18583         * sysdeps/mach/configure: Regenerated.
18584         * sysdeps/mach/hurd/configure: Regenerated.
18585         * sysdeps/powerpc/configure: Regenerated.
18586         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18587         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18588         * sysdeps/s390/s390-32/configure: Regenerated.
18589         * sysdeps/s390/s390-64/configure: Regenerated.
18590         * sysdeps/sh/configure: Regenerated.
18591         * sysdeps/sparc/configure: Regenerated.
18592         * sysdeps/unix/sysv/linux/configure: Regenerated.
18593         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18594         * sysdeps/x86_64/configure: Regenerated.
18596         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18597         defined.  Don't check if MAP is NULL.
18599 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18601         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18602         (_G_stat64): Likewise.
18603         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18604         (_G_stat64): Likewise.
18605         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18606         instead of struct _G_stat64.
18607         * libio/fileops.c (mmap_remap_check): Likewise.
18608         (decide_maybe_mmap): Likewise.
18609         (_IO_new_file_seekoff): Likewise.
18610         (_IO_file_stat): Likewise.
18611         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18612         _G_off64_t.
18613         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18614         instead of struct _G_stat64.
18615         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18617 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18619         [BZ #14602]
18620         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18621         Replace with ...
18622         (CHECK_EOL): New macro.
18623         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18624         CHECK_EOL.
18625         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18626         Replace with CHECK_EOL.
18627         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18628         Replace with CHECK_EOL.
18630 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18632         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18633         type-generic.
18634         * math/libm-test.inc: Update comment listing what functions and
18635         macros are tested.
18636         (finite_test): New function.
18637         (isinf_test): Likewise.
18638         (isnan_test): Likewise.
18639         (fpclassify_test): Test subnormal input.
18640         (isfinite_test): Likewise.
18641         (isnormal_test): Likewise.
18642         (main): Call the new functions.
18644 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18646         [BZ #14660]
18647         * Makerules (%.dynsym): Force C locale when running
18648         $(OBJDUMP) --dynamic-syms.
18650 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18652         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18653         <stdint.h>.
18655 2012-10-06  David S. Miller  <davem@davemloft.net>
18657         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18658         upper 32-bits of the length value in %o2 since we use branch-on-register
18659         tests which consider the entire 64-bit register.
18661 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18663         * string/test-strstr.c (check2): Add a test for page boundary.
18665 2012-10-05  David S. Miller  <davem@davemloft.net>
18667         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18668         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18669         file.
18670         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18671         sysdep_routines.
18672         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18673         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18674         and bzero when HWCAP_SPARC_CRYPTO is present.
18676 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18678         [BZ #14602]
18679         * string/test-strstr.c (check2): New function.
18680         (test_main): Call check2.
18682         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18683         and bug-strchr1.
18684         * string/bug-strcasestr1.c (do_test): Moved to ...
18685         * string/test-strcasestr.c (check1): Here.  New function.
18686         (do_one_test): Break out result checking code into ...
18687         (check_result): This.  New function.
18688         (do_one_test): Call check_result.
18689         (test_main): Call check1.
18690         * string/bug-strchr1.c (do_test): Moved to ...
18691         * string/test-strchr.c (check1): Here.  New function.
18692         (do_one_test): Break out result checking code into ...
18693         (check_result): This.  New function.
18694         (do_one_test): Call check_result.
18695         (test_main): Call check1.
18696         * string/bug-strstr1.c (main): Moved to ...
18697         * string/test-strstr.c (check1): Here.  New function.
18698         (do_one_test): Break out result checking code into ...
18699         (check_result): This.  New function.
18700         (do_one_test): Call check_result.
18701         (test_main): Call check1.
18702         * string/bug-strcasestr1.c: Removed.
18703         * string/bug-strchr1.c: Likewise.
18704         * string/bug-strstr1.c: Likewise.
18706         * elf/Makefile (dl-routines): Add hwcaps.
18707         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18708         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18709         (_dl_important_hwcaps): Moved to ...
18710         * elf/dl-hwcaps.c: Here.  New file.
18711         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18713         [BZ #14557]
18714         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18715         if IS_IN_rtld isn't defined.
18717         * elf/dl-support.c (_dl_sysinfo_map): New.
18718         Include "get-dynamic-info.h" and "setup-vdso.h".
18719         (_dl_non_dynamic_init): Call setup_vdso.
18720         * elf/dynamic-link.h: Don't include <assert.h>.
18721         (elf_get_dynamic_info): Moved to ...
18722         * elf/get-dynamic-info.h: Here.  New file.
18723         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18724         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18725         * elf/setup-vdso.h: Here.  New file.
18726         * elf/rtld.c: Include "setup-vdso.h".
18727         (dl_main): Call setup_vdso.
18729 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18731         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18732         creal in comment listing functions tested.  List finite, isinf,
18733         isnan, isless, islessequal, isgreater, isgreaterequal,
18734         islessgreater, isunordered, lgamma_r and pow10 as functions and
18735         macros not tested.  Mention which functions not tested are aliases
18736         for other functions.  Fix typo.  Note that signs of NaNs are not
18737         tested.
18739         * scripts/config.guess: Update from config.git.
18740         * scripts/config.sub: Likewise.
18742 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18744         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18745         * misc/madvise.c (madvise): Renamed to __madvise.
18746         Make madvise a weak alias.
18747         * include/sys/mman.h: Declare __madvise.
18748         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18749         * sysdeps/unix/syscalls.list
18750         (madvise): Make __madvise the strong name, and madvise a weak alias.
18751         * sysdeps/unix/sysv/linux/syscalls.list
18752         (madvise, mmap): Remove redundant entries.
18753         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18754         * malloc/malloc.c (mtrim): Likewise.
18755         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18757 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18759         * sysdeps/mach/hurd/dl-cache.c: File removed.
18760         * config.h.in (USE_LDCONFIG): New #undef.
18761         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18762         * configure: Regenerated.
18763         * elf/Makefile (dl-routines): Add dl-cache only under
18764         [$(use-ldconfig) = yes].
18765         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18766         cache on [USE_LDCONFIG].
18767         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18768         [USE_LDCONFIG].
18769         * elf/rtld.c (dl_main): Likewise.
18771 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18773         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18774         _SC_LEVEL4_CACHE_LINESIZE.
18776 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18778         * sysdeps/unix/bsd/confstr.h: File removed.
18780 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18782         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18783         sys/sdt-config.h.
18785 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18787         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18788         Make 'mapoff' field ElfW(Off) rather than off_t.
18790 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18792         * nscd/Makefile: Remove nscd-cflags and all its users.
18793         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18794         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18796         [BZ #10631]
18797         * malloc.c (malloc_printerr): Clarify error message.
18799 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18801         [BZ #14648]
18802         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18803         Set bit_FMA_Usable if FMA is supported.
18804         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18805         macro.
18806         (bit_FMA4_Usable): Updated.
18807         (index_FMA_Usable): New macro.
18808         (CPUID_FMA): Likewise
18809         (HAS_FMA): Defined with bit_FMA_Usable.
18811 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18813         * bits/types.h (__swblk_t): Type removed.
18814         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18815         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18816         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18817         (__SWBLK_T_TYPE): Likewise.
18818         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18819         (__SWBLK_T_TYPE): Likewise.
18820         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18821         (__SWBLK_T_TYPE): Likewise.
18822         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18823         (__SWBLK_T_TYPE): Likewise.
18825 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18826             Honza Horak <hhorak@redhat.com>
18828         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18829         (xdr_mapname): Use YPMAXMAP as maxsize.
18830         (xdr_peername): Use YPMAXPEER as maxsize.
18831         (xdr_keydat): Use YPAXRECORD as maxsize.
18832         (xdr_valdat): Use YPMAXRECORD as maxsize.
18834 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18836         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18838         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18839         * csu/init-first.c: ... here.
18840         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18841         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18842         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18843         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18844         * sysdeps/i386/init-first.c: File removed.
18845         * sysdeps/sh/init-first.c: File removed.
18847 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18849         [BZ #14645]
18850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18851         if x * y might underflow to zero and z is zero.
18852         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18853         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18854         * math/libm-test.inc (min_subnorm_value): New variable.
18855         (fma_test): Add more tests.
18856         (fma_test_towardzero): Likewise.
18857         (fma_test_downward): Likewise
18858         (fma_test_upward): Likewise.
18859         (initialize): Set min_subnorm_value.
18861 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18863         [BZ #14638]
18864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18865         0 + 0.
18866         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18867         mode for addition resulting in exact zero.
18868         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18870         exact 0 + 0.
18871         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18872         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18873         * math/libm-test.inc (fma_test): Add more tests.
18874         (fma_test_towardzero): New function.
18875         (fma_test_downward): Likewise.
18876         (fma_test_upward): Likewise.
18877         (main): Call the new functions.
18879 2012-09-28  David S. Miller  <davem@davemloft.net>
18881         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18883 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18885         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18886         instead of SIGALRM.
18888         * sysdeps/gnu/_G_config.h: Moved to ...
18889         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18890         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18891         * sysdeps/generic/_G_config.h: ... here.
18893         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18895         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18897         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18898         Conditionalize target on [libnss_test1.so-version].
18900         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18902         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18903         (elfobjdir): Move out of conditionals.
18905         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18906         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18907         (__nss_lookup_function): Conditionalize label remove_from_tree on
18908         [!DO_STATIC_NSS || SHARED], matching its only use.
18910 2012-09-28  David S. Miller  <davem@davemloft.net>
18912         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18913         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18914         file.
18915         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18916         sysdep_routines.
18917         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18918         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18919         when HWCAP_SPARC_CRYPTO is present.
18921 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18923         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18925 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18927         [BZ #6530]
18928         * stdio-common/vfprintf.c (process_string_arg): Revert
18929         2000-07-22 change.
18931 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18933         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18934         for testcase.
18935         * stdio-common/tst-sprintf.c: Include <locale.h>
18936         (main): Test sprintf's handling of incomplete multibyte
18937         characters.
18939 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18941         * elf/dl-runtime.c (VERSYMIDX): Removed.
18942         * elf/dl-version.c (VERSYMIDX): Likewise.
18943         * elf/do-rel.h (VERSYMIDX): Likewise.
18944         (VALIDX): Likewise.
18945         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18946         * elf/rtld.c (VALIDX): Likewise.
18947         (ADDRIDX): Likewise.
18948         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18949         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18950         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18951         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18952         (VALIDX): Likewise.
18953         (ADDRIDX): Likewise.
18955 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18957         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18959 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18961         [BZ #11438]
18962         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18963         to global scope.
18964         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18965         addresses are in the same scope as 192.0.2/24.
18966         * posix/gai.conf: Document new scope table defaults.
18968 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18970         [BZ #5298]
18971         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18972         for ftell.  Compute offsets from write pointers instead.
18973         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18975 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18977         [BZ #14543]
18978         * libio/Makefile (tests): New test case tst-fseek.
18979         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18980         combination works in wide mode.
18981         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18982         state when the external buffer state changes.
18984 2012-09-27  David S. Miller  <davem@davemloft.net>
18986         [BZ #14376]
18987         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18988         pass reloc->r_addend in as the 'high' argument to
18989         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18993 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18995         * rt/tst-aio2.c: Include <pthread.h>.
18996         * rt/tst-aio3.c: Likewise.
18998 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19000         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19002 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19004         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19005         contents on [SHARED].
19007 2012-09-26  Marek Polacek  <polacek@redhat.com>
19009         [BZ #14530]
19010         [BZ #13741]
19011         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19012         for C++ and GCC <4.3 as well as for non GCC compilers.
19014 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19018 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19020         * Makefile.in (all, install): Declare with .PHONY.
19021         Reported by Michael Hope <michael.hope@linaro.org>.
19023 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19025         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19026         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19027         system header.
19028         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19029         Likewise.
19030         (sydep_routines): Add the new and the internal functions.
19031         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19032         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19034         (GLIBC_2.17): Add the new function.
19035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19036         (GLIBC_2.17): Likewise.
19037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19038         (GLIBC_2.17): Likewise.
19039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19040         (GLIBC_2.17): Likewise.
19041         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19043 2012-09-25  Alan Modra  <amodra@gmail.com>
19045         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19046         Add release barrier before setting once_control to say
19047         initialisation is done.  Add hints on lwarx.  Use macro in
19048         place of isync.
19049         (clear_once_control): Add release barrier.
19051 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19053         [BZ #13629]
19054         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19055         specially.
19056         * math/s_clog10.c (__clog10): Likewise.
19057         * math/s_clog10f.c (__clog10f): Likewise.
19058         * math/s_clog10l.c (__clog10l): Likewise.
19059         * math/s_clogf.c (__clogf): Likewise.
19060         * math/s_clogl.c (__clogl): Likewise.
19061         * math/Makefile (libm-calls): Add x2y2m1.
19062         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19063         (__x2y2m1): Likewise.
19064         (__x2y2m1l): Likewise.
19065         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19066         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19067         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19068         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19069         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19070         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19071         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19072         * sysdeps/i386/fpu/libm-test-ulps: Update.
19073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19075         [BZ #14621]
19076         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19077         int as type of variable DEPTH.
19078         (glob): Use size_t instead of int as type of variables NEWCOUNT
19079         and OLD_PATHC.
19081 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19083         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19084         Add s_sincosf-sse2.
19085         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19086         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19087         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19088         macros for using routine as __sincosf_ia32.
19089         Use macro for function declaration and weak_alias.
19090         * sysdeps/i386/fpu/libm-test-ulps: Update.
19092         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19095         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19096         subnormal argument.
19097         * math/s_cexpf.c (__cexpf): Likewise.
19098         * math/s_csinf.c (__csinf): Likewise.
19099         * math/s_csinhf.c (__csinhf): Likewise.
19100         * math/s_ctanf.c (__ctanf): Likewise.
19101         * math/s_ctanhf.c (__ctanhf): Likewise.
19102         * math/s_ccosh.c (__ccoshf): Likewise.
19103         * math/s_cexp.c (__cexpl): Likewise.
19104         * math/s_csin.c (__csin): Likewise.
19105         * math/s_csinh.c (__csinh): Likewise.
19106         * math/s_ctan.c (__ctan): Likewise.
19107         * math/s_ctanh.c (ctanh): Likewise.
19108         * math/s_ccoshl.c (__ccoshl): Likewise.
19109         * math/s_cexpl.c (__cexpl): Likewise.
19110         * math/s_csinl.c (__csinl): Likewise.
19111         * math/s_csinhl.c (__csinhl): Likewise.
19112         * math/s_ctanl.c (__ctanl): Likewise.
19113         * math/s_ctanhl.c (__ctanhl): Likewise.
19115 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19117         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19118         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19119         (_IO_off_t): Define to __off_t, not _G_off_t.
19120         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19121         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19122         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19123         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19124         type of __dummy and __dummy2 fields.
19125         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19126         (_G_ssize_t): Likewise.
19127         (_G_off_t): Likewise.
19128         (_G_pid_t): Likewise.
19129         (_G_uid_t): Likewise.
19130         (_G_wchar_t): Likewise.
19131         (_G_wint_t): Likewise.
19132         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19133         (_G_ssize_t): Likewise.
19134         (_G_off_t): Likewise.
19135         (_G_pid_t): Likewise.
19136         (_G_uid_t): Likewise.
19137         (_G_wchar_t): Likewise.
19138         (_G_wint_t): Likewise.
19139         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19140         (_G_ssize_t): Likewise.
19141         (_G_off_t): Likewise.
19142         (_G_pid_t): Likewise.
19143         (_G_uid_t): Likewise.
19144         (_G_wchar_t): Likewise.
19145         (_G_wint_t): Likewise.
19147 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19149         * malloc/arena.c: Include malloc-sysdep.h.
19150         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19151         is sufficient to shrink the heap or an unmap is needed.
19152         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19153         new function check_may_shrink_heap.
19154         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19155         new function check_may_shrink_heap.
19157 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19159         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19160         comments.
19162 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19164         * catgets/test-gencat.sh: Add "set -e".
19165         * elf/tst-pathopt.sh: Likewise.
19166         * grp/tst_fgetgrent.sh: Likewise.
19167         * iconvdata/run-iconv-test.sh: Likewise.
19168         * intl/tst-gettext.sh: Likewise.
19169         * intl/tst-gettext2.sh: Likewise.
19170         * intl/tst-gettext4.sh: Likewise.
19171         * intl/tst-gettext6.sh: Likewise.
19172         * intl/tst-translit.sh: Likewise.
19173         * io/ftwtest-sh: Likewise.
19174         * libio/test-freopen.sh: Likewise.
19175         * malloc/tst-mtrace.sh: Likewise.
19176         * posix/globtest.sh: Likewise.
19177         * posix/tst-getconf.sh: Likewise.
19178         * posix/wordexp-tst.sh: Likewise.
19179         * stdio-common/tst-printf.sh: Likewise.
19180         * stdio-common/tst-unbputc.sh: Likewise.
19181         * stdlib/tst-fmtmsg.sh: Likewise.
19182         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19183         * catgets/Makefile: Do not specify -e option when running
19184         testsuite shell scripts.
19185         * elf/Makefile: Likewise.
19186         * grp/Makefile: Likewise.
19187         * iconvdata/Makefile: Likewise.
19188         * intl/Makefile: Likewise.
19189         * io/Makefile: Likewise.
19190         * libio/Makefile: Likewise.
19191         * malloc/Makefile: Likewise.
19192         * posix/Makefile: Likewise.
19193         * stdio-common/Makefile: Likewise.
19194         * stdlib/Makefile: Likewise.
19195         * sysdeps/x86_64/Makefile: Likewise.
19197         * io/ftwtest-sh: Add copyright header.
19198         * posix/globtest.sh: Likewise.
19199         * posix/tst-getconf.sh: Likewise.
19200         * posix/wordexp-tst.sh: Likewise.
19201         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19203 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19205         [BZ #13679]
19206         * Makeconfig (+link): Defined as $(+link-static) if
19207         $(build-shared) isn't yes.
19208         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19209         isn't yes.
19210         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19212         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19214         [BZ #14562]
19215         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19216         new chunk size with MALLOC_ALIGN_MASK.
19218 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19220         [BZ #5044]
19221         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19222         <rounding-mode.h>.
19223         (__printf_fphex): Determine rounding using get_rounding_mode and
19224         round_away.
19225         * stdio-common/tst-printf-round.c (struct hex_test): New
19226         structure.
19227         (hex_tests): New variable.
19228         (test_hex_in_one_mode): New function.
19229         (do_test): Also run tests for hex float output.
19231 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19233         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19234         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19235         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19236         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19237         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19238         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19239         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19240         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19242 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19244         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19245         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19246         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19247         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19249 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19251         [BZ #14579]
19252         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19253         mode only.
19254         * elf/tst-rtld-load-self.sh: New test.
19255         * elf/Makefile: Run it.
19257 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19259         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19260         (tst-writev-ENV): Remove.
19261         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19263 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19265         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19267 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19269         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19270         unconditional.
19271         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19272         Likewise.
19273         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19274         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19275         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19276         Likewise.
19278 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19280         [BZ #14587]
19281         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19282         * config.make.in (have-cpp-asm-debuginfo): Removed.
19283         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19284         * configure: Regenerated.
19286 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19288         [BZ #5044]
19289         * stdio-common/printf_fp.c: Include <stdbool.h> and
19290         <rounding-mode.h>.
19291         (___printf_fp): Determine rounding using get_rounding_mode and
19292         round_away.
19293         * stdio-common/tst-printf-round.c: New file.
19294         * stdio-common/Makefile (tests): Add tst-printf-round.
19295         (link-libm): New variable.
19296         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19298 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19300         [BZ #14576]
19301         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19302         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19303         Likewise.
19304         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19305         Likewise.
19307 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19309         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19310         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19311         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19312         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19314 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19316         [BZ #14518]
19317         * include/rounding-mode.h: New file.
19318         * sysdeps/generic/get-rounding-mode.h: Likewise.
19319         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19320         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19321         (MAX_VALUE): New macro.
19322         (MIN_VALUE): Likewise.
19323         (overflow_value): New function.
19324         (underflow_value): Likewise.
19325         (round_and_return): Use overflow_value and underflow_value to
19326         determine return values in overflow and underflow cases.  Use
19327         round_away to determine rounding depending on rounding mode.
19328         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19329         determine return values in overflow and underflow cases.
19330         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19331         (struct test_results): New structure.
19332         (struct test): Use struct test_results to store expected results
19333         for all rounding modes.
19334         (TEST): Include expected results for all rounding modes.
19335         (test_in_one_mode): New function.
19336         (do_test): Use test_in_one_mode to compute and check results.
19337         Check results for all rounding modes.
19338         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19339         $(link-libm).
19341 2012-12-09  Allan McRae  <allan@archlinux.org>
19343         * sysdeps/i386/fpu/libm-test-ulps: Update
19345 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19347         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19348         (_G_int32_t): Likewise.
19349         (_G_uint16_t): Likewise.
19350         (_G_uint32_t): Likewise.
19351         (_G_HAVE_BOOL): Likewise.
19352         (_G_HAVE_ATEXIT): Likewise.
19353         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19354         (_G_HAVE_IO_FILE_OPEN): Likewise.
19355         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19356         (_G_int32_t): Likewise.
19357         (_G_uint16_t): Likewise.
19358         (_G_uint32_t): Likewise.
19359         (_G_HAVE_BOOL): Likewise.
19360         (_G_HAVE_ATEXIT): Likewise.
19361         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19362         (_G_HAVE_IO_FILE_OPEN): Likewise.
19363         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19364         (_G_int32_t): Likewise.
19365         (_G_uint16_t): Likewise.
19366         (_G_uint32_t): Likewise.
19367         (_G_HAVE_BOOL): Likewise.
19368         (_G_HAVE_ATEXIT): Likewise.
19369         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19370         (_G_HAVE_IO_FILE_OPEN): Likewise.
19372 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19374         * csu/libc-tls.c: Update copyright years.
19376 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19378         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19379         [!_G_USING_THUNKS]: Remove conditional code.
19380         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19381         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19383         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19384         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19385         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19386         (_G_VTABLE_LABEL_PREFIX): Likewise.
19387         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19388         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19389         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19390         (_G_VTABLE_LABEL_PREFIX): Likewise.
19391         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19392         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19393         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19394         (_G_VTABLE_LABEL_PREFIX): Likewise.
19395         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19397 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19399         * libio/Makefile: Include ../Makeconfig before tests.
19400         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19401         only if $(build-shared) is yes.
19403         * iconv/gconv_db.c: Update copyright years.
19405 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19407         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19408         unwind info if defined PIC. Fix special cases description.
19409         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19411         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19412         DP_HI_MASK entry.
19413         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19415 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19417         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19419         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19420         is NULL.
19422         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19423         (LDLIBS-tst-chk4): This.
19424         (LDFLAGS-tst-chk5): Renamed to ...
19425         (LDLIBS-tst-chk5): This.
19426         (LDFLAGS-tst-chk6): Renamed to ...
19427         (LDLIBS-tst-chk6): This.
19428         (LDFLAGS-tst-lfschk4): Renamed to ...
19429         (LDLIBS-tst-lfschk4): This.
19430         (LDFLAGS-tst-lfschk5): Renamed to ...
19431         (LDLIBS-tst-lfschk5): This.
19432         (LDFLAGS-tst-lfschk6): Renamed to ...
19433         (LDLIBS-tst-lfschk6): This.
19435         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19436         on $(common-objpfx)soversions.mk.
19438 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19440         [BZ #10014]
19441         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19442         example host name.
19444 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19446         * malloc/arena.c (arena_get_retry): New function that gets
19447         another arena for the caller to try its request on.
19448         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19449         current arena cannot fulfill the request.
19450         (__libc_memalign): Likewise.
19451         (__libc_memalign): Likewise.
19452         (__libc_pvalloc): Likewise.
19453         (__libc_calloc): Likewise.
19455 2012-09-05  John Tobey  <john.tobey@gmail.com>
19457         [BZ #13542]
19458         * manual/arith.texi (Operations on Complex): Fix description
19459         of carg branch cut.
19461 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19463         [BZ #10014]
19464         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19465         host name.
19467         [BZ #10038]
19468         * manual/memory.texi (Memory): Make order of menu items match
19469         order of sections.
19471 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19473         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19474         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19475         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19477 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19479         * csu/libc-tls.c (static_dtv): Renamed to ...
19480         (_dl_static_dtv): This.  Make it global.
19481         (_dl_initial_dtv): Removed.
19482         (__libc_setup_tls): Updated.
19483         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19484         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19485         DL_INITIAL_DTV.
19487 2012-09-06  Petr Machata  <pmachata@redhat.com>
19489         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19490         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19491         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19492         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19494 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19496         [BZ #14545]
19497         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19498         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19499         freeing dtv[-1].
19501 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19503         [BZ #14544]
19504         * Makeconfig (link-static-before-libc): Replace $(+prector)
19505         with $(+prectorT).
19506         (link-static-after-libc): Replace $(+postctor) with
19507         $(+postctorT).
19508         (link-bounded): Replace $(+prector)/$(+postctor) with
19509         $(+prectorT)/$(+postctorT).
19510         (+prectorT): New macro.
19511         (+postctorT): Likewise.
19513 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19515         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19516         (round_str): Handle values above the maximum for IBM long double
19517         as inexact.
19518         * stdlib/tst-strtod-round.c (tests): Regenerated.
19520 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19522         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19523         assembler flag.
19524         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19525         zarch_nohighgprs around the zarch optimized routines.
19526         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19527         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19528         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19529         for zarch.
19531 2012-09-05  David S. Miller  <davem@davemloft.net>
19533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19535         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19536         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19537         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19538         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19539         entries.
19541 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19543         * malloc/arena.c: Fold copyright years.
19544         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19546 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19548         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19550 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19552         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19554 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19556         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19557         change internal state upon failure.
19559 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19561         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19562         * malloc/memusage.c (mmap): Likewise.
19563         (mmap64, mremap): Likewise.  Adjust name in comment.
19565 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19567         * libio/fileops.c: Fix typos in comments.
19568         * libio/oldfileops.c: Likewise.
19569         * libio/wfileops.c: Likewise.
19571 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19573         [BZ #1349]
19574         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19575         (tst-malloc-usable-ENV): Set environment for test case.
19576         * malloc/hooks.c (malloc_check_get_size): New function to get
19577         requested size.
19578         * malloc/malloc.c (musable): Use malloc_check_get_size.
19579         * malloc/tst-malloc-usable.c: New test case.
19581 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19583         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19585 2012-09-05  Allan McRae  <allan@archlinux.org>
19587         [BZ #13966]
19588         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19589         determine header location.
19590         * configure: Regenerated.
19592 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19594         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19595         float format.
19596         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19597         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19598         format.
19599         (test): Regenerate.
19601 2012-09-04  David S. Miller  <davem@davemloft.net>
19603         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19604         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19605         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19607 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19609         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19610         failures.
19612         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19614 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19616         [BZ #9914]
19617         * libio/iogetdelim.c: Include <limits.h>.
19618         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19619         + len + 1 would overflow.
19621 2012-09-03  Andreas Jaeger  <aj@suse.de>
19623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19624         * sysdeps/i386/fpu/libm-test-ulps: Update.
19626 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19628         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19629         Add s_sinf-sse2, s_conf-sse2.
19631         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19632         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19633         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19634         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19636         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19637         for using routine as __sinf_ia32.
19638         Use macro for function declaration and weak_alias.
19639         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19640         for using routine as __cosf_ia32.
19641         Use macro for function declaration and weak_alias.
19643         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19644         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19646         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19647         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19650         * math/libm-test.inc (cos_test): Add more test cases.
19651         (sin_test): Likewise.
19652         (sincos_test): Likewise.
19654 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19656         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19657         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19658         hidden.
19659         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19661 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19663         [BZ #14538]
19664         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19665         first element of the GOT.
19666         (elf_machine_load_address): Return the difference between
19667         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19669 2012-09-01  Allan McRae  <allan@archlinux.org>
19671         [BZ #13412]
19672         * configure.in (AWK): Require gawk version 3.0 or later.
19673         * configure: Regenerated.
19675 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19677         * sysdeps/unix/sysv/linux/kernel-features.h
19678         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19679         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19680         [__NR_clock_getres]: Make code unconditional.
19681         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19682         (clock_getcpuclockid): Remove code left unreachable by removal of
19683         conditionals.
19684         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19685         code unconditional.
19686         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19687         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19688         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19689         Make code unconditional.
19690         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19691         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19692         * sysdeps/unix/sysv/linux/clock_settime.c
19693         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19694         conditional code.
19695         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19696         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19698 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19700         [BZ #14476]
19701         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19702         scripts/test-installation.pl.
19704         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19705         and $ld_so_version if it is set.
19707 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19709         [BZ #14516]
19710         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19711         failure if reading from procfs failed.
19712         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19714 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19716         * sysdeps/unix/sysv/linux/kernel-features.h
19717         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19718         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19719         Remove conditional code.
19720         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19721         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19722         Remove conditional code.
19723         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19724         * sysdeps/unix/sysv/linux/i386/fxstat.c
19725         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19726         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19727         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19728         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19729         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19730         * sysdeps/unix/sysv/linux/i386/lxstat.c
19731         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19733         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19734         Remove conditional code.
19735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19736         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19737         Remove conditional code.
19738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19739         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19740         <kernel-features.h>.
19741         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19742         Remove.
19743         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19744         Remove conditional code.
19745         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19746         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19747         Remove conditional.
19749 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19751         [BZ #5400]
19752         * NEWS: Add fixed bug number.
19754 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19756         [BZ #14519]
19757         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19758         underflowing exponent in case of negative sign.
19759         * stdlib/tst-strtod-round-data: Add more tests.
19760         * stdlib/tst-strtod-round.c (tests): Regenerated.
19762         [BZ #3479]
19763         * stdlib/strtod_l.c (NDIG): Remove.
19764         (HEXNDIG): Likewise.
19765         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19766         smallest representable value.
19767         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19768         lie within an exact representation of 1/2 ulp of the result.
19769         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19770         unconditionally.
19771         (TENS_P9_IDX): Define unconditionally.
19772         (TENS_P9_SIZE): Likewise.
19773         (TENS_P10_IDX): Likewise.
19774         (TENS_P10_SIZE): Likewise.
19775         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19776         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19777         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19778         entries for 10^2^13 and 10^2^14.
19779         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19780         (TENS_P13_IDX): Define.
19781         (TENS_P13_SIZE): Likewise.
19782         (TENS_P14_IDX): Likewise.
19783         (TENS_P14_SIZE): Likewise.
19784         (_fpioconst_pow10): Change array size to
19785         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19786         unconditional.
19787         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19788         1024]: Add entries for 10^2^13 and 10^2^14.
19789         [LAST_POW10 > _LAST_POW10]: Remove #error.
19790         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19791         (_fpioconst_pow10): Change array size to
19792         FPIOCONST_POW10_ARRAY_SIZE.
19793         * stdlib/gen-fpioconst.c: New file.
19794         * stdlib/gen-tst-strtod-round.c: Likewise.
19795         * stdlib/tst-strtod-round-data: Likewise.
19796         * stdlib/tst-strtod-round.c: Likewise.
19797         * stdlib/Makefile (tests): Add tst-strtod-round.
19799         [BZ #14459]
19800         * stdlib/strtod_l.c: Include <stdint.h>.
19801         (NDEBUG): Do not define.
19802         (round_and_return): Change EXPONENT parameter to type intmax_t.
19803         Rearrange calculations to avoid internal overflow possibilities.
19804         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19805         Rearrange calculations to avoid internal overflow possibilities.
19806         Assert that number fits inside MPNSIZE limbs.
19807         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19808         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19809         calculations and add assertions to avoid internal overflow
19810         possibilities.  Add casts to avoid signed/unsigned operations.
19811         * stdlib/tst-strtod-overflow.c: New file.
19812         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19814 2012-08-25  Marek Polacek  <polacek@redhat.com>
19816         * time/time.h: Fix some typos in comments.
19818 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19820         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19821         * posix/tst-rfc3484-2.c: Likewise.
19822         * posix/tst-rfc3484-3.c: Likewise.
19824 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19826         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19827         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19829 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19831         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19832         #include of fxstatat64.c.
19834 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19836         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19837         * shadow/getspent_r.c: Likewise.
19838         * shadow/getspnam.c: Likewise.
19839         * shadow/getspnam_r.c: Likewise.
19840         * gshadow/getsgent.c: Likewise.
19841         * gshadow/getsgent_r.c: Likewise.
19842         * gshadow/getsgnam.c: Likewise.
19843         * gshadow/getsgnam_r.c: Likewise.
19844         * inet/getnetbyad.c: Likewise.
19845         * inet/getnetbyad_r.c: Likewise.
19846         * inet/getnetbynm.c: Likewise.
19847         * inet/getnetbynm_r.c: Likewise.
19848         * inet/getnetent.c: Likewise.
19849         * inet/getnetent_r.c: Likewise.
19850         * inet/getproto.c: Likewise.
19851         * inet/getproto_r.c: Likewise.
19852         * inet/getprtent.c: Likewise.
19853         * inet/getprtent_r.c: Likewise.
19854         * inet/getprtname.c: Likewise.
19855         * inet/getprtname_r.c: Likewise.
19856         * inet/getrpcbyname.c: Likewise.
19857         * inet/getrpcbyname_r.c: Likewise.
19858         * inet/getrpcbynumber.c: Likewise.
19859         * inet/getrpcbynumber_r.c: Likewise.
19860         * inet/getrpcent.c: Likewise.
19861         * inet/getrpcent_r.c: Likewise.
19862         * inet/getaliasent.c: Likewise.
19863         * inet/getaliasent_r.c: Likewise.
19864         * inet/getaliasname.c: Likewise.
19865         * inet/getaliasname_r.c: Likewise.
19866         * nscd/getgrgid_r.c: Likewise.
19867         * nscd/getgrnam_r.c: Likewise.
19868         * nscd/gethstbyad_r.c: Likewise.
19869         * nscd/gethstbynm3_r.c: Likewise.
19870         * nscd/getpwnam_r.c: Likewise.
19871         * nscd/getpwuid_r.c: Likewise.
19872         * nscd/getsrvbynm_r.c: Likewise.
19873         * nscd/getsrvbypt_r.c: Likewise.
19874         * nscd/gai.c: Likewise.
19876         * configure.in (build_nscd): New substituted variable, set
19877         by --disable-build-nscd and defaults to $use_nscd.
19878         * configure: Regenerated.
19879         * config.make.in (build-nscd): New substituted variable.
19880         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19881         Change conditional to require [$(build-nscd) = yes] as well.
19882         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19884         [BZ# 13696]
19885         * configure.in (use_nscd): New substituted variable, set by
19886         --disable-nscd.  If enabled, define USE_NSCD.
19887         * configure: Regenerated.
19888         * config.h.in: Add USE_NSCD.
19889         * config.make.in (use-nscd): New substituted variable.
19890         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19891         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19892         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19893         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19894         (CFLAGS-getgrnam_r.c): Likewise.
19895         (CFLAGS-initgroups.c): Likewise.
19896         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19897         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19898         Variables removed.
19899         * inet/getnetgrent_r.c
19900         (nscd_setnetgrent): New function, broken out of ...
19901         (setnetgrent): ... here.  Call it.
19902         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19903         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19904         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19905         * nscd/Makefile (routines, aux): Move definitions after include of
19906         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19907         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19908         Conditionalize on [USE_NSCD].
19909         (is_nscd, nscd_init_cb): Likewise.
19910         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19911         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19912         * nss/nss_db/db-init.c: Likewise.
19913         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19914         [USE_NSCD].
19915         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19916         (make_request): Use it.
19917         (cache_valid_p): New function.
19918         (__check_pf): Use it.
19919         * NEWS: Add item for --disable-nscd.
19921 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19923         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19924         to support sed >= 4.2.1-20-ga9bf076.
19925         * configure: Regenerated.
19927 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19929         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19930         Conditionalize whole body on [IREL].
19932 2012-08-22  Jeff Law <law@redhat.com>
19934         [BZ #14505]
19935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19936         if the family is PF_UNSPEC.
19938 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19940         * Makerules (lib-version): Rename from V.
19941         (install-lib-nosubdir): Change V to lib-version.
19943 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19945         [BZ #14252]
19946         * powerpc32/power6/wcschr.c: New file.
19947         * powerpc32/power6/wcscpy.c: New file.
19948         * powerpc32/power6/wcsrchr.c: New file.
19949         * powerpc64/power6/wcschr.c: New file.
19950         * powerpc64/power6/wcscpy.c: New file.
19951         * powerpc64/power6/wcsrchr.c: New file.
19953 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19955         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19956         (two_way_short_needle): Use it.
19957         * string/strstr.c (AVAILABLE1_USES_J): Define.
19958         * string/strcasestr.c: Likewise.
19960         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19961         array references.
19962         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19964         [BZ #11607]
19965         * NEWS: Add an entry.
19966         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19967         define their defaults.
19968         (two_way_short_needle): Detect end-of-string on-the-fly.
19969         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19970         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19971         * string/bug-strcasestr1.c: New test.
19972         * string/Makefile: Run it.
19974 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19976         [BZ #11607]
19977         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19978         the first character.
19980 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19982         * csu/elf-init.c (__libc_csu_irel): Function removed.
19983         * csu/libc-start.c (apply_irel): New function.
19984         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19986 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19988         * sysdeps/unix/sysv/linux/kernel-features.h
19989         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19990         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19991         <kernel-features.h>.
19992         [__NR_fadvise64_64]: Make code unconditional.
19993         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19994         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19995         !__NR_fadvise64_64)]: Likewise.
19996         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19997         !__NR_fadvise64_64))]: Likewise.
19998         [__NR_fadvise64]: Make code unconditional.
19999         [!__NR_fadvise64]: Remove conditional code.
20000         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20001         <kernel-features.h>.
20002         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20003         unconditional.
20004         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20005         conditional code.
20006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20007         not include <kernel-features.h>.
20008         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20009         unconditional.
20010         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20011         conditional code.
20012         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20013         include <kernel-features.h>.
20014         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20015         unconditional.
20016         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20017         conditional code.
20019 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20021         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20022         slight instruction rearrangements per scrollpipe analysis.
20023         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20025 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20027         * manual/syslog.texi (syslog; vsyslog, closelog):
20028         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20029         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20031         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20032         DSOCAPS to match condition on defining it.
20034 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20036         * sysdeps/unix/sysv/linux/kernel-features.h
20037         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20039         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20040         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20042         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20043         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20045         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20046         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20048         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20049         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20051         * sysdeps/unix/sysv/linux/kernel-features.h
20052         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20053         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20054         unconditional.
20055         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20056         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20057         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20058         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20059         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20060         Make code unconditional.
20061         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20062         (__mmap64) [!__NR_mmap2]: Likewise.
20063         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20064         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20065         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20066         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20067         [__NR_mmap2]: Make code unconditional.
20068         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20069         (__mmap64) [!__NR_mmap2]: Likewise.
20071 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20073         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20075 2012-08-18  Andreas Jaeger  <aj@suse.de>
20077         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20079 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20081         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20082         * include/unistd.h (__have_sock_cloexec): Likewise.
20083         (__have_pipe2): Likewise.
20084         (__have_dup3): Likewise.
20086 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20088         [BZ #9685]
20089         * include/unistd.h (__have_pipe2): Change define into an extern int.
20090         (__have_dup3): Likewise.
20091         * socket/have_sock_cloexec.c: Include fcntl.h.
20092         (__have_pipe2): New variable.
20093         (__have_dup3): Likewise.
20095 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20097         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20099 2012-08-17  Marek Polacek  <polacek@redhat.com>
20101         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20102         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20104 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20106         * configure.in: Add AC_SUBST for sysheaders.
20107         * configure: Regenerated.
20108         * config.make.in (sysheaders): New substituted variable.
20110         * sysdeps/unix/mkfifo.c: Moved ...
20111         * sysdeps/posix/mkfifo.c: ... here.
20112         * sysdeps/unix/mkfifoat.c: Moved ...
20113         * sysdeps/posix/mkfifoat.c: ... here.
20115         * sysdeps/unix/utime.c: Moved ...
20116         * sysdeps/posix/utime.c: ... here.
20118         * sysdeps/unix/time.c: Moved ...
20119         * sysdeps/posix/time.c: ... here.
20120         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20121         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20123         * sysdeps/unix/nice.c: Moved ...
20124         * sysdeps/posix/nice.c: ... here.
20126         * sysdeps/unix/alarm.c: Moved ...
20127         * sysdeps/posix/alarm.c: ... here.
20129         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20131 2012-08-17  Jeff Law <law@redhat.com>
20133         * intl/Makefile (codeset_mo): New variable.
20134         ($(codeset_mo)): New target.
20135         (tst-codeset.out): Depend on that.  Remove explicit rule.
20136         (tst-gettext3.out, tst-gettext5.out): Likewise.
20137         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20138         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20139         * intl/tst-codeset.sh: Remove.
20140         * intl/tst-gettext3.sh: Likewise.
20141         * intl/tst-gettext5.sh: Likewise.
20143 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20145         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20146         * sysdeps/unix/syscalls.list: ... here.
20148         * sysdeps/posix/getaddrinfo.c
20149         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20150         (gaiconf_init, gaiconf_reload): Use them.
20151         [!_STATBUF_ST_NSEC]
20152         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20153         Define using time_t rather than struct timespec.
20155         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20156         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20157         Macros removed.
20158         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20159         [!NO_THREADS].
20160         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20161         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20162         Likewise.
20164         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20165         __libc_cleanup_push argument.
20167         * bits/param.h: New file.
20168         * misc/sys/param.h: New file.
20169         * include/sys/param.h: New file.
20170         * misc/Makefile (headers): Add bits/param.h.
20171         * sysdeps/generic/sys/param.h: File removed.
20172         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20173         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20174         * sysdeps/mach/hurd/bits/param.h: New file.
20175         * sysdeps/mach/hurd/sys/param.h: File removed.
20177         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20178         last change.
20180         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20181         [_IO_MTSAFE_IO].
20182         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20183         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20184         New macros.
20186         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20187         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20188         rather than -D_IO_MTSAFE_IO conditionally.
20189         * stdio-common/Makefile (CPPFLAGS): Likewise.
20190         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20191         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20192         Use $(libio-mtsafe).
20193         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20194         of -D_IO_MTSAFE_IO.
20195         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20196         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20197         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20198         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20199         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20200         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20201         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20202         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20203         (CFLAGS-fread_u_chk.c): Likewise.
20204         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20205         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20206         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20207         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20208         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20209         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20210         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20211         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20212         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20214         * libio/Makefile: Test [$(libc-reentrant) = yes]
20215         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20217         * Makeconfig
20218         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20219         * sysdeps/pthread/configure: File removed.
20220         * sysdeps/pthread/Makeconfig: New file.
20221         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20222         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20224 2012-08-16  Gary Benson  <gbenson@redhat.com>
20226         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20227         unmapping the first object in a namespace.
20229 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20231         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20232         (__internal_setnetgrent): ... this.  Add internal_function to
20233         definition.  Add libc_hidden_def.
20234         (setnetgrent): Update caller.
20235         (internal_endnetgrent): Renamed to ...
20236         (__internal_endnetgrent): ... this.  Add internal_function to
20237         definition.  Add libc_hidden_def.
20238         (endnetgrent): Update caller.
20239         (internal_getnetgrent_r): Renamed to ...
20240         (__internal_getnetgrent_r): ... this.  Add internal_function to
20241         definition.  Add libc_hidden_def.
20242         (__getnetgrent_r): Update caller.
20243         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20245 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20247         * stdlib/longlong.h: Update from GCC.
20249 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20251         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20252         on _QL, which is set by umul_ppmm but never used.
20253         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20254         variables, which are set by GMP macros but never used.
20255         * stdio-common/_itowa.c (_itowa): Likewise.
20256         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20257         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20259 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20261         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20262         struct La_sh_regs is not constant.
20263         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20264         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20265         and struct La_sparc64_regs are not constant.
20267 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20269         * sysdeps/unix/sysv/linux/kernel-features.h
20270         (__ASSUME_POSIX_TIMERS): Remove.
20271         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20272         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20273         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20274         Make code unconditional.
20275         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20276         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20277         Make code unconditional.
20278         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20279         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20280         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20281         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20282         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20283         Make code unconditional.
20284         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20285         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20286         (__libc_missing_posix_timers): Remove.
20288 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20290         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20291         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20293         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20295         * elf/dl-sym.c: Include <stdlib.h>.
20297         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20298         constants, which avoids warnings in 32-bit builds.
20300         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20301         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20303         * misc/lseek.c: File moved to ...
20304         * io/lseek.c: ... here.
20306         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20308         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20309         shifting LEN more than 31 bits at once.
20311 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20313         [BZ #14195]
20314         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20315         segmentation fault for a case of two empty input strings.
20316         * string/test-strncasecmp.c (check1): Renamed to...
20317         (bz12205): ...this.
20318         (bz14195): Add new testcase for two empty input strings and N > 0.
20319         (test_main): Call new testcase, adapt for renamed function.
20321 2012-08-15  Andreas Jaeger  <aj@suse.de>
20323         [BZ #14090]
20324         * crypt/md5test2.c: New test, based on test supplied by Serge
20325         Belyshev <belyshev@depni.sinp.msu.ru>.
20326         * crypt/Makefile (xtests): Add md5test-giant..
20327         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20329 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20331         [BZ #14090]
20332         * crypt/md5.c (md5_process_block): Don't assume the buffer
20333         length is less than 2**32.
20334         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20335         length is less than 2**64.
20337 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20339         * string/str-two-way.h: Include <sys/param.h>.
20340         (MAX): Macro removed.
20342         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20343         Move #define and #undef of memmove to just before and after
20344         including <string.h>.
20346         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20347         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20348         and after including <string.h>.  Move declarations of
20349         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20350         to before #include "string/memmove.c".
20352         * include/dirent.h: Declare __getdirentries.
20354         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20355         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20357 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20359         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20360         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20361         * sysdeps/i386/configure: Regenerated.
20362         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20363         STABS_CURRENT_FILE, and STABS_FUN.
20364         (END): Remove call to STABS_FUN_END.
20365         (STABS_CURRENT_FILE1): Delete.
20366         (STABS_CURRENT_FILE): Likewise.
20367         (STABS_FUN): Likewise.
20368         (STABS_FUN_END): Likewise.
20369         (STABS_FUN2): Likewise.
20370         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20371         * sysdeps/x86_64/configure: Regenerated.
20373 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20375         * elf/dl-open.c: Include <atomic.h>.
20376         * elf/dl-lookup.c: Likewise.
20378 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20380         * sysdeps/unix/sysv/linux/kernel-features.h
20381         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20382         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20383         unconditionally.
20384         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20385         unconditionally.
20386         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20387         condition on __ASSUME_CLONE_THREAD_FLAGS.
20389 2012-08-14  Andreas Jaeger  <aj@suse.de>
20391         * sysdeps/i386/fpu/libm-test-ulps: Update.
20393 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20395         * include/atomic.h (atomic_exchange_and_add): Split into ...
20396         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20397         New atomic macros.
20399 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20403 2012-08-13  Jeff Law <law@redhat.com>
20405         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20406         null byte in the output string.
20408 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20410         * sysdeps/unix/sysv/linux/kernel-features.h
20411         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20412         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20413         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20414         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20415         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20416         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20417         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20419 2012-08-09  Jeff Law <law@redhat.com>
20421         [BZ #13939]
20422         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20423         When avoid_arena is set, don't retry in the that arena.  Pick the
20424         next one, whatever it might be.
20425         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20426         (arena_lock): Pass in new parameter to arena_get2.
20427         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20428         arena_get2.
20429         (__libc_malloc): Unify retrying after main arena failure with
20430         __libc_memalign version.
20431         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20433 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20435         [BZ #14166]
20436         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20437         to __redirect_strstr.
20438         (__strstr_sse42): Use typeof __redirect_strstr.
20439         (__strstr_ia32): Likewise.
20440         (__libc_strstr): New prototype.
20441         (strstr): Renamed to ...
20442         (__libc_strstr): This.
20443         (strstr): New strong alias of __libc_strstr.
20444         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20445         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20446         __redirect_time.
20447         Include <time.h>.
20448         (__libc_time): New prototype.
20449         (time_ifunc): Replace time with __libc_time.
20450         (time): New strong alias and hidden definition of __libc_time.
20451         (__GI_time): Remove strong alias.
20452         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20453         Include <stddef.h>.
20454         (memmove): Redefined to __redirect_memmove.
20455         (__memmove_sse2): Use typeof __redirect_memmove.
20456         (__memmove_ssse3): Likewise.
20457         (__memmove_ssse3_back): Likewise.
20458         (__libc_memmove): New prototype.
20459         (memmove): Renamed to ...
20460         (__libc_memmove): This.
20461         (memmove): New strong alias of __libc_memmove.
20463 2012-08-08  Mark Salter  <msalter@redhat.com>
20465         * elf/elf.h
20466         (R_MN10300_TLS_GD): Define.
20467         (R_MN10300_TLS_LD): Likewise.
20468         (R_MN10300_TLS_LDO): Likewise.
20469         (R_MN10300_TLS_GOTIE): Likewise.
20470         (R_MN10300_TLS_IE): Likewise.
20471         (R_MN10300_TLS_LE): Likewise.
20472         (R_MN10300_TLS_DTPMOD): Likewise.
20473         (R_MN10300_TLS_DTPOFF): Likewise.
20474         (R_MN10300_TLS_TPOFF): Likewise.
20475         (R_MN10300_SYM_DIFF): Likewise.
20476         (R_MN10300_ALIGN): Likewise.
20477         (R_MN10300_NUM): Update.
20479 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20481         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20482         Remove.
20484 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20486         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20488         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20489         sysdeps/unix -> sysdeps/posix move.
20490         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20492 2012-08-07      Allan McRae     <allan@archlinux.org>
20494         [BZ #14303]
20495         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20496         (SUNOS_CPP): Likewise.
20497         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20498         not found.
20499         (open_input): Call CPP using execvp.
20501 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20503         * sysdeps/unix/sysv/linux/kernel-features.h
20504         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20505         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20506         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20507         (__ASSUME_WAITID_SYSCALL): Likewise.
20508         * sysdeps/unix/sysv/linux/dl-execstack.c
20509         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20510         code unconditional.
20511         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20512         conditional code.
20513         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20514         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20515         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20516         code.
20517         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20518         unconditional.
20519         [__ASSUME_WAITID_SYSCALL]: Likewise.
20520         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20522 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20524         * sysdeps/unix/closedir.c: Renamed to ...
20525         * sysdeps/posix/closedir.c: ... here.
20526         * sysdeps/unix/dirfd.c: Renamed to ...
20527         * sysdeps/posix/dirfd.c: ... here.
20528         * sysdeps/unix/dirstream.h: Renamed to ...
20529         * sysdeps/posix/dirstream.h: ... here.
20530         * sysdeps/unix/fdopendir.c: Renamed to ...
20531         * sysdeps/posix/fdopendir.c: ... here.
20532         * sysdeps/unix/opendir.c: Renamed to ...
20533         * sysdeps/posix/opendir.c: ... here.
20534         * sysdeps/unix/readdir.c: Renamed to ...
20535         * sysdeps/posix/readdir.c: ... here.
20536         * sysdeps/unix/readdir_r.c: Renamed to ...
20537         * sysdeps/posix/readdir_r.c: ... here.
20538         * sysdeps/unix/rewinddir.c: Renamed to ...
20539         * sysdeps/posix/rewinddir.c: ... here.
20540         * sysdeps/unix/seekdir.c: Renamed to ...
20541         * sysdeps/posix/seekdir.c: ... here.
20542         * sysdeps/unix/telldir.c: Renamed to ...
20543         * sysdeps/posix/telldir.c: ... here.
20544         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20545         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20546         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20547         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20549         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20550         * bits/fcntl.h: ... here.
20552         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20553         not 0.
20554         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20555         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20556         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20557         (struct flock): Move l_start, l_len to the beginning.
20558         Use __pid_t for l_pid.
20559         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20560         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20561         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20562         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20563         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20564         [__USE_LARGEFILE64] (struct flock64): New type.
20565         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20567         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20568         * bits/dirent.h: ... here.
20570         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20571         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20573 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20575         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20576         Change from 2.6.0 to 2.6.16.
20577         * sysdeps/unix/sysv/linux/configure: Regenerated.
20578         * sysdeps/unix/sysv/linux/kernel-features.h
20579         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20580         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20581         version.
20582         (__ASSUME_UTIMES): Likewise.
20583         (__ASSUME_CLONE_STOPPED): Remove.
20584         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20585         architectures, not kernel version.
20586         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20587         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20588         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20589         (__ASSUME_WAITID_SYSCALL): Likewise.
20590         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20591         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20592         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20593         refer to older versions.
20595 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20597         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20598         Define alphasort64 as an alias.
20599         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20600         Define versionsort64 as an alias.
20601         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20602         Define scandir64 as an alias.
20603         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20604         Define scandirat64 as an alias.
20605         * dirent/alphasort64.c (alphasort64):
20606         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20607         * dirent/versionsort64.c: Likewise.
20608         * dirent/scandir64.c: Likewise.
20609         * dirent/scandirat64.c: Likewise.
20610         * sysdeps/wordsize-64/alphasort.c: File removed.
20611         * sysdeps/wordsize-64/alphasort64.c: File removed.
20612         * sysdeps/wordsize-64/scandir.c: File removed.
20613         * sysdeps/wordsize-64/scandir64.c: File removed.
20614         * sysdeps/wordsize-64/scandirat.c: File removed.
20615         * sysdeps/wordsize-64/scandirat64.c: File removed.
20616         * sysdeps/wordsize-64/versionsort.c: File removed.
20617         * sysdeps/wordsize-64/versionsort64.c: File removed.
20618         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20619         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20620         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20621         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20622         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20623         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20624         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20625         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20627         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20628         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20629         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20631         [defined __arch64__ || defined __sparcv9]
20632         (__INO_T_MATCHES_INO64_T): New macro.
20633         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20634         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20635         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20636         * sysdeps/unix/sysv/linux/bits/dirent.h
20637         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20638         (_DIRENT_MATCHES_DIRENT64): New macro.
20640         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20641         Define lockf64 as an alias.
20642         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20643         Define fseeko64 as an alias.
20644         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20645         Define ftello64 as an alias.
20646         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20647         Define _IO_fgetpos64 and fgetpos64 as aliases.
20648         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20649         Define _IO_fsetpos64 and fsetpos64 as aliases.
20650         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20651         Conditionalize body on this.
20652         * libio/fseeko64.c: Likewise.
20653         * libio/ftello64.c: Likewise.
20654         * libio/iofgetpos64.c: Likewise.
20655         * libio/iofsetpos64.c: Likewise.
20656         * sysdeps/wordsize-64/lockf.c: File removed.
20657         * sysdeps/wordsize-64/lockf64.c: File removed.
20658         * sysdeps/wordsize-64/fseeko.c: File removed.
20659         * sysdeps/wordsize-64/fseeko64.c: File removed.
20660         * sysdeps/wordsize-64/ftello.c: File removed.
20661         * sysdeps/wordsize-64/ftello64.c: File removed.
20662         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20663         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20664         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20665         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20666         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20667         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20668         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20669         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20670         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20671         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20672         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20673         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20674         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20675         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20677         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20679         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20680         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20681         [defined __arch64__ || defined __sparcv9]
20682         (__OFF_T_MATCHES_OFF64_T): New macro.
20683         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20684         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20685         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20686         (__OFF_T_MATCHES_OFF64_T): New macro.
20688 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20690         * stdlib/secure-getenv.c (__secure_getenv): Replace
20691         GLIBC_2_16 with GLIBC_2_17.
20693 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20695         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20696         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20698 2012-08-03  David S. Miller  <davem@davemloft.net>
20700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20702 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20704         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20705         Remove.
20706         (__ASSUME_CORRECT_SI_PID): Likewise.
20707         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20708         (__ASSUME_TMPFS_NAME): Likewise.
20709         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20710         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20711         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20712         (HAVE_AUX_SECURE): Make definition unconditional.
20713         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20714         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20716 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20718         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20719         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20720         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20721         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20722         __eloop_threshold instead of SYMLOOP_MAX.
20724         * sysdeps/generic/eloop-threshold.h: New file.
20725         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20726         of MAXSYMLINKS.
20727         * elf/chroot_canon.c (chroot_canon): Likewise.
20729 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20731         [BZ #13717]
20732         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20733         Change to 2.6.0 everywhere.
20734         * sysdeps/unix/sysv/linux/configure: Regenerated.
20735         * sysdeps/unix/sysv/linux/kernel-features.h
20736         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20737         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20738         kernel versions.
20739         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20740         (__ASSUME_FUTEX_REQUEUE): Remove.
20741         (__ASSUME_STATFS64): Define unconditionally.
20742         (__ASSUME_AT_SECURE): Likewise.
20743         (__ASSUME_CORRECT_SI_PID): Likewise.
20744         (__ASSUME_TGKILL): Define without depending on kernel version for
20745         i386.
20746         (__ASSUME_UTIMES): Likewise.
20747         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20748         kernel version.
20749         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20750         (__ASSUME_TMPFS_NAME): Likewise.
20751         * README: Update reference to Linux kernel versions.
20753 2012-08-02  Marek Polacek  <polacek@redhat.com>
20755         [BZ# 14150]
20756         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20757         libc_cv_asm_type_prefix with %.
20758         * configure: Regenerated.
20759         * include/libc-symbols.h: Remove comment about
20760         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20761         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20762         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20763         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20764         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20765         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20766         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20767         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20768         * elf/tst-unique2mod1.c: Likewise.
20769         * elf/tst-unique1mod2.c: Likewise.
20770         * elf/tst-unique1mod1.c: Likewise.
20771         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20772         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20773         Replace ASM_TYPE_DIRECTIVE with .type.
20774         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20775         * sysdeps/i386/sysdep.h: Likewise.
20776         * sysdeps/x86_64/sysdep.h: Likewise.
20777         * sysdeps/sh/sysdep.h: Likewise.
20778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20779         Do not define ASM_TYPE_DIRECTIVE.
20780         * sysdeps/powerpc/sysdep.h: Likewise.
20781         * sysdeps/powerpc/powerpc32/sysdep.h:
20782         Replace ASM_TYPE_DIRECTIVE with .type.
20783         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20784         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20785         * sysdeps/i386/fpu/e_powf.S: Likewise.
20786         * sysdeps/i386/fpu/e_expl.S: Likewise.
20787         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20788         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20789         * sysdeps/i386/fpu/e_pow.S: Likewise.
20790         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20791         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20792         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20793         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20794         * sysdeps/i386/fpu/e_log2.S: Likewise.
20795         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20796         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20797         * sysdeps/i386/fpu/e_powl.S: Likewise.
20798         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20799         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20800         * sysdeps/i386/fpu/e_logl.S: Likewise.
20801         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20802         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20803         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20804         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20805         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20806         * sysdeps/i386/fpu/e_log.S: Likewise.
20807         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20808         * sysdeps/i386/fpu/e_logf.S: Likewise.
20809         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20810         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20811         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20812         * sysdeps/i386/fpu/e_log10.S: Likewise.
20813         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20814         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20815         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20816         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20817         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20818         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20819         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20820         * sysdeps/i386/i686/strtok.S: Likewise.
20821         * sysdeps/i386/i386-mcount.S: Likewise.
20822         * sysdeps/i386/strtok.S: Likewise.
20823         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20824         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20825         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20826         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20827         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20828         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20829         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20830         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20831         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20832         * sysdeps/x86_64/_mcount.S: Likewise.
20833         * sysdeps/x86_64/strtok.S: Likewise.
20834         * sysdeps/sh/_mcount.S: Likewise.
20836 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20838         * libio/iofopen.c: Include <fcntl.h>.
20839         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20840         (_IO_fopen64, fopen64): Define as aliases.
20841         * libio/iofopen64.c: Include <fcntl.h>.
20842         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20843         Conditionalize body on this.
20844         * sysdeps/wordsize-64/iofopen.c: File removed.
20845         * sysdeps/wordsize-64/iofopen64.c: File removed.
20847 2012-08-01  Marek Polacek  <polacek@redhat.com>
20849         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20850         Use dlfcn directly instead of a variable.
20851         (binfmt-subdir): Do not define.
20852         (dlfcn): Likewise.
20854 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20856         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20857         Remove all definitions.
20858         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20859         <kernel-features.h>.
20860         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20861         (miss_F_GETOWN_EX): Remove all definitions.
20862         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20863         macro definition.
20864         [!__ASSUME_FCNTL64]: Remove conditional code.
20865         [__ASSUME_FCNTL64]: Make code unconditional.
20866         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20867         <kernel-features.h>.
20868         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20869         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20870         (lockf64) [__NR_fcntl64]: Make code unconditional.
20871         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20873         * sysdeps/unix/sysv/linux/kernel-features.h
20874         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20875         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20876         Make code unconditional.
20877         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20878         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20880         [__NR_vfork]: Make code unconditional.
20881         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20882         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20884         [__NR_vfork]: Make code unconditional.
20885         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20886         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20888 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20890         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20891         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20893         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20894         Define mkstemp64 as an alias.
20895         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20896         Define mkstemps64 as an alias.
20897         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20898         Define mkostemp64 as an alias.
20899         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20900         Define mkostemps64 as an alias.
20901         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20902         Conditionalize body on this.
20903         * misc/mkostemp64.c: Likewise.
20904         * misc/mkostemps64.c: Likewise.
20905         * misc/mkstemps64.c: Likewise.
20906         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20907         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20908         * sysdeps/wordsize-64/mkostemp.c: File removed.
20909         * sysdeps/wordsize-64/mkstemp.c: File removed.
20910         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20911         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20912         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20913         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20915         [BZ #14138]
20916         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20917         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20918         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20919         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20921         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20922         compat_symbol macros from <shlib-compat.h> rather than the underlying
20923         default_symbol_version and symbol_version macros, so that DEFAULT
20924         lines in shlib-versions are respected.
20925         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20927 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20929         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20930         Declare with warn_unused_result.
20931         (setgid, setregid, setegid, setresgid): Likewise.
20932         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20933         Likewise.
20934         * WUR-REPORT: Remove set*id functions.
20936 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20938         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20940 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20942         [BZ #10191]
20943         * include/sys/socket.h (__libc_accept, __libc_accept4):
20944         Add attribute_hidden.
20945         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20947         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20948         use of PTR_MANGLE.
20949         * inet/getnetgrent_r.c (setup): Likewise.
20951         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20953 2012-07-31  David S. Miller  <davem@davemloft.net>
20955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20957 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20959         [BZ #13629]
20960         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20961         value between 1.0 and 2.0 and smaller part has absolute value less
20962         than 1.0.
20963         * math/s_clog10.c (__clog10): Likewise.
20964         * math/s_clog10f.c (__clog10f): Likewise.
20965         * math/s_clog10l.c (__clog10l): Likewise.
20966         * math/s_clogf.c (__clogf): Likewise.
20967         * math/s_clogl.c (__clogl): Likewise.
20968         * math/libm-test.inc (clog_test): Add more tests.
20969         (clog10_test): Likewise.
20970         * sysdeps/i386/fpu/libm-test-ulps: Update.
20971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20973 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20975         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20976         Exit with zero in case no suitable GID is found, and write a
20977         message to standard error.
20979 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20981         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20982         rather than to 1.
20983         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20984         (MAXPATHLEN): Removed.
20985         (NOGROUP, NODEV): New macros.
20986         (setbit, clrbit, isset, isclr): New macros.
20987         (howmany, roundup, powerof2): New macros.
20988         (DEV_BSIZE): New macro.
20990         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20991         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20993         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20994         definition on [!__NO_LONG_DOUBLE_MATH].
20996         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20997         PTR_MANGLE and PTR_DEMANGLE.
20999         * socket/accept4.c (accept4): Rename to __libc_accept4.
21000         Define accept4 as a weak alias.
21002         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21003         on [_DIRENT_HAVE_D_TYPE].
21004         * io/ftw.c (ftw_dir): Likewise.
21006         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21008         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21010         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21011         Use the BSD numbers rather than the arbitrary ones we had.
21012         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21013         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21014         (SIGXCPU, SIGXFSZ): New macros.
21015         (_NSIG): Now 32.
21017         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21018         initializer on [_LIBC_REENTRANT].
21020         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21021         definitions inside [_POSIX_MAPPED_FILES].
21023         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21025         * dirent/opendir.c: Include <fcntl.h>.
21027         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21028         (__libc_getspecific): Likewise.
21029         (__libc_key_create): Likewise.
21031         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21032         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21033         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21034         (tmpfile64): Define as alias.
21035         * sysdeps/wordsize-64/tmpfile.c: File removed.
21036         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21037         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21038         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21040         * stdio-common/vfscanf.c: Include <stdbool.h>.
21041         * nss/makedb.c: Likewise.
21042         * stdio-common/_i18n_number.h: Likewise.
21043         * argp/argp-help.c: Likewise.
21044         * posix/wordexp.c: Likewise.
21045         * sysdeps/posix/spawni.c: Likewise.
21046         * nss/nss_files/files-initgroups.c: Likewise.
21047         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21048         * nss/nss_files/files-initgroups.c: Likewise.
21049         * nss/nss_db/db-netgrp.c: Likewise.
21050         * nss/nss_db/db-initgroups.c: Likewise.
21051         * io/fchmodat.c: Include <sys/stat.h>.
21053         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21054         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21056         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21057         [HAVE_MMAP].
21059         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21060         Add multiple inclusion protection.
21062 2012-07-27  David S. Miller  <davem@davemloft.net>
21064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21066 2012-07-27  Gary Benson  <gbenson@redhat.com>
21068         [BZ #14298]
21069         * elf/rtld.c: Include <stap-probe.h>.
21070         (dl_main): Added static probes "init_start" and "init_complete".
21071         * elf/dl-load.c: Include <stap-probe.h>.
21072         (lose): Take new parameter "nsid".
21073         Added static probe "map_failed".
21074         (_dl_map_object_from_fd): Pass namespace id to lose.
21075         Added static probe "map_start".
21076         (open_verify): Pass namespace id to lose.
21077         * elf/dl-open.c: Include <stap-probe.h>.
21078         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21079         and "reloc_complete".
21080         * elf/dl-close.c: Include <stap-probe.h>.
21081         (_dl_close_worker): Added static probes "unmap_start" and
21082         "unmap_complete".
21083         * elf/rtld-debugger-interface.txt: New file documenting the above.
21085 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21087         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21088         rather than a string variable.
21089         * sunrpc/rpc_main.c (h_output): Likewise.
21090         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21092 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21094         * inet/check_native.c: New file.
21096 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21098         [BZ #13629]
21099         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21100         if larger part has absolute value 1.0.
21101         * math/s_clog10.c (__clog10): Likewise.
21102         * math/s_clog10f.c (__clog10f): Likewise.
21103         * math/s_clog10l.c (__clog10l): Likewise.
21104         * math/s_clogf.c (__clogf): Likewise.
21105         * math/s_clogl.c (__clogl): Likewise.
21106         * math/libm-test.inc (clog_test): Add more tests.
21107         (clog10_test): Likewise.
21108         * sysdeps/i386/fpu/libm-test-ulps: Update.
21109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21111         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21112         (pltexit): Likewise.
21113         (La_regs): Likewise.
21114         (La_retval): Likewise.
21115         (int_retval): Likewise.
21116         Update #error for removed macros to refer only to definitions in
21117         tst-audit.h.
21118         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21119         macro.
21120         (pltexit): Likewise.
21121         (La_regs): Likewise.
21122         (La_retval): Likewise.
21123         (int_retval): Likewise.
21124         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21125         macro.
21126         (pltexit): Likewise.
21127         (La_regs): Likewise.
21128         (La_retval): Likewise.
21129         (int_retval): Likewise.
21130         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21131         macro.
21132         (pltexit): Likewise.
21133         (La_regs): Likewise.
21134         (La_retval): Likewise.
21135         (int_retval): Likewise.
21136         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21137         macro.
21138         (pltexit): Likewise.
21139         (La_regs): Likewise.
21140         (La_retval): Likewise.
21141         (int_retval): Likewise.
21142         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21143         macro.
21144         (pltexit): Likewise.
21145         (La_regs): Likewise.
21146         (La_retval): Likewise.
21147         (int_retval): Likewise.
21148         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21149         macro.
21150         (pltexit): Likewise.
21151         (La_regs): Likewise.
21152         (La_retval): Likewise.
21153         (int_retval): Likewise.
21154         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21155         macro definitions in tst-audit.h.
21156         * sysdeps/i386/tst-audit.h: New file.
21157         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21158         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21159         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21160         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21161         * sysdeps/sh/tst-audit.h: Likewise.
21162         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21163         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21164         * sysdeps/x86_64/tst-audit.h: Likewise.
21166 2012-07-26  Andreas Jaeger  <aj@suse.de>
21168         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21169         ptrace.
21171         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21172         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21173         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21174         PTRACE_O_MASK.
21175         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21176         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21177         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21179         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21180         value.
21182         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21183         _sigsys.
21184         (si_call_addr, si_syscall, si_arch): Define new macro.
21185         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21186         _sigsys.
21187         (si_call_addr, si_syscall, si_arch): Define new marcro.
21188         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21189         _sigsys.
21190         (si_call_addr, si_syscall, si_arch): Define new macro.
21191         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21192         _sigsys.
21193         (si_call_addr, si_syscall, si_arch): Define new macro.
21195 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21197         [BZ #13717]
21198         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21199         Change to 2.4.21 where previously 2.4.1.
21200         * sysdeps/unix/sysv/linux/configure: Regenerated.
21201         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21202         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21203         Linux kernel version.
21204         (__ASSUME_STD_AUXV): Remove.
21205         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21206         kernel version.
21207         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21208         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21209         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21210         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21211         (__ASSUME_NETLINK_SUPPORT): Likewise.
21212         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21213         (__no_netlink_support): Remove conditional definition.
21214         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21215         Remove.
21216         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21217         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21218         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21219         (if_nameindex_ioctl): Remove.
21220         (if_nameindex_netlink): Do not handle __no_netlink_support.
21221         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21222         code.
21223         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21224         Remove conditional code.
21225         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21226         code.
21227         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21228         unconditional.
21229         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21230         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21231         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21232         Remove.
21233         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21234         [!__ASSUME_STD_AUXV]: Remove conditional code.
21235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21236         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21237         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21239         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21240         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21241         code.
21242         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21244         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21245         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21246         conditional code.
21247         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21249         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21250         code.
21251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21252         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21253         conditional code.
21254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21255         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21256         code unconditional.
21257         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21258         conditional code.
21259         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21260         unconditional.
21261         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21262         conditional code.
21263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21264         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21265         unconditional.
21266         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21267         conditional code.
21268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21269         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21270         code unconditional.
21271         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21272         conditional code.
21273         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21274         unconditional.
21275         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21276         conditional code.
21277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21278         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21279         code unconditional.
21280         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21281         conditional code.
21282         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21283         unconditional.
21284         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21285         conditional code.
21287 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21289         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21290         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21291         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21292         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21293         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21294         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21295         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21296         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21297         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21298         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21299         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21300         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21301         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21302         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21303         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21304         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21305         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21306         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21307         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21309         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21310         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21311         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21313 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21315         * Versions.def: Add GLIBC_2.17.
21316         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21317         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21318         Introduce __libc_secure_getenv.
21319         * stdlib/Versions (2.17): Add secure_getenv
21320         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21321         * stdlib/secure-getenv.c: Rename __secure_getenv to
21322         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21323         symbol __secure_getenv for GLIBC_2.0.
21324         * stdlib/tst-secure-getenv.c: New.
21325         * stdlib/Makefile (tests): Add testcase.
21326         * manual/startup.texi (Environment Access): Document
21327         secure_getenv.
21328         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21329         __libc_secure_getenv.
21330         * inet/ruserpass.c (ruserpass): Likewise.
21331         * malloc/mtrace.c (mtrace): Likewise.
21332         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21333         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21334         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21335         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21336         HAVE_SECURE_GETENV.
21337         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21338         __secure_getenv to __libc_secure_getenv.
21339         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21341         Likewise.
21342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21343         Likewise.
21344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21346         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21352 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21354         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21355         (struct La_i86_retval): Likewise.
21356         (struct La_x86_64_regs): Likewise.
21357         (struct La_x86_64_retval): Likewise.
21358         (struct La_x32_regs): Likewise.
21359         (struct La_x32_retval): Likewise.
21360         (struct La_ppc32_regs): Likewise.
21361         (struct La_ppc32_retval): Likewise.
21362         (struct La_ppc64_regs): Likewise.
21363         (struct La_ppc64_retval): Likewise.
21364         (struct La_sh_regs): Likewise.
21365         (struct La_sh_retval): Likewise.
21366         (struct La_s390_32_regs): Likewise.
21367         (struct La_s390_32_retval): Likewise.
21368         (struct La_s390_64_regs): Likewise.
21369         (struct La_s390_64_retval): Likewise.
21370         (struct La_sparc32_regs): Likewise.
21371         (struct La_sparc32_retval): Likewise.
21372         (struct La_sparc64_regs): Likewise.
21373         (struct La_sparc64_retval): Likewise.
21374         (struct audit_ifaces): Remove architecture-specific pltenter and
21375         pltexit members.
21376         * sysdeps/i386/ldsodefs.h: New file.
21377         * sysdeps/powerpc/ldsodefs.h: Likewise.
21378         * sysdeps/s390/ldsodefs.h: Likewise.
21379         * sysdeps/sh/ldsodefs.h: Likewise.
21380         * sysdeps/sparc/ldsodefs.h: Likewise.
21381         * sysdeps/x86_64/ldsodefs.h: Likewise.
21383 2012-07-25  Marek Polacek  <polacek@redhat.com>
21385         [BZ #6808]
21386         * math/libm-test.inc (yn_test): Add another test.
21387         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21388         to ERANGE when the result is +-Inf.
21389         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21390         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21391         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21392         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21394 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21396         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21397         equal to 0.
21398         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21399         clock_t.
21400         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21402 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21404         * configure.in <sysdeps resolving>: Correct printing
21405         Implies_before.
21406         * configure: Regenerate.
21408 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21410         * math/w_ilogb.c: Include <limits.h>.
21411         * math/w_ilogbl.c: Likewise.
21413 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21415         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21416         va_copy.  Document allowing for unavailable va_copy only as
21417         pre-C99 compatibility.
21418         * manual/string.texi (Copying and Concatenation): Use va_copy
21419         instead of __va_copy in concat example.
21421 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21423         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21424         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21425         it if not null.
21427         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21428         with O_NOLINK passed to __file_name_lookup.
21430         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21431         with O_NOLINK passed to __file_name_lookup.
21433         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21434         negative N or less than NGIDS.
21436         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21437         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21438         enough.  Use memcpy instead of strncpy.
21440 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21442         * elf/Makefile (check-data): Remove.
21443         (localplt.data): New vpath directive.
21444         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21445         instead of $(check-data).
21446         * scripts/data/localplt-generic.data: Move to ...
21447         * sysdeps/generic/localplt.data: ... here.
21448         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21449         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21450         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21452         ... here.
21453         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21455         ... here.
21456         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21458         ... here.
21459         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21461         ... here.
21462         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21464         ... here.
21465         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21467         ... here.
21469 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21471         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21472         PPC32 and PPC64 files.
21473         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21474         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21476 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21478         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21479         __makecontext_ret to ...
21480         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21481         ... here and call exit if uc_link is NULL.  New file.
21482         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21483         __makecontext_ret.S.
21484         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21485         __makecontext_ret to ...
21486         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21487         ... here and call exit if uc_link is NULL.  New file.
21488         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21489         __makecontext_ret.S.
21491 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21493         * elf/elf.h (R_390_IRELATIVE): New definition.
21494         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21495         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21496         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21497         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21498         (elf_machine_lazy_rel): Likewise.
21499         * sysdeps/s390/dl-irel.h: New file.
21500         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21501         * sysdeps/s390/s390-64/memset.S: New asm code.
21502         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21503         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21504         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21505         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21506         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21507         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21508         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21509         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21510         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21511         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21512         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21513         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21514         * sysdeps/s390/s390-32/memset.S: New asm code.
21515         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21517 2012-07-17  Marek Polacek  <polacek@redhat.com>
21519         [BZ #14349]
21520         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21521         * sysdeps/s390/s390-64/configure.in: Likewise.
21522         * sysdeps/sparc/configure.in: Likewise.
21523         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21524         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21525         * sysdeps/i386/configure.in: Likewise.
21526         * sysdeps/x86_64/configure.in: Likewise.
21527         * sysdeps/sh/configure.in: Likewise.
21528         * sysdeps/s390/s390-32/configure: Regenerated.
21529         * sysdeps/s390/s390-64/configure: Likewise.
21530         * sysdeps/x86_64/configure: Likewise.
21531         * sysdeps/sh/configure: Likewise.
21532         * sysdeps/powerpc/powerpc64/configure: Likewise.
21533         * sysdeps/powerpc/powerpc32/configure: Likewise.
21534         * sysdeps/sparc/configure: Likwise.
21535         * sysdeps/i386/configure: Likewise.
21537         * elf/dl-open.c: Comment fixes.
21539 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21541         * Makefile [CXX] (check-data): Remove.
21542         [CXX] (c++-types.data): New vpath directive.
21543         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21544         vpath.  Do not allow for C++ type data being missing.
21545         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21546         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21547         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21548         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21549         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21550         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21551         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21553         ... here.
21554         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21556         ... here.
21557         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21559         ... here.
21560         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21562         ... here.
21563         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21565         ... here.
21566         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21568         ... here.
21569         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21571         ... here.
21572         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21575         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21576         definitions to architecture-specific files.
21577         (TLS_IE): Likewise.
21578         (TLS_LD): Likewise.
21579         (TLS_GD): Likewise.
21580         * sysdeps/i386/tls-macros.h: New file.
21581         * sysdeps/powerpc/tls-macros.h: Likewise.
21582         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21583         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21584         * sysdeps/sh/tls-macros.h: Likewise.
21585         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21586         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21587         * sysdeps/x86_64/tls-macros.h: Likewise.
21589 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21591         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21592         zero value for regular exit case.
21594         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21595         (__start_context): Preserve zero value for regular exit case.
21597 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21598             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21600         * manual/setjmp.texi (setcontext): Clarify normal process
21601         termination when uc_link is the null pointer.
21602         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21603         exit call.
21605 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21607         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21608         preprocessor.  Test for each exception mask separately.
21610 2012-07-16  Andreas Jaeger  <aj@suse.de>
21612         * po/ru.po: Update from translation team.
21614 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21616         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21617         equal to 0.
21618         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21619         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21620         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21621         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21622         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21624 2012-07-13  Andreas Jaeger  <aj@suse.de>
21626         * po/fr.po: Update from translation team.
21628 2012-07-12  Marek Polacek  <polacek@redhat.com>
21630         [BZ #14173]
21631         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21632         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21633         loop condition.
21635 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21637         [BZ #13717]
21638         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21639         Change to 2.4.1 where previously 2.4.0.
21640         * sysdeps/unix/sysv/linux/configure: Regenerated.
21641         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21642         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21643         version.
21644         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21645         (__ASSUME_AT_CLKTCK): Remove.
21646         (__ASSUME_AT_PAGESIZE): Likewise.
21647         (__ASSUME_AT_XID): Likewise.
21648         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21649         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21650         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21651         unconditionally.
21652         (HAVE_AUX_PAGESIZE): Likewise.
21653         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21654         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21655         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21657 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21659         [BZ #14307]
21660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21661         the temporary buffer used to invoke __gethostbyname2_r,
21662         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21663         host_data / struct gaih_addrtuple.
21664         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21665         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21666         header file nss/nsswitch.h.
21667         * nss/nsswitch.h (global scope): Add definition of implementation
21668         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21669         resolv/nss_dns/dns-host.c).
21671 2012-07-11  Andreas Jaeger  <aj@suse.de>
21673         * po/fr.po: Update from translation team.
21675         * po/sv.po: Update from translation team
21676         * po/fr.po: Another update from translation team.
21678 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21680         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21681         for subnormals or multiply small sinh result by itself.
21682         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21685 2012-07-11  David S. Miller  <davem@davemloft.net>
21687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21689 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21691         [BZ #14347]
21692         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21693         (INTERNAL_MARK): Shift it here.
21695 2012-07-10  Marek Polacek  <polacek@redhat.com>
21697         [BZ #14151]
21698         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21699         libc_cv_asm_global_directive with .globl.
21700         * configure: Regenerated.
21701         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21702         with .globl.
21703         * sysdeps/i386/configure: Regenerated.
21704         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21705         with .globl.
21706         * sysdeps/x86_64/configure: Regenerated.
21707         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21708         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21709         * elf/tst-unique2mod2.c: Likewise.
21710         * elf/tst-unique2mod1.c: Likewise.
21711         * elf/tst-unique1mod2.c: Likewise.
21712         * elf/tst-unique1mod1.c: Likewise.
21713         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21714         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21715         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21716         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21717         * sysdeps/mach/sysdep.h: Likewise.
21718         * sysdeps/i386/sysdep.h: Likewise.
21719         * sysdeps/i386/i386-mcount.S: Likewise.
21720         * sysdeps/x86_64/_mcount.S: Likewise.
21721         * sysdeps/x86_64/sysdep.h: Likewise.
21722         * sysdeps/sh/_mcount.S: Likewise.
21723         * sysdeps/sh/sysdep.h: Likewise.
21724         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21725         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21726         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21727         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21728         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21729         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21730         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21731         * locale/localeinfo.h: Likewise.
21732         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21733         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21735 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21737         [BZ #14336]
21738         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21739         system".
21740         * manual/message.texi (The Uniforum approach): Likewise.
21741         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21742         (glibc iconv Implementation): Likewise.
21744 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21746         [BZ #14337]
21747         * math/s_clog.c (__clog): Avoid scaling a value down where that
21748         could result in underflow.
21749         * math/s_clog10.c (__clog10): Likewise.
21750         * math/s_clog10f.c (__clog10f): Likewise.
21751         * math/s_clog10l.c (__clog10l): Likewise.
21752         * math/s_clogf.c (__clogf): Likewise.
21753         * math/s_clogl.c (__clogl): Likewise.
21754         * math/libm-test.inc (clog_test): Add more tests.
21755         (clog10_test): Likewise.
21756         * sysdeps/i386/fpu/libm-test-ulps: Update.
21757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21759 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21761         [BZ #14283]
21762         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21763         by 7 not 8 to examine high bit of fractional part.
21765         [BZ #14042]
21766         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21767         for call to __mcount_internal.
21768         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21769         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21770         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21772 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21774         [BZ #14154]
21775         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21776         approximation for values within 0x1p-13f of an odd multiple of
21777         pi/4.
21778         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21779         exception.  Add more tests.
21780         * sysdeps/i386/fpu/libm-test-ulps: Update.
21782         [BZ #6778]
21783         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21784         inputs and return -1 for them.  Do not check for +Inf in case not
21785         reachable for +Inf.
21786         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21787         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21788         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21789         and return -1 for them.  Do not check for +Inf in case not
21790         reachable for +Inf.
21791         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21792         define.
21793         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21794         and return -1 for them.  Do not check for +Inf in case not
21795         reachable for +Inf.
21796         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21797         spurious underflow.
21798         * sysdeps/i386/fpu/libm-test-ulps: Update.
21799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21801 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21803         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21805 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21807         [BZ #14157]
21808         [BZ #14331]
21809         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21810         could result in spurious underflow.  Scale down values above
21811         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21812         * math/s_csqrtf.c (__csqrtf): Likewise.
21813         * math/s_csqrtl.c (__csqrtl): Likewise.
21814         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21815         spurious underflow.
21816         * sysdeps/i386/fpu/libm-test-ulps: Update.
21817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21819 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21821         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21822         xopen-msg.sed.
21823         * catgets/xopen-msg.awk: New file.
21824         * catgets/xopen-msg.sed: Removed.
21826         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21827         po2text.sed.
21828         * intl/po2test.awk: New file.
21829         * intl/po2test.sed: Removed.
21831 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21833         [BZ #14328]
21834         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21835         or multiply small sinh result by itself.
21836         * math/s_ctanf.c (__ctanf): Likewise.
21837         * math/s_ctanh.c (__ctanh): Likewise.
21838         * math/s_ctanhf.c (__ctanhf): Likewise.
21839         * math/s_ctanhl.c (__ctanhl): Likewise.
21840         * math/s_ctanl.c (__ctanl): Likewise.
21841         * math/libm-test.inc (ctan_test_tonearest): New function.
21842         (ctan_test_towardzero): Likewise.
21843         (ctan_test_downward): Likewise.
21844         (ctan_test_upward): Likewise.
21845         (ctanh_test_tonearest): Likewise.
21846         (ctanh_test_towardzero): Likewise.
21847         (ctanh_test_downward): Likewise.
21848         (ctanh_test_upward): Likewise.
21849         (main): Call these new functions.
21850         * sysdeps/i386/fpu/libm-test-ulps: Update.
21851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21853 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21855         * .gitignore: Delete /ports entry.
21857 2012-07-03  Andreas Jaeger  <aj@suse.de>
21859         * po/bg.po: Update from translation team.
21860         * po/cs.po: Likewise.
21861         * po/de.po: Likewise.
21862         * po/hr.po: Likewise.
21863         * po/nl.pl: Likewise.
21864         * po/pl.po: Likewise.
21865         * po/vi.po: Likewise.
21867 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21869         * Makeconfig [!+link] (+link-before-libc): New variable.
21870         [!+link] (+link-after-libc): Likewise.
21871         [!+link] (+link-tests): Likewise.
21872         [!+link] (+link): Define in terms of $(+link-before-libc) and
21873         $(+link-after-libc).
21874         [!+link-static] (+link-static-before-libc): New variable.
21875         [!+link-static] (+link-static-after-libc): Likewise.
21876         [!+link-static] (+link-static-tests): Likewise.
21877         [!+link-static] (+link-static): Define in terms of
21878         $(+link-static-before-libc) and $(+link-static-after-libc).
21879         [build-shared] (link-libc-before-gnulib): New variable.
21880         [build-shared] (link-libc-tests): Likewise.
21881         [build-shared] (link-libc): Define in terms of
21882         $(link-libc-before-gnulib).
21883         [!build-shared] (link-libc-tests): New variable.
21884         (link-libc-static-tests): New variable.
21885         [!gnulib] (gnulib-arch): New variable.
21886         [!gnulib] (gnulib-tests): Likewise.
21887         [!gnulib] (static-gnulib-arch): Likewise.
21888         [!gnulib] (static-gnulib-tests): Likewise.
21889         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21890         Define with "=" instead of ":=".
21891         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21892         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21893         * Rules (binaries-all-notests): New variable.
21894         (binaries-all-tests): Likewise.
21895         (binaries-static-notests): Likewise.
21896         (binaries-static-tests): Likewise.
21897         (binaries-all): Define using $(binaries-all-notests) and
21898         $(binaries-all-tests).
21899         (binaries-static): Define using $(binaries-static-notests) and
21900         $(binaries-static-tests).
21901         (binaries-shared-tests): New variable.
21902         (binaries-shared-notests): Likewise.
21903         (binaries-shared): Remove variable.
21904         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21905         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21906         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21907         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21908         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21909         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21910         * elf/Makefile (sln-modules): New variable.
21911         (extra-objs): Add $(sln-modules:=.o).
21912         (ldconfig-modules): Add static-stubs.
21913         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21914         * elf/static-stubs.c: New file.
21916         [BZ #14283]
21917         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21918         by 7 not 8 to examine high bit of fractional part.  Use volatile
21919         variables when splitting into final array of floats if
21920         __FLT_EVAL_METHOD__ != 0.
21921         * math/libm-test.inc (cos_test): Add another test.
21922         (sin_test): Likewise.
21923         * sysdeps/i386/fpu/libm-test-ulps: Update.
21925         [BZ #14273]
21926         * math/libm-test.inc (cosh_test): Add more tests.
21928         * version.h (RELEASE): Set to "development".
21929         (VERSION): Set to "2.16.90".
21931 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21933         * NEWS: Update copyright. Remove last-updated date.
21934         Mention math library bug fixes and timezone data changes.
21935         * README: Mention GNU/Hurd, x32, and HPPA support status.
21937 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21939         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21941 2012-06-27  Andreas Jaeger  <aj@suse.de>
21943         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21945 2012-06-25  Andreas Jaeger  <aj@suse.de>
21947         * sysdeps/s390/fpu/libm-test-ulps: Update.
21949 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21950             Thomas Schwinge  <thomas@codesourcery.com>
21952         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21953         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21954         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21955         fanotify_mark.
21957 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21959         * sysdeps/mach/start.c: Remove file.
21960         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21961         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21962         * sysdeps/sh/init-first.c: Likewise.
21964         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21965         registers for frame unwinding purposes, add CFI directives.
21966         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21967         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21968         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21969         Likewise.
21971         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21972         __fortify_fail returning.
21973         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21975         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21976         sysdeps/sh/____longjmp_chk.S.
21977         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21978         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21979         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21980         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21982         * sysdeps/sh/abort-instr.h: New file.
21983         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21984         process in case exit returns.
21986         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21987         initialize the GOT register before use.
21989         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21990         calculation of ARGC > 4.
21992         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21993         meaningful names to some local labels.
21995 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21996             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21998         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21999         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22000         (__arch_compare_and_exchange_val_16_acq): Likewise.
22001         (__arch_compare_and_exchange_val_32_acq): Likewise.
22002         (atomic_exchange_and_add): Fix gUSA sequence.
22003         (atomic_add): Likewise.
22004         (atomic_add_negative): Likewise.
22005         (atomic_add_zero): Likewise.
22006         (atomic_bit_test_set): Likewise.
22008 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22010         [BZ #13579]
22011         * include/link.h (struct link_map): Add l_free_initfini.
22012         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22013         l_initfini.
22014         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22015         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22016         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22017         set.
22019 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22021         * configure.in: Use AC_LANG_SOURCE.
22022         * configure: Regenerate.
22024 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22026         * configure.in (libc_cv_localstatedir): New substituted variable.
22027         * configure: Regenerated.
22028         * config.make.in (localstatedir): New variable, substituted from
22029         libc_cv_localstatedir.
22030         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22031         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22032         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22033         * sysdeps/gnu/configure: Regenerated.
22035 2012-06-21  Jeff Law  <law@redhat.com>
22037         [BZ #14277]
22038         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22039         free.  Simplify list management for _LIBC case.
22041 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22043         [BZ #14273]
22044         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22045         Clear sign bit of 64-bit integer value before comparing against
22046         overflow value.
22048         * sysdeps/mach/configure: Regenerated.
22050 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22052         [BZ #14278]
22053         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22055 2012-06-21  Jeff Law  <law@redhat.com>
22057         [BZ #13882]
22058         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22059         uint16_t for elements in the "seen" array to avoid char overflows.
22060         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22061         * elf/dl-open.c (dl_open_worker): Likewise.
22063 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22065         * scripts/list-sources.sh: Scan PORTS for translations.
22066         * po/libc.pot: Regenerated.
22068 2012-06-21  Andreas Jaeger  <aj@suse.de>
22070         [BZ #12194]
22071         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22072         warning.
22073         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22074         * bits/byteswap-16.h (__bswap_16): Likewise.
22075         * bits/byteswap.h (__bswap_constant_16): Likewise.
22077 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22079         [BZ #14117]
22080         * sysdeps/i386/fpu_control.h: Removed.
22081         * sysdeps/x86_64/fpu_control.h: Moved to ...
22082         * sysdeps/x86/fpu_control.h: Here.
22084         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22085         (_FPU_SETCW): Likewise.
22087 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22089         [BZ #14117]
22090         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22091         * sysdeps/x86/fpu/bits/mathinline.h: This.
22092         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22094         [BZ #14050]
22095         [BZ #14117]
22096         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22097         functions if __x86_64__ is defined.
22099 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22101         * string/endian.h: Add !__ASSEMBLER__ condition for including
22102         conversion interfaces.
22104 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22106         [BZ #14241]
22107         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22108         of ABS(x) in calculating zero to negative powers other than odd
22109         integers.
22110         * math/libm-test.inc (pow_test): Add more tests.
22112 2012-06-15  Andreas Jaeger  <aj@suse.de>
22114         * manual/contrib.texi (Contributors): Update entry of Liubov
22115         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22116         Machado Filho.
22118 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22120         * string/string.h: Add __wur to GNU version of strerror_r.
22122 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22124         [BZ #14229]
22125         * string/Makefile (tests): Add tst-strtok_r.
22126         * string/tst-strtok_r.c: New file.
22127         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22128         RAX_LP/RDX_LP on SAVE_PTR.
22130 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22132         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22134 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22136         * libm_test.inc (csqrt_test): Allow more spurious underflow
22137         exceptions.
22138         (j0_test): Likewise.
22139         (j1_test): Likewise.
22140         (y0_test): Likewise.
22141         (y1_test): Likewise.
22143 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22145         * po/Makefile (libc.pot): Use UTF-8 charset.
22147 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22149         [BZ #14210]
22150         Suppress sign-conversion warning from FD_SET.
22151         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22152         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22153         not unsigned long int.
22154         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22156 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22158         [BZ #14050]
22159         [BZ #14117]
22160         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22161         __extern_always_inline instead of __extern_inline.
22162         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22163         (__signbit): Likewise.
22164         (__signbitl): Support C++ namespace.
22165         (lrintf): New inline function.
22166         (lrint): Likewise.
22167         (llrintf): Likewise.
22168         (llrint): Likewise.
22169         (fmaxf): Likewise.
22170         (fmax): Likewise.
22171         (fminf): Likewise.
22172         (fmin): Likewise.
22173         (rint): Likewise.
22174         (rintf): Likewise.
22175         (ceil): Likewise.
22176         (ceilf): Likewise.
22177         (floor): Likewise.
22178         (floorf): Likewise.
22179         (nearbyint): Likewise.
22180         (nearbyintf): Likewise.
22182 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22184         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22185         non-default versions.
22187 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22189         [BZ #14218]
22190         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22192 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22194         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22195         (FE_UPWARD, FE_DOWNWARD): Don't define.
22196         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22197         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22199         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22200         reading it.
22201         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22202         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22204 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22206         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22207         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22208         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22209         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22211 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22213         [BZ #14117]
22214         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22215         * sysdeps/i386/fpu/Implies: New file.
22216         * sysdeps/x86_64/fpu/Implies: Likewise.
22217         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22218         * sysdeps/x86/fpu/bits/fenv.h: This.
22220         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22221         __SSE_MATH__.
22223 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22225         [BZ #14134]
22226         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22227         character 0xffff that matches the last element of the
22228         conversion table.
22230 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22232         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22233         fmodl commit.
22235 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22237         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22238         values higher than 25.6283.
22240 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22242         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22243         subnormal exponent extraction and add some __builtin_expect.
22244         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22245         Fix for subnormal mantissa calculation.
22247 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22249         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22250         cpu2 is -1 and errno is not ENOSYS.
22252 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22254         [BZ #14117]
22255         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22256         * sysdeps/x86/bits/string.h: This.
22257         * sysdeps/x86_64/bits/string.h: Removed.
22259         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22260         if not compiling for x86-64, but compiling for >= i486.
22262         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22263         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22265         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22266         New macro from Linux kernel 3.4.0.
22267         (FP_XSTATE_MAGIC2): Likewise.
22268         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22269         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22270         (struct _fpx_sw_bytes): New struct.
22271         (struct _xsave_hdr): Likewise.
22272         (struct _ymmh_state): Likewise.
22273         (struct _xstate): Likewise.
22275         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22276         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22277         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22278         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22279         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22280         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22282         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22283         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22284         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22285         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22286         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22287         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22289 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22291         [BZ #13743]
22292         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22293         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22294         (sysdep_headers): Include sys/platform/ppc.h.
22295         * sysdeps/powerpc/test-gettimebase.c: Test for
22296         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22297         * manual/Makefile (appendices): Include platform.texi.
22298         * manual/contrib.texi (Contributors): Update @node pointers.
22299         * manual/maint.texi (Maintenance): Likewise.
22300         (Platform): New node.
22301         * manual/platform.texi: New file.  Document the new features.
22303 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22304             Jakub Jelinek  <jakub@redhat.com>
22306         [BZ #14188]
22307         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22308         where __builtin_expect is unavailable.
22310 2012-06-03  David S. Miller  <davem@davemloft.net>
22312         * stdlib/longlong.h: Updated from GCC.
22314 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22316         [BZ #14042]
22317         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22318         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22319         __mcount_internal.
22320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22321         (GLIBC_2.16): Likewise.
22323 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22325         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22327 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22330         (default-abi): New variable.
22331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22332         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22333         variable.
22334         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22335         Likewise.
22336         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22337         Likewise.
22338         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22339         Likewise.
22341         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22342         definition.  Document in comment.
22344 2012-06-01  David S. Miller  <davem@davemloft.net>
22346         * stdlib/longlong.h: Updated from GCC.
22348 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22350         [BZ #14117]
22351         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22352         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22353         sys/debugreg.h sys/io.h here.
22354         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22355         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22356         sys/io.h.
22357         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22358         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22359         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22360         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22361         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22362         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22364         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22365         Define only if __x86_64__ is defined.
22367 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22369         [BZ #14048]
22370         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22371         Use int64_t for variable i.
22372         * math/libm-test.inc (fmod_test): Add more tests.
22374         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22375         z computation is not scheduled after fetestexcept.
22376         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22377         Use math_force_eval instead of asm to ensure calculation scheduled
22378         before exception test.
22379         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22380         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22382 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22385         computation is not scheduled after fetestexcept.
22387 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22389         [BZ #14117]
22390         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22391         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22393 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22395         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22396         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22398 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22400         [BZ #14117]
22401         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22402         <bits/wordsize.h>.
22403         (__WCHAR_MIN): Support __WORDSIZE == 64.
22404         (__WCHAR_MAX): Likewise.
22406         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22407         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22409         [BZ #14183]
22410         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22411         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22413         [BZ #14117]
22414         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22415         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22417         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22418         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22420         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22421         Defined to 1 if __x86_64__ isn't defined.
22422         (_STAT_VER_LINUX_OLD): New.
22423         (st_atime): Remove duplicate.
22424         (st_mtime): Likewise.
22425         (st_ctime): Likewise.
22427 2012-05-31  David S. Miller  <davem@davemloft.net>
22429         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22430         entries.
22432 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22434         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22435         gen-libm-test.pl.
22437         [BZ #14132]
22438         * elf/dl-reloc.c: Include <_itoa.h>.
22439         (_dl_reloc_bad_type): Remove use of INTUSE.
22440         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22441         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22442         * stdio-common/psiginfo.c (psiginfo): Likewise.
22443         * stdio-common/psignal.c (psignal): Likewise.
22444         * string/strsignal.c (strsignal): Likewise.
22445         * include/signal.h (_sys_siglist): Declare hidden proto.
22446         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22447         INTVARDEF with libc_hidden_data_def.
22448         * stdio-common/itoa-udigits.c: Likewise.
22449         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22450         (_itoa_lower_digits_internal): Remove declaration.
22451         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22452         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22453         (_sys_sigabbrev_internal): Remove aliases.
22454         (_sys_siglist): Define hidden alias.
22456 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22458         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22459         bits/sysctl.h.
22461 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22463         [BZ #14117]
22464         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22465         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22467         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22468         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22469         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22470         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22471         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22472         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22474         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22475         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22476         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22478         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22479         with __addr.
22480         (insw): Likewise.
22481         (insl): Likewise.
22482         (outsb): Likewise.
22483         (outsw): Likewise.
22484         (outsl): Likewise.
22486         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22487         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22488         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22490         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22491         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22492         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22493         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22494         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22495         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22497         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22498         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22500         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22501         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22503         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22504         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22505         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22507         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22508         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22509         to ...
22510         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22512         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22513         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22514         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22516         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22517         for x86-64.
22518         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22520 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22522         * math/math.h (M_El): Use two more decimal places.
22523         (M_LOG2El): Likewise.
22524         (M_LOG10El): Likewise.
22525         (M_LN2l): Likewise.
22526         (M_LN10l): Likewise.
22527         (M_PIl): Likewise.
22528         (M_PI_2l): Likewise.
22529         (M_PI_4l): Likewise.
22530         (M_1_PIl): Likewise.
22531         (M_2_PIl): Likewise.
22532         (M_2_SQRTPIl): Likewise.
22533         (M_SQRT2l): Likewise.
22534         (M_SQRT1_2l): Likewise.
22536 2012-05-31  David S. Miller  <davem@davemloft.net>
22538         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22539         values between float registers.
22540         * sysdeps/sparc/sparc64/memset.S: Likewise.
22541         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22543 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22545         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22546         -D_FORTIFY_SOURCE=1.
22547         (CPPFLAGS-tst-longjmp_chk.c): Define.
22548         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22549         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22550         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22551         CFLAGS-tst-wchar-h.c.
22553 2012-05-31  Marek Polacek  <polacek@redhat.com>
22555         [BZ #14132]
22556         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22557         __endmntent_internal): Remove declaration.
22558         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22559         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22560         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22562 2012-05-30  David S. Miller  <davem@davemloft.net>
22564         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22565         (___Q_simulate_exceptions): Use real FP ops rather than writing
22566         into the %fsr.
22567         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22568         Likewise.
22570 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22572         [BZ #14117]
22573         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22574         * sysdeps/x86/bits/xtitypes.h: This.
22576         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22577         * sysdeps/x86/bits/wordsize.h: This.
22579         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22580         * sysdeps/x86/bits/huge_vall.h: This.
22582         * sysdeps/i386/bits/select.h: Removed.
22583         * sysdeps/x86_64/bits/select.h: Renamed to ...
22584         * sysdeps/x86/bits/select.h: This.
22586         * sysdeps/i386/bits/setjmp.h: Removed.
22587         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22588         * sysdeps/x86/bits/setjmp.h: This.
22590         * sysdeps/i386/bits/mathdef.h: Removed.
22591         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22592         * sysdeps/x86/bits/mathdef.h: This.
22594 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22596         [BZ #14132]
22597         * include/sys/socket.h (__connect_internal)
22598         (__libc_sa_len_internal): Remove declaration.
22599         (__connect, __libc_sa_len): Declare hidden_proto.
22600         (SA_LEN): Remove use of INTUSE.
22601         * socket/connect.c: Add libc_hidden_def.
22602         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22603         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22604         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22605         alias.
22606         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22607         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22608         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22609         of adding _internal alias.
22611 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22613         [BZ #14117]
22614         * sysdeps/i386/bits/link.h: Removed.
22615         * sysdeps/i386/bits/linkmap.h: Likewise.
22616         * sysdeps/x86_64/bits/link.h: Renamed to ...
22617         * sysdeps/x86/bits/link.h: This.
22618         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22619         * sysdeps/x86/bits/linkmap.h: This.
22621         * sysdeps/i386/bits/endian.h: Removed.
22622         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22623         * sysdeps/x86/bits/endian.h: This.
22625         * sysdeps/i386/bits/byteswap.h: Removed.
22626         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22627         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22628         * sysdeps/x86/bits/byteswap.h: This.
22629         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22630         * sysdeps/x86/bits/byteswap-16.h: This.
22631         * sysdeps/i386/Implies: Add x86.
22632         * sysdeps/x86_64/Implies: Likewise.
22634 2012-05-30  David S. Miller  <davem@davemloft.net>
22636         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22637         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22638         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22639         (FP_TRAPPING_EXCEPTIONS): Define.
22640         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22641         (FP_TRAPPING_EXCEPTIONS): Define.
22642         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22643         subnormals only when inexact has been signalled or underflow
22644         exceptions are enabled.
22645         (_FP_PACK_CANONICAL): Likewise.
22647 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22649         [BZ #14183]
22650         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22651         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22653 2012-05-30  Richard Henderson  <rth@twiddle.net>
22655         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22656         with #ifndef NOT_IN_libc.
22658         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22659         marked to avoid plt entry.
22661 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22663         [BZ #14112]
22664         * Makeconfig (default-abi): New macro.
22665         (abi-includes): Likewise.
22666         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22667         $(abi-$(default-abi)-lib-soname) for soname if defined.
22668         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22669         abi-variants.
22670         * Makefile (installed-stubs): Likewise.
22671         * include/stubs-biarch.h: Removed.
22672         * scripts/lib-names.awk: Only handle one library at a time.
22673         * scripts/soversions.awk: Remove WORDSIZE support.
22674         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22675         entries.
22676         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22677         Removed.
22678         (syscall-list-default-condition): Likewise.
22679         (syscall-list-default-condition): Likewise.
22680         (syscall-list-includes): Likewise.
22681         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22682         syscall-list-* with abi-*.  Handle undefined abi-variants.
22683         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22684         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22685         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22686         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22687         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22688         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22689         Removed.
22690         (syscall-list-32-options): Likewise.
22691         (syscall-list-32-condition): Likewise.
22692         (syscall-list-64-options): Likewise.
22693         (syscall-list-64-condition): Likewise.
22694         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22695         macro.
22696         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22697         Renamed to ...
22698         (abi-*): This.
22699         (abi-64-ld-soname): New macro.
22700         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22701         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22702         Renamed to ...
22703         (abi-*): This.
22704         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22705         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22707 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22709         * sysdeps/unix/sysv/linux/kernel-features.h
22710         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22711         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22712         include <kernel-features.h>.
22713         [!__NR_ftruncate64]: Remove conditional code.
22714         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22715         [__NR_ftruncate64]: Make code unconditional.
22716         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22717         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22718         include <kernel-features.h>.
22719         [!__NR_ftruncate64]: Remove conditional code.
22720         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22721         [__NR_ftruncate64]: Make code unconditional.
22722         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22724         include <kernel-features.h>.
22725         [!__NR_ftruncate64]: Remove conditional code.
22726         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22727         [__NR_ftruncate64]: Make code unconditional.
22728         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22730         include <kernel-features.h>.
22731         [!__NR_ftruncate64]: Remove conditional code.
22732         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22733         [__NR_ftruncate64]: Make code unconditional.
22734         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22736         * configure.in (libc_cv_fpie): Weaken to a compile test using
22737         LIBC_TRY_CC_OPTION.
22738         * configure: Regenerated.
22740 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22746         Refreshed.
22747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22753         Refreshed.
22755 2012-05-27  David S. Miller  <davem@davemloft.net>
22757         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22758         (___Q_zero): New.
22759         (__Q_simulate_exceptions): Return void.  Change to simulate
22760         exceptions by writing into the %fsr.
22761         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22762         (__Qp_handle_exceptions): Likewise.
22763         (numbers): Delete.
22764         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22765         __Qp_handle_exceptions.
22766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22767         __Qp_handle_exceptions.
22768         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22769         as unused and give dummy FP_RND_NEAREST initializer.
22770         (FP_INHIBIT_RESULTS): Define.
22771         (___Q_simulate_exceptions): Update declaration.
22772         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22773         formatting.
22774         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22775         as unused and give dummy FP_RND_NEAREST initializer.
22776         (__Qp_handle_exceptions): Update declaration.
22777         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22778         formatting.
22780 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22782         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22783         the temporary FPU control word.
22784         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22785         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22786         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22787         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22788         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22789         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22790         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22791         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22792         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22793         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22794         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22796 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22798         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22799         fields.
22801 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22803         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22804         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22805         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22806         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22807         Likewise.
22808         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22809         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22810         Likewise.
22812 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22814         * po/h.po: Update from translation team.
22816 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22818         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22820         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22821         handling of denormals.
22822         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22823         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22824         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22825         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22826         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22827         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22829         Likewise.
22831 2012-05-26  Marek Polacek  <polacek@redhat.com>
22833         [BZ #14152]
22834         * math/libm-test.inc (fma_test): Don't always expect underflow
22835         exception.
22837 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22839         [BZ #12416]
22840         * elf/tst-execstack.c: Include stackinfo.h.
22841         (do_test): Adjust test case to ensure that pthread_getattr_np
22842         behaviour remains the same after marking stack executable.
22844 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22846         * sysdeps/unix/sysv/linux/kernel-features.h
22847         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22848         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22849         kernel-features.h.
22850         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22851         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22852         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22853         kernel-features.h.
22854         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22855         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22857 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22859         * configure.in: Define the default includes to being none.
22860         * configure: Regenerated.
22862 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22864         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22865         * sysdeps/x86_64/setjmp.S: Likewise.
22866         * sysdeps/i386/bsd-setjmp.S: Likewise.
22867         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22868         * sysdeps/i386/setjmp.S: Likewise.
22869         * sysdeps/i386/__longjmp.S: Likewise.
22870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22871         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22873         * include/stap-probe.h: New file.
22874         * configure.in: Handle --enable-systemtap.
22875         * configure: Regenerated.
22876         * config.h.in (USE_STAP_PROBE): New #undef.
22877         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22878         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22879         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22881 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22883         [BZ #13717]
22884         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22885         to 2.4.0 where earlier.
22886         * sysdeps/unix/sysv/linux/configure: Regenerated.
22887         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22888         <kernel-features.h>.
22889         [__ASSUME_32BITUIDS]: Make code unconditional.
22890         [!__ASSUME_32BITUIDS]: Remove conditional code.
22891         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22892         <kernel-features.h>.
22893         [__ASSUME_32BITUIDS]: Make code unconditional.
22894         [!__ASSUME_32BITUIDS]: Remove conditional code.
22895         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22896         [__ASSUME_32BITUIDS]: Make code unconditional.
22897         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22898         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22899         <kernel-features.h>.
22900         [__ASSUME_32BITUIDS]: Make code unconditional.
22901         [!__ASSUME_32BITUIDS]: Remove conditional code.
22902         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22903         <kernel-features.h>.
22904         [__ASSUME_32BITUIDS]: Make code unconditional.
22905         [!__ASSUME_32BITUIDS]: Remove conditional code.
22906         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22907         <kernel-features.h>.
22908         [__ASSUME_32BITUIDS]: Make code unconditional.
22909         [!__ASSUME_32BITUIDS]: Remove conditional code.
22910         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22911         <kernel-features.h>.
22912         [__ASSUME_32BITUIDS]: Make code unconditional.
22913         [!__ASSUME_32BITUIDS]: Remove conditional code.
22914         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22915         <kernel-features.h>.
22916         [__ASSUME_32BITUIDS]: Make code unconditional.
22917         [!__ASSUME_32BITUIDS]: Remove conditional code.
22918         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22919         <kernel-features.h>.
22920         [__ASSUME_32BITUIDS]: Make code unconditional.
22921         [!__ASSUME_32BITUIDS]: Remove conditional code.
22922         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22923         <kernel-features.h>.
22924         [__ASSUME_32BITUIDS]: Make code unconditional.
22925         [!__ASSUME_32BITUIDS]: Remove conditional code.
22926         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22927         <kernel-features.h>.
22928         [__ASSUME_32BITUIDS]: Make code unconditional.
22929         [!__ASSUME_32BITUIDS]: Remove conditional code.
22930         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22931         <kernel-features.h>.
22932         [__ASSUME_32BITUIDS]: Make code unconditional.
22933         [!__ASSUME_32BITUIDS]: Remove conditional code.
22934         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22935         <kernel-features.h>.
22936         [__ASSUME_32BITUIDS]: Make code unconditional.
22937         [!__ASSUME_32BITUIDS]: Remove conditional code.
22938         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22939         <kernel-features.h>.
22940         [__NR_setresgid] (__setresgid): Do not declare.
22941         [__ASSUME_32BITUIDS]: Make code unconditional.
22942         [!__ASSUME_32BITUIDS]: Remove conditional code.
22943         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22944         <kernel-features.h>.
22945         [__NR_setresuid] (__setresuid): Do not declare.
22946         [__ASSUME_32BITUIDS]: Make code unconditional.
22947         [!__ASSUME_32BITUIDS]: Remove conditional code.
22948         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22949         <kernel-features.h>.
22950         [__ASSUME_32BITUIDS]: Make code unconditional.
22951         [!__ASSUME_32BITUIDS]: Remove conditional code.
22952         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22953         <kernel-features.h>.
22954         [__ASSUME_32BITUIDS]: Make code unconditional.
22955         [!__ASSUME_32BITUIDS]: Remove conditional code.
22956         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22957         <kernel-features.h>.
22958         [__ASSUME_32BITUIDS]: Make code unconditional.
22959         [!__ASSUME_32BITUIDS]: Remove conditional code.
22960         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22961         <kernel-features.h>.
22962         [__ASSUME_32BITUIDS]: Make code unconditional.
22963         [!__ASSUME_32BITUIDS]: Remove conditional code.
22964         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22965         <kernel-features.h>.
22966         [__ASSUME_32BITUIDS]: Make code unconditional.
22967         [!__ASSUME_32BITUIDS]: Remove conditional code.
22968         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22969         <kernel-features.h>.
22970         [__ASSUME_32BITUIDS]: Make code unconditional.
22971         [!__ASSUME_32BITUIDS]: Remove conditional code.
22972         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22973         <kernel-features.h>.
22974         [__ASSUME_32BITUIDS]: Make code unconditional.
22975         [!__ASSUME_32BITUIDS]: Remove conditional code.
22976         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22977         <kernel-features.h>.
22978         [__ASSUME_32BITUIDS]: Make code unconditional.
22979         [!__ASSUME_32BITUIDS]: Remove conditional code.
22980         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22981         <kernel-features.h>.
22982         [__ASSUME_32BITUIDS]: Make code unconditional.
22983         [!__ASSUME_32BITUIDS]: Remove conditional code.
22984         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22985         <kernel-features.h>.
22986         [__ASSUME_32BITUIDS]: Make code unconditional.
22987         [!__ASSUME_32BITUIDS]: Remove conditional code.
22988         * sysdeps/unix/sysv/linux/kernel-features.h
22989         (__ASSUME_SETRESUID_SYSCALL): Remove.
22990         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22991         (__ASSUME_32BITUIDS): Likewise.
22992         (__ASSUME_LDT_WORKS): Likewise.
22993         (__ASSUME_O_DIRECTORY): Likewise.
22994         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22995         architecture but not kernel version.
22996         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22997         (__ASSUME_MMAP2_SYSCALL): Likewise.
22998         (__ASSUME_STAT64_SYSCALL): Likewise.
22999         (__ASSUME_IPC64): Likewise.
23000         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23001         <kernel-features.h>.
23002         [__ASSUME_32BITUIDS]: Make code unconditional.
23003         [!__ASSUME_32BITUIDS]: Remove conditional code.
23004         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23005         <kernel-features.h>.
23006         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23007         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23008         132096]: Remove conditional code.
23009         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23010         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23011         <kernel-features.h>.
23012         [__ASSUME_32BITUIDS]: Make code unconditional.
23013         [!__ASSUME_32BITUIDS]: Remove conditional code.
23014         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23015         <kernel-features.h>.
23016         [__ASSUME_32BITUIDS]: Make code unconditional.
23017         [!__ASSUME_32BITUIDS]: Remove conditional code.
23018         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23019         <kernel-features.h>.
23020         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23021         unconditional.
23022         (__setresgid): Do not declare.
23023         [__ASSUME_32BITUIDS]: Make code unconditional.
23024         [!__ASSUME_32BITUIDS]: Remove conditional code.
23025         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23026         <kernel-features.h>.
23027         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23028         unconditional.
23029         (__setresuid): Do not declare.
23030         [__ASSUME_32BITUIDS]: Make code unconditional.
23031         [!__ASSUME_32BITUIDS]: Remove conditional code.
23032         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23033         <kernel-features.h>.
23034         [__ASSUME_32BITUIDS]: Make code unconditional.
23035         [!__ASSUME_32BITUIDS]: Remove conditional code.
23036         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23037         <kernel-features.h>.
23038         [__ASSUME_32BITUIDS]: Make code unconditional.
23039         [!__ASSUME_32BITUIDS]: Remove conditional code.
23041 2012-05-25  Richard Henderson  <rth@twiddle.net>
23043         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23044         dl_hwcap to ifunc resolver.
23045         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23046         elf_ifunc_invoke.
23047         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23048         dl_hwcap to ifunc resolver.
23049         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23051 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23053         [BZ #14153]
23054         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23055         for |x| <= 2**-26, not 2**-57.
23056         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23057         exception.
23059 2012-05-24  Jeff Law  <law@redhat.com>
23061         * stdio-common/Makefile (tests): Add bug25.
23062         * stdio-common/bug25.c: New test.
23064 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23066         [BZ #13576]
23067         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23068         multiple of MALLOC_ALIGNMENT in size.
23069         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23071 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23073         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23074         Require >= 256.
23075         (FILENAME_MAX): Use macro-int-constant.
23076         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23077         (_IOFBF): Use macro-int-constant.
23078         (_IOLBF): Likewise.
23079         (_IONBF): Likewise.
23080         (SEEK_CUR): Likewise.
23081         (SEEK_END): Likewise.
23082         (SEEK_SET): Likewise.
23083         (TMP_MAX): Likewise.
23084         (EOF): Use macro-int-constant.  Require < 0.
23085         (NULL): Use macro-constant.  Require == 0.
23086         (stdin): Require type to be FILE *.
23087         (stdout): Likewise.
23088         (stderr): Likewise.
23089         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23090         macro-int-constant.
23091         (EXIT_SUCCESS): Likewise.
23092         (NULL): Use macro-constant.  Require == 0.
23093         (RAND_MAX): Use macro-int-constant.
23094         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23095         [C99-based standards] (strtof): Require function.
23096         [C99-based standards] (strtold): Likewise.
23097         [C99-based standards] (strtoll): Likewise.
23098         [C99-based standards] (strtoull): Likewise.
23099         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23100         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23101         [ISO || ISO99 || ISO11] (math.h): Likewise.
23102         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23103         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23104         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23106 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23108         [BZ #14132]
23109         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23110         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23111         * intl/dgettext.c (DCGETTEXT): Likewise.
23112         * intl/gettext.c (DCGETTEXT): Likewise.
23113         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23114         * posix/regex_internal.h (gettext): Likewise.
23115         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23116         Remove declaration.
23117         * include/argz.h (__argz_count_internal)
23118         (__argz_stringify_internal): Remove declaration.
23119         (__argz_count, __argz_stringify): Declare hidden proto.
23120         * intl/dcgettext.c: Remove use of INTDEF.
23121         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23122         * string/argz-stringify.c: Likewise.
23123         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23124         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23125         Declare hidden proto.
23126         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23127         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23128         Declare hidden proto.
23129         * include/stdio.h (__asprintf_internal): Don't declare.
23130         (__asprintf): Don't define as macro.  Declare hidden proto.
23131         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23132         (__fsetlocking): Declare hidden proto.
23133         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23134         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23135         hidden proto.
23136         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23137         (_IO_setlinebuf): Remove use of INTUSE.
23138         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23139         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23140         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23141         Remove declaration.
23142         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23143         (_IO_do_flush): Remove use of INTUSE.
23144         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23145         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23146         (_IO_adjust_column, _IO_least_wmarker)
23147         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23148         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23149         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23150         (_IO_default_doallocate, _IO_wdefault_doallocate)
23151         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23152         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23153         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23154         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23155         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23156         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23157         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23158         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23159         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23160         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23161         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23162         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23163         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23164         proto.
23165         (_IO_flush_all_internal, _IO_adjust_column_internal)
23166         (_IO_default_uflow_internal, _IO_default_finish_internal)
23167         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23168         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23169         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23170         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23171         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23172         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23173         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23174         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23175         (_IO_file_close_internal, _IO_file_close_it_internal)
23176         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23177         (_IO_file_init_internal, _IO_file_attach_internal)
23178         (_IO_file_fopen_internal, _IO_file_read_internal)
23179         (_IO_file_sync_internal, _IO_file_seek_internal)
23180         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23181         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23182         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23183         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23184         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23185         (_IO_list_all_internal, _IO_link_in_internal)
23186         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23187         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23188         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23189         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23190         (_IO_do_write_internal, _IO_padn_internal)
23191         (_IO_getline_info_internal, _IO_getline_internal)
23192         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23193         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23194         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23195         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23196         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23197         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23198         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23199         with libc_hidden_ver, remove use of INTUSE.
23200         * libio/genops.c: Likewise.
23201         * libio/freopen.c: Likewise.
23202         * libio/freopen64.c: Likewise.
23203         * libio/iofclose.c: Likewise.
23204         * libio/iofdopen.c: Likewise.
23205         * libio/iofflush.c: Likewise.
23206         * libio/iofflush_u.c: Likewise.
23207         * libio/iofgets.c: Likewise.
23208         * libio/iofgets_u.c: Likewise.
23209         * libio/iofopen.c: Likewise.
23210         * libio/iofopncook.c: Likewise.
23211         * libio/iofread.c: Likewise.
23212         * libio/iofread_u.c: Likewise.
23213         * libio/ioftell.c: Likewise.
23214         * libio/iofwrite.c: Likewise.
23215         * libio/iogetline.c: Likewise.
23216         * libio/iogets.c: Likewise.
23217         * libio/iogetwline.c: Likewise.
23218         * libio/iopadn.c: Likewise.
23219         * libio/iopopen.c: Likewise.
23220         * libio/ioseekoff.c: Likewise.
23221         * libio/ioseekpos.c: Likewise.
23222         * libio/iosetbuffer.c: Likewise.
23223         * libio/iosetvbuf.c: Likewise.
23224         * libio/ioungetc.c: Likewise.
23225         * libio/ioungetwc.c: Likewise.
23226         * libio/iovdprintf.c: Likewise.
23227         * libio/iovsprintf.c: Likewise.
23228         * libio/iovsscanf.c: Likewise.
23229         * libio/memstream.c: Likewise.
23230         * libio/obprintf.c: Likewise.
23231         * libio/oldfileops.c: Likewise.
23232         * libio/oldiofclose.c: Likewise.
23233         * libio/oldiofdopen.c: Likewise.
23234         * libio/oldiofopen.c: Likewise.
23235         * libio/oldiopopen.c: Likewise.
23236         * libio/oldstdfiles.c: Likewise.
23237         * libio/putc.c: Likewise.
23238         * libio/setbuf.c: Likewise.
23239         * libio/setlinebuf.c: Likewise.
23240         * libio/stdfiles.c: Likewise.
23241         * libio/strops.c: Likewise.
23242         * libio/vasprintf.c: Likewise.
23243         * libio/vscanf.c: Likewise.
23244         * libio/vsnprintf.c: Likewise.
23245         * libio/vswprintf.c: Likewise.
23246         * libio/wfiledoalloc.c: Likewise.
23247         * libio/wfileops.c: Likewise.
23248         * libio/wgenops.c: Likewise.
23249         * libio/wmemstream.c: Likewise.
23250         * libio/wstrops.c: Likewise.
23251         * libio/__fpurge.c: Likewise.
23252         * libio/__fsetlocking.c: Likewise.
23253         * assert/assert.c: Likewise.
23254         * debug/fgets_chk.c: Likewise.
23255         * debug/fgets_u_chk.c: Likewise.
23256         * debug/fread_chk.c: Likewise.
23257         * debug/fread_u_chk.c: Likewise.
23258         * debug/gets_chk.c: Likewise.
23259         * debug/obprintf_chk.c: Likewise.
23260         * debug/vasprintf_chk.c: Likewise.
23261         * debug/vdprintf_chk.c: Likewise.
23262         * debug/vsnprintf_chk.c: Likewise.
23263         * debug/vsprintf_chk.c: Likewise.
23264         * malloc/mtrace.c: Likewise.
23265         * misc/error.c: Likewise.
23266         * misc/syslog.c: Likewise.
23267         * stdio-common/asprintf.c: Likewise.
23268         * stdio-common/fxprintf.c: Likewise.
23269         * stdio-common/getw.c: Likewise.
23270         * stdio-common/isoc99_fscanf.c: Likewise.
23271         * stdio-common/isoc99_scanf.c: Likewise.
23272         * stdio-common/isoc99_vfscanf.c: Likewise.
23273         * stdio-common/isoc99_vscanf.c: Likewise.
23274         * stdio-common/isoc99_vsscanf.c: Likewise.
23275         * stdio-common/printf-prs.c: Likewise.
23276         * stdio-common/printf_fp.c: Likewise.
23277         * stdio-common/printf_fphex.c: Likewise.
23278         * stdio-common/printf_size.c: Likewise.
23279         * stdio-common/putw.c: Likewise.
23280         * stdio-common/scanf.c: Likewise.
23281         * stdio-common/sprintf.c: Likewise.
23282         * stdio-common/tmpfile.c: Likewise.
23283         * stdio-common/vfprintf.c: Likewise.
23284         * stdio-common/vfscanf.c: Likewise.
23285         * stdlib/strfmon_l.c: Likewise.
23286         * sunrpc/openchild.c: Likewise.
23287         * sunrpc/xdr_stdio.c: Likewise.
23288         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23289         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23291 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23293         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23295         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23296         in the third column, to generate for the shared library an IFUNC
23297         that uses _dl_vdso_vsym.
23298         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23299         * Makeconfig (object-suffixes-noshared): New variable.
23301         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23302         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23303         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23304         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23306         [BZ #14132]
23307         * include/sys/time.h (__gettimeofday): Remove macro.
23308         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23309         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23310         Remove INTDEF.
23311         (__gettimeofday): Add libc_hidden_def.
23312         (gettimeofday): Add libc_hidden_weak.
23313         * sysdeps/mach/gettimeofday.c: Likewise.
23314         * sysdeps/posix/gettimeofday.c: Likewise.
23315         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23316         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23317         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23318         (__gettimeofday_internal): Remove strong_alias.
23319         (__gettimeofday): Add libc_hidden_def.
23320         (gettimeofday): Add libc_hidden_weak.
23321         * sysdeps/unix/syscalls.list (gettimeofday):
23322         Remove __gettimeofday_internal alias.
23324 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23325             H.J. Lu  <hongjiu.lu@intel.com>
23327         [BZ #12495]
23328         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23329         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23330         (largebin_index_32_big): New.
23331         (largebin_index): Use it for 16-byte alignment.
23332         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23333         correction with front_misalign.
23335 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23339         Likewise.
23340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23341         Likewise.
23342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23343         Likewise.
23344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23345         Likewise.
23346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23347         Likewise.
23348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23349         Likewise.
23350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23351         Likewise.
23352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23353         Likewise.
23354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23355         Likewise.
23356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23357         Likewise.
23358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23359         Likewise.
23360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23361         Likewise.
23363         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23364         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23366 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23368         [BZ #10846]
23369         [BZ #14036]
23370         * math/libm-test.inc (exp_test): Add test from bug 14036.
23371         (pow_test): Add test from bug 10846.
23373         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23374         and other flags.
23375         (special_function): Do not include flags in test name.
23376         (parse_args): Likewise.
23377         * sysdeps/i386/fpu/libm-test-ulps: Update.
23378         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23379         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23380         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23383         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23384         exceptions.
23385         * math/libm-test.inc ("Philosophy"): Update comment about
23386         exception testing.
23387         (UNDERFLOW_EXCEPTION): New macro.
23388         (UNDERFLOW_EXCEPTION_OK): Likewise.
23389         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23390         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23391         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23392         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23393         (INVALID_EXCEPTION_OK): Update value.
23394         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23395         (OVERFLOW_EXCEPTION_OK): Likewise.
23396         (IGNORE_ZERO_INF_SIGN): Likewise.
23397         (test_exceptions): Handle underflow exceptions.
23398         (acos_test): Update for underflow exception expectations.
23399         (cexp_test): Likewise.
23400         (clog_test): Likewise.
23401         (clog10_test): Likewise.
23402         (csqrt_test): Likewise.
23403         (ctan_test): Likewise.
23404         (ctanh_test): Likewise.
23405         (exp_test): Likewise.
23406         (exp10_test): Likewise.
23407         (exp2_test): Likewise.
23408         (expm1_test): Likewise.
23409         (fma_test): Likewise.
23410         (j0_test): Likewise.
23411         (jn_test): Likewise.
23412         (nexttoward_test): Likewise.
23413         (pow_test): Likewise.
23414         (scalbn_test): Likewise.
23415         (scalbln_test): Likewise.
23416         (tan_test): Likewise.
23417         (y1_test): Likewise.
23418         * sysdeps/i386/fpu/libm-test-ulps: Update.
23419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23421 2012-05-23  David S. Miller  <davem@davemloft.net>
23423         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23424         (__libc_sigaction): Remove unused local variables.
23426 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23428         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23430 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23432         mktime: avoid signed integer overflow
23433         * time/mktime.c (__mktime_internal): Do not mishandle the case
23434         where diff == INT_MIN.
23436         mktime: simplify computation of average
23437         * time/mktime.c (ranged_convert): Use new time_t_avg function
23438         instead of rolling our own (probably-slower) code.
23440         mktime: do not assume signed right shift propagates sign bit
23441         * time/mktime.c (isdst_differ): New static function.
23442         (__mktime_internal): No need to normalize tm_isdst now.
23443         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23444         tm_isdst values.
23446         mktime: merge another wrapv change from gnulib
23447         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23448         from some compilers.
23450         mktime: remove incorrect attempt at unusual arithmetics
23451         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23452         The code didn't really work on such machines anyway.
23453         (TYPE_MINIMUM): Assume two's complement.
23454         (twos_complement_arithmetic): Verify that long_int and time_t
23455         are two's complement (or unsigned, in the latter case).
23457         mktime: check signed shifts on long_int and time_t, too
23458         * time/mktime.c (SHR): Check that shifts work as desired
23459         on the types long_int and time_t too, as SHR is used on
23460         such types.
23462         mktime: do not assume 'long' is wide enough
23463         * time/mktime.c (verify): Move decl up.
23464         (long_int): New type.
23465         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23466         to remove assumption in the code that 'long' is wide enough to
23467         store year values.  This assumption is not true on x32 and on
23468         some non-glibc platforms.
23470         mktime: merge wrapv change from gnulib
23471         * time/mktime.c (WRAPV): New macro.
23472         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23473         (guess_time_tm, __mktime_internal): Do not assume that signed
23474         integer overflow wraps around; modern compilers generate code
23475         where this assumption is no longer valid.
23477 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23479         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23480         Replace "jmp L(pseudo_end)" with "ret".
23481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23482         Likewise.
23484 2012-05-23  Andreas Jaeger  <aj@suse.de>
23486         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23487         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23489 2012-05-23  Andreas Jaeger  <aj@suse.de>
23490             Maximilian Attems  <max@stro.at>
23492         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23493         New macros.
23495 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23497         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23498         code so that pseudo_end is just ret and the stack pointer is
23499         correct also for static library in error case.
23501 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23503         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23504         move to syscalls.list.
23505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23510         * manual/install.texi (Running make install): Do not mention Linux
23511         kernel version for which pt_chown is not needed.
23512         (Linux): Do not mention problems with nscd with 2.0 kernels.
23513         * INSTALL: Regenerated.
23515 2012-05-23  Andreas Jaeger  <aj@suse.de>
23517         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23518         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23519         macro.
23520         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23521         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23522         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23523         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23524         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23525         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23526         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23527         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23528         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23529         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23530         * sysdeps/unix/sysv/linux/bits/in.h
23531         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23533 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23535         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23536         (PREPARE_VERSION): Just use assert instead, it will be elided
23537         under [NDEBUG] anyway.
23539 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23541         * sysdeps/unix/sysv/linux/Makefile: Include
23542         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23543         (sysdep_routines): Remove sysctl.
23544         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23545         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23546         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23547         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23548         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23550 2012-05-22  Andreas Jaeger  <aj@suse.de>
23552         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23553         that pseudo_end is just ret and the stack pointer is correct also
23554         for static library in error case.
23556 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23558         [BZ #14122]
23559         * nss/nsswitch.c (defconfig_entries): New variable.
23560         (__nss_database_lookup): Don't leak defconfig entries.
23561         (nss_parse_service_list): Don't leak on error paths.
23562         (free_database_entries): New function.
23563         (free_defconfig): New function.
23564         (free_mem): Move common code to free_database_entries.
23566 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23568         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23569         Add arch_prctl.
23570         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23572         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23573         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23575         New macro.
23576         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23577         (INTERNAL_SYSCALL_TYPES): Likewise.
23578         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23579         (LOAD_REGS_TYPES_[1-6]): Likewise.
23580         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23581         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23583 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23585         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23586         copysignl for GLIBC_2_0.
23587         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23588         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23589         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23590         logbl for GLIBC_2_0.
23591         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23592         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23594 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23596         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23597         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23599         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23600         Use "neg %eax".
23602         * time/mktime.c: Update copyright years.
23604 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23606         mktime: merge comment-quoting-style change from gnulib
23607         * time/mktime.c: Quote 'like this' in comments.
23608         The GNU coding standards suggest that we no longer quote `like this',
23609         as "`" and "'" are typically rendered asymmetrically nowadays.
23610         The typical gnulib style is to quote 'like this' when quoting
23611         code, and "like this" when quoting English.
23613         * time/mktime.c (compile-command): Add "-I.".
23615         mktime: merge mktime-internal.h change from gnulib
23616         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23618         mktime: merge time_r change from gnulib
23619         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23621         mktime: merge DEBUG change from gnulib
23622         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23623         case system <time.h> has a #define.
23625         mktime: merge <sys/types.h> change from gnulib
23626         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23627         since <time.t> is now guaranteed to define time_t.
23629         mktime: merge HAVE_CONFIG_H change from gnulib
23630         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23632 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23634         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23635         Use "neg %eax".
23637         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23638         __rlim_t cast.
23639         (struct rusage): Use anonymous union to pad each field to
23640         __syscall_slong_t.
23642 2012-05-21  David S. Miller  <davem@davemloft.net>
23644         * Makefules (o-iterator): Remove .s cases.
23645         (compile-command.s): Delete.
23646         (COMPILE.s): Delete.
23647         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23649 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23651         * configure.in (libc_cv_predef_stack_protector): Only consider
23652         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23653         * configure: Regenerated.
23655 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23657         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23658         New macro.  Use R*LP on int and pointer.
23659         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23660         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23661         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23662         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23664         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23665         [__WORDSIZE_TIME64_COMPAT32] instead of
23666         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23667         (struct utmp): Likewise.
23668         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23669         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23670         Renamed to ...
23671         (__WORDSIZE_TIME64_COMPAT32): This.
23672         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23673         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23674         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23675         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23676         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23677         (__WORDSIZE_TIME64_COMPAT32): New macro.
23679 2012-05-21  Andreas Jaeger  <aj@suse.de>
23681         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23682         only if [SHARED]. Add prototype for __wcschr_ia32.
23684 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23686         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23687         of %rbp unmolested in the jmp_buf while mangling the low bits.
23688         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23689         unmolested high bits of %rbp while demangling the low bits.
23690         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23692 2012-05-21  Andreas Jaeger  <aj@suse.de>
23694         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23695         * sunrpc/svc_simple.c: Use it for registerrpc.
23696         * sunrpc/xcrypt.c: Use it for passwd2des.
23698         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23700 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23702         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23703         Don't define if [__SYSCALL_WORDSIZE != 32].
23704         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23705         New macro.
23707 2012-05-21  Bruno Haible  <bruno@clisp.org>
23708             Andreas Jaeger  <aj@suse.de>
23710         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23711         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23712         inptr and inend for must_buffer_ch.
23713         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23714         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23715         * stdio-common/Makefile (tests): Remove bug15.
23716         (bug15-ENV): Remove macro.
23717         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23718         anymore.
23720 2012-05-19  Andreas Jaeger  <aj@suse.de>
23721             Roland McGrath  <roland@hack.frob.com>
23723         * manual/contrib.texi: Completely rewritten. It contains now an
23724         alphabetical list of contributors and their contributions.
23726 2012-05-21  Richard Henderson  <rth@twiddle.net>
23728         * misc/getauxval.c (__getauxval): Use unsigned long int.
23729         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23730         (getauxval): Use unsigned long int.
23732 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23734         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23736 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23738         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23739         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23740         __alignof__ (long double).
23742 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23746 2012-05-20  Richard Henderson  <rth@twiddle.net>
23748         * misc/getauxval.c: New file.
23749         * misc/sys/auxv.h: New file.
23750         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23751         (routines): Add getauxval.
23752         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23753         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23754         * elf/dl-sysdep.c (_dl_auxv): Remove.
23755         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23756         * elf/dl-support.c (_dl_auxv): New variable.
23757         (_dl_aux_init): Initialize it.
23758         * manual/startup.texi (Auxiliary Vector): New node.
23759         * sysdeps/generic/bits/hwcap.h: New file.
23760         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23761         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23762         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23763         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23764         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23765         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23767         Update.
23768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23771         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23777 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23781 2012-05-19  David S. Miller  <davem@davemloft.net>
23783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23785 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23787         [BZ #14123]
23788         * math/s_ccosh.c: Include <float.h>
23789         (__ccosh): Avoid internal overflow calculating sinh and cosh
23790         values before multiplying by sin and cos values.
23791         * math/s_ccoshf.c: Likewise.
23792         * math/s_ccoshl.c: Likewise.
23793         * math/s_csin.c: Likewise.
23794         * math/s_csinf.c: Likewise.
23795         * math/s_csinl.c: Likewise.
23796         * math/s_csinh.c: Likewise.
23797         * math/s_csinhf.c: Likewise.
23798         * math/s_csinhl.c: Likewise.
23799         * math/libm-test.inc (ccos_test): Add more tests.
23800         (ccosh_test): Likewise.
23801         (csin_test): Likewise.
23802         (csinh_test): Likewise.
23803         * sysdeps/i386/fpu/libm-test-ulps: Update.
23804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23806 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23808         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23809         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23811         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23813 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23815         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23816         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23817         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23818         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23819         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23820         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23821         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23822         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23823         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23824         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23825         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23826         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23827         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23828         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23829         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23830         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23831         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23832         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23833         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23834         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23835         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23836         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23837         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23838         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23839         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23840         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23841         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23842         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23843         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23844         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23845         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23847 2012-05-18  Andreas Jaeger  <aj@suse.de>
23849         * csu/.gitignore: Delete.
23851 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23853         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23854         (timex): Use __syscall_slong_t.
23856 2012-05-18  Andreas Jaeger  <aj@suse.de>
23857             Carlos O'Donell  <carlos_odonell@mentor.com>
23859         * manual/install.texi (Configuring and compiling): Update
23860         description about files modified in the source directory.
23861         * INSTALL: Regenerated.
23863 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23865         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23866         value.  Use "or" to set return value to -1.
23867         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23868         negate return value.
23870 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23872         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23873         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23874         failure if the compiler has Graphite support disabled.
23875         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23876         Likewise.
23877         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23878         CFLAGS-memmove.c): Likewise.
23879         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23880         Likewise.
23882 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23884         * sysdeps/x86_64/x32/_itoa.h: New file.
23886         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23887         getdents system call only if kernel and user dirents have the
23888         same d_ino and d_off.
23890         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23891         LLONG_MAX != LONG_MAX.
23892         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23893         (_fitoa_word): Likewise.
23895         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23896         years.
23897         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23898         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23899         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23901         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23902         include <bits/wordsize.h>.  Check __x86_64__ instead of
23903         __WORDSIZE.
23904         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23905         if __x86_64__ is defined.  Use anonymous union on fpstate.
23907         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23908         anonymous union.
23910 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23912         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23913         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23914         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23915         Refer to _rtld_local_ro instead of _rtld_global_ro.
23916         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23917         Likewise.
23918         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23919         Likewise.
23920         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23921         Likewise.
23922         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23923         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23924         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23926         * sysdeps/powerpc/powerpc32/dl-machine.c
23927         (__elf_machine_runtime_setup) [PROF]: Don't reference
23928         _dl_prof_resolve.
23930 2012-05-18  Andreas Jaeger  <aj@suse.de>
23932         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23933         function only available for GCCs before 3.4 since GCC 3.4
23934         introduced a builtin.
23935         (lrint): Likewise.
23936         (llrintf): Likewise.
23937         (llrint): Likewise.
23938         (fmaxf): Likewise.
23939         (fmax): Likewise.
23940         (fminf): Likewise.
23941         (fmin): Likewise.
23942         (rint): Likewise.
23943         (rintf): Likewise.
23944         (nearbyint): Likewise.
23945         (nearbyintf): Likewise.
23946         (ceil): Likewise.
23947         (ceilf): Likewise.
23948         (floor): Likewise.
23949         (floorf): Likewise.
23951 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23953         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23954         on both fields and cast pointer to __syscall_ulong_t.
23956         * bits/types.h (__fsword_t): New type.
23957         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23958         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23959         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23960         (__FSWORD_T_TYPE): Likewise.
23961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23962         (__FSWORD_T_TYPE): Likewise.
23963         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23964         (__FSWORD_T_TYPE): Likewise.
23965         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23966         (__FSWORD_T_TYPE): Likewise.
23967         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23968         __SWORD_TYPE with __fsword_t.
23969         (statfs64): Likewise.
23971 2012-05-17  David S. Miller  <davem@davemloft.net>
23973         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23975 2012-05-17  Andreas Jaeger  <aj@suse.de>
23977         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23978         warning.
23980 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23982         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23984 2012-05-17  Andreas Jaeger  <aj@suse.de>
23986         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23987         when it is used.
23989 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23991         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23993 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23995         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23996         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23998 2012-05-17  Andreas Jaeger  <aj@suse.de>
23999             Carlos O'Donell  <carlos_odonell@mentor.com>
24001         [BZ #14059]
24002         * sysdeps/x86_64/multiarch/init-arch.h
24003         (bit_YMM_Usable): Rename to...
24004         (bit_AVX_Usable): ... this.
24005         (bit_FMA4_Usable): New macro.
24006         (bit_XMM_state): New macro.
24007         (bit_YMM_state): New macro.
24008         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24009         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24010         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24011         (CPUID_OSXSAVE): New macro.
24012         (CPUID_AVX): New macro.
24013         (CPUID_FMA4): New macro.
24014         (index_YMM_Usable): Rename to...
24015         (index_AVX_Usable): ... this.
24016         (HAS_AVX): Use HAS_ARCH_FEATURE.
24017         (HAS_FMA4): Likewise.
24018         (HAS_YMM_USABLE): Remove.
24019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24020         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24021         are present.
24022         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24023         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24024         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24025         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24026         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24028 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24030         * math/libm-test.c: Support platforms without multiple rounding modes.
24031         * math/bug-nextafter.c: Support platforms without FP exceptions.
24032         * math/bug-nexttoward.c: Likewise.
24033         * math/test-fenv.c: Likewise.
24034         * math/test-misc.c: Likewise.
24035         * stdlib/bug-getcontext.c: Likewise.
24037 2012-05-17  Andreas Jaeger  <aj@suse.de>
24039         * manual/examples/search.c (critter_cmp): Change signature to
24040         avoid warnings.
24041         * manual/string.texi (Collation Functions): Likewise.
24043 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24045         * bits/types.h: Fold copyright years.
24046         * bits/typesizes.h: Likewise.
24047         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24048         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24049         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24050         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24051         * time/time.h: Likewise.
24053 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24055         [BZ #208]
24056         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24057         in instead of returning them.  Return void.
24058         (__libc_mallinfo): Accumulate over all arenas.
24059         (__malloc_stats): Adjust for change in int_mallinfo interface.
24061 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24063         [BZ #10375]
24064         * configure.in (NM): Add AC_CHECK_TOOL for it.
24065         (libc_extra_cflags): New substituted variable.
24066         Check for -fstack-protector being used implicitly.
24067         * configure: Regenerated.
24068         * config.make.in (config-extra-cflags): New variable,
24069         gets @libc_extra_cflags@.
24070         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24072         [BZ #10375]
24073         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24074         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24075         * configure: Regenerated.
24076         * config.make.in (CPPUNDEFS): New substituted variable.
24077         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24078         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24079         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24081 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24083         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24084         (mq_attr): Use __syscall_slong_t.
24086 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24088         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24089         Check __x86_64__ instead of __WORDSIZE.
24090         (_STAT_VER_LINUX): Likewise.
24091         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24092         __syscall_ulong_t and __syscall_slong_t.
24093         (stat64): Likewise.
24095 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24097         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24099 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24101         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24103 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24105         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24106         __syscall_ulong_t.
24108         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24109         include <bits/wordsize.h>.  Check __x86_64__ instead of
24110         __WORDSIZE.
24111         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24112         defined.
24113         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24115         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24116         include <bits/wordsize.h>.  Check __x86_64__ instead of
24117         __WORDSIZE.
24118         (user_regs_struct): Use "__extension__ unsigned long long"
24119         instead of "unsigned long" if __x86_64__ is defined.
24120         (user): Likewise.  Pad after pointer field if __ILP32__ is
24121         defined.
24123 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24125         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24126         versions 5 to 9.
24127         * configure: Regenerated.
24128         * manual/install.texi (texinfo): Increase version requirement to
24129         4.5 or later.
24130         * INSTALL: Regenerated.
24132         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24134 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24136         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24138         * sysdeps/x86_64/x32/ffs.c: New file.
24140         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24141         __syscall_ulong_t.
24142         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24143         defined.  Use __syscall_ulong_t.
24144         (shminfo): Use __syscall_ulong_t.
24145         (shm_info): Likewise.
24147         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24148         __syscall_ulong_t.
24150         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24151         <bits/wordsize.h>.
24152         (msgqnum_t): Use __syscall_ulong_t.
24153         (msglen_t): Likewise.
24154         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24155         __syscall_ulong_t.
24157         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24158         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24160         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24162         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24163         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24165         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24166         __syscall_slong_t.
24168         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24169         include <bits/wordsize.h>.  Check __x86_64__ instead of
24170         __WORDSIZE.
24172         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24173         "unsigned long long int" if __x86_64__ is defined.
24174         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24176         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24177         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24178         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24180         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24181         <stdint.h>.
24182         (GET_PC): Cast to uintptr_t first.
24183         (GET_FRAME): Likewise.
24184         (GET_STACK): Likewise.
24186         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24187         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24188         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24189         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24190         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24191         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24192         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24193         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24194         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24195         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24196         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24197         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24198         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24199         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24200         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24201         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24202         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24203         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24204         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24205         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24206         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24207         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24208         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24209         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24210         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24211         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24212         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24213         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24214         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24216 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24218         * Makerules (+depfiles): Also collect depfiles from .oS in
24219         $(extra-objs).
24220         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24221         .oS, $(libnldbl-routines)).
24223         * Makerules (native-compile-mkdep-flags): Define.
24224         * sunrpc/Makefile (extra-objs): Add $(addprefix
24225         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24226         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24227         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24228         calling $(make-target-directory).
24230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24232         * bits/types.h (__snseconds_t): Removed.
24233         * time/time.h (struct timespec): Replace __snseconds_t with
24234         __syscall_slong_t.
24235         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24236         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24237         Likewise.
24238         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24239         (__SNSECONDS_T_TYPE): Likewise.
24240         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24241         (__SNSECONDS_T_TYPE): Likewise.
24242         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24243         (__SNSECONDS_T_TYPE): Likewise.
24245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24247         * sysdeps/mach/hurd/bits/typesizes.h
24248         (__SYSCALL_SLONG_TYPE): New macro.
24249         (__SYSCALL_ULONG_TYPE): Likewise.
24251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24253         * bits/types.h (__syscall_slong_t): New type.
24254         (__syscall_ulong_t): Likewise.
24256         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24257         (__SYSCALL_ULONG_TYPE): Likewise.
24258         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24259         (__SYSCALL_SLONG_TYPE): Likewise.
24260         (__SYSCALL_ULONG_TYPE): Likewise.
24261         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24262         (__SYSCALL_SLONG_TYPE): Likewise.
24263         (__SYSCALL_ULONG_TYPE): Likewise.
24264         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24265         (__SYSCALL_SLONG_TYPE): Likewise.
24266         (__SYSCALL_ULONG_TYPE): Likewise.
24268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24270         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24271         Add sigaltstack-offsets.sym.
24272         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24273         <sigaltstack-offsets.h>.
24274         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24275         longjmp_msg pointer.
24276         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24277         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24278         signal stack.
24279         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24281 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24283         * elf/stackguard-macros.h: Remove file.
24284         * sysdeps/generic/stackguard-macros.h: New file.
24285         * sysdeps/i386/stackguard-macros.h: Likewise.
24286         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24287         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24288         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24289         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24290         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24291         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24292         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24293         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24294         <elf/stackguard-macros.h>.
24296         [BZ #14109]
24297         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24298         __aligned__ in attribute.
24299         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24300         (gregset_t): Likewise.
24302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24304         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24305         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24306         * sysdeps/x86_64/x32/Implies-after: New file.
24308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24310         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24311         and access return value for _dl_profile_fixup.  Use R10_LP to
24312         load frame size.
24314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24316         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24320         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24321         * sysdeps/x86_64/x32/sysdep.h: New file.
24323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24325         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24326         * sysdeps/x86_64/setjmp.S: Likewise.
24328 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24330         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24331         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24332         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24333         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24334         remove unused global constant.
24336 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24338         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24339         include of <not-cancel.h>.
24341 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24343         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24345 2012-05-15  Jeff Law  <law@redhat.com>
24346             Andreas Jaeger  <aj@suse.de>
24348         [BZ #13594]
24349         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24350         out from...
24351         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24352         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24353         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24354         code changing __hst_map_handle.map.
24356 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24358         * configure.in (sysnames): Look for Implies-before and Implies-after
24359         files.
24360         * configure: Regenerated.
24362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24364         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24365         8-byte data alignment with LP_SIZE alignment.
24367 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24369         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24370         into R10_LP.
24372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24374         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24378         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24379         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24380         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24381         Likewise.
24382         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24386         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24387         (stackinfo_sub_sp): Likewise.
24389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24391         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24392         RAX_LP.
24394 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24396         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24397         into R*_LP.
24399 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24401         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24402         sizes into R*_LP.
24404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24406         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24410         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24411         into R11_LP and load __x86_64_shared_cache_size_half into
24412         R8_LP.
24414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24416         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24417         R8_LP.
24419 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24421         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24422         logb for POWER7.
24423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24424         logbf for POWER7.
24425         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24426         logbl for POWER7.
24427         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24428         powerpc32/power7/fpu/s_logb.c via #include.
24429         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24430         powerpc32/power7/fpu/s_logbf.c via #include.
24431         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24432         powerpc32/power7/fpu/s_logbl.c via #include.
24434 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24436         * README.libm: Remove file.
24438 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24440         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24441         count for x32.  Use R*_LP and omit operand-size suffix.
24443 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24445         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24446         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24447         * sysdeps/x86_64/x32/shlib-versions: New file.
24449 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24451         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24452         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24453         Use _dl_fatal_printf instead.
24455 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24457         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24458         set if not set by the user.  Do not allow for being unset.
24459         * sysdeps/unix/sysv/linux/configure: Regenerated.
24461 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24463         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24464         the `q' suffix from lea and replace .quad with ASM_ADDR.
24466 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24469         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24470         instead of $17.
24471         (PTR_DEMANGLE): Likewise.
24473 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24475         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24476         (LP_OP): Likewise.
24477         (ASM_ADDR): Likewise.
24478         (RAX_LP): Likewise.
24479         (RBP_LP): Likewise.
24480         (RBX_LP): Likewise.
24481         (RCX_LP): Likewise.
24482         (RDI_LP): Likewise.
24483         (RSI_LP): Likewise.
24484         (RSP_LP): Likewise.
24485         (R8_LP): Likewise.
24486         (R9_LP): Likewise.
24487         (R10_LP): Likewise.
24488         (R10_LP): Likewise.
24489         (R11_LP): Likewise.
24490         (R12_LP): Likewise.
24491         (R13_LP): Likewise.
24492         (R14_LP): Likewise.
24493         (R15_LP): Likewise.
24495 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24497         * sysdeps/x86_64/x32/dl-machine.h: New file.
24499 2012-05-14  Andreas Jaeger  <aj@suse.de>
24501         * manual/Makefile (subdir): Remove export of subdir.
24502         (all): Remove target.
24503         (.PHONY): Remove all from list.
24504         (mkinstalldirs): Remove.
24505         (.PHONY): Remove installdirs from list.
24506         ($(inst_infodir)/libc.info): Use make-target-directory.
24507         (installdirs): Remove.
24508         (subdir_%): Remove.
24509         (glibc-targets): Remove.
24510         (lib): Remove.
24511         (stubs): Remove.
24512         ($(objpfx)stubs ../po/manual.pot): Remove.
24513         ($(objpfx)stamp%): Remove.
24514         (make-target-directory): Remove.
24515         (subdir_install): Remove.
24516         (routines): Remove.
24517         (aux): Remove.
24518         (sources): Remove.
24519         (objects): Remove.
24520         (headers): Remove.
24522         [BZ #13750]
24523         * manual/.gitignore: Remove, it's not needed anymore.
24524         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24525         all files in it.
24526         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24527         directory.
24528         (texis): Renamed to $(objpfx)texis.
24529         (texis-path): New, contains path to generated files.
24530         (chapters.%): Use texis-path for complete path, add extra argument
24531         libc-texinfo.sh.
24532         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24533         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24534         (summary,texi, stamp-summary): Use complete path of
24535         files. Generate files in build dir.
24536         (dir-add.texi): Build in build dir.
24537         (libm-err.texi,stamp-libm-err): Likewise.
24538         (version.texi, stamp-version): Likewise.
24539         (.%c.texi): Likewise.
24540         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24541         (mostlyclean): Remove target.
24542         (realclean): Remove target.
24543         (generated): Add new variable with contents from mostlyclean and
24544         realclean, remove entries duplicated in common-mostlyclean, add
24545         stamp-libm-err and stamp-version.
24546         (generated-dirs): Add libc directory.
24547         ($(inst_infodir)/libc.info): Install files from build dir.
24549         * manual/install.texi (Configuring and compiling): Adjust since
24550         the info files are not part of the tar ball anymore.
24552 2012-05-14  Andreas Jaeger  <aj@suse.de>
24554         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24555         variable.
24557 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24559         [BZ #13717]
24560         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24561         to 2.2.0 where earlier.
24562         * sysdeps/unix/sysv/linux/configure: Regenerated.
24563         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24564         Remove conditional code.
24565         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24566         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24567         Remove conditional code.
24568         [!__NR_lchown]: Likewise.
24569         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24570         [__NR_lchown]: Likewise.
24571         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24572         comment referencing __ASSUME_LCHOWN_SYSCALL.
24573         * sysdeps/unix/sysv/linux/i386/sigaction.c
24574         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24575         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24576         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24577         Remove conditional code.
24578         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24579         (__protocol_available): Remove #if 0 code.
24580         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24581         conditional code.
24582         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24583         * sysdeps/unix/sysv/linux/kernel-features.h
24584         (__ASSUME_GETCWD_SYSCALL): Don't define.
24585         (__ASSUME_REALTIME_SIGNALS): Likewise.
24586         (__ASSUME_PREAD_SYSCALL): Likewise.
24587         (__ASSUME_PWRITE_SYSCALL): Likewise.
24588         (__ASSUME_POLL_SYSCALL): Likewise.
24589         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24590         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24591         non-SPARC.
24592         (__ASSUME_SIOCGIFNAME): Don't define.
24593         (__ASSUME_MSG_NOSIGNAL): Likewise.
24594         (__ASSUME_SENDFILE): Define unconditionally.
24595         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24596         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24597         conditional code.
24598         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24599         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24600         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24601         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24602         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24603         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24604         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24606         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24607         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24609         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24610         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24612         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24613         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24615         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24616         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24618         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24619         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24621         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24622         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24624         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24625         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24627         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24628         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24629         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24630         Remove conditional code.
24631         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24632         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24633         Remove conditional code.
24634         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24635         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24636         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24637         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24638         Remove conditional code.
24639         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24640         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24641         Remove conditional code.
24642         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24643         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24644         Remove conditional code.
24645         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24646         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24647         Remove conditional code.
24648         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24649         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24650         Remove conditional code.
24651         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24652         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24653         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24654         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24655         * sysdeps/unix/sysv/linux/sigaction.c
24656         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24657         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24658         * sysdeps/unix/sysv/linux/sigpending.c
24659         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24660         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24661         * sysdeps/unix/sysv/linux/sigprocmask.c
24662         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24663         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24664         * sysdeps/unix/sysv/linux/sigsuspend.c
24665         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24666         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24667         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24668         (__libc_missing_rt_sigs): Remove.
24669         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24670         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24671         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24672         Remove conditional code.
24673         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24674         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24675         return 1.
24676         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24677         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24678         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24679         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24681 2012-05-14  Andreas Jaeger  <aj@suse.de>
24683         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24684         it's not used in glibc.
24685         (__coshm1): Likewise.
24686         (__acosh1p): Likewise.
24687         (__sgn): Likewise.
24689         * manual/string.texi (Copying and Concatenation): Add missing
24690         variable in concat example.
24691         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24693 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24695         [BZ #14103]
24696         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24697         __builtin_clzl with __builtin_clzll.
24699 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24701         [BZ #14104]
24702         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24703         libc_freeres_ptr.
24705 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24707         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24708         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24709         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24710         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24712 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24714         * NEWS: Update ia64 info.
24716 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24718         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24719         used as bcopy.
24721 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24723         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24724         * sysdeps/unix/syscalls.list (dup3): Likewise.
24725         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24726         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24728 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24730         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24731         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24733 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24735         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24736         thread pointer.
24737         (TLS_IE): Use mov/add instead of movq/addq to load thread
24738         pointer.
24739         (TLS_GD_PREFIX): New.
24740         (TLS_GD): Use it.
24742 2012-05-11  David S. Miller  <davem@davemloft.net>
24744         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24745         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24746         (_FPU_SETCW): Likewise.
24748 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24750         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24751         is 32-byte aligned.
24753 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24755         [BZ #11837]
24756         * iconvdata/gb18030.c: Update tables.
24757         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24758         characters specially.
24759         (BODY for TO_LOOP): Add encoding of missing ranges.
24761 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24763         [BZ #13673]
24764         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24765         * sysdeps/mach/hurd/dup3.c: Likewise.
24766         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24767         * sysdeps/powerpc/memmove.c:: Likewise.
24769 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24771         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24772         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24774 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24776         * elf/elf.h (R_X86_64_RELATIVE64): New.
24777         (R_X86_64_NUM): Updated.
24778         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24779         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24780         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24781         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24782         tst-quad1pie tst-quad2pie
24783         (modules-names): Add tst-quadmod1 tst-quadmod2.
24784         ($(objpfx)tst-quad1): New dependency.
24785         ($(objpfx)tst-quad2): Likewise.
24786         ($(objpfx)tst-quad1pie): Likewise.
24787         ($(objpfx)tst-quad2pie): Likewise.
24788         * sysdeps/x86_64/tst-quad1.c: New file.
24789         * sysdeps/x86_64/tst-quad1pie.c: New file.
24790         * sysdeps/x86_64/tst-quad2.c: Likewise.
24791         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24792         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24793         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24794         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24795         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24797 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24799         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24800         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24801         * streams/stropts.h (t_scalar_t): Define type.
24803         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24804         (_PATH_PRESERVE): Set to "/var/lib".
24805         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24807         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24808         instead of int.
24810         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24811         if __dir_mkfile succeeded.
24813         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24814         checking for _hurd_dtablesize.  Unlock it right after having
24815         finished _hurd_dtable allocation.
24817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24819         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24820         * sysdeps/mach/hurd/configure: Regenerated.
24821         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24822         special-casing to...
24823         * sysdeps/gnu/configure.in: ... this new file.
24824         * sysdeps/unix/sysv/linux/configure: Regenerated.
24825         * sysdeps/gnu/configure: New generated file.
24827         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24828         for Linux: use nsec instead of usec, as well as:
24829         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24830         members of type struct timespec.
24831         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24832         New macros.
24833         (struct stat64): Likewise.
24834         (_STATBUF_ST_NSEC): New macro.
24835         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24837         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24838         __strtoul_internal rather than strtoul.
24840 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24842         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24843         and reject them.
24845 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24847         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24848         which preserves existing values.
24849         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24851 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24853         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24854         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24855         greater than FD_SETSIZE.
24857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24859         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24860         allocated, call __vm_protect to finish enabling the existing space, and
24861         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24862         allocate the remainder.
24864 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24866         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24867         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24869 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24871         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24872         sysdeps/mach/hurd/readlink.c.
24874         * posix/tst-sysconf.c (posix_options): Only use
24875         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24876         _POSIX_SYNCHRONIZED_IO when they are defined
24877         * sysdeps/mach/hurd/bits/posix_opt.h:
24878         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24879         (_XOPEN_REALTIME): Undefine macro.
24880         (_XOPEN_REALTIME_THREADS): Undefine macro.
24881         (_XOPEN_SHM): Undefine macro.
24882         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24883         macro to -1.
24884         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24885         macro to -1.
24886         (_POSIX_ASYNC_IO): Undefine macro.
24887         (_POSIX_PRIORITIZED_IO): Undefine macro.
24888         (_POSIX_SPIN_LOCKS): Define macro to -1.
24890         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24891         SA_NODEFER, SA_RESETHAND.
24892         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24893         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24894         F_DUPFD_CLOEXEC.
24896 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24898         * elf/Makefile (pldd-modules): Define unconditionally.
24900 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24902         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24904 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24906         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24907         Return ENOENT when name is empty.
24908         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24910 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24912         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24914         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24916 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24918         Fix mlock in all cases except non-readable pages.
24919         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24920         instead of VM_PROT_ALL as parameter to __vm_wire function.
24922         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24923         (__mkdir): When path is `/', just fail with EEXIST.
24924         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24926 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24928         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24929         <sys/uio.h> (for writev).
24930         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24931         and <sys/param.h> (for MIN).
24933 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24935         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24936         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24937         if interrupted.
24939 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24941         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24942         Depend on against $(link-rpcuserlibs).
24944 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24946         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24947         (__libc_stack_end): Do not use attribute_relro.
24948         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24949         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24950         to libthread-provided value.
24951         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24952         attribute_relro.
24954 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24956         [BZ #3748]
24957         * bits/libc-lock.h (__libc_once_get): New macro.
24958         * sysdeps/mach/bits/libc-lock.h: Likewise.
24959         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24960         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24961         instead of using implementation details.
24963         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24964         * libio/freopen.c: Likewise.
24965         * libio/freopen64.c: Likewise.
24966         * misc/syslog.c: Likewise.
24967         * nscd/connections.c: Likewise.
24968         * nscd/netgroupcache.c: Likewise.
24969         * sysdeps/posix/getcwd.c: Likewise.
24971 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24973         * math/w_ilogbf.c: Add #include <limits.h>.
24975 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24977         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24978         path instead of returning without unlocking.
24980         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24981         immediate-write ioctls.
24982         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24984 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24986         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24987         __builtin_frame_address instead of making assumptions about the
24988         location of the return address relative to DATA.  Force early load of
24989         the return address.
24990         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24991         __builtin_frame_address.
24993         dup3 for GNU Hurd.
24994         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24995         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24996         implement dup3 and do some further code clean-ups.
24997         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24998         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25000 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25002         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25004         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25005         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25006         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25007         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25008         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25009         d->port.lock.
25011         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25012         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25013         when handler == SIG_ERR, not when handler != SIG_ERR.
25015 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25017         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25018         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25019         definitions.
25021         accept4 for GNU Hurd.
25022         * include/sys/socket.h (__libc_accept4): New prototype.
25023         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25024         to implement __libc_accept4.
25025         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25026         __libc_accept4.
25027         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25029         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25030         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25031         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25032         signal-defines.sym.
25034 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25036         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25038 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25040         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25041         assertion on O_CLOEXEC flag.
25042         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25043         * hurd/intern-fd.c: Likewise.
25044         * hurd/port2fd.c: Likewise.
25046 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25048         [BZ #3906]
25049         * bits/in.h (IPV6_PKTINFO): Define new macro.
25050         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25052 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25054         [BZ #13954]
25055         [BZ #13955]
25056         [BZ #13956]
25057         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25058         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25059         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25060         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25061         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25062         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25063         * math/libm-test.inc (logb_test) : Additional logb tests.
25065 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25066             Andreas Jaeger  <aj@suse.de>
25068         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25069         * configure: Regenerated.
25070         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25071         * config.make.in (link-obsolete-rpc): New substituted variable.
25072         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25073         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25074         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25075         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25076         so that libc.a contains the symbols.
25077         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25078         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25079         * sunrpc/auth_none.c: Likewise.
25080         * sunrpc/auth_unix.c: Likewise.
25081         * sunrpc/authdes_prot.c: Likewise.
25082         * sunrpc/authuxprot.c: Likewise.
25083         * sunrpc/clnt_gen.c: Likewise.
25084         * sunrpc/clnt_perr.c: Likewise.
25085         * sunrpc/clnt_raw.c: Likewise.
25086         * sunrpc/clnt_simp.c: Likewise.
25087         * sunrpc/clnt_tcp.c: Likewise.
25088         * sunrpc/clnt_udp.c: Likewise.
25089         * sunrpc/clnt_unix.c: Likewise.
25090         * sunrpc/des_crypt.c: Likewise.
25091         * sunrpc/des_soft.c: Likewise.
25092         * sunrpc/get_myaddr.c: Likewise.
25093         * sunrpc/key_call.c: Likewise.
25094         * sunrpc/key_prot.c: Likewise.
25095         * sunrpc/netname.c: Likewise.
25096         * sunrpc/pm_getmaps.c: Likewise.
25097         * sunrpc/pm_getport.c: Likewise.
25098         * sunrpc/pmap_clnt.c: Likewise.
25099         * sunrpc/pmap_prot.c: Likewise.
25100         * sunrpc/pmap_prot2.c: Likewise.
25101         * sunrpc/pmap_rmt.c: Likewise.
25102         * sunrpc/publickey.c: Likewise.
25103         * sunrpc/rpc_cmsg.c: Likewise.
25104         * sunrpc/rpc_common.c: Likewise.
25105         * sunrpc/rpc_dtable.c: Likewise.
25106         * sunrpc/rpc_prot.c: Likewise.
25107         * sunrpc/rpc_thread.c: Likewise.
25108         * sunrpc/rtime.c: Likewise.
25109         * sunrpc/svc.c: Likewise.
25110         * sunrpc/svc_auth.c: Likewise.
25111         * sunrpc/svc_raw.c: Likewise.
25112         * sunrpc/svc_run.c: Likewise.
25113         * sunrpc/svc_tcp.c: Likewise.
25114         * sunrpc/svc_udp.c: Likewise.
25115         * sunrpc/svc_unix.c: Likewise.
25116         * sunrpc/svcauth_des.c: Likewise.
25117         * sunrpc/xcrypt.c: Likewise.
25118         * sunrpc/xdr.c: Likewise.
25119         * sunrpc/xdr_array.c: Likewise.
25120         * sunrpc/xdr_float.c: Likewise.
25121         * sunrpc/xdr_intXX_t.c: Likewise.
25122         * sunrpc/xdr_mem.c: Likewise.
25123         * sunrpc/xdr_rec.c: Likewise.
25124         * sunrpc/xdr_ref.c: Likewise.
25125         * sunrpc/xdr_sizeof.c: Likewise.
25126         * sunrpc/xdr_stdio.c: Likewise.
25128 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25130         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25131         change.  Update copyright years.
25133 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25135         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25137 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25138             Joseph Myers  <joseph@codesourcery.com>
25139             Paul Pluzhnikov  <ppluzhnikov@google.com>
25141         [BZ #14012]
25142         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25143         requiring rpcgen.
25144         [cross-compiling] (extra-libs): Likewise.
25145         [cross-compiling] (extra-libs-others): Likewise.
25146         [cross-compiling] (librpcsvc-routines): Likewise.
25147         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25148         [cross-compiling] (omit-deps): Likewise.
25149         (sunrpc-CPPFLAGS): New variable.
25150         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25151         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25152         (cross-rpcgen-objs): New variable.
25153         (extra-objs): Append $(cross-rpcgen-objs).
25154         ($(cross-rpcgen-objs)): New rule.
25155         ($(objpfx)cross-rpcgen): Likewise.
25156         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25157         comment.
25158         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25159         ($(objpfx)x%.stmp): Likewise.
25160         * sunrpc/proto.h [IS_IN_build] (_): Define.
25161         [IS_IN_build] (_libc_intl_domainname): Likewise.
25163 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25165         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25166         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25167         and R_X86_64_TPOFF64.
25169 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25171         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25172         sysdeps/unix/sysv/syscalls.list.
25173         (stime): Likewise.
25174         (utime): Likewise.
25175         * sysdeps/unix/sysv/syscalls.list: Remove file.
25177 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25179         [BZ #3440]
25180         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25181         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25182         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25183         (__LC_IDENTIFICATION): Make these macros useful in #if
25184         expressions, as required by C99.
25186 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25188         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25189         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25190         after this.
25192 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25194         * stdlib/longlong.h: Updated from GCC.
25196 2012-05-09  Andreas Jaeger  <aj@suse.de>
25198         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25199         default is first entry.
25200         (run_mode): Set type.
25201         (main): Remove informal message about syslog.
25202         (options): Fix typo.
25204         [BZ #14053]
25205         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25206         to asm.
25207         (lrint): Likewise.
25208         (llrintf): Likewise.
25209         (llrint): Likewise.
25210         (rint): Likewise.
25211         (rintf): Likewise.
25212         (nearbyint): Likewise.
25213         (nearbyintf): Likewise.
25215 2012-05-09  Andreas Jaeger  <aj@suse.de>
25216             Pedro Alves  <palves@redhat.com>
25218         * nscd/nscd.c (run_mode): Use enum.
25219         (main): Cleanup coding style issue.
25221 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25222             Andreas Jaeger  <aj@suse.de>
25224         * nscd/nscd.c (go_background): Replaced with...
25225         (run_mode): ... this.
25226         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25227         (options): Add -F --foreground.
25228         (main): Implement it.
25229         (parse_opt): Parse it.
25231 2012-05-09  Andreas Jaeger  <aj@suse.de>
25233         [BZ #14083]
25234         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25235         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25236         -Wconversion warning.
25237         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25238         Likewise.
25240 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25242         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25243         == 0.
25244         (LC_ALL): Use macro-int-constant.
25245         (LC_COLLATE): Likewise.
25246         (LC_CTYPE): Likewise.
25247         (LC_MESSAGES): Likewise.
25248         (LC_MONETARY): Likewise.
25249         (LC_NUMERIC): Likewise.
25250         (LC_TIME): Likewise.
25251         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25252         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25253         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25254         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25255         Specify type.
25256         [C99-based standards] (float_t): Expect type.
25257         [C99-based standards] (double_t): Expect type.
25258         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25259         type.
25260         [C99-based standards] (HUGE_VALL): Likewise.
25261         [C99-based standards] (INFINITY): Likewise.
25262         [C99-based standards] (NAN): Likewise.
25263         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25264         [C99-based standards] (FP_NAN): Likewise.
25265         [C99-based standards] (FP_NORMAL): Likewise.
25266         [C99-based standards] (FP_SUBNORMAL): Likewise.
25267         [C99-based standards] (FP_ZERO): Likewise.
25268         [C99-based standards] (FP_FAST_FMA): Use
25269         optional-macro-int-constant.  Specify type.  Require == 1.
25270         [C99-based standards] (FP_FAST_FMAF): Likewise.
25271         [C99-based standards] (FP_FAST_FMAL): Likewise.
25272         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25273         [C99-based standards] (FP_ILOGBNAN): Likewise.
25274         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25275         Specify type.
25276         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25277         [C99-based standards] (math_errhandling): Specify type.
25278         [ISO99 || ISO11] (signgam): Do not allow.
25279         [non-C99-based standards] (copysignf): Do not allow.
25280         [non-C99-based standards] (exp2f): Likewise.
25281         [non-C99-based standards] (log2f): Likewise.
25282         [non-C99-based standards] (modff): Allow.
25283         [non-C99-based standards] (erff): Do not allow.
25284         [non-C99-based standards] (erfcf): Likewise.
25285         [non-C99-based standards] (gammaf): Likewise.
25286         [non-C99-based standards] (hypotf): Likewise.
25287         [non-C99-based standards] (j0f): Likewise.
25288         [non-C99-based standards] (j1f): Likewise.
25289         [non-C99-based standards] (jnf): Likewise.
25290         [non-C99-based standards] (lgammaf): Likewise.
25291         [non-C99-based standards] (tgammaf): Likewise.
25292         [non-C99-based standards] (y0f): Likewise.
25293         [non-C99-based standards] (y1f): Likewise.
25294         [non-C99-based standards] (ynf): Likewise.
25295         [non-C99-based standards] (isnanf): Likewise.
25296         [non-C99-based standards] (acoshf): Likewise.
25297         [non-C99-based standards] (asinhf): Likewise.
25298         [non-C99-based standards] (atanhf): Likewise.
25299         [non-C99-based standards] (cbrtf): Likewise.
25300         [non-C99-based standards] (expm1f): Likewise.
25301         [non-C99-based standards] (ilogbf): Likewise.
25302         [non-C99-based standards] (log1pf): Likewise.
25303         [non-C99-based standards] (logbf): Likewise.
25304         [non-C99-based standards] (nextafterf): Likewise.
25305         [non-C99-based standards] (remainderf): Likewise.
25306         [non-C99-based standards] (rintf): Likewise.
25307         [non-C99-based standards] (scalbf): Likewise.
25308         [non-C99-based standards] (copysignl): Likewise.
25309         [non-C99-based standards] (exp2l): Likewise.
25310         [non-C99-based standards] (log2l): Likewise.
25311         [non-C99-based standards] (modfl): Allow.
25312         [non-C99-based standards] (erfl): Do not allow.
25313         [non-C99-based standards] (erfcl): Likewise.
25314         [non-C99-based standards] (gammal): Likewise.
25315         [non-C99-based standards] (hypotl): Likewise.
25316         [non-C99-based standards] (j0l): Likewise.
25317         [non-C99-based standards] (j1l): Likewise.
25318         [non-C99-based standards] (jnl): Likewise.
25319         [non-C99-based standards] (lgammal): Likewise.
25320         [non-C99-based standards] (tgammal): Likewise.
25321         [non-C99-based standards] (y0l): Likewise.
25322         [non-C99-based standards] (y1l): Likewise.
25323         [non-C99-based standards] (ynl): Likewise.
25324         [non-C99-based standards] (isnanl): Likewise.
25325         [non-C99-based standards] (acoshl): Likewise.
25326         [non-C99-based standards] (asinhl): Likewise.
25327         [non-C99-based standards] (atanhl): Likewise.
25328         [non-C99-based standards] (cbrtl): Likewise.
25329         [non-C99-based standards] (expm1l): Likewise.
25330         [non-C99-based standards] (ilogbl): Likewise.
25331         [non-C99-based standards] (log1pl): Likewise.
25332         [non-C99-based standards] (logbl): Likewise.
25333         [non-C99-based standards] (nextafterl): Likewise.
25334         [non-C99-based standards] (remainderl): Likewise.
25335         [non-C99-based standards] (rintl): Likewise.
25336         [non-C99-based standards] (scalbl): Likewise.
25337         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25338         [non-C99-based standards] (FP_*): Do not allow.
25339         [C99-based standards] (FP_*): Change to
25340         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25341         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25342         allow.
25343         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25344         (SIG_ERR): Likewise.
25345         [X/Open-based standards] (SIG_HOLD): Likewise.
25346         (SIG_IGN): Likewise.
25347         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25348         positive value.
25349         (SIGFPE): Likewise.
25350         (SIGILL): Likewise.
25351         (SIGINT): Likewise.
25352         (SIGSEGV): Likewise.
25353         (SIGTER): Likewise.
25354         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25355         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25356         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25357         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25358         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25359         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25360         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25361         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25362         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25363         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25364         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25365         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25366         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25367         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25368         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25369         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25370         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25371         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25372         [X/Open-based standards] (SIGTRAP): Likewise.
25373         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25374         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25375         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25376         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25377         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25378         allow.
25380 2012-05-08  Ian Wienand  <ianw@vmware.com>
25382         [BZ #14080]
25383         * time/tzset.c (__tzset_parse_tz): Update default rules for
25384         daylight time changes in the Energy Policy Act of 2005.
25386 2012-05-09  Andreas Jaeger  <aj@suse.de>
25388         [BZ #13983]
25389         * elf/ldconfig.c (parse_conf): Change string to make clear that
25390         ldconfig only issued a warning if ld.so.conf does not exist.
25392 2012-05-08  David S. Miller  <davem@davemloft.net>
25394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25395         movxtod instead of popping the value on the stack.
25397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25399 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25401         * config.h.in: Add HAVE_ARM_PCS_VFP.
25403 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25405         [BZ #13979]
25406         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25407         checking but the checks are disabled for any reason.
25409 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25411         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25412         and ELF64_R_TYPE with ELFW(R_TYPE).
25414 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25416         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25417         (ulimit): Likewise.
25419         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25420         (settimeofday): Likewise.
25422 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25424         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25425         a struct th_u2 inside the union, and move tu_block/tu_code into
25426         a new th_u3 union of tu_block/tu_code inside of that.  Move
25427         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25428         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25429         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25430         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25431         (th_stuff): Change to th_u1.tu_stuff.
25432         (th_data): Define.
25433         (th_msg): Change to th_u1.th_u2.tu_data.
25435 2012-05-07  David S. Miller  <davem@davemloft.net>
25437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25439         [BZ #14074]
25440         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25441         (SETUP_PIC_REG): Use it.
25442         (SETUP_PIC_REG_LEAF): Use it.
25444 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25446         [BZ #13885]
25447         [BZ #13923]
25448         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25449         USE_AS_EXPM1L.
25450         (EXPL_FINITE): Likewise.
25451         (FLDLOG): Likewise.
25452         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25453         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25454         e_expl.S.
25455         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25456         USE_AS_EXPM1L.
25457         (EXPL_FINITE): Likewise.
25458         (FLDLOG): Likewise.
25459         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25460         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25461         e_expl.S.
25462         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25463         test of -max_value argument for long double.
25464         * sysdeps/i386/fpu/libm-test-ulps: Update.
25465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25467 2012-05-06  David S. Miller  <davem@davemloft.net>
25469         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25470         quad soft-float symbols whose references which are compiler
25471         generated.
25472         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25474 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25476         [BZ #13884]
25477         [BZ #13914]
25478         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25479         USE_AS_EXP10L.
25480         (EXPL_FINITE): Likewise.
25481         (FLDLOG): Likewise.
25482         (c0): Likewise.
25483         (c1): Likewise.
25484         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25485         Adjust comments for base varying.
25486         (__expl_finite): Change alias to EXPL_FINITE.
25487         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25488         e_expl.S.
25489         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25490         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25491         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25492         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25493         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25494         USE_AS_EXP10L.
25495         (EXPL_FINITE): Likewise.
25496         (FLDLOG): Likewise.
25497         (c0): Likewise.
25498         (c1): Likewise.
25499         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25500         Adjust comments for base varying.
25501         (__expl_finite): Change alias to EXPL_FINITE.
25502         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25503         tests for bugs.
25504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25506         [BZ #14064]
25507         * math/libm-test.inc (check_float_internal): Correct ulp
25508         calculation for subnormal expected results.
25510 2012-05-06  Andreas Jaeger  <aj@suse.de>
25512         * Makeconfig (+math-flags): New, set to -frounding-math.
25513         (+cflags): Add +math-flags so that all of glibc gets compiled with
25514         it.
25516         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25518 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25520         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25521         Disable one test.
25523         [BZ #13787]
25524         [BZ #13922]
25525         [BZ #14036]
25526         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25527         (__ieee754_expl): Allow for and saturate large arguments.
25528         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25529         (u_threshold): Likewise.
25530         (__exp): Call __ieee754_exp before checking for overflow and
25531         underflow.
25532         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25533         (u_threshold): Likewise.
25534         (__expf): Call __ieee754_expf before checking for overflow and
25535         underflow.
25536         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25537         (u_threshold): Likewise.
25538         (__expl): Call __ieee754_expl before checking for overflow and
25539         underflow.
25540         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25541         (__ieee754_expl): Allow for and saturate large arguments.
25542         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25543         missing overflow exception on overflow.
25544         (expm1_test): Do not allow missing overflow exception on overflow.
25546         * sysdeps/i386/fpu/e_expl.c: Move to ...
25547         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25548         rather than using inline asm.
25549         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25550         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25551         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25553         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25554         (nice): Likewise.
25555         (poll): Likewise.
25556         (signal): Likewise.
25557         (time): Likewise.
25558         (times): Likewise.
25560 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25562         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25563         sysdeps/unix/common/syscalls.list.
25564         (fchmod): Likewise.
25565         (fchown): Likewise.
25566         (ftruncate): Likewise.
25567         (getrusage): Likewise.
25568         (gettimeofday): Likewise.
25569         (setpgid): Likewise.
25570         (setregid): Likewise.
25571         (setreuid): Likewise.
25572         (sigaction): Likewise.
25573         (truncate): Likewise.
25574         (vhangup): Likewise.
25575         * sysdeps/unix/common/syscalls.list: Remove file.
25576         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25577         * sysdeps/unix/sysv/linux/Implies: Likewise.
25579 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25581         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25583         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25584         Moved to ...
25585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25586         Here.
25587         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25588         to ...
25589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25590         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25591         to ...
25592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25593         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25594         to ...
25595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25596         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25597         to ...
25598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25599         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25600         to ...
25601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25602         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25603         to ...
25604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25605         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25606         to ...
25607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25608         Here.
25609         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25610         to ...
25611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25612         Here.
25613         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25614         to ...
25615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25616         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25617         Moved to ...
25618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25619         Here.
25620         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25621         to ...
25622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25624 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25626         * sysdeps/unix/common/bits/dirent.h: Remove file.
25627         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25629         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25630         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25631         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25632         * sysdeps/unix/bsd/isatty.c: Likewise.
25633         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25634         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25635         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25637 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25639         [BZ #13563]
25640         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25641         long double comparison inaccuracies.
25642         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25645 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25647         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25648         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25650 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25652         [BZ #14049]
25653         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25654         nonzero digits before rounding a hex value.
25655         * stdlib/tst-strtod.c (tests): Add another test.
25657 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25659         * sysdeps/s390/fpu/libm-test-ulps: Update.
25661 2012-05-03  Andreas Jaeger  <aj@suse.de>
25663         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25664         does not get optimized out.
25665         (malloc_opt_barrier): New.
25667 2012-05-03  Andreas Jaeger  <aj@suse.de>
25668             Roland McGrath  <roland@hack.frob.com>
25670         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25671         intermediate file deletion.
25672         (generated): Add .symlist files.
25674 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25676         [BZ #13775]
25677         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25678         Redirect under this condition.
25679         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25680         [__USE_GNU] (__dprintf_chk): Not under this condition.
25681         [__USE_GNU] (__vdprintf_chk): Likewise.
25682         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25683         under this condition.
25684         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25685         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25686         [__USE_XOPEN2K8] (vdprintf): Likewise.
25687         [__USE_GNU] (__dprintf_chk): Not under this condition.
25688         [__USE_GNU] (__vdprintf_chk): Likewise.
25689         [__USE_GNU] (dprintf): Likewise.
25690         [__USE_GNU] (vdprintf): Likewise.
25692 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25694         * elf/Makefile (common-generated): Set this instead of generated for
25695         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25696         $(all-built-dso)-derived lists.
25698 2012-05-03  Andreas Jaeger  <aj@suse.de>
25700         * sysdeps/i386/fpu/libm-test-ulps: Update.
25702         * FAQ: Removed.
25703         * FAQ.in: Likewise.
25704         * scripts/gen-FAQ.pl: Likewise.
25705         * manual/install.texi (Installation): Point to online location of
25706         FAQ.
25707         * Makefile (files-for-dist): Remove FAQ.
25708         (FAQ): Remove.
25710 2012-05-02  Allan McRae  <allan@archlinux.org>
25712         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25713         (LDFLAGS-reldepmod5.so): Likewise.
25714         (LDFLAGS-reldep6mod1.so): Likewise.
25715         (LDFLAGS-reldep6mod4.so): Likewise.
25716         (LDFLAGS-reldep8mod3.so): Likewise.
25717         (LDFLAGS-unload4mod1.so): Likewise.
25718         (LDFLAGS-unload4mod2.so): Likewise.
25719         (LDFLAGS-tst-initorder): Likewise.
25720         (LDFLAGS-tst-initordera2.so): Likewise.
25721         (LDFLAGS-tst-initordera3.so): Likewise.
25722         (LDFLAGS-tst-initordera4.so): Likewise.
25723         (LDFLAGS-tst-initorderb2.so): Likewise.
25724         (LDFLAGS-noload): Likewise.
25725         (LDFLAGS-next): Likewise.
25726         (LDFLAGS-order2mod1.so): Likewise.
25727         (LDFLAGS-order2mod2.so): Likewise.
25728         (LDFLAGS-tst-initorder2): Likewise.
25729         (LDFLAGS-tst-initorder2a.so): Likewise.
25730         (LDFLAGS-tst-initorder2b.so): Likewise.
25731         (LDFLAGS-tst-initorder2c.so): Likewise.
25732         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25734 2012-05-02  David S. Miller  <davem@davemloft.net>
25736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25738 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25740         [BZ #14055]
25741         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25743 2012-05-02  Andreas Jaeger  <aj@suse.de>
25745         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25746         since we manipulate rounding mode.
25747         (CPPFLAGS-test-idouble.c): Likewise.
25748         (CPPFLAGS-test-ifloat.c): Likewise.
25749         (CFLAGS-test-ldouble.c): Likewise.
25750         (CFLAGS-test-double.c): Likewise.
25751         (CFLAGS-test-float.c): Likewise.
25752         (CFLAGS-test-misc.c): Likewise.
25753         (CFLAGS-test-test-fenv.c): Likewise.
25755 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25757         [BZ #2550]
25758         [BZ #2570]
25759         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25760         comparisons to determine direction to adjust input.
25762 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25764         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25765         output to the target.
25767         * scripts/localplt.awk: New file.
25768         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25769         (check-localplt-CFLAGS): Variable removed.
25770         ($(all-built-dso:=.jmprel)): New static pattern rule.
25771         (generated): Add those targets.
25772         (localplt-built-dso): New variable.
25773         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25775         * elf/check-localplt.c: File removed.
25777         * scripts/check-execstack.awk: New file.
25778         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25779         (check-execstack-CFLAGS): Variable removed.
25780         ($(objpfx)check-execstack.h): Target removed.
25781         ($(objpfx)execstack-default): New target.
25782         (generated): Add that instead of check-execstack.h.
25783         ($(all-built-dso:=.phdr)): New static pattern rule.
25784         (generated): Add those targets.
25785         * elf/check-execstack.c: File removed.
25787         * scripts/check-textrel.awk: New file.
25788         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25789         (check-textrel-CFLAGS): Variable removed.
25790         (all-built-dso): Use := to define.o
25791         ($(all-built-dso:=.dyn)): New static pattern rule.
25792         (generated): Add those targets.
25793         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25794         * config.make.in (READELF): New substituted variable.
25795         * elf/check-textrel.c: File removed.
25797 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25799         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25800         allow.
25801         * conform/data/ctype.h-data [C99-based standards] (isblank):
25802         Expect function.
25803         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25804         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25805         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25806         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25807         Specify type.  Require positive value.
25808         (EILSEQ): Likewise.
25809         (ERANGE): Likewise.
25810         [ISO || POSIX] (EILSEQ): Do not expect.
25811         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25812         Specify type.  Require positive value.
25813         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25814         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25815         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25816         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25817         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25818         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25819         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25820         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25821         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25822         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25823         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25824         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25825         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25826         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25827         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25828         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25829         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25830         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25831         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25832         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25833         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25834         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25835         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25836         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25837         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25838         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25839         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25840         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25841         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25842         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25843         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25844         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25845         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25846         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25847         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25848         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25849         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25850         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25851         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25852         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25853         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25854         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25855         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25856         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25857         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25858         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25859         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25860         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25861         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25862         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25863         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25864         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25865         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25866         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25867         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25868         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25869         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25870         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25871         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25872         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25873         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25874         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25875         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25876         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25877         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25878         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25879         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25880         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25881         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25882         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25883         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25884         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25885         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25886         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25887         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25888         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25889         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25890         Require >= 2.
25891         (FLT_ROUNDS): Expect as macro, not constant.
25892         (FLT_MANT_DIG): Use macro-int-constant.
25893         (DBL_MANT_DIG): Likewise.
25894         (LDBL_MANT_DIG): Likewise.
25895         (FLT_DIG): Likewise.
25896         (DBL_DIG): Likewise.
25897         (LDBL_DIG): Likewise.
25898         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25899         (DBL_MIN_EXP): Likewise.
25900         (LDBL_MIN_EXP): Likewise.
25901         (FLT_MAX_EXP): Use macro-int-constant.
25902         (DBL_MAX_EXP): Likewise.
25903         (LDBL_MAX_EXP): Likewise.
25904         (FLT_MAX_10_EXP): Likewise.
25905         (DBL_MAX_10_EXP): Likewise.
25906         (LDBL_MAX_10_EXP): Likewise.
25907         (FLT_MAX): Use macro-constant.
25908         (DBL_MAX): Likewise.
25909         (LDBL_MAX): Likewise.
25910         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25911         (DBL_EPSILON): Likewise.
25912         (LDBL_EPSILON): Likewise.
25913         (FLT_MIN): Likewise.
25914         (DBL_MIN): Likewise.
25915         (LDBL_MIN): Likewise.
25916         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25917         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25918         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25919         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25920         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25921         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25922         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25923         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25924         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25925         [ISO11] (FLT_TRUE_MIN): Likewise.
25926         [ISO11] (LDBL_TRUE_MIN): Likewise.
25927         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25928         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25929         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25930         (SCHAR_MAX): Likewise.
25931         (UCHAR_MAX): Likewise.
25932         (CHAR_MIN): Likewise.
25933         (CHAR_MAX): Likewise.
25934         (MB_LEN_MAX): Use macro-int-constant.
25935         (SHRT_MIN): Use macro-int-constant.  Specify type.
25936         (SHRT_MAX): Likewise.
25937         (USHRT_MAX): Likewise.
25938         (INT_MAX): Likewise.
25939         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25940         bound negative.
25941         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25942         bound with "U".
25943         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25944         bound with "L".
25945         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25946         bound negative.  Suffix upper bound with "L".
25947         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25948         bound with "UL".
25949         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25950         Specify type.
25951         [C99-based standards] (LLONG_MAX): Likewise.
25952         [C99-based standards] (ULLONG_MAX): Likewise.
25953         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25954         == 0.
25955         [ISO11] (max_align_t): Require type.
25956         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25958         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25959         from $CFLAGS, without defining away __attribute__ calls.
25960         (checknamespace): Use $CFLAGS_namespace.
25962         * conform/conformtest.pl (@keywords): Only include C99 keywords
25963         for standards based on C99 or C11.
25965         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25966         Disable tests.
25967         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25968         UNIX98]: Likewise.
25970         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25971         usability of symbols in #if.
25973         * conform/conformtest.pl: If macro or constant types start
25974         "promoted:", expect the symbol to be of the following type
25975         promoted by the integer promotions.
25977         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25978         in one place.  Also handle "macro-constant".
25980         * conform/conformtest.pl: Only accept expected macro values with
25981         "==".  Parse all "macro" lines in one place.
25982         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25984         * conform/conformtest.pl: Handle braced types on "constant" lines
25985         instead of handling "typed-constant".
25986         * conform/data/signal.h-data: Use "constant" instead of
25987         "typed-constant".
25989         * conform/conformtest.pl: Handle "optional-" at start of lines in
25990         one place rather than duplicating several cases.  Handle each
25991         format of "macro" line with initial "optional-".
25993         * conform/conformtest.pl: Only accept expected constant or
25994         optional-constant values with "==".  Parse all "constant" lines in
25995         one place.  Parse all "optional-constant" lines in one place.
25996         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25997         * conform/data/fmtmsg.h-data: Likewise.
25998         * conform/data/netinet/in.h-data: Likewise.
25999         * conform/data/tar.h-data: Likewise.
26000         * conform/data/limits.h-data: Use "==" form on "constant" and
26001         "optional-constant" lines.
26003         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26004         Use -std=c99 for XOPEN2K.
26005         (@knownproblems): Remove.
26006         (newtoken): Don't check %isknown.
26008         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26009         Do not expect macro.
26010         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26011         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26012         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26013         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26014         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26015         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26016         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26017         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26018         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26019         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26020         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26021         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26022         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26023         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26024         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26025         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26026         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26027         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26028         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26029         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26030         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26031         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26032         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26033         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26034         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26035         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26036         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26037         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26038         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26039         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26040         [XPG3] (acosh): Likewise.
26041         [XPG3] (asinh): Likewise.
26042         [XPG3] (atanh): Likewise.
26043         [XPG3] (cbrt): Likewise.
26044         [XPG3] (expm1): Likewise.
26045         [XPG3] (ilogb): Likewise.
26046         [XPG3] (log1p): Likewise.
26047         [XPG3] (logb): Likewise.
26048         [XPG3] (nextafter): Likewise.
26049         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26050         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26051         [XPG3] (remainder): Likewise.
26052         [XPG3] (rint): Likewise.
26053         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26054         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26055         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26056         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26057         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26058         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26059         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26060         [UNIX98 || XOPEN2K] (scalb): Expect.
26061         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26062         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26063         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26064         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26065         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26066         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26067         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26068         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26069         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26070         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26071         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26072         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26073         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26074         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26075         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26076         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26077         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26078         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26079         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26080         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26081         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26082         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26083         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26084         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26085         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26086         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26087         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26088         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26089         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26090         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26091         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26092         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26093         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26094         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26095         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26096         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26097         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26098         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26099         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26100         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26101         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26102         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26103         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26104         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26105         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26106         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26107         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26108         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26109         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26110         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26111         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26112         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26113         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26114         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26115         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26116         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26117         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26118         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26119         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26120         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26121         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26122         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26123         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26124         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26125         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26126         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26127         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26128         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26129         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26130         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26131         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26132         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26133         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26134         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26135         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26136         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26137         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26138         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26139         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26140         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26141         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26142         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26143         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26144         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26145         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26146         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26147         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26148         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26149         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26150         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26151         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26152         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26153         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26154         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26155         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26156         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26157         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26158         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26159         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26160         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26161         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26162         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26163         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26164         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26165         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26166         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26167         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26168         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26169         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26170         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26171         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26172         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26173         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26174         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26175         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26176         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26177         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26178         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26179         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26180         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26181         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26182         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26183         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26184         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26185         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26186         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26187         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26188         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26189         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26190         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26191         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26192         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26193         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26194         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26195         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26196         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26197         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26199         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26200         _XOPEN_SOURCE_EXTENDED for XPG4.
26202         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26204         * Makeconfig (localtime): Remove variable.
26205         (inst_localtime-file): Likewise.
26207 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26210         Update.
26211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26212         Update.
26213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26214         Update.
26215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26216         Update.
26217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26218         Update.
26219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26220         Update.
26221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26222         Update.
26223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26224         Update.
26225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26226         Update.
26228 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26230         [BZ #2550]
26231         [BZ #2570]
26232         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26233         comparisons to determine direction to adjust input.
26234         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26235         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26236         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26237         Likewise.
26238         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26239         Likewise.
26240         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26241         Likewise.
26242         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26243         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26244         Likewise.
26245         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26246         Likewise.
26247         * math/libm-test.inc (nexttoward_test): Add more tests.
26249 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26251         [BZ #14040]
26252         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26253         in version GLIBC_2.1, not GLIBC_2.0.
26254         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26255         Likewise.
26257 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26259         [BZ #13942]
26260         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26261         (1 - x) * (1 + x).
26262         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26263         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26264         * math/libm-test.inc (acos_test): Add more tests.
26265         (asin_test): Likewise.
26266         * sysdeps/i386/fpu/libm-test-ulps: Update.
26267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26269         [BZ #14034]
26270         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26271         of square root.
26272         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26273         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26274         * math/libm-test.inc (acos_test_tonearest): New function.
26275         (acos_test_towardzero): Likewise.
26276         (acos_test_downward): Likewise.
26277         (acos_test_upward): Likewise.
26278         (asin_test_tonearest): Likewise.
26279         (asin_test_towardzero): Likewise.
26280         (asin_test_downward): Likewise.
26281         (asin_test_upward): Likewise.
26282         (main): Call the new functions.
26283         * sysdeps/i386/fpu/libm-test-ulps: Update.
26284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26286         [BZ #13884]
26287         [BZ #13924]
26288         * math/e_exp10.c: Include <float.h>.
26289         (__ieee754_exp10): Handle underflow here rather than multiplying
26290         large negative argument by M_LN10.
26291         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26292         of __ieee754_expf.
26293         * math/e_exp10l.c: Include <float.h>.
26294         (__ieee754_exp10l): Handle underflow here rather than multiplying
26295         large negative argument by M_LN10l.
26296         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26297         spurious overflow exception on underflow.
26299 2012-04-29  Marek Polacek  <polacek@redhat.com>
26301         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26302         (__fortify_function): New macro.
26303         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26304         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26305         __extern_always_inline.
26306         * libio/bits/stdio2.h: Likewise.
26307         * libio/bits/stdio.h: Likewise.
26308         * string/string.h: Likewise.
26309         * string/bits/string3.h: Likewise.
26310         * include/stdio.h: Likewise.
26311         * stdlib/bits/stdlib.h: Likewise.
26312         * stdlib/stdlib.h: Likewise.
26313         * rt/bits/mqueue2.h: Likewise.
26314         * rt/mqueue.h: Likewise.
26315         * posix/bits/unistd.h: Likewise.
26316         * posix/unistd.h: Likewise.
26317         * io/bits/poll2.h: Likewise.
26318         * io/bits/fcntl2.h: Likewise.
26319         * io/fcntl.h: Likewise.
26320         * io/sys/poll.h: Likewise.
26321         * misc/bits/syslog.h: Likewise.
26322         * misc/bits/syslog-ldbl.h: Likewise.
26323         * misc/sys/syslog.h: Likewise.
26324         * socket/bits/socket2.h: Likewise.
26325         * socket/sys/socket.h: Likewise.
26326         * debug/tst-chk1.c: Likewise.
26327         * wcsmbs/bits/wchar2.h: Likewise.
26328         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26329         * wcsmbs/wchar.h: Likewise.
26331 2012-04-29  Andreas Jaeger  <aj@suse.de>
26333         * Makerules (tests): Remove enable-check-abi protection.
26334         (check-abi-warn): Remove.
26335         (check-abi-%): Remove check-abi-warn usage.
26337         * configure.in: Remove check-abi configure option.
26338         * configure: Regenerated.
26339         * config.make.in (enable-check-abi): Remove.
26341 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26343         [BZ #14033]
26344         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26345         double functions to double *_finite functions.
26347         [BZ #13941]
26348         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26349         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26350         LDBL_MIN_EXP.
26351         * stdio-common/Makefile (tests): Add tst-sprintf3.
26352         * stdio-common/tst-sprintf3.c: New file.
26354         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26355         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26357 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26359         * conform/conformtest.pl: Remove duplicate typed-constant
26360         handling.
26362 2012-04-28  David S. Miller  <davem@davemloft.net>
26364         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26365         (check-abi-%): Remove AWK script prerequisite and explicit
26366         abilist directory.
26367         (check-abi): Rewrite to just diff the symlist with the abilist.
26368         (config-tls, config-abi-config): Delete, no longer used.
26369         (update-abi-%): Remove AWK script and explicit abilist directory.
26370         (update-abi): Rewrite to simply compare and conditionally copy the
26371         symlist and the sysdep abilist file.  Remove update-abi-config
26372         checks.
26373         * abilist/ld.abilist: Remove.
26374         * abilist/libBrokenLocale.abilist: Remove.
26375         * abilist/libanl.abilist: Remove.
26376         * abilist/libcrypt.abilist: Remove.
26377         * abilist/libdl.abilist: Remove.
26378         * abilist/librt.abilist: Remove.
26379         * abilist/libthread_db.abilist: Remove.
26380         * abilist/libutil.abilist: Remove.
26381         * scripts/extract-abilist.awk: Remove.
26382         * scripts/merge-abilist.awk: Remove.
26383         * sysdeps/generic/libcidn.abilist: New file.
26384         * sysdeps/generic/libnss_compat.abilist: New file.
26385         * sysdeps/generic/libnss_db.abilist: New file.
26386         * sysdeps/generic/libnss_dns.abilist: New file.
26387         * sysdeps/generic/libnss_files.abilist: New file.
26388         * sysdeps/generic/libnss_hesiod.abilist: New file.
26389         * sysdeps/generic/libnss_nis.abilist: New file.
26390         * sysdeps/generic/libnss_nisplus.abilist: New file.
26391         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26392         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26393         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26394         file.
26395         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26396         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26397         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26398         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26399         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26400         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26401         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26402         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26403         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26404         file.
26405         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26406         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26407         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26408         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26409         file.
26410         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26411         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26412         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26413         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26414         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26415         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26416         file.
26417         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26418         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26419         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26420         file.
26421         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26422         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26423         New file.
26424         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26425         New file.
26426         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26427         New file.
26428         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26429         New file.
26430         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26431         New file.
26432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26433         New file.
26434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26435         New file.
26436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26437         New file.
26438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26439         New file.
26440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26441         New file.
26442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26443         New file.
26444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26445         New file.
26446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26447         New file.
26448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26449         file.
26450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26451         New file.
26452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26453         New file.
26454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26455         file.
26456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26457         New file.
26458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26459         New file.
26460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26461         file.
26462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26463         New file.
26464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26465         New file.
26466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26467         New file.
26468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26469         New file.
26470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26471         New file.
26472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26473         New file.
26474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26476         file.
26477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26478         New file.
26479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26480         file.
26481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26482         file.
26483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26484         file.
26485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26486         file.
26487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26488         file.
26489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26490         New file.
26491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26492         file.
26493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26494         file.
26495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26496         New file.
26497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26498         file.
26499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26501         file.
26502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26503         New file.
26504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26505         file.
26506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26507         file.
26508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26509         file.
26510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26511         file.
26512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26513         file.
26514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26515         New file.
26516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26517         file.
26518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26519         file.
26520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26521         New file.
26522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26523         file.
26524         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26525         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26526         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26527         file.
26528         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26529         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26530         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26531         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26532         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26533         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26534         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26535         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26536         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26537         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26540         file.
26541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26542         New file.
26543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26544         file.
26545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26546         file.
26547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26548         file.
26549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26550         file.
26551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26552         file.
26553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26554         New file.
26555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26556         New file.
26557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26558         file.
26559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26560         New file.
26561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26562         file.
26563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26565         file.
26566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26567         New file.
26568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26569         file.
26570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26571         file.
26572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26573         file.
26574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26575         file.
26576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26577         file.
26578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26579         New file.
26580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26581         New file.
26582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26583         file.
26584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26585         New file.
26586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26587         file.
26589 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26591         * conform/conformtest.pl: Fix typo in handling typed-constant from
26592         allow-header.
26594 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26596         * README: Cut down references to pre-2.6 Linux kernels and
26597         Linuxthreads.  Update lists of configurations in libc and ports
26598         and sort alphabetically.  Say "or newer" with Linux kernel version
26599         requirements.
26601         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26603 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26605         [BZ #887]
26606         * math/libm-test.inc (logb_test_downward): New test to expose
26607         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26608         rounding mode.
26610 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26612         [BZ #14027]
26613         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26614         to be done.
26615         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26616         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26618 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26620         * sysdeps/unix/i386/brk.S: Remove file.
26621         * sysdeps/unix/i386/dl-brk.S: Likewise.
26622         * sysdeps/unix/i386/pipe.S: Likewise.
26623         * sysdeps/unix/i386/sigreturn.S: Likewise.
26624         * sysdeps/unix/i386/syscall.S: Likewise.
26625         * sysdeps/unix/i386/vfork.S: Likewise.
26626         * sysdeps/unix/i386/wait.S: Likewise.
26628         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26629         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26631         * configure.in (arm*-none*): Do not allow without
26632         --enable-hacker-mode.
26633         (netbsd*): Remove case setting base_os.
26634         (386bsd*): Likewise.
26635         (freebsd*): Likewise.
26636         (bsdi*): Likewise.
26637         (osf*): Likewise.
26638         (sunos*): Likewise.
26639         (ultrix*): Likewise.
26640         (newsos*): Likewise.
26641         (dynix*): Likewise.
26642         (*bsd*): Likewise.
26643         (sysv*): Likewise.
26644         (isc*): Likewise.
26645         (esix*): Likewise.
26646         (sco*): Likewise.
26647         (minix*): Likewise.
26648         (irix4*): Likewise.
26649         (irix6*): Likewise.
26650         (solaris[2-9]*): Likewise.
26651         (none): Likewise.
26652         * configure: Regenerated.
26654 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26656         [BZ #11521]
26657         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26658         overflow or cancellation in calculating denominator.
26659         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26660         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26661         down expression to avoid unexpected rounding in newer GCCs.
26662         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26664 2012-04-26  David S. Miller  <davem@davemloft.net>
26666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26667         long-double compat symbols.
26668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26682 2012-04-25  David S. Miller  <davem@davemloft.net>
26684         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26685         HWCAP_* values only after the memory barriers have been defined.
26686         (atomic_full_barrier): Define.
26687         (atomic_read_barrier): Define.
26688         (atomic_write_barrier): Define.
26690 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26692         * shlib-versions: Add libgcc_s version information.
26693         * sysdeps/generic/libgcc_s.h: Remove.
26694         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26695         libgcc_s.h.
26696         * sysdeps/gnu/unwind-resume.c: Likewise.
26697         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26699 2012-04-25  David S. Miller  <davem@davemloft.net>
26701         * sysdeps/unix/sparc/brk.S: Delete.
26702         * sysdeps/unix/sparc/dl-brk.S: Delete.
26703         * sysdeps/unix/sparc/pipe.S: Delete.
26704         * sysdeps/unix/sparc/sysdep.S: Delete.
26705         * sysdeps/unix/sparc/sysdep.h: Delete.
26706         * sysdeps/unix/sparc/vfork.S: Delete.
26707         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26708         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26709         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26710         ret_ERRVAL, r0, r1, MOVE): Define.
26711         (JUMPTARGET): Remove.
26712         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26713         sysdeps/unix/sparc/sysdep.h
26714         (ENTRY, END): Remove.
26715         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26717 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26719         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26720         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26721         -DIS_IN_build.
26723         * timezone/README: Update upstream location and email address for
26724         tzcode and tzdata.
26725         * timezone/zdump.c: Update from tzcode 2012b.
26726         * timezone/zic.c: Likewise.
26728         * configure.in (libc_cv_as_needed): Remove test.
26729         * configure: Regenerated.
26730         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26731         conditional definition.
26732         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26733         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26734         * config.make.in (have-as-needed): Remove variable.
26736 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26737             Paul Pluzhnikov  <ppluzhnikov@google.com>
26739         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26740         strings correctly.
26742 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26744         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26745         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26746         * sysdeps/sh/strlen.S: Likewise.
26748 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26750         * sysdeps/unix/fork.S: Remove file.
26751         * sysdeps/unix/i386/fork.S: Likewise.
26752         * sysdeps/unix/sparc/fork.S: Likewise.
26754         * sysdeps/unix/system.c: Remove file.
26755         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26757         * sysdeps/unix/getegid.S: Remove file.
26758         * sysdeps/unix/geteuid.S: Likewise.
26760 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26762         * scripts/check-localplt.awk: New file.
26763         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26764         of diff.
26765         * scripts/data/localplt-generic.data: Add a comment.
26767         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26768         NODE when __dir_mkfile failed.
26769         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26770         Reported by Ludovic Courtès <ludo@gnu.org>.
26772 2012-04-24  Andreas Jaeger  <aj@suse.de>
26774         * Makerules (common-clean): Also remove gen-as-const-headers
26775         files.
26777 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26779         * Makerules (native-compile): Do not change working directory for
26780         build.  Use $(OUTPUT_OPTION) in command.
26781         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26783 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26785         [BZ #13886]
26786         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26787         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26788         * math/libm-test.inc (floor_test): Add more tests.
26789         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26791 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26793         * sysdeps/unix/getdents.c: Remove file.
26794         * sysdeps/unix/sysv/getdents.c: Likewise.
26795         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26797         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26798         sysdeps/unix/mman/syscalls.list.
26799         (mmap): Likewise.
26800         (mprotect): Likewise.
26801         (msync): Likewise.
26802         (munmap): Likewise.
26803         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26804         * sysdeps/unix/mman/syscalls.list: Remove.
26805         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26807         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26808         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26809         * configure: Regenerated.
26810         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26811         $(libgcc_s_suffix).
26812         * config.make.in (libgcc_s_suffix): Remove variable.
26814 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26816         * sysdeps/unix/sysv/gethostname.c: Move to ...
26817         * sysdeps/posix/gethostname.c: ... here.
26819         * sysdeps/unix/execve.S: Remove file.
26821         * sysdeps/unix/_exit.S: Remove file.
26823 2012-04-23  Andreas Jaeger  <aj@suse.de>
26825         [BZ #13739]
26826         * manual/Makefile: Remove make dist support, there's no
26827         need for a stand-alone documentation tar ball.
26828         (TEXI2DVI): Define always, it's not in Makeconfig.
26829         (dist): Removed.
26830         (tar-it): Removed.
26831         (edition): Removed.
26832         (glibc-doc-$(edition).tar): Removed
26833         (%.Z): Removed.
26834         (%.gz): Removed.
26835         (%.uu): Removed.
26836         (ETAGS): Remove, it's in Makeconfig.
26837         (move-if-change): Remove, it's in Makeconfig.
26839 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26841         [BZ #13970]
26842         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26843         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26844         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26845         (strtod_l, strtof_l, strtold_l): Remove __wur.
26846         It is not necessarily an error to ignore strtol's return value.
26847         One can reliably look at the stored endptr to decide whether
26848         the number had valid syntax.
26850 2012-04-21  Andreas Jaeger  <aj@suse.de>
26852         [BZ #13739]
26853         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26855 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26857         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26858         * sysdeps/unix/sysv/Versions: Remove file.
26860 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26862         [BZ #13927]
26863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26865 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26867         [BZ #7064]
26868         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26869         version from __vm86.
26871 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26873         * sysdeps/unix/common/lxstat.c: Remove file.
26874         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26876         * sysdeps/unix/sysv/Makefile: Remove file.
26878         * sysdeps/unix/sysv/direct.h: Remove file.
26880         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26881         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26882         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26883         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26884         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26885         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26886         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26888         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26890         * sysdeps/unix/xmknod.c: Remove file.
26891         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26893         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26895         * sysdeps/unix/sysv/i386/time.S: Remove file.
26897         * sysdeps/unix/fxstat.c: Remove file.
26898         * sysdeps/unix/xstat.c: Likewise.
26899         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26901         * sysdeps/unix/sysv/sigaction.c: Remove file.
26903         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26904         (sysdep_headers): Remove variable.
26905         [termio.h not in sysdep_headers] (generated): Likewise.
26906         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26907         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26908         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26909         * sysdeps/unix/sysv/tcflow.c: Likewise.
26910         * sysdeps/unix/sysv/tcflush.c: Likewise.
26911         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26912         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26913         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26914         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26915         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26917         * sysdeps/unix/siglist.c: Remove file.
26919         * sysdeps/unix/getppid.S: Remove file.
26921         * sysdeps/unix/mkdir.c: Remove file.
26922         * sysdeps/unix/rmdir.c: Likewise.
26924 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26926         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26927         ERR_MAX value.
26928         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26929         errlist-compat value.
26931 2012-04-18  David S. Miller  <davem@davemloft.net>
26933         * sysdeps/generic/memcopy.h (reg_char): Delete.
26934         * debug/strcat_chk.c: Use char, not reg_char.
26935         * debug/strcpy_chk.c: Likewise.
26936         * debug/strncat_chk.c: Likewise.
26937         * debug/strncpy_chk.c: Likewise.
26938         * string/memchr.c: Likewise.
26939         * string/memrchr.c: Likewise.
26940         * string/rawmemchr.c: Likewise.
26941         * string/strcat.c: Likewise.
26942         * string/strchr.c: Likewise.
26943         * string/strchrnul.c: Likewise.
26944         * string/strcmp.c: Likewise.
26945         * string/strcpy.c: Likewise.
26946         * string/strncat.c: Likewise.
26947         * string/strncmp.c: Likewise.
26948         * string/strncpy.c: Likewise.
26950 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26952         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26953         __builtin_memcopy is called when src and dest ranges are known to not
26954         overlap.
26956 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26958         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26959         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26960         fwd_align_merge macro call.
26961         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26962         bwd_align_merge macro call.
26963         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26965 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26967         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26968         bwd_align_merge macros.
26969         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26970         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26971         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26973 2012-04-18  David S. Miller  <davem@davemloft.net>
26975         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26977 2012-04-18  Andreas Jaeger  <aj@suse.de>
26979         [BZ# 6794]
26980         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26981         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26982         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26984         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26985         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26986         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26988         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26989         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26990         Adjust for changed ldbl-128 files.
26992         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26993         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26994         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26996 2012-04-17  David S. Miller  <davem@davemloft.net>
26998         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27000 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27002         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27003         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27004         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27005         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27006         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27007         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27009 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27011         [BZ #6794]
27012         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27013         * math/libm-test.inc: Add ilogb errno and exception tests.
27014         * math/w_ilogb.c: New file: ilogb wrapper.
27015         * math/w_ilogbf.c: New file: ilogbf wrapper.
27016         * math/w_ilogbl.c: New file: ilogbl wrapper.
27017         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27018         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27019         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27020         exception being thrown with 0.0 as argument.
27021         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27022         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27023         exception being thrown with 0.0 as argument.
27024         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27025         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27026         exception being thrown with 0.0 as argument.
27027         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27028         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27029         exception being thrown with 0.0 as argument.
27030         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27031         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27032         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27033         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27034         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27035         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27036         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27037         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27038         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27040 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27042         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27043         with altivec.
27045 2012-04-16  Marek Polacek  <polacek@redhat.com>
27047         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27049 2012-04-16  Marek Polacek  <polacek@redhat.com>
27051         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27052         operands of fdivp instruction.
27054 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27056         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27057         * elf/tst-auditmod3b.c: Likewise.
27058         * elf/tst-auditmod4b.c: Likewise.
27059         * elf/tst-auditmod5b.c: Likewise.
27060         * elf/tst-auditmod6b.c: Likewise.
27061         * elf/tst-auditmod6c.c: Likewise.
27062         * elf/tst-auditmod7b.c: Likewise.
27063         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27064         * sysdeps/x86_64/preconfigure.in: Likewise.
27065         * sysdeps/x86_64/preconfigure: Regenerated.
27067 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27069         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27070         __ILP32__.
27072 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27074         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27075         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27077 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27079         [BZ #13973]
27080         * locale/iso-639.def: Fix gl language name. Spotted by
27081         Yaron Shahrabani.
27083 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27085         [BZ #2074]
27086         * libio/libio.h (__io_write_fn): Update comment.
27088 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27090         [BZ #2074]
27091         * stdio.texi (Hook Functions): The user provided writer function
27092         is not allowed to return -1.
27094 2012-04-11  David S. Miller  <davem@davemloft.net>
27096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27098 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27100         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27101         Add a leading slash to rtkaio.
27103 2012-04-11  Jim Meyering  <meyering@redhat.com>
27105         [BZ #11959]
27106         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27107         It is not necessarily an error to ignore fwrite's return
27108         value.  One can reliably use ferror to test for errors after
27109         the fact.
27111 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27113         * bits/types.h (__snseconds_t): New type.
27114         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27116         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27117         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27118         (__SNSECONDS_T_TYPE): Likewise.
27119         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27120         (__SNSECONDS_T_TYPE): Likewise.
27121         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27122         (__SNSECONDS_T_TYPE): Likewise.
27124 2012-04-10  Andreas Jaeger  <aj@suse.de>
27126         [BZ #2636]
27127         * manual/time.texi (Processor Time): Return type of times is
27128         elapsed real time since an arbitrary point in the past.
27129         (CPU Time): Move CLK_TCK from here...
27130         (Processor Time): ...to here.  Correct description.
27131         * manual/conf.texi (Constants for Sysconf): Correct description of
27132         _SC_CLK_TCK.
27134 2012-04-10  David S. Miller  <davem@davemloft.net>
27136         [BZ #13967]
27137         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27138         where the is a gap between DT_REL(A) and DT_JMPREL.
27140 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27142         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27143         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27144         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27146 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27148         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27149         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27150         (dl_main): Handle --inhibit-cache.
27151         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27152         _dl_inhibit_cache.
27153         * elf/dl-load.c (_dl_map_object): Use it.
27154         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27156 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27158         [BZ #13872]
27159         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27160         (__ieee754_powl): Saturate large exponents rather than testing for
27161         overflow of y*log2(x).
27162         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27163         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27164         exceptions.
27166         [BZ #11521]
27167         * math/s_ctan.c: Include <float.h>.
27168         (__ctan): Avoid internal overflow or cancellation in calculating
27169         denominator.
27170         * math/s_ctanf.c: Likewise.
27171         * math/s_ctanl.c: Likewise.
27172         * math/s_ctanh.c: Likewise.
27173         * math/s_ctanhf.c: Likewise.
27174         * math/s_ctanhl.c: Likewise.
27175         * math/libm-test.inc (ctan_test): Add more tests.
27176         (ctanh_test): Likewise.
27177         * sysdeps/i386/fpu/libm-test-ulps: Update.
27178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27180 2012-04-09  Andreas Jaeger  <aj@suse.de>
27182         [BZ #6894]
27183         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27184         is an optional BSD extension.
27186         [BZ #10254]
27187         * manual/stdio.texi (Opening Streams): Document additional fopen
27188         parameters.
27190 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27192         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27193         %eax without telling the compiler.
27195 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27197         [BZ # 13963]
27198         * manual/install.texi: Use sourceware.org.
27200 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27202         [BZ #13873]
27203         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27204         (__ieee754_pow): Generate overflow and underflow using huge*huge
27205         and tiny*tiny rather than just returning constant infinity or zero
27206         for large exponents.
27207         * math/libm-test.inc (pow_test): Require overflow exceptions for
27208         applicable cases of large exponents.
27210         [BZ #706]
27211         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27212         (__ieee754_pow): Use iterative multiplication algorithm only for
27213         integer exponents with absolute value below 1024.  Check for odd
27214         integer exponents when using algorithm for real exponents.
27215         * math/libm-test.inc (pow_test): Add more tests.
27216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27218 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27220         [BZ #13705]
27221         * math/libm-test.inc (exp_test): Do not allow overflow exception
27222         on underflow test.
27224 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27226         [BZ #13705]
27227         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27228         instead of __kernel_standard_f.
27230 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27232         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27233         * sysdeps/x86_64/memset_chk.S: Likewise.
27235 2012-04-08  Andreas Jaeger  <aj@suse.de>
27237         [BZ #10153]
27238         * manual/startup.texi (Environment Access): Describe return value
27239         for putenv and setenv.
27241         [BZ #6895]
27242         * manual/filesys.texi (Directory Entries): Add description for
27243         DT_LNK.
27245         [BZ #6890]
27246         * manual/filesys.texi (Directory Entries): Clarify that it's file
27247         system not operating system in the description of DT_UNKNOWN.
27249         [BZ #6578]
27250         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27252 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27254         [BZ #6649]
27255         * manual/llio.texi (Opening and Closing Files): Add cross
27256         reference to explain mode argument.
27258 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27260         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27261         * sysdeps/x86_64/memset_chk.S: Likewise.
27263 2012-04-07  David S. Miller  <davem@davemloft.net>
27265         * elf/elf.h (R_SPARC_WDISP10): Define.
27266         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27267         R_SPARC_SIZE32.
27268         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27269         R_SPARC_SIZE64 and R_SPARC_H34.
27271 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27273         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27274         conditions and remove no longer applicable assertion.
27276 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27278         * bits/byteswap.h: Include <features.h>.
27279         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27280         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27282 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27284         * bits/byteswap.h (__bswap_16): Removed.
27285         Include <bits/byteswap-16.h> to get __bswap_16.
27286         * sysdeps/i386/bits/byteswap.h: Likewise.
27287         * sysdeps/s390/bits/byteswap.h: Likewise.
27288         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27289         * bits/byteswap-16.h: New file.
27290         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27291         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27292         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27293         * string/Makefile (headers): Add bits/byteswap-16.h.
27295 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27297         [BZ #13895]
27298         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27299         extra indirection.
27300         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27301         * nss/tst-nss-static.c: New.
27303 2012-04-06  Robert Millan  <rmh@gnu.org>
27305         [BZ #6486]
27306         * manual/llio.texi (File Position Primitive): lseek
27307         refers to WHENCE when it really means OFFSET.
27309 2012-04-06  Andreas Jaeger  <aj@suse.de>
27311         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27312         strncmp declarations.
27314         * abilist/libc.abilist: Add __poll and __ppoll.
27316 2012-04-05  David S. Miller  <davem@davemloft.net>
27318         * scripts/check-local-headers.sh: Accept a host triplet in the
27319         path matched by the exclude regexp.
27321         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27322         definition.
27323         * sysdeps/powerpc/powerpc32/dl-machine.h
27324         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27325         * sysdeps/s390/s390-32/dl-machine.h
27326         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27327         * sysdeps/sparc/sparc32/dl-machine.h
27328         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27329         * sysdeps/sparc/sparc64/dl-machine.h
27330         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27332         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27333         lazy binding.
27334         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27335         undefined symbol errors.
27337         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27338         DT_NEEDED entries.
27340 2012-04-05  Michael Matz  <matz@suse.de>
27342         [BZ #13592]
27343         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27345 2012-04-05  Andreas Jaeger  <aj@suse.de>
27347         [BZ #13908]
27348         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27349         comment.
27351 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27353         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27354         which ROUND is no valid rounding mode.
27356 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27358         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27359         read again.
27360         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27362 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27364         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27365         an exception using FPU order intentionally.
27367 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27369         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27370         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27371         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27372         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27374 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27376         [BZ #12340]
27377         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27378         EINVAL when BUFLEN is too smal.
27380 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27382         [BZ #13553]
27383         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27384         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27386 2012-04-03  Andreas Jaeger  <aj@suse.de>
27388         [BZ #13938]
27389         * manual/setjmp.texi (System V contexts): Fix sentence.
27391         [BZ #13926]
27392         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27393         New macro for this case.
27394         [!__GNUC__] (__bswap_64): New inline function for this case.
27395         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27396         * bits/byteswap.h: Likewise.
27397         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27398         ull, guard with __GLIBC_HAVE_LONG_LONG.
27400         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27401         __GLIBC_HAVE_LONG_LONG.
27403         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27404         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27406 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27408         [BZ #13691]
27409         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27410         inptr and inend, rather than using last_ch.
27412 2012-04-02  David S. Miller  <davem@davemloft.net>
27414         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27415         * stdio-common/printf-parse.h (read_int): Change return type to
27416         'int', return -1 on INT_MAX overflow.
27417         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27418         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27419         overflows INT_MAX.  Check for overflow of in-format-string precision
27420         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27421         SIZE_MAX not INT_MAX for integer overflow test.
27422         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27423         skip the construct in the format string but do not record anything.
27424         * stdio-common/bug22.c: Adjust to test both width/prevision
27425         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27426         explicitly for proper errno values.
27428 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27430         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27431         CHAR_MAX.
27432         * string/test-strcmp.c [! WIDE]: Likewise.
27433         * time/tst-mktime2.c: Likewise for INT_MAX.
27434         * string/test-string.h: #include <sys/param.h> for MIN.
27436         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27437         * sysdeps/i386/init-first.c (init): Likewise.
27438         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27439         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27440         * sysdeps/sh/init-first.c (init): Likewise.
27442 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27444         * po/ru.po: Update from translation team.
27445         * po/vi.po: Likewise.
27447 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27449         * resolv/nss_dns/dns-host.c: Merge copyright years.
27451 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27453         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27454         Optimize memcpy with prefetch if
27455         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27456         src, dst pointers have unequal 16 byte alignments.
27458 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27460         [BZ #13928]
27461         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27462         from a CNAME entry and return the minimum ttl for the query.
27463         (gaih_getanswer_slice): Likewise.
27465 2012-03-30  Jeff Law  <law@redhat.com>
27467         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27468         due to long keys.
27469         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27470         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27472         * resolv/nss_dns/dns-host.c: Update copyright year.
27474 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27476         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27477         requests to save a system call.  Fix check that all bytes are sent.
27479         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27480         comments for sendmmsg.
27482 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27484         [BZ #13691]
27485         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27486         with only 1 character between 0x0041 and 0x01b0.
27487         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27488         * wcsmbs/tst-mbsnrtowcs.c: New file.
27490 2012-03-29  David S. Miller  <davem@davemloft.net>
27492         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27493         small copies by hand.
27495 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27497         [BZ #13761]
27498         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27499         _nss_compat_initgroups_dyn): Fall back to malloc/free
27500         for large group memberships.
27502 2012-03-28  David S. Miller  <davem@davemloft.net>
27504         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27505         that branches into memcpy.
27506         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27507         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27508         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27509         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27510         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27511         bits.
27512         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27513         implementation too.
27514         * sysdeps/sparc/mempcpy.S: New file.
27516         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27517         the IFUNC routine in the libc case.
27518         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27520         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27521         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27522         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27523         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27524         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27525         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27526         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27527         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27529         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27530         loop to 256 bytes instead of 64 bytes and fix test signedness.
27532         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27533         * sysdeps/sparc/sparc32/Makefile: rather than here...
27534         * sysdeps/sparc/sparc64/Makefile: and here.
27536 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27538         * malloc/mallocbug.c: Avoid warnings about unused variables.
27540 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27542         [BZ #13760]
27543         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27544         in the right place. Discard and retry query if response is
27545         larger than input buffer size.
27547 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27549         [BZ #369]
27550         [BZ #2678]
27551         [BZ #3866]
27552         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27553         x for large integer exponent.
27554         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27555         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27556         sign of result as needed afterwards.
27557         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27558         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27559         result for underflowing pow the same as for overflow.
27560         (__kernel_standard_l): Handle powl overflow and underflow here
27561         rather than calling __kernel_standard.
27562         * math/libm-test.inc (pow_test): Add more tests.
27564         [BZ #3868]
27565         [BZ #13879]
27566         [BZ #13910]
27567         [BZ #13911]
27568         [BZ #13912]
27569         [BZ #13913]
27570         [BZ #13915]
27571         [BZ #13916]
27572         [BZ #13917]
27573         [BZ #13918]
27574         [BZ #13919]
27575         [BZ #13920]
27576         [BZ #13921]
27577         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27578         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27579         (__kernel_standard_l): New function.
27580         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27581         __kernel_standard.
27582         * math/w_acosl.c (__acosl): Likewise.
27583         * math/w_asinl.c (__asinl): Likewise.
27584         * math/w_atan2l.c (__atan2l): Likewise.
27585         * math/w_atanhl.c (__atanhl): Likewise.
27586         * math/w_coshl.c (__coshl): Likewise.
27587         * math/w_exp10l.c (__exp10l): Likewise.
27588         * math/w_exp2l.c (__exp2l): Likewise.
27589         * math/w_fmodl.c (__fmodl): Likewise.
27590         * math/w_hypotl.c (__hypotl): Likewise.
27591         * math/w_j0l.c (__j0l, __y0l): Likewise.
27592         * math/w_j1l.c (__j1l, __y1l): Likewise.
27593         * math/w_jnl.c (__jnl, __ynl): Likewise.
27594         * math/w_lgammal.c (__lgammal): Likewise.
27595         * math/w_log10l.c (__log10l): Likewise.
27596         * math/w_log2l.c (__log2l): Likewise.
27597         * math/w_logl.c (__logl): Likewise.
27598         * math/w_powl.c (__powl): Likewise.
27599         * math/w_remainderl.c (__remainderl): Likewise.
27600         * math/w_scalbl.c (sysv_scalbl): Likewise.
27601         * math/w_sinhl.c (__sinhl): Likewise.
27602         * math/w_sqrtl.c (__sqrtl): Likewise.
27603         * math/w_tgammal.c (__tgammal): Likewise.
27604         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27605         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27606         * math/libm-test.inc (acos_test): Add more tests.
27607         (acosh_test): Likewise.
27608         (asin_test): Likewise.
27609         (atanh_test): Likewise.
27610         (exp_test): Likewise.
27611         (exp10_test): Likewise.
27612         (exp2_test): Likewise.
27613         (expm1_test): Likewise.
27614         (lgamma_test): Likewise.
27615         (log_test): Likewise.
27616         (log10_test): Likewise.
27617         (log1p_test): Likewise.
27618         (log2_test): Likewise.
27619         (pow_test): Do not allow some spurious overflow exceptions.
27620         (sqrt_test): Add more tests.
27621         (tgamma_test): Likewise.
27622         (y0_test): Likewise.
27623         (y1_test): Likewise.
27624         (yn_test): Likewise.
27626 2012-03-27  Anton Blanchard  <anton@samba.org>
27628         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27629         MAP_HUGETLB.
27630         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27631         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27632         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27634 2012-03-27  David S. Miller  <davem@davemloft.net>
27636         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27638         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27639         have-as-vis3 check.
27641 2012-03-27  Andreas Jaeger  <aj@suse.de>
27643         * sysdeps/x86_64/elf/configure.in: Moved to ...
27644         * sysdeps/x86_64/configure.in: ... here.
27645         * sysdeps/x86_64/elf/start.S: Moved to ...
27646         * sysdeps/x86_64/start.S: ... here.
27647         * sysdeps/x86_64/elf/configure: Delete.
27649         * sysdeps/x86_64/configure.in: Merge contents from
27650         sysdeps/i386/configure.in (without i686 check).
27652         * sysdeps/i386/elf/Versions: Merge into ...
27653         * sysdeps/i386/Versions: ... this.
27654         * sysdeps/i386/elf/Versions: Delete file.
27655         * sysdeps/i386/elf/start.S: Moved to ...
27656         * sysdeps/i386/start.S: ...here.
27657         * sysdeps/i386/elf/configure.in: Merge into...
27658         * sysdeps/i386/configure.in: ...here.
27659         * sysdeps/i386/elf/configure.in: Delete file.
27660         * sysdeps/i386/elf/configure: Delete file.
27662         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27663         * debug/backtracesyms.c: ... here.
27664         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27665         * debug/backtracesymsfd.c: ... here.
27666         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27667         * sysdeps/generic/ifunc-sel.h: ... here.
27669         * sysdeps/unix/i386/start.c: Delete file.
27670         * sysdeps/unix/sparc/start.c: Delete file.
27671         * sysdeps/unix/start.c: Delete file.
27673         * sysdeps/sh/elf/configure.in: Moved to ...
27674         * sysdeps/sh/configure.in: ... here.
27675         * sysdeps/sh/elf/start.S: Moved to ...
27676         * sysdeps/sh/start.S: ... here.
27677         * sysdeps/sh/elf/configure: Delete file.
27679         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27680         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27681         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27682         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27683         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27684         * sysdeps/powerpc/powerpc64/start.S: here.
27685         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27686         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27687         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27688         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27689         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27691         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27692         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27693         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27694         * sysdeps/powerpc/powerpc32/start.S: ... here.
27695         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27696         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27697         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27699         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27700         * sysdeps/powerpc/ifunc-sel.h: ... here.
27701         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27702         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27704         * sysdeps/sparc/elf/configure.in: Moved to ...
27705         * sysdeps/sparc/configure.in: ... here.
27706         * sysdeps/sparc/elf/configure: Delete file.
27707         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27708         * sysdeps/sparc/sparc32/start.S: ... here.
27709         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27710         * sysdeps/sparc/sparc64/start.S: ... here.
27711         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27712         * sysdeps/sparc/sparc32/Makefile: ... this.
27713         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27714         * sysdeps/sparc/sparc64/Makefile: ... this.
27716         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27717         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27718         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27719         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27720         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27721         * sysdeps/s390/s390-32/setjmp.S: ... here.
27722         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27723         * sysdeps/s390/s390-32/configure.in: ... here.
27724         * sysdeps/s390/s390-32/elf/configure: Delete file.
27725         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27726         * sysdeps/s390/s390-32/start.S: ... here.
27728         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27729         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27730         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27731         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27732         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27733         * sysdeps/s390/s390-64/setjmp.S: ... here.
27734         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27735         * sysdeps/s390/s390-64/configure.in: ... here
27736         * sysdeps/s390/s390-64/elf/configure: Delete file.
27737         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27738         * sysdeps/s390/s390-64/start.S: ... here.
27739         * sysdeps/s390/s390-64/elf/configure: Delete.
27741         * configure.in: Remove support for elf directories in sysdeps.
27743         * configure: Regenerated.
27744         * sysdeps/i386/configure: Regenerated.
27745         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27746         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27747         * sysdeps/s390/s390-32/configure: Regenerated.
27748         * sysdeps/s390/s390-64/configure: Regenerated.
27749         * sysdeps/sh/configure: Regenerated.
27750         * sysdeps/sparc/configure: Regenerated.
27751         * sysdeps/x86_64/configure: Regenerated.
27753 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27757         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27758         denormal result into account.
27760 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27762         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27763         Reported by Allan McRae <allan@archlinux.org>.
27765 2012-03-23  Jeff Law  <law@redhat.com>
27767         * nss/getnssent.c (__nss_getent): Fix typo.
27769 2012-03-23  David S. Miller  <davem@davemloft.net>
27771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27773 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27775         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27776         to pad to uint64_t for each field.
27777         (dl_tls_index): Replace unsigned long with uint64_t.
27779 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27780         Paul Pluzhnikov  <ppluzhnikov@google.com>
27782         [BZ #6528]
27783         * grp/Makefile (otherlibs): Don't set it.
27784         * inet/Makefile (otherlibs): Likewise.
27785         * login/Makefile (otherlibs): Likewise.
27786         * nscd/Makefile (otherlibs): Likewise.
27787         * posix/Makefile (otherlibs): Likewise.
27788         * pwd/Makefile (otherlibs): Likewise.
27789         * rt/Makefile (otherlibs): Likewise.
27790         * sunrpc/Makefile (otherlibs): Likewise.
27791         * nss/Makefile (otherlibs): Likewise.
27792         Add libnss_files to routines and static-only-routines.
27793         ($(objpfx)getent): Remove rule.
27794         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27795         static-only-routines.
27797 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27799         [BZ #13892]
27800         * math/s_cexp.c: Include <float.h>.
27801         (__cexp): Handle exp result overflowing not necessarily
27802         overflowing both real and imaginary parts of result.
27803         * math/s_cexpf.c: Likewise.
27804         * math/s_cexpl.c: Likewise.
27805         * math/libm-test.inc (cexp_test): Add more tests.
27806         * sysdeps/i386/fpu/libm-test-ulps: Update.
27807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27809 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27811         * include/link.h (ELFW): New macro.
27812         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27813         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27815 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27817         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27818         with uint64_t.
27820 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27822         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27823         declaration.
27824         (struct La_x32_retval): Likewise.
27826 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27828         * sysdeps/x86_64/preconfigure.in: New file.
27829         * sysdeps/x86_64/preconfigure: New generated file.
27831 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27833         [BZ #13824]
27834         * math/e_exp2l.c: Include <float.h>.
27835         (__ieee754_exp2l): Handle overflow and underflow cases
27836         separately.  Only pass fractional part of argument to
27837         __ieee754_expl.
27838         * math/libm-test.inc (exp2_test): Add more tests.
27840         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27841         negating x to take absolute value.
27842         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27843         Likewise.
27844         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27845         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27846         Likewise.
27847         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27848         computing low part if x was negated.
27849         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27851 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27853         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27854         la_x32_gnu_pltexit.
27855         (pltexit): Cast int_retval to ptrdiff_t.
27856         * elf/tst-auditmod3b.c: Likewise.
27857         * elf/tst-auditmod4b.c: Likewise.
27858         * elf/tst-auditmod5b.c: Likewise.
27859         * elf/tst-auditmod6b.c: Likewise.
27860         * elf/tst-auditmod6c.c: Likewise.
27861         * elf/tst-auditmod7b.c: Likewise.
27863         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27864         and x32_gnu_pltexit.
27866         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27867         __ELF_NATIVE_CLASS.
27868         (La_x32_regs): New macro.
27869         (La_x32_retval): Likewise.
27870         (la_x32_gnu_pltenter): New function prototype.
27871         (la_x32_gnu_pltexit): Likewise.
27873 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27875         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27876         exponent.
27878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27880         * configure.in (libc_cv_cc_nofma): Check for option to disable
27881         generation of FMA instructions.
27882         * configure: Regenerate.
27883         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27884         * sysdeps/ieee754/dbl-64/Makefile: New file.
27885         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27886         Remove brandred-fma4.
27887         (CFLAGS-brandred-fma4.c): Remove.
27888         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27889         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27890         define.
27891         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27892         define.
27894 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27896         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27897         LLONG_MAX != LONG_MAX.
27898         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27899         (_fitoa_word): Likewise.
27900         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27901         LLONG_MAX != LONG_MAX.
27902         * stdio-common/_itowa.h: Include <_itoa.h>.
27903         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27904         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27905         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27906         only if not defined.
27907         (_ITOA_WORD_TYPE): Likewise.
27908         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27909         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27911 2012-03-21  David S. Miller  <davem@davemloft.net>
27913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27915 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27917         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27918         of x86_64 when setting libc_cv_slibdir, libdir and
27919         libc_cv_localedir.
27920         * sysdeps/unix/sysv/linux/configure: Regenerated.
27922 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27924         * manual/lang.texi (Old Varargs): Remove section.
27925         (How Variadic): Update menu.
27926         (va_start): Do not mention varargs.h.
27928 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27929             Joseph Myers  <joseph@codesourcery.com>
27931         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27932         link test.
27933         * configure: Regenerated.
27935 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27937         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27938         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27939         conformtest.pl
27941 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27943         * NOTES: Remove.
27944         * Makefile (files-for-dist): Remove NOTES.
27945         (NOTES): Remove rule.
27946         * README: Don't refer to NOTES.
27947         * manual/creature.texi: Don't include macros.texi.
27948         * manual/intro.texi (creature.texi): Remove comment referring to
27949         NOTES.
27951         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27952         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27953         * configure: Regenerated.
27954         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27955         LIBC_TRY_CC_OPTION.
27956         (libc_cv_as_i686): Likewise.
27957         (libc_cv_cc_avx): Likewise.
27958         (libc_cv_cc_sse2avx): Likewise.
27959         (libc_cv_cc_fma4): Likewise.
27960         (libc_cv_cc_novzeroupper): Likewise.
27961         * sysdeps/i386/configure: Regenerated.
27963         [BZ #13883]
27964         * sysdeps/i386/fpu/s_cexp.S: Remove.
27965         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27966         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27967         * math/libm-test.inc (cexp_test): Add more tests.
27968         * sysdeps/i386/fpu/libm-test-ulps: Update.
27969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27971 2012-03-21  Allan McRae  <allan@archlinux.org>
27973         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27975 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27977         [BZ #13871]
27978         * math/w_exp2.c: Do not include <float.h>.
27979         (o_threshold, u_threshold): Remove.
27980         (__exp2): Calculate result before checking finiteness and calling
27981         __kernel_standard.
27982         * math/w_exp2f.c: Likewise.
27983         * math/w_exp2l.c: Likewise.
27984         * math/libm-test.inc (exp2_test): Require overflow exception for
27985         1e6 input.
27987         [BZ #3866]
27988         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27989         range of signed 64-bit integers before using fistpll.  Remove
27990         checks for whether integers fit in mantissa bits.
27991         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27992         the range of signed 32-bit integers before using fistpl.  Remove
27993         checks for whether integers fit in mantissa bits.
27994         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27995         (__ieee754_powl): Test for y outside the range of signed 64-bit
27996         integers before using fistpll.  Reduce 64-bit values to 63-bit
27997         ones as needed.
27998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27999         divide-by-zero is raised for zero to large negative powers.
28000         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28001         (__ieee754_powl): Test for y outside the range of signed 64-bit
28002         integers before using fistpll.  Reduce 64-bit values to 63-bit
28003         ones as needed.
28004         * math/libm-test.inc (pow_test): Add more tests.
28006 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28008         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28009         <stdio-common/_itoa.h>.
28010         * debug/segfault.c: Likewise.
28011         * elf/dl-cache.c: Likewise.
28012         * elf/dl-minimal.c: Likewise.
28013         * elf/dl-misc.c: Likewise.
28014         * elf/dl-sysdep.c: Likewise.
28015         * elf/dl-version.c: Likewise.
28016         * elf/rtld.c: Likewise.
28017         * hurd/hurdsock.c: Likewise.
28018         * hurd/lookup-retry.c: Likewise.
28019         * malloc/malloc.c: Likewise.
28020         * malloc/mtrace.c: Likewise.
28021         * nscd/nscd_getgr_r.c: Likewise.
28022         * nscd/nscd_getpw_r.c: Likewise.
28023         * nscd/nscd_getserv_r.c: Likewise.
28024         * posix/getopt_init.c: Likewise.
28025         * posix/wordexp.c: Likewise.
28026         * stdio-common/_itoa.c: Likewise.
28027         * stdio-common/printf_fphex.c: Likewise.
28028         * stdio-common/vfprintf.c: Likewise.
28029         * string/_strerror.c: Likewise.
28030         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28031         * sysdeps/i386/i686/hp-timing.h: Likewise.
28032         * sysdeps/mach/_strerror.c: Likewise.
28033         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28034         * sysdeps/mach/hurd/sethostid.c: Likewise.
28035         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28036         * sysdeps/mach/xpg-strerror.c: Likewise.
28037         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28038         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28039         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28040         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28041         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28042         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28043         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28044         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28045         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28046         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28047         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28048         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28049         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28050         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28051         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28052         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28053         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28054         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28055         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28056         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28057         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28059         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28061         * stdio-common/_itoa.h: Moved to ...
28062         * sysdeps/generic/_itoa.h: Here.
28064         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28066         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28067         instead of "_itoa.h" and "_itowa.h".
28068         * stdio-common/vfprintf.: Likewise.
28070 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28072         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28073         <bits/wordsize.h>.
28074         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28075         (__signbit): Likwise.
28076         (llrintf): Likwise.
28077         (llrint): Likwise.
28079 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28081         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28082         __WORDSIZE != 64.
28084 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28086         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28087         OVERFLOW_EXCEPTION_OK.
28088         * math/libm-test.inc ("Philosophy"): Update comment about
28089         exception testing.
28090         (OVERFLOW_EXCEPTION): Define.
28091         (OVERFLOW_EXCEPTION_OK): Likewise.
28092         (INVALID_EXCEPTION_OK): Renumber.
28093         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28094         (IGNORE_ZERO_INF_SIGN): Likewise.
28095         (test_exceptions): Handle FE_OVERFLOW.
28096         (exp10_test): Expect overflow exceptions.
28097         (exp2_test): Likewise.
28098         (expm1_test): Likewise.
28099         (nextafter_test): Likewise.
28100         (pow_test): Likewise.
28101         (scalbn_test): Likewise.
28102         (scalbln_test): Likewise.
28104 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28106         * sysdeps/x86_64/bits/atomic.h
28107         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28108         64bit integer.
28109         (atomic_exchange_acq): Likewise.
28110         (__arch_exchange_and_add_body): Likewise.
28111         (__arch_add_body): Likewise.
28112         (atomic_add_negative): Likewise.
28113         (atomic_add_zero): Likewise.
28115 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28117         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28118         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28120 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28122         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28123         Check __x86_64__ instead of __WORDSIZE.
28125 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28127         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28129 2012-03-19  David S. Miller  <davem@davemloft.net>
28131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28133         * sysdeps/sparc/fpu/fenv_private.h: New file.
28134         * sysdeps/sparc/fpu/math_private.h: Use it.
28135         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28136         Remove.
28137         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28138         (libc_feholdexcept_setroundl): Remove.
28139         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28140         Remove.
28141         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28142         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28144 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28146         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28147         int64_t instead of long int.
28148         (INSERT_WORDS64): Likwise.
28150 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28152         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28153         _Unwind_GetCFA return to _Unwind_Ptr first.
28155 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28157         [BZ #13629]
28158         * math/s_clog.c: Include <float.h>.
28159         (__clog): Scale large or subnormal inputs.
28160         * math/s_clogf.c: Likewise.
28161         * math/s_clogl.c: Likewise.
28162         * math/s_clog10.c: Include <float.h>.
28163         (M_LOG10_2): Define.
28164         (__clog10): Scale large or subnormal inputs.
28165         * math/s_clog10f.c: Likewise.
28166         * math/s_clog10l.c: Likewise.
28167         * math/libm-test.inc (clog_test): Add more tests.
28168         (clog10_test): Likewise.
28169         * sysdeps/i386/fpu/libm-test-ulps: Update.
28170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28172         [BZ #11451]
28173         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28174         x and y.
28175         * math/libm-test.inc (atan2_test): Add another test.
28177         * Makerules (common-objdir-compile): Remove.
28178         * sysdeps/unix/Makefile (config-generated): Do not add
28179         $(unix-generated) to variable.
28180         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28181         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28182         Remove rule.
28183         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28184         Likewise.
28185         [generic bits/local_lim.h] (before-compile): Do not append to
28186         variable.
28187         [generic bits/local_lim.h] (common-generated): Likewise.
28188         [generic sys/param.h] (before-compile): Do not append to variable.
28189         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28190         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28191         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28192         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28193         include.
28194         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28195         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28196         [generic sys/param.h] ($(addprefix
28197         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28198         [generic sys/param.h] (common-generated): Do not append to
28199         variable.
28200         [generic sys/param.h] (sysdep_headers): Likewise.
28201         [generic bits/errno.h] (before-compile): Do not append to
28202         variable.
28203         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28204         rule.
28205         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28206         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28207         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28208         [generic bits/errno.h] (common-generated): Do not append to
28209         variable.
28210         [generic bits/ioctls.h] (before-compile): Do not append to
28211         variable.
28212         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28213         rule.
28214         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28215         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28216         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28217         rule.
28218         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28219         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28220         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28221         [generic bits/ioctls.h] (common-generated): Do not append to
28222         variable.
28223         [generic sys/syscall.h] (syscall.h): Remove variable.
28224         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28225         rule.
28226         [generic sys/syscall.h] (before-compile): Do not append to
28227         variable.
28228         [generic sys/syscall.h] (common-generated): Likewise.
28229         * sysdeps/unix/errnos-tmpl.c: Remove file.
28230         * sysdeps/unix/errnos.awk: Likewise.
28231         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28232         * sysdeps/unix/ioctls.awk: Likewise.
28233         * sysdeps/unix/mk-local_lim.c: Likewise.
28234         * sysdeps/unix/snarf-ioctls: Likewise.
28236 2012-03-19  Richard Henderson  <rth@twiddle.net>
28238         * sysdeps/i386/fpu/fenv_private.h: New file.
28239         * sysdeps/i386/fpu/math_private.h: Use it.
28240         (math_opt_barrier, math_force_eval): Remove.
28241         (libc_feholdexcept_setround_53bit): Remove.
28242         (libc_feupdateenv_53bit): Remove.
28243         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28244         (math_opt_barrier, math_force_eval): Remove.
28245         (libc_feholdexcept): Remove.
28246         (libc_feholdexcept_setround): Remove.
28247         (libc_fetestexcept, libc_fesetenv): Remove.
28248         (libc_feupdateenv_test): Remove.
28249         (libc_feupdateenv, libc_feholdsetround): Remove.
28250         (libc_feresetround): Remove.
28252         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28253         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28255         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28256         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28257         (libc_feupdateenv_testl): New.
28258         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28259         (libc_feupdateenv_testf): New.
28260         (libc_feupdateenv): Use libc_feupdateenv_test.
28261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28262         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28264         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28265         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28266         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28267         (libc_feresetround_noex): New.
28268         (libc_feresetround_noexf): New.
28269         (libc_feresetround_noexl): New.
28270         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28271         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28272         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28273         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28274         SET_RESTORE_ROUND.
28275         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28276         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28277         (__cos): Likewise.
28278         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28279         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28280         SET_RESTORE_ROUND_NOEX.
28281         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28282         SET_RESTORE_ROUND_NOEXF.
28283         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28284         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28285         (libc_feholdsetroundf): New.
28286         (libc_feresetround, libc_feresetroundf): New.
28288         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28289         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28290         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28292         * sysdeps/generic/math_private.h: Include <fenv.h>.
28293         (default_libc_feholdexcept): New.
28294         (default_libc_feholdexcept_setround): New.
28295         (default_libc_fesetenv, default_libc_feupdateenv): New.
28296         (libc_feholdexcept): Only define if undefined.
28297         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28298         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28299         (libc_feholdexcept_setroundl): Likewise.
28300         (libc_feholdexcept_setround_53bit): Likewise.
28301         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28302         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28303         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28304         (libc_feupdateenv_53bit): Likewise.
28305         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28306         (libc_feholdexcept): Convert from macro to inline function.
28307         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28308         (libc_fesetenv, libc_feupdateenv): Likewise.
28310         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28311         not previously defined.
28312         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28313         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28314         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28315         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28316         * sysdeps/ieee754/flt-32/math_private.h: New file.
28317         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28318         math_private.h below SET_FLOAT_WORD.
28319         (__isnan, __isinf_ns, __finite): Remove.
28320         (__isnanf, __isinf_nsf, __finitef): Remove.
28322 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28326 2012-03-17  David S. Miller  <davem@davemloft.net>
28328         [BZ #6471]
28329         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28330         for 2.16.
28332 2012-03-16  David S. Miller  <davem@davemloft.net>
28334         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28335         warnings.
28337         [BZ #6471]
28338         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28339         properly.
28340         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28341         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28342         sysdep_routines when subdir is sysvipc.
28343         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28344         __getshmlba helper.
28346         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28348 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28350         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28351         [__LP64__].
28353 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28355         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28356         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28357         (__lround): Renamed to ...
28358         (__llround): This.  Replace long int with long long int.
28359         Define lround functions as aliases of llround functions.
28360         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28362 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28364         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28365         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28366         adresses to uintptr_t.  Replace "long int" and "unsigned long
28367         int" with "greg_t" on va_arg.
28369 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28371         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28372         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28374         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28375         Move e_machine check before EI_CLASS check.  Handle x32
28376         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28377         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28378         SKIP_EM_IA_64 and include
28379         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28381         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28382         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28383         (add_system_dir): New macro.
28385         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28386         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28388 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28390         [BZ #2551]
28391         [BZ #2552]
28392         [BZ #2553]
28393         [BZ #2554]
28394         [BZ #2562]
28395         [BZ #2563]
28396         [BZ #2565]
28397         [BZ #2566]
28398         [BZ #2576]
28399         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28400         (y0): Likewise.
28401         * math/w_j0f.c (j0f): Likewise.
28402         (y0f): Likewise.
28403         * math/w_j0l.c (__j0l): Likewise.
28404         (__y0l): Likewise.
28405         * math/w_j1.c (j1): Likewise.
28406         (y1): Likewise.
28407         * math/w_j1f.c (j1f): Likewise.
28408         (y1f): Likewise.
28409         * math/w_j1l.c (__j1l): Likewise.
28410         (__y1l): Likewise.
28411         * math/w_jn.c (jn): Likewise.
28412         (yn): Likewise.
28413         * math/w_jnf.c (jnf): Likewise.
28414         (ynf): Likewise.
28415         * math/w_jnl.c (__jnl): Likewise.
28416         (__ynl): Likewise.
28417         * math/libm-test.inc (j0_test): Add more tests.
28418         (j1_test): Likewise.
28419         (jn_test): Likewise.  Add trailing semicolon to existing test.
28420         (y0_test): Likewise.
28421         (y1_test): Likewise.
28422         * sysdeps/i386/fpu/libm-test-ulps: Update.
28423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28425         [BZ #13851]
28426         [BZ #13854]
28427         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28428         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28429         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28430         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28431         (__tanl): Set errno for infinite argument.
28432         * sysdeps/i386/fpu/mptan.c: Remove.
28433         * sysdeps/i386/fpu/s_tan.S: Likewise.
28434         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28435         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28436         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28437         * math/libm-test.inc (tan_test): Add more tests and enable more
28438         tests for double and long double.
28439         * sysdeps/i386/fpu/libm-test-ulps: Update.
28440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28442 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28444         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28445         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28447 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28449         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28450         * configure.in: Use it for both main tree and add-ons.
28451         * configure: Regenerated.
28453 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28455         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28457 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28459         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28460         in comment.
28462         [BZ #13851]
28463         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28464         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28465         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28466         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28467         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28468         infinite argument.
28469         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28470         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28471         != 0 for prec == 2.
28472         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28473         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28474         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28475         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28476         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28477         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28478         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28479         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28480         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28481         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28482         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28483         * math/libm-test.inc (cos_test): Add more tests and enable more
28484         tests for long double.
28485         (sin_test): Likewise.
28486         (sincos_test): Likewise.
28487         * sysdeps/i386/fpu/libm-test-ulps: Update.
28488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28490 2012-03-16  David S. Miller  <davem@davemloft.net>
28492         * sysdeps/sparc/fpu/math_private.h: New file.
28494 2012-03-15  David S. Miller  <davem@davemloft.net>
28496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28497         file.
28498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28500         file.
28501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28504         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28506         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28507         sysdep routines.
28508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28510         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28511         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28513         * sysdeps/sparc/sparc-ifunc.h: New file.
28514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28515         sparc-ifunc.h
28516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28518         Likewise.
28519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28520         Likewise.
28521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28525         Likewise.
28526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28531         Likewise.
28532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28533         Likewise.
28534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28538         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28540         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28541         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28542         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28543         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28548         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28552         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28553         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28554         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28555         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28556         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28557         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28559 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28561         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28562         scaling.
28563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28565 2012-03-15  Andreas Jaeger  <aj@suse.de>
28567         [BZ #13852]
28568         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28569         ieee754/flt-32 implementation for sin, cos and sincos.
28570         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28571         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28572         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28573         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28574         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28575         ieee754/flt-32 implementation for tan.
28577         * math/libm-test.inc (cos_test): Enable some large input tests for
28578         float as well
28579         (sin_test): Likewise.
28580         (sincos_test): Likewise.
28581         (tan_test): Add tests for large input.
28583         * sysdeps/i386/fpu/libm-test-ulps: Update.
28585 2012-03-15  Andreas Jaeger  <aj@suse.de>
28587         [BZ #13658]
28588         * math/libm-test.inc (cos_test): Add more test cases.
28589         (sin_test): Likewise.
28590         (sincos_test): Likewise.
28592 2012-03-15  Andreas Jaeger  <aj@suse.de>
28594         [BZ #13837]
28595         * math/libm-test.inc (cos_test): Add a test case for large input
28596         value.
28597         (sin_test): Likewise.
28598         (sincos_test): Likewise.
28600 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28601         Joseph Myers  <joseph@codesourcery.com>
28603         [BZ #13658]
28604         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28605         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28606         * sysdeps/i386/fpu/branred.c: Likewise.
28607         * sysdeps/i386/fpu/dosincos.c: Likewise.
28608         * sysdeps/i386/fpu/mpa.c: Likewise.
28609         * sysdeps/i386/fpu/s_cos.S: Likewise.
28610         * sysdeps/i386/fpu/s_sin.S: Likewise.
28611         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28612         * sysdeps/i386/fpu/sincos32.c: Likewise.
28614         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28615         Define.
28616         (libc_feupdateenv_53bit): Define.
28617         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28618         Define.
28619         (libc_feupdateenv_53bit): Define.
28621         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28622         53 bit (without extend i386 double precision).
28624         * math/libm-test.inc (sincos_test): Add tests for large input.
28625         (sin): Likewise.
28626         (cos): Likewise.
28628         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28630 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28634 2012-03-15  David S. Miller  <davem@davemloft.net>
28636         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28637         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28638         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28639         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28652         file.
28653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28655         file.
28656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28658         file.
28659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28661         file.
28662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28663         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28664         fmin/fmax sysdep routines.
28665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28667 2012-03-14  David S. Miller  <davem@davemloft.net>
28669         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28673         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28674         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28675         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28676         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28677         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28681         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28682         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28683         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28684         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28685         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28686         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28687         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28689         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28690         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28691         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28692         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28693         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28694         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28695         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28696         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28697         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28698         routines.
28699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28700         file.
28701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28703         file.
28704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28706         file.
28707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28709         file.
28710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28712         file.
28713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28715         file.
28716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28717         file.
28718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28719         file.
28720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28721         file.
28722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28723         New file.
28724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28725         file.
28726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28727         file.
28728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28730         file.
28731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28733         file.
28734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28736         file.
28737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28739         VIS3 routines.
28741         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28742         New file.
28744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28746         * sysdeps/sparc/configure.in: New file.
28747         * sysdeps/sparc/configure: Generate.
28748         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28749         * configure: Regenerate.
28750         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28751         * config.make.in (have-as-vis3): New.
28752         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28753         available use -Av9d instead of -Av9a.
28754         * sysdeps/sparc/sparc64/Makefile: Likewise.
28755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28757         New file.
28758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28759         file.
28760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28761         New file.
28762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28763         file.
28764         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28765         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28766         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28767         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28768         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28770         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28771         fzeros/fnegs to load 0x80000000 into a float register instead of
28772         using the stack.
28773         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28775 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28778         bits/syscall.h.
28779         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28780         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28781         ($(inst_includedir)/bits/syscall.h): Remove rule.
28782         ($(objpfx)bits/syscall.d): Include instead of
28783         $(objpfx)syscall-list.d.
28784         (generated): Change syscall-list.h and syscall-list.d to
28785         bits/syscall.h and bits/syscall.d.
28787 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28789         [BZ #13846]
28790         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28792 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28794         [BZ #13841]
28795         * math/s_csqrt.c: Include <float.h>.
28796         (__csqrt): Scale large or subnormal inputs.
28797         * math/s_csqrtf.c: Likewise.
28798         * math/s_csqrtl.c: Likewise.
28799         * math/libm-test.inc (csqrt_test): Add more tests.
28800         * sysdeps/i386/fpu/libm-test-ulps: Update.
28801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28803         [BZ #13840]
28804         * math/libm-test.inc (hypot_test): Add more tests.
28806 2012-03-13  David S. Miller  <davem@davemloft.net>
28808         [BZ #13840]
28809         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28810         double-precision for the calculation instead of scaling.
28812 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28814         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28815         manipulate bits before adding and subtracting TWO52[sx].
28816         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28817         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28818         Likewise.
28819         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28821 2012-03-13  David S. Miller  <davem@davemloft.net>
28823         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28824         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28825         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28826         rtld-global-offsets.h
28827         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28829         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28830         large parameters.
28832         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28834         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28835         'err' in the ifdef scope in which it is actually used.
28837         * nss/nss_db/db-init.c: Include string.h
28839 2012-03-12  David S. Miller  <davem@davemloft.net>
28841         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28842         masking out of the most significant byte of random value used.
28843         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28844         Fix coding style in previous change.
28846         * sysdeps/unix/sysv/linux/kernel-features.h
28847         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28848         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28849         expression.
28850         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28851         later.
28853 2012-03-11  David S. Miller  <davem@davemloft.net>
28855         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28856         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28857         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28858         for 'resultvar' otherwise things get truncated on 64-bit.
28860         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28861         Fix masking out of the most significant byte of random value used.
28863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28865 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28869 2012-03-09  David S. Miller  <davem@davemloft.net>
28871         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28872         variables with appropriate CPP guards.
28873         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28874         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28875         on resulting framesize and the management of the outregs buffer for pltexit.
28876         Preserve floating point return values across _dl_call_pltexit call.
28877         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28878         framesize and the management of the outregs buffer for pltexit.
28879         Preserve floating point return values across _dl_call_pltexit
28880         call.
28881         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28882         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28883         (print_exit): Fix format string for return register value.
28885 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28887         * sunrpc/Makefile (others): Add rpcgen.
28888         ($(objpfx)rpcgen): Remove special build rule and dependency on
28889         libc.
28890         * sunrpc/rpcgen.c: New file.
28892 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28894         [BZ #13673]
28895         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28896         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28897         * sysdeps/i386/crti.S: Likewise.
28898         * sysdeps/i386/crtn.S: Likewise.
28899         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28900         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28901         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28902         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28903         * sysdeps/sh/crti.S: Likewise.
28904         * sysdeps/sh/crtn.S: Likewise.
28905         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28907         [BZ #13673]
28908         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28909         with URL.
28910         * locale/programs/locfile-kw.gperf: Likewise.
28911         * locale/programs/charmap-kw.h: Regenerated.
28912         * locale/programs/locfile-kw.h: Likewise.
28914         [BZ #13673]
28915         * intl/plural.y: Replace FSF snail mail address with URL.
28916         * intl/plural.c: Regenerated.
28918 2012-03-09  Richard Henderson  <rth@twiddle.net>
28920         * include/math_private.h: Remove file.
28921         * math/math_private.h: Move file ...
28922         * sysdeps/generic/math_private.h: ... here.
28924         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28925         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28926         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28928         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28929         and <math_private.h>.
28930         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28931         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28932         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28933         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28934         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28935         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28936         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28937         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28938         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28939         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28940         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28941         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28942         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28943         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28944         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28945         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28946         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28947         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28948         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28949         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28950         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28951         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28952         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28953         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28954         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28955         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28956         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28957         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28958         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28959         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28960         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28961         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28962         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28963         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28964         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28965         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28966         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28967         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28968         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28969         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28970         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28971         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28972         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28973         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28974         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28975         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28976         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28977         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28978         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28979         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28980         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28981         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28982         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28983         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28984         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28985         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28986         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28987         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28988         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28989         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28990         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28991         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28992         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28993         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28994         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28995         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28996         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28997         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28998         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28999         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29000         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29001         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29002         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29003         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29004         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29005         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29006         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29007         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29008         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29009         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29010         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29011         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29012         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29013         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29014         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29015         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29016         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29017         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29018         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29019         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29020         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29021         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29022         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29023         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29024         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29025         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29026         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29027         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29028         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29029         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29030         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29031         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29032         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29033         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29034         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29035         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29036         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29037         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29038         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29039         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29040         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29041         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29042         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29043         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29044         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29045         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29046         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29047         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29048         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29049         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29050         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29051         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29052         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29053         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29054         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29055         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29056         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29057         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29058         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29059         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29060         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29061         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29062         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29063         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29064         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29065         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29066         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29067         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29068         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29069         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29070         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29071         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29072         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29073         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29074         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29075         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29076         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29077         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29078         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29079         * sysdeps/ieee754/k_standard.c: Likewise.
29080         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29081         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29082         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29083         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29084         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29085         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29086         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29087         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29088         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29089         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29090         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29091         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29092         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29093         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29094         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29095         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29096         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29097         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29098         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29099         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29100         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29101         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29102         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29103         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29104         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29105         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29106         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29107         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29108         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29109         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29110         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29111         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29112         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29113         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29114         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29115         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29116         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29117         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29118         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29119         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29120         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29121         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29122         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29123         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29124         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29125         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29126         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29127         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29128         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29129         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29130         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29131         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29132         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29133         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29134         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29135         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29136         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29137         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29138         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29139         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29140         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29141         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29142         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29143         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29144         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29145         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29146         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29147         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29148         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29149         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29150         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29151         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29152         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29153         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29154         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29155         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29156         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29157         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29158         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29159         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29160         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29161         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29162         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29163         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29164         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29165         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29166         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29167         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29168         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29169         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29170         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29171         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29172         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29173         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29174         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29175         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29176         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29177         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29178         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29179         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29180         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29181         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29182         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29183         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29184         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29185         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29186         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29187         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29188         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29189         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29190         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29191         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29192         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29193         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29194         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29195         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29196         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29197         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29198         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29199         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29200         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29201         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29202         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29203         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29204         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29205         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29206         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29207         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29208         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29209         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29210         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29211         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29212         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29213         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29214         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29215         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29216         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29217         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29218         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29219         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29220         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29221         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29222         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29223         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29224         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29225         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29226         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29227         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29228         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29229         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29230         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29231         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29232         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29233         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29234         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29235         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29236         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29237         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29238         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29239         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29240         * sysdeps/ieee754/s_lib_version.c: Likewise.
29241         * sysdeps/ieee754/s_matherr.c: Likewise.
29242         * sysdeps/ieee754/s_signgam.c: Likewise.
29243         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29244         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29245         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29246         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29247         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29248         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29249         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29250         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29251         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29252         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29253         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29254         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29255         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29256         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29257         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29258         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29259         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29260         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29261         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29262         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29263         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29265 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29267         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29268         * sunrpc/rpc_main.c: Likewise.
29269         * sunrpc/rpc_svcout.c: Likewise.
29271 2012-03-09  David S. Miller  <davem@davemloft.net>
29273         * include/math_private.h: New file.
29275 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29277         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29278         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29279         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29280         from <bits/socket_type.h>.
29281         (enum __socket_type): Don't define here.
29282         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29283         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29284         bits/socket_type.h.
29286         [BZ #13566]
29287         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29288         checking __USE_GNU.
29290         * Makerules ($(inst_includedir)/%.h): New rule.
29291         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29292         (install-others): Remove variable setting.
29293         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29295 2012-03-08  Richard Henderson  <rth@twiddle.net>
29297         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29298         from macro to inline function; merge with the
29299         !__LIBC_INTERNAL_MATH_INLINES version.
29300         (__ieee754_sqrtf): Likewise.
29302         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29303         to inline function.
29304         (__rintf, __floor, __floorf): Likewise.
29306         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29307         macro to inline function.
29308         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29310         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29311         not <math/math_private.h>.
29313 2012-03-08  David S. Miller  <davem@davemloft.net>
29315         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29316         copyright year.
29317         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29319 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29321         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29322         normalization.
29323         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29324         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29326 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29328         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29329         be defined individually, they must be defined as a block.  Define
29330         S for printing a string instead of hidint the different by using a
29331         macro for adding the 'l'.
29332         * stdio-common/tst-fphex-wide.c: Adjust.
29334 2012-03-07  Marek Polacek  <polacek@redhat.com>
29336         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29338 2012-03-08  Marek Polacek  <polacek@redhat.com>
29340         [BZ #13806]
29341         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29342         * stdio-common/tst-fphex.c: Define a few macros to make the
29343         test reusable.  Use them.
29344         * stdio-common/tst-fphex-wide.c: New file.
29346 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29348         [BZ #6911]
29349         * manual/macros.texi (gnusystems): New macro.
29350         (nongnusystems): Likewise.
29351         (gnulinuxhurdsystems): Likewise.
29352         (gnuhurdsystems): Likewise..
29353         (gnulinuxsystems): Likewise.
29354         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29355         variants of the GNU system, not "GNU system".
29356         * manual/conf.texi: Likewise.
29357         * manual/errno.texi: Likewise.  Update example of errno macro
29358         expansion.
29359         * manual/filesys.texi: Likewise.
29360         (getumask): Document as specific to GNU/Hurd.
29361         * manual/install.texi: Likewise.  Reword some references to
29362         GNU/Linux.
29363         * manual/intro.texi: Likewise.
29364         * manual/io.texi: Likewise.
29365         (File Name Portability): Detail which constraints are inapplicable
29366         to all GNU systems and which are only inapplicable to GNU/Hurd.
29367         * manual/job.texi: Likewise.
29368         * manual/llio.texi: Likewise.
29369         (O_NOCTTY): Document as present on GNU/Linux.
29370         * manual/maint.texi: Likewise.
29371         * manual/memory.texi: Likewise.
29372         * manual/pattern.texi: Likewise.
29373         * manual/pipe.texi: Likewise.
29374         * manual/process.texi: Likewise.
29375         * manual/resource.texi: Likewise.
29376         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29377         child on GNU/Hurd.
29378         * manual/setjmp.texi: Likewise.
29379         * manual/signal.texi: Likewise.
29380         * manual/startup.texi: Likewise.
29381         * manual/stdio.texi: Likewise.
29382         * manual/terminal.texi: Likewise.
29383         (ONLCR): Document as POSIX.
29384         (OXTABS): Document availability on GNU/Linux as XTABS.
29385         (ONOEOT): Document availability separately from other bits.
29386         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29387         * manual/time.texi: Likewise.
29388         * manual/users.texi: Likewise.
29389         * INSTALL: Regenerated.
29390         * sysdeps/gnu/errlist.c: Regenerated.
29392         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29393         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29394         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29395         puts.
29396         * configure: Regenerated.
29398 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29400         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29401         default includes instead of AC_HEADER_CHECK.
29402         * sysdeps/i386/configure: Regenerated.
29404         [BZ #10716]
29405         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29406         * math/s_cacoshf.c (__cacoshf): Likewise.
29407         * math/s_cacoshl.c (__cacoshl): Likewise.
29408         * math/s_casinh.c (__casinh): Set signs of result from argument.
29409         * math/s_casinhf.c (__casinhf): Likewise.
29410         * math/s_casinhl.c (__casinhl): Likewise.
29411         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29412         (casinh_test): Add more tests.
29413         * sysdeps/i386/fpu/libm-test-ulps: Update.
29414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29416 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29418         * po/zh_TW.po: Update from translation team.
29420         * login/Makefile (distribute): Remove variable.
29421         * catgets/Makefile: Likewise.
29422         * mach/Makefile: Likewise.
29423         * malloc/Makefile: Likewise.
29424         * misc/Makefile: Likewise.
29425         * iconv/Makefile: Likewise.
29426         * nscd/Makefile: Likewise.
29427         * hurd/Makefile: Likewise.
29428         * manual/Makefile: Likewise.
29429         * locale/Makefile: Likewise.
29430         * intl/Makefile: Likewise.
29431         * conform/Makefile: Likewise.
29432         * nss/Makefile: Likewise.
29433         * time/Makefile: Likewise.
29434         * soft-fp/Makefile: Likewise.
29435         * dirent/Makefile: Likewise.
29436         * gmon/Makefile: Likewise.
29437         * po/Makefile: Likewise.
29438         * rt/Makefile: Likewise.
29439         * socket/Makefile: Likewise.
29440         * math/Makefile: Likewise.
29441         * signal/Makefile: Likewise.
29442         * debug/Makefile: Likewise.
29443         * elf/Makefile: Likewise.
29444         * timezone/Makefile: Likewise.
29445         * stdlib/Makefile: Likewise.
29446         * iconvdata/Makefile: Likewise.
29447         * sunrpc/Makefile: Likewise.
29448         * io/Makefile: Likewise.
29449         * argp/Makefile: Likewise.
29450         * inet/Makefile: Likewise.
29451         * hesiod/Makefile: Likewise.
29452         * grp/Makefile: Likewise.
29453         * csu/Makefile: Likewise.
29454         * wctype/Makefile: Likewise.
29455         * crypt/Makefile: Likewise.
29456         * libio/Makefile: Likewise.
29457         * string/Makefile: Likewise.
29458         * nis/Makefile: Likewise.
29459         * resolv/Makefile: Likewise.
29460         * stdio-common/Makefile: Likewise.
29461         * wcsmbs/Makefile: Likewise.
29462         * dlfcn/Makefile: Likewise.
29463         * posix/Makefile: Likewise.
29465         [BZ #6959]
29466         * timezone/Makefile: Don't install timezone files, just the programs
29467         and scripts.
29469 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29471         * nss/databases.def: Add missing gshadow entry.
29473         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29475 2012-03-06  Marek Polacek  <polacek@redhat.com>
29477         [BZ #13726]
29478         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29479         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29480         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29481         * stdio-common/tst-long-dbl-fphex.c: New file.
29483 2012-03-06  David S. Miller  <davem@davemloft.net>
29485         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29486         (set_obp_int): New function.
29487         (get_obp_int): New function.
29488         (__get_clockfreq_via_dev_openprom): Likewise.
29489         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29490         Avoid unused variable warnings on 'val' and use builtin_expect.
29491         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29492         __builtin_expect.
29493         (INLINE_CLONE_SYSCALL): Likewise.
29495 2012-03-05  David S. Miller  <davem@davemloft.net>
29497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29499 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29503         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29504         only for |x| >= 40.
29505         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29507 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29509         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29510         Replace gettimeofday with __vdso_gettimeofday.
29512         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29513         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29514         __vdso_clock_gettime and __vdso_getcpu.
29516         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29517         time with __vdso_time.
29519 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29521         * manual/lang.texi (size_t): Note types to which size_t may be
29522         equivalent with the GNU C Library, but do not describe when
29523         differences between them are significant.
29525 2012-03-05  Andreas Jaeger  <aj@suse.de>
29527         * sysdeps/i386/fpu/libm-test-ulps: Update.
29529 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29531         [BZ #3976]
29532         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29533         (__ieee754_pow): Save and restore rounding mode and use
29534         round-to-nearest for main computations.
29535         * math/libm-test.inc (pow_test_tonearest): New function.
29536         (pow_test_towardzero): Likewise.
29537         (pow_test_downward): Likewise.
29538         (pow_test_upward): Likewise.
29539         (main): Call the new functions.
29540         * sysdeps/i386/fpu/libm-test-ulps: Update.
29541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29543         [BZ #3976]
29544         * math/libm-test.inc (cosh_test_tonearest): New function.
29545         (cosh_test_towardzero): Likewise.
29546         (cosh_test_downward): Likewise.
29547         (cosh_test_upward): Likewise.
29548         (sinh_test_tonearest): Likewise.
29549         (sinh_test_towardzero): Likewise.
29550         (sinh_test_downward): Likewise.
29551         (sinh_test_upward): Likewise.
29552         (main): Call the new functions.
29553         * sysdeps/i386/fpu/libm-test-ulps: Update.
29554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29556 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29558         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29559         default stack guard is set in last bytes.
29560         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29562 2012-03-05  Kees Cook  <keescook@chromium.org>
29564         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29566         [BZ #13656]
29567         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29568         possibly allocate from heap instead of stack.
29569         * stdio-common/bug-vfprintf-nargs.c: New file.
29570         * stdio-common/Makefile (tests): Add nargs overflow test.
29572 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29576 2012-03-03  Marek Polacek  <polacek@redhat.com>
29578         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29579         * math/math_private.h: Likewise.
29580         * stdlib/tst-strtod.c: Likewise.
29581         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29582         * sysdeps/x86_64/bits/atomic.h: Likewise.
29584 2012-03-02  David S. Miller  <davem@davemloft.net>
29586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29590         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29591         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29592         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29593         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29595 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29597         [BZ #13792]
29598         * manual/examples/README: New file, says the example source files
29599         can be used under GPL>=2.
29600         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29601         line containing just "*/".
29602         * manual/examples/add.c: Add copyright header (GPL>=2).
29603         * manual/examples/argp-ex1.c: Likewise.
29604         * manual/examples/argp-ex2.c: Likewise.
29605         * manual/examples/argp-ex3.c: Likewise.
29606         * manual/examples/argp-ex4.c: Likewise.
29607         * manual/examples/atexit.c: Likewise.
29608         * manual/examples/db.c: Likewise.
29609         * manual/examples/dir.c: Likewise.
29610         * manual/examples/dir2.c: Likewise.
29611         * manual/examples/execinfo.c: Likewise.
29612         * manual/examples/filecli.c: Likewise.
29613         * manual/examples/filesrv.c: Likewise.
29614         * manual/examples/fmtmsgexpl.c: Likewise.
29615         * manual/examples/genpass.c: Likewise.
29616         * manual/examples/inetcli.c: Likewise.
29617         * manual/examples/inetsrv.c: Likewise.
29618         * manual/examples/isockad.c: Likewise.
29619         * manual/examples/longopt.c: Likewise.
29620         * manual/examples/memopen.c: Likewise.
29621         * manual/examples/memstrm.c: Likewise.
29622         * manual/examples/mkfsock.c: Likewise.
29623         * manual/examples/mkisock.c: Likewise.
29624         * manual/examples/mygetpass.c: Likewise.
29625         * manual/examples/pipe.c: Likewise.
29626         * manual/examples/popen.c: Likewise.
29627         * manual/examples/rprintf.c: Likewise.
29628         * manual/examples/search.c: Likewise.
29629         * manual/examples/select.c: Likewise.
29630         * manual/examples/setjmp.c: Likewise.
29631         * manual/examples/sigh1.c: Likewise.
29632         * manual/examples/sigusr.c: Likewise.
29633         * manual/examples/stpcpy.c: Likewise.
29634         * manual/examples/strdupa.c: Likewise.
29635         * manual/examples/strftim.c: Likewise.
29636         * manual/examples/strncat.c: Likewise.
29637         * manual/examples/subopt.c: Likewise.
29638         * manual/examples/swapcontext.c: Likewise.
29639         * manual/examples/termios.c: Likewise.
29640         * manual/examples/testopt.c: Likewise.
29641         * manual/examples/testpass.c: Likewise.
29642         * manual/examples/timeval_subtract.c: Likewise.
29644         [BZ #13792]
29645         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29646         function to ...
29647         * manual/timeval_subtract.c.texi: ... here, new file.
29649 2012-03-02  David S. Miller  <davem@davemloft.net>
29651         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29653 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29655         [BZ #3976]
29656         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29657         (__sin): Save and restore rounding mode and use round-to-nearest
29658         for all computations.
29659         (__cos): Save and restore rounding mode and use round-to-nearest
29660         for all computations.
29661         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29662         <fenv.h>.
29663         (tan): Save and restore rounding mode and use round-to-nearest for
29664         all computations.
29665         * math/libm-test.inc (cos_test_tonearest): New function.
29666         (cos_test_towardzero): Likewise.
29667         (cos_test_downward): Likewise.
29668         (cos_test_upward): Likewise.
29669         (sin_test_tonearest): Likewise.
29670         (sin_test_towardzero): Likewise.
29671         (sin_test_downward): Likewise.
29672         (sin_test_upward): Likewise.
29673         (tan_test_tonearest): Likewise.
29674         (tan_test_towardzero): Likewise.
29675         (tan_test_downward): Likewise.
29676         (tan_test_upward): Likewise.
29677         (main): Call the new functions.
29678         * sysdeps/i386/fpu/libm-test-ulps: Update.
29679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29681         [BZ #10135]
29682         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29683         small n, then large n, before computing and testing k+n.
29684         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29685         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29686         Likewise.
29687         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29688         Likewise.
29689         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29690         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29691         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29692         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29693         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29694         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29695         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29696         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29697         * math/libm-test.inc (scalbn_test): Add more tests.
29698         (scalbln_test): Likewise.
29700         * manual/filesys.texi (mode_t): Describe constraints on size and
29701         signedness, not exact equivalence to a particular type.
29702         (ino_t): Likewise.
29703         (ino64_t): Likewise.
29704         (dev_t): Likewise.
29705         (nlink_t): Likewise.
29706         (blkcnt_t): Likewise.
29707         (blkcnt64_t): Likewise.
29708         * manual/llio.texi (off_t): Likewise.
29710         [BZ #3976]
29711         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29712         (__ieee754_exp): Save and restore rounding mode and use
29713         round-to-nearest for all computations.
29714         * math/libm-test.inc (exp_test_tonearest): New function.
29715         (exp_test_towardzero): Likewise.
29716         (exp_test_downward): Likewise.
29717         (exp_test_upward): Likewise.
29718         (main): Call the new functions.
29719         * sysdeps/i386/fpu/libm-test-ulps: Update.
29720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29722 2012-03-01  Chris Demetriou  <cgd@google.com>
29724         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29725         have predictable order.
29727 2012-03-01  David S. Miller  <davem@davemloft.net>
29729         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29731         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29732         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29733         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29734         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29736         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29737         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29738         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29740         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29741         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29742         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29743         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29744         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29748         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29749         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29750         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29752         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29753         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29754         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29755         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29756         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29757         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29758         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29759         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29760         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29761         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29762         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29763         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29764         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29765         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29766         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29767         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29768         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29769         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29770         * sysdeps/sparc/elf/configure: Regenerated.
29772 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29774         * configure.in (AS, LD): Require binutils 2.20 or later.
29775         * configure: Regenerated.
29776         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29777         as required minimum version.
29778         * INSTALL: Regenerated.
29780         [BZ #2541]
29781         [BZ #4108]
29782         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29783         before squaring exponent.
29784         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29785         bottom long double and 27 bits of top long double before squaring
29786         exponent.
29787         * math/libm-test.inc (erfc_test): Add more tests.
29788         * sysdeps/i386/fpu/libm-test-ulps: Update.
29789         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29792 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29794         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29795         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29796         containing bit-fields.
29797         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29798         * soft-fp/single.h (_FP_UNION_S): Likewise.
29799         * soft-fp/double.h (_FP_UNION_D): Likewise.
29801 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29803         [BZ #13786]
29804         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29805         not include ../strcmp.S.
29806         [USE_AS_STRNCASECMP_L]: Likewise.
29807         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29808         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29809         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29810         (__strncasecmp_l_ia32): Define as alias to
29811         __strncasecmp_l_nonascii.
29813         [BZ #5794]
29814         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29815         * sysdeps/i386/fpu/libm-test-ulps: Update.
29816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29818         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29821 2012-02-29  Jeff Law  <law@redhat.com>
29823         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29824         out of bounds read.
29826 2012-02-29  Marek Polacek  <polacek@redhat.com>
29828         [BZ #13706]
29829         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29830         * elf/Makefile: Add rules to run tst-unused-dep.out.
29832 2012-02-28  David S. Miller  <davem@davemloft.net>
29834         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29835         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29836         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29837         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29838         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29839         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29841 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29843         * math/libm-test.inc (llround_test): Move one test from
29844         lround_test.  Use TEST_f_L in moved test.
29845         (lround_test): Move misplaced test to llround_test.  Add testcase
29846         from bug 2561.
29848 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29850         * sysdeps/x86_64/fpu/e_expf.S: New file.
29851         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29853 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29855         [BZ #13637]
29856         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29857         of remain_len that may cause incomplete multi-byte character and
29858         false match.
29859         * posix/bug-regex33.c: New file.
29860         * posix/Makefile (tests): Add bug-regex33.
29862 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29864         * manual/macros.texi: New file.
29865         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29866         * manual/libc.texinfo: Include macros.texi.
29867         * manual/creatute.texi: Likewise.
29868         * manual/install.texi: Likewise.
29869         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29870         @glibcadj{} in references to the GNU C Library.
29871         * manual/charset.texi: Likewise.
29872         * manual/conf.texi: Likewise.
29873         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29874         when not using those macros.
29875         * manual/creature.texi: Likewise.
29876         * manual/crypt.texi: Likewise.
29877         * manual/errno.texi: Likewise.
29878         * manual/filesys.texi: Likewise.
29879         * manual/header.texi: Likewise.
29880         * manual/install.texi: Likewise.
29881         * manual/intro.texi: Likewise.
29882         * manual/io.texi: Likewise.
29883         * manual/job.texi: Likewise.
29884         * manual/lang.texi: Likewise.
29885         * manual/libc.texiinfo: Likewise.
29886         * manual/llio.texi: Likewise.
29887         * manual/locale.texi: Likewise.
29888         * manual/maint.texi: Likewise.
29889         * manual/math.texi: Likewise.
29890         * manual/memory.texi: Likewise.
29891         * manual/message.texi: Likewise.
29892         * manual/nss.texi: Likewise.
29893         * manual/pattern.texi: Likewise.
29894         * manual/process.texi: Likewise.
29895         * manual/resource.texi: Likewise.
29896         * manual/search.texi: Likewise.
29897         * manual/setjmp.texi: Likewise.
29898         * manual/signal.texi: Likewise.
29899         * manual/socket.texi: Likewise.
29900         * manual/startup.texi: Likewise.
29901         * manual/stdio.texi: Likewise.
29902         * manual/string.texi: Likewise.
29903         * manual/sysinfo.texi: Likewise.
29904         * manual/syslog.texi: Likewise.
29905         * manual/terminal.texi: Likewise.
29906         * manual/time.texi: Likewise.
29907         * manual/users.texi: Likewise.
29908         * INSTALL: Regenerated.
29909         * NOTES: Regenerated.
29910         * sysdeps/gnu/errlist.c: Regenerated.
29912 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29914         * include/dirent.h: Include <dirstream.h> before
29915         <dirent/dirent.h>.
29917 2012-02-28  David S. Miller  <davem@davemloft.net>
29919         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29920         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29921         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29922         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29924 2012-02-27  David S. Miller  <davem@davemloft.net>
29926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29928         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29929         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29932         frame pointer instead of stack pointer relative arg slot.
29933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29934         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29935         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29937 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29939         [BZ #3992]
29940         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29942 2012-02-27  David S. Miller  <davem@davemloft.net>
29944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29948         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29949         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29950         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29951         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29953 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29955         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29956         later.  Allow versions 5-9.
29957         * configure: Regenerated.
29958         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29959         required minimum version and 4.6 as recommended version.  Do not
29960         mention bugs in GCC 2.7 and 2.8.
29961         * INSTALL: Regenerated.
29963 2012-02-27  David S. Miller  <davem@davemloft.net>
29965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29969         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29970         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29971         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29972         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29974         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29975         manipulate bits before adding and subtracting TWO112[sx].
29976         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29978 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29980         [BZ #13775]
29981         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29982         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29983         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29984         being in POSIX, because they are in 1003.1-2008.
29986         * rt/tst-aio.c: Include <fcntl.h>.
29987         * rt/tst-aio7.c: Likewise.
29988         * rt/tst-aio64.c: Likewise.
29990         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29992 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29994         * manual/install.texi (--with-headers): Describe headers as
29995         interface headers, not private headers.
29996         (Specific advice for GNU/Linux systems): Describe use of headers
29997         from "make headers_install", not private headers from older
29998         kernels.
29999         * INSTALL: Regenerated.
30000         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30001         Change to 2.6.19.
30002         * sysdeps/unix/sysv/linux/configure: Regenerated.
30004         * manual/llio.texi (fclean): Remove documentation.
30006         * manual/Makefile (libc-texi-generated): New variable.  Include
30007         version.texi.
30008         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30009         $(libc-texi-generated), not duplicated list of files.
30010         (version.texi, stamp-version): New rules.
30011         (realclean): Remove $(libc-texi-generated), not individual files
30012         from that list.  Do not remove dir-add.texinfo.
30013         * manual/libc.texinfo: Comment out uses of edition numbers and
30014         references to printed manual.  Remove last-updated dates.
30015         (EDITION): Comment out.
30016         (ISBN): Likewise.
30017         (VERSION, UPDATED): Remove.
30018         (version.texi): Include.
30020 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30022         * sysdeps/posix/spawni.c: Include <signal.h>.
30023         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30024         * sysdeps/pthread/aio_fsync.c: Likewise.
30026 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30028         * conform/Makefile (tests): Run only when not cross-compiling and
30029         when fast-check is not defined.
30031         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30032         * conform/data/limits.h-data: Fixes for POSIX2008.
30033         * conform/run-conformtest.sh: Run all tests.
30034         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30035         headers.
30036         * include/bits/dlfcn.h: Likewise.
30037         * include/langinfo.h: Likewise.
30038         * include/monetary.h: Likewise.
30039         * include/sys/poll.h: Likewise.
30041         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30042         for __USE_GNU.
30043         * posix/spawn.h: Define __need_sigset_t.
30044         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30045         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30046         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30047         to get sigevent_t only.
30048         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30049         only for __USE_GNU.
30050         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30051         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30052         process_vm_writev only for __USE_GNU.
30053         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30055         * conform/Makefile: For now ignore errors from run-conformtest.
30056         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30057         POSIX to avoid namespace pollution.  Don't prepend headers.
30058         * conform/data/aio.h-data: Fixes for POSIX testing.
30059         * conform/data/fcntl.h-data: Likewise.
30060         * conform/data/glob.h-data: Likewise.
30061         * conform/data/grp.h-data: Likewise.
30062         * conform/data/pthread.h-data: Likewise.
30063         * conform/data/pwd.h-data: Likewise.
30064         * conform/data/signal.h-data: Likewise.
30065         * conform/data/spawn.h-data: Likewise.
30066         * conform/data/stdio.h-data: Likewise.
30067         * conform/data/stdlib.h-data: Likewise.
30068         * conform/data/stropts.h-data: Likewise.
30069         * conform/data/sys/mman.h-data: Likewise.
30070         * conform/data/sys/stat.h-data: Likewise.
30071         * conform/data/sys/types.h-data: Likewise.
30072         * conform/data/sys/wait.h-data: Likewise.
30073         * conform/data/time.h-data: Likewise.
30074         * conform/data/unistd.h-data: Likewise.
30075         * conform/data/utime.h-data: Likewise.
30077         * io/sys/stat.h: fchmod was always in POSIX.
30078         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30079         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30080         * rt/aio.h: Define __need_timespec before including <time.h>.
30081         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30082         struct.  Add forward declaration of pthread_attr_t and use it in
30083         sigevent.
30084         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30085         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30086         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30087         always remove CLK_TCK definition.
30089 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30091         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30093 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30095         * conform/run-conformtest.sh: New file.
30096         * conform/Makefile: Run run-conformtest for tests.
30097         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30098         support.
30100         * conform/data/uchar.h-data: New file.
30101         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30102         * conform/data/arpa/inet.h-data: Likewise.
30103         * conform/data/assert.h-data: Likewise.
30104         * conform/data/complex.h-data: Likewise.
30105         * conform/data/cpio.h-data: Likewise.
30106         * conform/data/ctype.h-data: Likewise.
30107         * conform/data/dirent.h-data: Likewise.
30108         * conform/data/dlfcn.h-data: Likewise.
30109         * conform/data/errno.h-data: Likewise.
30110         * conform/data/fcntl.h-data: Likewise.
30111         * conform/data/float.h-data: Likewise.
30112         * conform/data/fmtmsg.h-data: Likewise.
30113         * conform/data/fnmatch.h-data: Likewise.
30114         * conform/data/ftw.h-data: Likewise.
30115         * conform/data/glob.h-data: Likewise.
30116         * conform/data/grp.h-data: Likewise.
30117         * conform/data/iconv.h-data: Likewise.
30118         * conform/data/inttypes.h-data: Likewise.
30119         * conform/data/langinfo.h-data: Likewise.
30120         * conform/data/libgen.h-data: Likewise.
30121         * conform/data/limits.h-data: Likewise.
30122         * conform/data/locale.h-data: Likewise.
30123         * conform/data/math.h-data: Likewise.
30124         * conform/data/monetary.h-data: Likewise.
30125         * conform/data/mqueue.h-data: Likewise.
30126         * conform/data/ndbm.h-data: Likewise.
30127         * conform/data/net/if.h-data: Likewise.
30128         * conform/data/netdb.h-data: Likewise.
30129         * conform/data/netinet/in.h-data: Likewise.
30130         * conform/data/nl_types.h-data: Likewise.
30131         * conform/data/poll.h-data: Likewise.
30132         * conform/data/pthread.h-data: Likewise.
30133         * conform/data/pwd.h-data: Likewise.
30134         * conform/data/regex.h-data: Likewise.
30135         * conform/data/sched.h-data: Likewise.
30136         * conform/data/search.h-data: Likewise.
30137         * conform/data/semaphore.h-data: Likewise.
30138         * conform/data/setjmp.h-data: Likewise.
30139         * conform/data/signal.h-data: Likewise.
30140         * conform/data/spawn.h-data: Likewise.
30141         * conform/data/stdarg.h-data: Likewise.
30142         * conform/data/stdio.h-data: Likewise.
30143         * conform/data/stdlib.h-data: Likewise.
30144         * conform/data/string.h-data: Likewise.
30145         * conform/data/strings.h-data: Likewise.
30146         * conform/data/stropts.h-data: Likewise.
30147         * conform/data/sys/ipc.h-data: Likewise.
30148         * conform/data/sys/mman.h-data: Likewise.
30149         * conform/data/sys/msg.h-data: Likewise.
30150         * conform/data/sys/resource.h-data: Likewise.
30151         * conform/data/sys/select.h-data: Likewise.
30152         * conform/data/sys/sem.h-data: Likewise.
30153         * conform/data/sys/shm.h-data: Likewise.
30154         * conform/data/sys/socket.h-data: Likewise.
30155         * conform/data/sys/stat.h-data: Likewise.
30156         * conform/data/sys/statvfs.h-data: Likewise.
30157         * conform/data/sys/time.h-data: Likewise.
30158         * conform/data/sys/timeb.h-data: Likewise.
30159         * conform/data/sys/times.h-data: Likewise.
30160         * conform/data/sys/types.h-data: Likewise.
30161         * conform/data/sys/uio.h-data: Likewise.
30162         * conform/data/sys/un.h-data: Likewise.
30163         * conform/data/sys/utsname.h-data: Likewise.
30164         * conform/data/sys/wait.h-data: Likewise.
30165         * conform/data/syslog.h-data: Likewise.
30166         * conform/data/tar.h-data: Likewise.
30167         * conform/data/termios.h-data: Likewise.
30168         * conform/data/utime.h-data: Likewise.
30169         * conform/data/utmpx.h-data: Likewise.
30170         * conform/data/varargs.h-data: Likewise.
30171         * conform/data/wchar.h-data: Likewise.
30172         * conform/data/wctype.h-data: Likewise.
30173         * conform/data/wordexp.h-data: Likewise.
30175         * include/stropts.h: New file.
30176         * include/uchar.h: New file.
30177         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30178         * include/assert.h: Likewise.
30179         * include/ctype.h: Likewise.
30180         * include/dirent.h: Likewise.
30181         * include/dlfcn.h: Likewise.
30182         * include/fcntl.h: Likewise.
30183         * include/fnmatch.h: Likewise.
30184         * include/glob.h: Likewise.
30185         * include/grp.h: Likewise.
30186         * include/libio.h: Likewise.
30187         * include/locale.h: Likewise.
30188         * include/math.h: Likewise.
30189         * include/net/if.h: Likewise.
30190         * include/netdb.h: Likewise.
30191         * include/netinet/in.h: Likewise.
30192         * include/pthread.h: Likewise.
30193         * include/pwd.h: Likewise.
30194         * include/regex.h: Likewise.
30195         * include/sched.h: Likewise.
30196         * include/search.h: Likewise.
30197         * include/setjmp.h: Likewise.
30198         * include/signal.h: Likewise.
30199         * include/stdio.h: Likewise.
30200         * include/stdlib.h: Likewise.
30201         * include/string.h: Likewise.
30202         * include/sys/cdefs.h: Likewise.
30203         * include/sys/mman.h: Likewise.
30204         * include/sys/msg.h: Likewise.
30205         * include/sys/resource.h: Likewise.
30206         * include/sys/select.h: Likewise.
30207         * include/sys/socket.h: Likewise.
30208         * include/sys/stat.h: Likewise.
30209         * include/sys/statvfs.h: Likewise.
30210         * include/sys/time.h: Likewise.
30211         * include/sys/times.h: Likewise.
30212         * include/sys/uio.h: Likewise.
30213         * include/sys/utsname.h: Likewise.
30214         * include/sys/wait.h: Likewise.
30215         * include/termios.h: Likewise.
30216         * include/time.h: Likewise.
30217         * include/ulimit.h: Likewise.
30218         * include/unistd.h: Likewise.
30219         * include/utime.h: Likewise.
30220         * include/wchar.h: Likewise.
30221         * include/wctype.h: Likewise.
30222         * include/wordexp.h: Likewise.
30224         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30226         * time/time.h: TIME_UTC must be a macro.
30227         Make timespec_get available for ISO C11 only as well.
30229 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30231         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30232         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30234 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30236         * configure.in: Use -o not -a in test for unsupported multi-arch.
30238 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30240         * manual/texinfo.tex: Update to version 2012-01-19.16.
30242 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30244         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30246 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30248         [BZ #13738]
30249         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30250         * manual/fdl-1.3.texi: New file.
30251         * manual/fdl-1.1.texi: File removed.
30253         [BZ #13738]
30254         * manual/libc.texinfo (FDL_VERSION): New @set.
30255         Use it for mention of FDL in cover text.
30256         (Documentation License): Use it in @include file name.
30258 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30259             Roland McGrath  <roland@hack.frob.com>
30261         [BZ #5461]
30262         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30263         not LONG_LONG_MAX and LONG_LONG_MIN.
30264         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30265         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30266         name.
30267         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30269 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30271         [BZ #2547]
30272         [BZ #11365]
30273         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30274         manipulate bits before adding and subtracting TWO23[sx].
30275         * math/libm-test.inc (nearbyint_test): Add more tests.
30277 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30279         [BZ #2548]
30280         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30281         bits before adding and subtracting TWO23[sx].
30282         * math/libm-test.inc (rint_test): Add more tests.
30283         (rint_test_tonearest): Likewise.
30284         (rint_test_towardzero): Likewise.
30285         (rint_test_downward): Likewise.
30286         (rint_test_upward: Likewise.
30288 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30290         [BZ #10110]
30291         * include/stdc-predef.h: New file.  Extracted from features.h.
30292         * include/features.h: Include stdc-predef.h.
30293         * Makefile (headers): Add stdc-predef.h.
30294         * CONFORMANCE (Compiler limitations): Update.
30296 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30298         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30300 2012-02-21  David S. Miller  <davem@davemloft.net>
30302         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30303         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30305 2012-02-20  David S. Miller  <davem@davemloft.net>
30307         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30308         using a normal save/restore sequence, rather than allocating a
30309         dummy stack frame just to store a frame pointer and restore.
30310         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30312 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30314         * manual/install.texi: Fix stray word in line-wrapped comment.
30316 2012-02-20  David S. Miller  <davem@davemloft.net>
30318         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30319         both binutils and gcc support GOTDATA.
30321         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30322         "rd %pc" in the PIC register setup sequences.
30324         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30325         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30326         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30327         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30328         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30329         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30330         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30331         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30332         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30333         (SYSCALL_ERROR_HANDLER): Likewise.
30334         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30335         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30336         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30337         (SYSCALL_ERROR_HANDLER): Likewise.
30339         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30340         (HAVE_GCC_GOTDATA): New.
30341         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30342         relocation support in both binutils and gcc.
30343         * sysdeps/sparc/elf/configure: Regenerate.
30345         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30346         * sysdeps/sparc/sparc32/elf/configure: Delete.
30347         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30348         * sysdeps/sparc/sparc64/elf/configure: Delete.
30349         * sysdeps/sparc/elf/configure.in: New file.
30350         * sysdeps/sparc/elf/configure: Generate.
30352         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30353         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30354         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30355         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30356         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30358 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30360         * manual/install.texi: Do not mention specific glibc version
30361         numbers.
30362         * manual/libc.texinfo (VERSION, UPDATED): Update.
30363         (@copying): Use @copyright{} and range of years.
30365 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30367         [BZ #13695]
30368         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30369         [crti.S not in sysdirs] (generated): Do not append.
30370         [crti.S not in sysdirs] (omit-deps): Likewise.
30371         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30372         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30373         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30374         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30375         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30376         Likewise.
30377         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30378         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30379         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30380         * csu/defs.awk: Remove file.
30381         * sysdeps/generic/initfini.c: Likewise.
30382         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30383         variable.
30384         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30385         Likewise.
30387 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30389         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30390         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30391         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30392         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30393         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30394         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30395         <bits/epoll.h>.
30396         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30397         (__EPOLL_PACKED): Define to empty if not defined by
30398         <bits/epoll.h>.
30399         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30400         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30401         bits/epoll.h.
30403 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30405         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30406         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30407         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30408         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30409         <bits/timerfd.h>.
30410         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30412         bits/timerfd.h.
30414 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30416         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30417         in C locale.
30418         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30419         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30420         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30423 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30425         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30426         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30428 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30430         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30431         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30432         defined.
30433         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30434         Likewise.
30435         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30436         entry for 2.16.
30438 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30440         * math/w_acos.c: Use non-signaling floating-point comparisons.
30441         * math/w_acosf.c: Likewise.
30442         * math/w_acosh.c: Likewise.
30443         * math/w_acoshf.c: Likewise.
30444         * math/w_acoshl.c: Likewise.
30445         * math/w_acosl.c: Likewise.
30446         * math/w_asin.c: Likewise.
30447         * math/w_asinf.c: Likewise.
30448         * math/w_asinl.c: Likewise.
30449         * math/w_atanh.c: Likewise.
30450         * math/w_atanhf.c: Likewise.
30451         * math/w_atanhl.c: Likewise.
30452         * math/w_exp2.c: Likewise.
30453         * math/w_exp2f.c: Likewise.
30454         * math/w_exp2l.c: Likewise.
30455         * math/w_j0.c: Likewise.
30456         * math/w_j0f.c: Likewise.
30457         * math/w_j0l.c: Likewise.
30458         * math/w_j1.c: Likewise.
30459         * math/w_j1f.c: Likewise.
30460         * math/w_j1l.c: Likewise.
30461         * math/w_jn.c: Likewise.
30462         * math/w_jnf.c: Likewise.
30463         * math/w_log.c: Likewise.
30464         * math/w_log10.c: Likewise.
30465         * math/w_log10f.c: Likewise.
30466         * math/w_log10l.c: Likewise.
30467         * math/w_log2.c: Likewise.
30468         * math/w_log2f.c: Likewise.
30469         * math/w_log2l.c: Likewise.
30470         * math/w_logf.c: Likewise.
30471         * math/w_logl.c: Likewise.
30472         * math/w_sqrt.c: Likewise.
30473         * math/w_sqrtf.c: Likewise.
30474         * math/w_sqrtl.c: Likewise.
30475         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30476         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30477         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30478         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30479         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30481 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30483         [BZ #9739]
30484         * manual/string.texi (strnlen): Use correct parameter name in
30485         equivalent expression.
30487 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30489         [BZ #11174]
30490         * manual/users.texi (seteuid): Consistently use neweuid for
30491         argument name.
30493 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30495         [BZ #13704]
30496         * manual/nss.texi (Services in the NSS configuration): Correct
30497         list of services in example configuration file.
30499 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30501         [BZ #11322]
30502         * manual/arith.texi: Remove statements about negative zero
30503         behaving identically to zero.
30505 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30507         [BZ #5993]
30508         * manual/install.texi: Do not document upgrading from libc5.
30510 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30512         [BZ #4596]
30513         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30515 2012-02-18  David S. Miller  <davem@davemloft.net>
30517         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30518         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30519         %o7 across the call.
30520         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30521         instead.
30522         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30523         SETUP_PIC_REG_LEAF.
30524         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30525         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30526         * sysdeps/sparc/crtn.S: Likewise.
30528 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30530         * aout/Makefile: Remove.
30532 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30534         [BZ #13058]
30535         * manual/examples/argp-ex1.c (main): Format definition in GNU
30536         style.
30537         * manual/examples/argp-ex2.c (main): Likewise.
30538         * manual/examples/argp-ex3.c (main): Likewise.
30539         * manual/examples/argp-ex4.c (main): Likewise.
30540         * manual/examples/longopt.c (main): Use new-style prototype
30541         definition.
30542         * manual/examples/strncat.c (main): Specify return type and use
30543         (void) for arguments.
30544         * manual/examples/subopt.c (main): Use char **argv argument.
30546 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30548         [BZ #5077]
30549         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30550         rounding modes.
30552 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30554         [BZ #6907]
30555         * manual/string.texi (strchr): Change when strchrnul is
30556         recommended.
30558 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30560         [BZ #174]
30561         * manual/locale.texi (setlocale): Document LOCPATH.
30563 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30565         [BZ #10210]
30566         * manual/process.texi (execle): Move @dots{} before last argument.
30568 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30570         [BZ #12047]
30571         * manual/charset.texi (Generic Charset Conversion): Fix typo
30572         (LC_TYPE -> LC_CTYPE).
30574 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30576         [BZ #5805]
30577         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30578         (scalbnf): Likewise.
30579         (scalbnl): Likewise.
30580         (scalbln): Likewise.
30581         (scalblnf): Likewise.
30582         (scalblnl): Likewise.
30583         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30584         (vwarnx): Likewise.
30585         (verr): Likewise.
30586         (verrx): Likewise.
30587         * manual/filesys.texi (telldir): Use braces around return type.
30588         * manual/llio.texi (mmap): Add space after comma.
30589         (mmap64): Likewise.
30590         * manual/math.texi (jn): Use @var{} on parameter names.
30591         (jnf): Likewise.
30592         (jnl): Likewise.
30593         (yn): Likewise.
30594         (ynf): Likewise.
30595         (ynl): Likewise.
30596         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30597         line.
30598         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30599         "...".
30600         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30601         (sched_get_priority_max): Likewise.
30602         * manual/signal.texi (sigvec): Add space after comma.
30603         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30604         names.
30605         (if_indextoname): Likewise.
30606         (if_freenameindex): Likewise.
30607         (sendto): Use ',' instead of '.' in prototype.
30608         * manual/startup.texi (syscall): Use @dots{} instead of literal
30609         "...".
30610         * manual/stdio.texi (__fpending): Separate initial words of
30611         paragraph from @deftypefun line.
30612         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30613         "...".
30614         (vsyslog): Use @var{} on parameter names.
30615         * manual/terminal.texi (stty): Use @var{} on parameter names.
30616         * manual/users.texi (getutmp): Use @var{} on parameter names.
30617         (getutmpx): Likewise.
30619 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30621         [BZ #6884]
30622         * manual/stdio.texi (fopen): Fix typos in description of
30623         ",ccs=STRING".
30625 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30627         [BZ #4026]
30628         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30629         get clock_id definition.
30631 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30633         [BZ #4822]
30634         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30635         (madvise): Cast every argument to void on its own.
30637 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30639         [BZ #9902]
30640         * manual/startup.texi (Exit Status): Fix typo.
30642 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30644         [BZ #10140]
30645         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30646         * manual/examples/argp-ex2.c: Likewise.
30647         * manual/examples/argp-ex3.c: Likewise.
30649 2012-02-16  Richard Henderson  <rth@redhat.com>
30651         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30652         * sysdeps/s390/s390-32/initfini.c: Remove.
30653         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30654         * sysdeps/s390/s390-64/initfini.c: Remove.
30656 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30658         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30659         compiler output for sysdeps/generic/initfini.c.
30660         * sysdeps/sh/elf/initfini.c: Remove file.
30662 2012-02-16  David S. Miller  <davem@davemloft.net>
30664         [BZ #11494]
30665         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30667         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30668         * sysdeps/sparc/crti.S: New file.
30669         * sysdeps/sparc/crtn.S: New file.
30670         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30671         * sysdeps/sparc/sparc64/Makefile: Likewise.
30673 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30675         [BZ #3335]
30676         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30678 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30680         [BZ #4822]
30681         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30683         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30684         (write, read, close): Likewise.
30685         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30687 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30689         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30690         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30691         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30692         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30693         <bits/signalfd.h>.
30694         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30695         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30696         bits/signalfd.h.
30698 2012-02-14  Marek Polacek  <polacek@redhat.com>
30700         * sysdeps/x86_64/crti.S: New file.
30701         * sysdeps/x86_64/crtn.S: New file.
30702         * sysdeps/x86_64/elf/initfini.c: Remove file.
30704 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30706         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30707         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30708         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30709         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30710         <bits/inotify.h>.
30711         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30712         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30713         bits/inotify.h.
30715 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30717         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30718         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30719         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30720         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30721         <bits/eventfd.h>.
30722         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30724         bits/eventfd.h.
30726 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30728         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30729         __feraiseexcept instead of feraiseexcept.
30731         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30732         nanosleep invocations.
30733         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30734         strings, and add error checking for a nanosleep invocations.
30736 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30738         Replace FSF snail mail address with URLs, as per GNU coding standards.
30739         Most of the snail mail addresses were wrong anyway, and omitting
30740         them makes the source code easier to maintain.  Almost all of the
30741         changes are to license notices and to locale LC_IDENTIFICATION
30742         addresses, except for this one:
30743         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30744         not its snail mail address.
30746 2012-02-09  Richard Henderson  <rth@twiddle.net>
30748         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30749         of kernel-features.h.
30751         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30753 2012-02-08  Marek Polacek  <polacek@redhat.com>
30755         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30756         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30757         * sysdeps/gnu/_G_config.h: Likewise.
30758         * sysdeps/generic/_G_config.h: Likewise.
30760 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30762         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30763         tests.
30764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30766         * sysdeps/powerpc/powerpc32/crti.S: New file.
30767         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30768         * sysdeps/powerpc/powerpc64/crti.S: New file.
30769         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30771         * Makeconfig (have-initfini): Don't set.
30772         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30773         * configure.in (nopic_initfini): Don't substitute.
30774         * config.h.in (HAVE_INITFINI): Don't #undef.
30775         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30776         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30778 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30780         Support crti.S and crtn.S provided directly by architectures.
30781         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30782         [crti.S in sysdirs] (omit-deps): Likewise.
30783         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30784         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30785         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30786         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30787         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30788         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30789         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30790         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30791         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30792         compiler output for sysdeps/generic/initfini.c.
30793         * sysdeps/i386/elf/Makefile: Remove file.
30794         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30796 2012-02-07  Marek Polacek  <polacek@redhat.com>
30798         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30799         * sysdeps/gnu/_G_config.h: Likewise.
30800         * sysdeps/mach/hurd/_G_config.h: Likewise.
30802 2012-02-07  Marek Polacek  <polacek@redhat.com>
30804         * math/Makefile (tests): Add tst-CMPLX2.
30805         * math/tst-CMPLX2.c: New file.
30807 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30809         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30811         * math/libm-test.inc (jn_test): Add missing L suffix.
30813 2012-02-06  Marek Polacek  <polacek@redhat.com>
30815         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30816         * sysdeps/i386/fpu/e_powf.S: Likewise.
30817         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30818         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30819         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30820         * sysdeps/i386/fpu/e_pow.S: Likewise.
30821         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30822         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30823         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30824         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30825         * sysdeps/i386/fpu/e_log2.S: Likewise.
30826         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30827         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30828         * sysdeps/i386/fpu/e_powl.S: Likewise.
30829         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30830         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30831         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30832         * sysdeps/i386/fpu/e_logl.S: Likewise.
30833         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30834         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30835         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30836         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30837         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30838         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30839         * sysdeps/i386/fpu/e_log.S: Likewise.
30840         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30841         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30842         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30843         * sysdeps/i386/fpu/e_logf.S: Likewise.
30844         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30845         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30846         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30847         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30848         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30849         * sysdeps/i386/fpu/e_log10.S: Likewise.
30850         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30851         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30852         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30853         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30854         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30855         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30856         * sysdeps/i386/asm-syntax.h: Likewise.
30857         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30858         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30859         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30860         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30861         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30862         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30863         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30864         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30865         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30866         * sysdeps/powerpc/sysdep.h: Likewise.
30867         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30868         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30870 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30872         [BZ #411]
30873         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30875 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30877         * sysdeps/i386/sysdep.h: Include <features.h>.
30878         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30879         version.
30881 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30883         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30884         Define.
30885         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30886         LOAD_PIC_REG_STR.
30888 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30890         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30891         (SETUP_PIC_REG): Use GET_PC_THUNK.
30892         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30893         macro.
30895 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30897         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30898         for non-PIC compilation.
30899         (SETUP_PIC_REG): Add .p2align directive.
30900         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30901         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30902         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30903         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30904         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30905         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30906         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30907         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30908         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30909         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30910         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30911         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30912         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30913         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30914         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30915         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30916         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30917         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30918         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30919         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30920         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30921         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30922         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30923         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30924         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30925         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30926         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30927         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30928         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30929         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30930         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30931         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30932         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30933         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30934         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30935         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30936         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30937         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30938         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30939         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30940         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30942 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30944         * math/tst-CMPLX.c: Include <stdio.h>.
30946 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30948         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30949         float.
30950         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30951         * sysdeps/sparc/bits/mathdef.h: Likewise.
30953 2012-01-31  Marek Polacek  <polacek@redhat.com>
30955         * libio/libio.h: Don't define _PARAMS.
30956         * locale/programs/config.h: Don't define PARAMS.
30957         * stdlib/strtol_l.c: Likewise.
30958         (__strtol_l): Remove PARAMS from the prototype.
30960 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30962         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30963         names.  Just use the correct names.  Remove unnecessary wrapper
30964         functions.
30965         * malloc/arena.c: Likewise.
30966         * malloc/hooks.c: Likewise.
30968         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30969         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30970         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30972 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30974         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30975         into tail calls.
30976         (update_get_addr): New function.
30977         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30978         GET_ADDR_MODULE parameter.
30980 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30982         * crypt/cert.c: Remove __STDC__ conditionals.
30983         * crypt/crypt-entry.c: Likewise.
30984         * crypt/crypt_util.c: Likewise.
30985         * libio/filedoalloc.c: Likewise.
30986         * libio/fileops.c: Likewise.
30987         * libio/genops.c: Likewise.
30988         * libio/iofclose.c: Likewise.
30989         * libio/iofdopen.c: Likewise.
30990         * libio/iofopen.c: Likewise.
30991         * libio/iofopen64.c: Likewise.
30992         * libio/iogetdelim.c: Likewise.
30993         * libio/iopopen.c: Likewise.
30994         * libio/obprintf.c: Likewise.
30995         * libio/oldfileops.c: Likewise.
30996         * libio/oldiofclose.c: Likewise.
30997         * libio/oldiofdopen.c: Likewise.
30998         * libio/oldiofopen.c: Likewise.
30999         * libio/oldiopopen.c: Likewise.
31000         * libio/wfiledoalloc.c: Likewise.
31001         * libio/wgenops.c: Likewise.
31002         * locale/programs/xmalloc.c: Likewise.
31003         * misc/syslog.c: Likewise.
31004         * stdio-common/xbug.c: Likewise.
31005         * string/memchr.c: Likewise.
31006         * string/memcmp.c: Likewise.
31007         * string/memrchr.c: Likewise.
31008         * string/rawmemchr.c: Likewise.
31009         * sysdeps/posix/getcwd.c: Likewise.
31010         * time/strftime_l.c: Likewise.
31012 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31014         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31015         * config.make.in (config-cflags-sse2avx): Define.
31016         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31017         Fix typo.
31019 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31021         * scripts/config.guess: Update from upstream config git repository.
31022         * scripts/config.sub: Likewise.
31024 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31026         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31027         (EM_NUM): Update.
31028         (R_TILEPRO_*, R_TILEGX_*): New macros.
31030         * scripts/firstversions.awk: Fix bug in version range handling.
31032         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31034         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31036         * include/sys/epoll.h: New file.
31037         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31038         libc_hidden_def.
31040 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31042         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31043         Avoid unnecessary __WORDSIZE == 64 test.
31044         (fmaxf): Use VEX format if possible.
31045         (fmax): Likewise.
31046         (fminf): Likewise.
31047         (fmin): Likewise.
31049         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31050         * math/math_private.h: Remove libc_fegetround* and
31051         libc_fesetround*.
31052         * sysdeps/i386/configure.in: Check for -msse2avx.
31053         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31054         also if SSE2AVX is defined.
31055         Remove libc_fegetround* and libc_fesetround*.
31056         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31057         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31058         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31059         of HAS_YMM_USABLE.
31060         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31061         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31062         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31063         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31064         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31066         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31068 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31070         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31071         size is not set.
31072         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31074 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31076         [BZ #13618]
31077         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31078         relocation.
31079         * Makeconfig (libm): Define.
31080         * elf/Makefile: Add rules to build and run tst-relsort1.
31081         * elf/tst-relsort1.c: New file.
31082         * elf/tst-relsort1mod1.c: New file.
31083         * elf/tst-relsort1mod2.c: New file.
31085 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31087         * math/s_ldexp.c: Remove __STDC__ conditionals.
31088         * math/s_ldexpf.c: Likewise.
31089         * math/s_ldexpl.c: Likewise.
31090         * math/s_nextafter.c: Likewise.
31091         * math/s_nexttowardf.c: Likewise.
31092         * math/s_significand.c: Likewise.
31093         * math/s_significandf.c: Likewise.
31094         * math/s_significandl.c: Likewise.
31095         * math/w_jnl.c: Likewise.
31096         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31097         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31098         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31099         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31100         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31101         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31102         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31103         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31104         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31105         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31106         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31107         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31108         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31109         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31110         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31111         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31112         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31113         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31114         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31115         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31116         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31117         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31118         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31119         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31120         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31121         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31122         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31123         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31124         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31125         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31126         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31127         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31128         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31129         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31130         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31131         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31132         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31133         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31134         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31135         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31136         * sysdeps/ieee754/k_standard.c: Likewise.
31137         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31138         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31139         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31140         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31141         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31142         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31143         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31144         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31145         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31146         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31147         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31148         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31149         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31150         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31151         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31152         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31153         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31154         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31155         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31156         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31157         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31158         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31159         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31160         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31161         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31162         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31163         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31164         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31165         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31166         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31167         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31168         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31169         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31170         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31171         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31172         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31173         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31174         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31175         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31176         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31177         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31178         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31179         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31180         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31181         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31182         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31183         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31184         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31185         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31186         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31187         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31188         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31189         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31190         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31191         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31192         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31193         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31194         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31195         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31196         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31197         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31198         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31199         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31200         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31201         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31202         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31203         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31204         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31205         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31206         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31207         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31208         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31209         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31210         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31211         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31212         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31213         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31214         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31215         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31216         * sysdeps/ieee754/s_matherr.c: Likewise.
31217         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31218         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31219         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31220         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31222 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31224         * crypt/md5.h: Remove __STDC__ conditionals.
31225         * libio/libioP.h: Likewise.
31226         * locale/programs/config.h: Likewise.
31227         * sysdeps/generic/sysdep.h: Likewise.
31228         * sysdeps/i386/asm-syntax.h: Likewise.
31229         * sysdeps/s390/asm-syntax.h: Likewise.
31230         * sysdeps/unix/sysdep.h: Likewise.
31231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31234 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31236         * libio/libio.h: Remove __STDC__ conditionals.
31237         * malloc/obstack.h: Likewise.
31238         * math/complex.h: Likewise.
31239         * math/math.h: Likewise.
31240         * sysdeps/generic/_G_config.h: Likewise.
31241         * sysdeps/gnu/_G_config.h: Likewise.
31242         * sysdeps/mach/hurd/_G_config.h: Likewise.
31243         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31244         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31245         * sysdeps/sparc/bits/mathdef.h: Likewise.
31247 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31249         [BZ #13583]
31250         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31251         Clean up HAS_* macros.
31252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31253         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31254         possible.
31255         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31256         HAS_AVX.
31257         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31258         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31259         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31260         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31261         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31263 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31265         * elf/tst-unique3.cc (gets): Remove declaration.
31266         * elf/tst-unique3lib.cc (gets): Likewise.
31267         * elf/tst-unique3lib2.cc (gets): Likewise.
31268         * elf/tst-unique4.cc (gets): Likewise.
31270 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31272         * include/stdio.h: Add C++ protection.  Add gets declarations and
31273         definitions.
31274         * debug/tst-chk1.c: Don't declare gets here.
31275         * stdio-common/tst-gets.c: Likewise.
31277 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31279         * posix/glob: Remove directory.
31281 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31283         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31285 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31287         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31288         of the non-standard EPFNOSUPPORT.
31290 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31292         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31293         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31294         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31296 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31298         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31300 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31302         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31303         transient errors.
31304         * nscd/grpcache.c (cache_addgr): Likewise.
31305         * nscd/hstcache.c (cache_addhst): Likewise.
31306         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31307         * nscd/pwdcache.c (cache_addpw): Likewise.
31308         * nscd/servicescache.c (cache_addserv): Likewise.
31310 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31312         * malloc/malloc.c: Various cleanups.
31313         * malloc/hooks.c: Likewise.
31315         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31316         * stdlib/bug-fmtmsg1.c: New file.
31318         * stdlib/fmtmsg.c (init): Add missing unlock.
31319         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31321 2012-01-12  Marek Polacek  <polacek@redhat.com>
31323         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31324         and _GNU_SOURCE.
31326 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31328         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31329         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31330         macro to ensure uniqueness of label name.
31331         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31332         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31334 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31336         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31338         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31339         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31340         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31341         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31343 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31345         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31347         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31348         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31349         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31351         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31353         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31354         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31355         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31356         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31358         * math/bits/math-finite.h: Add ldexp support.
31360 2012-01-10  Marek Polacek  <polacek@redhat.com>
31362         * locale/programs/localedef.h (show_archive_content): Add noreturn
31363         attribute.
31365 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31367         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31369 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31371         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31373         * io/Makefile (headers): Add bits/poll2.h.
31375 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31378         typo #include statement.
31380 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31382         * include/sys/cdefs.h: Define __attribute_alloc_size.
31383         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31384         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31385         * elf/pldd.c: Likewise.
31386         * iconv/iconv_charmap.c: Likewise.
31387         * iconv/iconvconfig.c: Likewise.
31388         * iconv/strtab.c: Likewise.
31389         * locale/programs/locale.c: Likewise.
31390         * locale/programs/localedef.h: Likewise.
31391         * locale/programs/simple-hash.c: Likewise.
31392         * nscd/nscd.h: Likewise.
31393         * nss/makedb.c: Likewise.
31394         * sysdeps/generic/ldconfig.h: Likewise.
31395         * locale/programs/localedef.c: Remove xmalloc prototype.
31396         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31398 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31400         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31401         appropriate.
31403 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31405         * math/Makefile (tests): Add tst-CMPLX.
31406         * math/tst-CMPLX.c: New file.
31408         * math/complex.h (CMPLXL): Fix typo.
31410         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31411         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31412         GLIBC_2.16.
31413         * debug/tst-chk1.c: Add poll and ppoll tests.
31414         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31415         * include/sys/poll.h: Add hidden proto for ppoll.
31416         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31417         * sysdeps/mach/hurd/ppoll.c: Likewise.
31418         * io/ppoll.c: Likewise.
31419         * debug/poll_chk.c: New file.
31420         * debug/ppoll_chk.c: New file.
31421         * include/bits/poll2.h: New file.
31422         * io/bits/poll2.h: New file.
31424         [BZ #1350]
31425         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31427         * configure.in: static is always set to yes.  Remove.
31428         * config.make.in: Don't set build-static.
31429         * Makeconfig: Remove use of build-static.
31430         * dlfcn/Makefile: Likewise.
31431         * elf/Makefile: Likewise.
31432         * math/Makefile: Likewise.
31433         * misc/Makefile: Likewise.
31434         * nptl/Makefile: Likewise.
31435         * sysdeps/mach/hurd/Makefile: Likewise.
31437         * configure.in: PWD_P is not used anymore.
31438         * config.make.in: Remove PWD_P entry.
31440         * configure.in: Remove last remnants of RANLIB.
31441         No need to check for signed size_t anymore.
31442         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31443         and IA-64.
31444         Remove __builtin_expect test because we require at least gcc 3.4.
31445         * aclocal.m4: Likewise.
31447         * wcsmbs/mbrtoc16.c: Implement using towc function.
31448         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31449         * wcsmbs/wcsmbsload.c: Likewise.
31450         * iconv/gconv_simple.c: Likewise.
31451         * iconv/gconv_int.h: Likewise.
31452         * iconv/gconv_builtin.h: Likewise.
31453         * iconv/iconv_prog.c: Remove CHAR16 handling.
31455         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31457         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31459         * configure.in: Remove --with-elf and --enable-bounded options.
31460         Dont set base_machine for ia64.  More non-ELF conditions removed.
31461         Remove testing and setting of leading underscore information.
31462         * config.make.in (build-bounded): Set to no.
31463         * config.h.in: Remove NO_UNDERSCORES entry.
31464         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31465         them.
31466         * csu/start.c: Remove !NO_UNDERSCORE code.
31467         * locale/localeinfo.h: Likewise.
31468         * sysdeps/generic/machine-gmon.h: Likewise.
31469         * sysdeps/generic/sysdep.h: Likewise.
31470         * sysdeps/i386/sysdep.h: Likewise.
31471         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31472         * sysdeps/mach/sysdep.h: Likewise.
31473         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31474         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31475         * sysdeps/sh/sysdep.h: Likewise.
31476         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31477         * sysdeps/unix/i386/sysdep.S: Likewise.
31478         * sysdeps/unix/sparc/start.c: Likewise.
31479         * sysdeps/unix/sparc/sysdep.S: Likewise.
31480         * sysdeps/unix/sparc/sysdep.h: Likewise.
31481         * sysdeps/unix/start.c: Likewise.
31482         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31483         * sysdeps/x86_64/sysdep.h: Likewise.
31485 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31487         [BZ #13553]
31488         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31489         for non-gcc.
31490         * argp/argp-fmtstream.h: Use const instead __const.
31491         * argp/argp.h: Likewise.
31492         * assert/assert.h: Likewise.
31493         * bits/fenv.h: Likewise.
31494         * bits/sched.h: Likewise.
31495         * bits/sigset.h: Likewise.
31496         * bits/sigthread.h: Likewise.
31497         * catgets/nl_types.h: Likewise.
31498         * conform/data/pthread.h-data: Likewise.
31499         * crypt/crypt-private.h: Likewise.
31500         * crypt/crypt.h: Likewise.
31501         * crypt/crypt_util.c: Likewise.
31502         * ctype/ctype.h: Likewise.
31503         * debug/execinfo.h: Likewise.
31504         * debug/mbsnrtowcs_chk.c: Likewise.
31505         * debug/mbsrtowcs_chk.c: Likewise.
31506         * debug/wcsnrtombs_chk.c: Likewise.
31507         * debug/wcsrtombs_chk.c: Likewise.
31508         * debug/wcstombs_chk.c: Likewise.
31509         * dirent/dirent.h: Likewise.
31510         * dlfcn/dlfcn.h: Likewise.
31511         * elf/neededtest4.c: Likewise.
31512         * grp/grp.h: Likewise.
31513         * gshadow/gshadow.h: Likewise.
31514         * iconv/gconv.h: Likewise.
31515         * iconv/gconv_int.h: Likewise.
31516         * iconv/gconv_simple.c: Likewise.
31517         * iconv/iconv.h: Likewise.
31518         * iconv/loop.c: Likewise.
31519         * iconv/skeleton.c: Likewise.
31520         * include/aio.h: Likewise.
31521         * include/aliases.h: Likewise.
31522         * include/argz.h: Likewise.
31523         * include/arpa/inet.h: Likewise.
31524         * include/assert.h: Likewise.
31525         * include/dirent.h: Likewise.
31526         * include/dlfcn.h: Likewise.
31527         * include/execinfo.h: Likewise.
31528         * include/fcntl.h: Likewise.
31529         * include/fenv.h: Likewise.
31530         * include/glob.h: Likewise.
31531         * include/grp.h: Likewise.
31532         * include/libintl.h: Likewise.
31533         * include/mntent.h: Likewise.
31534         * include/netdb.h: Likewise.
31535         * include/pwd.h: Likewise.
31536         * include/rpc/netdb.h: Likewise.
31537         * include/sched.h: Likewise.
31538         * include/search.h: Likewise.
31539         * include/shadow.h: Likewise.
31540         * include/signal.h: Likewise.
31541         * include/stdio.h: Likewise.
31542         * include/stdlib.h: Likewise.
31543         * include/string.h: Likewise.
31544         * include/sys/socket.h: Likewise.
31545         * include/sys/stat.h: Likewise.
31546         * include/sys/statfs.h: Likewise.
31547         * include/sys/statvfs.h: Likewise.
31548         * include/sys/syslog.h: Likewise.
31549         * include/sys/time.h: Likewise.
31550         * include/sys/uio.h: Likewise.
31551         * include/time.h: Likewise.
31552         * include/unistd.h: Likewise.
31553         * include/utmp.h: Likewise.
31554         * include/wchar.h: Likewise.
31555         * include/wctype.h: Likewise.
31556         * inet/aliases.h: Likewise.
31557         * inet/arpa/inet.h: Likewise.
31558         * inet/netinet/ether.h: Likewise.
31559         * inet/netinet/in.h: Likewise.
31560         * intl/libintl.h: Likewise.
31561         * io/bits/fcntl2.h: Likewise.
31562         * io/fcntl.h: Likewise.
31563         * io/ftw.h: Likewise.
31564         * io/sys/poll.h: Likewise.
31565         * io/sys/stat.h: Likewise.
31566         * io/sys/statfs.h: Likewise.
31567         * io/sys/statvfs.h: Likewise.
31568         * io/utime.h: Likewise.
31569         * libio/bits/stdio.h: Likewise.
31570         * libio/bits/stdio2.h: Likewise.
31571         * libio/libio.h: Likewise.
31572         * libio/libioP.h: Likewise.
31573         * libio/stdio.h: Likewise.
31574         * locale/lc-ctype.c: Likewise.
31575         * locale/locale.h: Likewise.
31576         * login/utmp.h: Likewise.
31577         * malloc/arena.c: Likewise.
31578         * malloc/malloc.c: Likewise.
31579         * malloc/malloc.h: Likewise.
31580         * malloc/mcheck.c: Likewise.
31581         * malloc/mtrace.c: Likewise.
31582         * math/bits/mathcalls.h: Likewise.
31583         * math/fenv.h: Likewise.
31584         * math/math_private.h: Likewise.
31585         * misc/bits/error.h: Likewise.
31586         * misc/bits/syslog.h: Likewise.
31587         * misc/err.h: Likewise.
31588         * misc/error.h: Likewise.
31589         * misc/fstab.h: Likewise.
31590         * misc/mntent.h: Likewise.
31591         * misc/regexp.h: Likewise.
31592         * misc/search.h: Likewise.
31593         * misc/sgtty.h: Likewise.
31594         * misc/sys/mman.h: Likewise.
31595         * misc/sys/syslog.h: Likewise.
31596         * misc/sys/uio.h: Likewise.
31597         * misc/sys/xattr.h: Likewise.
31598         * misc/ttyent.h: Likewise.
31599         * nis/rpcsvc/ypclnt.h: Likewise.
31600         * nss/nss.h: Likewise.
31601         * posix/bits/unistd.h: Likewise.
31602         * posix/fnmatch.h: Likewise.
31603         * posix/glob.h: Likewise.
31604         * posix/sched.h: Likewise.
31605         * posix/spawn.h: Likewise.
31606         * posix/sys/wait.h: Likewise.
31607         * posix/unistd.h: Likewise.
31608         * posix/wordexp.h: Likewise.
31609         * pwd/pwd.h: Likewise.
31610         * resolv/netdb.h: Likewise.
31611         * resource/sys/resource.h: Likewise.
31612         * rt/aio.h: Likewise.
31613         * rt/bits/mqueue2.h: Likewise.
31614         * rt/mqueue.h: Likewise.
31615         * shadow/shadow.h: Likewise.
31616         * signal/signal.h: Likewise.
31617         * socket/send.c: Likewise.
31618         * socket/sendto.c: Likewise.
31619         * socket/sys/socket.h: Likewise.
31620         * stdio-common/printf.h: Likewise.
31621         * stdlib/bits/stdlib.h: Likewise.
31622         * stdlib/fmtmsg.h: Likewise.
31623         * stdlib/monetary.h: Likewise.
31624         * stdlib/stdlib.h: Likewise.
31625         * stdlib/ucontext.h: Likewise.
31626         * streams/stropts.h: Likewise.
31627         * string/argz.h: Likewise.
31628         * string/bits/string2.h: Likewise.
31629         * string/string.h: Likewise.
31630         * string/strings.h: Likewise.
31631         * sunrpc/rpc/auth.h: Likewise.
31632         * sunrpc/rpc/auth_des.h: Likewise.
31633         * sunrpc/rpc/clnt.h: Likewise.
31634         * sunrpc/rpc/netdb.h: Likewise.
31635         * sunrpc/rpc/pmap_clnt.h: Likewise.
31636         * sunrpc/rpc/xdr.h: Likewise.
31637         * sysdeps/generic/inttypes.h: Likewise.
31638         * sysdeps/generic/net/if.h: Likewise.
31639         * sysdeps/generic/sys/swap.h: Likewise.
31640         * sysdeps/gnu/net/if.h: Likewise.
31641         * sysdeps/gnu/utmpx.h: Likewise.
31642         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31643         * sysdeps/i386/i486/bits/string.h: Likewise.
31644         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31645         * sysdeps/s390/bits/string.h: Likewise.
31646         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31647         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31648         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31649         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31650         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31651         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31652         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31653         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31654         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31655         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31656         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31657         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31658         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31659         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31660         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31661         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31662         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31663         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31664         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31665         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31666         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31667         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31668         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31669         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31670         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31671         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31672         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31673         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31674         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31675         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31676         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31677         * sysvipc/sys/ipc.h: Likewise.
31678         * sysvipc/sys/msg.h: Likewise.
31679         * sysvipc/sys/sem.h: Likewise.
31680         * sysvipc/sys/shm.h: Likewise.
31681         * termios/termios.h: Likewise.
31682         * time/sys/time.h: Likewise.
31683         * time/time.h: Likewise.
31684         * wcsmbs/bits/wchar2.h: Likewise.
31685         * wcsmbs/uchar.h: Likewise.
31686         * wcsmbs/wchar.h: Likewise.
31687         * wctype/wctype.h: Likewise.
31689         [BZ #13551]
31690         * Makeconfig: Remove all but ELF support including AIX support.
31691         * Makerules: Likewise.
31692         * config.h.in: Likewise.
31693         * config.make.in: Likewise.
31694         * configure: Likewise.
31695         * configure.in: Likewise.
31696         * csu/Makefile: Likewise.
31697         * csu/version.c: Likewise.
31698         * debug/Makefile: Likewise.
31699         * dlfcn/Makefile: Likewise.
31700         * elf/Makefile: Likewise.
31701         * extra-lib.mk: Likewise.
31702         * iconv/Makefile: Likewise.
31703         * include/libc-symbols.h: Likewise.
31704         * include/shlib-compat.h: Likewise.
31705         * resolv/Makefile: Likewise.
31706         * resolv/res_libc.c: Likewise.
31707         * rt/Makefile: Likewise.
31708         * sysdeps/i386/asm-syntax.h: Likewise.
31709         * sysdeps/i386/sysdep.h: Likewise.
31710         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31711         * sysdeps/mach/sysdep.h: Likewise.
31712         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31713         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31714         * sysdeps/s390/asm-syntax.h: Likewise.
31715         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31716         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31717         * sysdeps/sh/sysdep.h: Likewise.
31718         * sysdeps/unix/sparc/sysdep.h: Likewise.
31719         * sysdeps/wordsize-32/divdi3.c: Likewise.
31720         * sysdeps/x86_64/sysdep.h: Likewise.
31722         * argp/Versions: Remove _argp_unlock_xxx.
31724         [BZ #13559]
31725         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31726         * abilist/libBrokenLocale.abilist: Likewise.
31727         * abilist/libanl.abilist: Likewise.
31728         * abilist/libc.abilist: Likewise.
31729         * abilist/libcrypt.abilist: Likewise.
31730         * abilist/libdl.abilist: Likewise.
31731         * abilist/libm.abilist: Likewise.
31732         * abilist/libnsl.abilist: Likewise.
31733         * abilist/libpthread.abilist: Likewise.
31734         * abilist/libresolv.abilist: Likewise.
31735         * abilist/librt.abilist: Likewise.
31736         * abilist/libthread_db.abilist: Likewise.
31737         * abilist/libutil.abilist: Likewise.
31738         * abilist/libnss_db.abilist: New file.
31740         * scripts/abilist.awk: Add support for indirect functions.
31742         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31744         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31746         * shlib-versions: Remove entries for ports architectures.
31748         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31749         files in ports.
31750         * elf/stackguard-macros.h: Remove support for IA-64.
31751         * elf/tst-auditmod1.c: Likewise.
31752         * sysdeps/generic/ldsodefs.h: Likewise.
31754         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31755         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31756         configure files.
31758         [BZ #13552]
31759         * configure.in: Remove --enable-omitfp support.
31760         * FAQ.in: Adjust.
31761         * config.make.in: Likewise.
31762         * Makeconfig: Likewise.
31763         * manual/install.texi: Likewise.
31765         In case anyone cares, the IA-64 architecture could move to ports.
31766         * sysdeps/ia64/*: Removed.
31767         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31768         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31770         [BZ #13555]
31771         * configure.in: Remove entries for unsupported architectures.
31773         [BZ #13533]
31774         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31775         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31776         routines.
31777         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31778         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31779         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31780         fall back to using wcrtomb.
31781         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31782         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31783         renaming.
31784         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31785         * wcsmbs/tst-c16c32-1.c: New file.
31787         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31788         local variable.
31790         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31792         * elf/tst-unique3.cc: Add explicit declaration of gets.
31793         * elf/tst-unique3lib.cc: Likewise.
31794         * elf/tst-unique3lib2.cc: Likewise.
31795         * elf/tst-unique4.cc: Likewise.
31797         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31799 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31801         [BZ #13566]
31802         * assert/assert.h (static_assert): Don't define for C++.
31803         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31804         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31806 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31808         * iconv/loop.c (single loop): Fix assertion in storing of
31809         remaining bytes.
31811         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31813 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31815         * posix/getconf.c: Update copyright year.
31816         * nss/getent.c: Likewise.
31817         * nss/makedb.c: Likewise.
31818         * iconv/iconvconfig.c: Likewise.
31819         * iconv/iconv_prog.c: Likewise.
31820         * elf/ldconfig.c: Likewise.
31821         * elf/pldd.c: Likewise.
31822         * elf/sotruss.ksh: Likewise.
31823         * catgets/gencat.c: Likewise.
31824         * csu/version.c: Likewise.
31825         * elf/ldd.bash.in: Likewise.
31826         * elf/sprof.c (print_version): Likewise.
31827         * locale/programs/locale.c: Likewise.
31828         * locale/programs/localedef.c: Likewise.
31829         * login/programs/pt_chown.c: Likewise.
31830         * nscd/nscd.c (print_version): Likewise.
31831         * debug/xtrace.sh: Likewise.
31832         * malloc/memusage.sh: Likewise.
31833         * malloc/mtrace.pl: Likewise.
31834         * debug/catchsegv.sh: Likewise.
31836 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31838         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31839         pure attribute.
31841 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31843         [BZ #13533]
31844         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31845         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31846         transformations.
31847         * iconv/gconv_int.h: Likewise.
31848         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31849         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31850         from libc for GLIBC_2.16.
31851         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31852         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31853         * wcsmbs/uchar.h: Really define mbstate_t.
31854         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31855         * wcsmbs/c16rtomb.c: New file.
31856         * wcsmbs/mbrtoc16.c: New file.
31857         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31858         for C/POSIX locale.
31859         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31860         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31862         * wcsmbs/wchar.h: Add missing __restrict.
31864 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31866         [BZ #13532]
31867         * time/Makefile (routines): Add timespec_get.
31868         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31869         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31870         timespec for ISO C11.
31871         * time/timespec_get.c: New file.
31872         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31873         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31875         [BZ #13531]
31876         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31877         * stdlib/stdlib.h: Declare aligned_alloc.
31878         * Versions.def: Add GLIBC_2.16 for libc.
31879         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31881         [BZ 13527]
31882         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31883         ISO C11.
31885         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31886         code.
31888         [BZ #13528]
31889         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31891         [BZ #13529]
31892         * assert/assert.h (static_assert): Define.
31894         * version.h: Update for 2.16 development version.
31896         [BZ #13526]
31897         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31898         _ISOC11_SOURCE.
31900         * version.h (RELEASE): Bump for 2.15 release.
31901         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31903         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31904         Patch by Marek Polacek <mpolacek@redhat.com>.
31906         * bits/byteswap.h: Protect long long constants with __extension__.
31907         * sysdeps/i386/bits/byteswap.h: Likewise.
31908         * sysdeps/ia64/bits/byteswap.h: Likewise.
31909         * sysdeps/s390/bits/byteswap.h: Likewise.
31910         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31912 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31914         [BZ #13540]
31915         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31916         destination buffer.
31917         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31919 2011-12-23  Marek Polacek  <polacek@redhat.com>
31921         * elf/dl-addr.c (determine_info): Add inline keyword.
31922         * elf/tst-auditmod4b.c (check_avx): Likewise.
31923         * elf/tst-auditmod6b.c (check_avx): Likewise.
31924         * elf/tst-auditmod6c.c (check_avx): Likewise.
31925         * elf/tst-auditmod7b.c (check_avx): Likewise.
31927 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31929         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31930         !__SSE_MATH__.
31932 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31934         [BZ #13540]
31935         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31936         processing for last bytes.
31938 2011-08-06  Bruno Haible  <bruno@clisp.org>
31940         [BZ #13061]
31941         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31942         U+0385, not to U+1FEE.
31944         [BZ #13062]
31945         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31946         entry for U+00A5 U+0301.
31948 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31950         [BZ #13166]
31951         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31952         buffer for the output is too small.
31954         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31955         optimization.
31957         [BZ #13185]
31958         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31959         SSE flags if possible.
31961 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31963         [BZ #13540]
31964         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31965         processing for last bytes.
31967 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31969         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31970         (syscall-list-default-options, syscall-list-default-condition)
31971         (syscall-list-includes): Define.
31972         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31973         list of ABIs and options and #if conditions for each ABI.  Do not
31974         handle common syscalls between ABIs specially.
31975         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31976         Remove.
31977         (syscall-list-variants, syscall-list-32bit-options)
31978         (syscall-list-32bit-condition, syscall-list-64bit-options)
31979         (syscall-list-64bit-condition): Define.
31980         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31981         (syscall-list-variants, syscall-list-32bit-options)
31982         (syscall-list-32bit-condition, syscall-list-64bit-options)
31983         (syscall-list-64bit-condition): Define.
31984         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31985         Remove.
31986         (syscall-list-variants, syscall-list-32bit-options)
31987         (syscall-list-32bit-condition, syscall-list-64bit-options)
31988         (syscall-list-64bit-condition): Define.
31989         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31990         Remove.
31991         (syscall-list-variants, syscall-list-32bit-options)
31992         (syscall-list-32bit-condition, syscall-list-64bit-options)
31993         (syscall-list-64bit-condition): Define.
31995 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31997         * locale/iso-639.def: Add brx entry.
31999         [BZ #13328]
32000         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32001         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32003         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32004         __feraiseexcept_renamed.
32006 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32008         [BZ #13538]
32009         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32010         EPOLLET with unsigned values.
32011         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32012         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32014         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32015         to large cancellation.
32016         * math/s_cacoshf.c: Likewise.
32017         * math/s_cacoshl.c: Likewise.
32019 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32021         [BZ #13305]
32022         [BZ #12786]
32023         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32024         * math/s_cacoshf.c: Likewise.
32025         * math/s_cacoshl.c: Likewise.
32027 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32029         [BZ #13439]
32030         * iconv/gconv.h: Define __GCONV_SWAP.
32031         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32032         * iconvdata/utf-16.c: Likewise.
32033         * iconvdata/utf-32.c: Likewise.
32035 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32037         [BZ #13524]
32038         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32039         numerator after shifting it by one limb.
32041 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32043         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32044         under [__USE_EXTERN_INLINES].
32046 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32048         [BZ #13446]
32049         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32051 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32053         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32054         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32055         optimized code.
32056         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32057         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32058         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32059         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32060         for strncasecmp/strncasecmp_l compilation.
32061         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32062         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32064 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32066         [BZ #13484]
32067         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32068         of __asm__.
32070 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32072         [BZ #13506]
32073         * time/tzfile.c (__tzfile_read): Check values from file header.
32075 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32077         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32078         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32079         * powerpc/powerpc32/dl-start.S: Likewise.
32080         * powerpc/powerpc32/elf/start.S: Likewise.
32081         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32082         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32083         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32084         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32085         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32086         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32087         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32088         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32089         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32090         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32091         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32092         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32093         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32094         * powerpc/powerpc32/memset.S: Likewise.
32095         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32096         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32097         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32098         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32099         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32100         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32101         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32102         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32103         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32104         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32105         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32106         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32107         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32109 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32111         * math/libm-test.inc: Added more nearbyint tests.
32112         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32113         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32114         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32115         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32117 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32119         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32120         FD_CLOEXEC.
32122 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32124         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32125         Add wcscpy-ssse3 wcscpy-c.
32126         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32127         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32128         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32129         * sysdeps/x86_64/wcschr.S: New file.
32130         * sysdeps/x86_64/wcsrchr.S: New file.
32131         * string/test-strcmp.c: Remove checking of wcscmp function for
32132         wrong alignments.
32133         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32134         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32135         wcsrchr-sse2 wcsrchr-c.
32136         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32137         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32138         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32139         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32140         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32141         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32142         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32143         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32144         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32145         * wcsmbc/wcschr.c (WCSCHR): New macro.
32147 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32149         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32150         * wcsmbs/test-wcsrchr.c: New file.
32151         * string/test-strrchr.c: Add wcsrchr support.
32152         (WIDE): New macro.
32153         * wcsmbs/test-wcscpy.c: New file.
32154         * string/test-strcpy.c: Add wcscpy support.
32155         (WIDE): New macro.
32157 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32159         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32160         the inner loop.
32162 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32164         [BZ #13472]
32165         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32167 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32169         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32170         Minor optimizations.
32172         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32173         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32174         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32176 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32178         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32179         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32180         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32181         for gcc to avoid warnings.
32182         * inet/Makefile (tests): Add tst-checks.
32183         * inet/tst-checks.c: New file.
32185         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32186         warning.
32188         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32189         __wmemcmp_sse2.
32191         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32192         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32194         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32196 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32198         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32199         problem.
32201         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32203 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32205         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32206         conditional on GCC version.
32207         (__arch_compare_and_exchange_val_8_acq)
32208         (__arch_compare_and_exchange_val_16_acq)
32209         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32210         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32211         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32213 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32215         * sysdeps/sh/backtrace.c: New file.
32217 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32219         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32220         parenthesis.
32222 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32224         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32225         falling back to utime.
32227 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32229         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32230         expectations for float.
32232 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32234         * locale/weight.h (findidx): Add parameter len.
32235         * locale/weightwc.h (findidx): Likewise.
32236         * posix/fnmatch_loop.c (FCT): Adjust caller.
32237         * posix/regcomp.c (build_equiv_class): Likewise.
32238         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32239         * posix/regexec.c (check_node_accept_bytes): Likewise.
32240         * string/strcoll_l.c (STRCOLL): Likewise.
32241         * string/strxfrm_l.c (STRXFRM): Likewise.
32243 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32245         * Makefile.in: Remove CVSOPT handling.
32246         * configure.in: Remove use of AC_REVISION.
32247         * iconvdata/Makefile (distribute): No need to filter out CVS.
32248         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32249         handling.
32251 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32253         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32254         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32255         [USE_AS_STRNCASECMP_L]: Likewise.
32256         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32257         NO_TLS_DIRECT_SEG_REFS.
32258         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32259         Fix argument offsets for non-PIC.
32260         [USE_AS_STRNCASECMP_L]: Likewise.
32261         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32262         NO_TLS_DIRECT_SEG_REFS.
32264 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32266         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32267         O_CLOEXEC.
32268         * locale/loadlocale.c (_nl_load_locale): Likewise.
32270 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32272         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32273         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32274         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32275         (SYSCALL_GETTIME): Set errno on error.
32277         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32278         count references to noai6ai_cached.
32280 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32282         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32284         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32285         FD_CLOEXEC for /proc/self/maps.
32287         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32288         FD_CLOEXEC for /proc/meminfo.
32290         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32291         gai.conf.
32293         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32294         FD_CLOEXEC for given file.
32296         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32298         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32299         FD_CLOEXEC for /etc/hosts.
32300         (_gethtent): Likewise.
32302         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32304         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32305         cancellation and set FD_CLOEXEC for /etc/netgroup.
32307         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32308         reading /etc/publickey.
32310         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32311         allow cancellation when reading /etc/group.
32313         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32314         cancellation.
32315         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32317         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32318         when using data file.
32320         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32322         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32323         (write_nis_obj): Use "c" and "e" in fopen.
32325         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32327         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32329         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32331         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32333         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32334         locale.alias.
32336         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32338         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32340         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32342         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32343         file parsing and set FD_CLOEXEC.
32345 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32347         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32349 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32351         * malloc/arena.c (arena_get2): Don't call reused_arena when
32352         _int_new_arena failed.
32354 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32356         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32357         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32358         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32359         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32360         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32361         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32362         to compile strcasecmp and strncasecmp.
32363         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32364         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32366         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32368 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32370         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32371         locale-defines.sym to gen-as-const-headers.
32372         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32373         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32374         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32375         to compile strcasecmp and strncasecmp.
32376         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32377         strcasecmp_l and strncasecmp_l.
32378         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32379         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32380         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32381         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32382         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32383         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32384         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32385         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32386         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32387         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32388         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32390 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32392         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32393         result of SYSDEP_GETTIME_CPU to retval.
32394         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32395         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32397         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32398         variable.
32400         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32401         mantissa words.
32402         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32404         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32405         from unused variable.
32407         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32408         DWARF definitions.
32409         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32410         for assembling.
32412         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32413         over namespaces.
32415         * sunrpc/rpc_prot.c (rejected): Fix case value.
32417         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32418         unsigned long long int to avoid warnings in shift.
32420         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32421         of use of trans.
32422         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32423         variable tmp.
32425         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32426         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32427         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32429         * nis/nis_table.c (nis_list): Use variable of correct type for
32430         result of __follow_path call.
32432 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32434         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32435         of math functions ceil, trunc, floor, round, and sqrt, when
32436         avaliable on the platform.
32437         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32438         name clash.
32439         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32440         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32441         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32443 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32445         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32446         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32448 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32450         * include/unistd.h: Fix __readlink return type.
32451         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32453 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32455         * stdlib/ucontext.h: Undo last change for makecontext.
32457 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32459         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32461         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32462         * setjmp/setjmp.h: Mark functions as non-leaf.
32463         * setjmp/bits/setjmp2.h: Likewise.
32464         * stdlib/ucontext.h: Likewise.
32466 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32468         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32469         (reused_arena): Don't check arena limit.
32470         (arena_get2): Atomically check arena limit.
32472 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32474         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32475         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32477         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32478         instructions.
32480 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32482         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32483         handler when locking.
32485         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32486         Fix size of allocated buffer.
32488 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32490         [BZ #10103]
32491         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32492         declarations for long double functions.
32493         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32495         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32497 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32499         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32500         installed.
32502         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32503         is disabled.
32505 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32507         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32509 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32511         * include/alloca.h (stackinfo_alloca_round): Define.
32512         (extend_alloca): Use it.
32513         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32514         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32515         here.
32517         * scripts/check-local-headers.sh: Ignore libaudit.h.
32519         * nscd/Makefile (extra-objs): Make recursively expanded.
32521 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32523         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32524         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32526         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32527         * posix/tst-rfc3484-2.c: Likewise.
32528         * posix/tst-rfc3484-3.c: Likewise.
32530         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32531         process_vm_writev.
32532         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32533         process_vm_writev.
32534         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32535         process_vm_writev from libc using GLIBC_2.15 version.
32537         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32539 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32541         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32542         stack usage.
32544 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32546         [BZ #13367]
32547         * nss/getent.c (initgroups_keys): Show error message in case no group
32548         names are given.
32550         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32551         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32552         __bump_nl_timestamp.
32553         * nscd/connections (nscd_init): When host database is served open
32554         netlink socket and request notification about configuration changes.
32555         (main_loop_poll): Track netlink file descriptor and bump timestamp
32556         in case data becomes available.
32557         (main_loop_epoll): Likewise.
32558         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32559         (database_pers_head): Add extra_data fileds.
32560         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32561         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32562         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32563         Adjust caller.
32564         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32565         in6ai data, call __free_in6ai.
32566         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32567         Add -DHAVE_NETLINK.
32568         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32569         interface information.  Reuse previous data if netlink timestamp
32570         is not changed.
32571         (__bump_nl_timestamp): New function.
32572         (__free_in6ai): New function.
32574 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32576         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32577         close_not_cancel_no_status here.
32578         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32580 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32582         [BZ #13276]
32583         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32584         return value.
32586         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32587         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32588         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32590 2011-07-03  Andreas Jaeger  <aj@suse.de>
32592         [BZ #10709]
32593         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32594         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32595         * math/libm-test.inc (sin_test): Add test case.
32597 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32599         [BZ #13337]
32600         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32601         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32603         * elf/chroot_canon.c (chroot_canon): Cleanups.
32605         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32607         [BZ #13335]
32608         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32609         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32611         * string/test-strchr.c: Make usable for strchrnul testing.
32612         * string/test-strchrnul.c: New file.
32613         * string/Makefile (strop-tests): Add strchrnul.
32615         * po/it.po: Update from translation team.
32616         * po/es.po: Likewise.
32618 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32620         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32621         the three constants needed as parameters.  Drop the others.
32622         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32623         __m128i_strloadu_tolower.
32624         Create and initialize variable zero and use it in all the places
32625         where _mm_setzero_si128 was used.
32627         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32628         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32629         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32630         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32631         anymore.
32632         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32633         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32634         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32635         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32636         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32637         __mpranred, __mptan.
32638         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32639         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32640         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32641         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32642         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32643         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32644         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32645         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32646         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32648 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32650         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32651         redefine if SHARED.
32652         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32654         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32655         wide char related routines to wcsmbs subdir.
32657 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32659         [BZ #13344]
32660         * misc/sys/cdefs.h (__THROWNL): Define.
32661         * posix/unistd.h: Use __THREADNL instead of __THREAD
32662         for memory synchronization functions.
32664 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32666         [BZ #13349]
32667         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32668         doesn't exist.
32669         * manual/stdio.texi (Obstack Streams): Node removed.
32671 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32673         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32674         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32675         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32677         * math/math_private.h (math_force_eval): Allow non-addressable
32678         arguments.
32679         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32681 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32683         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32684         file is not needed.
32686         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32687         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32688         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32689         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32690         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32691         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32692         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32693         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32694         Add AVX variants.
32695         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32696         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32697         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32698         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32699         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32700         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32701         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32702         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32703         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32704         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32705         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32706         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32707         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32708         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32709         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32710         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32711         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32712         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32713         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32715         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32716         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32718         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32719         place.  Use VEX encoding when compiling for AVX.
32721 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32723         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32724         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32726         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32728 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32730         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32731         useless if() expression.
32732         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32733         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32734         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32735         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32736         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32737         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32738         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32739         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32740         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32741         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32742         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32743         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32744         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32745         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32746         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32747         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32748         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32749         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32750         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32752         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32754 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32756         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32757         condition.
32758         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32760 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32762         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32763         .text section.  Avoid duplicate constants.
32764         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32765         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32766         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32768         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32769         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32770         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32771         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32772         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32773         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32774         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32775         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32776         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32777         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32778         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32779         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32780         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32781         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32782         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32783         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32784         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32785         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32786         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32787         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32788         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32789         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32790         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32791         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32792         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32793         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32794         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32795         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32796         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32797         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32798         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32799         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32800         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32801         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32802         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32803         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32804         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32805         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32806         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32807         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32808         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32810 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32812         * sysdeps/x86_64/dla.h: Move to ...
32813         * sysdeps/x86_64/fpu/dla.h: ...here.
32814         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32815         situations.  Use __builtin_fma only for gcc 4.6 and up.
32817         * config.make.in: Add have-mfma4 entry.
32818         * configure.in: Substitute libc_cv_cc_fma4.
32819         * math/Makefile (dbl-only-routines): Add sincostab.
32820         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32821         Use __sincostab not sincos.
32822         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32823         name is a macro.
32824         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32825         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32826         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32828         using __copysign.
32829         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32830         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32831         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32832         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32833         and __inv.
32834         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32835         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32836         __copysign.
32837         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32838         define aliases when function name is a macro.
32839         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32840         sysdeps/ieee754/dbl-64/sincos.tbl.
32841         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32842         fma4-enabled routines.
32843         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32844         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32845         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32846         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32847         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32848         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32849         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32850         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32851         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32852         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32853         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32854         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32855         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32856         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32857         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32858         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32859         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32860         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32861         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32862         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32863         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32864         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32865         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32866         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32867         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32868         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32869         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32870         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32871         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32872         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32874         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32875         rename.
32876         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32877         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32879         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32880         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32881         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32882         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32883         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32885 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32887         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32889 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32891         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32893         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32894         prediction.
32895         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32897         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32898         Remove unused variable magic_bits.
32899         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32901         * string/strnlen.c: Define and use STRNLEN macro.
32902         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32903         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32904         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32905         * wcsmbs/wcslen.c: Define and use WCSLEN.
32906         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32907         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32908         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32909         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32910         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32911         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32912         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32914 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32917         strnlen-sse2-no-bsf.
32918         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32919         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32920         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32921         Add strnlen support.
32922         (USE_AS_STRNLEN): New macro.
32923         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32924         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32925         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32926         * sysdeps/x86_64/wcslen.S: New file.
32928 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32930         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32931         XMM-moves are used for copying on small sizes.
32933 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32935         * wcsmbs/Makefile (strop-tests): Add wcschr.
32936         * wcsmbs/test-wcschr.c: New file.
32937         * string/test-strchr.c: Update.
32938         Add wcschr support.
32939         (WIDE): New macro.
32941 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32943         * wcsmbs/Makefile (strop-tests): Add wcslen.
32944         * wcsmbs/test-wcslen.c: New file.
32945         * string/test-strlen.c: Update.
32946         Add wcslen support.
32947         (WIDE): New macro.
32949 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32951         * po/it.po: Update from translation team.
32953 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32955         * sysdeps/x86_64/wcscmp.S: Update.
32956         Fix wrong comparison semantics.
32957         wcscmp shall use signed comparison not unsigned.
32958         Don't use substraction to avoid overflow bug.
32959         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32960         * wcsmbc/wcscmp.c: Likewise.
32961         * string/test-strcmp.c: Likewise.
32962         Add new tests to check cases with negative values.
32964 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32966         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32967         * sysdeps/x86_64/dla.h: ...here.  New file.
32968         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32969         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32970         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32971         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32972         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32973         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32974         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32975         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32976         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32978 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32980         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32981         __ynl_finite aliases.
32983 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32985         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32987         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32988         define DLA_FMA.
32989         [DLA_FMA] (EMULV): Use DLA_FMA.
32990         [DLA_FMA] (MUL12): Use EMULV.
32991         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32992         that are not needed.
32993         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32994         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32995         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32996         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32997         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32998         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32999         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33001 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33003         * math/s_nan.c: Undef __nan.
33004         * math/s_nanf.c: Undef __nanf.
33005         * math/s_nanl.c: Undef __nanl.
33006         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33007         "math_private.h".
33009 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33011         * math/s_catan.c: Add branch predictions.
33012         * math/s_catanf.c: Likewise.
33013         * math/s_catanh.c: Likewise.
33014         * math/s_catanhf.c: Likewise.
33015         * math/s_catanhl.c: Likewise.
33016         * math/s_catanl.c: Likewise.
33017         * math/s_cexp.c: Likewise.
33018         * math/s_cexpf.c: Likewise.
33019         * math/s_cexpl.c: Likewise.
33020         * math/s_clog.c: Likewise.
33021         * math/s_clog10.c: Likewise.
33022         * math/s_clog10f.c: Likewise.
33023         * math/s_clog10l.c: Likewise.
33024         * math/s_clogf.c: Likewise.
33025         * math/s_clogl.c: Likewise.
33026         * math/s_csqrt.c: Likewise.
33027         * math/s_csqrtf.c: Likewise.
33028         * math/s_csqrtl.c: Likewise.
33029         * math/s_ctanf.c: Likewise.
33030         * math/s_ctanh.c: Likewise.
33031         * math/s_ctanhf.c: Likewise.
33032         * math/s_ctanhl.c: Likewise.
33033         * math/s_ctanl.c: Likewise.
33035         * math/math_private.h: Define __nan, __nanf, __nanl.
33036         * math/s_cacosh.c: Include <math_private.h>.
33037         * math/s_cacoshl.c: Likewise.
33038         * math/s_casinh.c: Likewise.
33039         * math/s_casinhf.c: Likewise.
33040         * math/s_casinhl.c: Likewise.
33041         * math/s_ccos.c: Rely entire on ccosh.
33042         * math/s_ccosf.c: Rely entire on ccoshf.
33043         * math/s_ccosl.c: Rely entirely on ccoshl.
33044         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33045         Remove tests for FE_INVALID.
33046         * math/s_ccoshf.c: Likewise.
33047         * math/s_ccoshl.c: Likewise.
33048         * math/s_csin.c: Likewise.
33049         * math/s_csinf.c: Likewise.
33050         * math/s_csinh.c Likewise.
33051         * math/s_csinhf.c: Likewise.
33052         * math/s_csinhl.c: Likewise.
33053         * math/s_csinl.c: Likewise.
33054         * math/s_ctan.c: Likewise.
33055         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33056         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33057         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33059 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33062         compilation problems.
33064         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33065         __builtin_expect.
33067 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33069         * sysdeps/i386/configure.in: Test for -mfma4 option.
33070         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33071         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33072         COMMON_CPUID_INDEX_80000001.
33073         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33074         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33075         use it if FMA3 is not supported.
33076         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33078         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33079         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33081 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33083         [BZ #12892]
33084         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33085         it would create a cycle with a link time dependency.
33087 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33089         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33090         instruction.
33091         * string/Makefile (strop-tests): Add rawmemchr.
33092         * string/test-rawmemchr.c: New file.
33094         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33095         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33096         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33097         when compiling str{,n}casecmp and when AVX is available.  Hook up
33098         new optimized code in initializers.
33100 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33102         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33103         __feraiseexcept instead of feraiseexcept.
33105 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33107         * math/math_private.h: Define defaults for libc_fetestexcept and
33108         libc_feupdateenv.
33109         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33110         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33111         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33112         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33113         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33114         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33115         libc_fetestexcept and libc_feupdateenv.
33117         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33118         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33119         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33120         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33121         libc_feholdexcept_setround.
33123         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33124         Add s_nearbyint-c and s_nearbyintf-c.
33125         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33126         nearbyintf inlines.
33127         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33128         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33129         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33130         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33132         * math/math_private.h: Define defaults for libc_fegetround,
33133         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33134         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33135         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33136         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33137         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33138         standard functions.
33139         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33140         Remove comments and hacks for old compiler versions.
33141         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33142         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33143         libc_feholdexceptl.
33145 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33147         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33148         (__feraiseexcept_renamed): Add __NTH.
33149         (feraiseexcept): Add __NTH.  Rename local variables to fix
33150         namespace violations.
33152 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33154         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33156         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33158         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33159         recently added interfaces.
33160         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33162         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33163         about macro parameter expansion.
33165         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33166         __NO_MATH_INLINES is defined.  Cleanups.
33168         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33169         and __floorf is target has SSE4.1.
33170         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33171         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33172         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33173         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33175         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33176         name.
33177         (floorf): Likewise.
33179         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33181 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33183         * misc/sys/cdefs.h: Fix last change.
33185         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33186         database lookup.
33188 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33190         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33192         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33193         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33194         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33195         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33196         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33197         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33198         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33199         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33200         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33201         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33202         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33203         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33204         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33205         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33206         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33207         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33208         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33209         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33210         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33211         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33212         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33213         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33215         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33216         ceil, ceilf, floor, floorf.
33218         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33219         Perform IRELATIVE relocations last.
33221         * elf/do-rel.h: Add another parameter nrelative, replacing the
33222         local variable with the same name.  Change name of the function
33223         to end in Rel or Rela (uppercase).
33224         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33225         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33226         elf_dynamic_do_##reloc function.
33228 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33230         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33231         is sufficient, at least on modern CPUs.
33233         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33235         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33236         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33238         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33239         __expl_finite.
33240         * math/bits/math-finite.h: Add entries for exp.
33241         * math/e_expl.c: Add __*_finite alias.
33242         * sysdeps/i386/fpu/e_exp.S: Likewise.
33243         * sysdeps/i386/fpu/e_expf.S: Likewise.
33244         * sysdeps/i386/fpu/e_expl.c: Likewise.
33245         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33246         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33247         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33248         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33249         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33250         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33251         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33253         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33254         is sufficient, at least on modern CPUs.
33256         * ctype/ctype-info.c (__ctype_init): Define.
33257         * include/ctype.h (__ctype_init): Declare.
33258         (__ctype_b_loc): The variable is always initialized.
33259         (__ctype_toupper_loc): Likewise.
33260         (__ctype_tolower_loc): Likewise.
33261         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33262         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33264 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33266         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33268         * configure.in: Also look in $cxxmachine/include for C++ system
33269         headers.
33271 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33273         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33274         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33275         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33276         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33277         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33278         (USE_AS_WMEMCMP): New macro.
33279         Fixing indents.
33280         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33281         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33282         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33283         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33285         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33286         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33287         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33288         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33289         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33290         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33291         (USE_AS_WMEMCMP): New macro.
33292         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33293         * sysdeps/string/test-memcmp.c: Update.
33294         Fix simple_wmemcmp.
33295         Add new tests.
33296         * wcsmbs/wmemcmp.c: Update.
33297         (WMEMCMP): New macro.
33298         Fix overflow bug.
33300 2011-10-12  Andreas Jaeger  <aj@suse.de>
33302         [BZ #13268]
33303         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33305 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33307         * libio/iofwide.c (do_length): Avoid warning.
33309         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33311 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33313         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33315         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33316         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33317         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33318         * sysdeps/i386/i686/fpu/e_log.S: New file.
33319         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33320         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33322         * ctype/ctype.h: Add support for inlined isXXX functions when
33323         compiling C++ code.
33325 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33327         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33329         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33331 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33333         [BZ #13291]
33334         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33336 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33338         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33339         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33340         feraiseexcept.
33342         * sysdeps/x86_64/memrchr.S: Check for zero size.
33344         * string/stratcliff.c: Add memrchr tests.
33346 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33348         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33349         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33350         rawmemchr-sse2 rawmemchr-sse2-bsf.
33351         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33352         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33353         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33354         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33355         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33356         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33357         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33358         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33359         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33360         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33361         * string/memrchr.c (MEMRCHR): New macro.
33363 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33365         Add integration with gcc's -ffinite-math-only and optimize wrapper
33366         functions in libm.
33367         * Versions.def: Define GLIBC_2.15 version for libm.
33368         * math/Makefile (headers): Add bits/math-finite.h.
33369         * math/bits/math-finite.h: New file.
33370         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33371         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33372         * math/e_acoshl.c: Add __*_finite alias.
33373         * math/e_acosl.c: Likewise.
33374         * math/e_asinl.c: Likewise.
33375         * math/e_atan2l.c: Likewise.
33376         * math/e_atanhl.c: Likewise.
33377         * math/e_coshl.c: Likewise.
33378         * math/e_exp10.c: Likewise.
33379         * math/e_exp10f.c: Likewise.
33380         * math/e_exp10l.c: Likewise.
33381         * math/e_exp2l.c: Likewise.
33382         * math/e_fmodl.c: Likewise.
33383         * math/e_gammal_r.c: Likewise.
33384         * math/e_hypotl.c: Likewise.
33385         * math/e_j0l.c: Likewise.
33386         * math/e_j1l.c: Likewise.
33387         * math/e_jnl.c: Likewise.
33388         * math/e_lgammal_r.c: Likewise.
33389         * math/e_log10l.c: Likewise.
33390         * math/e_log2l.c: Likewise.
33391         * math/e_logl.c: Likewise.
33392         * math/e_powl.c: Likewise.
33393         * math/e_sinhl.c: Likewise.
33394         * math/e_sqrtl.c: Likewise.
33395         * math/e_scalb.c: Completely rewritten and optimized.
33396         * math/e_scalbf.c: Likewise.
33397         * math/e_scalbl.c: Likewise.
33398         * math/w_acos.c: Likewise.
33399         * math/w_acosf.c: Likewise.
33400         * math/w_acosl.c: Likewise.
33401         * math/w_acosh.c: Likewise.
33402         * math/w_acoshf.c: Likewise.
33403         * math/w_acoshl.c: Likewise.
33404         * math/w_asin.c: Likewise.
33405         * math/w_asinf.c: Likewise.
33406         * math/w_asinl.c: Likewise.
33407         * math/w_atan2.c: Likewise.
33408         * math/w_atan2f.c: Likewise.
33409         * math/w_atan2l.c: Likewise.
33410         * math/w_atanh.c: Likewise.
33411         * math/w_atanhf.c: Likewise.
33412         * math/w_atanhl.c: Likewise.
33413         * math/w_exp10.c: Likewise.
33414         * math/w_exp10f.c: Likewise.
33415         * math/w_exp10l.c: Likewise.
33416         * math/w_fmod.c: Likewise.
33417         * math/w_fmodf.c: Likewise.
33418         * math/w_fmodl.c: Likewise.
33419         * math/w_j0.c: Likewise.
33420         * math/w_j0f.c: Likewise.
33421         * math/w_j0l.c: Likewise.
33422         * math/w_j1.c: Likewise.
33423         * math/w_j1f.c: Likewise.
33424         * math/w_j1l.c: Likewise.
33425         * math/w_jn.c: Likewise.
33426         * math/w_jnf.c: Likewise.
33427         * math/w_log.c: Likewise.
33428         * math/w_logf.c: Likewise.
33429         * math/w_logl.c: Likewise.
33430         * math/w_log10.c: Likewise.
33431         * math/w_log10f.c: Likewise.
33432         * math/w_log10l.c: Likewise.
33433         * math/w_log2.c: Likewise.
33434         * math/w_log2f.c: Likewise.
33435         * math/w_log2l.c: Likewise.
33436         * math/w_pow.c: Likewise.
33437         * math/w_powf.c: Likewise.
33438         * math/w_powl.c: Likewise.
33439         * math/w_remainder.c: Likewise.
33440         * math/w_remainderf.c: Likewise.
33441         * math/w_remainderl.c: Likewise.
33442         * math/w_scalb.c: Likewise.
33443         * math/w_scalbf.c: Likewise.
33444         * math/w_scalbl.c: Likewise.
33445         * math/w_sqrt.c: Likewise.
33446         * math/w_sqrtf.c: Likewise.
33447         * math/w_sqrtl.c: Likewise.
33448         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33449         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33450         used.
33451         * math/math_private.h: Declare __kernel_standard_f.
33452         * math/w_cosh.c: Remove cruft and optimize a bit.
33453         * math/w_coshf.c: Likewise.
33454         * math/w_coshl.c: Likewise.
33455         * math/w_exp2.c: Likewise.
33456         * math/w_exp2f.c: Likewise.
33457         * math/w_exp2l.c: Likewise.
33458         * math/w_hypot.c: Likewise.
33459         * math/w_hypotf.c: Likewise.
33460         * math/w_hypotl.c: Likewise.
33461         * math/w_lgamma.c: Likewise.
33462         * math/w_lgamma_r.c: Likewise.
33463         * math/w_lgammaf.c: Likewise.
33464         * math/w_lgammaf_r.c: Likewise.
33465         * math/w_lgammal.c: Likewise.
33466         * math/w_lgammal_r.c: Likewise.
33467         * math/w_sinh.c: Likewise.
33468         * math/w_sinhf.c: Likewise.
33469         * math/w_sinhl.c: Likewise.
33470         * math/w_tgamma.c: Likewise.
33471         * math/w_tgammaf.c: Likewise.
33472         * math/w_tgammal.c: Likewise.
33473         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33474         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33475         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33476         Minor optimizations.  Pretty printing.  Remove cruft.
33477         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33478         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33479         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33480         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33481         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33482         * sysdeps/i386/fpu/e_asin.S: Likewise.
33483         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33484         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33485         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33486         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33487         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33488         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33489         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33490         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33491         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33492         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33493         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33494         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33495         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33496         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33497         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33498         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33499         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33500         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33501         * sysdeps/i386/fpu/e_log.S: Likewise.
33502         * sysdeps/i386/fpu/e_log10.S: Likewise.
33503         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33504         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33505         * sysdeps/i386/fpu/e_log2.S: Likewise.
33506         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33507         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33508         * sysdeps/i386/fpu/e_logf.S: Likewise.
33509         * sysdeps/i386/fpu/e_logl.S: Likewise.
33510         * sysdeps/i386/fpu/e_pow.S: Likewise.
33511         * sysdeps/i386/fpu/e_powf.S: Likewise.
33512         * sysdeps/i386/fpu/e_powl.S: Likewise.
33513         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33514         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33515         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33516         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33517         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33518         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33519         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33520         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33521         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33522         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33523         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33524         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33525         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33526         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33527         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33528         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33529         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33530         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33531         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33532         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33533         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33534         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33535         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33536         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33537         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33538         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33539         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33540         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33541         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33542         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33543         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33544         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33545         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33546         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33547         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33548         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33549         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33550         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33551         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33552         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33553         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33554         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33555         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33556         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33557         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33558         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33559         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33560         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33561         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33562         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33563         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33564         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33565         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33566         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33567         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33568         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33569         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33570         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33571         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33572         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33573         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33574         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33575         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33576         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33577         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33578         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33579         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33580         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33581         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33582         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33583         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33584         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33585         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33586         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33587         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33588         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33589         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33590         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33591         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33592         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33593         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33594         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33595         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33596         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33597         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33598         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33599         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33600         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33601         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33602         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33603         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33604         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33605         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33606         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33607         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33608         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33609         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33610         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33611         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33612         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33613         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33614         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33615         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33616         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33617         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33618         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33619         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33620         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33621         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33622         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33623         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33624         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33625         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33626         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33627         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33628         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33629         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33630         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33631         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33632         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33633         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33634         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33635         (__isnanf): Likewise.
33636         (__isinf_ns): Likewise.
33637         (__isinf_nsf): Likewise.
33638         (__finite): Likewise.
33639         (__finitef): Likewise.
33640         (__ieee754_sqrt): Define as macro.
33641         (__ieee754_sqrtf): Define as macro.
33642         (__ieee754_sqrtl): Define as macro.
33643         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33644         inlined copy.
33645         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33646         __FINITE_MATH_ONLY__ consistent.
33647         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33649 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33651         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33652         of rawmemchr.
33654         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33656 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33658         * po/ja.po: Update from translation team.
33660 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33662         * locale/programs/locarchive.c (prepare_address_space): New function.
33663         (create_archive, enlarge_archive, open_archive): Use it.
33665         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33666         inside [SHARED], where it is used.
33668         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33670         * nss/getent.c (netgroup_keys): Remove unused variable.
33671         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33673 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33675         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33676         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33677         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33678         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33679         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33680         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33681         * math/Makefile (libm-calls): Add s_isinf_ns.
33682         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33683         * math/multc3.c: Likewise.
33684         * math/s_casin.c: Likewise.
33685         * math/s_casinf.c: Likewise.
33686         * math/s_casinl.c: Likewise.
33687         * math/s_ccos.c: Likewise.
33688         * math/s_ccosf.c: Likewise.
33689         * math/s_ccosl.c: Likewise.
33690         * math/s_ctan.c: Likewise.
33691         * math/s_ctanf.c: Likewise.
33692         * math/s_ctanh.c: Likewise.
33693         * math/s_ctanhf.c: Likewise.
33694         * math/s_ctanhl.c: Likewise.
33695         * math/s_ctanl.c: Likewise.
33696         * math/w_fmod.c: Likewise.
33697         * math/w_fmodf.c: Likewise.
33698         * math/w_fmodl.c: Likewise.
33699         * math/w_remainder.c: Likewise.
33700         * math/w_remainderf.c: Likewise.
33701         * math/w_remainderl.c: Likewise.
33702         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33703         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33704         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33706         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33707         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33708         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33709         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33711         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33712         of the number.
33713         * stdio-common/printf_fphex.c: Likewise.
33714         * stdio-common/printf_size.c: Likewise.
33716         * math/e_exp10.c: Include math_private.h using <...> not "...".
33717         * math/e_exp10f.c: Likewise.
33718         * math/e_exp10l.c: Likewise.
33719         * math/e_exp2l.c: Likewise.
33720         * math/e_j0l.c: Likewise.
33721         * math/e_j1l.c: Likewise.
33722         * math/e_jnl.c: Likewise.
33723         * math/e_lgammal_r.c: Likewise.
33724         * math/e_rem_pio2l.c: Likewise.
33725         * math/e_scalb.c: Likewise.
33726         * math/e_scalbf.c: Likewise.
33727         * math/e_scalbl.c: Likewise.
33728         * math/k_cosl.c: Likewise.
33729         * math/k_sinl.c: Likewise.
33730         * math/k_tanl.c: Likewise.
33731         * math/s_cacoshf.c: Likewise.
33732         * math/s_catan.c: Likewise.
33733         * math/s_catanf.c: Likewise.
33734         * math/s_catanh.c: Likewise.
33735         * math/s_catanhf.c: Likewise.
33736         * math/s_catanhl.c: Likewise.
33737         * math/s_catanl.c: Likewise.
33738         * math/s_ccosh.c: Likewise.
33739         * math/s_ccoshf.c: Likewise.
33740         * math/s_ccoshl.c: Likewise.
33741         * math/s_cexp.c: Likewise.
33742         * math/s_cexpf.c: Likewise.
33743         * math/s_cexpl.c: Likewise.
33744         * math/s_clog.c: Likewise.
33745         * math/s_clog10.c: Likewise.
33746         * math/s_clog10f.c: Likewise.
33747         * math/s_clog10l.c: Likewise.
33748         * math/s_clogf.c: Likewise.
33749         * math/s_clogl.c: Likewise.
33750         * math/s_csin.c: Likewise.
33751         * math/s_csinf.c: Likewise.
33752         * math/s_csinh.c: Likewise.
33753         * math/s_csinhf.c: Likewise.
33754         * math/s_csinhl.c: Likewise.
33755         * math/s_csinl.c: Likewise.
33756         * math/s_csqrt.c: Likewise.
33757         * math/s_csqrtf.c: Likewise.
33758         * math/s_csqrtl.c: Likewise.
33759         * math/s_ctan.c: Likewise.
33760         * math/s_ctanf.c: Likewise.
33761         * math/s_ctanh.c: Likewise.
33762         * math/s_ctanhf.c: Likewise.
33763         * math/s_ctanhl.c: Likewise.
33764         * math/s_ctanl.c: Likewise.
33765         * math/s_ldexp.c: Likewise.
33766         * math/s_ldexpf.c: Likewise.
33767         * math/s_ldexpl.c: Likewise.
33768         * math/s_significand.c: Likewise.
33769         * math/s_significandf.c: Likewise.
33770         * math/s_significandl.c: Likewise.
33771         * math/w_acos.c: Likewise.
33772         * math/w_acosf.c: Likewise.
33773         * math/w_acosh.c: Likewise.
33774         * math/w_acoshf.c: Likewise.
33775         * math/w_acoshl.c: Likewise.
33776         * math/w_acosl.c: Likewise.
33777         * math/w_asin.c: Likewise.
33778         * math/w_asinf.c: Likewise.
33779         * math/w_asinl.c: Likewise.
33780         * math/w_atan2.c: Likewise.
33781         * math/w_atan2f.c: Likewise.
33782         * math/w_atan2l.c: Likewise.
33783         * math/w_atanh.c: Likewise.
33784         * math/w_atanhf.c: Likewise.
33785         * math/w_atanhl.c: Likewise.
33786         * math/w_cosh.c: Likewise.
33787         * math/w_coshf.c: Likewise.
33788         * math/w_coshl.c: Likewise.
33789         * math/w_dremf.c: Likewise.
33790         * math/w_exp10.c: Likewise.
33791         * math/w_exp10f.c: Likewise.
33792         * math/w_exp10l.c: Likewise.
33793         * math/w_exp2.c: Likewise.
33794         * math/w_exp2f.c: Likewise.
33795         * math/w_fmod.c: Likewise.
33796         * math/w_fmodf.c: Likewise.
33797         * math/w_fmodl.c: Likewise.
33798         * math/w_hypot.c: Likewise.
33799         * math/w_hypotf.c: Likewise.
33800         * math/w_hypotl.c: Likewise.
33801         * math/w_j0.c: Likewise.
33802         * math/w_j0f.c: Likewise.
33803         * math/w_j0l.c: Likewise.
33804         * math/w_j1.c: Likewise.
33805         * math/w_j1f.c: Likewise.
33806         * math/w_j1l.c: Likewise.
33807         * math/w_jn.c: Likewise.
33808         * math/w_jnf.c: Likewise.
33809         * math/w_jnl.c: Likewise.
33810         * math/w_lgamma.c: Likewise.
33811         * math/w_lgamma_r.c: Likewise.
33812         * math/w_lgammaf.c: Likewise.
33813         * math/w_lgammaf_r.c: Likewise.
33814         * math/w_lgammal.c: Likewise.
33815         * math/w_lgammal_r.c: Likewise.
33816         * math/w_log.c: Likewise.
33817         * math/w_log10.c: Likewise.
33818         * math/w_log10f.c: Likewise.
33819         * math/w_log10l.c: Likewise.
33820         * math/w_log2.c: Likewise.
33821         * math/w_log2f.c: Likewise.
33822         * math/w_log2l.c: Likewise.
33823         * math/w_logf.c: Likewise.
33824         * math/w_logl.c: Likewise.
33825         * math/w_pow.c: Likewise.
33826         * math/w_powf.c: Likewise.
33827         * math/w_powl.c: Likewise.
33828         * math/w_remainder.c: Likewise.
33829         * math/w_remainderf.c: Likewise.
33830         * math/w_remainderl.c: Likewise.
33831         * math/w_scalb.c: Likewise.
33832         * math/w_scalbf.c: Likewise.
33833         * math/w_scalbl.c: Likewise.
33834         * math/w_sinh.c: Likewise.
33835         * math/w_sinhf.c: Likewise.
33836         * math/w_sinhl.c: Likewise.
33837         * math/w_sqrt.c: Likewise.
33838         * math/w_sqrtf.c: Likewise.
33839         * math/w_sqrtl.c: Likewise.
33840         * math/w_tgamma.c: Likewise.
33841         * math/w_tgammaf.c: Likewise.
33842         * math/w_tgammal.c: Likewise.
33844         * po/ja.po: Update from translation team.
33846 2011-09-29  Andreas Jaeger  <aj@suse.de>
33848         [BZ #13179]
33849         * sunrpc/netname.c (netname2host): Fix logic.
33851         [BZ #6779]
33852         [BZ #6783]
33853         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33854         correctly.
33855         * math/w_remainder.c (__remainder): Likewise.
33856         * math/w_remainderf.c (__remainderf): Likewise.
33857         * math/libm-test.inc (remainder_test): Add test cases.
33859 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33861         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33862         sdiv_qrnnd.
33864 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33866         * string/test-memcmp.c: Avoid unncessary #defines.
33867         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33869 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33871         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33872         Use new sse2 version for core i3 - i7 as it's faster
33873         than sse42 version.
33874         (bit_Prefer_PMINUB_for_stringop): New.
33875         * sysdeps/x86_64/rawmemchr.S: Update.
33876         Replace with faster SSE2 version.
33877         * sysdeps/x86_64/memrchr.S: New file.
33878         * sysdeps/x86_64/memchr.S: Update.
33879         Replace with faster SSE2 version.
33881 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33883         * elf/dl-load.c (lose): Add cast to avoid warning.
33885 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33887         * po/ca.po: Update from translation team.
33889         * inet/getnetgrent_r.c: Hook up nscd.
33890         * nscd/Makefile (routines): Add nscd_netgroup.
33891         (nscd-modules): Add netgroupcache.
33892         (CFLAGS-netgroupcache.c): Define.
33893         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33894         (cache_search): Add const to second parameter.
33895         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33896         INNETGR.
33897         (dbs): Add netgrdb entry.
33898         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33899         (verify_persistent_db): Handle netgrdb.
33900         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33901         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33902         GETFDNETGR.
33903         (netgroup_response_header): Define.
33904         (innetgroup_response_header): Define.
33905         (datahead): Add netgroup_response_header and innetgroup_response_header
33906         elements.
33907         * nscd/nscd.conf: Add entries for netgroup cache.
33908         * nscd/nscd.h (dbtype): Add netgrdb.
33909         (_PATH_NSCD_NETGROUP_DB): Define.
33910         (netgroup_iov_disabled): Declare.
33911         (xmalloc, xcalloc, xrealloc): Move declarations here.
33912         (cache_search): Adjust prototype.
33913         Add netgroup-related prototypes.
33914         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33915         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33916         (__nscd_innetgr): Declare.
33917         * nscd/selinux.c (perms): Use access_vector_t as element type and
33918         add netgroup-related initializers.
33919         * nscd/netgroupcache.c: New file.
33920         * nscd/nscd_netgroup.c: New file.
33921         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33922         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33923         For four parameters use innetgr.
33924         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33925         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33926         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33927         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33929         * nscd/connections.c (register_traced_file): Don't register file
33930         for disabled databases.
33932 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33934         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33936         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33937         from tree and freeing node.
33939 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33941         * nss/nsswitch.c (__nss_database_lookup): Handle
33942         nss_parse_service_list out of memory case.
33944 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33946         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33947         out of memory case.
33949 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33951         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33952         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33953         pass it down.
33954         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33955         elf_machine_rela, elf_machine_lazy_rel.
33956         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33957         (ELF_DYNAMIC_DO_REL): Likewise.
33958         (ELF_DYNAMIC_DO_RELA): Likewise.
33959         (ELF_DYNAMIC_RELOCATE): Likewise.
33960         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33961         to ELF_DYNAMIC_DO_REL.
33962         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33963         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33964         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33965         elf_machine_rela.
33966         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33967         skip_ifunc, don't call ifunc function if non-zero.
33968         (elf_machine_rela): Likewise.
33969         (elf_machine_lazy_rel): Likewise.
33970         (elf_machine_lazy_rela): Likewise.
33971         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33972         (elf_machine_lazy_rel): Likewise.
33973         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33974         Likewise.
33975         (elf_machine_lazy_rel): Likewise.
33976         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33977         Likewise.
33978         (elf_machine_lazy_rel): Likewise.
33979         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33980         (elf_machine_lazy_rel): Likewise.
33981         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33982         (elf_machine_lazy_rel): Likewise.
33983         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33984         (elf_machine_lazy_rel): Likewise.
33985         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33986         (elf_machine_lazy_rel): Likewise.
33987         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33988         (elf_machine_lazy_rel): Likewise.
33989         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33990         (elf_machine_lazy_rel): Likewise.
33992 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33994         * nss/nss_files/files-init.c (_nss_files_init): Use static
33995         initialization for all the *_traced_file variables.
33997 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33999         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34001 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34003         [BZ #13226]
34004         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34006 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34008         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34009         Reread the line before reparsing it.
34011 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34013         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34015 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34016             Maxim Kuvyrkov  <maxim@codesourcery.com>
34017             Joseph Myers  <joseph@codesourcery.com>
34019         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34020         if needed for __stack_chk_guard.
34022 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34024         * sysdeps/posix/spawni.c (script_execute): Always define it.
34025         It will be optimized away if unused.
34026         (maybe_script_execute): New function.
34027         (__spawni): Call it.
34029         * Makerules: Don't include tls.make.
34030         (config-tls): Always set to thread.
34031         * tls.make.c: File removed.
34033 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34035         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34036         * config.make.in (CPPFLAGS-config): New substituted variable.
34038 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34040         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34042         [BZ #13192]
34043         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34044         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34046 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34048         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34049         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34050         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34051         (CALL_FAIL): Likewise.
34052         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34053         (CALL_FAIL): Macro removed.
34054         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34056 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34058         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34059         for __FINITE_MATH_ONLY__ == 1.
34061 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34063         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34064         __ieee754_sqrt instead of sqrt.
34065         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34066         __ieee754_sqrtf instead of sqrtf.
34067         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34068         __floorf instead of floorf.
34069         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34070         __floorf, __truncf instead of floorf, truncf.
34072 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34074         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34076         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34077         __extern_always_inline.
34078         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34079         32-bit.
34081 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34083         * elf/rtld.c (dl_main): Also relocate in dependency order when
34084         doing symbol dependency testing.
34086 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34088         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34089         Always define `refsym'.
34091 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34093         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34094         (__FD_ELT): Renamed from __FDELT.
34095         * misc/bits/select2.h (__FD_ELT): Likewise.
34096         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34097         __FD_MASK instead of __FDELT, __FDMASK.
34098         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34099         Likewise.
34100         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34101         Likewise.
34103         * elf/Makefile (gen-ldd): Fix pattern.
34105         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34106         (init_tls): Likewise.
34108 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34110         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34112 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34114         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34115         `struct cmsghdr *' instead of `void *'.
34116         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34117         Likewise.
34119 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34121         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34122         if non-absolute.
34123         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34124         ldd_rewrite_script.
34126 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34128         * configure.in: Remove --with-tls option.
34129         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34130         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34131         out in case it is missing.
34132         * sysdeps/ia64/elf/configure.in: Likewise.
34133         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34134         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34135         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34136         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34137         * sysdeps/sh/elf/configure.in: Likewise.
34138         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34139         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34140         * sysdeps/x86_64/elf/configure.in: Likewise.
34141         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34142         * sysdeps/mach/hurd/tls.h: Likewise.
34144         [BZ #13067]
34145         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34147         [BZ #13090]
34148         * configure.in: Fix use of AC_INIT.
34150         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34152 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34154         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34155         __set_errno.
34156         * malloc/hooks.c: Likewise.
34158         [BZ #11929]
34159         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34160         variables statically.
34161         (narenas): Initialize.
34162         (list_lock): Initialize.
34163         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34164         initializtion of main_arena and list_lock.  Small cleanups.
34165         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34166         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34167         Add initializers to main_arena and mp_.
34168         (malloc_state): Remove pagesize member.  Change all users to use
34169         GLRO(dl_pagesize).
34171         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34172         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34173         is always initialized.
34175         * malloc/malloc.c: Removed unused configurations and dead code.
34176         * malloc/arena.c: Likewise.
34177         * malloc/hooks.c: Likewise.
34178         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34180         * include/tls.h: Removed.  USE___THREAD must always be defined.
34181         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34182         * elf/dl-libc.c: Likewise.
34183         * elf/dl-tsd.c: Likewise.
34184         * include/errno.h: Likewise.
34185         * include/netdb.h: Likewise.
34186         * include/resolv.h: Likewise.
34187         * inet/herrno-loc.c: Likewise.
34188         * inet/herrno.c: Likewise.
34189         * malloc/arena.c: Likewise.
34190         * malloc/hooks.c: Likewise.
34191         * malloc/malloc.c: Likewise.
34192         * resolv/res-state.c: Likewise.
34193         * resolv/res_libc.c: Likewise.
34194         * sysdeps/i386/dl-machine.h: Likewise.
34195         * sysdeps/ia64/dl-machine.h: Likewise.
34196         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34197         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34198         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34199         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34200         * sysdeps/sh/dl-machine.h: Likewise.
34201         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34202         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34203         * sysdeps/unix/i386/sysdep.S: Likewise.
34204         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34205         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34206         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34207         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34208         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34210         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34211         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34214         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34215         * sysdeps/x86_64/dl-machine.h: Likewise.
34216         * tls.make.c: Likewise.
34218         * configure.in: Remove --with-__thread option.  Make tests for
34219         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34220         tls_model attribute fail if no support is available.  Remove
34221         USE_IN_LIBIO.
34222         * Makeconfig: Adjust for dropped configure option.  All features are
34223         now mandatory.
34224         * Makerules: Likewise.
34225         * Versions.def: Likewise.
34226         * argp/argp-fmtstream.c: Likewise.
34227         * argp/argp-fmtstream.h: Likewise.
34228         * argp/argp-help.c: Likewise.
34229         * assert/assert.c: Likewise.
34230         * config.h.in: Likewise.
34231         * config.make.in: Likewise.
34232         * configure: Likewise.
34233         * configure.in: Likewise.
34234         * csu/Versions: Likewise.
34235         * csu/init.c: Likewise.
34236         * elf/tst-audit2.c: Likewise.
34237         * elf/tst-tls10.c: Likewise.
34238         * elf/tst-tls10.h: Likewise.
34239         * elf/tst-tls11.c: Likewise.
34240         * elf/tst-tls12.c: Likewise.
34241         * elf/tst-tls14.c: Likewise.
34242         * elf/tst-tlsmod11.c: Likewise.
34243         * elf/tst-tlsmod12.c: Likewise.
34244         * elf/tst-tlsmod13.c: Likewise.
34245         * elf/tst-tlsmod13a.c: Likewise.
34246         * elf/tst-tlsmod14a.c: Likewise.
34247         * elf/tst-tlsmod15b.c: Likewise.
34248         * elf/tst-tlsmod16a.c: Likewise.
34249         * elf/tst-tlsmod16b.c: Likewise.
34250         * elf/tst-tlsmod7.c: Likewise.
34251         * elf/tst-tlsmod8.c: Likewise.
34252         * elf/tst-tlsmod9.c: Likewise.
34253         * gmon/gmon.c: Likewise.
34254         * grp/fgetgrent_r.c: Likewise.
34255         * grp/putgrent.c: Likewise.
34256         * hurd/fopenport.c: Likewise.
34257         * include/libc-symbols.h: Likewise.
34258         * include/tls.h: Likewise.
34259         * intl/gettextP.h: Likewise.
34260         * intl/loadinfo.h: Likewise.
34261         * locale/global-locale.c: Likewise.
34262         * locale/localeinfo.h: Likewise.
34263         * mach/devstream.c: Likewise.
34264         * malloc/arena.c: Likewise.
34265         * malloc/set-freeres.c: Likewise.
34266         * misc/err.c: Likewise.
34267         * misc/getttyent.c: Likewise.
34268         * misc/mntent_r.c: Likewise.
34269         * posix/getopt.c: Likewise.
34270         * posix/wordexp.c: Likewise.
34271         * pwd/fgetpwent_r.c: Likewise.
34272         * resolv/Versions: Likewise.
34273         * resolv/res_hconf.c: Likewise.
34274         * shadow/fgetspent_r.c: Likewise.
34275         * shadow/putspent.c: Likewise.
34276         * stdio-common/printf_fphex.c: Likewise.
34277         * stdio-common/tmpfile.c: Likewise.
34278         * stdlib/abort.c: Likewise.
34279         * stdlib/fmtmsg.c: Likewise.
34280         * sunrpc/auth_unix.c: Likewise.
34281         * sunrpc/clnt_perr.c: Likewise.
34282         * sunrpc/clnt_tcp.c: Likewise.
34283         * sunrpc/clnt_udp.c: Likewise.
34284         * sunrpc/clnt_unix.c: Likewise.
34285         * sunrpc/openchild.c: Likewise.
34286         * sunrpc/svc_simple.c: Likewise.
34287         * sunrpc/svc_tcp.c: Likewise.
34288         * sunrpc/svc_udp.c: Likewise.
34289         * sunrpc/svc_unix.c: Likewise.
34290         * sunrpc/xdr.c: Likewise.
34291         * sunrpc/xdr_array.c: Likewise.
34292         * sunrpc/xdr_rec.c: Likewise.
34293         * sunrpc/xdr_ref.c: Likewise.
34294         * sunrpc/xdr_stdio.c: Likewise.
34296 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34298         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34300 2011-07-03  Andreas Jaeger  <aj@suse.de>
34302         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34303         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34304         regenerate with gen-libm-tests.pl.
34306 2010-05-12  Petr Baudis  <pasky@suse.cz>
34308         [BZ #11589]
34309         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34310         around j0() zero points by switching to j1().
34311         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34312         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34313         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34314         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34316 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34318         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34319         instead of 0.
34320         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34321         instead of 0.
34322         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34323         Patch in part by Pavel Roskin <proski@gnu.org>.
34325         [BZ #13138]
34326         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34327         realloc.
34328         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34329         Free memory block if necessary.
34331         [BZ #12847]
34332         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34333         be NULL.  Don't lock in this case.
34335 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34337         * elf/elf.h (ELFOSABI_GNU): New macro.
34338         (ELFOSABI_LINUX): Define to that.
34340 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34342         * string/strncat.c (strncat): Undef the symbol in case it has been
34343         defined in bits/string.h.
34345 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34347         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34349         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34350         link map.
34352 2011-08-17  Andreas Jaeger  <aj@suse.de>
34354         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34356 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34357             Ian Lance Taylor  <iant@google.com>
34359         * math/libm-test.inc (lround_test): New testcase.
34360         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34362 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34364         * Makefile: Remove support for automatic cvs check-ins.
34365         * Makerules: Likewise.
34366         * config.make.in: Likewise.
34367         * configure.in: Likewise.
34368         * intl/Makefile: Likewise.
34369         * locale/Makefile: Likewise.
34370         * po/Makefile: Likewise.
34371         * posix/Makefile: Likewise.
34372         * sysdeps/gnu/Makefile: Likewise.
34373         * sysdeps/mach/hurd/Makefile: Likewise.
34374         * sysdeps/sparc/sparc32/Makefile: Likewise.
34376         [BZ #13118]
34377         * posix/Makefile (bug-regex32-ENV): Define.
34378         Patch by John Stanley <jpsinthemix@verizon.net>.
34380         * misc/Makefile (headers): Add bits/select2.h.
34381         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34382         * misc/bits/select2.h: New file.
34383         * include/bits/select2.h: New file.
34384         * debug/Makefile (routines): Add fdelt_chk.
34385         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34386         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34387         FD_ISSET.
34388         * debug/fdelt_chk.c: New file.
34390         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34391         * wcsmbs/test-wmemcmp.c: Likewise.
34392         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34393         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34395 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34397         * string/Makefile (strop-tests): Add memcmp.
34398         * string/test-wmemcmp.c: New file.
34399         * string/test-memcmp.c: Add wmemcmp support.
34401 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34403         [BZ #13153]
34404         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34405         2011-07-19 change.
34407         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34408         garbage value in a __mach_port_mod_refs call in the cases of the
34409         task-self and thread-self ports.
34411 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34413         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34415 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34417         * elf/dl-load.c (lose): Check for non-null L.
34419 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34421         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34423         * elf/dl-libc.c (dlerror_run): Pass back error code from
34424         dl_catch_error.
34426         [BZ #13123]
34427         * elf/dl-load.c (lose): Free l_origin if it is valid.
34429         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34430         names.
34431         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34432         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34433         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34434         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34435         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34436         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34438 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34440         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34441         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34442         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34443         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34444         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34445         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34446         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34447         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34448         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34449         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34451 2011-08-15  Alan Modra  <amodra@gmail.com>
34453         [BZ #13092]
34454         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34455         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34456         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34457         ppc_mcount to static-only-routines.
34458         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34459         __mcount_internal.
34460         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34461         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34463 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34465         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34466         for finite and infinity parameters.
34468 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34470         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34471         and add nop instructions for throughput optimization.
34472         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34474 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34476         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34477         aligned copy for power7 with vector-scalar instructions.
34478         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34480 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34482         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34483         AVX check.
34485 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34487         [BZ #13144]
34488         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34489         last change.
34491 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34493         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34494         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34495         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34496         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34497         clock_gettime.
34499 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34501         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34502         Forgot to demangle the pointer.
34504         * sysdeps/i386/sysdep.h: Define atom_text_section.
34505         * sysdeps/x86_64/sysdep.h: Likewise.
34506         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34507         section with atom_text_section.
34508         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34509         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34510         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34511         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34512         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34514         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34515         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34516         already be defined.  Change to take two parameters and don't assign
34517         result to variable.  Adjust all users.
34518         Define INTERNAL_GETTIME if not already defined.
34519         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34520         call.
34521         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34522         HAVE_CLOCK_GETTIME_VSYSCALL.
34523         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34525         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34526         gettimeofday vsyscall, just use time.
34528 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34530         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34531         <errno.h>.
34533 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34535         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34536         syscall on x86-64.
34537         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34538         syscall.
34539         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34540         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34541         syscall if possible.
34543 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34545         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34546         e_ident.  Don't pass to find_mapsXX.
34547         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34549 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34551         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34552         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34553         * sysdeps/x86_64/multiarch/strchr.S: Update.
34554         Check bit_slow_BSF bit.
34555         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34556         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34557         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34559 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34561         [BZ #13134]
34562         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34563         before glibc 2.15.
34564         (tryshell): Define.
34565         (__spawni): Change last parameter to be flag.  Test
34566         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34567         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34568         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34569         * posix/spawni.c: Likewise.
34570         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34571         * posix/spawnp.c: Likewise.  Change normal version to use
34572         SPAWN_XFLAGS_USE_PATH.
34573         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34574         SPAWN_XFLAGS_TRY_SHELL.
34576         [BZ #13150]
34577         * posix/glob.h: Remove gcc 1.x support.
34579         [BZ #13068]
34580         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34582 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34584         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34585         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34586         strrchr-sse2-bsf
34587         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34588         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34589         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34590         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34591         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34592         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34594 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34596         * sysdeps/x86_64/wcscmp.S: New file.
34598         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34599         wcscmp-c wcscmp-sse2
34600         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34601         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34602         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34603         * wcsmbs/wcscmp.c: Allow renaming.
34605 2011-09-05  David S. Miller  <davem@davemloft.net>
34607         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34608         stack slot, rather than the struct return pointer slot.
34609         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34610         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34612         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34614 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34616         * po/ja.po: Update from translation team.
34618         [BZ #13144]
34619         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34620         kernel in 64-bit binaries.
34622 2011-09-01  David S. Miller  <davem@davemloft.net>
34624         * elf/elf.h (HWCAP_SPARC_*): Move to..
34625         * sysdeps/sparc/sysdep.h: this new file and add new values.
34626         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34627         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34628         _DL_HWCAP_COUNT to 24.
34629         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34630         entries.
34631         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34632         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34633         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34634         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34635         instead of magic constants.
34636         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34638 2011-08-31  David S. Miller  <davem@davemloft.net>
34640         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34642         Reimplement to do errno handling inline.
34643         (SYSCALL_ERROR_HANDLER): New macro.
34644         (__SYSCALL_STRING): Do not do errno handling in asm.
34645         (__CLONE_SYSCALL_STRING): Delete.
34646         (__INTERNAL_SYSCALL_STRING): Delete.
34647         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34648         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34649         (PSEUDO): Reimplement to do errno handling inline.
34650         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34651         (SYSCALL_ERROR_HANDLER): New macro.
34652         (__SYSCALL_STRING): Do not do errno handling in asm.
34653         (__CLONE_SYSCALL_STRING): Delete.
34654         (__INTERNAL_SYSCALL_STRING): Delete.
34655         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34656         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34657         i386.
34658         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34659         (inline_syscall*): Add 'err' argument.
34660         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34661         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34662         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34663         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34665         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34666         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34668 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34670         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34672 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34674         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34675         directive.
34677 2011-08-24  David S. Miller  <davem@davemloft.net>
34679         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34681 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34683         * elf/Makefile: Add rules to build and run unload8 test.
34684         * elf/unload8.c: New file.
34685         * elf/unload8mod1.c: New file.
34686         * elf/unload8mod1x.c: New file.
34687         * elf/unload8mod2.c: New file.
34688         * elf/unload8mod3.c: New file.
34690         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34691         it wasn't used.
34693 2011-08-23  David S. Miller  <davem@davemloft.net>
34695         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34696         subtract stack bias.
34697         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34698         %sp not %fp in calculations.
34699         (_JMPBUF_UNWINDS_ADJ): Likewise.
34701         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34702         (aio_suspend): Call it to force an exception region around the
34703         AIO_MISC_WAIT() invocation.
34705 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34707         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34708         backslash.
34710 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34712         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34713         protection macro.
34714         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34715         and <dl-machine.h>.
34716         (Elf64_FuncDesc): Remove.
34718 2011-08-22  David S. Miller  <davem@davemloft.net>
34720         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34721         sigaltstack check, add missing cfi directives.
34722         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34723         missing cfi directives, and sigaltstack handling.
34725 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34727         [BZ #11724]
34728         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34729         object is seen twice.
34730         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34732         * elf/Makefile (distribute): Add tst-initorder2.c.
34733         (tests): Add tst-initorder2.
34734         (modules-names): Add tst-initorder2a tst-initorder2b
34735         tst-initorder2c tst-initorder2d.  Add rules to build them.
34736         ($(objpfx)tst-initorder2.out): New rule.
34737         * elf/tst-initorder2.c: New file.
34738         * elf/tst-initorder2.exp: New file.
34740 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34742         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34744         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34745         dependencies back to end of function.
34747         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34748         $(elfobjdir)/ld.so.
34750 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34752         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34753         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34754         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34755         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34756         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34757         of __vdso_gettimeofday.
34758         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34759         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34760         attribute_hidden.
34761         (_libc_vdso_platform_setup): Remove initialization of
34762         __vdso_gettimeofday and __vdso_time.
34764 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34766         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34767         and fgetc_unlocked.
34768         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34769         getc_unlocked.
34771         * elf/dl-open.c (add_to_global): Report additions to the global scope
34772         for LD_DEBUG=scopes.
34773         (dl_open_worker): Also print scope of newly loaded dependencies.
34774         (_dl_show_scope): Indicate if there is no scope.
34776         [BZ #13114]
34777         * stdio-common/Makefile (tests): Add bug24.
34778         * stdio-common/bug24.c: New file.
34780 2011-08-19  Andreas Jaeger  <aj@suse.de>
34782         [BZ #13114]
34783         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34784         non-existant file when using close-on-exec mode.
34786 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34788         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34789         the very first instruction.
34791         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34792         the CFI state in the end.
34793         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34794         inclusion of dl-trampoline.h.
34795         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34797 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34799         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34800         expectations for long double.
34802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34803         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34805 2011-08-14  David S. Miller  <davem@davemloft.net>
34807         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34808         artificual limit depends upon the system page size.
34810 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34812         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34813         * resolv/Makefile: Define CFLAGS-libresolv.
34815 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34817         * nss/makedb.c (compute_tables): Make variables used in nested
34818         function static.
34820 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34822         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34823         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34824         if buffer was too small.
34826         * elf/pldd.c (main): Attach to all threads in the process.
34827         Rewrite /proc handling to use *at functions.
34829 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34831         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34832         specifies first scope to show.
34833         (dl_open_worker): Update callers.  Move printing scope of new
34834         object to before the relocation.
34835         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34836         * sysdeps/generic/ldsodefs.h: Update declaration.
34838         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34839         string for the scope number.
34841 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34843         * nscd/servicescache.c (cache_addserv): Make sure written is always
34844         initialized.
34846 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34848         * sysdeps/i386/i486/bits/atomic.h
34849         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34850         statement expression, so as to suppress "set but not used" warning.
34851         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34853         * string/strncat.c (STRNCAT): Use prototype definition.
34855         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34856         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34857         -Iprograms here.
34858         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34859         (localedef-modules): Add localedef.
34860         (locale-modules): Add locale.
34862         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34863         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34864         to avoid a warning.
34866 2011-08-14  David S. Miller  <davem@davemloft.net>
34868         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34869         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34871 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34873         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34874         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34875         * elf/rtld.c (dl_main): Set l_name of vDSO.
34876         Call _dl_show_scope when DL_DEBUG_SCOPES.
34877         (process_dl_debug): Recognize scopes flag and also set it for all.
34878         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34879         Declare _dl_show_scope.
34881         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34882         (do_dlopen): Pass caller_dlopen to dl_open.
34883         (__libc_dlopen_mode): Initialize caller_dlopen.
34885         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34886         of libc.  Make tolower call locale-independent.  Optimize a bit by
34887         using isdigit instead of isalnum.
34888         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34890 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34892         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34893         was a dependency or dynamically loaded.
34895 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34897         * intl/l10nflist.c: Allow architecture-specific pop function.
34898         * sysdeps/x86_64/l10nflist.c: New file.
34900         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34901         classification.
34903 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34905         * include/dirent.h: Add libc_hidden_proto for scandirat and
34906         scandirat64.  Don't declare __scandirat64.
34907         * dirent/scandirat.c: Add libc_hidden_def.
34908         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34909         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34911 2011-08-10  David S. Miller  <davem@davemloft.net>
34913         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34914         enum.
34915         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34916         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34917         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34919 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34921         * Versions.def [libc]: Add GLIBC_2.15.
34922         * dirent/Makefile (routines): Add scandirat and scandirat64.
34923         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34924         GLIBC_2.15.
34925         * dirent/dirent.h: Declare scandirat and scandirat64.
34926         * dirent/scandirat.c: New file.
34927         * dirent/scandirat64.c: New file.
34928         * sysdeps/wordsize-64/scandirat.c: New file.
34929         * sysdeps/wordsize-64/scandirat64.c: New file.
34930         * dirent/opendir.c: Define opendirat.
34931         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34932         using scandirat.
34933         * dirent/scandir64.c: Adjust for scandir.c change.
34934         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34935         __scandirat64, and __scandir_cancel_handler.
34936         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34937         additional parameter and use openat instead of open (outside of ld.so).
34938         Add new __opendir as wrapper around __opendirat.
34939         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34940         here without requiring old scandirat implementation.
34942 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34944         * dirent/scandir.c (cancel_handler): Renamed to
34945         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34946         defined.  Adjust users.
34947         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34948         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34950 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34952         * string/test-string.h (IMPL): Use __STRING to expand name and then
34953         stringify it.
34955         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34956         of cleanups.
34958 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34960         * string/Makefile: Update.
34961         (strop-tests): Append strncat.
34962         * string/test-wcscmp.c: New file.
34963         New comprehensive test for wcscmp.
34964         * string/test-strcmp.c: Update.
34965         (WIDE): New define.
34967 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34969         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34970         line.
34972 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34975         encoding to ACE if AI_IDN.
34977 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34979         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34980         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34982 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34984         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34985         Fix overflow bug in strncat.
34986         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34988         * string/test-strncat.c: Update.
34989         Add new tests for checking overflow bugs.
34991 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34993         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34994         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34995         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34996         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34997         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34998         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34999         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35000         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35001         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35003         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35004         (USE_AS_STRCAT): Define.
35005         Add strcat and strncat support.
35006         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35008 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35010         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35011         __n bigger than INT_MAX+1.
35012         (__strncmp_g): Likewise.
35014 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35016         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35017         * libio/stido.h: Likewise.
35019         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35020         (AF_NFC): Define.
35021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35022         (AF_NFC): Define.
35024         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35025         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35026         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35027         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35028         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35030         [BZ #13021]
35031         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35032         installed.
35034         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35035         typo.
35036         (_dl_x86_64_save_sse): Likewise.
35038 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35040         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35041         OSXSAVE.
35042         (_dl_x86_64_save_sse): Likewise.
35044         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35046         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35048 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35050         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35051         change.
35052         (_dl_x86_64_save_sse): Use correct AVX check.
35054 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35056         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35057         bug in strncpy/strncat.
35058         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35060 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35062         * string/tester.c (test_strcat): Add tests for different alignments
35063         of source and destination.
35064         (test_strncat): Likewise.
35066 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35068         [BZ #12852]
35069         * posix/glob.c (glob): Check passed in values before using them in
35070         expressions to avoid some overflows.
35071         (glob_in_dir): Likewise.
35073         [BZ #13007]
35074         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35075         check for AVX enablement so that we don't crash with old kernels and
35076         new hardware.
35077         * elf/tst-audit4.c: Add same checks here.
35078         * elf/tst-audit6.c: Likewise.
35080         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35082 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35084         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35086 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35088         * po/cs.po: Update from translation team.
35089         * po/bg.po: Likewise.
35091 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35093         * misc/sys/cdefs.h: Add support for const attribute.
35094         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35095         to gnu_dev_{major,minor,makedev} functions.
35097 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35099         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35101 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35103         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35104         strlen results.
35106 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35108         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35109         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35110         register in order to avoid conflicts with the soft frame pointer
35111         being held in r11 when necessary.
35112         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35113         (INTERNAL_VSYSCALL_NCS): Likewise.
35115 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35117         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35118         * elf/dl-fini.c (_dl_fini): Adjust caller.
35119         * elf/dl-close.c (_dl_close_worker): Likewise.
35120         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35122 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35124         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35125         "aux_cache->nlibs < 0".
35127         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35128         in the reload-count case.
35130 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35133         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35134         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35135         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35136         * sysdeps/x86_64/multiarch/strcat.S: New file.
35137         * sysdeps/x86_64/multiarch/strncat.S: New file.
35138         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35139         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35140         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35141         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35142         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35143         (USE_AS_STRCAT): Define.
35144         Add strcat and strncat support.
35145         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35146         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35147         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35148         * string/strncat.c: Update.
35149         (USE_AS_STRNCAT): Define.
35150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35151         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35152         and i7.
35153         * sysdeps/x86_64/multiarch/init-arch.h
35154         (bit_Prefer_PMINUB_for_stringop): New.
35155         (index_Prefer_PMINUB_for_stringop): Likewise.
35156         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35157         bit_Prefer_PMINUB_for_stringop.
35159 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35161         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35162         buffer64.
35163         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35164         of casting of buffer.
35165         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35166         buffer32 and buffer64.
35167         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35168         writes instead of casting of buffer.
35169         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35170         buffer32.
35171         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35172         casting of buffer.
35174 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35176         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35178 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35180         * nscd/nscd.c (termination_handler): Don't do anything for a database
35181         if it has not yet been initialized.
35183 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35185         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35187 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35189         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35191 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35193         * po/nl.po: Update from translation team.
35194         * po/sv.po: Likewise.
35196 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35198         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35199         now disallowed by GCC.
35201         * configure.in (use-default-link): Default to yes if a test -shared
35202         link meets our qualifications.
35203         * configure: Regenerated.
35205         * config.make.in (output-format): New variable.
35206         * configure.in: Check for ld --print-output-format support.
35207         * configure: Regenerated.
35208         * Makerules ($(common-objpfx)format.lds)
35209         [$(output-format) != unknown]: Just use $(output-format),
35210         instead of the linker-script munging.
35212 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35214         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35215         of $(common-objpfx)shlib.lds.
35216         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35218         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35219         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35221         * configure.in (-z relro check): Adjust test code to add a large
35222         writable data section after it.
35223         * configure: Regenerated.
35225 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35227         * configure.in (-z relro check): Fix test code to make the variable
35228         truly const.
35229         * configure: Regenerated.
35231 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35233         * nscd/nscd.h (struct traced_file): Define.
35234         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35235         elements.  Add traced_files.
35236         (inotify_fd): Declare.
35237         (register_traced_file): Declare.
35238         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35239         (inotify_fd): Export.
35240         (resolv_conf_descr): Remove.
35241         (nscd_init): Move inotify descriptor creation to main.
35242         Don't register files for notification here.
35243         (register_traced_file): New function.
35244         (invalidate_cache): Don't use reset_res to determine whether to call
35245         res_init, go through the list of registered files.
35246         (main_loop_poll): The inotify descriptors are now stored in the
35247         structures for the traced files.
35248         (main_loop_epoll): Likewise
35249         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35250         to __nss_disable_nscd.
35251         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35252         for a database anymore.  Check the records for all the registered
35253         files instead.
35254         * nss/Makefile (libnss_files-routines): Add files-init.
35255         (libnss_db-routines): Add db-init.
35256         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35257         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35258         * nss/nss_db/db-init.c: New file.
35259         * nss/nss_files/files-init.c: New file.
35260         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35261         __nss_lookup_function.
35262         (__nss_lookup_function): Call nss_load_library.
35263         (nss_load_all_libraries): New function.
35264         (__nss_disable_nscd): Take parameter with callback function for files
35265         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35266         used for the cached services.
35267         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35268         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35269         options for features to all the files in nscd.
35271         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35273 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35275         * csu/elf-init.c (__libc_csu_init): Comment typo.
35277 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35279         * po/pl.po: Update from translation team.
35280         * po/ja.po: Likewise.
35281         * po/ru.po: Likewise.
35282         * po/ko.po: Likewise.
35283         * po/fr.po: Likewise.
35285 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35287         * configure.in (.ctors/.dtors header and trailer check):
35288         Use an empirical test on a built program.
35289         * configure: Regenerated.
35291         * configure.in (-z relro check): Use an empirical test on a built DSO.
35292         Detect, but do not require, on ia64.
35293         * configure: Regenerated.
35295         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35296         Update tests that use readelf to use $READELF instead.
35297         * configure: Regenerated.
35299 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35301         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35302         if the result is not used.
35304 2011-07-05  Andreas Jaeger  <aj@suse.de>
35306         [BZ#9696]
35307         * stdlib/tst-strtod.c: Add testcase.
35309 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35311         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35312         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35313         The latter has a higher limit.  Take additional parameter to pass to
35314         the new function.
35315         (__pathconf): Pass file to __statfs_link_max.
35316         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35317         __statfs_link_max.
35318         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35319         __statfs_link_max.
35321         [BZ #12868]
35322         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35323         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35324         Handle Lustre.
35325         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35326         (__statfs_filesize_max): Likewise.
35327         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35329 2011-07-05  Andreas Jaeger  <aj@suse.de>
35331         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35333 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35335         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35336         `status' variable.
35337         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35338         Likewise.
35340 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35342         * Makefile (strop-tests): Add strncat.
35343         * string/test-strncat.c: New file.
35345 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35347         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35349 2011-06-21  Andreas Jaeger  <aj@suse.de>
35351         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35352         Copy rule from iconvdata/Makefile.
35354 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35356         [BZ #12922]
35357         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35358         but no long options are defined, just return 'W'.
35360 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35362         [BZ #9696]
35363         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35365 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35367         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35368         netgroups to read.
35369         (innetgr): Likewise.
35371 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35373         * config.make.in (install_root): Default to $(DESTDIR).
35375 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35377         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35379 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35381         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35383         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35384         containing directory rather than embedding absolute directory names.
35386         * scripts/check-local-headers.sh: Rewritten using awk.
35387         Match by word, not by line.  Print error messages for matches.
35388         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35390         * Makerules [shlib-lds-flags empty]:
35391         ($(common-objpfx)libc_pic.opts): New target.
35392         ($(common-objpfx)libc_pic.os.clean): New target.
35393         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35395         * config.make.in (OBJCOPY): New variable.
35396         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35397         * configure: Regenerated.
35399         * config.make.in (use-default-link): New variable.
35400         * configure.in (use_default_link): Grok --with-default-link to set it.
35401         * configure: Regenerated.
35402         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35403         (shlib-lds, shlib-lds-flags): Define to empty.
35405         * Makerules (shlib-lds): New variable.
35406         (shlib-lds-flags): New variable.
35407         (build-shlib, build-moduile, build-module-asneeded): Use it.
35408         ($(common-objpfx)libc.so): Use $(shlib-lds).
35409         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35410         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35412         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35413         DT_FLAGS/DT_FLAGS_1 with zero flags.
35415         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35416         linker script munging.
35418 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35420         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35421         as 128-bit value.
35422         * crypt/sha512.c (sha512_process_block): Perform total addition using
35423         128-bit if possible.
35424         (__sha512_finish_ctx): Likewise.
35425         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35426         as 64-bit value.
35427         * crypt/sha256.c (SWAP64): Define.
35428         (sha256_process_block): Perform total addition using 64-bit if
35429         possible.
35430         (__sha256_finish_ctx): Likewise.
35432 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35434         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35435         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35436         * nscd/hstcache.c (cache_addhst): Likewise.
35437         * nscd/grpcache.c (cache_addgr): Likewise.
35438         * nscd/aicache.c (addhstaiX): Likewise
35439         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35441 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35443         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35444         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35445         * nscd/hstcache.c (cache_addhst): Likewise.
35446         * nscd/grpcache.c (cache_addgr): Likewise.
35447         * nscd/aicache.c (addhstaiX): Likewise
35449 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35451         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35452         domain only when needed.
35454 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35456         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35457         is always restored.
35459 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35461         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35462         are re-adding the entry.
35463         * nscd/servicescache.c (cache_addserv): Likewise.
35465 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35467         * sysdeps/generic/dl-irel.h: fix protection against multiple
35468         inclusions.
35469         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35471 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35473         [BZ #12935]
35474         * malloc/memusage.sh: Fix quoting in message.
35475         * debug/xtrace.sh: Likewise.
35477         * configure.in: Remove support for --experimental-malloc option, make
35478         it the default.
35479         * config.make.in: Likewise.
35480         * malloc/Makefile: Likewise.
35482 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35484         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35485         two-byte characters.
35487 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35489         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35490         AC_CACHE_CHECK invocation.
35491         * configure: Regenerated.
35493         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35495 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35497         [BZ #12350]
35498         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35499         bit from old_res_options.
35501         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35503         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35504         value type for setfct.
35506 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35508         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35509         __gettimeofday instead of gettimeofday.
35511 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35513         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35515 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35517         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35519         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35520         info.
35522 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35525         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35526         strcpy-sse2-unaligned strncpy-sse2-unaligned
35527         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35528         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35529         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35530         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35531         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35532         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35533         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35534         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35535         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35536         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35537         (STRCPY): Support SSE2 and SSSE3 versions.
35539 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35541         [BZ #12874]
35542         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35543         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35544         kernels which artificially limit size of requests.
35546 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35548         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35549         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35550         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35551         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35552         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35553         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35554         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35555         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35556         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35557         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35558         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35559         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35560         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35561         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35562         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35564         Enable unaligned load optimization for Intel Core i3, i5 and i7
35565         processors.
35566         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35567         Define.
35568         (index_Fast_Unaligned_Load): Define.
35569         (HAS_FAST_UNALIGNED_LOAD): Define.
35571 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35573         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35575 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35577         [BZ #12907]
35578         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35579         until it is clear that the information is realy needed.
35580         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35582 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35586 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35588         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35589         /sys/devices/system/cpu/online if it is usable.
35591         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35592         reading the information from the /proc filesystem to once a second.
35594 2011-06-21  Andreas Jaeger  <aj@suse.de>
35596         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35597         NULL after inclusion of kernel headers.
35599 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35601         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35602         calls to internal_setent.
35604         [BZ #12885]
35605         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35606         addresses using gethostbyname4_r ignore IPv4 addresses.
35608         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35609         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35611         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35613 2011-06-20  David S. Miller  <davem@davemloft.net>
35615         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35616         inclusions.
35617         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35619         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35620         (elf_irel): Use it.
35621         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35622         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35623         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35624         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35625         * sysdeps/x86_64/dl-irel.h: Likewise.
35627         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35628         * elf/dl-sym.c: Likewise.
35630 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35632         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35633         need to dereference resplen2.
35635 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35637         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35639 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35641         * Makeconfig: Define vardbdir and inst_vardbdir.
35642         * nss/Makefile: Add rules to install db-Makefile.
35644         * nss/nss_db/db-XXX.c: Cleanup.
35646         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35647         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35648         GLIBC_PRIVATE.
35649         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35650         * nss/makedb.c: Implement -g option to specify that value strings
35651         are generated and should not be added to table iterated over for
35652         get*ent calls.
35653         * nss/nss_db/db-initgroups.c: New file.
35655         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35656         interface.
35658         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35659         (internal_getgrouplist): Adjust to name change.
35660         Update use_initgroups_entry if this is not the first call.
35661         * nss/databases.def: Add initgroups entry.
35663         * nss/makedb.c (compute_tables): Check result of multiple hash table
35664         sizes to minimize maximum chain length.
35666 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35668         * Versions.def: Add entry for libnss_db.
35669         * shlib-versions: Likewise.
35670         * nss/Makefile: Add rules to build libnss_db.
35671         * nss/Versions: Add libnss_db information.  Organize libnss_files
35672         entries better.
35673         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35674         makedb progra.  Some minor improvements to generate smaller files.
35675         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35676         here from...
35677         * nss/makedb.c: ...here.
35678         Improve database format to be smaller and require less memory at
35679         runtime.
35680         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35681         db anymore.
35682         * nss/nss_db/db-netgrp.c: Likewise.
35683         * nss/nss_db/db-open.c: Likewise.
35684         * nss/nss_files/flies-XXX.x: Adjust comments.
35685         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35686         * nss/nss_files/files-grp.c: Likewise.
35687         * nss/nss_files/files-hosts.c: Likewise.
35688         * nss/nss_files/files-network.c: Likewise.
35689         * nss/nss_files/files-proto.c: Likewise.
35690         * nss/nss_files/files-pwd.c: Likewise.
35691         * nss/nss_files/files-rpc.c: Likewise.
35692         * nss/nss_files/files-service.c: Likewise.
35693         * nss/nss_files/files-sgrp.c: Likewise.
35694         * nss/nss_files/files-spwd.c: Likewise.
35695         * nss/nss_db/db-alias.c: Removed.
35696         * nss/nss_db/dummy-db.h: Removed.
35698 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35700         * nss/makedb.c: Rewritten to not use database library.
35701         * nss/Makefile: Update to build new makedb program.
35703 2011-06-14  Andreas Jaeger  <aj@suse.de>
35705         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35706         memset declaration.
35708 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35711         tmpbuf.
35713 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35715         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35716         * elf/Makefile ($(objpfx)ld.so): Likewise.
35718         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35719         Don't list ld.so twice in dependencies.
35721         * posix/bug-regex31.c: Include <stdlib.h>.
35723         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35725         * nis/nss_compat/compat-spwd.c
35726         (getspent_next_nss_netgr): Remove unused variable.
35727         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35729         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35730         nonmembers" output to use the right array.
35732         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35734         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35736         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35737         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35738         * catgets/gencat.c (read_input_file): Likewise.
35739         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35741         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35742         variable definition inside #if's controlling its use.
35744         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35746         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35748         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35750         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35751         unreachable code.
35753         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35755         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35756         * configure: Regenerated.
35758         * Makerules: Revert last change.
35759         * elf/Makefile: Likewise.
35761 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35763         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35764         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35765         (reloc-link): Likewise.
35767 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35769         * elf/Makefile: Add rules to build pldd.
35770         * elf/pldd.c: New file.
35771         * elf/pldd-xx.c: New file.
35773 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35775         * version.h: Update for 2.15 development version.
35777 2011-06-07  David S. Miller  <davem@davemloft.net>
35779         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35780         ifuncs.
35781         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35782         elf_machine_lazy_rel): Likewise.
35783         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35784         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35785         elf_machine_lazy_rel): Likewise.
35786         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35787         dl_hwcap via passed in argument.
35788         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35789         Likewise.
35791 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35793         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35795 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35797         [BZ #12849]
35798         * manual/fdl-1.1.texi: New file, verbatim from:
35799         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35800         * manual/lgpl-2.1.texi: New file, verbatim from:
35801         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35802         * manual/Makefile (licenses): New variable, list those new file names.
35803         (texis): Use it.
35804         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35806         * manual/fdl.texi: File removed.
35807         * manual/lesser.texi: File removed.
35808         * manual/libc.texinfo (Copying, Documentation License):
35809         Use new @include file names, put @appendix directive before @include.
35811 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35813         [BZ #12841]
35814         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35815         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35816         (mq_open): Add __NTH.
35818 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35821         Assume Intel Core i3/i5/i7 processor if AVX is available.
35823 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35825         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35826         typo.
35828 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35830         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35831         memory.  Use alloca_account.  Fix memory leak when retrying.
35833 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35835         * version.h (RELEASE): Bump for 2.14 release.
35836         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35838         * config.make.in (RANLIB): Remove entry.
35840 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35842         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35843         (libc.pot): Work around missing support for .ksh extension in xgettext.
35845         [BZ #12684]
35846         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35847         if both request failed.
35848         (send_dg): In case of server errors clear resplen or *resplen2.
35850         [BZ #12454]
35851         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35852         when there are multiple maps.
35853         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35854         (_dl_fini): Remove test here.
35856         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35858 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35860         [BZ #12350]
35861         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35862         bit from old_res_options.
35863         (gaih_inet): Likewise.
35865         [BZ #11099]
35866         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35867         as signed.
35869         * resolv/res_init.c (res_setoptions): Make the code more compact.
35871         [BZ #11558]
35872         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35873         set RES_USEVC.
35875         [BZ #11634]
35876         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35878         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35880         [BZ #11781]
35881         * malloc/malloc.h: Declare malloc hook variables as volatile.
35883         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35884         in last patch.
35886         [BZ #11799]
35887         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35888         raise in the comment.
35889         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35890         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35891         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35893 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35895         [BZ #12811]
35896         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35897         grow the buffers more if it already has to be sufficient.
35898         (build_wcs_upper_buffer): Likewise.
35899         * posix/regexec.c (check_matching): Likewise.
35900         (clean_state_log_if_needed): Likewise.
35901         (extend_buffers): Don't enlarge buffers beyond size of the input
35902         buffer.
35903         Patches mostly by Emil Wojak <emil@wojak.eu>.
35904         * posix/bug-regex32.c: New file.
35905         * posix/Makefile (tests): Add bug-regex32.
35907         * locale/findlocale.c (_nl_find_locale): Return right away if
35908         _nl_explode_name failed.
35909         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35911         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35913         * debug/xtrace.sh: Unify messages.
35914         * malloc/memusage.sh: Likewise.
35916         [BZ #12813]
35917         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35918         time symbol from vDSO.  Substitute with vsyscall if not available.
35919         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35920         __vdso_time.
35922         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35923         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35924         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35925         Add sendmmsg and internal_sendmmsg.
35926         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35927         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35928         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35930         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35931         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35932         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35934 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35936         [BZ #12813]
35937         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35938         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35939         available.
35940         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35941         __vdso_getcpu.
35943         [BZ #12814]
35944         * iconvdata/Makefile (tests): Add bug-iconv9.
35945         * iconvdata/bug-iconv9.c: New file.
35947 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35949         [BZ #12814]
35950         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35952 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35954         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35955         (struct user_regs_struct): Change intcs field back to cs.
35957 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35959         * po/ja.po: Update from translation team.
35961 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35963         [BZ #12795]
35964         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35965         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35967 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35969         * stdlib/longlong.h: Update from GCC.
35971 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35973         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35974         parameter name.
35975         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35976         Add parameter name.
35977         (__sysconf): Pass it down.
35979 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35981         [BZ #12671]
35982         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35983         some situations.
35984         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35985         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35986         add in in __libc_use_alloca calls.  Adjust callers.
35987         (glob): Use malloc in some situations.
35989         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35990         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35991         pltexit.
35993 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35995         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35996         and CLOCK_BOOTTIME_ALARM.
35998         [BZ #12782]
35999         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36000         is returned.
36002         * string/_strerror.c (__strerror_r): Print negative errors as signed
36003         numbers.
36005         [BZ #12777]
36006         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36007         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36008         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36010         * configure.in: Fix typo in redirection and correct removal of test
36011         files in two cases.
36013         [BZ #12788]
36014         * locale/setlocale.c (new_composite_name): Fix test to check for
36015         identical name of all categories.
36017         [BZ #12792]
36018         * libio/filedoalloc.c (local_isatty): New function.
36019         (_IO_file_doallocate): Use local_isatty.
36020         * stdio-common/perror.c (perror): In case a new stream is used
36021         forward the stream error.
36022         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36023         error flag.
36025 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36027         [BZ #11869]
36028         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36029         alloca.
36030         * include/alloca.h (extend_alloca_account): Define.
36032         [BZ #11857]
36033         * posix/regex.h: Fix comments with documentation of user-accessible
36034         fields after compilation and describe correct free'ing of pattern
36035         after re_compile_pattern.
36036         Patch by Reuben Thomas <rrt@sc3d.org>.
36038 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36040         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36041         and -mno-altivec to prevent the compiler from using Altivec and/or
36042         VSX instructions when the corresponding registers are not available.
36044 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36046         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36048 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36050         * libio/freopen.c (freopen): Use __dup2, not dup2.
36051         * libio/freopen64.c (freopen64): Likewise.
36053 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36055         [BZ #12775]
36056         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36057         * math/Makefile (tests): Add test-powl.
36058         (CFLAGS-test-powl.c): Define.
36059         * math/test-powl.c: New file.
36061 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36063         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36065 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36067         [BZ #11837]
36068         * iconvdata/gb18030.c: Update to GB18020-2005.
36070 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36072         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36073         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36074         Patch by Aharon Robbins <arnold@skeeve.com>.
36076         [BZ #11892]
36077         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36078         on the stack.
36080         [BZ #11895]
36081         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36082         through underflows.
36084         [BZ #12766]
36085         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36086         point to strings before performing equality test for error_one_per_line
36087         mode.
36089         [BZ #11697]
36090         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36092         [BZ #11820]
36093         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36094         (struct user_fpregs_struct): Avoid __uint*_t types.
36096         [BZ #6420]
36097         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36098         symbol info.  Use it instead of calling _dl_addr locally.
36099         (lock_and_info): New function.
36100         (tr_freehook): Call lock_and_info and pass symbol info as additional
36101         parameter to tr_where.
36102         (tr_mallochook): Likewise.
36103         (tr_reallochook): Likewise.
36104         (tr_memalignhook): Likewise.
36106         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36107         used and couldn't be at all thread-safe.
36109 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36111         * libio/freopen.c (freopen): Don't close old file descriptor
36112         before the new one is opened.  Instead dup the new file descriptor
36113         to the old one after the new stream is created.
36114         * libio/freopen64.c (freopen64): Likewise.
36115         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36116         * libio/fileops.c (_IO_new_file_close_it): Handle new
36117         _IO_FLAGS2_NOCLOSE flag.
36118         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36119         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36120         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36121         _IO_FLAGS2_NOCLOSE flag.
36122         * include/unistd.h: Add hidden_proto for dup3.
36123         Define __have_dup3.
36124         * io/dup3.c: Define hidden symbol.
36125         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36127         [BZ #7101]
36128         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36129         when an incomplete long option is used.
36130         * posix/tst-getopt_long1.c: New file.
36131         * posix/Makefile (tests): Add tst-getopt_long1.
36133         [BZ #10138]
36134         * scripts/config.guess: Update from autoconf-2.68.
36135         * scripts/config.sub: Likewise.
36137         [BZ #10157]
36138         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36139         tests into ...
36140         (has_cpuclock): ...this.  New function.
36141         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36142         macro here based on has_cpuclock code.
36144         [BZ #10149]
36145         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36146         First byte (not low byte) is now always NUL.
36147         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36149         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36150         Use non-cancelable interfaces.
36152         [BZ #9809]
36153         * locale/iso-639.def: Add entry for Sorani.
36155         [BZ #11901]
36156         * include/stdlib.h: Move include protection to the right place.
36157         Define abort_msg_s.  Declare __abort_msg with it.
36158         * stdlib/abort.c (__abort_msg): Adjust type.
36159         * assert/assert.c (__assert_fail_base): New function.  Majority
36160         of code from __assert_fail.  Allocate memory for __abort_msg with
36161         mmap.
36162         (__assert_fail): Now call __assert_fail_base.
36163         * assert/assert-perr.c: Remove bulk of implementation.  Use
36164         __assert_fail_base.
36165         * include/assert.hL Declare __assert_fail_base.
36166         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36167         mmap.
36168         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36170 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36172         [BZ #11952]
36173         [BZ #12453]
36174         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36175         until all modules are registered in the DTV.
36176         * elf/Makefile: Add rules to build and run tst-tls19.
36177         * elf/tst-tls19.c: New file.
36178         * elf/tst-tls19mod1.c: New file.
36179         * elf/tst-tls19mod2.c: New file.
36180         * elf/tst-tls19mod3.c: New file.
36181         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36183         [BZ #12083]
36184         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36185         correctly.
36187         [BZ #12601]
36188         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36189         two-byte sequence errors.
36190         * iconvdata/Makefile (tests): Add bug-iconv8.
36191         * iconvdata/bug-iconv8.c: New file.
36193         [BZ #12626]
36194         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36195         buf2 definition.
36197         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36199         [BZ #12432]
36200         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36201         (dummy_getcfa): New function.
36202         (init): Get _Unwind_GetCFA address, use dummy if not found.
36203         (backtrace_helper): In recursion check, also check whether CFA changes.
36204         (__backtrace): Completely initialize arg.
36206         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36207         storing incomplete byte sequence in state object.  Avoid testing for
36208         guaranteed too small input if we know there is enough data available.
36210 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36212         * Makeconfig (+link-pie): Indent.
36213         * Rules (binaries-pie): Define if $(have-fpie) and
36214         $(build-shared).
36215         (binaries-shared): Also filter out $(binaries-pie).
36216         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36217         * nscd/Makefile (others-pie): Add nscd.
36218         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36219         ($(objpfx)nscd): Remove command override.
36220         * login/Makefile (others-pie): Add pt_chown.
36221         ($(objpfx)pt_chown): Remove command override.
36222         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36223         remove command overrides.
36225 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36227         * libio/tst_putwc.c: Fix error messages.
36229         [BZ #12724]
36230         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36231         currently writing and seek to current position when not.
36232         * libio/Makefile (tests): Add bug-fclose1.
36233         * libio/bug-fclose1.c: New file.
36235 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36237         [BZ #12511]
36238         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36239         don't set DF_1_NODELETE here.
36240         (do_lookup_x): When entering new entry test for copy relocation
36241         and if necessary set DF_1_NODELETE flag.
36242         * elf/tst-unique4.cc: New file.
36243         * elf/tst-unique4.h: New file.
36244         * elf/tst-unique4lib.cc: New file.
36245         * elf/Makefile: Add rules to build and run tst-unique4.
36246         Patch by Piotr Bury <pbury@goahead.com>.
36248 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36250         [BZ #12052]
36251         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36253         [BZ #12625]
36254         * misc/mntent_r.c (addmntent): Flush the stream after the output
36256         [BZ #12393]
36257         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36258         (is_trusted_path_normalize): Skip initial colon.  Append slash
36259         to empty buffer.  Duplicate is_trusted_path code but allow
36260         constructed patch to be prefix.
36261         (is_dst): Allow $ORIGIN followed by /.
36262         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36263         Correct testing of result of is_trusted_path_normalize
36264         (decompose_rpath): Fix warning.
36266 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36268         [BZ #11257]
36269         * grp/initgroups.c (internal_getgrouplist): When we found the service
36270         list through the initgroups entry in nsswitch.conf do not always
36271         continue on a successful lookup.  Don't always use the
36272         __nss_group_database value if it is set.
36273         * nss/nsswitch.conf (initgroups): Change action for successful db
36274         lookup to continue for compatibility.
36276 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36278         [BZ #11532]
36279         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36280         and CP774 modules.
36281         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36282         and CP774 modules.
36283         * iconvdata/tst-tables.sh: Likewise.
36284         * iconvdata/cp770.c: New file.
36285         * iconvdata/cp771.c: New file.
36286         * iconvdata/cp772.c: New file.
36287         * iconvdata/cp773.c: New file.
36288         * iconvdata/cp774.c: New file.
36289         * iconvdata/testdata/CP770: New file.
36290         * iconvdata/testdata/CP770..UTF8: New file.
36291         * iconvdata/testdata/CP771: New file.
36292         * iconvdata/testdata/CP771..UTF8: New file.
36293         * iconvdata/testdata/CP772: New file.
36294         * iconvdata/testdata/CP772..UTF8: New file.
36295         * iconvdata/testdata/CP773: New file.
36296         * iconvdata/testdata/CP773..UTF8: New file.
36297         * iconvdata/testdata/CP774: New file.
36298         * iconvdata/testdata/CP774..UTF8: New file.
36300         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36301         END CHARMAP line.
36302         * iconvdata/gen-8bit-gap.sh: Likewise.
36303         * iconvdata/gen-8bit.sh: Likewise.
36305         * locale/iso-639.def: Add ary entry.
36307         [BZ #11258]
36308         * locale/C-translit.h.in: Add U20A1 transliteration.
36310         [BZ #12178]
36311         * locale/iso-639.def: Add wae entry.
36312         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36314         [BZ #12545]
36315         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36316         for n.
36318         [BZ #12711]
36319         * locale/C-translit.h.in: Add entry for U20B9.
36320         Patch by pravin.d.s@gmail.com.
36322 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36324         [BZ #12713]
36325         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36326         ENAMETOOLONG use generic getcwd.
36327         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36328         in rtld.  Use *stat64.
36329         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36330         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36331         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36332         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36333         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36334         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36335         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36336         __fstatat64 macros.
36337         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36338         * dirent/rewinddir.c: Add libc_hidden_def.
36339         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36340         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36342         * include/dirent.h (__alloc_dir): Add flags parameter.
36343         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36344         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36345         __alloc_dir.
36346         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36347         from fdopendir if O_CLOEXEC is already set.
36349 2011-03-15  Alan Modra  <amodra@gmail.com>
36351         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36352         l_tls_firstbyte_offset non-zero.  Save padding offset in
36353         l_tls_firstbyte_offset for later use.
36354         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36355         freeing static tls block.
36357 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36359         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36360         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36361         being defined by the kernel headers.
36363 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36365         [BZ #12734]
36366         * resolv/resolv.h: Define RES_NOTLDQUERY.
36367         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36368         no-tld-query and set RES_NOTLDQUERY.
36369         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36370         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36371         modern BIND to search name as TLD unless forbidden.
36373 2011-05-07  Petr Baudis  <pasky@suse.cz>
36374             Ulrich Drepper  <drepper@gmail.com>
36376         [BZ #12393]
36377         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36378         (is_trusted_path): ...to here.
36379         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36380         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36381         using is_trusted_path_normalize() in setuid scripts.
36383 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36385         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36386         __BEGIN/__END_DECLS.
36388 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36390         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36391         NSS_STATUS_NOTFOUND if no record was found.
36393 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36395         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36396         (headers-not-in-tirpc): Remove rpc/netdb.h
36397         * resolv/netdb.h: Revert last change.
36399 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36401         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36402         circular dependency between libgcc.a and libc.a.
36404 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36406         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36407         * nis/Makefile: Don't install rpcsvc/*.
36408         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36409         instead of <rpc/types.h>.
36410         (MAXHOSTNAMELEN): Define.
36412 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36414         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36416 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36418         [BZ #12714]
36419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36420         gethostbyname4_r when IPv6 results are possible.
36422 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36424         [BZ #12723]
36425         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36426         _PC_PIPE_BUF handling.
36428 2011-04-30  Bruno Haible  <bruno@clisp.org>
36430         [BZ #12717]
36431         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36432         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36433         to 'int'.
36434         * inet/getnameinfo.c (getnameinfo): Likewise.
36436 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36438         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36439         to groups setting in database lookup.
36440         * nss/nsswitch.conf: Add initgroups entry.
36442 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36444         [BZ #12685]
36445         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36446         mode string.
36447         Patch by Eric Blake <eblake@redhat.com>.
36449 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36451         * sunrpc/Makefile (need-export-routines): Add svc_run.
36452         (routines): Remove svc_run.
36453         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36454         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36455         * sunrpc/svc_run.c (svc_run): Likewise.
36456         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36458 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36460         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36461         problem in reallocation in last patch.
36463 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36465         * sunrpc/Makefile: Move inclusion of Rules.
36467 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36469         * nss/nss_files/files-initgroups.c: New file.
36470         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36471         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36472         _nss_files_initgroups_dyn.
36474 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36476         * elf/elf.h (R_ARM_IRELATIVE): Define.
36478 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36480         * po/ru.po: Update from translation team.
36482 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36484         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36485         dependencies.
36487 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36489         [BZ #12653]
36490         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36491         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36492         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36493         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36494         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36496 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36498         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36499         differing bytes.
36500         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36501         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36502         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36504 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36506         [BZ #12420]
36507         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36508         storing it.
36509         * stdlib/bug-getcontext.c: New file.
36510         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36512 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36514         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36515         instructions into .machine "z9-109".
36516         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36517         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36519 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36521         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36522         between environment variables and auxiliary vector.
36524 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36526         * Makefile: Add rules to build linkobj/libc.so.
36527         * include/libc-symbols.h: Define libc_hidden_nolink.
36528         * include/rpc/auth.h: Mark functions which are to be hidden.
36529         * include/rpc/auth_des.h: Likewise.
36530         * include/rpc/auth_unix.h: Likewise.
36531         * include/rpc/clnt.h: Likewise.
36532         * include/rpc/des_crypt.h: Likewise.
36533         * include/rpc/key_prot.h: Likewise.
36534         * include/rpc/pmap_clnt.h: Likewise.
36535         * include/rpc/pmap_prot.h: Likewise.
36536         * include/rpc/pmap_rmt.h: Likewise.
36537         * include/rpc/rpc_msg.h: Likewise.
36538         * include/rpc/svc.h: Likewise.
36539         * include/rpc/svc_auth.h: Likewise.
36540         * include/rpc/xdr.h: Likewise.
36541         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36542         * nss/Makefile: Likewise.
36543         * sunrpc/Makefile: Don't install headers.  Build library with normal
36544         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36545         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36546         for the compat linking library.  Remove use of INTDEF/INTUSE.
36547         * sunrpc/auth_none.c: Likewise.
36548         * sunrpc/auth_unix.c: Likewise.
36549         * sunrpc/authdes_prot.c: Likewise.
36550         * sunrpc/authuxprot.c: Likewise.
36551         * sunrpc/clnt_gen.c: Likewise.
36552         * sunrpc/clnt_perr.c: Likewise.
36553         * sunrpc/clnt_raw.c: Likewise.
36554         * sunrpc/clnt_simp.c: Likewise.
36555         * sunrpc/clnt_tcp.c: Likewise.
36556         * sunrpc/clnt_udp.c: Likewise.
36557         * sunrpc/clnt_unix.c: Likewise.
36558         * sunrpc/des_crypt.c: Likewise.
36559         * sunrpc/des_soft.c: Likewise.
36560         * sunrpc/get_myaddr.c: Likewise.
36561         * sunrpc/key_call.c: Likewise.
36562         * sunrpc/key_prot.c: Likewise.
36563         * sunrpc/netname.c: Likewise.
36564         * sunrpc/pm_getmaps.c: Likewise.
36565         * sunrpc/pm_getport.c: Likewise.
36566         * sunrpc/pmap_clnt.c: Likewise.
36567         * sunrpc/pmap_prot.c: Likewise.
36568         * sunrpc/pmap_prot2.c: Likewise.
36569         * sunrpc/pmap_rmt.c: Likewise.
36570         * sunrpc/publickey.c: Likewise.
36571         * sunrpc/rpc_cmsg.c: Likewise.
36572         * sunrpc/rpc_common.c: Likewise.
36573         * sunrpc/rpc_dtable.c: Likewise.
36574         * sunrpc/rpc_prot.c: Likewise.
36575         * sunrpc/rpc_thread.c: Likewise.
36576         * sunrpc/rtime.c: Likewise.
36577         * sunrpc/svc.c: Likewise.
36578         * sunrpc/svc_auth.c: Likewise.
36579         * sunrpc/svc_authux.c: Likewise.
36580         * sunrpc/svc_raw.c: Likewise.
36581         * sunrpc/svc_run.c: Likewise.
36582         * sunrpc/svc_simple.c: Likewise.
36583         * sunrpc/svc_tcp.c: Likewise.
36584         * sunrpc/svc_udp.c: Likewise.
36585         * sunrpc/svc_unix.c: Likewise.
36586         * sunrpc/svcauth_des.c: Likewise.
36587         * sunrpc/xcrypt.c: Likewise.
36588         * sunrpc/xdr.c: Likewise.
36589         * sunrpc/xdr_array.c: Likewise.
36590         * sunrpc/xdr_float.c: Likewise.
36591         * sunrpc/xdr_intXX_t.c: Likewise.
36592         * sunrpc/xdr_mem.c: Likewise.
36593         * sunrpc/xdr_rec.c: Likewise.
36594         * sunrpc/xdr_ref.c: Likewise.
36595         * sunrpc/xdr_sizeof.c: Likewise.
36596         * sunrpc/xdr_stdio.c: Likewise.
36598 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36600         [BZ #12650]
36601         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36602         * sysdeps/ia64/dl-tls.h: Likewise.
36603         * sysdeps/powerpc/dl-tls.h: Likewise.
36604         * sysdeps/s390/dl-tls.h: Likewise.
36605         * sysdeps/sh/dl-tls.h: Likewise.
36606         * sysdeps/sparc/dl-tls.h: Likewise.
36607         * sysdeps/x86_64/dl-tls.h: Likewise.
36608         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36610 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36612         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36613         rpath element also skip the following colon.
36614         (expand_dynamic_string_token): Add is_path parameter and pass
36615         down to DL_DST_REQUIRED and _dl_dst_substitute.
36616         (decompose_rpath): Call expand_dynamic_string_token with
36617         non-zero is_path.  Ignore empty rpaths.
36618         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36619         with zero is_path.
36621 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36624         Make cancelable.
36626 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36628         [BZ #12655]
36629         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36630         Patch by Filipe David Manana <fdmanana@apache.org>.
36632 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36634         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36635         Maintain aligned stack.
36636         (CHECK_RSP): Remove unused macro.
36638 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36640         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36641         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36643 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36645         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36647         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36649 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36651         [BZ #12518]
36652         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36653         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36654         * sysdeps/x86_64/memmove.c: New file.
36655         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36656         (memcpy): Renamed to ...
36657         (__new_memcpy): This.
36658         (memcpy): Provide GLIBC_2_14 memcpy.
36659         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36660         (memcpy): Provide GLIBC_2_2_5 memcpy.
36662 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36664         [BZ #12631]
36665         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36667 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36669         * misc/syncfs.c: New file.
36670         * misc/Makefile (routines): Add syncfs.
36671         * posix/unistd.h: Declare syncfs.
36672         * sysdeps/unix/syscalls.list: Add syncfs.
36674 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36676         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36677         open_by_handle_at.
36678         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36679         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36680         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36681         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36682         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36683         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36684         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36686 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36688         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36689         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36690         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36691         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36692         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36694         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36696         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36697         sync_file_range.c with -fexceptions.
36698         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36699         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36700         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36701         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36702         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36703         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36704         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36705         sync_file_range as cancellation point
36706         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36707         now a wrapper around __call_sync_file_range with cancellation handling.
36708         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36709         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36710         function name to __call_sync_file_range.
36711         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36712         Add call_sync_file_range.
36714 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36717         bits/timex.h.
36719 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36721         * iconv/iconv.h: Fix typo in comment.
36722         * io/fcntl.h: Likewise.
36723         * libio/stdio.h: Likewise.
36724         * posix/spawn.h: Likewise.
36725         * posix/unistd.h: Likewise.
36726         * stdlib/stdlib.h: Likewise.
36727         * time/time.h: Likewise.
36728         * wcsmbs/wchar.h: Likewise.
36730         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36731         open_by_handle): Add.
36732         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36733         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36734         Augment a few comments.
36735         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36736         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36737         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36738         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36739         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36740         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36741         open_by_handle.
36743         * io/fcntl.h (AT_EMPTY_PATH): Define.
36745 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36747         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36748         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36749         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36750         to...
36751         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36752         * Versions.def: Add GLIBC_2.14.
36753         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36754         Export.
36756 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36758         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36759         round counter.
36760         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36762 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36764         [BZ #12597]
36765         * string/test-strncmp.c (do_page_test): New function.
36766         (check2): Likewise.
36767         (test_main): Call check2.
36768         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36770 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36772         [BZ #12587]
36773         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36774         Handle cache information in CPU leaf 4.
36775         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36777 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36779         [BZ #12583]
36780         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36781         character representation.
36782         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36784 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36786         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36787         END(__isnan) to END(__isnanf) to match function entry point/label
36788         EALIGN(__isnanf,...).
36790 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36792         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36794 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36796         [BZ #12510]
36797         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36798         copy from the symbol referenced in the relocation to initialize the
36799         used variable.
36800         Patch by Piotr Bury <pbury@goahead.com>.
36801         * elf/Makefile: Add rules to build and tst-unique3.
36802         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36803         * elf/tst-unique3.cc: New file.
36804         * elf/tst-unique3.h: New file.
36805         * elf/tst-unique3lib.cc: New file.
36806         * elf/tst-unique3lib2.cc: New file.
36808         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36810 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36812         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36813         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36814         to _start.
36816 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36818         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36819         to-be-loaded object along a path to loader is ld.so.
36821 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36822             Ulrich Drepper  <drepper@gmail.com>
36824         * sysdeps/x86_64/memset.S: After aligning destination, code
36825         branches to different locations depending on the value of
36826         misalignment, when multiarch is enabled. Fix this.
36828 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36830         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36831         Set _x86_64_preferred_memory_instruction for AMD processsors.
36832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36833         Set bit_Prefer_SSE_for_memop for AMD processors.
36835 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36837         * libio/fmemopen.c (fmemopen): Optimize a bit.
36839 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36841         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36843 2011-03-03  Roland McGrath  <roland@redhat.com>
36845         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36847 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36849         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36850         __bzero_ultra1 instead of __memset_ultra1.
36852 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36853             Ulrich Drepper  <drepper@gmail.com>
36855         [BZ #12509]
36856         * include/link.h (struct link_map): Add l_orig_initfini.
36857         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36858         returning unsuccessfully.
36859         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36860         close of a file loaded at startup, restore the original l_initfini
36861         list.
36862         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36863         list, store the pointer.
36864         * elf/Makefile ($(objpfx)noload-mem): New rule.
36865         (noload-ENV): Define.
36866         (tests): Add $(objpfx)noload-mem.
36867         * elf/noload.c: Include <memcheck.h>.
36868         (main): Call mtrace.  Close all opened handles.
36870 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36872         [BZ #12454]
36873         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36874         dependencies are missing.
36876 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36878         Fix __if_freereq crash: Unlike the generic version which uses free,
36879         Hurd needs munmap.
36880         * sysdeps/mach/hurd/ifreq.h: New file.
36882 2011-01-27  Petr Baudis  <pasky@suse.cz>
36883             Ulrich Drepper  <drepper@gmail.com>
36885         [BZ 12445]#
36886         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36887         to extend_alloca().
36888         * stdio-common/bug23.c: New file.
36889         * stdio-common/Makefile (tests): Add bug23.
36891 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36892             Ulrich Drepper  <drepper@gmail.com>
36894         [BZ #12489]
36895         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36896         before performing relro protection.  At old place add assertion
36897         to make sure nothing changed.
36899 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36900             Glauber de Oliveira Costa  <glommer@gmail.com>
36902         * elf/elf.h: Add new ARM TLS relocs.
36904 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36907         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36908         cast from r3.
36909         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36910         'tests' variable.
36911         * sysdeps/wordsize-64/tst-writev.c: New file.
36913 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36915         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36916         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36917         insns in _dl_start to prevent a TOC reference before relocs are
36918         resolved.
36920 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36922         [BZ #12469]
36923         * Makeconfig: Remove RANLIB definition.
36924         * Makerules: Don't use RANLIB.
36925         * aclocal.m4: Remove ranlib test.
36926         * configure.in: No need to check for ranlib.
36927         * elf/rtld-Rules: Don't use RANLIB.
36929 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36931         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36932         protection macro.
36933         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36934         inclusion protection macro.
36936         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36937         SIGRTMIN and SIGRTMAX and print information in that case only when
36938         SIGRTMIN is defined.
36940 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36942         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36943         arginfo fn returning -1.
36945         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36946         and thousands string is zero terminated.
36948 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36950         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36951         sysdeps/unix/sysv/linux/bits/socket.h.
36953 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36955         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36956         (__CPU_COUNT): Remove old macros.
36957         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36958         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36959         (__CPU_ALLOC, __CPU_FREE): Add macros.
36960         (__sched_cpualloc, __sched_cpufree): Add declarations.
36962 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36964         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36965         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36966         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36967         (readdhstai): Return value of addhstaiX call.
36968         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36969         (addgrbyX): Return value returned by cache_addgr.
36970         (readdgrbyname): Return value returned by addgrbyX.
36971         (readdgrbygid): Likewise.
36972         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36973         (addpwbyX): Return value returned by cache_addpw.
36974         (readdpwbyname): Return value returned by addhstbyX.
36975         (readdpwbyuid): Likewise.
36976         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36977         (addservbyX): Return value returned by cache_addserv.
36978         (readdservbyname): Return value returned by addservbyX:
36979         (readdservbyport): Likewise.
36980         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36981         (addhstbyX): Return value returned by cache_addhst.
36982         (readdhstbyname): Return value returned by addhstbyX.
36983         (readdhstbyaddr): Likewise.
36984         (readdhstbynamev6): Likewise.
36985         (readdhstbyaddrv6): Likewise.
36986         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36987         (readdinitgroups): Return value returned by addinitgroupsX.
36988         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36989         (prune_cache): Keep track of timeout value of re-added entries.
36990         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36991         * nscd/nscd.h: Adjust prototypes of readd* functions.
36993 2011-02-04  Roland McGrath  <roland@redhat.com>
36995         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36996         (nis_stats): Likewise.
36997         * nis/nis_modify.c (nis_modify): Likewise.
36998         * nis/nis_remove.c (nis_remove): Likewise.
36999         * nis/nis_add.c (nis_add): Likewise.
37001         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37003         * posix/fnmatch_loop.c: Add some consts.
37005         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37007 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37009         [BZ #12460]
37010         * config.make.in (config-cflags-novzeroupper): Define.
37011         * configure.in: Substitute libc_cv_cc_novzeroupper.
37012         * elf/Makefile (AVX-CFLAGS): Define.
37013         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37014         (CFLAGS-tst-auditmod4a.c): Likewise.
37015         (CFLAGS-tst-auditmod4b.c): Likewise.
37016         (CFLAGS-tst-auditmod6b.c): Likewise.
37017         (CFLAGS-tst-auditmod6c.c): Likewise.
37018         (CFLAGS-tst-auditmod7b.c): Likewise.
37019         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37021 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37023         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37024         function to the callback.
37025         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37027 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37029         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37030         of errno.
37032 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37034         [BZ #11724]
37035         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37036         of constructors.
37037         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37038         of destructors.
37039         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37041         [BZ #11724]
37042         * elf/Makefile: Add rules to build and run new test.
37043         * elf/tst-initorder.c: New file.
37044         * elf/tst-initorder.exp: New file.
37045         * elf/tst-initordera1.c: New file.
37046         * elf/tst-initordera2.c: New file.
37047         * elf/tst-initordera3.c: New file.
37048         * elf/tst-initordera4.c: New file.
37049         * elf/tst-initorderb1.c: New file.
37050         * elf/tst-initorderb2.c: New file.
37051         * elf/tst-order-a1.c: New file.
37052         * elf/tst-order-a2.c: New file.
37053         * elf/tst-order-a3.c: New file.
37054         * elf/tst-order-a4.c: New file.
37055         * elf/tst-order-b1.c: New file.
37056         * elf/tst-order-b2.c: New file.
37057         * elf/tst-order-main.c: New file.
37058         New test case by George Gensure <werkt0@gmail.com>.
37060 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37063         decoding ACE if AI_CANONIDN.
37065 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37067         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37069 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37071         * version.h (RELEASE): Bump for 2.13 release.
37072         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37074         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37076         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37077         MADV_NOHUGEPAGE.
37078         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37079         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37080         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37081         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37082         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37083         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37085         * posix/getconf.c: Update copyright year.
37086         * catgets/gencat.c: Likewise.
37087         * csu/version.c: Likewise.
37088         * debug/catchsegv.sh: Likewise.
37089         * debug/xtrace.sh: Likewise.
37090         * elf/ldconfig.c: Likewise.
37091         * elf/ldd.bash.in: Likewise.
37092         * elf/sprof.c (print_version): Likewise.
37093         * iconv/iconv_prog.c: Likewise.
37094         * iconv/iconvconfig.c: Likewise.
37095         * locale/programs/locale.c: Likewise.
37096         * locale/programs/localedef.c: Likewise.
37097         * malloc/memusage.sh: Likewise.
37098         * malloc/mtrace.pl: Likewise.
37099         * nscd/nscd.c (print_version): Likewise.
37100         * nss/getent.c: Likewise.
37102         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37103         PF_CAIF, and PF_ALG.
37104         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37106 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37108         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37109         (modules-names): Use them.
37110         (ifunc-test-modules, ifunc-pie-tests): Define.
37111         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37112         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37113         (test-extras): Likewise.
37114         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37115         $(compile-command.c).
37116         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37117         (all-built-dso): Define.
37118         (check-textrel.out, check-execstack.out): Depend on it.
37120         * configure.in: Don't override --enable-multi-arch.
37122 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37124         [BZ #6812]
37125         * nscd/hstcache.c (tryagain): Define.
37126         (cache_addhst): Return tryagain not notfound for temporary errors.
37127         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37128         failed.
37130 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37132         [BZ #10563]
37133         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37134         to make the syscall.
37135         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37137         [BZ #12378]
37138         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37139         and fall back to matching as normal character if the string ends before
37140         the matching ']' is found.  This is what POSIX requires.
37141         * posix/testfnm.c: Adjust test result.
37142         * posix/globtest.sh: Adjust test result.  Add new test.
37143         * posix/tst-fnmatch.input: Likewise.
37144         * posix/tst-fnmatch2.c: Add new test.
37146 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37148         * elf/Makefile (check-execstack): Revert last change.  Depend on
37149         check-execstack.h.
37150         (check-execstack.h): New target.
37151         (generated): Add check-execstack.h.
37152         * elf/check-execstack.c: Include "check-execstack.h".
37153         (main): Revert last change.
37154         (handle_file): Return zero if GNU_STACK is absent and
37155         DEFAULT_STACK_PERMS doesn't include PF_X.
37157 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37159         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37160         in child fails because the descriptor is already closed.
37161         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37162         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37163         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37165         [BZ #12397]
37166         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37167         syscall.
37169         [BZ #10484]
37170         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37171         temporary buffer used to handle multi lookups locally.
37172         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37174 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37176         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37177         loader is ld.so.
37179 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37181         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37182         alignment for SSE2.
37184 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37186         [BZ #12394]
37187         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37188         characters.  When rounding increased number of integer digits recompute
37189         number of groups.
37190         * stdio-common/tst-grouping.c: New file.
37191         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37193 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37195         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37196         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37198         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37199         void.
37200         * bits/select.h: Likewise.
37202 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37204         * po/ja.po: Update from translation team.
37206 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37208         [BZ #11155]
37209         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37210         implementation just like for lxstat, fxstatat, et al.
37212 2010-12-27  Jim Meyering  <meyering@redhat.com>
37214         [BZ #12348]
37215         * posix/regexec.c (build_trtable): Return failure indication upon
37216         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37218 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37220         [BZ #12201]
37221         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37222         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37223         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37224         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37226         [BZ #12207]
37227         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37229         [BZ #12204]
37230         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37231         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37233 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37235         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37236         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37237         script has SORT_BY_INIT_PRIORITY.
37238         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37239         NO_CTORS_DTORS_SECTIONS is defined.
37240         * elf/soinit.c: Likewise.
37241         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37242         NO_CTORS_DTORS_SECTIONS is defined.
37243         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37244         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37245         * sysdeps/sh/init-first.c: Likewise.
37246         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37248 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37250         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37251         always use the slow path.
37253 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37255         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37256         similar rule which adds the sysdep directories to the header search in
37257         order to pick up the correct platform stackinfo.h.
37258         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37259         perform test if it is, otherwise return successfully without testing.
37260         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37261         DEFAULT_STACK_PERMS define in stackinfo.h.
37262         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37263         defined in stackinfo.h.
37264         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37265         DEFAULT_STACK_PERMS defined in stackinfo.h.
37266         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37267         * sysdeps/ia64/stackinfo.h: Likewise.
37268         * sysdeps/s390/stackinfo.h: Likewise.
37269         * sysdeps/sh/stackinfo.h: Likewise.
37270         * sysdeps/sparc/stackinfo.h: Likewise.
37271         * sysdeps/x86_64/stackinfo.h: Likewise.
37272         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37273         PF_X for powerpc64.  Retain PF_X for powerpc32.
37275 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37277         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37278         accurately.
37279         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37280         GETDENTS_64BIT_ALIGNED.
37282 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37284         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37286 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37288         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37289         _GNU_SOURCE.
37291         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37292         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37293         Remove __restrict.
37294         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37295         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37297 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37299         [BZ #11655]
37300         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37301         are initialized.
37303 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37305         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37307 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37309         * po/it.po: Update from translation team.
37311 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37313         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37314         unused codes.
37316 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37318         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37320 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37322         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37323         specially.
37324         (gaih_getanswer_slice): Likewise.
37326 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37328         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37330 2010-05-31  Petr Baudis  <pasky@suse.cz>
37332         [BZ #11149]
37333         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37334         silently even in the chroot mode.
37336 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37338         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37339         last patch a bit.  Pretty printing
37341 2010-05-31  Petr Baudis <pasky@suse.cz>
37343         [BZ #10085]
37344         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37345         initialization of skip_initgroups_dyn.
37347 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37349         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37350         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37352 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37354         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37356 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37358         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37359         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37360         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37361         ($(objpfx)tst-fnmatch-mem): New rule.
37362         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37363         * posix/tst-fnmatch.c (main): Call mtrace.
37365 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37368         Support Intel processor model 6 and model 0x2c.
37370 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37372         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37373           signed comparison.
37375 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37377         [BZ #12205]
37378         * string/test-strncasecmp.c (check_result): New function.
37379         (do_one_test): Use it.
37380         (check1): New function.
37381         (test_main): Use it.
37382         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37383         Support strcasecmp and strncasecmp.
37385 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37387         [BZ #12194]
37388         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37389         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37391 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37393         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37394         IFUNC support.
37395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37396         memset-x86-64.
37397         * sysdeps/x86_64/multiarch/bzero.S: New file.
37398         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37399         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37400         * sysdeps/x86_64/multiarch/memset.S: New file.
37401         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37403         Set bit_Prefer_SSE_for_memop for Intel processors.
37404         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37405         Define.
37406         (index_Prefer_SSE_for_memop): Define.
37407         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37409 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37411         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37412         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37414 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37416         [BZ #12191]
37417         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37418         (__x86_64_raw_data_cache_size_half): Likewise.
37419         (__x86_64_raw_shared_cache_size): Likewise.
37420         (__x86_64_raw_shared_cache_size_half): Likewise.
37422         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37423         (__x86_64_raw_data_cache_size_half): Likewise.
37424         (__x86_64_raw_shared_cache_size): Likewise.
37425         (__x86_64_raw_shared_cache_size_half): Likewise.
37426         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37427         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37428         and __x86_64_raw_shared_cache_size_half.  Round
37429         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37430         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37431         to multiple of 256 bytes.
37433 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37435         [BZ #12167]
37436         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37437         of inacessible symlinks.  Verify result of symlink before returning it.
37438         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37439         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37441 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37443         * math/math.h (isinf): Fix typo in comment.
37445 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37447         * po/da.po: Update from translation team.
37449 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37451         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37452         is added to the list.
37454 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37455             Ulrich Drepper  <drepper@gmail.com>
37457         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37458         the global list here.  Move code to...
37459         (_dl_add_to_namespace_list): ...here.  New function.
37460         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37461         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37462         * elf/dl-load.c (lose): Don't remove the element from the list.
37463         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37464         (_dl_map_object): Likewise.
37466 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37468         [BZ #12159]
37469         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37470         into all bytes of SSE register.
37471         Patch by Richard Li <richardpku@gmail.com>.
37473 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37475         [BZ #12140]
37476         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37477         perturbing.
37479 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37481         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37482         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37483         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37484         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37486         submachine.
37487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37489 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37491         * include/dlfcn.h (__RTLD_SECURE): Define.
37492         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37493         mode & __RTLD_SECURE instead.
37494         (open_path): Rename preloaded parameter to secure.
37495         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37496         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37497         * elf/dl-deps.c (openaux): Likewise.
37498         * elf/rtld.c (struct map_args): Remove is_preloaded.
37499         (map_doit): Don't use it.
37500         (dl_main): Likewise.
37501         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37502         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37504 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37506         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37507         (sysd-rules-targets): Remove duplicates.
37508         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37509         rtld-%.$o dependency.
37511 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37513         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37514         _dl_map_object do it.
37516 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37518         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37519         fast fma builtins, define the macros in the C99 standard.
37520         (FP_FAST_FMAF): Likewise.
37521         (FP_FAST_FMAL): Likewise.
37522         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37524         * bits/mathdef.h: Update copyright year.
37525         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37527 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37529         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37530         builtins, define the macros in the C99 standard.
37531         (FP_FAST_FMAF): Likewise.
37532         (FP_FAST_FMAL): Likewise.
37533         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37534         multiply/add.
37535         (FP_FAST_FMAF): Likewise.
37537 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37539         [BZ #3268]
37540         * math/libm-test.inc (fma_test): Some new testcases.
37541         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37542         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37543         y and infinite z.  Do multiplication by C already in long double.
37544         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37546         y and infinite z.  Do bitwise or of inexact bit into u.d.
37547         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37548         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37549         * sysdeps/i386/fpu/s_fma.S: Removed.
37550         * sysdeps/i386/fpu/s_fmal.S: Removed.
37552 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37554         [BZ #3268]
37555         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37557         computation is not scheduled after fetestexcept.  Fix value
37558         of minimum denormal long double.
37560 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37562         [BZ #3268]
37563         * math/libm-test.inc (fma_test): Add some more tests.
37564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37565         correctly.
37567 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37569         * scripts/data/localplt-s390-linux-gnu.data: New file.
37570         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37572 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37574         [BZ #3268]
37575         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37576         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37577         instead of dbl-64.
37578         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37579         inlines.
37580         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37582         if one of x and y is very large and the other is subnormal.
37583         * sysdeps/s390/fpu/s_fmaf.c: New file.
37584         * sysdeps/s390/fpu/s_fma.c: New file.
37585         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37586         * sysdeps/powerpc/fpu/s_fma.S: New file.
37587         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37588         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37589         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37591 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37593         [BZ #3268]
37594         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37595         fma tests.
37596         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37597         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37598         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37599         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37600         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37601         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37602         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37604 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37606         [BZ #12078]
37607         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37608         * posix/bug-regex31.input: Add test case.
37610 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37612         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37613         * posix/bug-regex31.input: New file.
37615         [BZ #12078]
37616         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37617         (parse_sub_exp): Fix last change, use postorder.
37619         * posix/bug-regex31.c: New file.
37620         * posix/Makefile: Add rules to build and run bug-regex31.
37622         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37624         [BZ #12078]
37625         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37627         [BZ #12108]
37628         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37629         to have entries in sys_siglist.
37631         [BZ #12093]
37632         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37633         be NULL.
37635 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37637         [BZ #3268]
37638         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37639         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37640         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37641         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37642         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37643         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37644         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37645         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37646         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37647         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37648         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37649         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37650         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37651         * math/ftestexcept.c (fetestexcept): Likewise.
37652         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37653         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37654         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37655         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37656         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37657         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37658         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37660 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37662         [BZ #12107]
37663         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37664         newline.
37666 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37668         * string/bug-strstr1.c: New file.
37669         * string/Makefile: Add rules to build and run bug-strstr1.
37671 2010-10-05  Eric Blake  <eblake@redhat.com>
37673         [BZ #12092]
37674         * string/str-two-way.h (two_way_long_needle): Always clear memory
37675         when skipping input due to the shift table.
37677 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37679         [BZ #12005]
37680         * malloc/mcheck.c: Handle large requests.
37682         [BZ #12077]
37683         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37684         for strncmp and strncasecmp.
37685         * string/stratcliff.c: Add tests for strcmp and strncmp.
37686         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37688 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37690         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37691         __set_fpscr.
37693 2010-09-30  Andreas Jaeger  <aj@suse.de>
37695         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37696         (CGROUP_SUPER_MAGIC): Define.
37697         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37698         Handle btrfs and cgroup file systems.
37699         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37700         Likewise.
37702 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37704         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37705         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37707 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37709         [BZ #12067]
37710         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37711         trying to locate the ELF header.
37713 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37715         [BZ #11611]
37716         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37717         Mask out sign-bit copies when constructing f_fsid.
37719 2010-09-24  Petr Baudis <pasky@suse.cz>
37721         * debug/stack_chk_fail_local.c: Add missing licence exception.
37722         * debug/warning-nop.c: Likewise.
37724 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37726         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37727         implementing getdents64 using getdents syscall, set d_type if
37728         __ASSUME_GETDENTS32_D_TYPE.
37730 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37732         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37733         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37735 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37737         [BZ #12037]
37738         * posix/unistd.h: Undo change of feature selection for ftruncate from
37739         2010-01-11.
37741 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37743         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37744         detection.
37746 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37748         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37749         fanotify_mark.
37750         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37752 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37754         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37755         variables after CHECK_SP call.
37756         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37758 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37759             Ulrich Drepper  <drepper@redhat.com>
37761         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37762         re-relocationg ld.so.
37763         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37764         _dl_init_paths call.
37765         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37766         here anymore.
37768 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37770         * resolv/res_init.c (__res_vinit): Count the default server we added.
37772 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37773             Ulrich Drepper  <drepper@redhat.com>
37775         [BZ #11968]
37776         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37777         (____longjmp_chk): Use %ebx for saving value across system call.
37778         Add unwind info.
37780 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37782         * manual/Makefile: Don't mix pattern rules with normal rules.
37784 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37786         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37787         operation.
37788         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37789         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37790         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37791         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37792         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37793         Likewise.
37795 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37797         [BZ #11979]
37798         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37799         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37801 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37803         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37804         * sysdeps/x86_64/addmul_1.S: Likewise.
37805         * sysdeps/x86_64/lshift.S: Likewise.
37806         * sysdeps/x86_64/mul_1.S: Likewise.
37807         * sysdeps/x86_64/rshift.S: Likewise.
37808         * sysdeps/x86_64/sub_n.S: Likewise.
37809         * sysdeps/x86_64/submul_1.S: Likewise.
37811 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37813         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37814         Define __sched_param instead of SCHED_* and sched_param when
37815         <bits/sched.h> is included with __need_schedparam defined.
37816         * bits/sched.h [__need_schedparam]
37817         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37818         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37819         (__defined_schedparam): Define to 1.
37820         (__sched_param): New structure, identical to sched_param.
37821         (__need_schedparam): Undefine.
37823 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37825         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37826         (epoll_create1): Declare.
37828         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37830 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37832         [BZ #7066]
37833         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37834         shifting retval into place.
37836 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37838         * nis/rpcsvc/nis.h: Update copyright notice.
37839         * nis/rpcsvc/nis.x: Likewise.
37840         * nis/rpcsvc/nis_callback.h: Likewise.
37841         * nis/rpcsvc/nis_callback.x: Likewise.
37842         * nis/rpcsvc/nis_object.x: Likewise.
37843         * nis/rpcsvc/nis_tags.h: Likewise.
37844         * nis/rpcsvc/yp.h: Likewise.
37845         * nis/rpcsvc/yp.x: Likewise.
37846         * nis/rpcsvc/ypupd.h: Likewise.
37847         * nis/yp_xdr.c: Likewise.
37848         * nis/ypupdate_xdr.c: Likewise.
37850         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37851         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37852         (pmap_getport): Use __libc_rpc_getport.
37853         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37854         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37855         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37857 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37860         fanotify_mark.
37862 2010-08-27  Roland McGrath  <roland@redhat.com>
37864         * sysdeps/i386/i686/multiarch/Makefile
37865         (CFLAGS-varshift.c): New variable.
37867 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37869         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37870         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37872         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37874         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37876 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37878         * sysdeps/x86_64/strlen.S: Unroll the loop.
37879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37880         strlen-sse2 strlen-sse2-bsf.
37881         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37882         __strlen_no_bsf if bit_Slow_BSF is set.
37883         (__strlen_sse42): Removed.
37884         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37885         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37887 2010-08-25  Roland McGrath  <roland@redhat.com>
37889         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37890         * sysdeps/x86_64/multiarch/varshift.c: New file.
37891         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37892         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37893         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37894         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37896 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37899         strlen-sse2 strlen-sse2-bsf.
37900         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37901         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37902         (__strlen_sse2): Removed.
37903         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37904         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37905         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37906         bit_Slow_BSF for Atom.
37907         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37908         (index_Slow_BSF): Define.
37909         (HAS_SLOW_BSF): Define.
37911 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37913         [BZ #10851]
37914         * resolv/res_init.c (__res_vinit): When no server address at all
37915         is given default to loopback.
37917 2010-08-24  Roland McGrath  <roland@redhat.com>
37919         * configure.in: Remove config-name.h generation.
37920         * configure: Regenerated.
37921         * config-name.in: File removed.
37922         * scripts/config-uname.sh: New file.
37923         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37924         ($(objdir)config-name.h): New target.
37926         * sunrpc/rpc_parse.h: Avoid nested comment.
37928 2010-08-24  Richard Henderson  <rth@redhat.com>
37929             Ulrich Drepper  <drepper@redhat.com>
37930             H.J. Lu  <hongjiu.lu@intel.com>
37932         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37934         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37935         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37936         _mm_alignr_epi8 with _mm_loadu_si128.
37937         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37938         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37939         (__m128i_shift_right): Removed.
37940         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37941         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37942         * sysdeps/x86_64/multiarch/varshift.h: New file.
37943         * sysdeps/x86_64/multiarch/varshift.S: New file.
37945 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37947         * configure.in: Move assembler checks to before sysdep dir checking.
37949 2010-08-20  Petr Baudis  <pasky@suse.cz>
37951         * LICENSES: Sync the sunrpc license.
37953 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37955         * sunrpc/auth_des.c: Update copyright notice once again.
37956         * sunrpc/auth_none.c: Likewise.
37957         * sunrpc/auth_unix.c: Likewise.
37958         * sunrpc/authdes_prot.c: Likewise.
37959         * sunrpc/authuxprot.c: Likewise.
37960         * sunrpc/bindrsvprt.c: Likewise.
37961         * sunrpc/clnt_gen.c: Likewise.
37962         * sunrpc/clnt_perr.c: Likewise.
37963         * sunrpc/clnt_raw.c: Likewise.
37964         * sunrpc/clnt_simp.c: Likewise.
37965         * sunrpc/clnt_tcp.c: Likewise.
37966         * sunrpc/clnt_udp.c: Likewise.
37967         * sunrpc/clnt_unix.c: Likewise.
37968         * sunrpc/des_crypt.c: Likewise.
37969         * sunrpc/des_soft.c: Likewise.
37970         * sunrpc/get_myaddr.c: Likewise.
37971         * sunrpc/getrpcport.c: Likewise.
37972         * sunrpc/key_call.c: Likewise.
37973         * sunrpc/key_prot.c: Likewise.
37974         * sunrpc/openchild.c: Likewise.
37975         * sunrpc/pm_getmaps.c: Likewise.
37976         * sunrpc/pm_getport.c: Likewise.
37977         * sunrpc/pmap_clnt.c: Likewise.
37978         * sunrpc/pmap_prot.c: Likewise.
37979         * sunrpc/pmap_prot2.c: Likewise.
37980         * sunrpc/pmap_rmt.c: Likewise.
37981         * sunrpc/rpc/auth.h: Likewise.
37982         * sunrpc/rpc/auth_unix.h: Likewise.
37983         * sunrpc/rpc/clnt.h: Likewise.
37984         * sunrpc/rpc/des_crypt.h: Likewise.
37985         * sunrpc/rpc/key_prot.h: Likewise.
37986         * sunrpc/rpc/netdb.h: Likewise.
37987         * sunrpc/rpc/pmap_clnt.h: Likewise.
37988         * sunrpc/rpc/pmap_prot.h: Likewise.
37989         * sunrpc/rpc/pmap_rmt.h: Likewise.
37990         * sunrpc/rpc/rpc.h: Likewise.
37991         * sunrpc/rpc/rpc_des.h: Likewise.
37992         * sunrpc/rpc/rpc_msg.h: Likewise.
37993         * sunrpc/rpc/svc.h: Likewise.
37994         * sunrpc/rpc/svc_auth.h: Likewise.
37995         * sunrpc/rpc/types.h: Likewise.
37996         * sunrpc/rpc/xdr.h: Likewise.
37997         * sunrpc/rpc_clntout.c: Likewise.
37998         * sunrpc/rpc_cmsg.c: Likewise.
37999         * sunrpc/rpc_common.c: Likewise.
38000         * sunrpc/rpc_cout.c: Likewise.
38001         * sunrpc/rpc_dtable.c: Likewise.
38002         * sunrpc/rpc_hout.c: Likewise.
38003         * sunrpc/rpc_main.c: Likewise.
38004         * sunrpc/rpc_parse.c: Likewise.
38005         * sunrpc/rpc_parse.h: Likewise.
38006         * sunrpc/rpc_prot.c: Likewise.
38007         * sunrpc/rpc_sample.c: Likewise.
38008         * sunrpc/rpc_scan.c: Likewise.
38009         * sunrpc/rpc_scan.h: Likewise.
38010         * sunrpc/rpc_svcout.c: Likewise.
38011         * sunrpc/rpc_tblout.c: Likewise.
38012         * sunrpc/rpc_util.c: Likewise.
38013         * sunrpc/rpc_util.h: Likewise.
38014         * sunrpc/rpcinfo.c: Likewise.
38015         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38016         * sunrpc/rpcsvc/key_prot.x: Likewise.
38017         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38018         * sunrpc/rpcsvc/mount.x: Likewise.
38019         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38020         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38021         * sunrpc/rpcsvc/rex.x: Likewise.
38022         * sunrpc/rpcsvc/rstat.x: Likewise.
38023         * sunrpc/rpcsvc/rusers.x: Likewise.
38024         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38025         * sunrpc/rpcsvc/spray.x: Likewise.
38026         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38027         * sunrpc/rtime.c: Likewise.
38028         * sunrpc/svc.c: Likewise.
38029         * sunrpc/svc_auth.c: Likewise.
38030         * sunrpc/svc_authux.c: Likewise.
38031         * sunrpc/svc_raw.c: Likewise.
38032         * sunrpc/svc_run.c: Likewise.
38033         * sunrpc/svc_simple.c: Likewise.
38034         * sunrpc/svc_tcp.c: Likewise.
38035         * sunrpc/svc_udp.c: Likewise.
38036         * sunrpc/svc_unix.c: Likewise.
38037         * sunrpc/svcauth_des.c: Likewise.
38038         * sunrpc/xcrypt.c: Likewise.
38039         * sunrpc/xdr.c: Likewise.
38040         * sunrpc/xdr_array.c: Likewise.
38041         * sunrpc/xdr_float.c: Likewise.
38042         * sunrpc/xdr_mem.c: Likewise.
38043         * sunrpc/xdr_rec.c: Likewise.
38044         * sunrpc/xdr_ref.c: Likewise.
38045         * sunrpc/xdr_sizeof.c: Likewise.
38046         * sunrpc/xdr_stdio.c: Likewise.
38048         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38049         handling.
38051 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38053         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38055 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38057         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38058         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38059         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38060         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38061         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38062         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38063         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38064         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38065         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38066         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38067         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38068         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38069         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38070         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38072 2010-07-26  Anton Blanchard  <anton@samba.org>
38074         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38075         * malloc/arena.c (heap_trim): Likewise.
38077 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38079         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38080         here.  Not...
38081         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38082         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38084 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38086         * sysdeps/i386/elf/Makefile: New file.
38088 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38090         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38091         from fanotify_init.
38092         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38093         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38095 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38097         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38098         of strncasecmp_l.
38099         * sysdeps/multiarch/strcmp.S: Likewise.
38101 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38103         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38104         strncase_l-nonascii.
38105         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38106         Add strncase_l-ssse3.
38107         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38108         * sysdeps/x86_64/strcmp.S: Likewise.
38109         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38110         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38111         * sysdeps/x86_64/strncase.S: New file.
38112         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38113         * sysdeps/x86_64/strncase_l.S: New file.
38114         * string/Makefile (strop-tests): Add strncasecmp.
38115         * string/test-strncasecmp.c: New file.
38117         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38118         warning.
38120         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38121         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38123 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38125         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38127 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38129         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38130         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38131         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38133 2010-05-01  Alan Modra  <amodra@gmail.com>
38135         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38136         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38137         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38138         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38139         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38140         tidying.  Don't tail-call __sigjmp_save for static lib.
38141         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38142         save location.
38143         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38144         (CALL_MCOUNT): Add eh info, and nop after bl.
38145         (TAIL_CALL_SYSCALL_ERROR): New macro.
38146         (PSEUDO_RET): Use it.
38147         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38148         Correct save location of integer regs and cr.
38149         (_dl_profile_resolve): Correct cr save location.  Delete nops
38150         after bl when SHARED.  Reduce cfi size a little by better
38151         placement of cfi directives.
38152         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38153         make a stack frame.  Instead use parm save area as a temp.
38154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38155         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38157         Don't make a stack frame for parent, use parm save area.
38158         Increase child stack frame to 112 bytes.  Don't save unused reg,
38159         and adjust reg usage.  Set up cfi on error recovery and
38160         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38162         (__makecontext): Add dummy nop after jump to exit.
38163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38164         Use correct parm save area and cr save, reduce stack frame.
38165         Correct cfi for possible PSEUDO_RET frame setup.
38166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38167         Branch to local label emitted by PSEUDO_RET rather than
38168         __syscall_error.
38170 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38172         [BZ #11904]
38173         * locale/programs/locale.c (print_assignment): New function.
38174         (show_locale_vars): Use it.
38176 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38178         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38179         field.
38180         (struct statfs64): Likewise.
38181         (_STATFS_F_FLAGS): Define.
38182         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38183         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38184         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38185         (ST_VALID): Define locally.
38186         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38187         __statvfs_getflags, use the provided value.
38188         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38189         __ASSUME_STATFS_F_FLAGS.
38191         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38193         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38194         Add sys/fanotify.h.
38195         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38196         fanotify_mask for GLIBC_2.13.
38197         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38198         fanotify_init and fanotify_mark.
38199         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38200         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38202         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38203         Add prlimit.
38204         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38205         prlimit64 for GLIBC_2.13.
38206         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38207         prlimit64.
38208         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38209         syscall.
38210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38211         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38212         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38213         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38214         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38215         add prlimit alias.
38216         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38218         [BZ #11903]
38219         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38220         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38222         * nss/Makefile: Add rules to build and run tst-nss-test1.
38223         * shlib-versions: Add entry for libnss_test1.
38224         * nss/nss_test1.c: New file.
38225         * nss/tst-nss-test1.c: New file.
38227         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38228         (__nss_configure_lookup): Set appropriate entry in
38229         __nss_configure_lookup to true.
38230         * nss/nsswitch.h: Define enum with indeces of databases in
38231         databases and __nss_database_custom arrays.  Declare
38232         __nss_database_custom.
38233         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38234         to avoid using nscd when custom rules are installed.
38235         * nss/getXXbyYY_r.c: Likewise.
38236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38238         * nss/nss_files/files-parse.c: Whitespace fixes.
38240 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38242         [BZ #11883]
38243         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38244         * posix/fnmatch_loop.c: Likewise.
38246 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38248         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38249         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38250         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38251         * Versions.def [GLIBC_2.13]: Add.
38253 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38255         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38256         Also fail if tpwd after pwuid call is NULL.
38258 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38260         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38261         when converting to ms.
38263 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38265         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38266         EOPNOTSUPP errors with ENOTTY.
38267         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38268         EOPNOTSUPP errors with ENOTTY.
38270 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38272         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38273         Add strcasecmp_l-ssse3.
38274         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38275         strcasecmp.
38276         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38277         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38278         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38280 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38282         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38284         * string/Makefile (strop-tests): Add strcasecmp.
38285         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38286         strcasecmp_l-nonascii.
38287         (gen-as-const-headers): Add locale-defines.sym.
38288         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38289         * sysdeps/x86_64/strcasecmp.S: New file.
38290         * sysdeps/x86_64/strcasecmp_l.S: New file.
38291         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38292         * sysdeps/x86_64/locale-defines.sym: New file.
38293         * string/test-strcasecmp.c: New file.
38295         * string/test-strcasestr.c: Test both ends of the range of characters.
38296         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38298 2010-07-29  Roland McGrath  <roland@redhat.com>
38300         [BZ #11856]
38301         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38303 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38305         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38306         for ld.so.
38308 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38310         * manual/memory.texi (Malloc Tunable Parameters): Document
38311         M_PERTURB.
38313 2010-07-26  Roland McGrath  <roland@redhat.com>
38315         [BZ #11840]
38316         * configure.in (-fgnu89-inline check): Set and substitute
38317         gnu89_inline, not libc_cv_gnu89_inline.
38318         * configure: Regenerated.
38319         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38321 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38323         * string/test-strnlen.c: New file.
38324         * string/Makefile (strop-tests): Add strnlen.
38325         * string/tester.c (test_strnlen): Add a few more test cases.
38326         * string/tst-strlen.c: Better error reporting.
38328         * sysdeps/x86_64/strnlen.S: New file.
38330 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38332         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38333         lower-latency instructions.
38335 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38337         * string/test-strcasestr.c: New file.
38338         * string/test-strstr.c: New file.
38339         * string/Makefile (strop-tests): Add strstr and strcasestr.
38340         * string/str-two-way.h: Don't undefine MAX.
38341         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38343 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38345         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38346         strcasestr-nonascii.
38347         (CFLAGS-strcasestr-nonascii.c): Define.
38348         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38349         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38350         Remove unused attribute.
38352 2010-07-20  Roland McGrath  <roland@redhat.com>
38354         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38355         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38356         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38357         like LD_HWCAP_MASK can disable hwcaps.
38359 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38361         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38363 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38365         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38366         call in strcasestr.
38367         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38368         __strcasestr_sse42_nonascii.
38369         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38370         strcasestr-nonascii.c.
38371         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38373 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38375         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38376         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38377         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38378         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38380 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38382         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38383         fcntl.
38385 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38387         [BZ #11577]
38388         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38389         dl_signal_cerror.
38391 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38393         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38394         _PC_PIPE_BUF using F_GETPIPE_SZ.
38396 2010-07-05  Roland McGrath  <roland@redhat.com>
38398         * manual/arith.texi (Rounding Functions): Fix rint description
38399         implicit in round description.
38401 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38403         * elf/Makefile: Fix linking for a few tests to make recent linker
38404         happy.
38406 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38408         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38409         $(common-objpfx)libc_nonshared.a.
38411 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38413         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38414         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38415         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38416         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38417         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38418         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38419         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38420         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38435         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38436         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38437         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38438         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38439         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38440         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38441         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38442         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38443         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38444         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38445         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38446         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38462 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38464         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38465         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38466         * string/memmove.c (memmove): Renamed to ...
38467         (MEMMOVE): ...this.  Default to memmove.
38468         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38469         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38470         (END_CHK): Define.
38471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38472         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38473         mempcpy-ssse3-back memmove-ssse3-back.
38474         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38475         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38476         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38477         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38478         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38479         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38480         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38481         * sysdeps/x86_64/multiarch/memmove.c: New file.
38482         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38483         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38484         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38485         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38486         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38487         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38488         Define.
38489         (index_Fast_Copy_Backward): Define.
38490         (HAS_ARCH_FEATURE): Define.
38491         (HAS_FAST_REP_STRING): Define.
38492         (HAS_FAST_COPY_BACKWARD): Define.
38494 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38496         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38497         Restore proper fallback handling.
38499 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38501         [BZ #11701]
38502         * posix/group_member.c (__group_member): Correct checking loop.
38504         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38505         OOM in getpwuid_r correctly.  Return error number when the caller
38506         should return, otherwise -1.
38507         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38508         call returning > 0 value.
38509         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38511 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38513         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38514         libc_nonshared.a from targets in modules-names.
38516 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38518         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38519         requires it.
38521 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38523         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38524         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38525         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38526         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38528 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38530         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38532 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38534         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38535         and F_GETPIPE_SZ.
38536         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38537         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38538         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38540         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38541         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38543 2010-06-14  Roland McGrath  <roland@redhat.com>
38545         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38547 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38549         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38550         __REDIRECT followed by __THROW.
38551         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38552         * posix/getopt.h (getopt): Likewise.
38554 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38556         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38557         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38558         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38559         in AT_FLAGS.
38560         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38561         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38563 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38565         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38567 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38569         [BZ #11640]
38570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38571         Properly check family and model.
38573 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38575         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38577 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38579         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38581 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38583         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38584         symbol reference.
38586 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38588         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38589         symbol reference.
38591 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38593         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38594         and internal_recvmmsg.
38595         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38596         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38597         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38598         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38600         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38601         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38602         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38604 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38606         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38608 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38610         POWER7 optimizations.
38611         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38612         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38614 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38616         * version.h: Update for 2.13 development version.
38618 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38620         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38621         exceptions.  Return 0.
38623 2010-05-07  Roland McGrath  <roland@redhat.com>
38625         * elf/ldconfig.c (main): Add a const.
38627 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38629         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38630         (args_options): Add no-idn option.
38631         (ahosts_keys_int): Add idn_flags to ai_flags.
38632         (parse_option): Handle 'i' option to clear idn_flags.
38634         * malloc/malloc.c (_int_free): Possible race in the most recently
38635         added check.  Only act on the data if no current modification
38636         happened.
38638 See ChangeLog.17 for earlier changes.