Update French translations
[glibc.git] / ChangeLog
blob1a23eba66e50da3b721f57964657d373954019b9
1 2014-01-27  Allan McRae  <allan@archlinux.org>
3         * po/fr.po: Update French translation from translation project.
5 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7         * sysdeps/sh/libm-test-ulps: Regenerate.
9 2014-01-24  David S. Miller  <davem@davemloft.net>
11         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20         [BZ #16474]
21         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22         string pointers after reallocation.
24 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27         __SH4A__ instead of __SH_FPU_ANY__.
29 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31         * sysdeps/sh/fpu_control.h: New file.
32         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
36         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38         * sysdeps/sh/sys/ucontext.h: Remove.
39         * sysdeps/sh/sys: Remove directory.
41 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
44         s390/sys/ucontext.h.
45         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
48 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
50         [BZ #15605]
51         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
53 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55         [BZ#16431]
56         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57         Adjust the vDSO correctly for internal calls.
58         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
60 2014-01-20  Allan McRae  <allan@archlinux.org>
62         * po/ca.po: Update Catalan translation from translation project.
64 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
66         * sysdeps/s390/sotruss-lib.c: New file.
68 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70         [BZ#16430]
71         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
72         (__GI___gettimeofday): Alias for a different internal symbol to avoid
73         local calls issues by not having a PLT stub required for IFUNC calls.
74         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
76 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
78         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
79         * math/test-fpucw-static.c: Likewise.
81 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
83         [BZ #16453]
84         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
86 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
89         implementation for powerpc.
91 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
93         [BZ #14782]
94         * sysdeps/posix/system.c (__libc_system): Do not enable
95         asynchronous cancellation.
97 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
99         [BZ #16427]
100         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
101         handling only for numbers special also in the IEEE case.
103 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
105         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
107 2014-01-11  Allan McRae  <allan@archlinux.org>
109         * po/bg.po: Update Bulgarian translation from translation project.
111         * po/de.po: Update German translation from translation project.
113 2014-01-10  Roland McGrath  <roland@hack.frob.com>
115         * sysdeps/generic/gcc-compat.h: New file.
117 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
119         * benchtests/asin-inputs: Correct slow inputs.
120         * benchtests/acos-inputs: Likewise.
122 2014-01-10  Allan McRae  <allan@archlinux.org>
124         * po:sv.po: Update Swedish translation from translation project.
126         * po/vi.po: Update Vietnamese translation from translation project.
128         * po/eo.po: Update Esperanto translation from translation project.
130         * po/cs.po: Update Czech translation from translation project.
132         * po/nl.po: Update Dutch translation from translation project.
134         * po/pl.po: Update Polish translation from translation project.
136         * po/ru.po: Update Russian translation from translation project.
138         * po/uk.po: Update Ukrainian translation from translation project.
140 2014-01-08  Brooks Moses  <bmoses@google.com>
142         * elf/dl-load.c: Fix comment typo.
144 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
146         * po/header.pot: Rename to...
147         * po/pot.header: ... this.
148         * po/Makefile: Use pot.header.
150 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
151             Maxim Kuvyrkov  <maxim@kugelworks.com>
153         [BZ #16394]
154         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
155         SRC and DEST against LEN.
157 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
159         [BZ #16414]
160         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
161         implementation.
162         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
164 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
168 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
170         [BZ #16408]
171         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
172         for large positive arguments.
174 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
176         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
178         * math/auto-libm-test-in: Mark various tests with
179         xfail-rounding:ldbl-128ibm.
180         * math/auto-libm-test-out: Regenerated.
182         [BZ #16407]
183         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
184         Increase overflow threshold.
186 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
188         [BZ #14286]
189         * stdio-common/vfprintf.c: Check for integer overflow.
191 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
193         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
194         the first argument and return value of __tls_get_addr_internal.
196 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
198         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
199         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
201 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
203         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
204         * sysdeps/s390/rtld-global-offsets.sym: New file.
205         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
206         GLIBC_2.19 symbol.
207         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
208         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
209         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
210         ... this.
211         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
212         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
213         ... this.
214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
215         Regenerate.
216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
217         Regenerate.
218         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
219         halfs of GPRs for high_gprs contexts.
220         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
221         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
222         field.
223         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
224         uc_flags field.
225         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
226         64 bit versions:
227         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
228         for high GPRs (uc_high_gprs) and for future extensions
229         (__reserved).
230         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
231         for future extensions (__reserved).
232         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
233         64 bit versions:
234         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
235         SC_HIGHGPRS offset definition.
236         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
237         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
239 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
241         * Versions.def: Add GLIBC_2.19 for libpthread.
242         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
243         siglongjmp for libpthread with GLIBC_2.19 symver.
244         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
245         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
246         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
247         * sysdeps/s390/__longjmp.c: New file.
248         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
249         * sysdeps/s390/longjmp.c: New file.
250         * sysdeps/s390/setjmp.S: New file.
251         * sysdeps/s390/sigjmp.S: New file.
252         * sysdeps/s390/v1-longjmp.c: New file.
253         * sysdeps/s390/v1-setjmp.h: New file.
254         * sysdeps/s390/v1-sigjmp.c: New file.
255         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
256         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
257         GLIBC_2.19 version.
258         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
259         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
260         versioned symbols for ____longjmp_chk.
261         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
262         Likewise.
263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
264         Regenerate.
265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
266         Regenerate.
267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
268         Regenerate.
269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
270         Regenerate.
271         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
272         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
273         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
274         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
275         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
276         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
277         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
278         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
279         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
280         * sysdeps/s390/rtld-__longjmp.c: New file.
281         * sysdeps/s390/rtld-setjmp.S: New file.
283 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
285         [BZ #16400]
286         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
287         Return -__logl (x) for small positive arguments without evaluating
288         a polynomial.
290 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
292         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
293         Rename to ...
294         (__ptrace_peeksiginfo_args): ... this.
295         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
296         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
297         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
299 2014-01-06  Allan McRae  <allan@archlinux.org>
301         * inet/netinet/in.h: Fix typo in comment.
303 2014-01-05  Andreas Jaeger  <aj@suse.de>
305         * sysdeps/i386/fpu/libm-test-ulps: Update.
307 2014-01-05  Allan McRae  <allan@archlinux.org>
309         * po/libc.pot: Regenerated.
311         * malloc/memusagestat.c: Fix gettext call formatting.
313 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
315         * nscd/nscd.c: Improve usage() output.
317 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
319         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
320         * sysdeps/unix/sysv/linux/configure: Regenerated.
321         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
322         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
324 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
326         [BZ #16390]
327         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
328         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
330 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
332         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
333         extra tokens at end of #undef directive.
334         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
335         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
336         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
338 2014-01-03  Andrew Hunter  <ahh@google.com>
340         * elf/dl-open.c (dl_open_worker): New comment.
341         * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
342         atomic_compare_and_exchange_bool_acq
343         (_dl_allocate_static_tls): Block signals.
344         * elf/dl-tls.c (allocate_and_init): Return void.
345         (_dl_update_slotinfo): Block signals, use atomic update.
347 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
349         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
351         * math/auto-libm-test-in: Mark various tests with
352         xfail-rounding:ldbl-128ibm.
353         * math/auto-libm-test-out: Regenerated.
355 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
357         [BZ #16386]
358         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
359         numbers with subnormal high part when calculating exponent.
361         [BZ #16385]
362         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
363         fabs.
365         [BZ #16384]
366         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
367         M_LN2l.
368         (__ieee754_acoshl): Use __log1pl not __log1p.
370 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
372         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
373         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
374         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
375         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
376         Convert to GNU style.
377         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
378         mem2mem_check, mem2chunk_check, top_check, realloc_check,
379         memalign_check, __malloc_set_state): Likewise.
380         * malloc/mallocbug.c (main): Likewise.
381         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
382         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
383         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
384         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
385         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
386         * malloc/malloc.h: Likewise.
387         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
388         memalignhook, reallochook, mabort): Likewise.
389         * malloc/mcheck.h: Likewise.
390         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
391         mmap64, mremap, munmap, dest): Likewise.
392         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
393         * malloc/morecore.c (__default_morecore): Likewise.
394         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
395         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
396         _obstack_allocated_p, obstack_free, _obstack_memory_used,
397         print_and_abort): Likewise.
398         * malloc/obstack.h: Likewise.
399         * malloc/set-freeres.c (__libc_freeres): Likewise.
400         * malloc/tst-mallocstate.c (main): Likewise.
401         * malloc/tst-mtrace.c (main): Likewise.
402         * malloc/tst-realloc.c (do_test): Likewise.
404 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
406         [BZ #16366]
407         * nscd/netgroupcache.c (do_notfound): New function.
408         (addgetnetgrentX): Use it.
410         [BZ # 16365]
411         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
412         NSS_STATUS_NOTFOUND.
414 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
416         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
419 2014-01-01  Allan McRae  <allan@archlinux.org>
421         * scripts/update-copyrights: Update configure input file suffix.
423         * NEWS: Update copyright year.
424         * catgets/gencat.c: Likewise.
425         * csu/version.c: Likewise.
426         * debug/catchsegv.sh: Likewise.
427         * debug/pcprofiledump.c: Likewise.
428         * debug/xtrace.sh: Likewise.
429         * elf/ldconfig.c: Likewise.
430         * elf/ldd.bash.in: Likewise.
431         * elf/pldd.c: Likewise.
432         * elf/sotruss.ksh: Likewise.
433         * elf/sprof.c: Likewise.
434         * iconv/iconv_prog.c: Likewise.
435         * iconv/iconvconfig.c: Likewise.
436         * locale/programs/locale.c: Likewise.
437         * locale/programs/localedef.c: Likewise.
438         * login/programs/pt_chown.c: Likewise.
439         * malloc/memusage.sh: Likewise.
440         * malloc/memusagestat.c: Likewise.
441         * malloc/mtrace.pl: Likewise.
442         * manual/libc.texinfo: Likewise.
443         * nscd/nscd.c: Likewise.
444         * nss/getent.c: Likewise.
445         * nss/makedb.c: Likewise.
446         * posix/getconf.c: Likewise.
447         * scripts/test-installation.pl: Likewise.
449         * All files with FSF copyright notices: Update copyright dates
450         using scripts/update-copyrights.
451         * intl/plural.c: Regenerated.
452         * locale/programs/charmap-kw.h: Likewise.
453         * locale/programs/locfile-kw.h: Likewise.
455 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
457         * sysdeps/unix/sysv/linux/configure: Regenerated.
458         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
459         the linux/fanotify.h header.
460         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
461         HAVE_LINUX_FANOTIFY_H is defined.
463 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
465         * benchtests/cos-inputs: New inputs.
466         * benchtests/sin-inputs: Likewise.
468         * benchtests/atan-inputs: New inputs. Fix name of multiple
469         precision fallback inputs.
471         * benchtests/atanh-inputs: New inputs.
472         * benchtests/tanh-inputs: Likewise.
474         * benchtests/acosh-inputs: New inputs.
475         * benchtests/asinh-inputs: Likewise.
477         * benchtests/cosh-inputs: New inputs.
478         * benchtests/sinh-inputs: Likewise.
480         * benchtests/acos-inputs: Add more inputs.
481         * benchtests/asin-inputs: Likewise.
483 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
485         [BZ #16375]
486         * manual/arith.texi: Fix spelling.
487         * manual/charset.texi: Likewise.
488         * manual/errno.texi: Likewise.
489         * manual/filesys.texi: Likewise.
490         * manual/lang.texi: Likewise.
491         * manual/llio.texi: Likewise.
492         * manual/locale.texi: Likewise.
493         * manual/message.texi: Likewise.
494         * manual/resource.texi: Likewise.
495         * manual/search.texi: Likewise.
496         * manual/setjmp.texi: Likewise.
497         * manual/stdio.texi: Likewise.
498         * manual/string.texi: Likewise.
499         * manual/sysinfo.texi: Likewise.
500         * manual/time.texi: Likewise.
502 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
504         * po/sl.po: New file.
506 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
508         * .gitignore: Add core/.gdbinit/.gdb_history.
510 2013-12-27  Allan McRae  <allan@archlinux.org>
512         [BZ #16369]
513         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
514         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
516 2013-12-24  Brooks Moses  <bmoses@google.com>
518         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
519         all compilers that claim C++98 compliance, not just GCC.
520         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
521         Likewise.
523 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
525         * NEWS: Restore accidentally deleted bug-fix entries.
527 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
528             Ondřej Bílka  <neleai@seznam.cz>
530         [BZ #15073]
531         * malloc/malloc.c (_int_free): Perform sanity check only if we
532         have_lock.
534 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
536         [BZ #12986]
537         * manual/stdio.texi (String Input Conversions): Clarify that character
538         classes are not supported.
540 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
544 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
546         [BZ #16337]
547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
548         Calculate results for small negative arguments directly rather
549         than using reflection formula with special underflow handling.
551         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
552         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
553         sysdeps/unix/bsd/bsd4.4/syscalls.list.
554         (fchflags): Likewise.
555         (revoke): Likewise.
556         (setlogin): Likewise.
557         (sigaltstack): Likewise.
558         (wait4): Likewise.
559         (sigblock): Remove.
560         (sigsetmask): Likewise.
561         (wait3): Likewise.
562         (waitpid): Likewise.
563         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
564         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
565         file.
566         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
567         * sysdeps/unix/bsd/Makefile: ... here.
568         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
569         * sysdeps/unix/bsd/Versions: ... here.
570         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
571         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
572         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
573         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
574         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
575         * sysdeps/unix/bsd/sigblock.c: ... here.
576         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
577         * sysdeps/unix/bsd/sigsetmask.c: ... here.
578         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
579         * sysdeps/unix/bsd/sigvec.c: ... here.
580         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
581         * sysdeps/unix/bsd/tcdrain.c: ... here.
582         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
583         * sysdeps/unix/bsd/tcgetattr.c: ... here.
584         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
585         * sysdeps/unix/bsd/tcsetattr.c: ... here.
586         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
587         * sysdeps/unix/bsd/wait.c: ... here.
588         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
589         * sysdeps/unix/bsd/wait3.c: ... here.
590         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
591         * sysdeps/unix/bsd/waitpid.c: ... here.
593 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
595         [BZ #16356]
596         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
597         round-to-nearest for [!USE_AS_EXPM1L].
598         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
599         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
600         more tests of exp and exp10.  Expect some exp10 tests to miss
601         exceptions or fail in directed rounding modes.
602         * math/auto-libm-test-out: Regenerated.
603         * math/libm-test.inc (exp10_tonearest_test_data): New array.
604         (exp10_test_tonearest): New function.
605         (exp10_towardzero_test_data): New array.
606         (exp10_test_towardzero): New function.
607         (exp10_downward_test_data): New array.
608         (exp10_test_downward): New function.
609         (exp10_upward_test_data): New array.
610         (exp10_test_upward): New function.
611         (main): Call the new functions.
612         * sysdeps/i386/fpu/libm-test-ulps: Update.
613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
615 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
617         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
618         asinh, atan, atan2, atanh, cbrt, cos and cosh.
619         * math/auto-libm-test-out: Regenerated.
620         * math/libm-test.inc (acosh_test_data): Add more tests.
621         (atanh_test_data): Likewise.
622         (ceil_test_data): Likewise.
623         (copysign_test_data): Likewise.
624         * sysdeps/i386/fpu/libm-test-ulps: Update.
625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
627         * timezone/checktab.awk: Update from tzcode 2013i.
628         * timezone/private.h: Likewise.
629         * timezone/scheck.c: Likewise.
630         * timezone/tzfile.h: Likewise.
631         * timezone/tzselect.ksh: Likewise.
632         * timezone/zdump.c: Likewise.
633         * timezone/zic.c: Likewise.
635         * math/auto-libm-test-in: Add tests of cpow.
636         * math/auto-libm-test-out: Regenerated.
637         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
638         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
639         mpc_cc_c.
640         (func_calc_desc): Add mpc_cc_c union field.
641         (test_functions): Add cpow.
642         (special_fill_2pi): New function.
643         (special_real_inputs): Add 2pi.
644         (calc_generic_results): Handle mpc_cc_c.
645         * sysdeps/i386/fpu/libm-test-ulps: Update.
646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
648         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
649         csqrt, ctan and ctanh.
650         * math/auto-libm-test-out: Regenerated.
651         * math/libm-test.inc (TEST_COND_x86_64): New macro.
652         (TEST_COND_x86): Likewise.
653         (ccos_test_data): Use AUTO_TESTS_c_c.
654         (ccosh_test_data): Likewise.
655         (cexp_test_data): Likewise.
656         (clog_test_data): Likewise.
657         (csqrt_test_data): Likewise.
658         (ctan_test_data): Likewise.
659         (ctan_tonearest_test_data): Likewise.
660         (ctan_towardzero_test_data): Likewise.
661         (ctan_downward_test_data): Likewise.
662         (ctan_upward_test_data): Likewise.
663         (ctanh_test_data): Likewise.
664         (ctanh_tonearest_test_data): Likewise.
665         (ctanh_towardzero_test_data): Likewise.
666         (ctanh_downward_test_data): Likewise.
667         (ctanh_upward_test_data): Likewise.
668         * math/gen-auto-libm-tests.c (func_calc_method): Add value
669         mpc_c_c.
670         (func_calc_desc): Add mpc_c_c union field.
671         (FUNC_mpc_c_c): New macro.
672         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
673         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
674         ctanh.
675         (special_fill_min_subnorm_p120): New function.
676         (special_real_inputs): Add min_subnorm_p120.
677         (calc_generic_results): Handle mpc_c_c.
678         * sysdeps/i386/fpu/libm-test-ulps: Update.
679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
681 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
683         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
684         do_sin_slow): New functions.
685         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
686         cslow2, csloww1, csloww2): Use the new functions.
688         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
689         Use M to change sign of result instead of X.  Assume X is
690         positive.
691         (csloww1): Likewise.
692         (__sin): Adjust.
693         (__cos): Adjust.
695         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
696         arguments A and DA.
697         (__sin): Adjust.
698         (__cos): Likewise.
700         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
701         (__cos): Likewise.
702         (sloww1): Don't adjust sign of DX.
703         (csloww1): Likewise.
704         (sloww2): Use X directly and don't adjust sign of DX.
705         (csloww2): Likewise.
707 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
709         * math/auto-libm-test-in: Add tests of cabs and carg.
710         * math/auto-libm-test-out: Regenerated.
711         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
712         (carg_test_data): Likewise.
713         * math/gen-auto-libm-tests.c (func_calc_method): Add value
714         mpc_c_f.
715         (func_calc_desc): Add mpc_c_f union field.
716         (test_functions): Add cabs and carg.
717         (calc_generic_results): Handle mpc_c_f.
719         * sysdeps/powerpc/powerpc32/libgcc-compat.S
720         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
721         as a macro and a compat symbol.
722         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
723         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
724         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
725         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
726         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
727         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
728         not use .hidden.
729         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
730         Likewise.
731         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
732         Likewise.
733         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
734         Likewise.
735         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
736         Likewise.
737         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
738         Likewise.
739         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
740         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
741         from GLIBC_2.3.2.
743 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
747 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
749         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
750         (__signal_safe_memalign, __signal_safe_free): Use it.
751         (__signal_safe_realloc): Likewise.
753 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
755         * manual/texinfo.tex: Update to version 2013-11-26.10 with
756         trailing whitespace removed.
757         * scripts/config.guess: Update to version 2013-11-29.
758         * scripts/config.sub: Update to version 2013-10-01.
760         * math/auto-libm-test-in: Add tests of sincos.
761         * math/auto-libm-test-out: Regenerated.
762         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
763         * math/gen-auto-libm-tests.c (func_calc_method): Add value
764         mpfr_f_11.
765         (func_calc_desc): Add mpfr_f_11 union field.
766         (test_functions): Add sincos.
767         (calc_generic_results): Handle mpfr_f_11.
768         * sysdeps/i386/fpu/libm-test-ulps: Update.
769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
771 2013-12-19  Andreas Schwab  <schwab@suse.de>
773         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
774         CALL_MCOUNT.
775         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
776         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
777         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
779 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
781         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
782         * sysdeps/i386/fpu/libm-test-ulps: Update.
783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
785         [BZ #16293]
786         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
787         round-to-nearest mode when using frndint.
788         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
789         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
790         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
791         Likewise.
792         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
793         sinh test to fail.
794         * math/auto-libm-test-out: Regenerated.
795         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
796         (TEST_COND_x86): Likewise.
797         (expm1_tonearest_test_data): New array.
798         (expm1_test_tonearest): New function.
799         (expm1_towardzero_test_data): New array.
800         (expm1_test_towardzero): New function.
801         (expm1_downward_test_data): New array.
802         (expm1_test_downward): New function.
803         (expm1_upward_test_data): New array.
804         (expm1_test_upward): New function.
805         (main): Run the new test functions.
806         * sysdeps/i386/fpu/libm-test-ulps: Update.
807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
809         * include/features.h: Update comment documenting feature test
810         macros.  Mention _DEFAULT_SOURCE in comment.
811         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
812         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
813         _BSD_SOURCE and _SVID_SOURCE.
814         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
815         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
816         !_SVID_SOURCE]: Likewise.
817         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
818         (__USE_POSIX_IMPLICITLY): Define.
819         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
820         (_POSIX_SOURCE): Undefine and redefine.
821         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
822         (_POSIX_C_SOURCE): Likewise.
823         * manual/creature.texi (_DEFAULT_SOURCE): Document.
824         (Feature Test Macros): Update documentation of default features.
826 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
828         * benchtests/Makefile: Add bench-strtok.
829         * benchtests/bench-strtok.c: New file: strtok benchtest.
831 2013-12-19  Allan McRae  <allan@archlinux.org>
833         * manual/install.texi: Suppress menu for plain text output.
834         * INSTALL: Regenerated.
836 2013-12-18  Andrew Hunter  <ahh@google.com>
838         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
839         (__signal_safe_malloc, __signal_safe_free): Likewise.
840         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
841         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
842         (__signal_safe_memalign, __signal_safe_malloc): New function.
843         (__signal_safe_free, __signal_safe_realloc): Likewise.
844         (__signal_safe_calloc): Likewise.
845         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
846         functions.
847         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
849 2013-12-18  Andrew Hunter  <ahh@google.com>
851         * elf/Versions (ld): Add _dl_clear_dtv.
852         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
853         * elf/dl-tls.c (_dl_clear_dtv): New function.
854         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
856 2013-12-18  Andrew Hunter  <ahh@google.com>
858         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
859         (_dl_unmask_signals): Likewise.
860         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
861         (_dl_unmask_all_signals): Likewise.
862         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
863         (_dl_unmask_all_signals): Likewise.
864         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
865         (_dl_unmask_signals): Likewise.
867 2013-12-18  Brooks Moses  <bmoses@google.com>
869         [BZ #15846]
870         * misc/getauxval.c: Include errno.h.
871         (__getauxval): Set errno to ENOENT if the requested type is not
872         found.
873         * misc/sys/auxv.h (getauxval): Document that it may set errno;
874         don't declare with __attribute_const__.
875         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
876         * manual/startup.texi: Document that getauxval sets errno.
878 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
880         * math/auto-libm-test-in: Add tests of jn and yn.
881         * math/auto-libm-test-out: Regenerated.
882         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
883         (yn_test_data): Likewise.
884         * math/gen-auto-libm-tests.c (func_calc_method): Add value
885         mpfr_if_f.
886         (func_calc_desc): Add mpfr_if_f union field.
887         (FUNC_mpfr_if_f): New macro.
888         (test_functions): Add jn and yn.
889         (calc_generic_results): Assert type of second input for
890         mpfr_ff_f.  Handle mpfr_if_f.
891         (output_for_one_input_case): Disable all checking for arguments
892         fitting floating-point types in case of an integer argument.
893         * sysdeps/i386/fpu/libm-test-ulps: Update.
894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
897         Don't expect fegetround reference in libm.so.
899 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
901         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
902         $(config-cflags-nofma).
904 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
906         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
907         * math/auto-libm-test-out: Regenerated.
909         [BZ #16338]
910         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
911         to determine exponent and adjust argument to have exponent of -1.
912         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
913         log2.
914         * math/auto-libm-test-out: Regenerated.
915         * sysdeps/i386/fpu/libm-test-ulps: Update.
916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
918 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
920         * manual/probes.texi: Remove cases when per-thread arenas are
921         disabled.
923 2013-12-18  Andreas Schwab  <schwab@suse.de>
925         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
926         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
927         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
928         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
929         * sysdeps/i386/i686/multiarch/Makefile: Update.
930         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
932 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
934         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
935         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
937 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
939         Support TZ transition times < 00:00:00.
940         This is needed for version-3 tz-format files; it supports time
941         stamps past 2037 for America/Godthab (the only entry in the tz
942         database for which this change is relevant).
943         * manual/time.texi (TZ Variable): Document transition times
944         from -167:59:59 through -00:00:01.
945         * time/tzset.c (tz_rule): Time of day is now signed.
946         (__tzset_parse_tz): Parse negative time of day.
948         Document TZ transition times >= 25:00:00.
949         * manual/time.texi (TZ Variable): Document transition times from
950         25:00:00 through 167:59:59.  These are already supported, and this
951         support will help with version-3 tz-format files.
953         * manual/time.texi (TZ Variable): Modernize North America example
954         to reflect current (i.e., 2007-and-later) daylight saving rules.
956         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
958 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
960         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
961         * sysdeps/unix/bsd/bits/stat.h: Likewise.
962         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
963         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
964         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
965         * sysdeps/unix/bsd/bsdstat.h: Likewise.
966         * sysdeps/unix/bsd/clock.c: Likewise.
967         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
968         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
969         * sysdeps/unix/bsd/init-posix.c: Likewise.
970         * sysdeps/unix/bsd/poll.c: Likewise.
971         * sysdeps/unix/bsd/ptsname.c: Likewise.
972         * sysdeps/unix/bsd/seekdir.c: Likewise.
973         * sysdeps/unix/bsd/setegid.c: Likewise.
974         * sysdeps/unix/bsd/seteuid.c: Likewise.
975         * sysdeps/unix/bsd/setgid.c: Likewise.
976         * sysdeps/unix/bsd/setrgid.c: Likewise.
977         * sysdeps/unix/bsd/setruid.c: Likewise.
978         * sysdeps/unix/bsd/setsid.c: Likewise.
979         * sysdeps/unix/bsd/setuid.c: Likewise.
980         * sysdeps/unix/bsd/sigaction.c: Likewise.
981         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
982         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
983         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
984         * sysdeps/unix/bsd/telldir.c: Likewise.
985         * sysdeps/unix/bsd/times.c: Likewise.
986         * sysdeps/unix/bsd/usleep.c: Likewise.
988         * misc/Makefile (install-lib): Remove libbsd-compat.a.
989         ($(objpfx)libbsd-compat.a): Remove rule.
991         * include/features.h (__FAVOR_BSD): Do not define.
992         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
993         features conflicting with POSIX.
994         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
995         (_BSD_SOURCE): Remove description of not being a subset of other
996         feature test macros.
997         * manual/job.texi (getpgrp): Do not document BSD version.
998         (getpgid): Do not document by reference to BSD getpgrp.
999         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1000         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1001         * signal/signal.h [__FAVOR_BSD]: Likewise.
1002         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1003         instead of making contents conditional on [__FAVOR_BSD].
1004         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1006 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1010 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1012         [BZ #16314]
1013         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1014         values below 2**-450, not 2**-500.
1015         * math/auto-libm-test-in: Don't allow spurious underflow from
1016         hypot.
1017         * math/auto-libm-test-out: Regenerated.
1019         [BZ #16316]
1020         [BZ #16330]
1021         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1022         values of ha and hb and sort them after adjusting subnormal
1023         arguments.
1024         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1025         Likewise.
1026         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1027         values of ea and eb and sort them after adjusting subnormal
1028         arguments.
1029         * math/auto-libm-test-in: Do not expect some hypot tests of
1030         subnormals to fail.  Add more hypot tests.
1031         * math/auto-libm-test-out: Regenerated.
1033 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1035         [BZ #13304]
1036         * sysdeps/sh/s_fma.c: New file.
1037         * sysdeps/sh/s_fmaf.c: New file.
1038         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1039         version.
1040         * sysdeps/sh/Implies: Add sh/soft-fp.
1042 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1044         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1045         level of indirection to members `objname', `errstring', `malloced'.
1046         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1047         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1048         it as the __longjmp argument (just pass 1 instead).
1049         (_dl_catch_error): Initialize C with argument pointers and address of
1050         volatile local ERRCODE rather than copying values out of C at return.
1052 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1054         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1055         * math/auto-libm-test-out: Regenerated.
1056         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1057         (hypot_test_data): Likewise.
1058         (pow_test_data): Likewise.
1059         (pow_tonearest_test_data): Likewise.
1060         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1061         mpfr_ff_f.
1062         (func_calc_desc): Add mpfr_ff_f union field.
1063         (FUNC_mpfr_ff_f): New macro.
1064         (test_functions): Add atan2, hypot and pow.
1065         (special_fill_min): New function.
1066         (special_fill_minus_min): Likewise.
1067         (special_fill_min_subnorm): Likewise.
1068         (special_fill_minus_min_subnorm): Likewise.
1069         (special_real_inputs): Add min, -min, min_subnorm and
1070         -min_subnorm.
1071         (calc_generic_results): Handle mpfr_ff_f.
1072         * sysdeps/i386/fpu/libm-test-ulps: Update.
1073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1075 2013-12-16  Will Newton  <will.newton@linaro.org>
1077         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1078         (Aligned Memory Blocks): Add documentation for aligned_alloc
1079         and suggest it as an alternative to posix_memalign.
1080         (Hooks for Malloc): Document __memalign_hook is also called
1081         for aligned_alloc.  (Summary of Malloc): Add summary for
1082         aligned alloc.  Document __memalign_hook is also called
1083         for aligned_alloc.
1085 2013-12-16  Will Newton  <will.newton@linaro.org>
1087         * manual/memory.texi (Malloc Examples): Clarify default
1088         alignment documentation.  Suggest posix_memalign rather
1089         than memalign or valloc.
1090         (Aligned Memory Blocks): Remove suggestion to use memalign
1091         or valloc.  Remove obsolete comment about BSD.
1092         Document memalign errno values and mark the function obsolete.
1093         Document posix_memalign returned error codes.  Mark valloc
1094         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1095         called for posix_memalign and valloc.
1096         (Summary of Malloc): Add posix_memalign to function summary.
1097         __memalign_hook is also called for posix_memalign and valloc.
1099 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1101         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1102         TAYLOR_SIN.
1103         (__sin): Adjust.
1104         (__cos): Likewise.
1105         (sloww): Use mynumber union.  Expand ternary operator into
1106         if-else statements.
1107         (cslow): use mynumber union.
1109 2013-12-16  Allan McRae  <allan@archlinux.org>
1111         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1112         * configure: Regenerated.
1114         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1116         [BZ #14120]
1117         * configure.ac: Added --enable-maintainer-mode. Check for
1118         autoconf when enabled.
1119         * configure: Regenerated.
1121         * nscd/nscd.service: New file.
1122         * nscd/nscd.tmpfiles: New file.
1124 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1126         [BZ #12100]
1127         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1128         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1129         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1130         (strstr): Add __strstr_sse2_unaligned ifunc.
1131         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1132         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1133         (strcasestr): Remove __strcasestr_sse42 ifunc.
1134         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1138 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1140         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1141         * sysdeps/sh/bits/fenv.h: ... here.
1142         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1144 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1146         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1148 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1151         hypotf multiarch implementations.
1152         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1153         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1154         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1155         multiarch hypot for PPC64.
1156         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1157         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1158         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1159         multiarch hypotf for PPC64.
1161 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1163         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1164         modff multiarch implementations.
1165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1168         multiarch modf for PPC64.
1169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1172         multiarch modff for PPC64.
1174 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1177         and logl multiarch implementations.
1178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1181         multiarch logb for PPC64.
1182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1185         multiarch logb for PPC64.
1186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1189         multiarch logb for PPC64.
1191 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1194         isinff multiarch implementation.
1195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1196         file.
1197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1199         multiarch isinf for PPC64.
1200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1201         file.
1202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1203         multiarch isinff for PPC64.
1205 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1207         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1208         finitef multiarch implementation.
1209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1210         file.
1211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1213         multiarch finite for PPC64.
1214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1215         file.
1216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1217         multiarch finitef for PPC64.
1219 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1222         lrint multiarch implementation.
1223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1224         file.
1225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1227         multiarch llrint for PPC64.
1228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1229         multiarch lrint for PPC64.
1231 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1234         copysignf multiarch implementation.
1235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1236         file.
1237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1238         file.
1239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1240         multiarch copysign for PPC64.
1241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1242         multiarch copysignf for PPC64.
1244 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1247         multiarch implementation.
1248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1249         file.
1250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1251         file.
1252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1253         file.
1254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1255         file.
1256         multiarch llround for PPC64.
1257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1258         multiarch trunc for PPC64.
1259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1260         multiarch truncf for PPC64.
1262 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1265         multiarch implementation.
1266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1267         file.
1268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1269         file.
1270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1271         file.
1272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1273         file.
1274         multiarch llround for PPC64.
1275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1276         multiarch round for PPC64.
1277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1278         multiarch roundf for PPC64.
1280 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1283         multiarch implementation.
1284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1285         file.
1286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1287         file.
1288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1289         file.
1290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1291         file.
1292         multiarch llround for PPC64.
1293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1294         multiarch floor for PPC64.
1295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1296         multiarch floorf for PPC64.
1298 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1300         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1301         multiarch implementation.
1302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1303         file.
1304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1305         file.
1306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1307         file.
1308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1309         file.
1310         multiarch llround for PPC64.
1311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1312         multiarch ceil for PPC64.
1313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1314         multiarch ceilf for PPC64.
1316 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1319         multiarch implementation.
1320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1321         file.
1322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1323         file.
1324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1325         file.
1326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1327         multiarch llround for PPC64.
1328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1329         multiarch lround for PPC64.
1331 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1333         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1334         multiarch implementation.
1335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1338         file.
1339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1342         multiarch isnan for PPC64.
1343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1344         multiarch isnanf for PPC64.
1346 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1348         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1349         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1350         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1351         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1352         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1355 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1357         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1358         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1359         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1362 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1365         multiarch implementations.
1366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1367         (__libc_ifunc_impl_list): Likewise.
1368         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1369         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1370         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1371         multiarch stpcpy for PPC64.
1373 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1376         multiarch implementations.
1377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1378         (__libc_ifunc_impl_list): Likewise.
1379         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1380         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1381         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1382         multiarch strcpy for PPC64.
1384 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1386         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1387         redefine function name.
1388         (_wordcopy_fwd_dest_aligned): Likewise.
1389         (_wordcopy_bwd_aligned): Likewise.
1390         (_wordcopy_bwd_dest_aligned): Likewise.
1391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1392         multiarch implementations.
1393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1394         (__libc_ifunc_impl_list): Likewise.
1395         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1396         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1397         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1398         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1399         multiarch wcscpy for PPC64.
1401 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1404         multiarch implementations.
1405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1406         (__libc_ifunc_impl_list): Likewise.
1407         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1408         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1409         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1410         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1411         multiarch wcscpy for PPC64.
1413 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1416         multiarch implementations.
1417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1418         (__libc_ifunc_impl_list): Likewise.
1419         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1420         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1421         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1422         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1423         multiarch wcsrchr for PPC64.
1425 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1428         multiarch implementations.
1429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1430         (__libc_ifunc_impl_list): Likewise.
1431         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1432         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1433         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1434         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1435         multiarch wcschr for PPC64.
1437 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1440         multiarch implementations.
1441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1442         (__libc_ifunc_impl_list): Likewise.
1443         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1444         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1445         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1446         multiarch strchrnul for PPC64.
1448 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1451         implementations.
1452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1453         (__libc_ifunc_impl_list): Likewise.
1454         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1455         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1456         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1457         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1458         strchr for PPC64.
1460 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1463         implementations.
1464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1465         (__libc_ifunc_impl_list): Likewise.
1466         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1467         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1468         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1469         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1470         strncmp for PPC64.
1472 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1475         multiarch implementations.
1476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1477         (__libc_ifunc_impl_list): Likewise.
1478         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1479         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1480         strncasecmp for PPC64.
1481         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1482         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1483         multiarch strncasecmp_l for PPC64.
1485 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1488         multiarch implementations.
1489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1490         (__libc_ifunc_impl_list): Likewise.
1491         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1492         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1493         multiarch strcasecmp for PPC64.
1494         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1495         file.
1496         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1497         multiarch strcasecmp_l for PPC64.
1499 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1502         implementations.
1503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1504         (__libc_ifunc_impl_list): Likewise.
1505         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1506         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1507         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1508         strnlen for PPC64.
1510 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1513         implementations.
1514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1515         (__libc_ifunc_impl_list): Likewise.
1516         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1517         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1518         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1519         strlen for PPC64.
1521 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1524         implementations.
1525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1526         (__libc_ifunc_impl_list): Likewise.
1527         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1528         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1529         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1530         rawmemrchr for PPC64.
1532 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1535         implementation.
1536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1537         (__libc_ifunc_impl_list): Likewise.
1538         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1539         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1540         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1541         memrchr for PPC64.
1543 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1546         implementation.
1547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1548         (__libc_ifunc_impl_list): Likewise.
1549         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1550         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1551         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1552         memchr for PPC64.
1554 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1557         implementation.
1558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1559         (__libc_ifunc_impl_list): Likewise.
1560         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1561         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1562         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1563         mempcpy for PPC64.
1565 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1567         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1568         avoid cretion of __bzero symbol.
1569         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1570         Likewise.
1571         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1572         Likewise.
1573         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1574         Likewise.
1575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1576         multiarch implementations.
1577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1578         (__libc_ifunc_impl_list): Likewise.
1579         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1580         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1581         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1582         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1583         bzero for PPC32.
1584         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1585         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1586         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1587         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1588         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1589         memset for PPC64.
1590         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1592 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1594         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1596         implementations.
1597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1598         (__libc_ifunc_impl_list): Likewise.
1599         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1600         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1601         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1602         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1603         memcmp for PPC64.
1605 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1608         multiarch for POWER/PPC64.
1609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1610         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1611         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1612         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1613         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1614         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1615         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1616         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1617         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1618         memcpy for PPC64.
1620 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1622         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1623         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1624         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1625         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1626         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1627         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1628         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1629         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1630         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1631         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1632         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1633         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1634         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1635         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1636         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1645 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1647         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1649 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1651         * benchtests/Makefile (bench): Add exp2 and log2.
1652         (LDLIBS-bench-exp2): Add -lm.
1653         (LDLIBS-bench-log2): Likewise.
1654         * benchtests/exp2-inputs: New inputs file.
1655         * benchtests/log2-inputs: New inputs file.
1656         * benchtests/log-inputs: Add new inputs.
1657         * benchtests/tan-inputs: Likewise.
1659 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1661         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1662         definition...
1663         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1664         csloww1, csloww2): ... from here.
1666         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1667         instead of structures.
1668         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1669         (POLYNOMIAL): Likewise.
1670         (TAYLOR_SLOW): Likewise.
1671         (__sin): Likewise.
1672         (__cos): Likewise.
1673         (slow1): Likewise.
1674         (slow2): Likewise.
1675         (sloww): Likewise.
1676         (sloww1); Likewise.
1677         (sloww2): Likewise.
1678         (bsloww1): Likewise.
1679         (bsloww2): Likewise.
1680         (cslow2): Likewise.
1681         (csloww): Likewise.
1682         (csloww1): Likewise.
1683         (csloww2): Likewise.
1685 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1687         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1688         (__malloc_assert, __libc_realloc, __libc_calloc,
1689         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1690         memcpy and memset.
1691         * malloc/hooks.c (realloc_check): Likewise.
1693 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1695         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1696         * malloc/arena.c: Remove PER_THREAD conditional.
1697         [!PER_THREAD]: Remove code.
1698         (ptmalloc_unlock_all2): Likewise.
1699         (ptmalloc_init): Likewise.
1700         (_int_new_arena): Likewise.
1701         (arena_get2): Likewise.
1702         * malloc/hooks.c (__malloc_get_state): Likewise.
1703         (__malloc_set_state): Likewise.
1704         * malloc/malloc.c: Likewise.
1705         (struct malloc_state): Likewise.
1706         (struct malloc_par): Likewise.
1707         (__libc_realloc): Likewise.
1708         (__libc_mallopt): Likewise.
1710 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1712         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1714 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1716         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1717         macro to a function.  Check for zero perturb_byte.
1718         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1720 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1722         * malloc/malloc.c: (force_reg): Remove.
1723         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1724         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1725         force_reg by atomic_forced_read.
1726         * malloc/arena.c (ptmalloc_init): Likewise.
1727         * malloc/hooks.c (top_check): Likewise.
1729 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1733 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1737 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1739         * math/auto-libm-test-in: Add tests of lgamma.
1740         * math/auto-libm-test-out: Regenerated.
1741         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1742         (M_LOG_2_SQRT_PIl): Likewise.
1743         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1744         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1745         mpfr_f_f1.
1746         (func_calc_desc): Add mpfr_f_f1 union field.
1747         (ARGS1): New macro.
1748         (ARGS2): Likewise.
1749         (ARGS3): Likewise.
1750         (ARGS4): Likewise.
1751         (RET1): Likewise.
1752         (RET2): Likewise.
1753         (CALC): Likewise.
1754         (FUNC): Likewise.
1755         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1756         (test_functions): Add lgamma.
1757         (calc_generic_results): Handle mpfr_f_f1.
1758         * sysdeps/i386/fpu/libm-test-ulps: Update.
1759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1761 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1763         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1764         __mpn_add_n for PowerPC64/POWER7.
1765         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1766         __mpn_sub_n for PowerPC64/POWER7.
1768 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1770         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1771         __mpn_addmul_1 for PowerPC64.
1772         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1773         __mpn_submul_1 for PowerPC64.
1774         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1775         for PowerPC64.
1776         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1777         for PowerPC64.
1779 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1781         [BZ #15089]
1782         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1784 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1786         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1788 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1790         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1791         add multiarch folders.
1792         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1793         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1794         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1795         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1796         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1797         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1798         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1799         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1800         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1801         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1802         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1810 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1813         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1815         New file.
1816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1817         New file.
1818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1819         multiarch __ieee754_hypot for PowerPC32.
1820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1821         New file.
1822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1823         New file.
1824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1825         multiarch __ieee754_hypotf for PowerPC32.
1827 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1829         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1830         long_double_symbol only if __logbl is defined.
1831         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1832         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1833         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1834         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1835         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1836         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1837         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1838         path for implementation.
1839         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1840         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1842         logb, and logbl multiarch implementations for PowerPC32.
1843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1844         file.
1845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1846         file.
1847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1848         multiarch logb for PowerPC32.
1849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1850         file.
1851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1852         file.
1853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1854         multiarch logbf for PowerPC32.
1855         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1857         file.
1858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1859         multiarch logbl implementation for PowerPC32.
1861 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1864         and modff multiarch implementations.
1865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1866         New file.
1867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1868         New file.
1869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1870         multiarch modf for PowerPC32.
1871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1872         New file.
1873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1874         New file.
1875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1876         multiarch modff for PowerPC32.
1878 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1881         and lrintf multiarch implementations.
1882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1883         New file.
1884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1885         New file.
1886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1887         multiarch lrint for PowerPC32.
1888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1889         file: multiarch lrintf for PowerPC32.
1891 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1894         and lroundf multiarch implementations.
1895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1896         New file.
1897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1898         New file.
1899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1900         New file.
1901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1902         multiarch lround for PowerPC32.
1903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1904         file: multiarch lroundf for PowerPC32.
1906 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1909         copysign and copysignf multiarch implementations.
1910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1911         New file.
1912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1913         New file.
1914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1915         file: multiarch copysign for PowerPC32.
1916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1917         file: multiarch copysignf for PowerPC32.
1919 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1922         and truncf multiarch implementations.
1923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1924         New file.
1925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1926         file.
1927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1928         multiarch trunc for PowerPC32.
1929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1930         New file.
1931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1932         New file.
1933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1934         multiarch truncf for PowerPC32.
1936 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1939         and roundf multiarch implementations.
1940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1941         New file.
1942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1943         file.
1944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1945         multiarch round for PowerPC32.
1946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1947         New file.
1948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1949         New file.
1950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1951         multiarch roundf for PowerPC32.
1953 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1956         and floorf multiarch implementations.
1957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1958         New file.
1959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1960         file.
1961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1962         multiarch floor for PowerPC32.
1963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1964         New file.
1965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1966         New file.
1967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1968         multiarch floorf for PowerPC32.
1970 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1973         and ceilf multiarch implementations.
1974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1975         New file.
1976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1977         file.
1978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1979         multiarch ceil for PowerPC32.
1980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1981         New file.
1982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1983         file.
1984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1985         multiarch ceilf for PowerPC32.
1987 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1989         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1990         is defined.
1991         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1992         FINITEF is defined.
1993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1994         and finitef multiarch implementations.
1995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1996         New file.
1997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1998         file.
1999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2000         multiarch finite for PowerPC32.
2001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2002         New file.
2003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2004         file: multiarch finitef for PowerPC32.
2006 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2009         and isinff multiarch implementations.
2010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2011         file.
2012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2013         file.
2014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2015         multiarch isinf for PowerPC32.
2016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2017         New file.
2018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2019         multiarch isinff for PowerPC32.
2021 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2023         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2024         alias when __isnan is defined.
2025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2026         and isnanf multiarch implementations.
2027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2028         file.
2029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2030         file.
2031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2032         file.
2033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2034         file.
2035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2036         multiarch isnan for PowerPC32.
2037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2038         New file.
2039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2040         New file.
2041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2042         multiarch isnanf for PowerPC32.
2044 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2047         and sqrtf multiarch implementations.
2048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2049         file.
2050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2051         file.
2052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2053         multiarch sqrt for PowerPC32.
2054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2055         file.
2056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2057         file.
2058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2059         multiarch sqrtf for PowerPC32.
2061 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2064         and llroundf multiarch implementations.
2065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2066         New file.
2067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2068         New file.
2069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2070         New file.
2071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2072         file: multiarch llround for PowerPC32.
2073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2074         file: multiarch llroundf for PowerPC32.
2076 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2079         multiarch PowerPC32 fpu implementations.
2080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2081         New file.
2082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2083         New file.
2084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2085         multiarch llrint for PowerPC32.
2086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2087         New file.
2088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2089         New file.
2090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2091         file.
2093 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2097 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2099         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2100         file.
2101         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2102         file.
2103         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2104         file.
2105         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2106         multiarch wordcopy for PPC32.
2107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2108         wordcopy objects.
2109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2110         (__libc_ifunc_impl_list): Likewise.
2111         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2112         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2113         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2114         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2115         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2116         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2118 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2120         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2122         file.
2123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2124         file.
2125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2126         file.
2127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2128         multiarch wcscpy for PPC32.
2129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2130         multiarch objects.
2131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2132         (__libc_ifunc_impl_list): Likewise.
2133         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2134         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2135         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2136         sysdeps/powerpc/power6/wcscpy.c.
2138 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2140         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2142         file.
2143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2144         file.
2145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2146         file.
2147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2148         multiarch wcsrchr for PPC32.
2149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2150         multiarch objects.
2151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2152         (__libc_ifunc_impl_list): Likewise.
2153         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2154         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2155         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2156         sysdeps/powerpc/power6/wcsrchr.c.
2158 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2161         file.
2162         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2163         file.
2164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2165         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2166         multiarch wcschr for PPc32.
2167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2168         multiarch objects.
2169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2170         (__libc_ifunc_impl_list): Likewise.
2171         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2172         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2173         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2174         sysdeps/powerpc/power6/wcschr.c.
2176 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2178         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2179         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2180         file.
2181         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2182         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2183         file: multiarch strchr for PPC32.
2184         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2185         multiarch objects.
2186         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2187         (__libc_ifunc_impl_list): Likewise.
2189 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2191         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2192         name.
2193         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2194         file.
2195         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2196         file.
2197         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2198         multiarch strchrnul for PPC32.
2199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2200         multiarch objects.
2201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2202         (__libc_ifunc_impl_list): Likewise.
2204 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2206         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2207         file.
2208         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2209         multiarch strncasecmp for PPC32.
2210         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2211         file.
2212         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2213         multiarch strncasecmp_l for PPC32.
2214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2215         strncasecmp multiarch objects.
2216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2217         (__libc_ifunc_impl_list): Likewise.
2219 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2221         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2222         file.
2223         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2224         multiarch strncasecmp for PPC32.
2225         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2226         New file.
2227         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2228         multiarch strcasecmp_l for PPC32.
2229         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2230         multiarch objects.
2231         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2232         (__libc_ifunc_impl_list): Likewise.
2234 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2236         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2237         file.
2238         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2239         file.
2240         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2241         multiarch strncmp for PPC32.
2242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2243         multiarch objects.
2244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2245         (__libc_ifunc_impl_list): Likewise.
2247 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2249         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2250         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2251         file.
2252         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2253         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2255         multiarch objects.
2256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2257         (__libc_ifunc_impl_list): Likewise.
2259 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2261         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2262         file.
2263         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2264         file.
2265         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2267         multiarch objects.
2268         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2269         (__libc_ifunc_impl_list): Likewise.
2271 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2273         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2274         file.
2275         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2276         file.
2277         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2278         multiarch rawmemchr for PPC32.
2279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2280         multiarch objects.
2281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2282         (__libc_ifunc_impl_list): Likewise.
2284 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2286         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2287         file.
2288         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2289         file.
2290         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2291         file: memrchr multiarch for PPC32.
2292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2293         multiarch objects.
2294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2295         (__libc_ifunc_impl_list): Likewise.
2297 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2299         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2300         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2301         file.
2302         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2303         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2304         multiarch memchr for PPC32.
2305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2306         multiarch objects.
2307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2308         (__libc_ifunc_impl_list): Likewise.
2310 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2312         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2313         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2314         file.
2315         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2316         file.
2317         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2318         file: multiarch mempcpy for PPC32.
2319         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2320         multiarch objects.
2321         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2322         (__libc_ifunc_impl_list): Likewise.
2324 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2326         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2327         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2328         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2329         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2330         multiarch bzero for PPC32.
2331         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2332         file.
2333         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2334         file.
2335         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2336         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2337         file: multiarch memset for PPC32.
2338         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2340         memset multiarch objects.
2341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2342         (__libc_ifunc_impl_list): Likewise.
2344 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2346         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2347         file.
2348         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2349         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2350         memcmp for PPC32.
2351         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2352         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2353         multiarch objects.
2354         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2355         (__libc_ifunc_impl_list): Likewise.
2357 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2359         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2360         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2361         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2362         file.
2363         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2364         file.
2365         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2366         file.
2367         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2368         multiarch memcpy for PPC32.
2369         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2370         multiarch objects.
2371         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2372         (__libc_ifunc_impl_list): Likewise.
2374 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2377         support multiarch for POWER/PPC32.
2378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2379         Likewise.
2380         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2382         Implies file to make multiarch folder appers before the fpu and
2383         default folder for power4 configuration.
2385 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2387         * scripts/bench.pl: Append volatile keyword to type.
2389 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2391         * sysdeps/sh/sotruss-lib.c: New file.
2392         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2394 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2398 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2400         [BZ #6810]
2401         * math/w_tgamma.c: Include <errno.h>.
2402         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2403         * math/w_tgammaf.c: Include <errno.h>.
2404         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2405         * math/w_tgammal.c: Include <errno.h>.
2406         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2407         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2408         underflow.  Add more tgamma tests.
2409         * math/auto-libm-test-out: Regenerated.
2410         * sysdeps/i386/fpu/libm-test-ulps: Update.
2411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2413         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2414         sin, sinh, tan, tanh, tgamma, y0 and y1.
2415         * math/auto-libm-test-out: Regenerated.
2416         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2417         (TEST_COND_x86): Likewise.
2418         (M_E2l): Remove macro.
2419         (M_E3l): Likewise.
2420         (M_2_SQRT_PIl): Likewise.
2421         (M_SQRT_PIl): Likewise.
2422         (M_1_DIV_El): Likewise.
2423         (log_test_data): Use AUTO_TESTS_f_f.
2424         (log10_test_data): Likewise.
2425         (log1p_test_data): Likewise.
2426         (log2_test_data): Likewise.
2427         (sin_test_data): Likewise.
2428         (sin_tonearest_test_data): Likewise.
2429         (sin_towardzero_test_data): Likewise.
2430         (sin_downward_test_data): Likewise.
2431         (sin_upward_test_data): Likewise.
2432         (sinh_test_data): Likewise.
2433         (sinh_tonearest_test_data): Likewise.
2434         (sinh_towardzero_test_data): Likewise.
2435         (sinh_downward_test_data): Likewise.
2436         (sinh_upward_test_data): Likewise.
2437         (tan_test_data): Likewise.
2438         (tan_tonearest_test_data): Likewise.
2439         (tan_towardzero_test_data): Likewise.
2440         (tan_downward_test_data): Likewise.
2441         (tan_upward_test_data): Likewise.
2442         (tanh_test_data): Likewise.
2443         (tgamma_test_data): Likewise.
2444         (y0_test_data): Likewise.
2445         (y1_test_data): Likewise.
2446         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2447         (special_real_inputs): Add pi/4.
2448         * sysdeps/i386/fpu/libm-test-ulps: Update.
2449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2451 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2453         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2454         "longjmp_target" static probes.
2455         (__longjmp): Rename to __longjmp_symbol.
2456         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2457         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2458         on which longjmp to generate.
2459         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2460         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2461         probe.
2462         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2463         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2464         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2465         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2466         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2467         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2469         __longjmp_symbol based on which __longjmp to generate.
2470         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2471         probe.
2472         (setjmp): Rename to setjmp_symbol.
2473         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2474         (_setjmp): Rename to _setjmp_symbol.
2475         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2476         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2477         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2478         which setjmp to generate.
2479         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2480         "longjmp_target" static probes.
2482 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2484         * benchtests/README: Add note about output arguments.
2485         * benchtests/bench-sincos.c: Remove file.
2486         * benchtests/sincos-inputs: New file.
2487         * scripts/bench.pl: Identify output arguments and define
2488         static variables for them.
2490         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2492         [BZ #15941]
2493         * Makefile (INSTALL): Add install-plain.texi as the primary
2494         dependency.
2495         * manual/install-plain.texi: New file.
2496         * manual/install.texi: Include node directive only for
2497         non-plaintext output.
2499 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2501         * stdlib/longlong.h: Update from GCC.
2503         [BZ #6807]
2504         [BZ #15901]
2505         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2506         * math/w_j0f.c (y0f): Likewise.
2507         * math/w_j0l.c (__y0l): Likewise.
2508         * math/w_j1.c (y1): Likewise.
2509         * math/w_j1f.c (y1f): Likewise.
2510         * math/w_j1l.c (__y1l): Likewise
2511         * math/w_jn.c (yn): Likewise.
2512         * math/w_jnf.c (ynf): Likewise.
2513         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2514         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2515         value for Bessel function domain errors outside _SVID_ mode.
2516         Adjust sign of return value for yn (negative integer, 0).
2517         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2518         by zero in return for negative x and set sign appropriately for
2519         negative n.
2520         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2521         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2522         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2523         expectations in error cases.
2524         (y1_test_data): Likewise.
2525         (yn_test_data): Likewise.
2526         * sysdeps/i386/fpu/libm-test-ulps: Update.
2527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2529 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2531         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2532         "64" to "64-v1".  Add "64-v2".
2533         (abi-64-options): Rename to ...
2534         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2535         (abi-64-condition): Rename to ...
2536         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2537         (abi-64-ld-soname): Rename to ...
2538         (abi-64-v1-ld-soname): ... this.
2539         (abi-64-v2-options): Define.
2540         (abi-64-v2-condition): Likewise.
2541         (abi-64-v2-ld-soname): Likewise.
2542         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2543         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2548 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2549             Alan Modra  <amodra@gmail.com>
2551         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2552         New versions for use with the ELFv2 ABI.
2553         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2554         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2555         declaration.
2556         (struct La_ppc64v2_retval): Likewise.
2557         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2558         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2559         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2560         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2561         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2562         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2563         Do not save or restore CR.
2564         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2565         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2566         return values for ELFv2 ABI.  Fix location of FPR return registers.
2567         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2568         updated values for _CALL_ELF == 2.
2569         (La_regs, La_retval, int_retval): Likewise.
2571 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2573         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2574         (FRAME_MIN_SIZE_PARM): Likewise.
2575         (FRAME_BACKCHAIN): Likewise.
2576         (FRAME_CR_SAVE): Likewise.
2577         (FRAME_LR_SAVE): Likewise.
2578         (FRAME_TOC_SAVE): Likewise.
2579         (FRAME_PARM_SAVE): Likewise.
2580         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2581         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2582         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2583         (call_mcount_parm_offset): New macro.
2584         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2585         (PROF): Use symbolic stack frame offsets.
2586         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2587         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2588         Redefine in terms of FRAME_MIN_SIZE.
2589         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2590         (_dl_profile_resolve): Likewise.  Update comment.
2591         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2592         symbols stack frame offsets.
2593         (__sigsetjmp): Likewise.
2594         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2595         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2596         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2597         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2600         (FRAME_BACKCHAIN): Remove.
2601         (FRAME_CR_SAVE): Likewise.
2602         (FRAME_LR_SAVE): Likewise.
2603         (FRAME_COMPILER_DW): Likewise.
2604         (FRAME_LINKER_DW): Likewise.
2605         (FRAME_TOC_SAVE): Likewise.
2606         (FRAME_PARM_SAVE): Likewise.
2607         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2608         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2609         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2611         (CHECK_SP): Use symbolic stack frame offsets.
2612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2613         zone" instead of caller's parameter save area for temp storage.
2614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2615         Likewise.  Also, use symbolic stack frame offsets.
2616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2617         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2618         our own stack frame instead of the caller's.
2619         (__socket): Use symbolic stack frame offsets.
2621 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2622             Alan Modra  <amodra@gmail.com>
2624         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2625         Define.
2626         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2627         PPC64_LOCAL_ENTRY_OFFSET): Define.
2628         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2629         New function.
2630         (elf_machine_fixup_plt): Call it.
2631         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2632         reloc arguments.
2633         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2634         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2635         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2636         r2 before calling target.
2638 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2639             Alan Modra  <amodra@gmail.com>
2641         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2642         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2643         versions of macros to support ELFv2 ABI.
2644         (LOCALENTRY): New macro.
2645         (ENTRY, EALIGN): Use it.
2646         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2647         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2648         fall through into ENTRY entry point.
2649         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2650         Only define if _CALL_ELF != 2.
2652         (elf_machine_matches_host): Verify ABI version matches.
2653         (RTLD_START): Use LOCALENTRY.
2654         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2655         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2656         (PLT_ENTRY_WORDS): New macro.
2657         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2658         (elf_machine_runtime_setup): Support ELFv2 ABI.
2659         (elf_machine_fixup_plt): Likewise.
2660         (elf_machine_plt_conflict): Likewise.
2661         (resolve_ifunc): Likewise.
2662         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2663         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2664         Likewise.
2665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2666         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2668         (makecontext): Support ELFv2 ABI.
2669         * elf/elf.h (EF_PPC64_ABI): Define.
2671 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2673         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2674         New assembler macro.
2675         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2676         [ASSEMBLER] (ENTRY): ... but instead here ...
2677         [ASSEMBLER] (EALIGN): ... and here.
2678         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2679         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2680         [!ASSEMBLER] (ENTRY_2): Use it.
2681         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2682         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2683         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2684         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2685         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2687         Use PPC64_LOAD_FUNCPTR.
2689 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2691         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2693 2013-12-04  Alan Modra  <amodra@gmail.com>
2695         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2696         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2697         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2698         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2700         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2701         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2702         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2703         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2704         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2705         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2707 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2710         (__makecontext): Fix incorrect CFI when backtracing out of
2711         context created via makecontext.
2712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2713         (__setcontext): Fix incorrect CFI during switch to new context.
2714         (__novec_setcontext): Likewise.
2716 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2718         [BZ #4772]
2719         * time/strptime_l.c (__strptime_internal): Allow modifiers
2720         in strptime.
2721         * time/tst-strptime.c (day_tests): Add testcase.
2724 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2726         * scripts/bench.pl: Skip over blank lines.
2728 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2730         [BZ #926]
2731         * manual/time.texi (Calendar Time): Clarify what timezone functions
2732         use.
2734 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2738 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2740         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2741         implementation.
2742         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2743         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2744         * debug/memset_chk.c (__memset_chk): Likewise.
2745         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2746         * debug/strncpy_chk.c: Likewise.
2748 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2750         [BZ #15268]
2751         [BZ #15425]
2752         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2753         (__ieee754_exp): For possibly underflowing results, check size of
2754         result and force underflow exception if required.
2755         * math/auto-libm-test-in: Add more tests of exp.
2756         * math/auto-libm-test-out: Regenerated.
2757         * sysdeps/i386/fpu/libm-test-ulps: Update.
2758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2760         [BZ #16283]
2761         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2762         * math/w_exp2f.c (__exp2f): Likewise.
2763         * math/w_exp2l.c (__exp2l): Likewise.
2764         * math/auto-libm-test-in: Do not allow missing errno on exp2
2765         underflow.
2766         * math/auto-libm-test-out: Regenerated.
2768 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2770         [BZ #16274]
2771         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2772         handle filename validation.
2773         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2774         (do_open): Delete.
2776 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2778         [BZ #6786]
2779         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2780         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2781         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2782         <float.h>.
2783         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2784         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2785         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2786         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2787         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2788         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2789         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2790         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2791         Add more erfc tests.
2792         * math/auto-libm-test-out: Regenerated.
2793         * sysdeps/i386/fpu/libm-test-ulps: Update.
2794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2796         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2797         exp2, expm1, j0 and j1.
2798         * math/auto-libm-test-out: Regenerated.
2799         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2800         (erfc_test_data): Likewise.
2801         (exp_test_data): Likewise.
2802         (exp_tonearest_test_data): Likewise.
2803         (exp_towardzero_test_data): Likewise.
2804         (exp_downward_test_data): Likewise.
2805         (exp_upward_test_data): Likewise.
2806         (exp10_test_data): Likewise.
2807         (exp2_test_data): Likewise.
2808         (expm1_test_data): Likewise.
2809         (j0_test_data): Likewise.
2810         (j1_test_data): Likewise.
2811         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2812         (input_flag_type): Add flag_xfail_rounding.
2813         (input_flags): Add xfail-rounding.
2814         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2815         (output_for_one_input_case): Handle flag_xfail_rounding.
2816         * sysdeps/i386/fpu/libm-test-ulps: Update.
2817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2819 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2821         [BZ #16289]
2822         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2823         division by 0.
2825 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2827         [BZ #16195]
2828         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2829         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2830         (STAP_PROBE0): New macro.
2831         (STAP_PROBE1): Likewise.
2832         (STAP_PROBE2): Likewise.
2833         (STAP_PROBE3): Likewise.
2834         (STAP_PROBE4): Likewise.
2836 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2838         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2840 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2842         * benchtests/Makefile (bench): Add sqrt.
2843         (LDLIBS-bench-sqrt): New.
2844         * benchtests/sqrt-input: New.
2846 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2848         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2849         (GAIH_EAI): Likewise.
2850         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2851         (gaih_inet): Likewise.
2852         (getaddrinfo): Don't use GAIH_EAI.
2854         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2855         (struct gaih): Remove definition.
2857 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2859         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2860         Use HERRNOP directly.
2862 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2866 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2868         * math/gen-auto-libm-tests.c (test_functions): Add more
2869         single-argument functions.
2870         (special_fill_pi_2): New function.
2871         (special_fill_minus_pi_2): Likewise.
2872         (special_fill_pi_6): Likewise.
2873         (special_fill_minus_pi_6): Likewise.
2874         (special_fill_pi_3): Likewise.
2875         (special_fill_2pi_3): Likewise.
2876         (special_fill_e): Likewise.
2877         (special_fill_1_e): Likewise.
2878         (special_fill_e_minus_1): Likewise.
2879         (special_real_inputs): Add more special inputs.
2880         (output_for_one_input_case): Do not require ERANGE on underflow to
2881         zero if round-to-nearest result does not underflow to zero, unless
2882         exact results required.
2883         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2884         atan, atanh, cbrt, cos and cosh.
2885         * math/auto-libm-test-out: Regenerated.
2886         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2887         (acos_tonearest_test_data): Likewise.
2888         (acos_towardzero_test_data): Likewise.
2889         (acos_downward_test_data): Likewise.
2890         (acos_upward_test_data): Likewise.
2891         (acosh_test_data): Likewise.
2892         (asin_test_data): Likewise.
2893         (asin_tonearest_test_data): Likewise.
2894         (asin_towardzero_test_data): Likewise.
2895         (asin_upward_test_data): Likewise.
2896         (asinh_test_data): Likewise.
2897         (atan_test_data): Likewise.
2898         (atanh_test_data): Likewise.
2899         (cbrt_test_data): Likewise.
2900         (cos_test_data): Likewise.
2901         (cos_tonearest_test_data): Likewise.
2902         (cos_towardzero_test_data): Likewise.
2903         (cos_downward_test_data): Likewise.
2904         (cos_upward_test_data): Likewise.
2905         (cosh_test_data): Likewise.
2906         (cosh_tonearest_test_data): Likewise.
2907         (cosh_towardzero_test_data): Likewise.
2908         (cosh_downward_test_data): Likewise.
2909         (cosh_upward_test_data): Likewise.
2910         * sysdeps/i386/fpu/libm-test-ulps: Update.
2911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2913 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2915         [BZ #6787]
2916         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2917         * math/w_exp10f.c (__exp10f): Likewise.
2918         * math/w_exp10l.c (__exp10l): Likewise.
2919         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2920         errno settings in existing tests.
2922         [BZ #14032]
2923         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2924         precision control set to double precision.
2925         * sysdeps/i386/fpu/w_sqrt.c: New file.
2926         * math/auto-libm-test-in: Add more tests.
2927         * math/auto-libm-test-out: Update.
2929         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2930         (sqrt_test_tonearest): New function.
2931         (sqrt_towardzero_test_data): New variable.
2932         (sqrt_test_towardzero): New function.
2933         (sqrt_downward_test_data): New variable.
2934         (sqrt_test_downward): New function.
2935         (sqrt_upward_test_data): New variable.
2936         (sqrt_test_upward): New function.
2937         (main): Call the new functions.
2939         * math/gen-auto-libm-tests.c: New file.
2940         * math/auto-libm-test-in: Likewise.
2941         * math/auto-libm-test-out: New generated file.
2942         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2943         variables.
2944         (%beautify): Add generated representations of zero.
2945         (top level): Set $auto_input and call parse_auto_input.
2946         (beautify): Remove trailing "f" from hex float constants.
2947         (parse_args): Handle XFAIL_TEST.
2948         (convert_condition): New function.
2949         (or_value): Likewise.
2950         (or_cond_value): Likewise.
2951         (generate_testfile): Handle AUTO_TESTS_* lines.
2952         (parse_auto_input): New function.
2953         * math/libm-test.inc (XFAIL_TEST): New macro.
2954         (ERRNO_UNCHANGED): Update value.
2955         (ERRNO_EDOM): Likewise.
2956         (ERRNO_ERANGE): Likewise.
2957         (IGNORE_RESULT): Likewise.
2958         (TEST_COND_flt_32): New macro.
2959         (TEST_COND_dbl_64): Likewise.
2960         (TEST_COND_ldbl_96_intel): Likewise.
2961         (TEST_COND_ldbl_96_m68k): Likewise.
2962         (TEST_COND_ldbl_128): Likewise.
2963         (TEST_COND_ldbl_128ibm): Likewise.
2964         (TEST_COND_long32): Likewise.
2965         (TEST_COND_long64): Likewise.
2966         (TEST_COND_before_rounding): Likewise.
2967         (TEST_COND_after_rounding): Likewise.
2968         (enable_test): Handle XFAIL_TEST flag.
2969         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2970         with finite results.
2971         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2972         auto-libm-test-out.
2974 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2975             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2977         [BZ #16214]
2978         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2979         __tls_get_addr_internal instead of __tls_get_offset in order to
2980         avoid GOT pointer dependency.  Make rtld export
2981         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2982         __tls_get_addr since we are a __tls_get_offset platform.
2983         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2984         GOT pointer being set up before.
2985         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2987 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2989         * manual/math.texi (Errors in Math Functions): Document accuracy
2990         goals.
2992         [BZ #15004]
2993         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2994         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2995         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2996         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2997         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2998         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2999         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3000         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3001         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3002         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3003         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3004         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3005         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3006         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3007         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3008         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3010         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3011         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3012         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3013         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3014         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3015         Likewise.
3016         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3017         Likewise.
3018         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3019         Likewise.
3020         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3021         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3022         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3023         atomic-feupdateenv and flt-rounds.
3024         * sysdeps/powerpc/nofpu/Versions (libc): Add
3025         __atomic_feholdexcept, __atomic_feclearexcept,
3026         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3027         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3028         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3029         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3030         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3031         here.
3032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3033         Update.
3035         * manual/arith.texi (FP Exceptions): Document that exceptions may
3036         not be raised when matherr is used.
3037         (Math Error Reporting): Document overflow in directed rounding
3038         modes.  Document that errno may not be set when finite values are
3039         returned on overflow.  Document intent to set errno on underflow
3040         only for underflow to zero.
3042         [BZ #16271]
3043         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3044         round-to-nearest then adjust result for other rounding modes.
3045         * include/fenv.h (fegetround): Use libm_hidden_proto.
3046         * math/fegetround.c (fegetround): Use libm_hidden_def.
3047         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3048         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3049         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3050         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3051         Likewise.
3052         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3053         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3054         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3055         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3057 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3059         [BZ #16077]
3060         * nss/Versions (libnss_files): Add
3061         _nss_files_gethostbyname3_r.
3062         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3063         New function.
3064         (HOST_DB_LOOKUP): Remove macro.
3065         (_nss_files_gethostbyname_r): Implement function without the
3066         HOST_DB_LOOKUP macro.
3067         (_nss_files_gethostbyname2_r): Likewise.
3069 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3071         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3073 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3075         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3076         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3077         warning.
3079 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3081         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3082         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3083         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3084         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3085         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3086         __fe_nomask_env_priv and attribute_hidden.
3087         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3088         (libc_feupdateenv_test_ppc): Likewise.
3089         (libc_feresetround_ppc): Likewise.
3090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3091         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3092         compat_symbol macro.
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3094         (__fe_nomask_env): Likewise.
3095         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3097 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3099         * string/Makefile: Remove ifunc tests.
3100         * string/test-string.h: Define TEST_IFUNC.
3101         * string/test-bcopy-ifunc.c: Remove.
3102         * string/test-bzero-ifunc.c: Likewise.
3103         * string/test-memccpy-ifunc.c: Likewise.
3104         * string/test-memchr-ifunc.c: Likewise.
3105         * string/test-memcmp-ifunc.c: Likewise.
3106         * string/test-memcpy-ifunc.c: Likewise.
3107         * string/test-memmem-ifunc.c: Likewise.
3108         * string/test-memmove-ifunc.c: Likewise.
3109         * string/test-mempcpy-ifunc.c: Likewise.
3110         * string/test-memrchr-ifunc.c: Likewise.
3111         * string/test-memset-ifunc.c: Likewise.
3112         * string/test-rawmemchr-ifunc.c: Likewise.
3113         * string/test-stpcpy-ifunc.c: Likewise.
3114         * string/test-stpncpy-ifunc.c: Likewise.
3115         * string/test-strcasecmp-ifunc.c: Likewise.
3116         * string/test-strcasestr-ifunc.c: Likewise.
3117         * string/test-strcat-ifunc.c: Likewise.
3118         * string/test-strchr-ifunc.c: Likewise.
3119         * string/test-strchrnul-ifunc.c: Likewise.
3120         * string/test-strcmp-ifunc.c: Likewise.
3121         * string/test-strcpy-ifunc.c: Likewise.
3122         * string/test-strcspn-ifunc.c: Likewise.
3123         * string/test-strlen-ifunc.c: Likewise.
3124         * string/test-strncasecmp-ifunc.c: Likewise.
3125         * string/test-strncat-ifunc.c: Likewise.
3126         * string/test-strncmp-ifunc.c: Likewise.
3127         * string/test-strncpy-ifunc.c: Likewise.
3128         * string/test-strnlen-ifunc.c: Likewise.
3129         * string/test-strpbrk-ifunc.c: Likewise.
3130         * string/test-strrchr-ifunc.c: Likewise.
3131         * string/test-strspn-ifunc.c: Likewise.
3132         * string/test-strstr-ifunc.c: Likewise.
3134 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3136         * benchtests/Makefile: Remove ifunc tests.
3137         * benchtests/bench-string.h: Define TEST_IFUNC.
3138         * benchtests/bench-bcopy-ifunc.c: Remove.
3139         * benchtests/bench-bzero-ifunc.c: Likewise.
3140         * benchtests/bench-memccpy-ifunc.c: Likewise.
3141         * benchtests/bench-memchr-ifunc.c: Likewise.
3142         * benchtests/bench-memcmp-ifunc.c: Likewise.
3143         * benchtests/bench-memcpy-ifunc.c: Likewise.
3144         * benchtests/bench-memmem-ifunc.c: Likewise.
3145         * benchtests/bench-memmove-ifunc.c: Likewise.
3146         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3147         * benchtests/bench-memrchr-ifunc.c: Likewise.
3148         * benchtests/bench-memset-ifunc.c: Likewise.
3149         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3150         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3151         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3152         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3153         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3154         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3155         * benchtests/bench-strcat-ifunc.c: Likewise.
3156         * benchtests/bench-strchr-ifunc.c: Likewise.
3157         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3158         * benchtests/bench-strcmp-ifunc.c: Likewise.
3159         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3160         * benchtests/bench-strcpy-ifunc.c: Likewise.
3161         * benchtests/bench-strcspn-ifunc.c: Likewise.
3162         * benchtests/bench-strlen-ifunc.c: Likewise.
3163         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3164         * benchtests/bench-strncat-ifunc.c: Likewise.
3165         * benchtests/bench-strncmp-ifunc.c: Likewise.
3166         * benchtests/bench-strncpy-ifunc.c: Likewise.
3167         * benchtests/bench-strnlen-ifunc.c: Likewise.
3168         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3169         * benchtests/bench-strrchr-ifunc.c: Likewise.
3170         * benchtests/bench-strsep-ifunc.c: Likewise.
3171         * benchtests/bench-strspn-ifunc.c: Likewise.
3172         * benchtests/bench-strstr-ifunc.c: Likewise.
3174 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3176         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3178 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3180         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3181         * rt/aio.h: Likewise.
3182         * sysdeps/gnu/bits/utmp.h: Likewise.
3183         * sysdeps/gnu/bits/utmpx.h: Likewise.
3184         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3185         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3186         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3187         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3188         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3189         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3190         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3191         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3192         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3193         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3194         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3195         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3196         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3198         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3199         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3200         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3201         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3202         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3203         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3204         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3205         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3206         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3207         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3208         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3209         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3210         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3211         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3212         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3213         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3214         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3215         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3216         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3217         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3218         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3219         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3220         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3221         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3222         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3223         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3224         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3225         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3227 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3229         [BZ #16245]
3230         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3231         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3233 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3235         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3236         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3237         Likewise.
3239 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3241         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3242         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3243         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3244         (__fesetround): Remove define.
3245         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3246         rounding and exceptions handling.
3247         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3248         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3249         (__fe_nomask_env): Likewise.
3250         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3251         __fegetround instead of fegetround.
3252         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3253         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3255 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3257         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3258         it's there.
3260         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3262 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3264         [BZ #11157]
3265         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3266         (encrypt_r): Likewise.
3267         * malloc/obstack.h (obstack_free): Likewise.
3268         * posix/unistd.h (encrypt): Likewise.
3270 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3272         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3273         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3274         DL_CALL_DT_FINI() that call the functions directly.
3275         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3276         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3277         * elf/dl-fini.c: Likewise.
3279 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3281         * malloc/hooks.c (memalign_check): Add alignment rounding.
3282         * malloc/malloc.c (_mid_memalign): New function.
3283         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3284         Implement by calling _mid_memalign.
3285         * manual/probes.texi (Memory Allocation Probes): Remove
3286         memory_valloc_retry and memory_pvalloc_retry.
3288 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3290         * locale/programs/locarchive.c (open_archive): Add const
3291         qualifier to ARCHIVEFNAME and copy default fname to
3292         DEFAULT_FNAME.
3294         [BZ #15601]
3295         * libio/tst-widetext.input: Rename Oriya to Odia.
3296         * locale/iso-639.def: Likewise.
3298         * manual/probes.texi (Mathematical Function Probes): Add
3299         documentation for sin, cos, asin and acos probes.
3300         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3301         (__sin32): Add slowasin probe.
3302         (__cos32): Add slowacos probe.
3303         (__mpsin): Add slowsin probe.
3304         (__mpcos): Add slowcos probe.
3306 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3308         [BZ #15483]
3309         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3310         thread-local __sim_exceptions_thread and global
3311         __sim_exceptions_global.
3312         (__sim_disabled_exceptions): Change to thread-local
3313         __sim_disabled_exceptions_thread and global
3314         __sim_disabled_exceptions_global.
3315         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3316         and global __sim_round_mode_global.
3317         (__simulate_exceptions): Use thread-local floating-point state and
3318         set global state from it as needed.
3319         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3320         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3321         __sim_round_mode_thread.
3322         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3323         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3324         and global __sim_exceptions_global.
3325         (__sim_disabled_exceptions): Change to thread-local
3326         __sim_disabled_exceptions_thread and global
3327         __sim_disabled_exceptions_global.
3328         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3329         and global __sim_round_mode_global.
3330         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3331         (SIM_SET_GLOBAL): Likewise.
3332         * sysdeps/powerpc/soft-fp/sfp-machine.h
3333         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3334         __sim_round_mode_thread.
3335         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3336         __sim_disabled_exceptions_thread.
3337         (__sim_exceptions): Change to __sim_exceptions_thread.
3338         (__sim_disabled_exceptions): Change to
3339         __sim_disabled_exceptions_thread.
3340         (__sim_round_mode): Change to __sim_round_mode_thread.
3341         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3342         thread-local floating-point state and set global state from it as
3343         needed.
3344         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3345         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3346         (__sim_disabled_exceptions): Remove extern declaration.
3347         (feenableexcept): Use thread-local floating-point state and set
3348         global state from it as needed.
3349         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3350         extern declaration.
3351         (__sim_disabled_exceptions): Likewise.
3352         (__sim_round_mode): Likewise.
3353         (__fegetenv): Use thread-local floating-point state.
3354         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3355         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3356         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3357         floating-point state and set global state from it as needed.
3358         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3359         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3360         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3361         Likewise.
3362         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3363         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3364         Likewise.
3365         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3366         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3367         Use __sim_round_mode_thread.
3368         * math/test-fenv-tls.c: New file.
3369         * math/Makefile (tests): Add test-fenv-tls.
3370         ($(objpfx)test-fenv-tls): Depend on
3371         $(common-objpfx)nptl/libpthread.so.
3373 2013-11-19  Andreas Schwab  <schwab@suse.de>
3375         * locale/programs/locale.c (show_info): Decode wordarray elements.
3376         * locale/categories.def (LC_MONETARY): Add element for
3377         _NL_MONETARY_CRNCYSTR.
3378         * locale/C-monetary.c (conversion_rate): New variable.
3379         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3380         element.
3382 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3384         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3385         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3387 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3389         * elf/Makefile (tst-auxv): New test.
3390         * elf/tst-auxv.c: New
3391         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3393 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3395         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3396         (hidden_proto): Caller changed.
3397         (hidden_tls_proto): New macro.
3398         (libc_hidden_tls_proto): Likewise.
3399         (rtld_hidden_tls_proto): Likewise.
3400         (libm_hidden_tls_proto): Likewise.
3401         (libresolv_hidden_tls_proto): Likewise.
3402         (librt_hidden_tls_proto): Likewise.
3403         (libdl_hidden_tls_proto): Likewise.
3404         (libnss_files_hidden_tls_proto): Likewise.
3405         (libnsl_hidden_tls_proto): Likewise.
3406         (libnss_nisplus_hidden_tls_proto): Likewise.
3407         (libutil_hidden_tls_proto): Likewise.
3409 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3411         [BZ #10253]
3412         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3413         (decompose_rpath): Defer expansion to fillin_rpath.
3414         (_dl_init_paths): Pass linkmap to fillin_rpath.
3416 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3418         * benchtests/Makefile: Add strsep.
3419         * benchtests/bench-strsep.c: New file: strsep benchtest.
3420         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3422 2013-11-18  Andreas Schwab  <schwab@suse.de>
3424         * locale/programs/locale.c (show_info) [case byte]: Check for
3425         '\377' instead of '\177'.
3426         * locale/C-monetary.c (not_available): Always use "\377".
3427         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3428         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3429         detect unavailable sign_posn locale elements.
3430         * locale/localeconv.c (__localeconv): For grouping and
3431         mon_grouping handle "\177" and "\377" like no grouping.
3432         (INT_ELEM): New macro.  Use it to set all numeric members.
3433         * locale/programs/ld-monetary.c (monetary_read)
3434         <tok_mon_grouping>: Normalize single -1 to the empty string.
3435         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3436         Likewise.
3438 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3440         [BZ #16055]
3441         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3442         when we match (nil).
3443         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3445 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3447         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3448         (NO_TEST_INLINE): Update value.
3449         (ERRNO_UNCHANGED): Likewise.
3450         (ERRNO_EDOM): Likewise.
3451         (ERRNO_ERANGE): Likewise.
3452         (IGNORE_RESULT): Likewise.
3453         (check_float_internal): Check signs of NaN results if
3454         TEST_NAN_SIGN used.
3455         (check_complex): Pass TEST_NAN_SIGN flag through to second
3456         check_float_internal call.
3457         (copysign_test_data): Add tests with quiet NaNs as second
3458         argument.  Use TEST_NAN_SIGN.
3459         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3460         TEST_NAN_SIGN.
3461         (signbit_test_data): Add tests of quiet NaN argument.
3462         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3464         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3465         $ignore_result.
3466         (parse_args): Handle function results specified as IGNORE.
3467         * math/libm-test.inc (IGNORE_RESULT): New macro.
3468         (check_float_internal): Do not check numerical result if flag
3469         IGNORE_RESULT set.
3470         (check_complex): Pass through IGNORE_RESULT to second
3471         check_float_internal call.
3472         (check_int): Do not check numerical result if flag IGNORE_RESULT
3473         set.
3474         (check_long): Likewise.
3475         (check_bool): Likewise.
3476         (check_longlong): Likewise.
3477         (lrint_test_data): Add tests of infinite and NaN arguments.
3478         (lrint_tonearest_test_data): Likewise.
3479         (lrint_towardzero_test_data): Likewise.
3480         (lrint_downward_test_data): Likewise.
3481         (lrint_upward_test_data): Likewise.
3482         (llrint_test_data): Likewise.
3483         (llrint_tonearest_test_data): Likewise.
3484         (llrint_towardzero_test_data): Likewise.
3485         (llrint_downward_test_data): Likewise.
3486         (llrint_upward_test_data): Likewise.
3487         (lround_test_data): Likewise.
3488         (llround_test_data): Likewise.
3490         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3491         (ERRNO_UNCHANGED): Update value.
3492         (ERRNO_EDOM): Likewise.
3493         (ERRNO_ERANGE): Likewise.
3494         (NO_TEST_INLINE_FLOAT): New macro.
3495         (NO_TEST_INLINE_DOUBLE): Likewise.
3496         (enable_test): New function.
3497         (RUN_TEST_f_f): Check enable_test before running test.
3498         (RUN_TEST_2_f): Likewise.
3499         (RUN_TEST_fff_f): Likewise.
3500         (RUN_TEST_c_f): Likewise.
3501         (RUN_TEST_f_f1): Likewise.
3502         (RUN_TEST_fF_f1): Likewise.
3503         (RUN_TEST_fI_f1): Likewise.
3504         (RUN_TEST_ffI_f1): Likewise.
3505         (RUN_TEST_c_c): Likewise.
3506         (RUN_TEST_cc_c): Likewise.
3507         (RUN_TEST_f_i): Likewise.
3508         (RUN_TEST_f_i_tg): Likewise.
3509         (RUN_TEST_ff_i_tg): Likewise.
3510         (RUN_TEST_f_b): Likewise.
3511         (RUN_TEST_f_b_tg): Likewise.
3512         (RUN_TEST_f_l): Likewise.
3513         (RUN_TEST_f_L): Likewise.
3514         (RUN_TEST_fFF_11): Likewise.
3515         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3516         conditionals.
3517         (cosh_test_data): Likewise.
3518         (exp_test_data): Likewise.
3519         (expm1_test_data): Likewise.
3520         (hypot_test_data): Likewise.
3521         (pow_test_data): Likewise.
3522         (sinh_test_data): Likewise.
3523         (tanh_test_data): Likewise.
3524         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3525         flags argument.
3527         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3528         tests with quiet NaN input and output.
3529         (acosh_test_data): Likewise.
3530         (asin_test_data): Likewise.
3531         (asinh_test_data): Likewise.
3532         (atan_test_data): Likewise.
3533         (atanh_test_data): Likewise.
3534         (atan2_test_data): Likewise.
3535         (cbrt_test_data): Likewise.
3536         (cos_test_data): Likewise.
3537         (cosh_test_data): Likewise.
3538         (erf_test_data): Likewise.
3539         (erfc_test_data): Likewise.
3540         (exp_test_data): Likewise.
3541         (exp10_test_data): Likewise.
3542         (exp2_test_data): Likewise.
3543         (expm1_test_data): Likewise.
3544         (hypot_test_data): Likewise.
3545         (j0_test_data): Likewise.
3546         (j1_test_data): Likewise.
3547         (jn_test_data): Likewise.
3548         (lgamma_test_data): Likewise.
3549         (log_test_data): Likewise.
3550         (log10_test_data): Likewise.
3551         (log1p_test_data): Likewise.
3552         (log2_test_data): Likewise.
3553         (pow_test_data): Likewise.
3554         (scalb_test_data): Likewise.
3555         (sin_test_data): Likewise.
3556         (sincos_test_data): Likewise.
3557         (sinh_test_data): Likewise.
3558         (tan_test_data): Likewise.
3559         (tanh_test_data): Likewise.
3560         (tgamma_test_data): Likewise.
3561         (y0_test_data): Likewise.
3562         (y1_test_data): Likewise.
3563         (yn_test_data): Likewise.
3565         [BZ #16167]
3566         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3567         argument being NaN and avoid computations with second argument in
3568         that case.
3569         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3570         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3571         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3573 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3575         * locale/iso-639.def: Add Chitwani Tharu (the).
3577 2013-11-14  Andreas Schwab  <schwab@suse.de>
3579         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3580         word instead of empty string.
3582 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3585         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3587         (__fe_nomask_env): Likewise.
3589 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3591         * benchtests/bench-timing.h: Include time.h.
3593 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3595         [BZ #15997]
3596         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3597         to 3.4.0 for x32.
3598         * sysdeps/unix/sysv/linux/configure: Regenerated.
3600 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3602         [BZ #16151]
3603         * stdlib/strtod_l.c (round_and_return): Do not consider
3604         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3605         exponent one less than half the least subnormal exponent.
3606         * stdlib/test-strtod-round-data: Add more tests.
3607         * stdlib/tst-strtod-round.c (tests): Regenerated.
3609 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3611         [BZ #14143]
3612         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3613         (__fe_mask_env): Likewise.
3614         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3615         libm_hidden_proto and add function prototype.
3616         (__fe_mask_env): Add function prototype.
3617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3618         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3620         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3622         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3624 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3626         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3627         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3629 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3631         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3632         of htab_find_slot().
3634 2013-11-11  David S. Miller  <davem@davemloft.net>
3636         [BZ #16150]
3637         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3638         symbol in the non-vis3 case in static builds.
3639         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3640         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3641         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3642         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3644 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3646         [BZ #387]
3647         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3648         it is empty.
3650 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3652         * benchtests/Makefile: Add bench-strtod.
3653         * benchtests/bench-strtod.c: New file: strtod benchtest
3655 2013-11-11  Andreas Schwab  <schwab@suse.de>
3657         [BZ #16153]
3658         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3659         terminating NUL in key length.
3661 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3663         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3664         Add artificial ODP entry for vDSO symbol for PPC64.
3665         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3666         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3668 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3670         [BZ #15374]
3671         * nss/getent.c (services_keys): Recognize services starting with digit.
3673 2013-11-06  David S. Miller  <davem@davemloft.net>
3675         [BZ #15985]
3676         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3677         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3679 2013-11-06  Will Newton  <will.newton@linaro.org>
3681         * manual/memory.texi (Malloc Examples): Remove register
3682         keyword from examples.
3684 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3686         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3688 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3690         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3691         depending on [__GCC_IEC_559 > 0].
3692         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3693         depending on [__GCC_IEC_559_COMPLEX > 0].
3695 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3697         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3698         to iso-639.def.
3700 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3702         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3704 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3706         [BZ #16112]
3707         * malloc/malloc (malloc_info): Do not handle first bin as
3708         special case.
3710 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3712         * locale/iso-639.def: Add Central Nahuatl (nhn).
3714 2013-11-01  Bruno Haible  <bruno@clisp.org>
3716         [BZ #7003]
3717         * manual/math.texi (BSD Random): Specify range upper bound as
3718         in POSIX.
3720 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3722         * locale/iso-639.def: Add Meadow Mari (mhr).
3724 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3726         [BZ #14752], [BZ #15763]
3727         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3728         Validate name.
3729         * rt/tst_shm.c: Add test for escaping directory.
3731 2013-10-31  Andreas Schwab  <schwab@suse.de>
3733         [BZ #15917]
3734         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3735         followed by 'x' as part of digit sequence.
3736         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3738 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3740         [BZ #16037]
3741         * configure.ac: allow GNU Make 4.0 and greater.
3742         * configure: Regenerated.
3744 2013-10-30  Will Newton  <will.newton@linaro.org>
3746         [BZ #16038]
3747         * malloc/hooks.c (memalign_check): Limit alignment to the
3748         maximum representable power of two.
3749         * malloc/malloc.c (__libc_memalign): Likewise.
3750         * malloc/tst-memalign.c (do_test): Add test for very
3751         large alignment values.
3752         * malloc/tst-posix_memalign.c (do_test): Likewise.
3754 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3756         [BZ #11087]
3757         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3758         (munmap_chunk): Likewise.
3759         (mremap_chunk): Likewise.
3761 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3763         [BZ #15799]
3764         * stdlib/div.c (div): Remove obsolete code.
3765         * stdlib/ldiv.c (ldiv): Likewise.
3766         * stdlib/lldiv.c (lldiv): Likewise.
3768 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3770         [BZ #16071]
3771         * nss/nss_files/files-XXX.c (get_contents_ret): New
3772         enumerator.
3773         (get_contents): New function.
3774         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3776 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3778         * configure.in: Moved to ...
3779         * configure.ac: ... here. Change reference to configure.in
3780         to configure.ac.
3781         * sysdeps/arm/preconfigure.ac: ... here.
3782         configure.in to configure.ac.
3783         * sysdeps/gnu/configure.in: Moved to ...
3784         * sysdeps/gnu/configure.ac: ... here.
3785         * sysdeps/i386/configure.in: Moved to ...
3786         * sysdeps/i386/configure.ac: ... here.
3787         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3788         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3789         * sysdeps/mach/configure.in: Moved to ...
3790         * sysdeps/mach/configure.ac: ... here.
3791         * sysdeps/mach/hurd/configure.in: Moved to ...
3792         * sysdeps/mach/hurd/configure.ac: ... here.
3793         * sysdeps/powerpc/configure.in: Moved to ...
3794         * sysdeps/powerpc/configure.ac: ... here.
3795         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3796         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3797         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3798         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3799         * sysdeps/s390/s390-32/configure.in: Moved to ...
3800         * sysdeps/s390/s390-32/configure.ac: ... here.
3801         * sysdeps/s390/s390-64/configure.in: Moved to ...
3802         * sysdeps/s390/s390-64/configure.ac: ... here.
3803         * sysdeps/sh/configure.in: Moved to ...
3804         * sysdeps/sh/configure.ac: ... here.
3805         * sysdeps/sparc/configure.in: Moved to ...
3806         * sysdeps/sparc/configure.ac: ... here.
3807         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3808         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3809         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3810         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3811         * sysdeps/x86_64/configure.in: Moved to ...
3812         * sysdeps/x86_64/configure.ac: ... here.
3813         * sysdeps/x86_64/preconfigure.in: Moved to ...
3814         * sysdeps/x86_64/preconfigure.ac: ... here.
3815         * aclocal.m4: Change reference to configure.in to configure.ac.
3816         * config.h.in: Likewise.
3817         * manual/install.texi: Likewise.
3818         * manual/maint.texi: Likewise.
3819         * Makefile: Likewise.
3820         * malloc/Makefile: Likewise.
3821         * nscd/Makefile: Likewise.
3822         * Makeconfig: Change reference to configure.in and
3823         preconfigure.in to configure.ac and preconfigure.ac
3824         respectively.
3825         * INSTALL: Regenerated.
3826         * configure: Likewise.
3827         * sysdeps/gnu/configure: Likewise.
3828         * sysdeps/i386/configure: Likewise.
3829         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3830         * sysdeps/mach/configure: Likewise.
3831         * sysdeps/mach/hurd/configure: Likewise.
3832         * sysdeps/powerpc/configure: Likewise.
3833         * sysdeps/powerpc/powerpc32/configure: Likewise.
3834         * sysdeps/powerpc/powerpc64/configure: Likewise.
3835         * sysdeps/s390/s390-32/configure: Likewise.
3836         * sysdeps/s390/s390-64/configure: Likewise.
3837         * sysdeps/sh/configure: Likewise.
3838         * sysdeps/sparc/configure: Likewise.
3839         * sysdeps/unix/sysv/linux/configure: Likewise.
3840         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3841         * sysdeps/x86_64/configure: Likewise.
3842         * sysdeps/x86_64/preconfigure: Likewise.
3844 2013-10-29  Andreas Schwab  <schwab@suse.de>
3846         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3848 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3850         * benchtests/pow-inputs: Add new inputs.
3852         * benchtests/exp-inputs: Add new inputs.
3854         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3855         conditional check for return value.
3856         (__cos32): Likewise.
3858 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3860         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3861         to provide a boost for large inputs with word alignment.
3862         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3863         implementation based on optimized PPC64 strcpy.
3864         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3865         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3866         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3867         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3869 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3871         [BZ #2801]
3872         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3874 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3876         [BZ #14876]
3877         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3878         * time/tst-strptime.c (day_tests): Add testcase.
3880 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3882         [BZ #14029]
3883         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3885 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3887         [BZ #16074]
3888         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3889         MAP_FAILED on error.
3891 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3893         [BZ #16072]
3894         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3895         heap for large requests.
3897 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3899         [BZ #9954]
3900         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3901         result if the result has no associated interface.
3902         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3903         interface for all 127.X.Y.Z addresses.
3905 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3907         * locale/iso-639.def: Add Ligurian (lij)
3909 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3911         [BZ #15825]
3912         * sunrpc/rpc_main.c: Document rpcgen -5.
3914 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3916         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3918 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3920         [BZ #10278]
3921         * posix/glob.c: Match only directories when trailing slash is present.
3922         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3923         (main): Add testcase.
3925 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3927         [BZ #15670]
3928         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3930 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3932         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3933         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3934         AUTH_DES and cindex for FIPS 140-2.
3935         (DES Encryption): Add cindex FIPS 46-3.
3937         * locale/locarchive.h (struct locarhandle): Add fname.
3938         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3939         if an optional argument was specified to --list-archive,
3940         otherwise NULL.
3941         * locale/programs/locarchive.c (show_archive_content): Take new
3942         argument fname and pass it via ah.fname to open_archive.
3943         * locale/programs/localedef.h: Update decl.
3944         (open_archive): If AH->fname is non-null, open that file
3945         rather than the default file name, and don't ignore ENOENT.
3946         (create_archive): Set AH.fname to NULL.
3947         (delete_locales_from_archive): Likewise.
3948         (add_locales_to_archive): Likewise.
3949         * locale/programs/locfile.c (write_all_categories): Likewise.
3951 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3952             Aldy Hernandez  <aldyh@redhat.com>
3954         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3955         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3956         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3957         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3958         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3959         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3960         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3961         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3962         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3963         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3964         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3965         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3966         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3967         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3968         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3969         Likewise.
3970         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3971         Likewise.
3972         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3973         Likewise.
3974         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3975         Likewise.
3976         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3977         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3978         Likewise.
3979         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3980         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3981         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3982         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3983         Likewise.
3984         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3985         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3986         * sysdeps/powerpc/preconfigure: Likewise.
3987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3988         Likewise.
3989         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3990         Replace contents of file by #include of <fenv_libc.h>.
3991         * sysdeps/powerpc/soft-fp/sfp-machine.h
3992         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3993         and <sys/prctl.h>.
3994         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3995         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3996         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3997         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3998         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3999         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4000         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4001         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4002         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4003         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4004         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4005         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4007         Allow copysignl PLT reference to be missing.
4009 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4010             Joseph Myers  <joseph@codesourcery.com
4012         [BZ #15948]
4013         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4014         single character.
4015         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4017 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4019         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4020         * elf/tst-tls1.c: Likewise.
4021         * elf/tst-tls10.h: Likewise.
4022         * elf/tst-tls14.c: Likewise.
4023         * elf/tst-tls2.c: Likewise.
4024         * elf/tst-tls3.c: Likewise.
4025         * elf/tst-tls4.c: Likewise.
4026         * elf/tst-tls5.c: Likewise.
4027         * elf/tst-tls6.c: Likewise.
4028         * elf/tst-tls7.c: Likewise.
4029         * elf/tst-tls8.c: Likewise.
4030         * elf/tst-tls9.c: Likewise.
4031         * elf/tst-tlsmod1.c: Likewise.
4032         * elf/tst-tlsmod13.c: Likewise.
4033         * elf/tst-tlsmod13a.c: Likewise.
4034         * elf/tst-tlsmod14a.c: Likewise.
4035         * elf/tst-tlsmod16a.c: Likewise.
4036         * elf/tst-tlsmod16b.c: Likewise.
4037         * elf/tst-tlsmod2.c: Likewise.
4038         * elf/tst-tlsmod3.c: Likewise.
4039         * elf/tst-tlsmod4.c: Likewise.
4040         * elf/tst-tlsmod5.c: Likewise.
4041         * elf/tst-tlsmod6.c: Likewise.
4043 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4045         [BZ #12486]
4046         * malloc/malloc.c: remove checks for statistics.
4048 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4050         [BZ #15277]
4051         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4052         * inet/tst-network.c: Add testcase.
4054 2013-10-17  Andreas Schwab  <schwab@suse.de>
4056         [BZ #15218]
4057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4058         to determine canonical name.
4060 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4062         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4063         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4064         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4065         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4066         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4067         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4068         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4069         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4070         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4071         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4072         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4073         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4074         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4075         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4076         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4077         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4078         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4079         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4080         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4081         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4082         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4083         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4084         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4085         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4086         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4087         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4088         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4089         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4090         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4091         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4092         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4093         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4094         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4095         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4096         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4097         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4098         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4099         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4100         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4101         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4102         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4103         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4104         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4105         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4106         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4107         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4108         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4109         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4110         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4111         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4112         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4113         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4114         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4115         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4116         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4117         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4118         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4119         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4121 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4123         [BZ #16041]
4124         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4125         make result into a quiet NaN.
4127 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4129         * soft-fp/adddf3.c: Fix horizontal whitespace.
4130         * soft-fp/addsf3.c: Likewise.
4131         * soft-fp/addtf3.c: Likewise.
4132         * soft-fp/divdf3.c: Likewise.
4133         * soft-fp/divsf3.c: Likewise.
4134         * soft-fp/divtf3.c: Likewise.
4135         * soft-fp/double.h: Likewise.
4136         * soft-fp/eqdf2.c: Likewise.
4137         * soft-fp/eqsf2.c: Likewise.
4138         * soft-fp/eqtf2.c: Likewise.
4139         * soft-fp/extenddftf2.c: Likewise.
4140         * soft-fp/extended.h: Likewise.
4141         * soft-fp/extendsfdf2.c: Likewise.
4142         * soft-fp/extendsftf2.c: Likewise.
4143         * soft-fp/extendxftf2.c: Likewise.
4144         * soft-fp/fixdfdi.c: Likewise.
4145         * soft-fp/fixdfsi.c: Likewise.
4146         * soft-fp/fixdfti.c: Likewise.
4147         * soft-fp/fixsfdi.c: Likewise.
4148         * soft-fp/fixsfsi.c: Likewise.
4149         * soft-fp/fixsfti.c: Likewise.
4150         * soft-fp/fixtfdi.c: Likewise.
4151         * soft-fp/fixtfsi.c: Likewise.
4152         * soft-fp/fixtfti.c: Likewise.
4153         * soft-fp/fixunsdfdi.c: Likewise.
4154         * soft-fp/fixunsdfsi.c: Likewise.
4155         * soft-fp/fixunsdfti.c: Likewise.
4156         * soft-fp/fixunssfdi.c: Likewise.
4157         * soft-fp/fixunssfsi.c: Likewise.
4158         * soft-fp/fixunssfti.c: Likewise.
4159         * soft-fp/fixunstfdi.c: Likewise.
4160         * soft-fp/fixunstfsi.c: Likewise.
4161         * soft-fp/fixunstfti.c: Likewise.
4162         * soft-fp/floatdidf.c: Likewise.
4163         * soft-fp/floatdisf.c: Likewise.
4164         * soft-fp/floatditf.c: Likewise.
4165         * soft-fp/floatsidf.c: Likewise.
4166         * soft-fp/floatsisf.c: Likewise.
4167         * soft-fp/floatsitf.c: Likewise.
4168         * soft-fp/floattidf.c: Likewise.
4169         * soft-fp/floattisf.c: Likewise.
4170         * soft-fp/floattitf.c: Likewise.
4171         * soft-fp/floatundidf.c: Likewise.
4172         * soft-fp/floatundisf.c: Likewise.
4173         * soft-fp/floatunditf.c: Likewise.
4174         * soft-fp/floatunsidf.c: Likewise.
4175         * soft-fp/floatunsisf.c: Likewise.
4176         * soft-fp/floatunsitf.c: Likewise.
4177         * soft-fp/floatuntidf.c: Likewise.
4178         * soft-fp/floatuntisf.c: Likewise.
4179         * soft-fp/floatuntitf.c: Likewise.
4180         * soft-fp/fmadf4.c: Likewise.
4181         * soft-fp/fmasf4.c: Likewise.
4182         * soft-fp/fmatf4.c: Likewise.
4183         * soft-fp/gedf2.c: Likewise.
4184         * soft-fp/gesf2.c: Likewise.
4185         * soft-fp/getf2.c: Likewise.
4186         * soft-fp/ledf2.c: Likewise.
4187         * soft-fp/lesf2.c: Likewise.
4188         * soft-fp/letf2.c: Likewise.
4189         * soft-fp/muldf3.c: Likewise.
4190         * soft-fp/mulsf3.c: Likewise.
4191         * soft-fp/multf3.c: Likewise.
4192         * soft-fp/negdf2.c: Likewise.
4193         * soft-fp/negsf2.c: Likewise.
4194         * soft-fp/negtf2.c: Likewise.
4195         * soft-fp/op-1.h: Likewise.
4196         * soft-fp/op-2.h: Likewise.
4197         * soft-fp/op-4.h: Likewise.
4198         * soft-fp/op-8.h: Likewise.
4199         * soft-fp/op-common.h: Likewise.
4200         * soft-fp/quad.h: Likewise.
4201         * soft-fp/single.h: Likewise.
4202         * soft-fp/soft-fp.h: Likewise.
4203         * soft-fp/sqrtdf2.c: Likewise.
4204         * soft-fp/sqrtsf2.c: Likewise.
4205         * soft-fp/sqrttf2.c: Likewise.
4206         * soft-fp/subdf3.c: Likewise.
4207         * soft-fp/subsf3.c: Likewise.
4208         * soft-fp/subtf3.c: Likewise.
4209         * soft-fp/truncdfsf2.c: Likewise.
4210         * soft-fp/trunctfdf2.c: Likewise.
4211         * soft-fp/trunctfsf2.c: Likewise.
4212         * soft-fp/trunctfxf2.c: Likewise.
4213         * soft-fp/unorddf2.c: Likewise.
4214         * soft-fp/unordsf2.c: Likewise.
4215         * soft-fp/unordtf2.c: Likewise.
4217 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4219         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4220         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4222 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4224         * elf/dl-libc.c: Clear initfini list after freeing.
4226 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4228         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4229         * soft-fp/addsf3.c: Likewise.
4230         * soft-fp/addtf3.c: Likewise.
4231         * soft-fp/divdf3.c: Likewise.
4232         * soft-fp/divsf3.c: Likewise.
4233         * soft-fp/divtf3.c: Likewise.
4234         * soft-fp/double.h: Likewise.
4235         * soft-fp/eqdf2.c: Likewise.
4236         * soft-fp/eqsf2.c: Likewise.
4237         * soft-fp/eqtf2.c: Likewise.
4238         * soft-fp/extenddftf2.c: Likewise.
4239         * soft-fp/extended.h: Likewise.
4240         * soft-fp/extendsfdf2.c: Likewise.
4241         * soft-fp/extendsftf2.c: Likewise.
4242         * soft-fp/extendxftf2.c: Likewise.
4243         * soft-fp/fixdfdi.c: Likewise.
4244         * soft-fp/fixdfsi.c: Likewise.
4245         * soft-fp/fixdfti.c: Likewise.
4246         * soft-fp/fixsfdi.c: Likewise.
4247         * soft-fp/fixsfsi.c: Likewise.
4248         * soft-fp/fixsfti.c: Likewise.
4249         * soft-fp/fixtfdi.c: Likewise.
4250         * soft-fp/fixtfsi.c: Likewise.
4251         * soft-fp/fixtfti.c: Likewise.
4252         * soft-fp/fixunsdfdi.c: Likewise.
4253         * soft-fp/fixunsdfsi.c: Likewise.
4254         * soft-fp/fixunsdfti.c: Likewise.
4255         * soft-fp/fixunssfdi.c: Likewise.
4256         * soft-fp/fixunssfsi.c: Likewise.
4257         * soft-fp/fixunssfti.c: Likewise.
4258         * soft-fp/fixunstfdi.c: Likewise.
4259         * soft-fp/fixunstfsi.c: Likewise.
4260         * soft-fp/fixunstfti.c: Likewise.
4261         * soft-fp/floatdidf.c: Likewise.
4262         * soft-fp/floatdisf.c: Likewise.
4263         * soft-fp/floatditf.c: Likewise.
4264         * soft-fp/floatsidf.c: Likewise.
4265         * soft-fp/floatsisf.c: Likewise.
4266         * soft-fp/floatsitf.c: Likewise.
4267         * soft-fp/floattidf.c: Likewise.
4268         * soft-fp/floattisf.c: Likewise.
4269         * soft-fp/floattitf.c: Likewise.
4270         * soft-fp/floatundidf.c: Likewise.
4271         * soft-fp/floatundisf.c: Likewise.
4272         * soft-fp/floatunsidf.c: Likewise.
4273         * soft-fp/floatunsisf.c: Likewise.
4274         * soft-fp/floatuntidf.c: Likewise.
4275         * soft-fp/floatuntisf.c: Likewise.
4276         * soft-fp/floatuntitf.c: Likewise.
4277         * soft-fp/fmadf4.c: Likewise.
4278         * soft-fp/fmasf4.c: Likewise.
4279         * soft-fp/fmatf4.c: Likewise.
4280         * soft-fp/gedf2.c: Likewise.
4281         * soft-fp/gesf2.c: Likewise.
4282         * soft-fp/getf2.c: Likewise.
4283         * soft-fp/ledf2.c: Likewise.
4284         * soft-fp/lesf2.c: Likewise.
4285         * soft-fp/letf2.c: Likewise.
4286         * soft-fp/muldf3.c: Likewise.
4287         * soft-fp/mulsf3.c: Likewise.
4288         * soft-fp/multf3.c: Likewise.
4289         * soft-fp/negdf2.c: Likewise.
4290         * soft-fp/negsf2.c: Likewise.
4291         * soft-fp/negtf2.c: Likewise.
4292         * soft-fp/op-1.h: Likewise.
4293         * soft-fp/op-2.h: Likewise.
4294         * soft-fp/op-4.h: Likewise.
4295         * soft-fp/op-8.h: Likewise.
4296         * soft-fp/op-common.h: Likewise.
4297         * soft-fp/quad.h: Likewise.
4298         * soft-fp/single.h: Likewise.
4299         * soft-fp/soft-fp.h: Likewise.
4300         * soft-fp/sqrtdf2.c: Likewise.
4301         * soft-fp/sqrtsf2.c: Likewise.
4302         * soft-fp/sqrttf2.c: Likewise.
4303         * soft-fp/subdf3.c: Likewise.
4304         * soft-fp/subsf3.c: Likewise.
4305         * soft-fp/subtf3.c: Likewise.
4306         * soft-fp/truncdfsf2.c: Likewise.
4307         * soft-fp/trunctfdf2.c: Likewise.
4308         * soft-fp/trunctfsf2.c: Likewise.
4309         * soft-fp/trunctfxf2.c: Likewise.
4310         * soft-fp/unorddf2.c: Likewise.
4311         * soft-fp/unordsf2.c: Likewise.
4312         * soft-fp/unordtf2.c: Likewise.
4314 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4316         [BZ #15672]
4317         * misc/error.c (error_tail): Fix possible buffer overflow.
4319 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4321         [BZ #13028]
4322         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4323         address.
4325 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4327         [BZ #832]
4328         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4329         testing pipefail option.
4331 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4333         * soft-fp/double.h: Indent preprocessor directives inside #if.
4334         * soft-fp/extended.h: Likewise.
4335         * soft-fp/op-2.h: Likewise.
4336         * soft-fp/op-4.h: Likewise.
4337         * soft-fp/op-common.h: Likewise.
4338         * soft-fp/quad.h: Likewise.
4339         * soft-fp/single.h: Likewise.
4340         * soft-fp/soft-fp.h: Likewise.
4342 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4344         * iconv/iconv_prog.c: Fix typos.
4345         * stdio-common/psiginfo-data.h: Likewise.
4347 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4349         [BZ #15764]
4350         * locale/setlocale.c: Fix typo.
4352 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4354         [BZ #16036]
4355         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4356         signaling NaN arguments.
4357         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4358         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4360         [BZ #14910]
4361         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4362         unordered operands.
4363         * soft-fp/gesf2.c (__gesf2): Likewise.
4364         * soft-fp/getf2.c (__getf2): Likewise.
4365         * soft-fp/ledf2.c (__ledf2): Likewise.
4366         * soft-fp/lesf2.c (__lesf2): Likewise.
4367         * soft-fp/letf2.c (__letf2): Likewise.
4369         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4370         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4371         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4372         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4373         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4374         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4375         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4376         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4377         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4378         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4379         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4380         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4381         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4382         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4383         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4384         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4385         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4386         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4387         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4388         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4389         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4390         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4391         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4392         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4393         * soft-fp/floattidf.c (__floattidf): Likewise.
4394         * soft-fp/floattisf.c (__floattisf): Likewise.
4395         * soft-fp/floattitf.c (__floattitf): Likewise.
4396         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4397         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4398         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4399         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4400         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4401         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4402         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4403         * soft-fp/gesf2.c (__gesf2): Likewise.
4404         * soft-fp/getf2.c (__getf2): Likewise.
4405         * soft-fp/ledf2.c (__ledf2): Likewise.
4406         * soft-fp/lesf2.c (__lesf2): Likewise.
4407         * soft-fp/letf2.c (__letf2): Likewise.
4409         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4410         Undefine and redefine.
4411         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4412         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4413         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4414         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4415         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4416         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4417         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4418         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4419         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4420         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4421         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4422         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4423         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4424         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4425         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4427         [BZ #16032]
4428         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4429         without decrementing exponent if mantissa >= that for the
4430         denominator, not >.
4431         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4432         denominator, not >.  Decrement exponent in < case instead of
4433         incrementing in >= case.
4434         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4435         without decrementing exponent if mantissa >= that for the
4436         denominator, not >.
4438         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4439         computing saturated result for unsigned overflow.
4441 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4442             Jeff Law  <law@redhat.com>
4444         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4445         (atan2Mp): Add systemtap probe marker.
4446         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4447         (__ieee754_log): Add systemtap probe marker.
4448         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4449         (atanMp): Add systemtap probe marker.
4450         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4451         (tanMp): Add systemtap probe marker.
4452         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4453         (__slowexp): Add systemtap probe marker.
4454         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4455         (__slowpow): Add systemtap probe marker.
4456         * manual/probes.texi: Document probes.
4458 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4460         [BZ #15362]
4461         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4462         written.
4463         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4464         written.
4465         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4466         written to buffer but not flushed.
4467         * libio/iofwrite_u.c:  Likewise.
4468         * libio/iopadn.c:  Return bytes returned even if EOF was
4469         encountered.
4470         * libio/iowpadn.c:  Likewise.
4471         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4472         if _IO_padn does not write the whole buffer.
4473         [!COMPILE_WPRINTF] (PAD): Likewise.
4475 2013-10-10  David S. Miller  <davem@davemloft.net>
4477         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4478         directory block.
4480 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4482         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4483         instead of FSF address.
4484         * soft-fp/fixdfti.c: Likewise.
4485         * soft-fp/fixsfti.c: Likewise.
4486         * soft-fp/fixtfti.c: Likewise.
4487         * soft-fp/fixunsdfti.c: Likewise.
4488         * soft-fp/fixunssfti.c: Likewise.
4489         * soft-fp/fixunstfti.c: Likewise.
4490         * soft-fp/floattidf.c: Likewise.
4491         * soft-fp/floattisf.c: Likewise.
4492         * soft-fp/floattitf.c: Likewise.
4493         * soft-fp/floatuntidf.c: Likewise.
4494         * soft-fp/floatuntisf.c: Likewise.
4495         * soft-fp/floatuntitf.c: Likewise.
4496         * soft-fp/trunctfxf2.c: Likewise.
4498         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4499         * soft-fp/fixdfti.c: Likewise.
4500         * soft-fp/fixsfti.c: Likewise.
4501         * soft-fp/fixtfti.c: Likewise.
4502         * soft-fp/fixunsdfti.c: Likewise.
4503         * soft-fp/fixunssfti.c: Likewise.
4504         * soft-fp/fixunstfti.c: Likewise.
4505         * soft-fp/floattidf.c: Likewise.
4506         * soft-fp/floattisf.c: Likewise.
4507         * soft-fp/floattitf.c: Likewise.
4508         * soft-fp/floatuntidf.c: Likewise.
4509         * soft-fp/floatuntisf.c: Likewise.
4510         * soft-fp/floatuntitf.c: Likewise.
4511         * soft-fp/trunctfxf2.c: Likewise.
4513 2013-10-10  David S. Miller  <davem@davemloft.net>
4515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4517 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4519         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4520         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4521         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4522         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4523         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4524         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4525         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4527         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4528         for NaNs before doing comparisons on argument.
4529         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4530         Likewise.
4532 2013-10-10  Will Newton  <will.newton@linaro.org>
4534         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4535         passed to _int_memalign does not overflow.
4537 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4539         * scripts/bench.pl: Add include-sources directive.
4540         * benchtests/README: Update documentation.
4542 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4544         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4545         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4546         instead of FP_INIT_ROUNDMODE.
4547         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4548         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4550         [BZ #16034]
4551         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4552         copy class of input value.
4553         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4554         not handle exceptions.
4555         * soft-fp/negsf2.c (__negsf2): Likewise.
4556         * soft-fp/negtf2.c (__negtf2): Likewise.
4557         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4559 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4561         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4562         semicolon.  From Linux kernel.
4564 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4566         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4568 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4570         [BZ #156]
4571         * manual/socket.texi: Added statement about buffer
4572         for gethostbyname2_r.
4574 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4576         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4577         Use .p2align directive instead, throughout.
4578         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4579         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4580         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4581         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4582         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4583         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4584         * sysdeps/x86_64/strchr.S: Likewise.
4585         * sysdeps/x86_64/strrchr.S: Likewise.
4587 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4589         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4591         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4593         * sysdeps/generic/math_private.h (__mpsin1): Remove
4594         declaration.
4595         (__mpcos1): Likewise.
4596         (__mpsin): New argument __range_reduce.
4597         (__mpcos): Likewise.
4598         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4599         (slow): Use __mpsin and __mpcos.
4600         (slow1): Likewise.
4601         (slow2): Likewise.
4602         (sloww): Likewise.
4603         (sloww1): Likewise.
4604         (sloww2): Likewise.
4605         (bsloww): Likewise.
4606         (bsloww1): Likewise.
4607         (bsloww2): Likewise.
4608         (cslow2): Likewise.
4609         (csloww): Likewise.
4610         (csloww1): Likewise.
4611         (csloww2): Likewise.
4612         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4613         range_reduce.  Merge in __mpsin1.
4614         (__mpcos): Likewise.
4615         (__mpsin1): Remove.
4616         (__mpcos1): Likewise.
4618 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4620         * locale/loadlocale.c (_nl_intern_locale_data): Use
4621         LOCFILE_ALIGNED_P.
4622         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4623         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4624         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4625         obstack data is appropriately aligned.
4626         (obstack_int32_grow_fast): Likewise.
4627         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4628         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4629         (add_locale_uint32_array): Likewise.
4631 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4633         * benchtests/Makefile: Remove ARGLIST and RET variables.
4634         ($(objpfx)bench-%.c): Pass only function name to the script.
4635         * benchtests/README: Update documentation.
4636         * benchtests/acos-inputs: Add new directives.
4637         * benchtests/acosh-inputs: Likewise.
4638         * benchtests/asin-inputs: Likewise.
4639         * benchtests/asinh-inputs: Likewise.
4640         * benchtests/atan-inputs: Likewise.
4641         * benchtests/atanh-inputs: Likewise.
4642         * benchtests/cos-inputs: Likewise.
4643         * benchtests/cosh-inputs: Likewise.
4644         * benchtests/exp-inputs: Likewise.
4645         * benchtests/log-inputs: Likewise.
4646         * benchtests/pow-inputs: Likewise.
4647         * benchtests/rint-inputs: Likewise.
4648         * benchtests/sin-inputs: Likewise.
4649         * benchtests/sinh-inputs: Likewise.
4650         * benchtests/tan-inputs: Likewise.
4651         * benchtests/tanh-inputs: Likewise.
4652         * scripts/bench.pl: Add support for new directives.
4654 2013-10-07  Alan Modra  <amodra@gmail.com>
4656         * README: Fix careless merge.
4658 2013-10-05  Alan Modra  <amodra@gmail.com>
4660         * NEWS: Mention powerpc64le support and bugs fixed.
4661         * README: Both big-endian and little-endian powerpc64 supported.
4663 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4665         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4666         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4667         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4668         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4670 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4672         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4673         match prototype.
4675 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4677         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4678         Move -mhard-float appending from
4679         ports/sysdeps/powerpc/powerpc32/Makefile.
4680         [$(with-fp) = yes] (ASFLAGS): Likewise.
4681         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4682         * sysdeps/powerpc/nofpu: Move directory from
4683         ports/sysdeps/powerpc/nofpu.
4684         * sysdeps/powerpc/soft-fp: Move directory from
4685         ports/sysdeps/powerpc/soft-fp.
4686         * sysdeps/powerpc/powerpc32/405: Move directory from
4687         ports/sysdeps/powerpc/powerpc32/405.
4688         * sysdeps/powerpc/powerpc32/440: Move directory from
4689         ports/sysdeps/powerpc/powerpc32/440.
4690         * sysdeps/powerpc/powerpc32/464: Move directory from
4691         ports/sysdeps/powerpc/powerpc32/464.
4692         * sysdeps/powerpc/powerpc32/476: Move directory from
4693         ports/sysdeps/powerpc/powerpc32/476.
4694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4695         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4697         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4699         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4701         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4703         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4704         * README: Update for powerpc-*-linux-gnu software floating point
4705         support in libc.
4707         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4708         case to powerpc/powerpc32*.
4709         * sysdeps/unix/sysv/linux/configure: Regenerated.
4711         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4712         (_FPU_MASK_OM): Define as 0x04.
4713         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4715         0x00c10080.
4716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4717         0x0000003c.
4718         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4721         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4722         getcontext_e500.
4723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4724         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4725         setcontext_e500.
4726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4727         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4728         and setcontext_e500.
4730 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4732         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4734 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4736         * manual/threads.texi (Default Thread Attributes): Fix typo.
4738 2013-10-04  Will Newton  <will.newton@linaro.org>
4740         * malloc/Makefile: Add tst-memalign.
4741         * malloc/tst-memalign.c: New file.
4743         * malloc/tst-posix_memalign.c: Add comments.
4744         (do_test): Add comments and call free on all potentially
4745         allocated pointers. Add space after cast.
4747         * malloc/tst-pvalloc.c: Add comments.
4748         (do_test): Add comments and call free on all potentially
4749         allocated pointers. Remove duplicate check for NULL pointer.
4750         Add space after cast.
4752         * malloc/tst-valloc.c: Add comments.
4753         (do_test): Add comments and call free on all potentially
4754         allocated pointers. Remove duplicate check for NULL pointer.
4755         Add space after cast.
4757 2013-10-04  Alan Modra  <amodra@gmail.com>
4759         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4760         Use stdint types in rather than __attribute__((mode())).
4761         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4763 2013-10-04  Alan Modra  <amodra@gmail.com>
4765         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4766         Correct handling of unaligned relocs for little-endian.
4767         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4769 2013-10-04  Alan Modra  <amodra@gmail.com>
4771         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4772         * configure: Regenerate.
4773         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4774         * shlib-versions: Likewise.
4776 2013-10-04  Alan Modra  <amodra@gmail.com>
4778         * string/tester.c (test_memrchr): Increment reported test cycle.
4780 2013-10-04  Alan Modra  <amodra@gmail.com>
4782         * string/test-memcpy.c (do_one_test): When reporting errors, print
4783         string address and don't overrun end of string.
4785 2013-10-04  Alan Modra  <amodra@gmail.com>
4787         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4788         insrdi.  Make better use of reg selection to speed exit slightly.
4789         Schedule entry path a little better.  Remove useless "are we done"
4790         checks on entry to main loop.  Handle wrapping around zero address.
4791         Correct main loop count.  Handle single left-over word from main
4792         loop inline rather than by using loop_small.  Remove extra word
4793         case in loop_small caused by wrong loop count.  Add little-endian
4794         support.
4795         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4796         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4797         cache hint.
4798         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4799         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4800         support.  Avoid rlwimi.
4801         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4803 2013-10-04  Alan Modra  <amodra@gmail.com>
4805         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4806         insrdi.  Formatting.
4807         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4808         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4809         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4810         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4811         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4812         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4814 2013-10-04  Alan Modra  <amodra@gmail.com>
4816         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4817         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4818         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4819         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4820         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4821         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4822         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4823         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4824         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4825         use of regs.  Use power7 mtocrf.  Tidy function tails.
4827 2013-10-04  Alan Modra  <amodra@gmail.com>
4829         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4830         Formatting.  Consistently use rXXX register defines or rN defines.
4831         Use early exit labels that avoid restoring unused non-volatile regs.
4832         Make cr field use more consistent with rWORDn compares.  Rename
4833         regs used as shift registers for unaligned loop, using rN defines
4834         for short lifetime/multiple use regs.
4835         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4836         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4837         addi 1,1,64 to pop stack frame.  Simplify return value code.
4838         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4840 2013-10-04  Alan Modra  <amodra@gmail.com>
4842         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4843         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4844         rather than rlwimi.
4845         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4846         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4847         little-endian support.  Correct typos.
4848         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4849         rather than rlwimi.
4850         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4851         in loop and entry code to keep "and." results.
4852         (strchr): Add little-endian support.  Comment.  Move cntlzd
4853         earlier in tail.
4854         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4856 2013-10-04  Alan Modra  <amodra@gmail.com>
4858         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4859         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4860         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4861         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4863 2013-10-04  Alan Modra  <amodra@gmail.com>
4865         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4866         (rTMP): Define as r11.
4867         (strcmp): Add little-endian support.  Optimise tail.
4868         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4869         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4870         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4871         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4872         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4873         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4874         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4876 2013-10-04  Alan Modra  <amodra@gmail.com>
4878         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4879         little-endian support.  Remove unnecessary "are we done" tests.
4880         Handle "s" wrapping around zero and extremely large "size".
4881         Correct main loop count.  Handle single left-over word from main
4882         loop inline rather than by using small_loop.  Correct comments.
4883         Delete "zero" tail, use "end_max" instead.
4884         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4886 2013-10-04  Alan Modra  <amodra@gmail.com>
4888         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4889         support.  Don't branch over align.
4890         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4891         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4892         support.  Rearrange tmp reg use to suit.  Comment.
4893         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4895 2013-10-04  Alan Modra  <amodra@gmail.com>
4897         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4899 2013-10-04  Alan Modra  <amodra@gmail.com>
4901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4902         conditional form of branch and link when obtaining pc.
4903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4905 2013-10-04  Alan Modra  <amodra@gmail.com>
4907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4908         HIWORD/LOWORD.
4909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4912 2013-10-04  Alan Modra  <amodra@gmail.com>
4914         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4915         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4916         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4917         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4918         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4919         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4920         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4921         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4922         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4923         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4925 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4926             Alistair Popple <alistair@ozlabs.au.ibm.com>
4927             Alan Modra <amodra@gmail.com>
4929         [BZ #15723]
4930         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4931         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4932         _dl_hwcap access for little-endian.
4933         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4934         destroy vmx regs when saving unaligned.
4935         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4936         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4937         destroy vmx regs when saving unaligned.
4939 2013-10-04  Alan Modra  <amodra@gmail.com>
4941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4942         Don't use a union to pack hi/low value.
4944 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4946         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4947         for little-endian.
4948         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4949         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4950         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4951         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4952         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4954 2013-10-04  Alan Modra  <amodra@gmail.com>
4956         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4957         constants to usual value for .cst8 section, and remove redundant
4958         high address load.
4959         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4960         constant for 0x1p52.  Load little-endian words of double from
4961         correct stack offsets.
4963 2013-10-04  Alan Modra  <amodra@gmail.com>
4965         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4966         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4967         words of double from correct stack offsets.
4968         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4969         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4970         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4971         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4972         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4973         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4974         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4975         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4976         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4977         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4978         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4979         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4980         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4981         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4982         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4983         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4984         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4986 2013-10-04  Alan Modra  <amodra@gmail.com>
4988         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4989         64-bit int/double union.
4990         (_FPU_SETCW): Likewise.
4991         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4992         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4994 2013-10-04  Alan Modra  <amodra@gmail.com>
4996         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4997         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4999 2013-10-04  Alan Modra  <amodra@gmail.com>
5001         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5002         use vector int constants.
5003         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5005 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5007         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5008         array with long long.
5009         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5010         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5011         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5012         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5013         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5014         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5015         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5016         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5017         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5018         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5019         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5020         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5021         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5023 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5025         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5026         (__signbit): Likewise.  Correct for little-endian.
5027         (__signbitl): Call __signbit.
5028         (lrint): Correct for little-endian.
5029         (lrintf): Call lrint.
5031 2013-10-04  Alan Modra  <amodra@gmail.com>
5033         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5034         union 32-bit int array member with 64-bit int array.
5035         (t515, tm256): Double rather than long double.
5036         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5038 2013-10-04  Alan Modra  <amodra@gmail.com>
5040         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5041         Delete.
5042         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5043         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5044         version of math_ldbl.h.
5046 2013-10-04  Alan Modra  <amodra@gmail.com>
5048         [BZ #15734], [BZ #15735]
5049         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5050         all uses of ieee875 long double macros and unions.  Simplify test
5051         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5052         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5053         normalize after ldbl_extract_mantissa, and don't add hidden bit
5054         already handled.  Don't treat low word of ieee854 mantissa like
5055         low word of IBM long double and mask off bit when testing for
5056         zero.
5057         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5058         all uses of ieee875 long double macros and unions.  Simplify tests
5059         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5060         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5061         two1022, instead use their values.  Recognise that tests for large
5062         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5063         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5064         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5065         test for 0.0L and nan.  Correct negation.
5066         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5067         ieee875 long double macros and unions.  Correct output for large
5068         magnitude x.  Correct absolute value calculation.
5069         (__erfcl): Likewise.
5070         * math/libm-test.inc: Add tests for errors discovered in IBM long
5071         double versions of fmodl, remainderl, erfl and erfcl.
5073 2013-10-04  Alan Modra  <amodra@gmail.com>
5075         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5076         all uses of ieee854 long double macros and unions.  Simplify tests
5077         for long doubles that are fully specified by the high double.
5078         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5079         Likewise.
5080         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5081         Remove dead code too.
5082         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5083         (__ieee754_ynl): Likewise.
5084         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5085         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5086         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5087         Remove dead code too.
5088         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5089         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5090         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5091         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5092         Simplify.
5093         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5094         Simplify.
5095         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5096         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5097         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5098         Comment on variable precision.
5099         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5100         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5101         Likewise.
5102         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5103         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5104         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5105         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5106         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5108 2013-10-04  Alan Modra  <amodra@gmail.com>
5110         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5111         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5112         all uses of ieee854 long double macros and unions.
5113         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5114         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5115         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5116         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5117         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5118         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5119         Likewise.
5120         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5121         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5122         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5123         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5124         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5125         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5126         Simplify sign and nan test too.
5127         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5128         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5129         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5130         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5131         Likewise.
5132         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5133         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5134         Likewise.
5135         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5136         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5137         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5138         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5139         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5140         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5142 2013-10-04  Alan Modra  <amodra@gmail.com>
5144         * stdio-common/printf_size.c (__printf_size): Don't use
5145         union ieee854_long_double in fpnum union.
5146         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5147         signbit macro to retrieve sign from long double.
5148         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5149         retrieve sign from long double.
5150         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5151         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5152         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5153         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5154         * math/test-misc.c (main): Don't use union ieee854_long_double.
5156 2013-10-04  Alan Modra  <amodra@gmail.com>
5158         [BZ #15680]
5159         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5160         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5161         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5162         calculation.  Remove unnecessary test for denormal exponent.
5163         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5164         Correct handling of denormals.  Avoid undefined shift behaviour.
5165         Correct normalisation of low mantissa when low double is denormal.
5166         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5167         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5168         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5169         Correct normalisation of low mantissa.  Test for overflow of high
5170         mantissa and normalise.
5171         (ldbl_nearbyint): Use more readable constant for two52.
5172         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5173         (__mpn_construct_long_double): Fix test for overflow of high
5174         mantissa and correct normalisation.  Avoid undefined shift.
5176 2013-10-04  Alan Modra  <amodra@gmail.com>
5178         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5179         (union ibm_extended_long_double): Define as an array of ieee754_double.
5180         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5181         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5182         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5183         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5184         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5185         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5186         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5187         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5188         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5189         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5190         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5192 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5194         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5195         page size instead of calling getpagesize.
5197         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5198         (LOCFILE_ALIGN_MASK): Likewise.
5199         (LOCFILE_ALIGN_UP): Likewise.
5200         (LOCFILE_ALIGNED_P): Likewise.
5201         * locale/programs/ld-collate.c (collate_output): Use the new
5202         macros instead of __alignof__ (int32_t).
5203         * locale/weight.h (findidx): Likewise.
5205 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5207         [BZ #431]
5208         * manual/string.texi: Fix strncat and wcsncat.
5210 2013-10-03  Brooks Moses  <bmoses@google.com>
5212         [BZ #15915]
5213         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5214         * Makerules: ...here, and adjust associated comments.
5216 2013-10-02  Will Newton  <will.newton@linaro.org>
5218         * malloc/Makefile: Add tst-pvalloc.
5219         * malloc/tst-pvalloc.c: New file.
5221 2013-10-02  Will Newton  <will.newton@linaro.org>
5223         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5224         improve test coverage.
5226 2013-10-02  Will Newton  <will.newton@linaro.org>
5228         * malloc/Makefile: Add tst-posix_memalign.
5229         * malloc/tst-posix_memalign.c: New file.
5231 2013-10-01  Eric Blake  <eblake@redhat.com>
5233         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5234         Use __THROWNL rather than __THROW on static functions.
5236 2013-09-30  Petr Machata  <pmachata@redhat.com>
5238         * elf/elf.h (R_AARCH64_ABS16): New macro.
5239         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5240         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5241         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5242         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5243         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5244         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5245         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5246         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5247         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5248         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5249         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5250         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5251         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5252         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5253         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5254         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5255         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5256         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5257         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5258         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5259         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5260         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5261         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5262         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5263         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5264         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5265         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5266         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5267         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5268         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5269         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5270         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5271         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5272         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5273         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5274         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5275         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5276         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5277         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5278         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5279         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5280         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5281         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5282         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5283         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5284         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5285         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5286         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5287         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5288         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5289         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5290         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5291         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5292         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5293         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5294         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5295         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5296         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5297         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5298         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5299         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5300         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5301         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5302         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5303         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5304         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5305         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5306         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5307         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5308         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5309         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5310         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5311         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5312         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5313         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5314         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5315         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5316         (R_AARCH64_TLSDESC_LDR): Likewise.
5317         (R_AARCH64_TLSDESC_ADD): Likewise.
5318         (R_AARCH64_TLSDESC_CALL): Likewise.
5320 2013-09-30  Andreas Schwab  <schwab@suse.de>
5322         [BZ #15048]
5323         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5324         the nss database lookup.
5325         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5326         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5328 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5330         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5332 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5334         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5335         ${Bash-specific parameter/pattern/string} parameter expansion.
5336         * sysdeps/unix/make-syscalls.sh: Likewise.
5338 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5340         * sysdeps/sh/stackguard-macros.h: New file.
5342 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5345         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5346         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5347         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5348         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5349         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5351 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5353         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5354         Fix thread ID register.
5356 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5358         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5359         [POSIX || UNIX98]: Require rather than permitting all symbols from
5360         <time.h>.
5361         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5362         element of struct sched_param.
5363         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5364         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5365         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5366         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5367         constant.
5369 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5371         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5372         argument calculation.
5374 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5376         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5377         Expect macro.
5378         [POSIX] (pthread_attr_t): Do not require type.
5379         [POSIX] (pthread_cond_t): Likewise.
5380         [POSIX] (pthread_condattr_t): Likewise.
5381         [POSIX] (pthread_key_t): Likewise.
5382         [POSIX] (pthread_mutex_t): Likewise.
5383         [POSIX] (pthread_mutexattr_t): Likewise.
5384         [POSIX] (pthread_once_t): Likewise.
5385         [POSIX] (pthread_t): Likewise.
5386         [POSIX-based standards] (pthread_atfork): Expect function.
5388 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5389             Richard Sandiford  <richard@codesourcery.com>
5391         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5392         (swap_endianness_p): New extern variable.
5393         (set_big_endian): New inline function.
5394         (maybe_swap_uint32): Likewise.
5395         (maybe_swap_uint32_array): Likewise.
5396         (maybe_swap_uint32_obstack): Likewise.
5397         * locale/programs/locfile.c: Include <stdbool.h>.
5398         (swap_endianness_p): New variable.
5399         (add_locale_uint32): Call maybe_swap_uint32.
5400         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5401         (write_locale_data): Call maybe_swap_uint32_array.
5402         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5403         maybe_swap_uint32.
5404         (obstack_int32_grow_fast): Likewise.
5405         (output_weightwc): Call maybe_swap_uint32_obstack.
5406         (collate_output): Likewise.
5407         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5408         (OPT_LITTLE_ENDIAN): Likewise.
5409         (options): Add --little-endian and --big-endian options.
5410         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5411         * locale/programs/locarchive.c: Include "locfile.h".
5412         (GET): New macro.
5413         (SET): Likewise.
5414         (INC): Likewise.
5415         (create_archive): Use the new macros to access fields of
5416         structures directly mapped from or written to locale archives.
5417         (oldlocrecentcmp): Likewise.
5418         (enlarge_archive): Likewise.
5419         (insert_name): Likewise.
5420         (add_alias): Likewise.
5421         (add_locale): Likewise.
5422         (delete_locales_from_archive): Likewise.
5423         (show_archive_content): Likewise.
5424         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5425         locale data.
5427 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5429         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5430         http://www.gnu.org/doc/freemanuals.texi.
5431         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5433 2013-09-24  Will Newton  <will.newton@linaro.org>
5435         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5436         macro.
5438 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5440         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5441         unsigned char.
5443 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5445         * manual/threads.texi (POSIX Threads): Fix a typo.
5447 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5449         [BZ #14547]
5450         * string/tst-strcoll-overflow.c: New test case.
5451         * string/Makefile (xtests): Add tst-strcoll-overflow.
5452         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5453         cache if string sizes may cause integer overflow.
5455         [BZ #14547]
5456         * string/strcoll_l.c (coll_seq): New members rule, idx,
5457         save_idx and back_us.
5458         (get_next_seq_nocache): New function.
5459         (do_compare_nocache): New function.
5460         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5461         when malloc fails.
5463 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5465         [BZ #15754]
5466         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5467         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5468         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5470         [BZ #15754]
5471         * elf/Makefile (tests): Add tst-ptrguard1.
5472         (tests-static): Add tst-ptrguard1-static.
5473         (tst-ptrguard1-ARGS): Define.
5474         (tst-ptrguard1-static-ARGS): Define.
5475         * elf/tst-ptrguard1.c: New file.
5476         * elf/tst-ptrguard1-static.c: New file.
5477         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5478         * sysdeps/i386/stackguard-macros.h: Likewise.
5479         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5480         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5481         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5482         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5483         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5484         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5486 2013-09-23  Hector Marco  <hecmargi@upv.es>
5487             Ismael Ripoll  <iripoll@disca.upv.es>
5488             Carlos O'Donell  <carlos@redhat.com>
5490         [BZ #15754]
5491         * sysdeps/generic/stackguard-macros.h: Define
5492         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5493         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5494         Define __pointer_chk_guard_local.
5495         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5496         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5498 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5500         [BZ #15859]
5501         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5503 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5505         * include/string.h (__ffs): Declare as hidden.
5506         * string/ffs.c (__ffs): Define as hidden.
5507         * sysdeps/i386/ffs.c (__ffs): Likewise.
5508         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5509         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5510         * sysdeps/s390/ffs.c (__ffs): Likewise.
5511         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5513 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5515         * NEWS: Mention malloc probes.
5517         * malloc/arena.c (new_heap): New memory_heap_new probe.
5518         (grow_heap): New memory_heap_more probe.
5519         (shrink_heap): New memory_heap_less probe.
5520         (heap_trim): New memory_heap_free probe.
5521         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5522         (systrim): New memory_sbrk_less probe.
5523         * manual/probes.texi: Document them.
5525         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5526         * manual/probes.texi: Document it.
5528         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5529         (__libc_realloc): Add memory_realloc_retry probe.
5530         (__libc_memalign): Add memory_memalign_retry probe.
5531         (__libc_valloc): Add memory_valloc_retry probe.
5532         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5533         (__libc_calloc): Add memory_calloc_retry probe.
5534         * manual/probes.texi: Document them.
5536         * malloc/arena.c (get_free_list): Add probe
5537         memory_arena_reuse_free_list.
5538         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5539         and memory_arena_reuse.
5540         (arena_get2) [!PER_THREAD]: Likewise.
5541         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5542         memory_arena_reuse_realloc.
5543         * manual/probes.texi: Document them.
5545         * malloc/malloc.c (__libc_free): Add
5546         memory_mallopt_free_dyn_thresholds probe.
5547         (__libc_mallopt): Add multiple memory_mallopt probes.
5548         * manual/probes.texi: Document them.
5550         * malloc/malloc.c: Include stap-probe.h.
5551         (__libc_mallopt): Add memory_mallopt probe.
5552         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5553         * manual/probes.texi: New.
5554         * manual/Makefile (chapters): Add probes.
5555         * manual/threads.texi: Set next node.
5557 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5559         [BZ #15963, #13985]
5560         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5561         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5562         Add `Chinese' to `nan' entry name.
5564 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5566         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5567         (POLYNOMIAL): Likewise.
5568         (TAYLOR_SINCOS): Likewise.
5569         (TAYLOR_SLOW): Likewise.
5570         (__sin): Use TAYLOR_SINCOS.
5571         (__cos): Likewise.
5572         (slow): Use TAYLOR_SLOW.
5573         (sloww): Likewise.
5574         (bsloww): Likewise.
5575         (csloww): Likewise.
5577 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5579         * stdlib/strtod_l.c: Fix buffer overrun.
5581 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5583         * benchtests/Makefile (bench): Add sincos.
5584         * benchtests/bench-sincos.c: New file.
5586         * math/libm-test.inc (cos_test_data): New test inputs.
5587         (sin_test_data): Likewise.
5589         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5590         macro.
5591         (__sin): Use it.
5592         (__cos): Likewise.
5593         (slow1): Likewise.
5594         (slow2): Likewise.
5595         (sloww1): Likewise.
5596         (sloww2): Likewise.
5597         (bsloww1): Likewise.
5598         (bsloww2): Likewise.
5599         (cslow2): Likewise.
5600         (csloww1): Likewise.
5601         (csloww2): Likewise.
5603         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5604         function.
5605         (__sin): Use it.
5606         (__cos): Likewise.
5608         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5609         gotos.
5610         (__cos): Likewise.
5612 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5614         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5615         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5616         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5617         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5618         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5619         * elf/cache.c (print_entry): Handle the new cache flags.
5621 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5622             Aldy Hernandez  <aldyh@redhat.com>
5624         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5625         Change condition to [_SOFT_FLOAT].
5626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5629         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5630         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5633         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5635         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5636         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5637         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5638         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5639         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5640         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5641         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5642         declaration.
5644 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5646         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5647         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5648         (__longjmp): Use LOAD_GP to load saved GPRs.
5649         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5650         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5651         (__sigsetjmp): Use SAVE_GP to save GPRs.
5653         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5654         Do not append -msoft-float.
5655         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5657 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5659         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5661 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5663         [BZ #15966]
5664         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5665         (_FPU_GETCW): Use initial "__" on variable and field names but not
5666         on macro parameter name.
5667         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5668         parentheses around reference to macro parameter.
5670 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5672         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5673         prototype.
5674         (ctype_startup): Use uint32_t in cast and sizeof for
5675         ctype->charnames.
5677 2013-09-11  Jia Liu  <proljc@gmail.com>
5679         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5680         __daddr_t_defined.
5681         [__FreeBSD__]: Likewise.
5683 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5685         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5686         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5687         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5688         (strchr): Remove __strchr_sse42 ifunc selection.
5689         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5690         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5692 2013-09-11  Will Newton  <will.newton@linaro.org>
5694         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5695         parameter to RES. Remove hardcoded 1000 value.
5696         * benchtests/bench-skeleton.c (main): Pass RES parameter
5697         to TIMING_INIT and multiply result by 1000.
5699 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5703 2013-09-11  Andreas Schwab  <schwab@suse.de>
5705         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5706         if not defined.
5707         (O_TMPFILE) [__USE_GNU]: Define.
5708         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5709         Define.
5711 2013-09-11  Will Newton  <will.newton@linaro.org>
5713         [BZ #15857]
5714         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5715         does not overflow.
5717 2013-09-11  Will Newton  <will.newton@linaro.org>
5719         [BZ #15856]
5720         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5721         does not overflow.
5723 2013-09-11  Will Newton  <will.newton@linaro.org>
5725         [BZ #15855]
5726         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5727         does not overflow.
5729 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5731         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5732         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5733         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5734         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5735         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5737 2013-09-10  Allan McRae  <allan@archlinux.org>
5739         [BZ #15748]
5740         * manual/arith.texi (Parsing of Floats): Clarify
5741         cross-reference.
5743         [BZ #15849]
5744         * manual/install.texi (Running make install): Mention
5745         --enable-pt-chown.
5746         * INSTALL: Regenerated.
5748 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5750         * csu/init-first.c (_init): Remove the !SHARED condition around
5751         FPU control word initialization.
5752         * elf/dl-support.c (_dl_fpu_control): New variable.
5753         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5754         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5755         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5756         * math/test-fpucw-static.c: New file.
5757         * math/test-fpucw-ieee.c: New file.
5758         * math/test-fpucw-ieee-static.c: New file.
5759         * math/Makefile (tests): Add `test-fpucw-ieee' and
5760         `$(tests-static)'.
5761         (tests-static): New variable.
5762         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5763         dependency to...
5764         [($(build-shared),yes)]
5765         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5766         ... this.
5767         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5768         New dependency.
5770 2013-09-09  Allan McRae  <allan@archlinux.org>
5772         [BZ #15939]
5773         * manual/string.texi (Collation Functions): Fix typo in
5774         strcoll example.
5775         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5777         [BZ #15893]
5778         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5780         [BZ #15892]
5781         * libio/memstream.c (open_memstream): Fix memory leak.
5782         * libio/wmemstream.c (open_wmemstream): Likewise.
5784         [BZ #15895]
5785         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5787 2013-09-09  Will Newton  <will.newton@linaro.org>
5789         * malloc/Makefile: Add tst-realloc to tests.
5790         * malloc/tst-realloc.c: New file.
5792 2013-09-09  Allan McRae  <allan@archlinux.org>
5794         [BZ #15844]
5795         * COPYING: Update from GNU website to fix FSF address.
5796         * COPYING.LIB: Likewise.
5798 2013-09-06  David S. Miller  <davem@davemloft.net>
5800         * po/zh_TW.po: Update Chinese (traditional) translation from
5801         translation project.
5803 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5804             Joseph Myers  <joseph@codesourcery.com>
5806         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5807         "localeinfo.h".
5808         (obstack_chunk_alloc): New macro.
5809         (obstack_chunk_free): Likewise.
5810         (record_offset): New function.
5811         (init_locale_data): Likewise.
5812         (align_locale_data): Likewise.
5813         (add_locale_empty): Likewise.
5814         (add_locale_raw_data): Likewise.
5815         (add_locale_raw_obstack): Likewise.
5816         (add_locale_string): Likewise.
5817         (add_locale_wstring): Likewise.
5818         (add_locale_uint32): Likewise.
5819         (add_locale_uint32_array): Likewise.
5820         (add_locale_char): Likewise.
5821         (start_locale_structure): Likewise.
5822         (end_locale_structure): Likewise.
5823         (start_locale_prelude): Likewise.
5824         (end_locale_prelude): Likewise.
5825         (write_locale_data): Take locale_file structure rather than an
5826         iovec.
5827         * locale/programs/locfile.h: Include "obstack.h".
5828         (struct locale_file): Change to store locale file contents instead
5829         of header.
5830         (init_locale_data): New prototype.
5831         (align_locale_data): Likewise.
5832         (add_locale_empty): Likewise.
5833         (add_locale_raw_data): Likewise.
5834         (add_locale_raw_obstack): Likewise.
5835         (add_locale_string): Likewise.
5836         (add_locale_wstring): Likewise.
5837         (add_locale_uint32): Likewise.
5838         (add_locale_uint32_array): Likewise.
5839         (add_locale_char): Likewise.
5840         (start_locale_structure): Likewise.
5841         (end_locale_structure): Likewise.
5842         (start_locale_prelude): Likewise.
5843         (end_locale_prelude): Likewise.
5844         (write_locale_data): Update prototype.
5845         * locale/programs/3level.h (struct TABLE): Remove result field.
5846         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5847         Use new locale_file interface.
5848         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5849         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5850         * locale/programs/ld-address.c (address_output): Use new
5851         locale_file interface.
5852         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5853         NO_ADD_LOCALE.
5854         (collate_finish): Don't call collseq_table_finalize.
5855         (collate_output): Use new locale_file interface.
5856         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5857         in file.
5858         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5859         (TABLE): Move defines earlier in file.
5860         (ELEMENT): Likewise.
5861         (DEFAULT): Likewise.
5862         (wctrans_table_add): Move macro and inline function earlier in
5863         file.
5864         (struct wctype_table): Move type earlier in file.
5865         (add_locale_wctype_table): New static prototype.
5866         (struct locale_ctype_t): Use logical types instead of struct iovec
5867         pointers for members.
5868         (ctype_output): Use new locale_file interface.
5869         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5870         new locale_file interface.
5871         (allocate_arrays): Update for use of new locale_file interface.
5872         * locale/programs/ld-identification.c (identification_output): Use
5873         new locale_file interface.
5874         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5875         * locale/programs/ld-messages.c (messages_output): Likewise.
5876         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5877         * locale/programs/ld-name.c (name_output): Likewise.
5878         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5879         * locale/programs/ld-paper.c (paper_output): Likewise.
5880         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5881         * locale/programs/ld-time.c (time_output): Likewise.
5883 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5885         * benchtests/Makefile: Add memrchr benchmark.
5886         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5887         benchmark as memrchr.
5888         * benchtests/bench-memrchr-ifunc.c: New file.
5889         * benchtests/bench-memrchr.c: New file.
5891 2013-09-06   Will Newton  <will.newton@linaro.org>
5893         * benchtests/Makefile (string-bench): Add memcpy.
5895 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5896             Cong Wang  <amwang@redhat.com>
5898         [BZ #15850]
5899         * sysdeps/unix/sysv/linux/bits/in.h
5900         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5901         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5902         before __USE_KERNEL_IPV6_DEFS uses.
5903         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5904         IPPROTO_BEETPH.
5905         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5906         sockaddr_in6, or ipv6_mreq.
5908 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5910         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5911         memory access for final bytes in some large inputs.
5912         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5914 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5916         * string/test-memrchr.c: New file.
5917         * string/test-memrchr-ifunc.c: New file.
5918         * string/Makefile: Add new memrchr testcase.
5920 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5922         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5923         fanotify_init returns EPERM.
5925 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5927         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5928         errors.
5929         (top level): Treat second token from macro or constant entries for
5930         allowed headers as allowed.
5931         * include/complex.h: Condition internal declarations on
5932         [!_ISOMAC].
5933         * include/fenv.h: Condition include of <stdbool.h> and internal
5934         declarations on [!_ISOMAC].
5936 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5938         [BZ #15923]
5939         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5941 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5943         * configure.in (--enable-versioning): Remove configure option.
5944         (libc_cv_asm_symver_directive): Remove configure test.
5945         (libc_cv_ld_version_script_option): Likewise.
5946         (VERSIONING): Remove variable and AC_SUBST.
5947         (DO_VERSIONING): Remove AC_DEFINE.
5948         * configure: Regenerated.
5949         * config.h.in (DO_VERSIONING): Remove macro.
5950         * Makerules [$(versioning) = yes]: Change conditionals to
5951         [$(build-shared) = yes].
5952         * config.make.in (versioning): Remove variable.
5953         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5954         [$(build-shared) = yes].
5955         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5956         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5957         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5958         [$(build-shared) = yes].
5959         * extra-lib.mk [$(versioning) = yes]: Likewise.
5960         * hurd/Makefile [$(versioning) = yes]: Likewise.
5961         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5962         [SHARED].
5963         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5964         [SHARED].
5965         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5966         [SHARED && !NO_HIDDEN].
5967         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5968         [SHARED].
5969         [SHARED && DO_VERSIONING]: Likewise..
5970         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5971         [$(build-shared) = yes].
5972         * manual/install.texi (--disable-versioning): Remove
5973         documentation.
5974         * INSTALL: Regenerated.
5975         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5976         to [SHARED].
5977         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5978         [$(build-shared) = yes].
5979         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5980         * sysdeps/i386/i686/multiarch/strstr-c.c
5981         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5982         [SHARED && !NO_HIDDEN].
5983         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5984         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5985         * sysdeps/powerpc/powerpc32/dl-machine.c
5986         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5987         * sysdeps/powerpc/powerpc32/sysdep.h
5988         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5989         to [SHARED && PIC && !NO_HIDDEN].
5990         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5991         conditional to [SHARED].
5993 2013-09-04   Will Newton  <will.newton@linaro.org>
5995         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5996         * benchtests/bench-string.h: Include bench-timing.h instead
5997         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5998         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5999         call to HP_TIMING_DIFF_INIT.
6000         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6001         instead of hp-timing.h macros.
6002         * benchtests/bench-memchr.c: Likewise.
6003         * benchtests/bench-memcmp.c: Likewise.
6004         * benchtests/bench-memcpy.c: Likewise.
6005         * benchtests/bench-memmem.c: Likewise.
6006         * benchtests/bench-memmove.c: Likewise.
6007         * benchtests/bench-memset.c: Likewise.
6008         * benchtests/bench-rawmemchr.c: Likewise.
6009         * benchtests/bench-strcasecmp.c: Likewise.
6010         * benchtests/bench-strcasestr.c: Likewise.
6011         * benchtests/bench-strcat.c: Likewise.
6012         * benchtests/bench-strchr.c: Likewise.
6013         * benchtests/bench-strcmp.c: Likewise.
6014         * benchtests/bench-strcpy.c: Likewise.
6015         * benchtests/bench-strcpy_chk.c: Likewise.
6016         * benchtests/bench-strlen.c: Likewise.
6017         * benchtests/bench-strncasecmp.c: Likewise.
6018         * benchtests/bench-strncat.c: Likewise.
6019         * benchtests/bench-strncmp.c: Likewise.
6020         * benchtests/bench-strncpy.c: Likewise.
6021         * benchtests/bench-strnlen.c: Likewise.
6022         * benchtests/bench-strpbrk.c: Likewise.
6023         * benchtests/bench-strrchr.c: Likewise.
6024         * benchtests/bench-strspn.c: Likewise.
6025         * benchtests/bench-strstr.c: Likewise.
6027 2013-09-04  Will Newton  <will.newton@linaro.org>
6029         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6031 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6033         [BZ #15427]
6034         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6035         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6036         * math/libm-test.inc (lgamma_test_data): Add more tests.
6037         * sysdeps/i386/fpu/libm-test-ulps: Update.
6038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6040 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6042         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6044         Add ifunc.
6045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6046         Add strcmp-sse2-unaligned
6047         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6049 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6051         * Versions.def (libc): Add GLIBC_2.19.
6053 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6055         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6056         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6058 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6060         [BZ #14155]
6061         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6062         intermediate calculations in recurrence.
6063         (__ieee754_ynf): Likewise.
6064         * math/libm-test.inc (jn_test_data): Do not allow spurious
6065         underflow exception.  Add more tests.
6066         (yn_test_data): Add more tests.
6067         * sysdeps/i386/fpu/libm-test-ulps: Update.
6068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6070 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6072         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6074 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6076         * csu/init-first.c: Fix then/than typos.
6077         * locale/programs/ld-collate.c: Likewise.
6078         * locale/programs/linereader.h: Likewise.
6079         * manual/charset.texi: Likewise.
6080         * manual/filesys.texi: Likewise.
6081         * manual/stdio.texi: Likewise.
6082         * manual/string.texi: Likewise.
6083         * stdlib/fmtmsg.c: Likewise.
6084         * sysdeps/i386/stpncpy.S: Likewise.
6085         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6086         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6087         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6088         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6090 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6092         * elf/dl-open.c: Fix typos.
6093         * iconvdata/gbbig5.c: Likewise.
6094         * iconvdata/iso-2022-jp.c: Likewise.
6095         * iconv/gconv_int.h: Likewise.
6096         * iconv/loop.c: Likewise.
6097         * nis/rpcsvc/nis.h: Likewise.
6098         * resolv/ns_name.c: Likewise.
6099         * stdio-common/vfscanf.c: Likewise.
6100         * streams/stropts.h: Likewise.
6101         * sunrpc/rpc_thread.c: Likewise.
6102         * sysdeps/i386/strpbrk.S: Likewise.
6103         * sysdeps/ieee754/k_standard.c: Likewise.
6104         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6105         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6106         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6107         * sysdeps/mach/hurd/profil.c: Likewise.
6108         * sysdeps/s390/dl-procinfo.h: Likewise.
6109         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6110         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6111         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6112         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6113         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6115 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6117         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6120 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6122         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6123         aix specific files.
6124         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6125         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6126         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6127         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6128         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6129         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6130         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6131         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6133 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6134             Roland McGrath  <roland@hack.frob.com>
6136         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6137         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6139 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6141         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6142         __executable_start symbol instead of _start.
6144 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6146         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6147         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6148         Move macros to...
6149         * sysdeps/gnu/ldsodefs.h: ... this new file.
6151         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6152         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6153         instead of ELFOSABI_LINUX.
6155         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6156         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6157         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6158         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6159         Likewise.
6160         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6161         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6162         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6163         Likewise.
6164         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6165         (ibm_extended_long_double): Add ieee_nan member.
6166         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6167         (do_test): New function.
6169         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6170         TEST_TRUNC.
6171         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6172         functions, renamed from truncdfsf_test, trunctfsf_test,
6173         trunctfdf_test.
6174         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6175         functions.
6176         (do_test): Run all these.
6178 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6180         * argp/argp-help.c: Fix typos.
6181         * argp/argp-parse.c: Likewise.
6182         * debug/backtracesyms.c: Likewise.
6183         * elf/elf.h: Likewise.
6184         * malloc/malloc.c: Likewise.
6185         * nis/nis_print.c: Likewise.
6186         * resolv/res_comp.c: Likewise.
6187         * stdlib/stdlib.h: Likewise.
6188         * sunrpc/clnt_tcp.c: Likewise.
6189         * sunrpc/clnt_udp.c: Likewise.
6190         * sunrpc/clnt_unix.c: Likewise.
6191         * sysdeps/unix/bsd/ptsname.c: Likewise.
6192         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6193         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6195         Likewise.
6196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6197         Likewise.
6198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6199         Likewise.
6200         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6202 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6204         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6205         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6207 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6209         [BZ #15897]
6210         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6211         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6212         ($(objpfx)bug-dl-leaf): New rule.
6213         ($(objpfx)bug-dl-leaf.so): Likewise.
6214         ($(objpfx)bug-dl-leaf.out): Likewise.
6215         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6216         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6217         * dlfcn/bug-dl-leaf.c: New test.
6218         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6219         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6220         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6221         (dlclose): Likewise.
6222         (dlmopen): Likewise.
6224 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6226         * include/netdb.h [!_ISOMAC]:
6227         Don't include <tls.h>.
6228         (h_errno, __libc_h_errno): Move declaration and macros out of
6229         [_LIBC_REENTRANT].
6231         * include/resolv.h [_RESOLV_H_]:
6232         Don't include <tls.h>.
6233         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6234         * resolv/res_libc.c: Don't include <tls.h>.
6235         (_res): Use __attribute__ ((nocommon)) in place of
6236         __attribute__ ((section (".bss"))).
6238         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6239         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6241         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6243         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6244         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6246         * resolv/res_mkquery.c: Include <sys/time.h>.
6248         * inet/ifreq.c: Moved to ...
6249         * sysdeps/unix/ifreq.c: ... here.
6250         * inet/ifreq.c: New file, true stub version.
6252         * socket/sa_len.c: New file.
6253         * socket/Makefile (aux): Add it.
6254         * sysdeps/unix/sysv/linux/Makefile
6255         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6256         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6257         and #include <socket/sa_len.c>.
6258         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6259         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6261         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6262         * bits/socket.h: ... here.
6264         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6265         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6266         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6268 2013-08-27  Andreas Schwab  <schwab@suse.de>
6270         [BZ #15736]
6271         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6272         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6273         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6274         * string/test-strcasecmp.c (test_main): Run tests in several
6275         locales.
6276         * string/test-strncasecmp.c (test_main): Likewise.
6278         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6279         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6280         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6281         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6282         (__strncasecmp_ssse3) [PIC]: Likewise.
6284 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6286         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6288         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6289         instead of explicitly declaring xdecrypt.
6290         * nis/nss_nis/nis-publickey.c: Likewise.
6292 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6294         [BZ #15890]
6295         * nscd/aicache.c: Include res_hconf.h.
6296         (addhstaiX): Initialize res_hconf.
6298 2013-08-26  Andreas Schwab  <schwab@suse.de>
6300         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6301         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6303 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6305         * nscd/aicache.c (addhstaiX): Fix indentation.
6307 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6309         * configure.ac: Quote $build_pt_chown test.
6310         * configure: Regenerated.
6312 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6314         [BZ #15532]
6315         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6316         * math/s_cexpf.c (__cexpf): Likewise.
6317         * math/s_cexpl.c (__cexpl): Likewise.
6318         * math/libm-test.inc (cexp_test_data): Correct expected return
6319         value for NaN + i0.  Add another test.
6321 2013-08-22  David S. Miller  <davem@davemloft.net>
6323         * po/ca.po: Update Catalan translation from translation project.
6324         * po/uk.po: Add Ukrainian translations from translation project.
6326 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6328         [BZ #15797]
6329         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6330         is infinite, not alongside NaN test.
6331         * math/s_fdimf.c (__fdimf): Likewise.
6332         * math/s_fdiml.c (__fdiml): Likewise.
6333         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6334         errno is unchanged.
6336 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6338         * argp/argp-help.c: Fix typos.
6339         * crypt/speeds.c: Likewise.
6340         * csu/check_fds.c: Likewise.
6341         * elf/dl-load.c: Likewise.
6342         * elf/dl-open.c: Likewise.
6343         * elf/reldep3.c: Likewise.
6344         * elf/reldep.c: Likewise.
6345         * elf/sprof.c: Likewise.
6346         * iconv/iconv_charmap.c: Likewise.
6347         * iconv/skeleton.c: Likewise.
6348         * iconv/strtab.c: Likewise.
6349         * io/lockf64.c: Likewise.
6350         * libio/libioP.h: Likewise.
6351         * resolv/gai_notify.c: Likewise.
6352         * resolv/ns_name.c: Likewise.
6353         * resolv/ns_samedomain.c: Likewise.
6354         * resolv/res_send.c: Likewise.
6355         * stdlib/random.c: Likewise.
6356         * sunrpc/rpc/xdr.h: Likewise.
6357         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6358         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6359         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6360         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6361         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6362         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6363         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6364         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6365         * sysdeps/mach/hurd/check_fds.c: Likewise.
6366         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6367         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6368         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6369         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6370         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6371         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6372         * sysdeps/pthread/aio_notify.c: Likewise.
6373         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6374         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6375         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6376         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6377         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6379 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6381         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6382         version if bit_Slow_SSE4_2 is set.
6383         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6384         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6386 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6388         [BZ #15867]
6389         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6390         trampoline stack frame information.
6391         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6392         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6393         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6394         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6395         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6396         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6397         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6398         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6399         sa_flags value.
6400         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6401         interrupting a syscall and set with option SA_SIGINFO.
6403 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6405         [BZ #15531]
6406         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6407         argument is infinite.
6408         * math/s_cprojf.c (__cprojf): Likewise.
6409         * math/s_cprojl.c (__cprojl): Likewise.
6410         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6411         * math/libm-test.inc (cproj_test_data): Add more tests.
6413         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6415         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6416         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6417         size.  Use __ffs to determine corresponding shift.
6419 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6420             Roland McGrath  <roland@hack.frob.com>
6422         * Makefile (INSTALL): Remove trailing blank lines from output of
6423         makeinfo.
6425 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6427         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6428         Align 32 bit compat elf_greg to 8 bytes.
6430 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6432         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6434 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6436         * string/strcoll_l.c (coll_seq): New structure.
6437         (get_next_seq_cached): New function.
6438         (get_next_seq): New function.
6439         (do_compare): New function.
6440         (STRCOLL): Use GNU style definition.  Simplify implementation
6441         by using get_next_seq, get_next_seq_cached and do_compare.
6443 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6445         [BZ #14699]
6446         CVE-2013-4237
6447         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6448         member.
6449         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6450         member.
6451         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6452         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6453         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6454         conditional.
6455         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6456         GETDENTS_64BIT_ALIGNED.
6457         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6458         * manual/filesys.texi (Reading/Closing Directory): Document
6459         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6460         strongly.
6461         * manual/conf.texi (Limits for Files): Add portability note to
6462         NAME_MAX, PATH_MAX.
6463         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6465 2013-08-13  Andreas Schwab  <schwab@suse.de>
6467         [BZ #15749]
6468         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6469         of fabs.
6470         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6471         LDBL_MAX_EXP >= 16384]: Add tests for it.
6473 2013-08-12  David S. Miller  <davem@davemloft.net>
6475         * version.h (RELEASE): Set to "development".
6476         (VERSION): Set to "2.18.90".
6477         * NEWS: Add 2.19 section.
6479 2013-08-03  David S. Miller  <davem@davemloft.net>
6481         * po/ko.po: Update Korean translation from translation project.
6483 2013-08-01  David S. Miller  <davem@davemloft.net>
6485         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6486         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6487         Bilka.
6489 2013-07-30  David S. Miller  <davem@davemloft.net>
6491         * po/fr.po: Update French translation from translation project.
6493 2013-07-28  David S. Miller  <davem@davemloft.net>
6495         * po/cs.po: Update Czech translation from translation project.
6497         * po/sv.po: Update Swedish translation from translation project.
6499 2013-07-27  David S. Miller  <davem@davemloft.net>
6501         * po/eo.po: Update Esperanto translation from translation project.
6503         * po/vi.po: Update Vietnamese translation from translation project.
6505         * po/de.po: Update German translation from translation project.
6507 2013-07-26  David S. Miller  <davem@davemloft.net>
6509         * po/bg.po: Update Bulgarian translation from translation project.
6511         * po/nl.po: Update Dutch translation from translation project.
6512         * po/pl.po: Update Polish translation from translation project.
6513         * po/ru.po: Update Russian translation from translation project.
6515 2013-07-24  David S. Miller  <davem@davemloft.net>
6517         * po/libc.pot: Update.
6519 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6521         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6522         variable page size.
6523         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6524         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6525         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6527 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6529         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6531 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6532             Andreas Schwab  <schwab@suse.de>
6533             Roland McGrath  <roland@hack.frob.com>
6534             Joseph Myers  <joseph@codesourcery.com>
6535             Carlos O'Donell  <carlos@redhat.com>
6537         [BZ #15755]
6538         * config.h.in: Define HAVE_PT_CHOWN.
6539         * config.make.in (build-pt-chown): New variable.
6540         * configure.in (--enable-pt_chown): New configure option.
6541         * configure: Regenerate.
6542         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6543         build-pt-chown is enabled.
6544         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6545         pt_chown to fix pty ownership.
6546         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6547         CLOSE_ALL_FDS.
6548         * manual/install.texi (Configuring and compiling): Mention
6549         --enable-pt_chown. Add @findex for grantpt.
6550         * INSTALL: Regenerate.
6552 2013-07-20  David S. Miller  <davem@davemloft.net>
6554         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6555         difference between 32-bit and 64-bit.
6557 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6559         [BZ #15711]
6560         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6561         Avoid system header dependency with -ffreestanding.
6562         ($(objpfx)bits/syscall%d): Likewise.
6564 2013-07-13  David S. Miller  <davem@davemloft.net>
6566         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6567         underflows from atanl/atan2l due to bug 15319.
6568         (casinh_test_data): Likewise.
6570 2013-07-07  David S. Miller  <davem@davemloft.net>
6572         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6574 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6576         * sysdeps/i386/fpu/libm-test-ulps: Update.
6577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6579 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6581         * configure.in (--enable-lock-elision): Fix message text.
6582         * INSTALL: Regenerate.
6583         * configure: Regenerate.
6585 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6589 2013-07-03  Andreas Jaeger  <aj@suse.de>
6591         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6592         define.
6593         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6594         (ptrace_peeksiginfo_args): Add.
6595         (__ptrace_peeksiginfo_flags): Add.
6596         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6597         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6598         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6600 2013-07-03  Allan McRae  <allan@archlinux.org>
6602         * sysdeps/i386/fpu/libm-test-ulps: Update.
6604 2013-07-02  David S. Miller  <davem@davemloft.net>
6606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6608 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6612 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6614         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6617 2013-07-02  Andi Kleen <ak@linux.intel.com>
6619         * config.h.in (ENABLE_LOCK_ELISION): Add.
6620         * configure.in (--enable-lock-elision): Add option.
6621         * manual/install.texi: Document --enable lock elision.
6622         * configure: Regenerate
6623         * INSTALL: Regenerate.
6625 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6627         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6628         SSE4.2 strcasecmp for libc.a.
6629         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6631 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6633         [BZ #13304]
6634         * soft-fp/op-common.h (_FP_FMA): New macro.
6635         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6636         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6637         (_FP_MUL_MEAT_1_imm): ... here.
6638         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6639         (_FP_MUL_MEAT_1_wide): ... here.
6640         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6641         (_FP_MUL_MEAT_1_hard): ... here.
6642         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6643         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6644         (_FP_MUL_MEAT_2_wide): ... here.
6645         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6646         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6647         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6648         (_FP_MUL_MEAT_2_gmp): ... here.
6649         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6650         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6651         (_FP_MUL_MEAT_4_wide): ... here.
6652         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6653         (_FP_MUL_MEAT_4_gmp): ... here.
6654         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6655         (_FP_WFRACBITS_DW_S): Likewise.
6656         (_FP_WFRACXBITS_DW_S): Likewise.
6657         (_FP_HIGHBIT_DW_S): Likewise.
6658         (FP_FMA_S): Likewise.
6659         (_FP_FRAC_HIGH_DW_S): Likewise.
6660         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6661         (_FP_WFRACBITS_DW_D): Likewise.
6662         (_FP_WFRACXBITS_DW_D): Likewise.
6663         (_FP_HIGHBIT_DW_D): Likewise.
6664         (FP_FMA_D): Likewise.
6665         (_FP_FRAC_HIGH_DW_D): Likewise.
6666         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6667         (_FP_WFRACBITS_DW_E): Likewise.
6668         (_FP_WFRACXBITS_DW_E): Likewise.
6669         (_FP_HIGHBIT_DW_E): Likewise.
6670         (FP_FMA_E): Likewise.
6671         (_FP_FRAC_HIGH_DW_E): Likewise.
6672         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6673         (_FP_WFRACBITS_DW_Q): Likewise.
6674         (_FP_WFRACXBITS_DW_Q): Likewise.
6675         (_FP_HIGHBIT_DW_Q): Likewise.
6676         (FP_FMA_Q): Likewise.
6677         (_FP_FRAC_HIGH_DW_Q): Likewise.
6678         * soft-fp/fmasf4.c: New file.
6679         * soft-fp/fmadf4.c: Likewise.
6680         * soft-fp/fmatf4.c: Likewise.
6682 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6685         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6686         Silvermont.
6687         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6688         macro.
6689         (index_Slow_SSE4_2): Likewise.
6690         (index_Prefer_PMINUB_for_stringop): Likewise.
6691         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6692         bit_Slow_SSE4_2 is set.
6693         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6694         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6696 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6698         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6699         rtld_global._dl_hwcap2.
6700         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6701         POWER8.
6702         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6703         POWER8 feature descriptions defined in _dl_hwcap2.
6704         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6705         string handling for POWER8 feature bits.
6706         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6707         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6708         _dl_powerpc_cap_flags.
6709         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6710         * sysdeps/powerpc/rtld-global-offsets.sym
6711         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6712         _dl_hwcap2 in the rtld_global_ro structure.
6714 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6716         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6717         hardware capabilities in support of AT_HWCAP2.
6718         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6719         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6720         GLRO(dl_hwcap2).
6721         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6722         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6723         explicitly the unknown a_type display mechanism is used.
6724         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6725         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6726         struct member.
6727         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6728         to macro prototype for AT_HWCAP2 support.
6729         * sysdeps/i386/dl-procinfo.h: Likewise.
6730         * sysdeps/s390/dl-procinfo.h: Likewise.
6731         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6732         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6733         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6734         return -1 for unknown a_type display fallback.
6735         * sysdeps/sparc/dl-procinfo.h: Likewise.
6736         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6737         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6739 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6741         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6742         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6744 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6746         [BZ #12492]
6747         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6748         mprotect making __stack_prot writable.
6750 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6751             Joseph Myers  <joseph@codesourcery.com>
6753         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6754         as being properly aligned.
6756 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6758         * dlfcn/modstatic5.c: New file.
6759         * dlfcn/tststatic5.c: New file.
6760         * dlfcn/Makefile (tests): Add tststatic5.
6761         (tests-static): Likewise.
6762         (modules-names): Add modstatic5.
6763         (tststatic5-ENV): New variable.
6764         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6766         [BZ #15022]
6767         * elf/dl-support.c (_dl_main_map): New variable.
6768         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6769         (_dl_nns, _dl_load_adds): Set to 1.
6770         (_dl_initial_searchlist): Refer to _dl_main_map.
6771         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6772         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6773         call to _dl_get_origin.
6774         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6775         around call_map.
6776         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6777         * dlfcn/modstatic3.c: New file.
6778         * dlfcn/tststatic3.c: New file.
6779         * dlfcn/tststatic4.c: New file.
6780         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6781         (tests-static): Likewise.
6782         (modules-names): Add modstatic3.
6783         (tststatic3-ENV, tststatic4-ENV): New variables.
6784         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6785         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6787 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6789         * configure.in (CC): Require GCC version 4.4 or later.
6790         * configure: Regenerated.
6791         * manual/install.texi (Tools for Compilation): Update GCC version
6792         requirement.
6793         * INSTALL: Regenerated.
6795 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6797         [BZ #15674]
6798         * string/test-memcmp.c (check2): New.
6799         (main): Call check2.
6801         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6803 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6805         [BZ #15022]
6806         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6807         over to...
6808         (dl_open_worker) [!SHARED]: ... here.
6810 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6812         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6814 2013-06-25  Richard Henderson  <rth@redhat.com>
6816         * locale/programs/locarchive.c: Include <libc-internal.h>
6818 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6820         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6821         trailing whitespace removed.
6823 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6825         [BZ #10283]
6826         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6827         * locale/programs/locarchive.c: Include libc-mmap.h.
6828         (prepare_address_space): Take two new outputs (the mmap base and len).
6829         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6830         values.
6831         (create_archive): Declare new mmap base and len values for
6832         prepare_address_space, and store the result in ah.
6833         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6834         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6835         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6836         Declare new mmap base and len values for
6837         prepare_address_space, and store the result in new_ah.
6838         (open_archive): Declare new mmap base and len values for
6839         prepare_address_space, and store the result in ah.
6840         (close_archive): If ah->mmap_base is not NULL, use that and
6841         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6842         * sysdeps/generic/libc-mmap.h: New file.
6844 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6846         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6847         (ALIGN_UP): Likewise.
6848         (PTR_ALIGN_DOWN): Likewise.
6849         (PTR_ALIGN_UP): Likewise.
6851 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6853         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6854         entry mapped to PPC_PLATFORM_POWER8.
6855         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6856         POWER8.
6857         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6858         (_dl_string_platform): Add case for exporting platform position for
6859         POWER8.
6860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6861         search path to sysdeps/powerpc/powerpc32/power8 directory.
6862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6863         search path to sysdeps/powerpc/powerpc64/power8 directory.
6864         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6865         power7 directories.
6866         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6867         power7 directories.
6869 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6871         * INSTALL: Regenerate.
6873         * nscd/connections.c (nscd_init): Fix comment.
6875 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6877         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6879         [BZ #15667]
6880         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6881         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6883 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6885         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6886         DL_DST_REQ_STATIC.
6887         (DL_DST_REQ_STATIC): Remove macro.
6889 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6891         [BZ #7006]
6892         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6893         with a shift of 0 bits.
6895 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6897         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6898         $(tststatic-ENV).
6900 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6902         [BZ #15655]
6903         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6905 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6907         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6908         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6909         accepts -fno-tree-loop-distribute-patterns.
6910         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6911         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6912         recursive call.
6913         * string/memset.c (memset): Likewise.
6914         * string/test-memmove.c (simple_memmove): Disable loop transformation
6915         to library calls.
6916         * string/test-memset.c (simple_memset): Likewise.
6917         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6918         * benchtests/bench-memset.c (simple_memset): Likewise.
6919         * configure: Regenerated.
6921 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6923         * math/test-misc.c (main): Ignore fesetround failure when failures
6924         of subsequent rounding tests would be ignored.
6926         [BZ #15654]
6927         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6928         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6929         * math/fegetenv.c (__fegetenv): Return 0.
6930         * math/fegetexcept.c (fegetexcept): Return 0.
6931         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6932         FE_TONEAREST.
6933         * math/feholdexcpt.c (feholdexcept): Return 0.
6934         * math/fesetenv.c (__fesetenv): Return 0.
6935         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6936         argument FE_TONEAREST.
6937         * math/feupdateenv.c (__feupdateenv): Return 0.
6938         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6940 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6942         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6943         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6944         ($(objpfx)rtld-%.os rules): Use them.
6946 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6948         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6949         fields.
6951 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6953         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6954         length of target pattern, then descending length of dependency pattern.
6955         * configure.in (AWK): Require gawk 3.1.2 or newer.
6956         * manual/install.texi (Tools for Compilation): Say that we do.
6957         * configure: Regenerated.
6959         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6960         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6961         * scripts/sysd-rules.awk: ... this new script.
6962         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6963         than a glob-style pattern.
6965 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6967         * math/test-misc.c (main): Do not treat incorrectly rounded
6968         conversions as failure unless ROUNDING_TESTS passes.
6970 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6972         [BZ #15631]
6973         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6974         restore exception state around main square root computation, then
6975         check for inexactness explicitly.
6977         * math/libm-test.inc (fma_test_data): Add another test.
6979 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6981         * manual/threads.texi (Non-POSIX Extensions): New document
6982         node.  Document pthread_getattr_default_np and
6983         pthread_setattr_default_np.
6985         * Versions.def (libpthread): Add GLIBC_2.18.
6986         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6988         Likewise.
6989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6990         Likewise.
6991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6992         Likewise.
6993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6994         Likewise.
6995         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6996         Likewise.
6997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6998         Likewise.
6999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7000         Likewise.
7001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7002         Likewise.
7003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7004         Likewise.
7006 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7009         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7011 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7012             H.J. Lu  <hjl.tools@gmail.com>
7014         [BZ #15627]
7015         * sysdeps/x86_64/rtld-memset.c: Remove file.
7016         * sysdeps/x86_64/rtld-memset.S: New file.
7018 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7020         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7021         (test_in_one_mode): Take arguments for whether the rounding mode
7022         is supported for each floating-point type.
7023         (do_test): Pass new arguments to test_in_one_mode using
7024         ROUNDING_TESTS.
7026 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7028         * posix/tst-waitid.c (do_test): Distinguish different instances of
7029         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7030         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7031         before entering the kernel for waitpid.
7033 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7035         * NEWS: Fix note on clock function precision.  Text by Roland
7036         McGrath.
7038 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7040         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7041         it into place only when and if the sanity check passes.
7043 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7045         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7046         output for whether conversion result is exact.  Take argument
7047         indicating whether type is IBM long double.
7048         (round_for_all): Change need_exact field to ibm_ld.
7049         * stdlib/tst-strtod-round.c (struct exactness): New type.
7050         (struct test): Change bool ld_ok field to struct exactness exact.
7051         (TEST): Update all definitions for change to field.
7052         (tests): Regenerate array contents.
7053         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7054         field value.  Check for IBM long double here.
7055         (do_test): Update calls to test_in_one_mode.
7057 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7059         [BZ #12515]
7060         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7061         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7063 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7065         [BZ #15605]
7066         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7067         generated by the compiler on loop optimizations.
7068         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7069         general definitions.
7071 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7073         * math/bug-nextafter.c: Include <math-tests.h>.
7074         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7075         the relevant type.
7076         * math/bug-nexttoward.c: Include <math-tests.h>.
7077         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7078         the relevant type.
7079         * math/test-misc.c: Include <math-tests.h>.
7080         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7081         the relevant type.
7083 2013-06-12  Andreas Jaeger  <aj@suse.de>
7085         * po/ia.po: Update Interlingua translation from translation
7086         project.
7088 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7090         * include/fenv.h: Include stdbool.h.
7091         (struct rm_ctx): New structure.
7092         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7093         Define macro.
7094         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7095         (SET_RESTORE_ROUNDF): Likewise.
7096         (SET_RESTORE_ROUNDL): Likewise.
7097         (SET_RESTORE_ROUND_NOEX): Likewise.
7098         (SET_RESTORE_ROUND_NOEXF): Likewise.
7099         (SET_RESTORE_ROUND_NOEXL): Likewise.
7100         (SET_RESTORE_ROUND_53BIT): Likewise.
7101         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7102         (libc_feresetround_noexf_ctx): Likewise.
7103         (libc_feresetround_noexl_ctx): Likewise.
7104         (libc_feholdsetround_53bit_ctx): Likewise.
7105         (libc_feresetround_53bit_ctx): Likewise.
7106         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7107         (libc_feholdexcept_setround_sse_ctx): New function.
7108         (libc_fesetenv_sse_ctx): Likewise.
7109         (libc_feupdateenv_sse_ctx): Likewise.
7110         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7111         (libc_feholdexcept_setround_387_ctx): Likewise.
7112         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7113         (libc_feholdsetround_387_prec_ctx): Likewise.
7114         (libc_feholdsetround_387_ctx): Likewise.
7115         (libc_feholdsetround_387_53bit_ctx): Likewise.
7116         (libc_feholdsetround_sse_ctx): Likewise.
7117         (libc_feresetround_sse_ctx): Likewise.
7118         (libc_feresetround_387_ctx): Likewise.
7119         (libc_feupdateenv_387_ctx): Likewise.
7120         (libc_feholdexcept_setroundf_ctx): Define macro.
7121         (libc_fesetenvf_ctx): Likewise.
7122         (libc_feupdateenvf_ctx): Likewise.
7123         (libc_feholdsetroundf_ctx): Likewise.
7124         (libc_feresetroundf_ctx): Likewise.
7125         (libc_feholdexcept_setround_ctx): Likewise.
7126         (libc_fesetenv_ctx): Likewise.
7127         (libc_feupdateenv_ctx): Likewise.
7128         (libc_feholdsetround_ctx): Likewise.
7129         (libc_feresetround_ctx): Likewise.
7130         (libc_feholdexcept_setroundl_ctx): Likewise.
7131         (libc_feupdateenvl_ctx): Likewise.
7132         (libc_feholdsetroundl_ctx): Likewise.
7133         (libc_feresetroundl_ctx): Likewise.
7134         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7135         (libc_feresetround_53bit_ctx): Likewise.
7137 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7139         * locale/iso-639.def: Convert to UTF-8.
7141 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7143         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7144         (EXCEPTION_TESTS_double): Likewise.
7145         (EXCEPTION_TESTS_long_double): Likewise.
7146         (EXCEPTION_TESTS): Likewise.
7147         * math/libm-test.inc (test_exceptions): Only test exceptions if
7148         EXCEPTION_TESTS (FLOAT).
7150 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7152         * benchtests/Makefile (string-bench): Add strcpy_chk and
7153         stpcpy_chk.
7154         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7155         * benchtests/bench-stpcpy_chk.c: New file.
7156         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7157         * benchtests/bench-strcpy_chk.c: New file.
7158         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7159         code.
7160         (do_test): Likewise.
7162 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7164         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7165         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7166         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7167         with tabs where appropriate.
7168         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7169         dl-procinfo.h.
7170         [PPC_PLATFORM_PPC440]: Likewise.
7171         [PPC_PLATFORM_PPC464]: Likewise.
7172         [PPC_PLATFORM_PPC476]: Likewise.
7173         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7174         ppc464, and ppc476 platform strings merging from ports/
7175         dl-procinfo.h.
7177 2013-06-11  Andreas Schwab  <schwab@suse.de>
7179         [BZ #14991]
7180         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7181         (from_ucs4_idx): Regenerate.
7182         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7183         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7184         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7185         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7186         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7187         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7188         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7189         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7190         from FROM_LOOP and TO_LOOP specific macros.
7191         (BODY): Handle combining characters.
7192         * iconvdata/BIG5HKSCS.irreversible: Update.
7193         * iconvdata/BIG5HKSCS.precomposed: New file.
7194         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7195         characters.
7196         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7198 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7200         * include/sys/time.h: Fix indentation and add copyright header.
7202         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7203         (do_test): Likewise.
7204         * string/test-memchr.c (do_one_test): Likewise.
7205         (do_test): Likewise.
7206         * string/test-memcmp.c (do_one_test): Likewise.
7207         (do_test): Likewise.
7208         * string/test-memcpy.c (do_one_test): Likewise.
7209         (do_test): Likewise.
7210         * string/test-memmem.c (do_one_test): Likewise.
7211         (do_test): Likewise.
7212         (do_random_tests): Likewise.
7213         * string/test-memmove.c (do_one_test): Likewise.
7214         (do_test): Likewise.
7215         * string/test-memset.c (do_one_test): Likewise.
7216         (do_test): Likewise.
7217         * string/test-rawmemchr.c (do_one_test): Likewise.
7218         (do_test): Likewise.
7219         * string/test-strcasecmp.c (do_one_test): Likewise.
7220         (do_test): Likewise.
7221         * string/test-strcasestr.c (do_one_test): Likewise.
7222         (do_test): Likewise.
7223         * string/test-strcat.c (do_one_test): Likewise.
7224         (do_test): Likewise.
7225         * string/test-strchr.c (do_one_test): Likewise.
7226         (do_test): Likewise.
7227         * string/test-strcmp.c (do_one_test): Likewise.
7228         (do_test): Likewise.
7229         * string/test-strcpy.c (do_one_test): Likewise.
7230         (do_test): Likewise.
7231         * string/test-string.h: Likewise.
7232         (test_init): Likewise.
7233         * string/test-strlen.c (do_one_test): Likewise.
7234         (do_test): Likewise.
7235         * string/test-strncasecmp.c (do_one_test): Likewise.
7236         (do_test): Likewise.
7237         * string/test-strncat.c (do_one_test): Likewise.
7238         (do_test): Likewise.
7239         * string/test-strncmp.c (do_one_test): Likewise.
7240         (do_test_limit): Likewise.
7241         (do_test): Likewise.
7242         * string/test-strncpy.c (do_one_test): Likewise.
7243         (do_test): Likewise.
7244         * string/test-strnlen.c (do_one_test): Likewise.
7245         (do_test): Likewise.
7246         * string/test-strpbrk.c (do_one_test): Likewise.
7247         (do_test): Likewise.
7248         * string/test-strrchr.c (do_one_test): Likewise.
7249         (do_test): Likewise.
7250         * string/test-strspn.c (do_one_test): Likewise.
7251         (do_test): Likewise.
7252         * string/test-strstr.c (do_one_test): Likewise.
7253         (do_test): Likewise.
7255         * benchtests/Makefile (string-bench): Add string benchmarks.
7256         * benchtests/bench-bcopy-ifunc.c: New file.
7257         * benchtests/bench-bcopy.c: New file.
7258         * benchtests/bench-bzero-ifunc.c: New file.
7259         * benchtests/bench-bzero.c: New file.
7260         * benchtests/bench-memccpy-ifunc.c: New file.
7261         * benchtests/bench-memccpy.c: New file.
7262         * benchtests/bench-memchr-ifunc.c: New file.
7263         * benchtests/bench-memchr.c: New file.
7264         * benchtests/bench-memcmp-ifunc.c: New file.
7265         * benchtests/bench-memcmp.c: New file.
7266         * benchtests/bench-memmem-ifunc.c: New file.
7267         * benchtests/bench-memmem.c: New file.
7268         * benchtests/bench-memmove-ifunc.c: New file.
7269         * benchtests/bench-memmove.c: New file.
7270         * benchtests/bench-mempcpy-ifunc.c: New file.
7271         * benchtests/bench-mempcpy.c: New file.
7272         * benchtests/bench-memset-ifunc.c: New file.
7273         * benchtests/bench-memset.c: New file.
7274         * benchtests/bench-rawmemchr-ifunc.c: New file.
7275         * benchtests/bench-rawmemchr.c: New file.
7276         * benchtests/bench-stpcpy-ifunc.c: New file.
7277         * benchtests/bench-stpcpy.c: New file.
7278         * benchtests/bench-stpncpy-ifunc.c: New file.
7279         * benchtests/bench-stpncpy.c: New file.
7280         * benchtests/bench-strcasecmp-ifunc.c: New file.
7281         * benchtests/bench-strcasecmp.c: New file.
7282         * benchtests/bench-strcasestr-ifunc.c: New file.
7283         * benchtests/bench-strcasestr.c: New file.
7284         * benchtests/bench-strcat-ifunc.c: New file.
7285         * benchtests/bench-strcat.c: New file.
7286         * benchtests/bench-strchr-ifunc.c: New file.
7287         * benchtests/bench-strchr.c: New file.
7288         * benchtests/bench-strchrnul-ifunc.c: New file.
7289         * benchtests/bench-strchrnul.c: New file.
7290         * benchtests/bench-strcmp-ifunc.c: New file.
7291         * benchtests/bench-strcmp.c: New file.
7292         * benchtests/bench-strcpy-ifunc.c: New file.
7293         * benchtests/bench-strcpy.c: New file.
7294         * benchtests/bench-strcspn-ifunc.c: New file.
7295         * benchtests/bench-strcspn.c: New file.
7296         * benchtests/bench-strlen-ifunc.c: New file.
7297         * benchtests/bench-strlen.c: New file.
7298         * benchtests/bench-strncasecmp-ifunc.c: New file.
7299         * benchtests/bench-strncasecmp.c: New file.
7300         * benchtests/bench-strncat-ifunc.c: New file.
7301         * benchtests/bench-strncat.c: New file.
7302         * benchtests/bench-strncmp-ifunc.c: New file.
7303         * benchtests/bench-strncmp.c: New file.
7304         * benchtests/bench-strncpy-ifunc.c: New file.
7305         * benchtests/bench-strncpy.c: New file.
7306         * benchtests/bench-strnlen-ifunc.c: New file.
7307         * benchtests/bench-strnlen.c: New file.
7308         * benchtests/bench-strpbrk-ifunc.c: New file.
7309         * benchtests/bench-strpbrk.c: New file.
7310         * benchtests/bench-strrchr-ifunc.c: New file.
7311         * benchtests/bench-strrchr.c: New file.
7312         * benchtests/bench-strspn-ifunc.c: New file.
7313         * benchtests/bench-strspn.c: New file.
7314         * benchtests/bench-strstr-ifunc.c: New file.
7315         * benchtests/bench-strstr.c: New file.
7317         * benchtests/Makefile: Disable parallel execution of targets.
7318         (string-bench): Add memcpy.
7319         (benchset): New variable to store a list of benchmark sets.
7320         (bench-func): Renamed from bench.
7321         (bench-set): New target.
7322         (bench): Depend on bench-func and bench-set.
7323         * benchtests/README: Add section on benchmark sets.
7324         * benchtests/bench-memcpy-ifunc.c: New file.
7325         * benchtests/bench-memcpy.c: New file.
7326         * benchtests/bench-string.h: New file.
7328 2013-06-11  Andreas Schwab  <schwab@suse.de>
7330         [BZ #15577]
7331         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7332         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7333         values in the triple.
7334         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7335         terminator in the group key.
7337 2013-06-11  Andreas Jaeger  <aj@suse.de>
7339         * po/zh_TW.po: Update Chinese (traditional) translation from
7340         translation project.
7342 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7344         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7345         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7346         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7347         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7348         (clock_getcpuclockid): Likewise.
7349         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7350         Add weak_alias and libc_hidden_def.
7351         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7352         * rt/clock_gettime.c (clock_gettime): Rename to
7353         __clock_gettime.  Add weak_alias and libc_hidden_def.
7354         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7355         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7356         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7357         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7358         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7359         Likewise.
7360         * rt/clock_settime.c (clock_settime): Rename to
7361         __clock_settime.  Add weak_alias and libc_hidden_def.
7362         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7364 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7366         * mach/err_boot.sub: Remove trailing whitespace.
7367         * mach/err_ipc.sub: Likewise.
7368         * mach/err_mach.sub: Likewise.
7370         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7371         (ROUNDING_TESTS_double): Likewise.
7372         (ROUNDING_TESTS_long_double): Likewise.
7373         (ROUNDING_TESTS): Likewise.
7374         * math/libm-test.inc: Include <math-tests.h>.
7375         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7376         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7377         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7378         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7380 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7382         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7383         of assigning.
7385 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7387         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7388         otherwise empty TRANS lines.
7389         * sysdeps/gnu/errlist.c: Regenerated.
7391         * catgets/gencat.c (error_print): Use (void) in function
7392         definition.
7393         * crypt/crypt_util.c (__init_des): Likewise.
7394         * crypt/speeds.c (Stop): Likewise.
7395         (main): Likewise.
7396         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7397         * inet/ruserpass.c (token): Likewise.
7398         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7399         * intl/localealias.c (extend_alias_table): Likewise.
7400         * intl/plural-exp.c (init_germanic_plural): Likewise.
7401         * libio/fcloseall.c (__fcloseall): Likewise.
7402         * libio/genops.c (_IO_flush_all): Likewise.
7403         (_IO_flush_all_linebuffered): Likewise.
7404         (_IO_cleanup): Likewise.
7405         (_IO_iter_begin): Likewise.
7406         (_IO_iter_end): Likewise.
7407         (_IO_list_lock): Likewise.
7408         (_IO_list_unlock): Likewise.
7409         (_IO_list_resetlock): Likewise.
7410         * libio/getchar.c (getchar): Likewise.
7411         * libio/getchar_u.c (getchar_unlocked): Likewise.
7412         * libio/getwchar.c (getwchar): Likewise.
7413         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7414         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7415         * login/getpt.c (__getpt): Likewise.
7416         * login/tst-utmp.c (main): Likewise.
7417         * malloc/hooks.c (__malloc_check_init): Likewise.
7418         * malloc/malloc.c (__malloc_stats): Likewise.
7419         * malloc/mtrace.c (tr_break): Likewise.
7420         (mtrace): Likewise.
7421         (muntrace): Likewise.
7422         * misc/fstab.c (endfsent): Likewise.
7423         * misc/getclktck.c (__getclktck): Likewise.
7424         * misc/getdtsz.c (__getdtablesize): Likewise.
7425         * misc/gethostid.c (gethostid): Likewise.
7426         * misc/getpagesize.c (__getpagesize): Likewise.
7427         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7428         (__get_nprocs): Likewise.
7429         (__get_phys_pages): Likewise.
7430         (__get_avphys_pages): Likewise.
7431         * misc/getttyent.c (getttyent): Likewise.
7432         (setttyent): Likewise.
7433         (endttyent): Likewise.
7434         * misc/getusershell.c (getusershell): Likewise.
7435         (endusershell): Likewise.
7436         (setusershell): Likewise.
7437         (initshells): Likewise.
7438         * misc/hsearch.c (__hdestroy): Likewise.
7439         * misc/sync.c (sync): Likewise.
7440         * misc/syslog.c (closelog_internal): Likewise.
7441         (closelog): Likewise.
7442         * misc/ttyslot.c (ttyslot): Likewise.
7443         * misc/vhangup.c (vhangup): Likewise.
7444         * posix/fork.c (__fork): Likewise.
7445         * posix/getegid.c (__getegid): Likewise.
7446         * posix/geteuid.c (__geteuid): Likewise.
7447         * posix/getgid.c (__getgid): Likewise.
7448         * posix/getpid.c (__getpid): Likewise.
7449         * posix/getppid.c (__getppid): Likewise.
7450         * posix/getuid.c (__getuid): Likewise.
7451         * posix/pause.c (pause): Likewise.
7452         * posix/setpgrp.c (setpgrp): Likewise.
7453         * posix/setsid.c (__setsid): Likewise.
7454         * posix/test-vfork.c (noop): Likewise.
7455         * resolv/gethnamaddr.c (_endhtent): Likewise.
7456         (_gethtent): Likewise.
7457         (ht_endhostent): Likewise.
7458         (gethostent): Likewise.
7459         (dns_service): Likewise.
7460         * stdlib/drand48.c (drand48): Likewise.
7461         * stdlib/lrand48.c (lrand48): Likewise.
7462         * stdlib/mrand48.c (mrand48): Likewise.
7463         * stdlib/rand.c (rand): Likewise.
7464         * stdlib/random.c (__random): Likewise.
7465         * stdlib/setenv.c (clearenv): Likewise.
7466         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7467         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7468         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7469         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7470         (__get_nprocs): Likewise.
7471         (__get_phys_pages): Likewise.
7472         (__get_avphys_pages): Likewise.
7473         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7474         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7475         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7476         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7477         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7478         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7479         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7480         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7481         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7482         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7483         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7484         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7485         * sysdeps/posix/clock.c (clock): Likewise.
7486         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7487         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7488         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7489         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7490         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7491         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7492         (__get_nprocs_conf): Likewise.
7493         (__get_phys_pages): Likewise.
7494         (__get_avphys_pages): Likewise.
7495         * time/clock.c (clock): Likewise.
7496         * time/tzset.c (__tzname_max): Likewise.
7498 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7500         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7501         (__bswap_32): Do not use "register".
7502         * crypt/crypt.c (_ufc_doit_r): Likewise.
7503         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7504         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7505         * gmon/gmon.c (__monstartup): Likewise.
7506         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7507         * hurd/hurdmalloc.c (more_memory): Likewise.
7508         (malloc): Likewise.
7509         (free): Likewise.
7510         (realloc): Likewise.
7511         (malloc_fork_prepare): Likewise.
7512         (malloc_fork_parent): Likewise.
7513         (malloc_fork_child): Likewise.
7514         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7515         (_svcauth_des): Likewise.
7516         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7517         * inet/inet_net.c (inet_network): Likewise.
7518         * inet/inet_netof.c (inet_netof): Likewise.
7519         * inet/rcmd.c (__validuser2_sa): Likewise.
7520         * io/fts.c (fts_open): Likewise.
7521         (fts_load): Likewise.
7522         (fts_close): Likewise.
7523         (fts_read): Likewise.
7524         (fts_children): Likewise.
7525         (fts_build): Likewise.
7526         (fts_stat): Likewise.
7527         (fts_sort): Likewise.
7528         (fts_alloc): Likewise.
7529         (fts_lfree): Likewise.
7530         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7531         (_IO_file_xsgetn): Likewise.
7532         (_IO_file_xsgetn_mmap): Likewise.
7533         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7534         (_IO_cookie_write): Likewise.
7535         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7536         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7537         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7538         * malloc/obstack.c (_obstack_begin): Likewise.
7539         (_obstack_begin_1): Likewise.
7540         (_obstack_newchunk): Likewise.
7541         (_obstack_allocated_p): Likewise.
7542         (obstack_free): Likewise.
7543         (_obstack_memory_used): Likewise.
7544         * misc/getttyent.c (getttynam): Likewise.
7545         (getttyent): Likewise.
7546         (skip): Likewise.
7547         (value): Likewise.
7548         * misc/getusershell.c (initshells): Likewise.
7549         * misc/syslog.c (__vsyslog_chk): Likewise.
7550         * misc/ttyslot.c (ttyslot): Likewise.
7551         * nis/nis_hash.c (__nis_hash): Likewise.
7552         * posix/fnmatch_loop.c (FCT): Likewise.
7553         * posix/getconf.c (print_all): Likewise.
7554         (main): Likewise.
7555         * posix/getopt.c (exchange): Likewise.
7556         * posix/glob.c (globfree): Likewise.
7557         (prefix_array): Likewise.
7558         (__glob_pattern_type): Likewise.
7559         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7560         (NS_GET32): Likewise.
7561         (NS_PUT16): Likewise.
7562         (NS_PUT32): Likewise.
7563         * resolv/gethnamaddr.c (getanswer): Likewise.
7564         (gethostbyname2): Likewise.
7565         (gethostbyaddr): Likewise.
7566         (_gethtent): Likewise.
7567         (_gethtbyname2): Likewise.
7568         (_gethtbyaddr): Likewise.
7569         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7570         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7571         * resolv/res_init.c (__res_vinit): Likewise.
7572         (net_mask): Likewise.
7573         * resolv/res_mkquery.c (outchar): Likewise.
7574         (PRINT): Likewise.
7575         * stdio-common/printf_fp.c (outchar): Likewise.
7576         (PRINT): Likewise.
7577         * stdio-common/printf_fphex.c (outchar): Likewise.
7578         (PRINT): Likewise.
7579         * stdio-common/printf_size.c (outchar): Likewise.
7580         (PRINT): Likewise.
7581         * stdio-common/test_rdwr.c (main): Likewise.
7582         * stdio-common/tfformat.c (matches): Likewise.
7583         * stdio-common/vfprintf.c (outchar): Likewise.
7584         (printf_unknown): Likewise.
7585         (buffered_vfprintf): Likewise.
7586         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7587         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7588         (ReadFile): Likewise.
7589         * stdlib/qsort.c (SWAP): Likewise.
7590         (_quicksort): Likewise.
7591         * stdlib/setenv.c (__add_to_environ): Likewise.
7592         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7593         * stdlib/strtol_l.c (__strtol_l): Likewise.
7594         * stdlib/tst-strtod.c (main): Likewise.
7595         * stdlib/tst-strtol.c (main): Likewise.
7596         * stdlib/tst-strtoll.c (main): Likewise.
7597         * string/bits/string2.h (__strcmp_cc): Likewise.
7598         (__strcmp_cg): Likewise.
7599         (__strcspn_c1): Likewise.
7600         (__strcspn_c2): Likewise.
7601         (__strcspn_c3): Likewise.
7602         (__strspn_c1): Likewise.
7603         (__strspn_c2): Likewise.
7604         (__strspn_c3): Likewise.
7605         (__strsep_1c): Likewise.
7606         (__strsep_2c): Likewise.
7607         (__strsep_3c): Likewise.
7608         * string/memccpy.c (__memccpy): Likewise.
7609         * string/stpcpy.c (__stpcpy): Likewise.
7610         * string/strcmp.c (strcmp): Likewise.
7611         * string/strrchr.c (strrchr): Likewise.
7612         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7613         Likewise.
7614         * sysdeps/mach/hurd/getcwd.c
7615         (_hurd_canonicalize_directory_name_internal): Likewise.
7616         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7617         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7618         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7619         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7620         Likewise, in both definitions.
7621         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7622         definitions.
7623         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7624         64] (__bswap_64): Likewise.
7625         * time/test_time.c (main): Likewise.
7626         * time/tzfile.c (__tzfile_read): Likewise.
7627         (__tzfile_compute): Likewise.
7628         * time/tzset.c (__tzset_parse_tz): Likewise.
7629         (tzset_internal): Likewise.
7630         (compute_change): Likewise.
7631         * wcsmbs/wcscat.c (__wcscat): Likewise.
7632         * wcsmbs/wcschr.c (wcschr): Likewise.
7633         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7634         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7635         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7636         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7637         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7638         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7639         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7640         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7641         * wcsmbs/wmemset.c (wmemset): Likewise.
7643 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7645         * scripts/config.guess: Update to version 2013-05-16.
7646         * scripts/config.sub: Update to version 2013-04-24.
7647         * scripts/install-sh: Update to version 2011-11-20.07.
7648         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7649         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7651 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7653         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7654         * elf/sln.c: Likewise.
7655         * hurd/hurd/ioctl.h: Likewise.
7656         * hurd/hurdmalloc.c: Likewise.
7657         * hurd/xattr.c: Likewise.
7658         * include/shlib-compat.h: Likewise.
7659         * inet/ruserpass.c: Likewise.
7660         * libio/iofgets_u.c: Likewise.
7661         * libio/iofgetws_u.c: Likewise.
7662         * locale/programs/ld-identification.c: Likewise.
7663         * locale/programs/ld-time.c: Likewise.
7664         * mach/msg-destroy.c: Likewise.
7665         * nss/nss_files/files-netgrp.c: Likewise.
7666         * resolv/res_data.c: Likewise.
7667         * soft-fp/op-1.h: Likewise.
7668         * soft-fp/op-2.h: Likewise.
7669         * soft-fp/op-4.h: Likewise.
7670         * soft-fp/op-common.h: Likewise.
7671         * stdio-common/printf_fphex.c: Likewise.
7672         * stdlib/strtod_l.c: Likewise.
7673         * sunrpc/rpc/clnt.h: Likewise.
7674         * sysdeps/generic/framestate.c: Likewise.
7675         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7676         * sysdeps/i386/bsd-setjmp.S: Likewise.
7677         * sysdeps/i386/__longjmp.S: Likewise.
7678         * sysdeps/i386/setjmp.S: Likewise.
7679         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7680         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7681         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7682         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7683         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7684         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7685         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7686         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7687         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7688         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7689         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7690         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7691         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7692         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7693         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7694         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7695         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7696         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7697         * sysdeps/ieee754/support.c: Likewise.
7698         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7699         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7700         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7701         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7702         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7703         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7704         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7705         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7706         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7707         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7708         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7709         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7710         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7711         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7712         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7713         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7714         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7717 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7719         * posix/transbug.c: Remove executable mode.
7721 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7723         * crypt/speeds.c: Remove trailing whitespace.
7724         * dlfcn/default.c: Likewise.
7725         * elf/ifuncdep2.c: Likewise.
7726         * elf/ifuncmain1.c: Likewise.
7727         * elf/ifuncmain1vis.c: Likewise.
7728         * elf/testobj.h: Likewise.
7729         * elf/tst-stackguard1.c: Likewise.
7730         * gmon/sys/gmon.h: Likewise.
7731         * hurd/hurdmsg.c: Likewise.
7732         * hurd/new-fd.c: Likewise.
7733         * hurd/ports-get.c: Likewise.
7734         * iconvdata/ibm1008_420.c: Likewise.
7735         * inet/tst-getni1.c: Likewise.
7736         * inet/tst-getni2.c: Likewise.
7737         * libio/ioungetc.c: Likewise.
7738         * libio/wfiledoalloc.c: Likewise.
7739         * manual/libm-err-tab.pl: Likewise.
7740         * math/w_dremf.c: Likewise.
7741         * misc/ftruncate.c: Likewise.
7742         * posix/bug-glob2.c: Likewise.
7743         * posix/tst-pcre.c: Likewise.
7744         * posix/wait4.c: Likewise.
7745         * resolv/README: Likewise.
7746         * resolv/res_debug.h: Likewise.
7747         * resolv/tst-inet_ntop.c: Likewise.
7748         * setjmp/bug269-setjmp.c: Likewise.
7749         * soft-fp/extended.h: Likewise.
7750         * soft-fp/op-1.h: Likewise.
7751         * soft-fp/op-2.h: Likewise.
7752         * soft-fp/op-4.h: Likewise.
7753         * soft-fp/op-8.h: Likewise.
7754         * soft-fp/testit.c: Likewise.
7755         * stdio-common/bug16.c: Likewise.
7756         * stdlib/random.c: Likewise.
7757         * sunrpc/rpcsvc/rquota.x: Likewise.
7758         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7759         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7760         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7761         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7762         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7763         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7764         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7765         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7766         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7767         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7768         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7769         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7770         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7771         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7772         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7773         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7774         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7775         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7776         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7777         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7778         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7779         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7780         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7781         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7782         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7783         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7784         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7785         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7786         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7787         * sysdeps/ieee754/s_lib_version.c: Likewise.
7788         * sysdeps/mach/hurd/check_fds.c: Likewise.
7789         * sysdeps/mach/hurd/getsockname.c: Likewise.
7790         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7791         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7792         * sysdeps/powerpc/bits/link.h: Likewise.
7793         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7794         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7795         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7796         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7797         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7798         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7799         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7800         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7801         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7802         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7803         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7804         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7805         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7806         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7807         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7808         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7809         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7810         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7811         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7812         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7813         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7814         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7815         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7816         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7817         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7818         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7819         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7820         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7821         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7822         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7823         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7824         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7825         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7826         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7827         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7828         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7829         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7830         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7831         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7832         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7833         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7834         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7835         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7836         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7837         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7838         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7839         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7840         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7841         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7842         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7843         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7844         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7845         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7846         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7847         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7848         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7849         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7850         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7851         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7852         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7853         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7854         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7855         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7856         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7857         * sysdeps/powerpc/sysdep.h: Likewise.
7858         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7859         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7860         * sysdeps/sh/dl-trampoline.S: Likewise.
7861         * sysdeps/sh/memset.S: Likewise.
7862         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7863         * sysdeps/sh/strlen.S: Likewise.
7864         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7865         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7866         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7867         * sysdeps/sparc/sparc32/rem.S: Likewise.
7868         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7869         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7870         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7871         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7872         * sysdeps/sparc/sparc32/urem.S: Likewise.
7873         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7874         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7875         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7876         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7877         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7878         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7879         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7880         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7881         * sysdeps/unix/bsd/times.c: Likewise.
7882         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7883         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7887         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7888         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7889         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7890         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7891         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7892         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7893         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7894         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7895         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7896         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7897         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7898         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7899         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7900         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7901         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7902         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7903         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7904         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7905         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7906         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7907         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7908         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7909         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7910         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7911         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7912         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7913         * sysdeps/x86_64/strcspn.S: Likewise.
7915 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7917         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7918         generated file.  Regenerate properly from gen-translit.pl.
7919         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7920         locale/C-translit.h.
7922 2013-06-05  Andreas Schwab  <schwab@suse.de>
7924         [BZ #15100]
7925         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7926         week as 6 instead of -1.
7927         * time/tst-strptime.c (day_tests): Add test case.
7929 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7931         * sysdeps/generic/math_private.h
7932         (libc_feholdexcept_setround_53bit): Replace with
7933         libc_feholdsetround_53bit.
7934         (libc_feupdateenv_53bit): Replace with
7935         libc_feresetround_53bit.
7936         (SET_RESTORE_ROUND_53BIT): Adjust.
7938 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7940         * string/test-strchrnul.c: Add copyright header.
7942         * posix/tst-getaddrinfo4.c: Increase test timeout.
7944 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7946         [BZ #15536]
7947         * math/libm-test.inc (MAX_EXP): Remove
7948         (MIN_EXP): Define.
7949         (ulp): Use MIN_EXP - MANT_DIG.
7950         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7952 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7954         * po/be.po: Revert last change.
7955         * po/zh_CN.po: Likewise.
7956         * po/header.pot: Likewise.
7958 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7960         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7961         link-libc-deps to empty as target-specific variable.
7962         * Makerules (link-libc-args): New variable.
7963         (libc-for-link): Likewise.
7964         (link-libc-deps): Likewise.
7965         (lib%.so): Depend on $(link-libc-deps).  Link with
7966         $(link-libc-args).
7967         (build-module): Link with $(link-libc-args).
7968         (build-module-asneeded): Likewise.
7969         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7970         list of objects.
7971         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7972         target-specific variable.
7973         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7974         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7975         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7976         libc.
7977         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7978         libc and ld.so.
7979         ($(objpfx)libpcprofile.so): Likewise.
7980         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7981         libc_nonshared.a.
7982         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7983         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7984         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7985         $(link-libc-deps).
7986         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7987         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7988         * login/Makefile ($(objpfx)libutil.so): Likewise.
7989         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7990         * math/Makefile ($(objpfx)libm.so): Likewise.
7991         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7992         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7993         variable instead of depending directly on libc.
7994         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7995         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7996         $(link-libc-deps).
7997         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7998         libc.
7999         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8000         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8001         ($(objpfx)libanl.so): Likewise.
8002         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8003         ld.so.
8004         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8005         $(link-libc-deps).
8006         * sysdeps/i386/fpu/Makefile: Remove file.
8007         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8008         ($(objpfx)libm.so): Remove dependency on ld.so.
8010 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8012         [BZ # 15553]
8013         * nis/yp_xdr.c (XDRMAXNAME): Define.
8014         (XDRMAXRECORD): Define.
8015         (xdr_domainname): Use XDRMAXNAME.
8016         (xdr_mapname): Likewise.
8017         (xdr_peername): Likewise.
8018         (xdr_keydat): Use XDRMAXRECORD.
8019         (xdr_valdat): Likewise.
8021 2013-05-30  Jeff Law  <law@redhat.com>
8023         [BZ #14256]
8024         * manual/errno.texi (ESTALE): Update to account for more than
8025         just NFS file systems.
8026         * sysdeps/gnu/errlist.c: Regenerated.
8028 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8030         [BZ #15465]
8031         * elf/Makefile (tests): Add tst-null-argv.
8032         (modules-names):  Add tst-null-argv-lib.
8033         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8034         (tst-null-argv-ENV): Set environment for tst-null-argv.
8035         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8036         (RTLD_PROGNAME): New macro.
8037         * elf/tst-null-argv.c: New test case.
8038         * elf/tst-null-argv-lib.c: Library for test case.
8039         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8040         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8041         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8042         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8043         * elf/dl-init.c (call_init): Likewise.
8044         (_dl_init): Likewise.
8045         * elf/dl-load.c (print_search_path): Likewise.
8046         (_dl_map_object): Likewise.
8047         * elf/dl-lookup.c (do_lookup_x): Likewise.
8048         (add_dependency): Likewise.
8049         (_dl_lookup_symbol_x): Likewise.
8050         (_dl_debug_bindings): Likewise.
8051         * elf/dl-open.c (_dl_show_scope): Likewise.
8052         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8053         * elf/dl-version.c (match_symbol): Likewise.
8054         (_dl_check_map_versions): Likewise.
8055         * elf/rtld.c (dl_main): Likewise.
8056         (print_unresolved): Use RTLD_PROGNAME.
8057         (print_missing_version): Likewise.
8058         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8059         (elf_machine_rela): Likewise.
8060         * sysdeps/powerpc/powerpc32/dl-machine.c
8061         (__process_machine_rela): Likewise.
8062         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8063         Likewise.
8064         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8065         Likewise.
8066         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8067         Likewise.
8068         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8069         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8070         Likewise.
8071         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8072         Likewise.
8073         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8075 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8077         * po/be.po: Add descriptive title.
8078         * po/zh_CN.po: Likewise.
8079         * po/header.pot: Likewise.
8081 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8083         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8084         error message.
8085         (enlarge_archive): Likewise.
8087 2013-05-28  Ben North  <ben@redfrontdoor.org>
8089         * manual/arith.texi (frexp): It is the magnitude of the return
8090         value which lies in [0.5, 1), not the return value itself.
8092 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8096 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8098         * stdio-common/bug26.c (main): Correct fscanf template.
8100         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8101         declare _dl_skip_args.
8103         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8104         Don't declare.
8106         * manual/platform.texi: Add missing @end deftypefun.
8108 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8110         [BZ #15529]
8111         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8112         bit of mantissa of 2^16382.
8113         * math/libm-test.inc (hypot_test_data): Add more tests.
8115         * math/libm-test.inc: Add drem and pow10 to list of tested
8116         functions.
8117         (pow10_test): New function.
8118         (drem_test): Likewise.
8119         (drem_test_tonearest): Likewise.
8120         (drem_test_towardzero): Likewise.
8121         (drem_test_downward): Likewise.
8122         (drem_test_upward): Likewise.
8123         (main): Call the new functions.
8125         * math/libm-test.inc (finite_test_data): Remove.
8126         (finite_test): Run tests from isfinite_test_data.
8127         (gamma_test_data): Remove.
8128         (gamma_test): Run tests from lgamma_test_data.
8129         * sysdeps/i386/fpu/libm-test-ulps: Update.
8130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8132 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8134         * manual/platform.texi: Add PowerPC PPR function set documentation.
8135         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8136         implementation.
8138 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8140         * math/libm-test.inc (MAX_EXP): Define.
8141         (ULPDIFF): Define.
8142         (ulp): New function.
8143         (check_float_internal): Use ULPDIFF.
8144         (cpow_test): Disable failing test.
8145         (check_ulp): Test ulp() implemetnation.
8146         (main): Call check_ulp before starting tests.
8148 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8150         * math/gen-libm-test.pl (generate_testfile): Do not handle
8151         START_DATA and END_DATA.
8152         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8153         END_DATA.
8154         (acos_tonearest_test_data): Likewise.
8155         (acos_towardzero_test_data): Likewise.
8156         (acos_downward_test_data): Likewise.
8157         (acos_upward_test_data): Likewise.
8158         (acosh_test_data): Likewise.
8159         (asin_test_data): Likewise.
8160         (asin_tonearest_test_data): Likewise.
8161         (asin_towardzero_test_data): Likewise.
8162         (asin_downward_test_data): Likewise.
8163         (asin_upward_test_data): Likewise.
8164         (asinh_test_data): Likewise.
8165         (atan_test_data): Likewise.
8166         (atanh_test_data): Likewise.
8167         (atan2_test_data): Likewise.
8168         (cabs_test_data): Likewise.
8169         (cacos_test_data): Likewise.
8170         (cacosh_test_data): Likewise.
8171         (carg_test_data): Likewise.
8172         (casin_test_data): Likewise.
8173         (casinh_test_data): Likewise.
8174         (catan_test_data): Likewise.
8175         (catanh_test_data): Likewise.
8176         (cbrt_test_data): Likewise.
8177         (ccos_test_data): Likewise.
8178         (ccosh_test_data): Likewise.
8179         (ceil_test_data): Likewise.
8180         (cexp_test_data): Likewise.
8181         (cimag_test_data): Likewise.
8182         (clog_test_data): Likewise.
8183         (clog10_test_data): Likewise.
8184         (conj_test_data): Likewise.
8185         (copysign_test_data): Likewise.
8186         (cos_test_data): Likewise.
8187         (cos_tonearest_test_data): Likewise.
8188         (cos_towardzero_test_data): Likewise.
8189         (cos_downward_test_data): Likewise.
8190         (cos_upward_test_data): Likewise.
8191         (cosh_test_data): Likewise.
8192         (cosh_tonearest_test_data): Likewise.
8193         (cosh_towardzero_test_data): Likewise.
8194         (cosh_downward_test_data): Likewise.
8195         (cosh_upward_test_data): Likewise.
8196         (cpow_test_data): Likewise.
8197         (cproj_test_data): Likewise.
8198         (creal_test_data): Likewise.
8199         (csin_test_data): Likewise.
8200         (csinh_test_data): Likewise.
8201         (csqrt_test_data): Likewise.
8202         (ctan_test_data): Likewise.
8203         (ctan_tonearest_test_data): Likewise.
8204         (ctan_towardzero_test_data): Likewise.
8205         (ctan_downward_test_data): Likewise.
8206         (ctan_upward_test_data): Likewise.
8207         (ctanh_test_data): Likewise.
8208         (ctanh_tonearest_test_data): Likewise.
8209         (ctanh_towardzero_test_data): Likewise.
8210         (ctanh_downward_test_data): Likewise.
8211         (ctanh_upward_test_data): Likewise.
8212         (erf_test_data): Likewise.
8213         (erfc_test_data): Likewise.
8214         (exp_test_data): Likewise.
8215         (exp_tonearest_test_data): Likewise.
8216         (exp_towardzero_test_data): Likewise.
8217         (exp_downward_test_data): Likewise.
8218         (exp_upward_test_data): Likewise.
8219         (exp10_test_data): Likewise.
8220         (exp2_test_data): Likewise.
8221         (expm1_test_data): Likewise.
8222         (fabs_test_data): Likewise.
8223         (fdim_test_data): Likewise.
8224         (finite_test_data): Likewise.
8225         (floor_test_data): Likewise.
8226         (fma_test_data): Likewise.
8227         (fma_towardzero_test_data): Likewise.
8228         (fma_downward_test_data): Likewise.
8229         (fma_upward_test_data): Likewise.
8230         (fmax_test_data): Likewise.
8231         (fmin_test_data): Likewise.
8232         (fmod_test_data): Likewise.
8233         (fpclassify_test_data): Likewise.
8234         (frexp_test_data): Likewise.
8235         (gamma_test_data): Likewise.
8236         (hypot_test_data): Likewise.
8237         (ilogb_test_data): Likewise.
8238         (isfinite_test_data): Likewise.
8239         (isgreater_test_data): Likewise.
8240         (isgreaterequal_test_data): Likewise.
8241         (isinf_test_data): Likewise.
8242         (isless_test_data): Likewise.
8243         (islessequal_test_data): Likewise.
8244         (islessgreater_test_data): Likewise.
8245         (isnan_test_data): Likewise.
8246         (isnormal_test_data): Likewise.
8247         (issignaling_test_data): Likewise.
8248         (isunordered_test_data): Likewise.
8249         (j0_test_data): Likewise.
8250         (j1_test_data): Likewise.
8251         (jn_test_data): Likewise.
8252         (ldexp_test_data): Likewise.
8253         (lgamma_test_data): Likewise.
8254         (lrint_test_data): Likewise.
8255         (lrint_tonearest_test_data): Likewise.
8256         (lrint_towardzero_test_data): Likewise.
8257         (lrint_downward_test_data): Likewise.
8258         (lrint_upward_test_data): Likewise.
8259         (llrint_test_data): Likewise.
8260         (llrint_tonearest_test_data): Likewise.
8261         (llrint_towardzero_test_data): Likewise.
8262         (llrint_downward_test_data): Likewise.
8263         (llrint_upward_test_data): Likewise.
8264         (log_test_data): Likewise.
8265         (log10_test_data): Likewise.
8266         (log1p_test_data): Likewise.
8267         (log2_test_data): Likewise.
8268         (logb_test_data): Likewise.
8269         (logb_downward_test_data): Likewise.
8270         (lround_test_data): Likewise.
8271         (llround_test_data): Likewise.
8272         (modf_test_data): Likewise.
8273         (nearbyint_test_data): Likewise.
8274         (nextafter_test_data): Likewise.
8275         (nexttoward_test_data): Likewise.
8276         (pow_test_data): Likewise.
8277         (pow_tonearest_test_data): Likewise.
8278         (pow_towardzero_test_data): Likewise.
8279         (pow_downward_test_data): Likewise.
8280         (pow_upward_test_data): Likewise.
8281         (remainder_test_data): Likewise.
8282         (remainder_tonearest_test_data): Likewise.
8283         (remainder_towardzero_test_data): Likewise.
8284         (remainder_downward_test_data): Likewise.
8285         (remainder_upward_test_data): Likewise.
8286         (remquo_test_data): Likewise.
8287         (rint_test_data): Likewise.
8288         (rint_tonearest_test_data): Likewise.
8289         (rint_towardzero_test_data): Likewise.
8290         (rint_downward_test_data): Likewise.
8291         (rint_upward_test_data): Likewise.
8292         (round_test_data): Likewise.
8293         (scalb_test_data): Likewise.
8294         (scalbn_test_data): Likewise.
8295         (scalbln_test_data): Likewise.
8296         (signbit_test_data): Likewise.
8297         (sin_test_data): Likewise.
8298         (sin_tonearest_test_data): Likewise.
8299         (sin_towardzero_test_data): Likewise.
8300         (sin_downward_test_data): Likewise.
8301         (sin_upward_test_data): Likewise.
8302         (sincos_test_data): Likewise.
8303         (sinh_test_data): Likewise.
8304         (sinh_tonearest_test_data): Likewise.
8305         (sinh_towardzero_test_data): Likewise.
8306         (sinh_downward_test_data): Likewise.
8307         (sinh_upward_test_data): Likewise.
8308         (sqrt_test_data): Likewise.
8309         (tan_test_data): Likewise.
8310         (tan_tonearest_test_data): Likewise.
8311         (tan_towardzero_test_data): Likewise.
8312         (tan_downward_test_data): Likewise.
8313         (tan_upward_test_data): Likewise.
8314         (tanh_test_data): Likewise.
8315         (tgamma_test_data): Likewise.
8316         (trunc_test_data): Likewise.
8317         (y0_test_data): Likewise.
8318         (y1_test_data): Likewise.
8319         (yn_test_data): Likewise.
8320         (significand_test_data): Likewise.
8322         * math/gen-libm-test.pl (@functions): Remove variable.
8323         (generate_testfile): Don't handle START and END lines.
8324         * math/libm-test.inc (START): New macro.
8325         (END): Likewise.
8326         (END_COMPLEX): Likewise.
8327         (acos_test): Use END macro without arguments.
8328         (acos_test_tonearest): Likewise.
8329         (acos_test_towardzero): Likewise.
8330         (acos_test_downward): Likewise.
8331         (acos_test_upward): Likewise.
8332         (acosh_test): Likewise.
8333         (asin_test): Likewise.
8334         (asin_test_tonearest): Likewise.
8335         (asin_test_towardzero): Likewise.
8336         (asin_test_downward): Likewise.
8337         (asin_test_upward): Likewise.
8338         (asinh_test): Likewise.
8339         (atan_test): Likewise.
8340         (atanh_test): Likewise.
8341         (atan2_test): Likewise.
8342         (cabs_test): Likewise.
8343         (cacos_test): Use END_COMPLEX macro without arguments.
8344         (cacosh_test): Likewise.
8345         (carg_test): Use END macro without arguments.
8346         (casin_test): Use END_COMPLEX macro without arguments.
8347         (casinh_test): Likewise.
8348         (catan_test): Likewise.
8349         (catanh_test): Likewise.
8350         (cbrt_test): Use END macro without arguments.
8351         (ccos_test): Use END_COMPLEX macro without arguments.
8352         (ccosh_test): Likewise.
8353         (ceil_test): Use END macro without arguments.
8354         (cexp_test): Use END_COMPLEX macro without arguments.
8355         (cimag_test): Use END macro without arguments.
8356         (clog_test): Use END_COMPLEX macro without arguments.
8357         (clog10_test): Likewise.
8358         (conj_test): Likewise.
8359         (copysign_test): Use END macro without arguments.
8360         (cos_test): Likewise.
8361         (cos_test_tonearest): Likewise.
8362         (cos_test_towardzero): Likewise.
8363         (cos_test_downward): Likewise.
8364         (cos_test_upward): Likewise.
8365         (cosh_test): Likewise.
8366         (cosh_test_tonearest): Likewise.
8367         (cosh_test_towardzero): Likewise.
8368         (cosh_test_downward): Likewise.
8369         (cosh_test_upward): Likewise.
8370         (cpow_test): Use END_COMPLEX macro without arguments.
8371         (cproj_test): Likewise.
8372         (creal_test): Use END macro without arguments.
8373         (csin_test): Use END_COMPLEX macro without arguments.
8374         (csinh_test): Likewise.
8375         (csqrt_test): Likewise.
8376         (ctan_test): Likewise.
8377         (ctan_test_tonearest): Likewise.
8378         (ctan_test_towardzero): Likewise.
8379         (ctan_test_downward): Likewise.
8380         (ctan_test_upward): Likewise.
8381         (ctanh_test): Likewise.
8382         (ctanh_test_tonearest): Likewise.
8383         (ctanh_test_towardzero): Likewise.
8384         (ctanh_test_downward): Likewise.
8385         (ctanh_test_upward): Likewise.
8386         (erf_test): Use END macro without arguments.
8387         (erfc_test): Likewise.
8388         (exp_test): Likewise.
8389         (exp_test_tonearest): Likewise.
8390         (exp_test_towardzero): Likewise.
8391         (exp_test_downward): Likewise.
8392         (exp_test_upward): Likewise.
8393         (exp10_test): Likewise.
8394         (exp2_test): Likewise.
8395         (expm1_test): Likewise.
8396         (fabs_test): Likewise.
8397         (fdim_test): Likewise.
8398         (finite_test): Likewise.
8399         (floor_test): Likewise.
8400         (fma_test): Likewise.
8401         (fma_test_towardzero): Likewise.
8402         (fma_test_downward): Likewise.
8403         (fma_test_upward): Likewise.
8404         (fmax_test): Likewise.
8405         (fmin_test): Likewise.
8406         (fmod_test): Likewise.
8407         (fpclassify_test): Likewise.
8408         (frexp_test): Likewise.
8409         (gamma_test): Likewise.
8410         (hypot_test): Likewise.
8411         (ilogb_test): Likewise.
8412         (isfinite_test): Likewise.
8413         (isgreater_test): Likewise.
8414         (isgreaterequal_test): Likewise.
8415         (isinf_test): Likewise.
8416         (isless_test): Likewise.
8417         (islessequal_test): Likewise.
8418         (islessgreater_test): Likewise.
8419         (isnan_test): Likewise.
8420         (isnormal_test): Likewise.
8421         (issignaling_test): Likewise.
8422         (isunordered_test): Likewise.
8423         (j0_test): Likewise.
8424         (j1_test): Likewise.
8425         (jn_test): Likewise.
8426         (ldexp_test): Likewise.
8427         (lgamma_test): Likewise.
8428         (lrint_test): Likewise.
8429         (lrint_test_tonearest): Likewise.
8430         (lrint_test_towardzero): Likewise.
8431         (lrint_test_downward): Likewise.
8432         (lrint_test_upward): Likewise.
8433         (llrint_test): Likewise.
8434         (llrint_test_tonearest): Likewise.
8435         (llrint_test_towardzero): Likewise.
8436         (llrint_test_downward): Likewise.
8437         (llrint_test_upward): Likewise.
8438         (log_test): Likewise.
8439         (log10_test): Likewise.
8440         (log1p_test): Likewise.
8441         (log2_test): Likewise.
8442         (logb_test): Likewise.
8443         (logb_test_downward): Likewise.
8444         (lround_test): Likewise.
8445         (llround_test): Likewise.
8446         (modf_test): Likewise.
8447         (nearbyint_test): Likewise.
8448         (nextafter_test): Likewise.
8449         (nexttoward_test): Likewise.
8450         (pow_test): Likewise.
8451         (pow_test_tonearest): Likewise.
8452         (pow_test_towardzero): Likewise.
8453         (pow_test_downward): Likewise.
8454         (pow_test_upward): Likewise.
8455         (remainder_test): Likewise.
8456         (remainder_test_tonearest): Likewise.
8457         (remainder_test_towardzero): Likewise.
8458         (remainder_test_downward): Likewise.
8459         (remainder_test_upward): Likewise.
8460         (remquo_test): Likewise.
8461         (rint_test): Likewise.
8462         (rint_test_tonearest): Likewise.
8463         (rint_test_towardzero): Likewise.
8464         (rint_test_downward): Likewise.
8465         (rint_test_upward): Likewise.
8466         (round_test): Likewise.
8467         (scalb_test): Likewise.
8468         (scalbn_test): Likewise.
8469         (scalbln_test): Likewise.
8470         (signbit_test): Likewise.
8471         (sin_test): Likewise.
8472         (sin_test_tonearest): Likewise.
8473         (sin_test_towardzero): Likewise.
8474         (sin_test_downward): Likewise.
8475         (sin_test_upward): Likewise.
8476         (sincos_test): Likewise.
8477         (sinh_test): Likewise.
8478         (sinh_test_tonearest): Likewise.
8479         (sinh_test_towardzero): Likewise.
8480         (sinh_test_downward): Likewise.
8481         (sinh_test_upward): Likewise.
8482         (sqrt_test): Likewise.
8483         (tan_test): Likewise.
8484         (tan_test_tonearest): Likewise.
8485         (tan_test_towardzero): Likewise.
8486         (tan_test_downward): Likewise.
8487         (tan_test_upward): Likewise.
8488         (tanh_test): Likewise.
8489         (tgamma_test): Likewise.
8490         (trunc_test): Likewise.
8491         (y0_test): Likewise.
8492         (y1_test): Likewise.
8493         (yn_test): Likewise.
8494         (significand_test): Likewise.
8496 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8498         [BZ #15381]
8499         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8501 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8503         [BZ #14894]
8504         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8505         __ppc_mdoio and __ppc_mdoom.
8506         * manual/platform.texi: Document new functions __ppc_yield,
8507         __ppc_mdoio and __ppc_mdoom.
8509 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8511         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8512         (main): Mention "tls" pseudo-hwcap is legacy.
8513         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8515 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8517         * math/gen-libm-test.pl (parse_args): Output only string of
8518         arguments as text for test name, not full call or descriptions of
8519         tests for extra outputs.
8520         (generate_testfile): Do not pass function name to parse_args.
8521         Generate this_func variable from START.
8522         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8523         field to arg_str.
8524         (struct test_ff_f_data): Likewise.
8525         (test_ff_f_data_nexttoward): Likewise.
8526         (struct test_fi_f_data): Likewise.
8527         (struct test_fl_f_data): Likewise.
8528         (struct test_if_f_data): Likewise.
8529         (struct test_fff_f_data): Likewise.
8530         (struct test_c_f_data): Likewise.
8531         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8532         (struct test_fF_f1_data): Likewise.
8533         (struct test_ffI_f1_data): Likewise.
8534         (struct test_c_c_data): Rename test_name field to arg_str.
8535         (struct test_cc_c_data): Likewise.
8536         (struct test_f_i_data): Likewise.
8537         (struct test_ff_i_data): Likewise.
8538         (struct test_f_l_data): Likewise.
8539         (struct test_f_L_data): Likewise.
8540         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8541         and extra2_name.
8542         (COMMON_TEST_SETUP): New macro.
8543         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8544         (COMMON_TEST_CLEANUP): Likewise.
8545         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8546         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8547         macros.
8548         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8549         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8550         macros.
8551         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8552         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8553         cleanup macros.
8554         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8555         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8556         macros.
8557         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8558         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8559         macros.
8560         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8561         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8562         cleanup macros.
8563         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8564         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8565         cleanup macros.
8566         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8567         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8568         cleanup macros.
8569         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8570         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8571         macros.
8572         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8573         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8574         macros.
8575         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8576         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8577         macros.
8578         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8579         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8580         cleanup macros.
8581         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8582         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8583         cleanup macros.
8584         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8585         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8586         macros.
8587         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8588         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8589         cleanup macros.
8590         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8591         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8592         macros.
8593         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8594         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8595         macros.
8596         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8597         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8598         cleanup macros.
8599         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8601 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8603         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8604         to _sifields.sigfault.
8605         (si_addr_lsb): Define new macro.
8606         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8607         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8608         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8610 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8612         [BZ #15441]
8613         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8614         returns -1.
8615         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8616         null return -1.
8617         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8618         loading the domain.
8620 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8622         * math/gen-libm-test.pl (parse_args): Do not include expected
8623         result in test name.
8624         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8625         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8626         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8627         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8628         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8631 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8633         * benchtests/Makefile: Sort function entries.
8635         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8636         tanh, asinh, acosh, atanh.
8637         * benchtests/acos-inputs: New file.
8638         * benchtests/acosh-inputs: New file.
8639         * benchtests/asin-inputs: New file.
8640         * benchtests/asinh-inputs: New file.
8641         * benchtests/atanh-inputs: New file.
8642         * benchtests/cosh-inputs: New file.
8643         * benchtests/log-inputs: New file.
8644         * benchtests/sinh-inputs: New file.
8645         * benchtests/tanh-inputs: New file.
8647 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8649         [BZ #15339]
8650         * posix/tst-getaddrinfo4.c: New test.
8651         * posix/Makefile (tests): Add it.
8653 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8655         [BZ #15339]
8656         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8657         when no services were used.
8658         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8659         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8661 2013-05-21  Andreas Schwab  <schwab@suse.de>
8663         [BZ #15014]
8664         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8665         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8666         successful.
8667         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8668         redundant variable declarations and reallocation of buffer when
8669         parsing as IPv6 address.  Always set NSS status when called from
8670         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8671         buffer too small.  Correct computation of needed size.
8672         * nss/Makefile (tests): Add test-digits-dots.
8673         * nss/test-digits-dots.c: New test.
8675 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8677         * benchtests/Makefile: Remove instructions for adding
8678         benchmark tests.
8679         * benchtests/README: New file to explain how to execute and
8680         enhance the benchmark tests.
8682 2013-05-21  Andreas Schwab  <schwab@suse.de>
8684         [BZ #15493]
8685         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8686         * setjmp/tst-sigsetjmp.c: New test.
8688 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8690         * sysdeps/x86_64/memset.S (memset): New implementation.
8691         (__bzero): Likewise.
8692         (__memset_tail): New function.
8694 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8696         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8697         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8698         __memcpy_sse2_unaligned ifunc selection.
8699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8700         Add memcpy-sse2-unaligned.S.
8701         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8702         Add: __memcpy_sse2_unaligned.
8704 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8706         [BZ #15490]
8707         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8708         math_force_eval before restoring floating-point envrionment.
8709         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8710         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8711         Likewise.
8712         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8713         <math_private.h>.
8714         (__nearbyintl): Use math_force_eval before restoring
8715         floating-point environment.
8716         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8718         * math/gen-libm-test.pl (special_functions): Remove.
8719         (parse_args): Don't handle TEST_extra.  Handle functions with no
8720         return value.
8721         * math/libm-test.inc (struct test_sincos_data): Replace with
8722         struct test_fFF_11_data.
8723         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8724         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8725         (sincos_test_data): Change element type to struct
8726         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8727         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8728         RUN_TEST_LOOP_sincos.
8729         * math/README.libm-test: Don't mention special handling of
8730         individual functions.
8731         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8732         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8733         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8734         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8735         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8738         * math/gen-libm-test.pl (get_variable): Remove function.
8739         (parse_args): Don't show pointer parameters to call in test
8740         names.  Use "extra output N" in test names for extra outputs
8741         rather than naming variables.
8743 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8745         [BZ #15488]
8746         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8747         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8748         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8749         double tests.
8750         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8751         disable.
8752         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8753         check_long_double.
8755         * math/gen-libm-test.pl (@tests): Remove variable.
8756         ($count): Likewise.
8757         (new_test): Remove function.
8758         (show_exceptions): New function.
8759         (special_functions): Use show_exceptions instead of new_test.
8760         (parse_args): Likewise.
8761         (generate_testfile): Pass only function name in generated call to
8762         print_max_error or print_complex_max_error.
8763         (get_ulps): Do not handle complex tests specially.
8764         (output_test): Rename to ...
8765         (get_all_ulps_for_test): ... this.  Return a string rather than
8766         printing to a file.  Require ulps to be present.
8767         (output_ulps): Generate arrays rather than #defines.
8768         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8769         (struct ulp_data): New type.
8770         (BUILD_COMPLEX_ULP): Remove macro.
8771         (compare_ulp_data): New function.
8772         (find_ulps): Likewise.
8773         (find_test_ulps): Likewise.
8774         (find_function_ulps): Likewise.
8775         (find_complex_function_ulps): Likewise.
8776         (print_max_error): Determine allowed ulps using
8777         find_function_ulps.
8778         (print_complex_max_error): Determine allowed ulps using
8779         find_complex_function_ulps.
8780         (check_float_internal): Determine max ulps using find_test_ulps.
8781         (check_float): Do not take max_ulp parameter.  Update call to
8782         check_float_internal.
8783         (check_complex): Likewise.
8784         (check_int): Do not take max_ulp parameter.
8785         (check_long): Likewise.
8786         (check_bool): Likewise.
8787         (check_longlong): Likewise.
8788         (struct test_f_f_data): Remove max_ulp field.
8789         (struct test_ff_f_data): Likewise.
8790         (struct test_ff_f_data_nexttoward): Likewise.
8791         (struct test_fi_f_data): Likewise.
8792         (struct test_fl_f_data): Likewise.
8793         (struct test_if_f_data): Likewise.
8794         (struct test_fff_f_data): Likewise.
8795         (struct test_c_f_data): Likewise.
8796         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8797         (struct test_fF_f1_data): Likewise.
8798         (struct test_ffI_f1_data): Likewise.
8799         (struct test_c_c_data): Remove max_ulp field.
8800         (struct test_cc_c_data): Likewise.
8801         (struct test_f_i_data): Likewise.
8802         (struct test_ff_i_data): Likewise.
8803         (struct test_f_l_data): Likewise.
8804         (struct test_f_L_data): Likewise.
8805         (struct test_sincos_data): Likewise.
8806         (RUN_TEST_f_f): Do not handle ulps.
8807         (RUN_TEST_LOOP_f_f): Likewise.
8808         (RUN_TEST_2_f): Likewise.
8809         (RUN_TEST_LOOP_2_f): Likewise.
8810         (RUN_TEST_fff_f): Likewise.
8811         (RUN_TEST_LOOP_fff_f): Likewise.
8812         (RUN_TEST_c_f): Likewise.
8813         (RUN_TEST_LOOP_c_f): Likewise.
8814         (RUN_TEST_f_f1): Likewise.
8815         (RUN_TEST_LOOP_f_f1): Likewise.
8816         (RUN_TEST_fF_f1): Likewise.
8817         (RUN_TEST_LOOP_fF_f1): Likewise.
8818         (RUN_TEST_fI_f1): Likewise.
8819         (RUN_TEST_LOOP_fI_f1): Likewise.
8820         (RUN_TEST_ffI_f1): Likewise.
8821         (RUN_TEST_LOOP_ffI_f1): Likewise.
8822         (RUN_TEST_c_c): Likewise.
8823         (RUN_TEST_LOOP_c_c): Likewise.
8824         (RUN_TEST_cc_c): Likewise.
8825         (RUN_TEST_LOOP_cc_c): Likewise.
8826         (RUN_TEST_f_i): Likewise.
8827         (RUN_TEST_LOOP_f_i): Likewise.
8828         (RUN_TEST_f_i_tg): Likewise.
8829         (RUN_TEST_LOOP_f_i_tg): Likewise.
8830         (RUN_TEST_ff_i_tg): Likewise.
8831         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8832         (RUN_TEST_f_b): Likewise.
8833         (RUN_TEST_LOOP_f_b): Likewise.
8834         (RUN_TEST_f_b_tg): Likewise.
8835         (RUN_TEST_LOOP_f_b_tg): Likewise.
8836         (RUN_TEST_f_l): Likewise.
8837         (RUN_TEST_LOOP_f_l): Likewise.
8838         (RUN_TEST_f_L): Likewise.
8839         (RUN_TEST_LOOP_f_L): Likewise.
8840         (RUN_TEST_sincos): Likewise.
8841         (RUN_TEST_LOOP_sincos): Likewise.
8843 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8845         [BZ #15480]
8846         [BZ #15485]
8847         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8848         main case of finite arguments, set rounding mode to FE_TONEAREST
8849         and discard exceptions.
8850         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8851         exceptions.
8852         (remainder_tonearest_test_data): New variable.
8853         (remainder_test_tonearest): New function.
8854         (remainder_towardzero_test_data): New variable.
8855         (remainder_test_towardzero): New function.
8856         (remainder_downward_test_data): New variable.
8857         (remainder_test_downward): New function.
8858         (remainder_upward_test_data): New variable.
8859         (remainder_test_upward): New function.
8860         (main): Call the new test functions.
8862         * math/libm-test.inc (struct test_f_f1_data): Remove field
8863         extra_init.
8864         (struct test_fF_f1_data): Likewise.
8865         (struct test_ffI_f1_data): Likewise.
8866         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8867         based on value of EXTRA_EXPECTED.
8868         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8869         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8870         EXTRA_VAR based on value of EXTRA_EXPECTED.
8871         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8872         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8873         EXTRA_VAR based on value of EXTRA_EXPECTED.
8874         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8875         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8876         EXTRA_VAR based on value of EXTRA_EXPECTED.
8877         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8878         * math/gen-libm-test.pl (parse_args): Don't output initializers
8879         for extra output values.
8881         * math/libm-test.inc (check_int): Expect result to be exactly
8882         equal to expected value and do not handle ulps.
8883         (check_long): Likewise.
8884         (check_longlong): Likewise.
8886         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8887         exceptions.
8888         (cimag_test_data): Likewise.
8889         (conj_test_data): Likewise.
8890         (copysign_test_data): Likewise.
8891         (cproj_test_data): Likewise.
8892         (creal_test_data): Likewise.
8893         (fabs_test_data): Likewise.
8894         (fdim_test_data): Likewise.
8895         (finite_test_data): Likewise.
8896         (floor_test_data): Likewise.
8897         (fmax_test_data): Likewise.
8898         (fmin_test_data): Likewise.
8899         (fmod_test_data): Likewise.
8900         (fpclassify_test_data): Likewise.
8901         (frexp_test_data): Likewise.
8902         (ilogb_test_data): Likewise.
8903         (isfinite_test_data): Likewise.
8904         (isgreater_test_data): Likewise.
8905         (isgreaterequal_test_data): Likewise.
8906         (isinf_test_data): Likewise.
8907         (isless_test_data): Likewise.
8908         (islessequal_test_data): Likewise.
8909         (islessgreater_test_data): Likewise.
8910         (isnan_test_data): Likewise.
8911         (isnormal_test_data): Likewise.
8912         (issignaling_test_data): Likewise.
8913         (isunordered_test_data): Likewise.
8914         (ldexp_test_data): Likewise.
8915         (lrint_test_data): Likewise.
8916         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8917         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8918         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8919         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8920         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8921         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8922         test input.
8923         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8924         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8925         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8926         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8927         that test input.
8928         (lrint_downward_test_data): Test for "inexact" exceptions.
8929         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8930         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8931         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8932         test input.
8933         (lrint_upward_test_data): Test for "inexact" exceptions.
8934         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8935         test input.
8936         (llrint_test_data): Test for "inexact" exceptions.
8937         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8938         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8939         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8940         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8941         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8942         (llrint_downward_test_data): Test for "inexact" exceptions.
8943         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8944         (llrint_upward_test_data): Test for "inexact" exceptions.
8945         (logb_test_data): Likewise.
8946         (logb_downward_test_data): Likewise.
8947         (nextafter_test_data): Likewise.
8948         (nexttoward_test_data): Likewise.
8949         (remainder_test_data): Likewise.
8950         (remquo_test_data): Likewise.
8951         (scalbn_test_data): Likewise.
8952         (scalbln_test_data): Likewise.
8953         (signbit_test_data): Likewise.
8954         (sqrt_test_data): Likewise.
8955         (significand_test_data): Likewise.
8957 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8959         [BZ #15424]
8960         * benchtests/bench-modf.c (struct args): Mark arg0 as
8961         volatile.
8962         * scripts/bench.pl: Mark members of struct args as volatile.
8964 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8966         [BZ # 15497]
8967         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8968         negative infinity on POWER6 or lower.
8969         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8971 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8973         [BZ #15442]
8974         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8975         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8976         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8977         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8978         (_FP_SETQNAN): New macro.
8979         (_FP_SETQNAN_SEMIRAW): Likewise.
8980         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8981         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8982         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8983         (FP_EXTEND): Use _FP_FRAC_SNANP.
8984         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8985         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8986         into account.
8987         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8988         New macro.
8989         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8990         Likewise.
8992 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8994         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8995         with DIVIDE_BY_ZERO_EXCEPTION.
8996         (gamma_test_data): Likewise.
8997         (lgamma_test_data): Likewise.
8998         (log_test_data): Likewise.
8999         (log10_test_data): Likewise.
9000         (log2_test_data): Likewise.
9001         (tgamma_test_data): Likewise.
9003         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9004         (acos_test_tonearest): Likewise.
9005         (acos_test_towardzero): Likewise.
9006         (acos_test_downward): Likewise.
9007         (acos_test_upward): Likewise.
9008         (acosh_test): Likewise.
9009         (asin_test): Likewise.
9010         (asin_test_tonearest): Likewise.
9011         (asin_test_towardzero): Likewise.
9012         (asin_test_downward): Likewise.
9013         (asin_test_upward): Likewise.
9014         (asinh_test): Likewise.
9015         (atan_test): Likewise.
9016         (atanh_test): Likewise.
9017         (atan2_test): Likewise.
9018         (cabs_test): Likewise.
9019         (cacos_test): Likewise.
9020         (cacosh_test): Likewise.
9021         (casin_test): Likewise.
9022         (casinh_test): Likewise.
9023         (catan_test): Likewise.
9024         (catanh_test): Likewise.
9025         (cbrt_test): Likewise.
9026         (ccos_test): Likewise.
9027         (ccosh_test): Likewise.
9028         (cexp_test): Likewise.
9029         (clog_test): Likewise.
9030         (clog10_test): Likewise.
9031         (cos_test): Likewise.
9032         (cos_test_tonearest): Likewise.
9033         (cos_test_towardzero): Likewise.
9034         (cos_test_downward): Likewise.
9035         (cos_test_upward): Likewise.
9036         (cosh_test): Likewise.
9037         (cosh_test_tonearest): Likewise.
9038         (cosh_test_towardzero): Likewise.
9039         (cosh_test_downward): Likewise.
9040         (cosh_test_upward): Likewise.
9041         (cpow_test): Likewise.
9042         (csin_test): Likewise.
9043         (csinh_test): Likewise.
9044         (csqrt_test): Likewise.
9045         (ctan_test): Likewise.
9046         (ctan_test_tonearest): Likewise.
9047         (ctan_test_towardzero): Likewise.
9048         (ctan_test_downward): Likewise.
9049         (ctan_test_upward): Likewise.
9050         (ctanh_test): Likewise.
9051         (ctanh_test_tonearest): Likewise.
9052         (ctanh_test_towardzero): Likewise.
9053         (ctanh_test_downward): Likewise.
9054         (ctanh_test_upward): Likewise.
9055         (erf_test): Likewise.
9056         (erfc_test): Likewise.
9057         (exp_test): Likewise.
9058         (exp_test_tonearest): Likewise.
9059         (exp_test_towardzero): Likewise.
9060         (exp_test_downward): Likewise.
9061         (exp_test_upward): Likewise.
9062         (exp10_test): Likewise.
9063         (exp2_test): Likewise.
9064         (expm1_test): Likewise.
9065         (fmod_test): Likewise.
9066         (gamma_test): Likewise.
9067         (hypot_test): Likewise.
9068         (j0_test): Likewise.
9069         (j1_test): Likewise.
9070         (jn_test): Likewise.
9071         (lgamma_test): Likewise.
9072         (log_test): Likewise.
9073         (log10_test): Likewise.
9074         (log1p_test): Likewise.
9075         (log2_test): Likewise.
9076         (logb_test_downward): Likewise.
9077         (pow_test): Likewise.
9078         (pow_test_tonearest): Likewise.
9079         (pow_test_towardzero): Likewise.
9080         (pow_test_downward): Likewise.
9081         (pow_test_upward): Likewise.
9082         (remainder_test): Likewise.
9083         (remquo_test): Likewise.
9084         (sin_test): Likewise.
9085         (sin_test_tonearest): Likewise.
9086         (sin_test_towardzero): Likewise.
9087         (sin_test_downward): Likewise.
9088         (sin_test_upward): Likewise.
9089         (sincos_test): Likewise.
9090         (sinh_test): Likewise.
9091         (sinh_test_tonearest): Likewise.
9092         (sinh_test_towardzero): Likewise.
9093         (sinh_test_downward): Likewise.
9094         (sinh_test_upward): Likewise.
9095         (sqrt_test): Likewise.
9096         (tan_test): Likewise.
9097         (tan_test_tonearest): Likewise.
9098         (tan_test_towardzero): Likewise.
9099         (tan_test_downward): Likewise.
9100         (tan_test_upward): Likewise.
9101         (tanh_test): Likewise.
9102         (tgamma_test): Likewise.
9103         (y0_test): Likewise.
9104         (y1_test): Likewise.
9105         (yn_test): Likewise.
9107         * math/gen-libm-test.pl (adjust_arg): Remove function.
9108         (special_function): Remove argument $in_func.  Only handle
9109         generating output for tables of tests, not inside functions.
9110         (parse_args): Likewise.
9111         (generate_testfile): Remove variable $in_func.  Update call to
9112         parse_args.
9113         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9114         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9115         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9116         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9117         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9118         (MAX_VALUE_INIT): Rename macro to max_value.
9119         (MIN_VALUE_INIT): Rename macro to min_value.
9120         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9121         (plus_zero): Remove variable.
9122         (minus_zero): Likewise.
9123         (plus_infty): Likewise.
9124         (minus_infty): Likewise.
9125         (qnan_value): Likewise.
9126         (max_value): Likewise.
9127         (min_value): Likewise.
9128         (min_subnorm_value): Likewise.
9130 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9132         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9133         uint64_t or uint32_t usage.
9134         * crypt/sha256-block.c: Likewise.
9135         * crypt/sha256-crypt.c: Likewise.
9136         * crypt/sha256.c: Likewise.
9137         * crypt/sha512-block.c: Likewise.
9138         * crypt/sha512-crypt.c: Likewise.
9139         * crypt/sha512.c: Likewise.
9140         * debug/backtrace-tst.c: Likewise.
9141         * debug/pcprofiledump.c: Likewise.
9142         * elf/cache.c: Likewise.
9143         * elf/dl-cache.c: Likewise.
9144         * elf/dl-misc.c: Likewise.
9145         * elf/dl-profile.c: Likewise.
9146         * elf/dl-support.c: Likewise.
9147         * elf/ldconfig.c: Likewise.
9148         * elf/sprof.c: Likewise.
9149         * iconv/dummy-repertoire.c: Likewise.
9150         * iconv/iconv_charmap.c: Likewise.
9151         * iconv/skeleton.c: Likewise.
9152         * iconvdata/8bit-generic.c: Likewise.
9153         * iconvdata/cp737.h: Likewise.
9154         * iconvdata/cp775.h: Likewise.
9155         * iconvdata/ibm1008.h: Likewise.
9156         * iconvdata/ibm1025.h: Likewise.
9157         * iconvdata/ibm1046.h: Likewise.
9158         * iconvdata/ibm1097.h: Likewise.
9159         * iconvdata/ibm1112.h: Likewise.
9160         * iconvdata/ibm1122.h: Likewise.
9161         * iconvdata/ibm1123.h: Likewise.
9162         * iconvdata/ibm1124.h: Likewise.
9163         * iconvdata/ibm1129.h: Likewise.
9164         * iconvdata/ibm1130.h: Likewise.
9165         * iconvdata/ibm1132.h: Likewise.
9166         * iconvdata/ibm1133.h: Likewise.
9167         * iconvdata/ibm1137.h: Likewise.
9168         * iconvdata/ibm1140.h: Likewise.
9169         * iconvdata/ibm1141.h: Likewise.
9170         * iconvdata/ibm1142.h: Likewise.
9171         * iconvdata/ibm1143.h: Likewise.
9172         * iconvdata/ibm1144.h: Likewise.
9173         * iconvdata/ibm1145.h: Likewise.
9174         * iconvdata/ibm1146.h: Likewise.
9175         * iconvdata/ibm1147.h: Likewise.
9176         * iconvdata/ibm1148.h: Likewise.
9177         * iconvdata/ibm1149.h: Likewise.
9178         * iconvdata/ibm1153.h: Likewise.
9179         * iconvdata/ibm1154.h: Likewise.
9180         * iconvdata/ibm1155.h: Likewise.
9181         * iconvdata/ibm1156.h: Likewise.
9182         * iconvdata/ibm1157.h: Likewise.
9183         * iconvdata/ibm1158.h: Likewise.
9184         * iconvdata/ibm1160.h: Likewise.
9185         * iconvdata/ibm1161.h: Likewise.
9186         * iconvdata/ibm1162.h: Likewise.
9187         * iconvdata/ibm1163.h: Likewise.
9188         * iconvdata/ibm1164.h: Likewise.
9189         * iconvdata/ibm1166.h: Likewise.
9190         * iconvdata/ibm1167.h: Likewise.
9191         * iconvdata/ibm12712.h: Likewise.
9192         * iconvdata/ibm1390.h: Likewise.
9193         * iconvdata/ibm1399.h: Likewise.
9194         * iconvdata/ibm16804.h: Likewise.
9195         * iconvdata/ibm4517.h: Likewise.
9196         * iconvdata/ibm4899.h: Likewise.
9197         * iconvdata/ibm4909.h: Likewise.
9198         * iconvdata/ibm4971.h: Likewise.
9199         * iconvdata/ibm5347.h: Likewise.
9200         * iconvdata/ibm803.h: Likewise.
9201         * iconvdata/ibm856.h: Likewise.
9202         * iconvdata/ibm901.h: Likewise.
9203         * iconvdata/ibm902.h: Likewise.
9204         * iconvdata/ibm9030.h: Likewise.
9205         * iconvdata/ibm9066.h: Likewise.
9206         * iconvdata/ibm921.h: Likewise.
9207         * iconvdata/ibm922.h: Likewise.
9208         * iconvdata/ibm9448.h: Likewise.
9209         * iconvdata/isiri-3342.h: Likewise.
9210         * iconvdata/jis0201.h: Likewise.
9211         * include/link.h: Likewise.
9212         * include/netdb.h: Likewise.
9213         * inet/check_native.c: Likewise.
9214         * inet/check_pf.c: Likewise.
9215         * inet/getipv4sourcefilter.c: Likewise.
9216         * inet/getnameinfo.c: Likewise.
9217         * inet/getsourcefilter.c: Likewise.
9218         * inet/htonl.c: Likewise.
9219         * inet/setipv4sourcefilter.c: Likewise.
9220         * inet/setsourcefilter.c: Likewise.
9221         * inet/test-inet6_opt.c: Likewise.
9222         * inet/tst-network.c: Likewise.
9223         * locale/C-collate.c: Likewise.
9224         * locale/C-ctype.c: Likewise.
9225         * locale/C-time.c: Likewise.
9226         * locale/C-translit.h: Likewise.
9227         * locale/loadarchive.c: Likewise.
9228         * locale/programs/3level.h: Likewise.
9229         * locale/programs/charmap.c: Likewise.
9230         * locale/programs/charmap.h: Likewise.
9231         * locale/programs/ld-address.c: Likewise.
9232         * locale/programs/ld-collate.c: Likewise.
9233         * locale/programs/ld-ctype.c: Likewise.
9234         * locale/programs/ld-identification.c: Likewise.
9235         * locale/programs/ld-measurement.c: Likewise.
9236         * locale/programs/ld-messages.c: Likewise.
9237         * locale/programs/ld-monetary.c: Likewise.
9238         * locale/programs/ld-name.c: Likewise.
9239         * locale/programs/ld-numeric.c: Likewise.
9240         * locale/programs/ld-paper.c: Likewise.
9241         * locale/programs/ld-telephone.c: Likewise.
9242         * locale/programs/ld-time.c: Likewise.
9243         * locale/programs/linereader.c: Likewise.
9244         * locale/programs/locale.c: Likewise.
9245         * locale/programs/locarchive.c: Likewise.
9246         * locale/programs/locfile.h: Likewise.
9247         * locale/programs/repertoire.c: Likewise.
9248         * locale/programs/simple-hash.c: Likewise.
9249         * locale/programs/simple-hash.h: Likewise.
9250         * malloc/memusage.c: Likewise.
9251         * malloc/memusagestat.c: Likewise.
9252         * nis/nis_defaults.c: Likewise.
9253         * nis/nis_hash.c: Likewise.
9254         * nis/nis_print.c: Likewise.
9255         * nis/nis_xdr.c: Likewise.
9256         * nscd/connections.c: Likewise.
9257         * nscd/hstcache.c: Likewise.
9258         * nscd/nscd_gethst_r.c: Likewise.
9259         * nscd/nscd_getserv_r.c: Likewise.
9260         * nscd/nscd_helper.c: Likewise.
9261         * nscd/servicescache.c: Likewise.
9262         * nss/makedb.c: Likewise.
9263         * nss/nss_db/db-XXX.c: Likewise.
9264         * nss/nss_db/db-initgroups.c: Likewise.
9265         * nss/nss_db/db-netgrp.c: Likewise.
9266         * nss/nss_files/files-network.c: Likewise.
9267         * nss/nss_files/files-parse.c: Likewise.
9268         * posix/bug-regex5.c: Likewise.
9269         * posix/fnmatch_loop.c: Likewise.
9270         * posix/regcomp.c: Likewise.
9271         * posix/regexec.c: Likewise.
9272         * posix/tst-rfc3484-2.c: Likewise.
9273         * posix/tst-rfc3484-3.c: Likewise.
9274         * posix/tst-rfc3484.c: Likewise.
9275         * resolv/nss_dns/dns-canon.c: Likewise.
9276         * resolv/nss_dns/dns-network.c: Likewise.
9277         * resolv/res_init.c: Likewise.
9278         * resolv/res_mkquery.c: Likewise.
9279         * resolv/tst-aton.c: Likewise.
9280         * stdlib/cxa_atexit.c: Likewise.
9281         * stdlib/cxa_finalize.c: Likewise.
9282         * stdlib/gen-fpioconst.c: Likewise.
9283         * stdlib/strtol_l.c: Likewise.
9284         * string/tst-endian.c: Likewise.
9285         * sunrpc/auth_des.c: Likewise.
9286         * sunrpc/clnt_udp.c: Likewise.
9287         * sunrpc/rtime.c: Likewise.
9288         * sunrpc/svcauth_des.c: Likewise.
9289         * sunrpc/xdr.c: Likewise.
9290         * sunrpc/xdr_intXX_t.c: Likewise.
9291         * sunrpc/xdr_rec.c: Likewise.
9292         * sysdeps/generic/ldconfig.h: Likewise.
9293         * sysdeps/generic/ldsodefs.h: Likewise.
9294         * sysdeps/generic/memusage.h: Likewise.
9295         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9296         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9297         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9298         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9299         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9300         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9301         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9302         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9303         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9304         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9305         * sysdeps/posix/getaddrinfo.c: Likewise.
9306         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9307         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9308         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9309         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9310         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9311         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9312         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9313         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9314         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9315         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9316         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9317         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9318         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9319         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9320         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9321         * sysdeps/x86_64/dl-tls.h: Likewise.
9322         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9323         * time/alt_digit.c: Likewise.
9324         * time/era.c: Likewise.
9325         * wcsmbs/tst-c16c32-1.c: Likewise.
9327 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9329         * math/libm-test.inc (struct test_sincos_data): New type.
9330         (RUN_TEST_LOOP_sincos): New macro.
9331         (sincos_test_data): New variable.
9332         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9334 2013-05-16  Richard Henderson  <rth@redhat.com>
9336         * math/atest-exp2.c (LIMB64): New macro.
9337         (CONSTSZ): New macro.
9338         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9339         (hexdig): Move ...
9340         (print_mpn_fp): ... to function scope.
9341         (read_mpn_hex): Remove.
9342         (get_log2): Remove.
9343         (exp2_mpn): Use mp_log2.
9344         (main): Use mp_exp1.
9346 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9348         * math/libm-test.inc: Remove comment about not testing "inexact"
9349         exceptions.
9350         (INEXACT_EXCEPTION): New macro.
9351         (NO_INEXACT_EXCEPTION): Likewise.
9352         (INVALID_EXCEPTION_OK): Update value.
9353         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9354         (OVERFLOW_EXCEPTION_OK): Likewise.
9355         (UNDERFLOW_EXCEPTION_OK): Likewise.
9356         (IGNORE_ZERO_INF_SIGN): Likewise.
9357         (ERRNO_UNCHANGED): Likewise.
9358         (ERRNO_EDOM): Likewise.
9359         (ERRNO_ERANGE): Likewise.
9360         (test_exceptions): Handle testing "inexact" exceptions.
9361         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9362         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9363         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9364         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9365         INEXACT_EXCEPTION.
9366         (rint_towardzero_test_data): Likewise.
9367         (rint_downward_test_data): Likewise.
9368         (rint_upward_test_data): Likewise.
9370         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9371         with OVERFLOW_EXCEPTION.
9372         (exp10_test_data): Likewise.
9373         (exp2_test_data): Likewise.
9374         (expm1_test_data): Likewise.
9375         (lgamma_test_data): Likewise.
9376         (pow_test_data): Likewise.
9377         (tgamma_test_data): Likewise.
9378         (yn_test_data): Remove duplicate test of overflow.
9380         * math/libm-test.inc (struct test_cc_c_data): New type.
9381         (RUN_TEST_LOOP_cc_c): New macro.
9382         (cpow_test_data): New variable.
9383         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9385         * math/libm-test.inc (struct test_f_L_data): New type.
9386         (RUN_TEST_LOOP_f_L): New macro.
9387         (llrint_test_data): New variable.
9388         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9389         (llrint_tonearest_test_data): New variable.
9390         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9391         (llrint_towardzero_test_data): New variable.
9392         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9393         (llrint_downward_test_data): New variable.
9394         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9395         (llrint_upward_test_data): New variable.
9396         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9397         (llround_test_data): New variable.
9398         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9400 2013-05-13  Peter Collingbourne  <pcc@google.com>
9402         * math/atest-exp2.c (get_log2): Remove const attribute.
9404 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9406         * math/libm-test.inc (struct test_f_l_data): New type.
9407         (RUN_TEST_LOOP_f_l): New macro.
9408         (lrint_test_data): New variable.
9409         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9410         (lrint_tonearest_test_data): New variable.
9411         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9412         (lrint_towardzero_test_data): New variable.
9413         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9414         (lrint_downward_test_data): New variable.
9415         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9416         (lrint_upward_test_data): New variable.
9417         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9418         (lround_test_data): New variable.
9419         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9421 2013-05-15  Peter Collingbourne  <pcc@google.com>
9423         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9424         (EXTRACT_WORDS64) Use where appropriate.
9425         (INSERT_WORDS64) Likewise.
9427         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9428         constraints with x constraints.
9429         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9431         * malloc/obstack.c (_obstack_compat): Add initializer.
9433 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9435         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9436         si_trapno and add si_addr_lsb to _sifields.sigfault.
9437         (si_trapno): Remove macro.
9438         (si_addr_lsb): Define new macro.
9439         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9441 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9443         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9444         instead of TEST_f_l.
9445         (llrint_test_tonearest): Likewise.
9446         (llrint_test_towardzero): Likewise.
9447         (llrint_test_downward): Likewise.
9448         (llrint_test_upward): Likewise.
9449         (llround_test): Likewise.
9451         * math/libm-test.inc (struct test_f_i_data): Add comment.
9452         (RUN_TEST_LOOP_f_b): New macro.
9453         (RUN_TEST_LOOP_f_b_tg): Likewise.
9454         (finite_test_data): New variable.
9455         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9456         (isfinite_test_data): New variable.
9457         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9458         (isinf_test_data): New variable.
9459         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9460         (isnan_test_data): New variable.
9461         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9462         (isnormal_test_data): New variable.
9463         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9464         (issignaling_test_data): New variable.
9465         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9466         (signbit_test_data): New variable.
9467         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9469         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9470         with INVALID_EXCEPTION.
9471         (acosh_test_data): Likewise.
9472         (asin_test_data): Likewise.
9473         (atanh_test_data): Likewise.
9474         (fmod_test_data): Likewise.
9475         (log_test_data): Likewise.
9476         (log10_test_data): Likewise.
9477         (log2_test_data): Likewise.
9478         (pow_test_data): Likewise.
9479         (sqrt_test_data): Likewise.
9480         (y0_test_data): Likewise.
9481         (y1_test_data): Likewise.
9482         (yn_test_data): Likewise.
9484         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9485         function contents.
9487         * math/libm-test.inc (struct test_ff_i_data): New type.
9488         (RUN_TEST_LOOP_ff_i_tg): New macro.
9489         (isgreater_test_data): New variable.
9490         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9491         (isgreaterequal_test_data): New variable.
9492         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9493         (isless_test_data): New variable.
9494         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9495         (islessequal_test_data): New variable.
9496         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9497         (islessgreater_test_data): New variable.
9498         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9499         (isunordered_test_data): New variable.
9500         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9502 2013-05-14  David S. Miller  <davem@davemloft.net>
9504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9506 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9508         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9510         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9511         extra_test to int.
9512         (struct test_f_i_data): Change type of max_ulp to int.
9514         * math/libm-test.inc (test_ffI_f1_data): New type.
9515         (RUN_TEST_LOOP_ffI_f1): New macro.
9516         (remquo_test_data): New variable.
9517         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9519         * setjmp/tst-setjmp-fp.c: New file.
9520         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9521         (link-libm): New variable.
9522         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9524         * math/libm-test.inc (struct test_f_i_data): New type.
9525         (RUN_TEST_LOOP_f_i): New macro.
9526         (RUN_TEST_LOOP_f_i_tg): Likewise.
9527         (fpclassify_test_data): New variable.
9528         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9529         (ilogb_test_data): New variable.
9530         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9532         * math/libm-test.inc (scalbln_test): Correct function name in END
9533         call.
9535         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9536         (RUN_TEST_LOOP_fI_f1): New macro.
9537         (frexp_test_data): New variable.
9538         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9540         * math/libm-test.inc (struct test_fF_f1_data): New type.
9541         (RUN_TEST_LOOP_fF_f1): New macro.
9542         (modf_test_data): New variable.
9543         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9545         * math/libm-test.inc (struct test_f_f1_data): New type.
9546         (RUN_TEST_LOOP_f_f1): New macro.
9547         (gamma_test_data): New variable.
9548         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9549         (lgamma_test_data): New variable.
9550         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9552 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9554         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9555         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9556         (main): Comment "tls" pseudo-hwcap.
9558 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9560         * math/libm-test.inc (struct test_fl_f_data): New type.
9561         (RUN_TEST_LOOP_fl_f): New variable.
9562         (scalbln_test_data): New variable.
9563         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9565         * math/libm-test.inc (struct test_fi_f_data): New type.
9566         (RUN_TEST_LOOP_fi_f): New macro.
9567         (ldexp_test_data): New variable.
9568         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9569         (scalbn_test_data): New variable.
9570         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9572         * math/libm-test.inc (struct test_c_f_data): New type.
9573         (RUN_TEST_LOOP_c_f): New macro.
9574         (cabs_test_data): New variable.
9575         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9576         (carg_test_data): New variable.
9577         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9578         (cimag_test_data): New variable.
9579         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9580         (creal_test_data): New variable.
9581         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9583         * math/libm-test.inc (struct test_if_f_data): New type.
9584         (RUN_TEST_LOOP_if_f): New macro.
9585         (jn_test_data): New variable.
9586         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9587         (yn_test_data): New variable.
9588         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9590         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9592 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9594         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9595         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9597 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9599         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9600         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9601         (bench-deps): Add bench-timing.h.
9602         * benchtests-bench-skeleton.c: Include bench-timing.h.
9603         (main): Use TIMING_* macros instead of clock_gettime.
9604         * benchtests/bench-timing.h: New file.
9606         [BZ #14582]
9607         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9608         Renamed from _LIB_VERSION.
9609         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9611 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9613         * math/libm-test.inc (struct test_fff_f_data): New type.
9614         (RUN_TEST_LOOP_fff_f): New macro.
9615         (fma_test_data): New variable.
9616         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9617         (fma_towardzero_test_data): New variable.
9618         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9619         (fma_downward_test_data): New variable.
9620         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9621         (fma_upward_test_data): New variable.
9622         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9624         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9625         (struct test_c_c_data): New type.
9626         (RUN_TEST_LOOP_c_c): New macro.
9627         (cacos_test_data): New variable.
9628         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9629         (cacosh_test_data): New variable.
9630         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9631         (casin_test_data): New variable.
9632         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9633         (casinh_test_data): New variable.
9634         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9635         (catan_test_data): New variable.
9636         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9637         (catanh_test_data): New variable.
9638         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9639         (ccos_test_data): New variable.
9640         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9641         (ccosh_test_data): New variable.
9642         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9643         (cexp_test_data): New variable.
9644         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9645         (clog_test_data): New variable.
9646         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9647         (clog10_test_data): New variable.
9648         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9649         (conj_test_data): New variable.
9650         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9651         (cproj_test_data): New variable.
9652         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9653         (csin_test_data): New variable.
9654         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9655         (csinh_test_data): New variable.
9656         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9657         (csqrt_test_data): New variable.
9658         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9659         (ctan_test_data): New variable.
9660         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9661         (ctan_tonearest_test_data): New variable.
9662         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9663         (ctan_towardzero_test_data): New variable.
9664         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9665         (ctan_downward_test_data): New variable.
9666         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9667         (ctan_upward_test_data): New variable.
9668         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9669         (ctanh_test_data): New variable.
9670         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9671         (ctanh_tonearest_test_data): New variable.
9672         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9673         (ctanh_towardzero_test_data): New variable.
9674         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9675         (ctanh_downward_test_data): New variable.
9676         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9677         (ctanh_upward_test_data): New variable.
9678         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9679         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9680         of BUILD_COMPLEX.
9682         * math/libm-test.inc (struct test_ff_f_data): New type.
9683         (struct test_ff_f_data_nexttoward): Likewise.
9684         (RUN_TEST_LOOP_2_f): New macro.
9685         (RUN_TEST_LOOP_ff_f): Likewise.
9686         (atan2_test_data): New variable.
9687         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9688         (copysign_test_data): New variable.
9689         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9690         (fdim_test_data): New variable.
9691         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9692         (fmax_test_data): New variable.
9693         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9694         (fmin_test_data): New variable.
9695         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9696         (fmod_test_data): New variable.
9697         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9698         (hypot_test_data): New variable.
9699         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9700         (nextafter_test_data): New variable.
9701         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9702         (nexttoward_test_data): New variable.
9703         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9704         (pow_test_data): New variable.
9705         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9706         (pow_tonearest_test_data): New variable.
9707         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9708         (pow_towardzero_test_data): New variable.
9709         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9710         (pow_downward_test_data): New variable.
9711         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9712         (pow_upward_test_data): New variable.
9713         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9714         (remainder_test_data): New variable.
9715         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9716         (scalb_test_data): New variable.
9717         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9718         * sysdeps/i386/fpu/libm-test-ulps: Update.
9720 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9722         * math/libm-test.inc (fma_test): Use max_value instead of local
9723         variable fltmax.
9724         (nextafter_test): Likewise.
9726         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9727         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9728         (acos_downward_test_data): New variable.
9729         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9730         (acos_upward_test_data): New variable.
9731         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9732         (acosh_test_data): New variable.
9733         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9734         (asin_test_data): New variable.
9735         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9736         (asin_tonearest_test_data): New variable.
9737         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9738         (asin_towardzero_test_data): New variable.
9739         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9740         (asin_downward_test_data): New variable.
9741         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9742         (asin_upward_test_data): New variable.
9743         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9744         (asinh_test_data): New variable.
9745         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9746         (atan_test_data): New variable.
9747         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9748         (atanh_test_data): New variable.
9749         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9750         (cbrt_test_data): New variable.
9751         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9752         (ceil_test_data): New variable.
9753         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9754         (cos_test_data): New variable.
9755         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9756         (cos_tonearest_test_data): New variable.
9757         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9758         (cos_towardzero_test_data): New variable.
9759         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9760         (cos_downward_test_data): New variable.
9761         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9762         (cos_upward_test_data): New variable.
9763         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9764         (cosh_test_data): New variable.
9765         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9766         (cosh_tonearest_test_data): New variable.
9767         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9768         (cosh_towardzero_test_data): New variable.
9769         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9770         (cosh_downward_test_data): New variable.
9771         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9772         (cosh_upward_test_data): New variable.
9773         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9774         (erf_test_data): New variable.
9775         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9776         (erfc_test_data): New variable.
9777         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9778         (exp_test_data): New variable.
9779         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9780         (exp_tonearest_test_data): New variable.
9781         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9782         (exp_towardzero_test_data): New variable.
9783         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9784         (exp_downward_test_data): New variable.
9785         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9786         (exp_upward_test_data): New variable.
9787         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9788         (exp10_test_data): New variable.
9789         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9790         (exp2_test_data): New variable.
9791         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9792         (expm1_test_data): New variable.
9793         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9794         (fabs_test_data): New variable.
9795         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9796         (floor_test_data): New variable.
9797         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9798         (j0_test_data): New variable.
9799         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9800         (j1_test_data): New variable.
9801         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9802         (log_test_data): New variable.
9803         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9804         (log10_test_data): New variable.
9805         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9806         (log1p_test_data): New variable.
9807         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9808         (log2_test_data): New variable.
9809         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9810         (logb_test_data): New variable.
9811         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9812         (logb_downward_test_data): New variable.
9813         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9814         (nearbyint_test_data): New variable.
9815         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9816         (rint_test_data): New variable.
9817         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9818         (rint_tonearest_test_data): New variable.
9819         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9820         (rint_towardzero_test_data): New variable.
9821         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9822         (rint_downward_test_data): New variable.
9823         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9824         (rint_upward_test_data): New variable.
9825         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9826         (round_test_data): New variable.
9827         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9828         (sin_test_data): New variable.
9829         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9830         (sin_tonearest_test_data): New variable.
9831         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9832         (sin_towardzero_test_data): New variable.
9833         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9834         (sin_downward_test_data): New variable.
9835         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9836         (sin_upward_test_data): New variable.
9837         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9838         (sinh_test_data): New variable.
9839         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9840         (sinh_tonearest_test_data): New variable.
9841         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9842         (sinh_towardzero_test_data): New variable.
9843         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9844         (sinh_downward_test_data): New variable.
9845         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9846         (sinh_upward_test_data): New variable.
9847         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9848         (sqrt_test_data): New variable.
9849         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9850         (tan_test_data): New variable.
9851         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9852         (tan_tonearest_test_data): New variable.
9853         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9854         (tan_towardzero_test_data): New variable.
9855         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9856         (tan_downward_test_data): New variable.
9857         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9858         (tan_upward_test_data): New variable.
9859         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9860         (tanh_test_data): New variable.
9861         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9862         (tgamma_test_data): New variable.
9863         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9864         (trunc_test_data): New variable.
9865         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9866         (y0_test_data): New variable.
9867         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9868         (y1_test_data): New variable.
9869         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9870         (significand_test_data): New variable.
9871         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9873 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9875         [BZ #12387]
9876         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9878 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9880         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9882 2013-05-10  Andreas Jaeger  <aj@suse.de>
9884         [BZ #15448]
9885         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9886         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9888 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9890         * math/gen-libm-test.pl (adjust_arg): New function.
9891         (special_functions): Handle generating output in both functions
9892         and arrays.
9893         (parse_args): Likewise.
9894         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9895         $in_func argument to parse_args.
9896         * math/libm-test.inc (struct test_f_f_data): New type.
9897         (IF_ROUND_INIT_): New macro.
9898         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9899         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9900         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9901         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9902         (ROUND_RESTORE_): Likewise.
9903         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9904         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9905         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9906         (ROUND_RESTORE_FE_UPWARD): Likewise.
9907         (RUN_TEST_LOOP_f_f): New macro.
9908         (acos_test_data): New variable.
9909         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9910         (acos_tonearest_test_data): New variable.
9911         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9913 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9915         * benchtests/bench-skeleton.c (startup): Fix coding style.
9917 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9919         [BZ #6809]
9920         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9921         negative infinity argument.
9922         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9923         negative infinity argument.
9924         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9925         negative infinity argument.
9926         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9927         domain errors.
9929 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9931         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9932         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9933         * iconv/iconv_prog.c (main): Likewise.
9934         * locale/programs/charmap-dir.c (charmap_readdir)
9935         (fopen_uncompressed): Likewise.
9936         * locale/programs/locfile.c (siblings_uncached)
9937         (write_locale_data): Use lstat64 instead of lstat.
9938         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9939         stat.
9941 2013-05-10  Andreas Jaeger  <aj@suse.de>
9943         [BZ #15395]
9944         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9945         localization.
9946         Include <locale.h>.
9948 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9950         * elf/dl-close.c (_dl_close_worker): Add comments.
9952 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9954         [BZ #15359]
9955         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9956         high part of pi/2.
9957         (__ieee754_rem_pio2l): Update comments.
9959         [BZ #15429]
9960         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9961         high part of pi/2.
9962         (__ieee754_rem_pio2l): Update comments.
9964         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9965         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9967         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9968         M_PI_4l.
9970         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9971         (M_PI_34_LOG10El): Likewise.
9972         (M_PI2_LOG10El): Likewise.
9973         (M_PI4_LOG10El): Likewise.
9974         (M_PI_LOG10El): Likewise.
9976 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9980 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9982         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9983         (MINUS_ZERO_INIT): Likewise.
9984         (PLUS_INFTY_INIT): Likewise.
9985         (MINUS_INFTY_INIT): Likewise.
9986         (QNAN_VALUE_INIT): Likewise.
9987         (MAX_VALUE_INIT): Likewise.
9988         (MIN_VALUE_INIT): Likewise.
9989         (MIN_SUBNORM_VALUE_INIT): Likewise.
9990         (plus_zero): Initialize with PLUS_ZERO_INIT.
9991         (minus_zero): Initialize with MINUS_ZERO_INIT.
9992         (plus_infty): Initialize with PLUS_INFTY_INIT.
9993         (minus_infty): Initialize with MINUS_INFTY_INIT.
9994         (qnan_value): Initialize with QNAN_VALUE_INIT.
9995         (max_value): Initialize with MAX_VALUE_INIT.
9996         (min_value): Initialize with MIN_VALUE_INIT.
9997         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9999         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10000         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10001         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10002         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10004         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10005         (RUN_TEST_2_f): Likewise.
10006         (RUN_TEST_ff_f): Likewise.
10007         (RUN_TEST_fi_f): Likewise.
10008         (RUN_TEST_fl_f): Likewise.
10009         (RUN_TEST_fff_f): Likewise.
10010         (RUN_TEST_c_f): Likewise.
10011         (RUN_TEST_f_f1): Likewise.
10012         (RUN_TEST_fF_f1): Likewise.
10013         (RUN_TEST_fI_f1): Likewise.
10014         (RUN_TEST_ffI_f1): Likewise.
10015         (RUN_TEST_c_c): Likewise.
10016         (RUN_TEST_cc_c): Likewise.
10017         (RUN_TEST_f_i): Likewise.
10018         (RUN_TEST_f_i_tg): Likewise.
10019         (RUN_TEST_ff_i_tg): Likewise.
10020         (RUN_TEST_f_b): Likewise.
10021         (RUN_TEST_f_b_tg): Likewise.
10022         (RUN_TEST_f_l): Likewise.
10023         (RUN_TEST_f_L): Likewise.
10024         (RUN_TEST_sincos): Likewise.
10025         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10026         whether to show exceptions.  Do not include ");\n" in return
10027         value.
10028         (special_functions): Output call to RUN_TEST_sincos instead of
10029         check_float calls.  Update calls to new_test.
10030         (parse_args): Output call to single RUN_TEST_* macro instead of
10031         check_* calls and other assignments.  Update calls to new_test.
10033         [BZ #2546]
10034         [BZ #2560]
10035         [BZ #5159]
10036         [BZ #15426]
10037         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10038         input to result for tgamma overflow.
10039         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10040         (gamma_coeff): New variable.
10041         (NCOEFF): New macro.
10042         (gamma_positive): New function.
10043         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10044         underflow here.  Use gamma_positive instead of exp (lgamma) for
10045         other arguments.
10046         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10047         (gamma_coeff): New variable.
10048         (NCOEFF): New macro.
10049         (gammaf_positive): New function.
10050         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10051         underflow here.  Use gamma_positive instead of exp (lgamma) for
10052         other arguments.
10053         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10054         (gamma_coeff): New variable.
10055         (NCOEFF): New macro.
10056         (gammal_positive): New function.
10057         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10058         underflow here.  Use gamma_positive instead of exp (lgamma) for
10059         other arguments.
10060         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10061         (gamma_coeff): New variable.
10062         (NCOEFF): New macro.
10063         (gammal_positive): New function.
10064         (__ieee754_gammal_r): Handle positive infinity, overflow and
10065         underflow here.  Handle NaN the same as positive infinity.  Remove
10066         check x < 0xffffffff for negative integers.  Use gamma_positive
10067         instead of exp (lgamma) for other arguments.
10068         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10069         (gamma_coeff): New variable.
10070         (NCOEFF): New macro.
10071         (gammal_positive): New function.
10072         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10073         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10074         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10075         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10076         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10077         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10078         * sysdeps/generic/math_private.h (__gamma_productf): New
10079         prototype.
10080         (__gamma_product): Likewise.
10081         (__gamma_productl): Likewise.
10082         * math/Makefile (libm-calls): Add gamma_product.
10083         * math/libm-test.inc (tgamma_test): Add more tests.
10084         * sysdeps/i386/fpu/libm-test-ulps: Update.
10085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10087 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10089         * benchtests/bench-skeleton.c (main): Preheat CPU.
10091 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10093         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10095 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10097         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10098         and _dl_skip_args_internal.
10100 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10102         * manual/message.texi (Message Translation): Talk about users.
10103         Message to key mapping impacts design.
10105 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10107         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10109         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10111         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10112         * sysdeps/wordsize-64/glob64.c: ... here.
10114         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10115         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10116         New macros.
10118         * debug/getlogin_r_chk.c: Moved to ...
10119         * login/getlogin_r_chk.c: ... here.
10120         * debug/Makefile (routines): Move getlogin_r_chk to ...
10121         * login/Makefile (routines): ... here.
10122         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10123         * login/Versions (libc: GLIBC_2.4): ... here.
10125         * io/poll.c (__poll): Renamed from poll.
10126         Add libc_hidden_def.
10127         (poll): Define as weak alias.
10129         * debug/ptsname_r_chk.c: Moved to ...
10130         * login/ptsname_r_chk.c: ... here.
10131         * debug/Makefile (routines): Move ptsname_r_chk to ...
10132         * login/Makefile (routines): ... here.
10133         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10134         * login/Versions (libc: GLIBC_2.4): ... here.
10136         * posix/getlogin.c: Moved to ...
10137         * login/getlogin.c: ... here.
10138         * posix/getlogin_r.c: Moved to ...
10139         * login/getlogin_r.c: ... here.
10140         * posix/getlogin_r.c: Moved to ...
10141         * login/getlogin_r.c: ... here.
10142         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10143         * login/Makefile (routines): ... here.
10144         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10145         * login/Versions (libc: GLIBC_2.0): ... here.
10147         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10148         (setrlimit): Define as weak alias.
10150         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10151         Call __ names for open, ftruncate, and close.
10152         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10153         (truncate): Define as weak alias.
10155 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10157         * math/gen-libm-test.pl (parse_args): Initialize x before each
10158         test of frexp, modf and remquo.
10160         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10161         test signgam value.
10163 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10165         [BZ #15418]
10166         [BZ #15419]
10167         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10168         internal tests.
10169         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10171 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10173         * elf/dl-writev.h: New file.
10174         * elf/dl-misc.c: Include it.
10175         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10176         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10178 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10180         * math/libm-test.inc (noXFails): Remove variable.
10181         (noXPasses): Likewise.
10182         (BUILD_COMPLEX_INT): Remove macro.
10183         (print_screen): Remove xfail argument.
10184         (print_screen_max_error): Likewise.
10185         (update_stats): Likewise.
10186         (print_max_error): Likewise.  Update calls to other affected
10187         functions.
10188         (print_complex_max_error): Likewise.
10189         (test_single_exception): Update calls to print_screen.
10190         (test_single_errno): Likewise.
10191         (check_float_internal): Remove xfail argument.  Update calls to
10192         other affected functions.
10193         (check_float): Likewise.
10194         (check_complex): Likewise.
10195         (check_int): Likewise.
10196         (check_long): Likewise.
10197         (check_bool): Likewise.
10198         (check_longlong): Likewise.
10199         (main): Don't print noXFails and noXPasses.
10200         * math/gen-libm-test.pl (top level): Don't mention expected
10201         failure handling in comment.
10202         (new_test): Don't handle expected failures.
10203         (parse_args): Don't mention expected failure handling in comment.
10204         (generate_testfile): Don't handle expected failures.
10205         (parse_ulps): Likewise.
10206         (print_ulps_file): Likewise.
10207         (get_failure): Remove function.
10208         (output_test): Don't handle expected failures.
10209         * make/README.libm-test: Don't mention expected failure handling.
10211         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10212         (minus_zero): Likewise.
10213         (plus_infty): Likewise.
10214         (minus_infty): Likewise.
10215         (qnan_value): Likewise.
10216         (max_value): Likewise.
10217         (min_value): Likewise.
10218         (min_subnorm_value): Likewise.
10219         (initialize): Do not initialize those variables dynamically.
10221 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10223         * io/open.c (__open_2): Moved to ...
10224         * io/open_2.c: ... this new file.
10225         * io/open64.c (__open64_2): Moved to ...
10226         * io/open64_2.c: ... this new file.
10227         * io/openat.c (__openat_2): Moved to ...
10228         * io/openat_2.c: ... this new file.
10229         * io/openat64.c (__openat64_2): Moved to ...
10230         * io/openat64_2.c: ... this new file.
10231         * io/Makefile (routines): Add them.
10232         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10233         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10234         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10235         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10236         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10237         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10238         (__openat64): Add hidden_ver.
10239         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10240         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10242         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10243         Separately conditionalize setting of GLRO(dl_sysinfo) so
10244         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10245         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10247 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10249         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10250         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10251         definition.
10252         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10253         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10254         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10255         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10256         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10258 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10260         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10261         test signgam value.
10263         * math/libm-test.inc (hypot_test): Do not use
10264         IGNORE_ZERO_INF_SIGN.
10266 2013-05-03  Andreas Jaeger  <aj@suse.de>
10268         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10269         Linux 3.9.
10270         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10271         (PF_MAX): Adjust for VSOCK change.
10273 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10277 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10279         [BZ #15264]
10280         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10281         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10282         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10284 2013-05-02  David S. Miller  <davem@davemloft.net>
10286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10288 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10290         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10292 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10294         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10296 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10298         [BZ #14952]
10299         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10300         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10301         Use __attribute__ ((__gnu_inline__)).
10302         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10303         Don't use __attribute__ ((__gnu_inline__)).
10305 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10307         [BZ #15423]
10308         * math/s_catan.c (__catan): Handle small real or imaginary part of
10309         input specially to avoid spurious underflow.
10310         * math/s_catanf.c (__catanf): Likewise.
10311         * math/s_catanh.c (__catanh): Likewise.
10312         * math/s_catanhf.c (__catanhf): Likewise.
10313         * math/s_catanhl.c (__catanhl): Likewise.
10314         * math/s_catanl.c (__catanl): Likewise.
10315         * math/libm-test.inc (catan_test): Add more tests.
10316         (catanh_test): Likewise.
10317         * sysdeps/i386/fpu/libm-test-ulps: Update.
10318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10320 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10324 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10326         [BZ #15416]
10327         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10328         accurately for denominator in atan2.
10329         * math/s_catanf.c (__catanf): Likewise.
10330         * math/s_catanh.c (__catanh): Likewise.
10331         * math/s_catanhf.c (__catanhf): Likewise.
10332         * math/s_catanhl.c (__catanhl): Likewise.
10333         * math/s_catanl.c (__catanl): Likewise.
10334         * math/libm-test.inc (catan_test): Add more tests.
10335         (catanh_test): Likewise.
10336         * sysdeps/i386/fpu/libm-test-ulps: Update.
10337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10339 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10341         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10343         * benchtests/Makefile (bench): Remove slow benchmarks.
10344         * benchtests/atan-inputs: Add slow benchmark inputs.
10345         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10346         (BENCH_FUNC): Accept variant offset.
10347         (VARIANT): Define.
10348         * benchtests/bench-skeleton.c (main): Run benchmark for each
10349         variant.
10350         * benchtests/cos-inputs: Add slow benchmark inputs.
10351         * benchtests/exp-inputs: Likewise.
10352         * benchtests/pow-inputs: Likewise.
10353         * benchtests/sin-inputs: Likewise.
10354         * benchtests/slowatan-inputs: Remove.
10355         * benchtests/slowatan.c: Remove.
10356         * benchtests/slowcos-inputs: Remove.
10357         * benchtests/slowcos.c: Remove.
10358         * benchtests/slowexp-inputs: Remove.
10359         * benchtests/slowexp.c: Remove.
10360         * benchtests/slowpow-inputs: Remove.
10361         * benchtests/slowpow.c: Remove.
10362         * benchtests/slowsin-inputs: Remove.
10363         * benchtests/slowsin.c: Remove.
10364         * benchtests/slowtan-inputs: Remove.
10365         * benchtests/slowtan.c: Remove.
10366         * benchtests/tan-inputs: Add slow benchmark inputs.
10367         * scripts/bench.pl: Parse comments and directives.
10369         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10370         in CPPFLAGS.
10371         ($(objpfx)bench-%.c): Remove *-ITER.
10372         * benchtests/bench-modf.c: Remove definition of ITER.
10373         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10374         (main): Loop for DURATION seconds instead of fixed number of
10375         iterations.
10376         * scripts/bench.pl: Don't expect iterations in parameters.
10378 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10380         * io/fchdir.c (__fchdir): Renamed from fchdir.
10381         (fchdir): Define as weak alias.
10383 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10385         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10386         (ERRNO_EDOM): Likewise.
10387         (ERRNO_ERANGE): Likewise.
10388         (noErrnoTests): New variable.
10389         (init_max_error): Set errno to 0.
10390         (test_single_errno): New function.
10391         (test_errno): Likewise.
10392         (check_float_internal): Call test_errno.  Set errno to 0.
10393         (check_complex): Refer to errno tests in comment.
10394         (check_int): Call test_errno.  Set errno to 0.
10395         (check_long): Likewise.
10396         (check_bool): Likewise.
10397         (check_longlong): Likewise.
10398         (cos_test): Use ERRNO_* flags for errno tests instead of
10399         check_int.
10400         (expm1_test): Likewise.
10401         (fmod_test): Likewise.
10402         (ilogb_test): Likewise.
10403         (lgamma_test): Likewise.
10404         (pow_test): Likewise.
10405         (remainder_test): Likewise.
10406         (sin_test): Likewise.
10407         (tan_test): Likewise.
10408         (yn_test): Likewise.
10409         (initialize): Set errno to 0.
10410         (main): Print number of errno tests.
10411         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10413 2013-04-29  Andreas Jaeger  <aj@suse.de>
10415         [BZ #15084]
10416         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10417         and RES_USEVC.
10419         [BZ #15085]
10420         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10421         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10422         unimplemented.
10424         [BZ #15380]
10425         * stdlib/random.c (__initstate): Return NULL if
10426         __initstate fails.
10428         [BZ #15086]
10429         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10430         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10431         RES_SNGLKUPREOP.
10433 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10437 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10439         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10440         of individual tests.
10441         (casin_test): Likewise.
10442         (casinh_test): Likewise.
10444 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10446         [BZ #15409]
10447         * math/s_catan.c (__catan): Handle arguments with large real or
10448         imaginary part separately without squaring.
10449         * math/s_catanf.c (__catanf): Likewise.
10450         * math/s_catanh.c (__catanh): Likewise.
10451         * math/s_catanhf.c (__catanhf): Likewise.
10452         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10453         and redefine.
10454         (__catanhl): Handle arguments with large real or imaginary part
10455         separately without squaring.
10456         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10457         and redefine.
10458         (__catanl): Handle arguments with large real or imaginary part
10459         separately without squaring.
10460         * math/libm-test.inc (catan_test): Add more tests.
10461         (catanh_test): Likewise.
10462         * sysdeps/i386/fpu/libm-test-ulps: Update.
10463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10465 2013-04-27  Andreas Jaeger  <aj@suse.de>
10467         [BZ #15007]
10468         * stdlib/stdlib.h: Update guards for qecvt.
10469         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10470         <stdlib.h>.
10472 2013-04-27  Allan McRae  <allan@archlinux.org>
10474         * sysdeps/i386/fpu/libm-test-ulps: Update.
10476 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10478         [BZ #15406]
10479         * math/s_catan.c: Include <float.h>.
10480         (__catan): Ensure underflow exception occurs for underflowed
10481         result.
10482         * math/s_catanf.c: Include <float.h>.
10483         (__catanf): Ensure underflow exception occurs for underflowed
10484         result.
10485         * math/s_catanh.c: Include <float.h>.
10486         (__catanh): Ensure underflow exception occurs for underflowed
10487         result.
10488         * math/s_catanhf.c: Include <float.h>.
10489         (__catanhf): Ensure underflow exception occurs for underflowed
10490         result.
10491         * math/s_catanhl.c: Include <float.h>.
10492         (__catanhl): Ensure underflow exception occurs for underflowed
10493         result.
10494         * math/s_catanl.c: Include <float.h>.
10495         (__catanl): Ensure underflow exception occurs for underflowed
10496         result.
10497         * math/libm-test.inc (catan_test): Add more tests.
10498         (catanh_test): Likewise.
10500         [BZ #15405]
10501         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10502         underflowed result.
10503         * math/s_ccoshf.c (__ccoshf): Likewise.
10504         * math/s_ccoshl.c (__ccoshl): Likewise.
10505         * math/s_csin.c (__csin): Likewise.
10506         * math/s_csinf.c (__csinf): Likewise.
10507         * math/s_csinh.c (__csinh): Likewise.
10508         * math/s_csinhf.c (__csinhf): Likewise.
10509         * math/s_csinhl.c (__csinhl): Likewise.
10510         * math/s_csinl.c (__csinl): Likewise.
10511         * math/libm-test.inc (ccos_test): Add more tests.
10512         (ccosh_test): Likewise.
10513         (csin_test): Likewise.
10514         (csinh_test): Likewise.
10516 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10518         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10519         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10520         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10521         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10522         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10523         powerpc/power5+/fpu folders.
10524         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10527 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10531 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10533         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10534         additions to variable.
10535         [$(config-machine) = x86_64] (modules-names): Likewise.
10536         ($(objpfx)tst-audit3): Remove dependency.
10537         ($(objpfx)tst-audit3.out): Likewise.
10538         ($(objpfx)tst-audit4): Likewise.
10539         ($(objpfx)tst-audit4.out): Likewise.
10540         ($(objpfx)tst-audit5): Likewise.
10541         ($(objpfx)tst-audit5.out): Likewise.
10542         ($(objpfx)tst-audit6): Likewise.
10543         ($(objpfx)tst-audit6.out): Likewise.
10544         ($(objpfx)tst-audit7): Likewise.
10545         ($(objpfx)tst-audit7.out): Likewise.
10546         (tst-audit3-ENV): Remove variable.
10547         (tst-audit4-ENV): Likewise.
10548         (tst-audit5-ENV): Likewise.
10549         (tst-audit6-ENV): Likewise.
10550         (tst-audit7-ENV): Likewise.
10551         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10552         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10553         addition to variable.
10554         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10555         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10556         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10557         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10558         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10559         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10560         tst-audit3, tst-audit4 and tst-audit5.
10561         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10562         tst-audit6 and tst-audit7.
10563         [$(subdir) = elf] (modules-names): Add audit modules for those
10564         tests.
10565         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10566         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10567         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10568         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10569         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10570         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10571         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10572         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10573         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10574         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10575         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10576         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10577         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10578         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10579         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10580         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10581         Likewise.
10582         [$(subdir) = elf && $(config-cflags-avx) = yes]
10583         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10584         [$(subdir) = elf && $(config-cflags-avx) = yes]
10585         (CFLAGS-tst-auditmod4a.c): Likewise.
10586         [$(subdir) = elf && $(config-cflags-avx) = yes]
10587         (CFLAGS-tst-auditmod4b.c): Likewise.
10588         [$(subdir) = elf && $(config-cflags-avx) = yes]
10589         (CFLAGS-tst-auditmod6b.c): Likewise.
10590         [$(subdir) = elf && $(config-cflags-avx) = yes]
10591         (CFLAGS-tst-auditmod6c.c): Likewise.
10592         [$(subdir) = elf && $(config-cflags-avx) = yes]
10593         (CFLAGS-tst-auditmod7b.c): Likewise.
10594         * elf/tst-audit3.c: Move to ...
10595         * sysdeps/x86_64/tst-audit3.c: ... here.
10596         * elf/tst-audit4.c: Move to ...
10597         * sysdeps/x86_64/tst-audit4.c: ... here.
10598         * elf/tst-audit5.c: Move to ...
10599         * sysdeps/x86_64/tst-audit5.c: ... here.
10600         * elf/tst-audit6.c: Move to ...
10601         * sysdeps/x86_64/tst-audit6.c: ... here.
10602         * elf/tst-audit7.c: Move to ...
10603         * sysdeps/x86_64/tst-audit7.c: ... here.
10604         * elf/tst-auditmod3a.c: Move to ...
10605         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10606         * elf/tst-auditmod3b.c: Move to ...
10607         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10608         * elf/tst-auditmod4a.c: Move to ...
10609         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10610         * elf/tst-auditmod4b.c: Move to ...
10611         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10612         * elf/tst-auditmod5a.c: Move to ...
10613         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10614         * elf/tst-auditmod5b.c: Move to ...
10615         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10616         * elf/tst-auditmod6a.c: Move to ...
10617         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10618         * elf/tst-auditmod6b.c: Move to ...
10619         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10620         * elf/tst-auditmod6c.c: Move to ...
10621         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10622         * elf/tst-auditmod7a.c: Move to ...
10623         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10624         * elf/tst-auditmod7b.c: Move to ...
10625         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10627 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10629         [BZ #15366]
10630         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10631         define unconditionally.
10632         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10633         define unconditionally.
10634         (INT8_C, INT16_C, etc.): Likewise.
10636 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10638         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10639         __ehdr_start with hidden visibility.
10641         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10643 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10645         * math/libm-test.inc (cos_test): Use accurate hex constants.
10646         (sincost_test): Likewise.
10648 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10650         * math/libm-test.inc (catan_test): Add more tests.
10651         (catanh_test): Likewise.
10653         * math/s_catanf.c (__catanf): Use suffixed floating-point
10654         constants.
10655         * math/s_catanhf.c (__catanhf): Likewise.
10656         * math/s_catanhl.c (__catanhl): Likewise.
10657         * math/s_catanl.c (__catanl): Likewise.
10659         [BZ #15394]
10660         * math/s_catan.c (__catan): Calculate imaginary part of result
10661         with log1p not log unless computing log of number close to 0.
10662         * math/s_catanf.c (__catanf): Likewise.
10663         * math/s_catanl.c (__catanl): Likewise.
10664         * math/s_catanh.c (__catanh): Calculate real part of result with
10665         log1p not log unless computing log of number close to 0.
10666         * math/s_catanhf.c (__catanhf): Likewise.
10667         * math/s_catanhl.c (__catanhl): Likewise.
10668         * math/libm-test.inc (catan_test): Add more tests.
10669         (catanh_test): Likewise.
10670         * sysdeps/i386/fpu/libm-test-ulps: Update.
10671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10673 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10675         * benchtests/Makefile: Mention files in which fast and slow
10676         paths of math functions are implemented.
10678 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10680         * sysdeps/posix/timespec_get.c: New file.
10682 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10684         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10685         POWER.
10686         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10687         for POWER.
10688         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10689         powerpc/power5/fpu folders.
10690         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10691         * benchtests/Makefile: Add modf testcase.
10692         * benchtests/bench-modf.c: New file: Benchmark test for mo
10694 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10696         [BZ #14888]
10697         * time/Makefile (tests): Add tst-strptime-whitespace.
10698         * time/strptime_l.c (get_number): Use ISSPACE.
10699         (__strptime_internal): Likewise.
10700         * time/tst-strptime-whitespace.c: New test case.
10702 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10704         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10705         member.
10706         (_nss_files_init): Set it here.
10708 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10710         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10711         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10712         unsigned.
10714 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10716         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10718 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10720         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10721         size just once.
10723 2013-04-21  David S. Miller  <davem@davemloft.net>
10725         * po/ru.po: Update Russion translation from translation project.
10727 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10729         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10730         and setfsgid.
10732 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10734         * configure.in: Remove i386 configure warning. Remove i386 case.
10735         * configure: Regenerate.
10736         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10737         Add example to error message.
10738         * sysdeps/i386/configure: Regenerate.
10740 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10742         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10743         slowtan.
10744         * benchtests/cos-inputs: New file.
10745         * benchtests/slowcos-inputs: New file.
10746         * benchtests/slowcos.c: New file.
10747         * benchtests/slowtan-inputs: New file.
10748         * benchtests/slowtan.c: New file.
10749         * benchtests/tan-inputs: New file.
10751 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10753         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10754         considered kosher.
10756 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10758         * benchtests/Makefile: Include cppflags-iterator.mk to add
10759         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10761         * Makefile.in (bench-clean): New target.
10762         * benchtests/Makefile (bench-clean): Likewise.
10764 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10766         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10768 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10770         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10772 2013-04-15  Andreas Schwab  <schwab@suse.de>
10774         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10775         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10776         * nscd/pwdcache.c (cache_addpw): Likewise.
10777         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10778         more than recsize.
10780 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10782         * benchtests/Makefile (bench): Write all output to
10783         bench-out.tmp together.
10785 2013-04-15  Andreas Schwab  <schwab@suse.de>
10787         * nscd/nscd.c (main): Don't fork again after closing files.
10789 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10791         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10793         * benchtests/Rules (bench-deps): Collect dependencies into a
10794         single variable.  Add Makefile to dependencies.
10795         ($(objpfx)bench-%.c): Depend on bench-deps.
10797 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10798             Xavier Roche  <roche+kml2@exalead.com>
10800         [BZ #15361]
10801         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10802         just that it's a file descriptor.
10803         * manual/llio.texi (Synchronizing AIO Operations): Update description
10804         for EBADF error from aio_fsync.
10806 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10808         * Rules (bench): Move target definition...
10809         * benchtests/Makefile: ... here.
10811 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10813         * math/libm-test.inc (cos_test): Fix PI/2 test.
10814         (sincos_test): Likewise.
10815         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10816         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10818 2013-04-11  Andreas Schwab  <schwab@suse.de>
10820         [BZ #13988]
10821         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10822         accept exponent character only when digits were seen.
10823         * stdio-common/Makefile (tests): Add bug26.
10824         * stdio-common/bug26.c: New file.
10826         [BZ #14293]
10827         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10828         non-freeable.
10830 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10832         * Makeconfig (rtld-prefix): Define built linker prefix.
10833         * Rules (run-bench): Use it.
10834         * math/Makefile (run-regen-ulps): Likewise.
10836         * Rules (bench): Remove eval.
10838 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10839             Roland McGrath  <roland@hack.frob.com>
10840             Ondrej Bilka  <neleai@seznam.cz>
10842         [BZ #15346]
10843         * time/getdate.c: Include ctype.h and alloca.h.
10844         (__getdate_r): Trim leading and trailing spaces of input.
10845         * time/tst-getdate.c (tests): Add tests with leading and
10846         trailing spaces.
10848 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10850         [BZ #14280]
10851         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10852         when computing value.
10854 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10856         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10857         Use testrun.sh to run libm tests.
10859         [BZ #15309]
10860         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10862 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10864         [BZ #15264]
10865         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10867 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10869         * Makefile.in (regen-ulps): New target.
10870         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10871         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10872         [ifneq (no,$(PERL)] (regen-ulps): New target.
10873         [ifeq (no,$(PERL)] (regen-ulps): New target.
10874         * math/libm-test.inc (ulps_file_name): Define.
10875         (output_dir): New variable.
10876         (options): Add "output-dir" option.
10877         (parse_opt): Handle 'o' case.
10878         (main): If output_dir is non-NULL use it as a prefix
10879         otherwise use "".
10880         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10882 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10884         [BZ #10060, #10062]
10885         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10886         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10887         fail configure if __sync_val_compare_and_swap is not inlined.
10888         * sysdeps/i386/configure: Regenerate.
10889         * configure.in: Build for i686 when configured for i386.
10890         * configure: Regenerate.
10891         * README: Remove i386 reference.
10893 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10895         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10896         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10898 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10900         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10901         (lmsnanval): New variables.
10902         (F): Add conversion tests.
10903         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10904         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10906         * stdio-common/tstdiomisc.c (F): Properly collect individual
10907         tests' results.
10909         [BZ #14686, #15336]
10910         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10911         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10912         Instead, use input NaN values or generate a qNaN by arithmetic
10913         operation.  Also fix bugs to comply with the standard.
10914         * math/libm-test.inc (remainder_test): Add more tests.
10916         [BZ #15335, #15342]
10917         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10918         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10919         input NaN values or generate a qNaN by arithmetic operation.
10921         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10922         unreachable code.
10924         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10925         definitions.
10927 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10929         [BZ #14478]
10930         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10931         underflowed result.
10932         * math/s_cexpf.c (__cexpf): Likewise.
10933         * math/s_cexpl.c (__cexpl): Likewise.
10934         * math/libm-test.inc (cexp_test): Add more tests.
10936 2013-04-03  Andreas Schwab  <schwab@suse.de>
10938         [BZ #15330]
10939         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10940         order arrays from heap if bigger than alloca cutoff.
10942 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10944         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10945         (SNAN_TESTS_double): Refer to GCC PR56831.
10946         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10947         GCC PR56828.
10949 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10951         * Rules (bench): Move bench.out after the run is complete.
10953         * Rules (bench): Echo currently running benchmark.
10955         * benchtests/Makefile (bench): Add atan and slowatan.
10956         * benchtests/atan-inputs: New file.
10957         * benchtests/slowatan-inputs: New file.
10958         * benchtests/slowatan.c: New file.
10960         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10961         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10962         its value.
10964         [BZ #15305]
10965         * sysdeps/unix/sysv/linux/kernel-features.h
10966         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10967         __ASSUME_XFS_RESTRICTED_CHOWN.
10968         * sysdeps/unix/sysv/linux/pathconf.c
10969         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10970         Save and restore errno.
10972 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10974         [BZ #15327]
10975         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10976         arguments using __kernel_casinh.
10977         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10978         arguments using __kernel_casinhf.
10979         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10980         arguments using __kernel_casinhl.
10981         * math/libm-test.inc (cacosh_test): Add more tests.
10982         * sysdeps/i386/fpu/libm-test-ulps: Update.
10983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10985 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10987         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10988         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10990         * bench/Makefile (bench): Add sin and slowsin.
10991         * benchtests/sin-inputs: New file.
10992         * benchtests/slowsin-inputs: New file.
10993         * benchtests/slowsin.c: New file.
10995         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10996         (bench): Add slowexp and slowpow.
10997         (exp-ITER): Increase iterations.
10998         (pow-ITER): Likewise.
10999         * benchtests/exp-inputs: Change input.
11000         * benchtests/pow-inputs: Likewise.
11001         * benchtests/slowexp-inputs: New file.
11002         * benchtests/slowexp.c: New file.
11003         * benchtests/slowpow-inputs: New file.
11004         * benchtests/slowpow.c: New file.
11006 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11008         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11009         instructions.
11010         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11011         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11012         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11013         * benchtests/Makefile: Add rint benchtest.
11014         * benchtests/rint-inputs: Input for rint benchtest.
11016 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11018         * Versions.def (libm): Add GLIBC_2.18.
11019         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11020         hidden libm prototypes.
11021         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11022         * math/Makefile (libm-calls): Add s_issignaling.
11023         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11024         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11025         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11026         declaration.
11027         * math/math.h [__USE_GNU] (issignaling): New macro.
11028         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11029         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11030         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11031         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11032         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11033         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11034         * manual/arith.texi (issignaling): New section.
11035         * manual/libm-err-tab.pl (@all_functions): Update comment.
11036         * math/gen-libm-test.pl (parse_args): Apply special handling for
11037         issignaling.
11038         * math/libm-test.inc (print_float, issignaling_test): New
11039         functions.
11040         (check_float_internal): Add issignaling checks.
11041         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11042         default definition.
11043         * sysdeps/powerpc/math-tests.h: New file.
11044         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11045         tests.
11046         * math/test-snan.c (TEST_FUNC): Likewise.
11048 2013-03-30  David S. Miller  <davem@davemloft.net>
11050         * po/de.po: Update from translation team.
11052 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11054         [BZ #10357]
11055         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11056         imaginary part less than 1.0 and real part less than 0.5
11057         specially.
11058         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11059         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11060         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11061         (cacos_test): Add more tests.
11062         (casin_test): Likewise.
11063         (casinh_test): Likewise.
11064         * sysdeps/i386/fpu/libm-test-ulps: Update.
11065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11067 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11069         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11070         ONE with its value.
11072         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11073         (__pow_mp): Replace ONE and MONE with their values.
11074         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11075         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11076         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11077         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11078         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11079         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11081         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11083         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11084         (__pow_mp): Replace ZERO and MZERO with their values.
11085         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11086         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11087         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11089         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11090         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11091         (__sqr): Likewise.
11093         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11095         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11097 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11099         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11100         Declare with __attribute__ ((weak)).
11101         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11102         Call __call_tls_dtors only if it's not NULL.
11104 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11106         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11107         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11108         magic __ehdr_start linker symbol if it's defined.
11109         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11110         them up here if it was already done.
11112         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11113         (_dl_aux_init): Use const in cast when setting it.
11114         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11115         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11116         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11118         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11119         Declare them here.
11120         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11121         * csu/libc-tls.c: Nor here.
11122         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11124         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11125         (__libc_message): Never call vsyslog.
11127 2013-03-28  Alan Modra  <amodra@gmail.com>
11129         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11130         Define as empty.
11131         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11132         Likewise.
11134 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11136         [BZ #15214]
11137         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11138         underflow.
11139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11141 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11143         [BZ #15304]
11144         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11145         Don't add gid passed as argument.
11147         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11149 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11151         [BZ #15307]
11152         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11153         imaginary part between 1.0 and 1.5 and real part less than 0.5
11154         specially.
11155         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11156         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11157         * math/libm-test.inc (cacos_test): Add more tests.
11158         (casin_test): Likewise.
11159         (casinh_test): Likewise.
11160         * sysdeps/i386/fpu/libm-test-ulps: Update.
11161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11163 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11165         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11166         constants.
11167         (norm): Likewise.
11168         (denorm): Likewise.
11169         (__dbl_mp): Likewise.
11170         (add_magnitudes): Likewise.
11171         (sub_magnitudes): Likewise.
11172         (__add): Likewise.
11173         (__sub): Likewise.
11174         (__mul): Likewise.
11175         (__sqr): Likewise.
11176         (__inv): Likewise.
11177         (__dvd): Likewise.
11179         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11180         commented code.
11181         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11182         (__dubcos): Likewise.
11183         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11184         (__ieee754_acos): Likewise.
11185         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11186         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11187         (__exp1): Likewise.
11188         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11189         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11190         (log1): Likewise.
11191         (my_log2): Likewise.
11192         (checkint): Likewise.
11193         * sysdeps/ieee754/dbl-64/e_remainder.c
11194         (__ieee754_remainder): Likewise.
11195         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11196         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11197         (bsloww): Likewise.
11198         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11200         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11201         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11202         MANTISSA_STORE_T to store computations on mantissa.  Use
11203         macros for rounding and division.
11204         (denorm): Likewise.
11205         (__dbl_mp): Likewise.
11206         (add_magnitudes): Likewise.
11207         (sub_magnitudes): Likewise.
11208         (__mul): Likewise.
11209         (__sqr): Likewise.
11210         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11211         powers of two in terms of TWOPOW macro.
11212         (mp_no): Make type of mantissa as MANTISSA_T.
11213         [!RADIXI]: Define RADIXI.
11214         [!TWO52]: Define TWO52.
11215         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11217 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11219         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11220         llroundl symbol when building for PPC32.
11222 2013-03-24  Mark H Weaver  <mhw@netris.org>
11224         * manual/arith.texi (Normalization Functions): Fix prototypes for
11225         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11227 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11229         [BZ #13889]
11230         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11231         high value to check if expl overflow.
11232         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11233         to check for underflow and overflow.
11234         * math/libm-test.inc: Add exp test.
11236 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11238         [BZ #11120]
11239         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11240         with NOT_IN_libc.
11242 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11244         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11245         symbol.
11247 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11249         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11250         wrap blocks consisting of several statements.
11252         * sysdeps/generic/math-tests.h: New file.
11253         * sysdeps/i386/fpu/math-tests.h: Likewise.
11254         * math/test-snan.c: Include it.
11255         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11257 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11259         [BZ #15285]
11260         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11261         (__ieee754_j0l): Do not improve calculations using cos of twice
11262         input for inputs above LDBL_MAX / 2.0L.
11263         (__ieee754_y0l): Likewise.
11264         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11265         (__ieee754_j1l): Do not improve calculations using cos of twice
11266         input for inputs above LDBL_MAX / 2.0L.
11267         (__ieee754_y1l): Likewise.
11268         * math/libm-test.inc (j0_test): Add another test.
11269         (j1_test): Likewise.
11270         (y0_test): Likewise.
11271         (y1_test): Likewise.
11272         * sysdeps/i386/fpu/libm-test-ulps: Update.
11274 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11276         * Rules ($(objpfx)bench-%.c): Include code from a C source
11277         file.
11279 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11281         [BZ #15287]
11282         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11283         imaginary part 1.0 and real part less than 0.5 specially.
11284         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11285         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11286         * math/libm-test.inc (cacos_test): Add more tests.
11287         (casin_test): Likewise.
11288         (casinh_test): Likewise.
11289         * sysdeps/i386/fpu/libm-test-ulps: Update.
11290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11292 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11294         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11295         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11297 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11299         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11300         * config.make.in (config-cflags-sse4): Remove variable.
11301         (config-cflags-avx): Likewise.
11302         (config-cflags-sse2avx): Likewise.
11303         (config-cflags-novzeroupper): Likewise.
11304         (config-asflags-i686): Likewise.
11305         (have-mfma4): Likewise.
11306         (have-as-vis3): Likewise.
11307         (MIG): Likewise.
11308         * configure.in (MIG): Do not AC_SUBST.
11309         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11310         (libc_cv_cc_sse4): Do not AC_SUBST.
11311         (libc_cv_cc_avx): Likewise.
11312         (libc_cv_cc_sse2avx): Likewise.
11313         (libc_cv_cc_novzeroupper): Likewise.
11314         (libc_cv_cc_fma4): Likewise.
11315         (libc_cv_as_i686): Likewise.
11316         (libc_cv_sparc_as_vis3): Likewise.
11317         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11318         LIBC_CONFIG_VAR.
11319         (config-asflags-i686): Likewise.
11320         (config-cflags-avx): Likewise.
11321         (config-cflags-sse2avx): Likewise.
11322         (have-mfma4): Likewise.
11323         (config-cflags-novzeroupper): Likewise.
11324         * sysdeps/mach/configure.in (MIG): Likewise.
11325         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11326         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11327         LIBC_CONFIG_VAR.
11328         (config-cflags-avx): Likewise.
11329         (config-cflags-sse2avx): Likewise.
11330         (have-mfma4): Likewise.
11331         (config-cflags-novzeroupper): Likewise.
11332         * configure: Regenerated.
11333         * sysdeps/i386/configure: Likewise.
11334         * sysdeps/mach/configure: Likewise.
11335         * sysdeps/sparc/configure: Likewise.
11336         * sysdeps/x86_64/configure: Likewise.
11338 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11340         [BZ #14812]
11341         * locale/programs/localedef.c (options): Put N_ translation marker
11342         on argument names, not just descriptions.
11344 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11346         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11348 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11350         [BZ #14176]
11351         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11353 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11355         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11356         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11357         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11358         [!BEFORE_ABORT] (before_abort): New function.
11359         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11360         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11361         (writev_for_fatal): New function.
11362         (WRITEV_FOR_FATAL): New macro; call that.
11363         (backtrace_and_maps): New function.
11364         (BEFORE_ABORT): New macro; call that.
11365         (struct str_list): Type removed.
11366         (__libc_message, __libc_fatal): Functions removed.
11367         Include <sysdeps/posix/libc_fatal.c> instead.
11369 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11371         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11372         constants.
11373         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11374         double constants.
11376 2013-03-19  Andreas Schwab  <schwab@suse.de>
11378         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11379         * sysdeps/gnu/configure: Regenerate.
11381         * configure.in: Substitute libc_cv_rtlddir.
11382         * configure: Regenerate.
11383         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11384         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11385         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11386         * elf/Makefile (install-others, CFLAGS-interp.c)
11387         (ldso_install, common-ldd-rewrite): Likewise.
11388         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11389         $(inst_slibdir)/$(rtld-installed-name).
11390         * scripts/rellns-sh: Add -p option.
11391         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11392         for source.
11394 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11396         * manual/nptl.texi: Renamed to ...
11397         * manual/threads.texi: ... this.
11398         * manual/Makefile (chapters): Update.
11400 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11402         [BZ #14812]
11403         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11404         on argument names, not just descriptions.
11405         * malloc/memusagestat.c (options): Likewise.
11406         * nss/getent.c (options): Likewise.
11408 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11410         [BZ #14812]
11411         * iconv/iconv_prog.c (options): Put N_ translation marker
11412         on argument names, not just descriptions.
11413         * iconv/iconvconfig.c (options): Likewise.
11415 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11417         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11418         implementation which is faster on all x86_64 architectures.
11419         Tested on AMD, Intel Nehalem, SNB, IVB.
11420         * sysdeps/x86_64/strnlen.S: Likewise.
11422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11423         Remove all multiarch strlen and strnlen versions.
11424         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11425         Remove strlen and strnlen related parts.
11427         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11428         Inline strlen part.
11429         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11431         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11432         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11433         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11434         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11435         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11436         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11438 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11440         * manual/memory.texi (Malloc Tunable Parameters):
11441         Sort parameters alphabetically. Add comments for missing entries.
11443 2013-03-17  David S. Miller  <davem@davemloft.net>
11445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11447 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11449         [BZ #15283]
11450         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11451         for arguments at most half maximum finite value.
11452         * math/libm-test.inc (j0_test): Add more tests.
11453         (j1_test): Likewise.
11454         (y0_test): Likewise.
11455         (y1_test): Likewise.
11456         * sysdeps/i386/fpu/libm-test-ulps: Update.
11457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11459         [BZ #14155]
11460         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11461         1 / x and functions P and Q for arguments above 0x1p256L.
11462         (__ieee754_y0l): Likewise.
11463         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11464         (__ieee754_y1l): Likewise.
11465         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11466         (j1_test): Likewise.
11467         (y0_test): Likewise.
11468         (y1_test): Likewise.
11470 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11472         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11473         variable.
11475 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11477         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11478         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11479         zero since it's initialized to EXEC_PAGESIZE.
11481         * sysdeps/unix/sysv/linux/ldsodefs.h
11482         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11483         * sysdeps/generic/ldsodefs.h: ... here.
11485 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11487         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11489         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11490         math/test-snan.c.
11491         * math/test-snan.c: Renamed from
11492         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11493         * math/Makefile (tests): Add test-snan.
11494         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11495         test-powerpc-snan.
11497         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11498         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11499         functions.
11500         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11501         __builtin_nan family of functions.
11502         * math/libm-test.inc (initialize): Initialize qnan_value with
11503         __builtin_nan family of functions.
11504         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11505         Remove variables.
11506         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11507         Remove functions.
11508         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11509         storage class.  Initialize qNaN_var and sNaN_var with
11510         __builtin_nan and __builtin_nans families of functions,
11511         respectively.
11513         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11514         (sqrt_test): Remove duplicate test with qNaN input.
11515         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11516         (round_test, signbit_test, significand_test): Note missing +/-Inf
11517         as well as qNaN tests.
11519         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11520         qNaN_var.  Fix a few strings, too.
11521         * math/libm-test.inc (nan_value): Rename to qnan_value.
11522         * math/gen-libm-test.pl (%beautify): Adjust to that.
11523         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11524         * math/test-misc.c (main): Likewise.
11525         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11526         to __qnan_bytes, and __qnan_union, respectively.
11527         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11528         Likewise.
11529         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11530         and lqnanval, respectively.
11531         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11532         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11533         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11534         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11536         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11537         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11538         doubles.
11540         * math/test-misc.c (main): Fix copy'n'pastos.
11541         * misc/tst-efgcvt.c (special): Likewise.
11543         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11544         Remove declarations.
11546 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11548         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11549         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11550         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11551         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11553 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11555         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11556         macro to return vdso values correctly in IFUNC implementations.
11557         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11558         Optimization by using IFUNC.
11560 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11561             Richard Henderson  <rth@redhat.com>
11562             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11564         * Makefile.in (bench): New target.
11565         * NEWS: Mention the benchmark framework.
11566         * Rules (bench): Likewise.
11567         (binaries-bench): Generate binaries for functions to
11568         benchmark.
11569         * benchtests/Makefile: New makefile for benchmark tests.
11570         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11571         programs.
11572         * benchtests/exp-inputs: New input file for EXP function.
11573         * benchtests/pow-inputs: New input file for POW function.
11574         * scripts/bench.pl: New script to generate source files for
11575         benchmark programs.
11577 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11579         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11580         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11581         computations on mantissa.  Use macros for rounding and
11582         division.
11583         (denorm): Likewise.
11584         (__dbl_mp): Likewise.
11585         (add_magnitudes): Likewise.
11586         (sub_magnitudes): Likewise.
11587         (__mul): Likewise.
11588         (__sqr): Likewise.
11589         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11590         powers of two in terms of TWOPOW macro.
11591         (mp_no): Make type of mantissa as MANTISSA_T.
11592         [!RADIXI]: Define RADIXI.
11593         [!TWO52]: Define TWO52.
11594         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11596         * manual/nptl.texi (cindex): Modify threads to pthreads.
11598 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11600         * sysdeps/x86_64/preconfigure: Regenerated.
11602 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11604         [BZ #14155]
11605         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11606         0x1p28 and above.
11607         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11608         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11609         0x1p28 and above.
11610         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11611         * math/libm-test.inc (j0_test): Do not allow one spurious
11612         underflow exception.
11613         (y1_test): Likewise.
11615 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11617         * manual/Makefile (chapters): Add nptl.
11618         * manual/debug.texi (Debugging Support): Add link to Threads
11619         chapter.
11620         * manual/nptl.texi: New file.
11622         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11624 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11626         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11627         for non-NULL pointer before the memory validity test. Pointed
11628         out by Holger Brunck <holger.brunck@keymile.com>.
11630 2013-03-13  Andreas Schwab  <schwab@suse.de>
11632         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11633         instead of .os.
11635 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11637         * timezone/zic.c: Update from tzcode 2013b.
11639 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11641         * manual/install.texi (Configuring and compiling):
11642         Mention i686 and i586.
11643         * INSTALL: Regenerate.
11645 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11647         * sysdeps/init_array/elf-init.c: New file.
11648         * csu/elf-init.c
11649         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11650         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11652         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11653         __gmon_start__ as global, but as static with a .preinit_array pointer.
11654         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11655         * sysdeps/init_array/crti.S: New file, empty except for comments.
11656         * sysdeps/init_array/crtn.S: Likewise.
11658 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11660         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11661         definining bcopy.
11662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11663         Remove Prefer_SSE_for_memop.
11664         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11665         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11666         HAS_PREFER_SSE_FOR_MEMOP.
11667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11668         memset-x86-64.
11669         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11670         Remove bzero, memset ifunc support.
11671         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11672         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11673         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11674         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11676 2013-03-11  Andreas Schwab  <schwab@suse.de>
11678         [BZ #15234]
11679         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11680         by SHLIB_COMPAT.
11681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11682         (GLIBC_2.16): Remove pthread_atfork.
11684 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11686         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11687         (ptestcases.h): Likewise.
11689 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11691         * Makeconfig ($(common-objpfx)config.status): Depend on
11692         sysdeps/*/preconfigure{,.in} too.
11694 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11696         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11697         (__free_hook): Use void * instead of __malloc_ptr_t.
11698         (__malloc_hook): Likewise.
11699         (__realloc_hook): Likewise.
11700         (__memalign_hook): Likewise.
11701         (__after_morecore_hook): Likewise.
11702         * malloc/arena.c (save_malloc_hook): Likewise.
11703         (save_free_hook): Likewise.
11704         * malloc/hooks.c (malloc_hook_ini): Likewise.
11705         (realloc_hook_ini): Likewise.
11706         (memalign_hook_ini): Likewise.
11707         * malloc/malloc.c (malloc_hook_ini): Likewise.
11708         (realloc_hook_ini): Likewise.
11709         (memalign_hook_ini): Likewise.
11710         (__free_hook): Likewise.
11711         (__malloc_hook): Likewise.
11712         (__realloc_hook): Likewise.
11713         (__memalign_hook): Likewise.
11714         (__libc_malloc): Likewise.
11715         (__libc_free): Likewise.
11716         (__libc_realloc): Likewise.
11717         (__libc_memalign): Likewise.
11718         (__libc_valloc): Likewise.
11719         (__libc_pvalloc): Likewise.
11720         (__libc_calloc): Likewise.
11721         (__posix_memalign): Likewise.
11722         * malloc/morecore.c (__sbrk): Likewise.
11723         (__default_morecore): Likewise.
11725         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11727         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11728         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11729         __malloc_ptrdiff_t.
11731         * malloc/malloc.h (__malloc_size_t): Remove macro.
11732         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11733         __malloc_size_t.
11734         (old_memalign_hook): Likewise.
11735         (old_realloc_hook): Likewise.
11736         (struct hdr): Likewise.
11737         (flood): Likewise.
11738         (mallochook): Likewise.
11739         (memalignhook): Likewise.
11740         (reallochook): Likewise.
11741         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11742         (tr_old_realloc_hook): Likewise.
11743         (tr_old_memalign_hook): Likewise.
11744         (tr_mallochook): Likewise.
11745         (tr_reallochook): Likewise.
11746         (tr_memalignhook): Likewise.
11748 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11750         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11751         default_ldbl_pack and using as default implementation.
11752         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11753         implementation.
11754         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11755         redundant definition.
11756         (ldbl_insert_mantissa): Likewise.
11757         (ldbl_canonicalize): Likewise.
11758         (ldbl_nearbyint): Likewise.
11759         (ldbl_pack): Rename to ldbl_pack_ppc.
11760         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11761         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11762         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11764 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11766         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11767         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11768         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11769         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11771         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11772         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11773         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11775 2013-03-07  Andreas Jaeger  <aj@suse.de>
11777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11778         bits/mman-linux.h.
11780 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11782         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11783         Include mpa.h and declare __MPEXP.
11784         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11785         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11786         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11787         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11788         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11789         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11790         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11792         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11793         (__slowpow): Use long double EXPL and LOGL functions to
11794         compute POW.
11795         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11796         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11797         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11798         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11799         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11800         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11802         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11803         intermediate variable to calculate exponent.
11804         (__sqr): Likewise.
11805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11806         Likewise.
11807         (__sqr): Likewise.
11809         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11810         [!NO__SQR]: Define __sqr.
11811         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11812         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11813         sysdeps/ieee754/dbl-64/mpa.c.
11814         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11816         [BZ #12723]
11817         * posix/Makefile (tests): Add tst-pathconf.
11818         * posix/tst-pathconf.c: New test case.
11819         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11820         _PC_PIPE_BUF.
11821         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11823 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11825         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11827 2013-03-06  Andreas Jaeger  <aj@suse.de>
11829         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11830         definition via __MAP_ANONYMOUS.
11832         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11833         it's not part of Linux headers.
11835         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11836         (MAP_HUGE_MASK): Define.
11838         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11839         Define.
11840         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11841         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11842         Define.
11843         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11844         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11845         Define.
11846         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11847         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11848         Define.
11849         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11851         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11852         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11853         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11854         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11855         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11856         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11858         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11859         Handle f2fs.
11861         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11862         Handle f2fs and efivarfs.
11864         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11865         f2fs.
11867         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11868         (EFIVARFS_MAGIC): Add.
11869         (F2FS_LINK_MAX): Add.
11871 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11873         * stdio-common/vfprintf.c: Replace __builtin_expect with
11874         __glibc_unlikely.
11876 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11878         [BZ #13550]
11879         * sysdeps/generic/bp-sym.h: Remove file.
11880         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11881         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11882         <bp-sym.h> and <bp-asm.h>.
11883         (__longjmp): Don't use BP_SYM.
11884         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11885         and <bp-asm.h>.
11886         (memcpy): Don't use BP_SYM.
11887         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11888         <bp-sym.h> and <bp-asm.h>.
11889         (memcpy): Don't use BP_SYM.
11890         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11891         <bp-asm.h>.
11892         (memcpy): Don't use BP_SYM.
11893         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11894         <bp-asm.h>.
11895         (memset): Don't use BP_SYM.
11896         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11897         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11898         (__bzero): Don't use BP_SYM.
11899         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11900         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11901         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11902         <bp-sym.h> and <bp-asm.h>.
11903         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11904         pointers.
11905         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11906         <bp-sym.h> and <bp-asm.h>.
11907         (memcpy): Don't use BP_SYM.
11908         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11909         <bp-sym.h> and <bp-asm.h>.
11910         (memset): Don't use BP_SYM.
11911         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11912         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11913         (__bzero): Don't use BP_SYM.
11914         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11915         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11916         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11917         <bp-sym.h> and <bp-asm.h>.
11918         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11919         pointers.
11920         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11921         <bp-sym.h> and <bp-asm.h>.
11922         (memcpy): Don't use BP_SYM.
11923         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11924         <bp-sym.h> and <bp-asm.h>.
11925         (memset): Don't use BP_SYM.
11926         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11927         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11928         (__bzero): Don't use BP_SYM.
11929         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11930         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11931         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11932         <bp-sym.h> and <bp-asm.h>.
11933         (__memchr): Don't use BP_SYM.
11934         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11935         <bp-sym.h> and <bp-asm.h>.
11936         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11937         pointers.
11938         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11939         <bp-sym.h> and <bp-asm.h>.
11940         (memcpy): Don't use BP_SYM.
11941         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11942         <bp-sym.h> and <bp-asm.h>.
11943         (__mempcpy): Don't use BP_SYM.
11944         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11945         <bp-sym.h> and <bp-asm.h>.
11946         (__memrchr): Don't use BP_SYM.
11947         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11948         <bp-sym.h> and <bp-asm.h>.
11949         (memset): Don't use BP_SYM.
11950         (__bzero): Likewise.
11951         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11952         <bp-sym.h> and <bp-asm.h>.
11953         (__rawmemchr): Don't use BP_SYM.
11954         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11955         <bp-sym.h> and <bp-asm.h>.
11956         (__STRCMP): Don't use BP_SYM.
11957         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11958         <bp-sym.h> and <bp-asm.h>.
11959         (strchr): Don't use BP_SYM.
11960         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11961         <bp-sym.h> and <bp-asm.h>.
11962         (__strchrnul): Don't use BP_SYM.
11963         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11964         <bp-sym.h> and <bp-asm.h>.
11965         (strlen): Don't use BP_SYM.
11966         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11967         <bp-sym.h> and <bp-asm.h>.
11968         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11969         pointers.
11970         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11971         <bp-sym.h> and <bp-asm.h>.
11972         (__strnlen): Don't use BP_SYM.
11973         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11974         <bp-sym.h> and <bp-asm.h>.
11975         (__GI__setjmp): Don't use BP_SYM.
11976         (_setjmp): Likewise.
11977         (__sigsetjmp): Likewise.
11978         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11979         (L(start_addresses)): Don't use BP_SYM.
11980         (_start): Likewise.
11981         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11982         <bp-asm.h>.
11983         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11984         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11985         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11986         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11987         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11988         <bp-asm.h>.
11989         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11990         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11991         about bounded pointers.
11992         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11993         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11994         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11995         <bp-asm.h>.
11996         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11997         about bounded pointers.  Remove GKM FIXME comments.
11998         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11999         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12000         <bp-asm.h>.
12001         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12002         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12003         Remove GKM FIXME comments.
12004         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12005         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12006         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12007         <bp-asm.h>.
12008         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12009         about bounded pointers.  Remove GKM FIXME comment.
12010         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12011         and <bp-asm.h>.
12012         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12013         pointers.
12014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12015         <bp-sym.h> and <bp-asm.h>.
12016         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12018         <bp-sym.h> and <bp-asm.h>.
12019         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12020         comment.
12022 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12024         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12025         call free(NULL).
12027 2013-03-05  David S. Miller  <davem@davemloft.net>
12029         * po/es.po: Update from translation team.
12031 2013-03-05  Andreas Jaeger  <aj@suse.de>
12033         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12034         <bits/mman-linux.h>.
12035         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12036         is fine.
12037         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12038         <bits/mman-linux.h> to end of file.
12039         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12040         is fine.
12041         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12042         <bits/mman-linux.h> to end of file.
12043         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12044         is fine.
12045         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12046         <bits/mman-linux.h> to end of file.
12048         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12049         (MCL_CURRENT, MCL_FUTURE): Define here.
12051 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12053         [BZ #15232]
12054         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12055         attribute_hidden.
12056         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12058 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12060         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12061         fourth parameter needed for rt_sigprocmask syscall.
12062         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12063         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12064         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12065         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12066         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12067         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12069 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12071         [BZ #13550]
12072         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12073         comment about bounded pointers.
12074         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12075         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12077 2013-03-04  Andreas Jaeger  <aj@suse.de>
12079         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12080         common definitions.
12082         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12083         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12084         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12085         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12086         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12087         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12089 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12091         [BZ #15055]
12092         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12093         __ieee754_sqrl instead of __sqrl.
12095 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12097         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12098         * sysdeps/powerpc/fpu_control.h: ... here.
12099         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12100         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12101         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12102         * sysdeps/powerpc/bits/mathinline.h: ... here.
12104 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12106         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12107         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12108         to just [NEED_DL_SYSINFO_DSO].
12109         * elf/dl-support.c: Likewise.
12110         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12111         * elf/rtld.c (dl_main): Likewise.
12112         * elf/setup-vdso.h (setup_vdso): Likewise.
12113         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12114         * sysdeps/unix/sysv/linux/dl-sysdep.c
12115         (_dl_discover_osversion): Likewise.
12117 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12119         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12120         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12122 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12124         * NEWS: Mention libm performance improvements and non-x86 PI
12125         futex support.
12127         * csu/libc-start.c (__pthread_initialize_minimal): Change
12128         function arguments.
12129         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12131 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12133         [BZ #13550]
12134         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12135         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12136         <bp-sym.h> and <bp-asm.h>.
12137         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12138         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12139         and <bp-asm.h>.
12140         (memcpy): Don't use BP_SYM.
12141         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12142         <bp-asm.h>.
12143         (__mpn_add_n): Don't use BP_SYM.
12144         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12145         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12146         and <bp-asm.h>.
12147         (__mpn_addmul_1): Don't use BP_SYM.
12148         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12149         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12150         <bp-sym.h>.
12151         (_setjmp): Don't use BP_SYM.
12152         (__novmx_setjmp): Likewise.
12153         (__GI__setjmp): Likewise.
12154         (__vmx_setjmp): Likewise.
12155         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12156         <bp-sym.h>.
12157         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12158         (__bzero): Don't use BP_SYM.
12159         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12160         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12161         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12162         <bp-sym.h> and <bp-asm.h>.
12163         (memcpy): Don't use BP_SYM.
12164         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12165         <bp-sym.h> and <bp-asm.h>.
12166         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12167         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12168         <bp-sym.h> and <bp-asm.h>.
12169         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12170         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12171         <bp-asm.h>.
12172         (__mpn_lshift): Don't use BP_SYM.
12173         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12174         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12175         <bp-asm.h>.
12176         (memset): Don't use BP_SYM.
12177         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12178         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12179         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12180         <bp-asm.h>.
12181         (__mpn_mul_1): Don't use BP_SYM.
12182         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12183         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12184         <bp-sym.h> and <bp-asm.h>.
12185         (memcmp): Don't use BP_SYM.
12186         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12187         <bp-sym.h> and <bp-asm.h>.
12188         (memcpy): Don't use BP_SYM.
12189         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12190         <bp-sym.h> and <bp-asm.h>.
12191         (memset): Don't use BP_SYM.
12192         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12193         <bp-sym.h> and <bp-asm.h>.
12194         (strncmp): Don't use BP_SYM.
12195         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12196         <bp-sym.h> and <bp-asm.h>.
12197         (memcpy): Don't use BP_SYM.
12198         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12199         <bp-sym.h> and <bp-asm.h>.
12200         (memset): Don't use BP_SYM.
12201         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12202         <bp-sym.h> and <bp-asm.h>.
12203         (__memchr): Don't use BP_SYM.
12204         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12205         <bp-sym.h> and <bp-asm.h>.
12206         (memcmp): Don't use BP_SYM.
12207         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12208         <bp-sym.h> and <bp-asm.h>.
12209         (memcpy): Don't use BP_SYM.
12210         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12211         <bp-sym.h> and <bp-asm.h>.
12212         (__mempcpy): Don't use BP_SYM.
12213         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12214         <bp-sym.h> and <bp-asm.h>.
12215         (__memrchr): Don't use BP_SYM.
12216         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12217         <bp-sym.h> and <bp-asm.h>.
12218         (memset): Don't use BP_SYM.
12219         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12220         <bp-sym.h> and <bp-asm.h>.
12221         (__rawmemchr): Don't use BP_SYM.
12222         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12223         <bp-sym.h> and <bp-asm.h>.
12224         (__STRCMP): Don't use BP_SYM.
12225         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12226         <bp-sym.h> and <bp-asm.h>.
12227         (strchr): Don't use BP_SYM.
12228         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12229         <bp-sym.h> and <bp-asm.h>.
12230         (__strchrnul): Don't use BP_SYM.
12231         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12232         <bp-sym.h> and <bp-asm.h>.
12233         (strlen): Don't use BP_SYM.
12234         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12235         <bp-sym.h> and <bp-asm.h>.
12236         (strncmp): Don't use BP_SYM.
12237         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12238         <bp-sym.h> and <bp-asm.h>.
12239         (__strnlen): Don't use BP_SYM.
12240         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12241         <bp-asm.h>.
12242         (__mpn_rshift): Don't use BP_SYM.
12243         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12244         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12245         <bp-sym.h> and <bp-asm.h>.
12246         (__sigsetjmp): Don't use BP_SYM.
12247         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12248         (L(start_addresses)): Don't use BP_SYM.
12249         (_start): Likewise.
12250         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12251         <bp-asm.h>.
12252         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12253         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12254         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12255         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12256         <bp-asm.h>.
12257         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12258         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12259         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12260         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12261         <bp-asm.h>.
12262         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12263         comments.
12264         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12265         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12266         <bp-asm.h>.
12267         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12268         FIXME comments.
12269         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12270         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12271         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12272         <bp-asm.h>.
12273         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12274         comment.
12275         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12276         and <bp-asm.h>.
12277         (strncmp): Don't use BP_SYM,
12278         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12279         <bp-asm.h>.
12280         (__mpn_sub_n): Don't use BP_SYM.
12281         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12282         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12283         and <bp-asm.h>.
12284         (__mpn_submul_1): Don't use BP_SYM.
12285         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12287         <bp-sym.h> and <bp-asm.h>.
12288         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12290         <bp-sym.h> and <bp-asm.h>.
12291         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12292         comment.
12294 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12297         Use ZK to minimize writes to Z.
12298         (sub_magnitudes): Simplify code a bit.
12299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12300         Use ZK to minimize writes to Z.
12301         (sub_magnitudes): Simplify code a bit.
12303 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12305         * csu/gmon-start.c: Add special exception to license text.
12307 2013-02-27  Richard Henderson  <rth@redhat.com>
12309         * scripts/config.guess: Update from config.git.
12310         * scripts/config.sub: Likewise.
12312 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12314         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12316         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12318         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12320         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12322         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12324 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12326         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12327         [$(build-shared = yes].
12329 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12331         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12332         (__mul): Reduce iterations for calculating mantissa.
12334         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12335         MPTWO.
12336         (__mpranred): Likewise.
12338         [BZ #15160]
12339         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12340         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12342 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12344         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12345         Define __attribute__.
12347 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12349         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12350         unused.
12351         * posix/regex_internal.h (__attribute): Remove.
12352         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12353         (re_string_context_at): Likewise.
12354         (bitset_not): Use __attribute__ and mark function as possibly
12355         unused.
12356         (bitset_merge): Likewise.
12357         (bitset_mask): Likewise.
12358         (re_string_char_size_at): Likewise.
12359         (re_string_wchar_at): Likewise.
12360         (re_string_elem_size_at): Likewise.
12362 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12364         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12365         code.
12366         (cc32): Likewise.
12368         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12369         (__acr): Likewise.
12370         (__cpy): Likewise.
12371         (norm): Likewise.
12372         (denorm): Likewise.
12373         (__dbl_mp): Likewise.
12374         (add_magnitudes): Likewise.
12375         (sub_magnitudes): Likewise.
12376         (__mul): Likewise.
12377         (__inv): Likewise.
12379         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12380         style.
12382         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12383         style.
12385         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12386         code.
12388         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12389         up changes with default code.
12390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12391         Likewise.
12393 2013-02-24  Allan McRae  <allan@archlinux.org>
12395         * manual/socket.texi (The Internet Namespace): Order menu items
12396         to match that in the file.
12398         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12399         node listing of the info page menu.
12401 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12403         [BZ #13550]
12404         * sysdeps/i386/bp-asm.h: Remove file.
12405         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12406         (PARMS): Do not use macros from bp-asm.h.
12407         (S1): Likewise.
12408         (S2): Likewise.
12409         (SIZE): Likewise.
12410         (__mpn_add_n): Do not use BP_SYM
12411         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12412         "bp-asm.h".
12413         (PARMS): Do not use macros from bp-asm.h.
12414         (S1): Likewise.
12415         (SIZE): Likewise.
12416         (__mpn_addmul_1): Do not use BP_SYM
12417         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12418         "bp-asm.h".
12419         (PARMS): Do not use macros from bp-asm.h.
12420         (SIGMSK): Likewise.
12421         (_setjmp): Likewise.  Do not use BP_SYM.
12422         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12423         "bp-asm.h".
12424         (PARMS): Do not use macros from bp-asm.h.
12425         (SIGMSK): Likewise.
12426         (setjmp): Likewise.  Do not use BP_SYM.
12427         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12428         "bp-asm.h".
12429         (PARMS): Do not use macros from bp-asm.h.
12430         (__frexp): Do not use BP_SYM.
12431         (frexp): Likewise.
12432         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12433         "bp-asm.h".
12434         (PARMS): Do not use macros from bp-asm.h.
12435         (__frexpf): Do not use BP_SYM.
12436         (frexpf): Likewise.
12437         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12438         "bp-asm.h".
12439         (PARMS): Do not use macros from bp-asm.h.
12440         (__frexpl): Do not use BP_SYM.
12441         (frexpl): Likewise.
12442         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12443         "bp-asm.h".
12444         (PARMS): Do not use macros from bp-asm.h.
12445         (__remquo): Do not use BP_SYM.
12446         (remquo): Likewise.
12447         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12448         "bp-asm.h".
12449         (PARMS): Do not use macros from bp-asm.h.
12450         (__remquof): Do not use BP_SYM.
12451         (remquof): Likewise.
12452         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12453         "bp-asm.h".
12454         (PARMS): Do not use macros from bp-asm.h.
12455         (__remquol): Do not use BP_SYM.
12456         (remquol): Likewise.
12457         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12458         "bp-asm.h".
12459         (PARMS): Do not use macros from bp-asm.h.
12460         (DEST): Likewise.
12461         (SRC): Likewise.
12462         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12463         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12464         "bp-asm.h".
12465         (PARMS): Do not use macros from bp-asm.h.
12466         (strlen): Do not use BP_SYM.
12467         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12468         "bp-asm.h".
12469         (PARMS): Do not use macros from bp-asm.h.
12470         (S1): Likewise.
12471         (S2): Likewise.
12472         (SIZE): Likewise.
12473         (__mpn_add_n): Do not use BP_SYM.
12474         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12475         "bp-asm.h".
12476         (PARMS): Do not use macros from bp-asm.h.
12477         (S1): Likewise.
12478         (SIZE): Likewise.
12479         (__mpn_addmul_1): Do not use BP_SYM.
12480         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12481         weak_alias.
12482         (bzero): Likewise.
12483         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12484         "bp-asm.h".
12485         (PARMS): Do not use macros from bp-asm.h.
12486         (S): Likewise.
12487         (SIZE): Likewise.
12488         (__mpn_lshift): Do not use BP_SYM.
12489         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12490         "bp-asm.h".
12491         (PARMS): Do not use macros from bp-asm.h.
12492         (DEST): Likewise.
12493         (SRC): Likewise.
12494         (LEN): Likewise.
12495         (memcpy): Likewise.  Do not use BP_SYM.
12496         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12497         libc_hidden_def and weak_alias.
12498         (mempcpy): Do not use BP_SYM in weak_alias.
12499         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12500         "bp-asm.h".
12501         (PARMS): Do not use macros from bp-asm.h.
12502         (DEST): Likewise.
12503         (LEN): Likewise.
12504         [!BZERO_P] (CHR): Likewise.
12505         (memset): Likewise.  Do not use BP_SYM.
12506         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12507         "bp-asm.h".
12508         (PARMS): Do not use macros from bp-asm.h.
12509         (S1): Likewise.
12510         (SIZE): Likewise.
12511         (__mpn_mul_1): Do not use BP_SYM.
12512         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12513         "bp-asm.h".
12514         (PARMS): Do not use macros from bp-asm.h.
12515         (S): Likewise.
12516         (SIZE): Likewise.
12517         (__mpn_rshift): Do not use BP_SYM.
12518         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12519         "bp-asm.h".
12520         (PARMS): Do not use macros from bp-asm.h.
12521         (STR): Likewise.
12522         (CHR): Likewise.
12523         (strchr): Likewise.  Do not use BP_SYM.
12524         (index): Do not use BP_SYM in weak_alias.
12525         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12526         "bp-asm.h".
12527         (PARMS): Do not use macros from bp-asm.h.
12528         (DEST): Likewise.
12529         (SRC): Likewise.
12530         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12531         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12532         "bp-asm.h".
12533         (PARMS): Do not use macros from bp-asm.h.
12534         (strlen): Do not use BP_SYM.
12535         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12536         "bp-asm.h".
12537         (PARMS): Do not use macros from bp-asm.h.
12538         (S1): Likewise.
12539         (S2): Likewise.
12540         (SIZE): Likewise.
12541         (__mpn_sub_n): Do not use BP_SYM.
12542         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12543         "bp-asm.h".
12544         (PARMS): Do not use macros from bp-asm.h.
12545         (S1): Likewise.
12546         (SIZE): Likewise.
12547         (__mpn_submul_1): Do not use BP_SYM.
12548         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12549         "bp-asm.h".
12550         (PARMS): Do not use macros from bp-asm.h.
12551         (S1): Likewise.
12552         (S2): Likewise.
12553         (SIZE): Likewise.
12554         (__mpn_add_n): Do not use BP_SYM.
12555         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12556         weak_alias.
12557         (bzero): Likewise.
12558         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12559         "bp-asm.h".
12560         (PARMS): Do not use macros from bp-asm.h.
12561         (BLK2): Likewise.
12562         (LEN): Likewise.
12563         (memcmp): Do not use BP_SYM.
12564         (bcmp): Do not use BP_SYM in weak_alias.
12565         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12566         "bp-asm.h".
12567         (PARMS): Do not use macros from bp-asm.h.
12568         (DEST): Likewise.
12569         (SRC): Likewise.
12570         (LEN): Likewise.
12571         (memcpy): Likewise.  Do not use BP_SYM.
12572         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12573         "bp-asm.h".
12574         (PARMS): Do not use macros from bp-asm.h.
12575         (DEST): Likewise.
12576         (SRC): Likewise.
12577         (LEN): Likewise.
12578         (memmove): Likewise.  Do not use BP_SYM.
12579         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12580         "bp-asm.h".
12581         (PARMS): Do not use macros from bp-asm.h.
12582         (DEST): Likewise.
12583         (SRC): Likewise.
12584         (LEN): Likewise.
12585         (__mempcpy): Likewise.  Do not use BP_SYM.
12586         (mempcpy): Do not use BP_SYM in weak_alias.
12587         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12588         "bp-asm.h".
12589         (PARMS): Do not use macros from bp-asm.h.
12590         (DEST): Likewise.
12591         (LEN): Likewise.
12592         [!BZERO_P] (CHR): Likewise.
12593         (memset): Likewise.  Do not use BP_SYM.
12594         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12595         "bp-asm.h".
12596         (PARMS): Do not use macros from bp-asm.h.
12597         (STR2): Likewise.
12598         (strcmp): Do not use BP_SYM.
12599         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12600         "bp-asm.h".
12601         (PARMS): Do not use macros from bp-asm.h.
12602         (STR): Likewise.
12603         (DELIM): Likewise.
12604         [USE_AS_STRTOK_R] (SAVE): Likewise.
12605         (FUNCTION): Likewise.  Do not use BP_SYM.
12606         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12607         aliases.
12608         (strtok_r): Likewise.
12609         (__GI___strtok_r): Likewise.
12610         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12611         (PARMS): Do not use macros from bp-asm.h.
12612         (S): Likewise.
12613         (SIZE): Likewise.
12614         (__mpn_lshift): Do not use BP_SYM.
12615         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12616         (PARMS): Do not use macros from bp-asm.h.
12617         (STR): Likewise.
12618         (CHR): Likewise.
12619         (__memchr): Do not use BP_SYM.
12620         (memchr): Do not use BP_SYM in weak_alias.
12621         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12622         (PARMS): Do not use macros from bp-asm.h.
12623         (BLK2): Likewise.
12624         (LEN): Likewise.
12625         (memcmp): Do not use BP_SYM.
12626         (bcmp): Do not use BP_SYM in weak_alias.
12627         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12628         (PARMS): Do not use macros from bp-asm.h.
12629         (S1): Likewise.
12630         (SIZE): Likewise.
12631         (__mpn_mul_1): Do not use BP_SYM.
12632         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12633         "bp-asm.h".
12634         (PARMS): Do not use macros from bp-asm.h.
12635         (STR): Likewise.
12636         (CHR): Likewise.
12637         (__rawmemchr): Do not use BP_SYM.
12638         (rawmemchr): Do not use BP_SYM in weak_alias.
12639         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12640         (PARMS): Do not use macros from bp-asm.h.
12641         (S): Likewise.
12642         (SIZE): Likewise.
12643         (__mpn_rshift): Do not use BP_SYM.
12644         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12645         (PARMS): Do not use macros from bp-asm.h.
12646         (SIGMSK): Likewise.
12647         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12648         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12649         (_start): Do not use BP_SYM.
12650         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12651         (PARMS): Do not use macros from bp-asm.h.
12652         (DEST): Likewise.
12653         (SRC): Likewise.
12654         (__stpcpy): Likewise.  Do not use BP_SYM.
12655         (stpcpy): Do not use BP_SYM in weak_alias.
12656         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12657         "bp-asm.h".
12658         (PARMS): Do not use macros from bp-asm.h.
12659         (DEST): Likewise.
12660         (SRC): Likewise.
12661         (LEN): Likewise.
12662         (__stpncpy): Likewise.  Do not use BP_SYM.
12663         (stpncpy): Do not use BP_SYM in weak_alias.
12664         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12665         (PARMS): Do not use macros from bp-asm.h.
12666         (STR): Likewise.
12667         (CHR): Likewise.
12668         (strchr): Likewise.  Do not use BP_SYM.
12669         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12670         "bp-asm.h".
12671         (PARMS): Do not use macros from bp-asm.h.
12672         (STR): Likewise.
12673         (CHR): Likewise.
12674         (__strchrnul): Likewise.  Do not use BP_SYM.
12675         (strchrnul): Do not use BP_SYM in weak_alias.
12676         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12677         "bp-asm.h".
12678         (PARMS): Do not use macros from bp-asm.h.
12679         (STOP): Likewise.
12680         (strcspn): Do not use BP_SYM.
12681         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12682         "bp-asm.h".
12683         (PARMS): Do not use macros from bp-asm.h.
12684         (STR): Likewise.
12685         (STOP): Likewise.
12686         (strpbrk): Likewise.  Do not use BP_SYM.
12687         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12688         "bp-asm.h".
12689         (PARMS): Do not use macros from bp-asm.h.
12690         (STR): Likewise.
12691         (CHR): Likewise.
12692         (strrchr): Likewise.  Do not use BP_SYM.
12693         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12694         (PARMS): Do not use macros from bp-asm.h.
12695         (SKIP): Likewise.
12696         (strspn): Do not use BP_SYM.
12697         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12698         (PARMS): Do not use macros from bp-asm.h.
12699         (STR): Likewise.
12700         (DELIM): Likewise.
12701         (SAVE): Likewise.
12702         (FUNCTION): Likewise.  Do not use BP_SYM.
12703         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12704         aliases.
12705         (strtok_r): Likewise.
12706         (__GI___strtok_r): Likewise.
12707         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12708         (PARMS): Do not use macros from bp-asm.h.
12709         (S1): Likewise.
12710         (S2): Likewise.
12711         (SIZE): Likewise.
12712         (__mpn_sub_n): Do not use BP_SYM.
12713         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12714         "bp-asm.h".
12715         (PARMS): Do not use macros from bp-asm.h.
12716         (S1): Likewise.
12717         (SIZE): Likewise.
12718         (__mpn_submul_1): Do not use BP_SYM.
12719         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12720         <bp-sym.h>.
12721         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12722         and <bp-asm.h>.
12723         (PARMS): Do not use macros from bp-asm.h.
12724         (FLAGS): Likewise.
12725         (PTID): Likewise.
12726         (TLS): Likewise.
12727         (CTID): Likewise.
12728         (__clone): Do not use BP_SYM.
12729         (clone): Do not use BP_SYM in weak_alias.
12730         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12731         and <bp-asm.h>.
12732         (PARMS): Do not use macros from bp-asm.h.
12733         (LEN): Likewise.
12734         (__mmap64): Do not use BP_SYM.
12735         (mmap64): Do not use BP_SYM in weak_alias.
12736         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12737         <bp-sym.h> and <bp-asm.h>.
12738         (PARMS): Do not use macros from bp-asm.h.
12739         (__posix_fadvise64_l64): Do not use BP_SYM.
12740         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12741         (PARMS): Do not use macros from bp-asm.h.
12742         (NSOPS): Likewise.
12743         (semtimedop): Do not use BP_SYM.
12744         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12745         and <bp-asm.h>.
12747 2013-02-21  Allan McRae  <allan@archlinux.org>
12749         * manual/message.texi (Charset conversion in gettext):
12750         Move @end statement to beginning of line.
12752 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12755         static.
12756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12757         Likewise.
12759         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12760         (denorm): Likewise.
12761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12764 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12766         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12767         tail-call to the resolved function if pltexit isn't needed.
12769 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12771         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12772         or Y being zero as being unlikely.
12773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12774         Likewise.
12776 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12778         * manual/nss.texi (System Databases and Name Service Switch):
12779         Remove frobnicate @pxref.
12781 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12783         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12784         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12786 2013-02-20  Petr Machata  <pmachata@redhat.com>
12788         * elf/elf.h (R_ARM_TARGET1): New macro.
12789         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12790         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12791         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12792         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12793         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12794         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12795         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12796         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12797         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12798         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12799         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12800         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12801         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12802         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12803         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12804         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12805         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12806         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12807         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12808         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12809         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12810         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12811         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12812         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12813         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12814         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12815         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12816         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12817         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12818         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12819         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12820         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12821         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12822         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12823         (R_ARM_THM_GOT_BREL12): Likewise.
12824         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12825         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12826         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12827         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12828         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12829         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12830         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12831         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12832         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12834 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12836         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12837         __attribute_used__ to __attribute__ ((unused)).
12839 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12841         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12842         powerpc mpa.c.
12843         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12844         comment formatting.
12845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12847 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12849         [BZ #13550]
12850         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12851         Remove macro.
12852         (ENTER): Remove both macro definitions.
12853         (LEAVE): Likewise.
12854         (CHECK_BOUNDS_LOW): Likewise.
12855         (CHECK_BOUNDS_HIGH): Likewise.
12856         (CHECK_BOUNDS_BOTH): Likewise.
12857         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12858         (RETURN_BOUNDED_POINTER): Likewise.
12859         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12860         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12861         (POP_ERRNO_LOCATION_RETURN): Likewise.
12862         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12863         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12864         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12865         macros.
12866         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12867         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12868         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12869         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12870         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12871         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12872         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12873         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12874         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12875         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12876         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12877         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12878         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12879         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12880         removed macros.
12881         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12882         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12883         macros.
12884         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12885         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12886         * sysdeps/i386/i586/memset.S (memset): Likewise.
12887         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12888         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12889         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12890         macros.
12891         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12892         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12893         Change uses of L(2) to L(out).
12894         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12895         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12896         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12897         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12898         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12899         removed macros.
12900         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12901         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12902         macros.
12903         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12904         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12905         (RETURN): Do not use macro LEAVE.
12906         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12907         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12908         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12909         * sysdeps/i386/i686/memset.S (memset): Likewise.
12910         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12911         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12912         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12913         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12914         Likewise.
12915         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12916         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12917         L(1_2) and L(1_3) into L(1).
12918         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12919         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12920         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12921         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12922         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12923         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12924         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12925         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12926         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12927         macros.
12928         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12929         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12930         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12931         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12932         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12933         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12934         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12935         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12936         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12937         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12938         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12939         * sysdeps/i386/strspn.S (strspn): Likewise.
12940         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12941         conditional code.
12942         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12943         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12944         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12945         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12946         L(1_3) into L(1_1).
12947         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12948         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12949         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12950         macros.
12951         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12953 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12955         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12956         macro.
12958 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12960         * math/atest-exp.c (exp_mpn): Remove ROUND.
12961         * math/atest-exp2.c (exp_mpn): Likewise.
12962         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12964         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12965         * stdlib/tst-tls-atexit-lib.c: Likewise.
12966         * stdlib/tst-tls-atexit.c: Likewise.
12968 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12970         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12971         and __attribute_alloc_size__.
12973 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12975         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12976         __attribute_alloc_size__.
12977         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12978         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12980 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12982         * include/programs/xmalloc.h: New file.
12983         * catgets/gencat.c: Include it.
12984         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12985         * elf/pldd.c: Likewise.
12986         * iconv/iconv_charmap.c: Likewise.
12987         * iconv/iconvconfig.c: Likewise.
12988         * iconv/strtab.c: Likewise.
12989         * locale/programs/locale.c: Likewise.
12990         * locale/programs/localedef.h: Likewise.
12991         * locale/programs/simple-hash.c: Likewise.
12992         * nscd/nscd.h: Likewise.
12993         * nss/makedb.c: Likewise.
12994         * sysdeps/generic/ldconfig.h: Likewise.
12996 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12998         * Versions.def: Add GLIBC_2.18.
12999         * include/link.h (struct link_map): New member l_tls_dtor_count.
13000         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13001         (__call_tls_dtors): Likewise.
13002         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13003         __cxa_thread_atexit_impl.
13004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13005         Likewise.
13006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13007         Likewise.
13008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13009         Likewise.
13010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13011         Likewise.
13012         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13014         Likewise.
13015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13016         Likewise.
13017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13019         Likewise.
13020         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13021         (tests): Add test case tst-tls-atexit.
13022         (modules-names): Add shared library for tst-tls-atexit.
13023         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13024         (GLIBC_PRIVATE): Add __call_tls_dtors.
13025         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13026         for libstdc++.
13027         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13028         * stdlib/tst-tls-atexit.c: New test case.
13029         * stdlib/tst-tls-atexit-lib.c: New test case.
13031         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13033         * elf/Versions (ld): Add _dl_find_dso_for_object.
13034         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13035         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13036         (dl_open_worker): Use _dl_find_dso_for_object.
13037         * elf/dl-sym.c (do_sym): Likewise.
13038         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13040 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13042         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13043         Syntactic changes only.
13044         (_dl_runtime_profile): Do a tail-call to the resolved function.
13046 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13048         [BZ #13550]
13049         * sysdeps/x86_64/bp-asm.h: Remove file.
13050         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13051         <bp-sym.h> and <bp-asm.h>.
13052         (__clone): Do not use BP_SYM.
13053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13054         <bp-sym.h> and <bp-asm.h>.
13055         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13056         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13057         "bp-asm.h".
13058         (_setjmp): Do not use BP_SYM.
13059         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13060         "bp-asm.h".
13061         (setjmp): Do not use BP_SYM.
13062         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13063         libc_hidden_def.
13064         (mempcpy): Do not use BP_SYM in weak_alias.
13065         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13066         "bp-asm.h".
13067         (strchr): Do not use BP_SYM.
13068         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13069         "bp-asm.h".
13070         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13071         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13072         (_start): Do not use BP_SYM.
13073         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13074         "bp-asm.h".
13075         (strcat): Do not use BP_SYM.
13076         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13077         "bp-asm.h".
13078         (STRCMP): Do not use BP_SYM.
13079         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13080         "bp-asm.h".
13081         (STRCPY): Do not use BP_SYM.
13082         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13083         "bp-asm.h".
13084         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13085         "bp-asm.h".
13086         (FUNCTION): Do not use BP_SYM.
13087         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13088         weak_alias.
13089         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13091 2013-02-17  Andreas Jaeger  <aj@suse.de>
13093         * time/Versions: Sort entries.
13094         * string/Versions: Likewise.
13095         * resolv/Versions: Likewise.
13096         * posix/Versions: Likewise.
13097         * iconv/Versions: Likewise.
13098         * elf/Versions: Likewise.
13099         * wcsmbs/Versions: Likewise.
13101 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13103         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13104         loop termination condition.
13106         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13107         variable to calculate EZ.
13108         (__sqr): Likewise.
13110         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13111         the lower precision input.
13113 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13115         [BZ #13550]
13116         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13117         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13118         (run-via-rtld-prefix): Do not handle %-bp tests.
13119         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13120         (all-object-suffixes): Remove .ob.
13121         (bppfx): Remove variable.
13122         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13123         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13124         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13125         [$(build-bounded) = yes] (libtype.ob): Likewise.
13126         * Makerules (elide-routines.ob): Remove variable.
13127         (do-tests-clean): Do not handle *-bp.out.
13128         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13129         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13130         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13131         (tests): Do not include $(tests-bp.out).
13132         (xtests): Do not include $(xtests-bp.out).
13133         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13134         [$(build-bounded) = yes] ($(addprefix
13135         $(objpfx),$(binaries-bounded))): Remove rule.
13136         ($(objpfx)%-bp.out): Remove rule.
13137         * config.make.in (build-bounded): Remove variable.
13138         * crypt/Makefile [$(build-bounded) = yes]
13139         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13140         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13141         append to variable.
13142         [$(build-bounded) = yes] (install-lib): Likewise.
13143         [$(build-bounded) = yes] (generated): Likewise.
13144         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13145         Remove rule.
13146         * intl/Makefile [$(build-bounded) = yes]
13147         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13148         * math/Makefile [$(build-bounded) = yes]
13149         ($(tests:%=$(objpfx)%-bp): Likewise.
13150         * misc/Makefile [$(build-bounded) = yes]
13151         ($(objpfx)tst-tsearch-bp): Likewise.
13152         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13153         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13154         Remove dependency.
13155         * string/Makefile (o-objects.ob): Remove variable.
13156         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13157         (CFLAGS-.ob): Remove variable.
13158         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13159         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13160         both definitions of variable.
13161         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13162         (ASFLAGS-.ob): Remove variable.
13164 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13166         [BZ #13550]
13167         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13168         Remove __BOUNDED_POINTERS__ from condition.
13169         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13170         * string/bits/string2.h [!__NO_STRING_INLINES &&
13171         !__BOUNDED_POINTERS__]: Likewise.
13172         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13175         Remove conditional code.
13176         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13177         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13178         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13179         condition.
13181         [BZ #13550]
13182         * csu/libc-start.c: Do not include <bp-sym.h>.
13183         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13184         * elf/dl-open.c: Do not include <bp-sym.h>.
13185         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13186         * math/fegetenv.c: Do not include <bp-sym.h>.
13187         (fegetenv): Do not use BP_SYM in versioned symbols.
13188         * nptl/sysdeps/pthread/bits/libc-lockP.h
13189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13190         <bp-sym.h>.
13191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13192         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13194         (__pthread_mutex_destroy): Likewise.
13195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13196         (__pthread_mutex_lock): Likewise.
13197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13198         (__pthread_mutex_trylock): Likewise.
13199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13200         (__pthread_mutex_unlock): Likewise.
13201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13202         (__pthread_mutexattr_init): Likewise.
13203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13204         (__pthread_mutexattr_destroy): Likewise.
13205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13206         (__pthread_mutexattr_settype): Likewise.
13207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13208         (__pthread_rwlock_init): Likewise.
13209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13210         (__pthread_rwlock_destroy): Likewise.
13211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13212         (__pthread_rwlock_rdlock): Likewise.
13213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13214         (__pthread_rwlock_tryrdlock): Likewise.
13215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13216         (__pthread_rwlock_wrlock): Likewise.
13217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13218         (__pthread_rwlock_trywrlock): Likewise.
13219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13220         (__pthread_rwlock_unlock): Likewise.
13221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13222         (__pthread_key_create): Likewise.
13223         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13224         (__pthread_setspecific): Likewise.
13225         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13226         (__pthread_getspecific): Likewise.
13227         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13228         Likewise.
13229         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13230         (_pthread_cleanup_push_defer): Likewise.
13231         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13232         (_pthread_cleanup_pop_restore): Likewise.
13233         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13234         (pthread_setcancelstate): Likewise.
13235         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13236         <bp-sym.h>.
13237         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13238         (memchr): Do not use BP_SYM in weak_alias.
13239         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13240         (fegetenv): Do not use BP_SYM in versioned symbols.
13241         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13242         (fesetenv): Do not use BP_SYM in versioned symbols.
13243         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13244         (feupdateenv): Do not use BP_SYM in versioned symbols.
13245         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13246         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13247         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13248         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13249         (open64): Do not use BP_SYM in weak_alias.
13250         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13251         (fegetenv): Do not use BP_SYM in versioned symbols.
13252         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13253         (fesetenv): Do not use BP_SYM in versioned symbols.
13254         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13255         (feupdateenv): Do not use BP_SYM in versioned symbols.
13256         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13257         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13258         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13259         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13260         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13261         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13262         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13263         <bp-sym.h>.
13264         (__libc_start_main): Do not use BP_SYM.
13266 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13269         redundant return line.
13270         (norm): Likewise.
13271         (denorm): Likewise.
13272         (dbl_mp): Likewise.
13273         (sub_magnitudes): Likewise.
13274         (__add): Likewise.
13275         (__sub): Likewise.
13276         (__mul): Likewise.
13277         (__inv): Likewise.
13278         (__dvd): Likewise.
13279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13280         (norm): Likewise.
13281         (denorm): Likewise.
13282         (dbl_mp): Likewise.
13283         (sub_magnitudes): Likewise.
13284         (__add): Likewise.
13285         (__sub): Likewise.
13286         (__mul): Likewise.
13287         (__inv): Likewise.
13288         (__dvd): Likewise.
13290         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13291         instead of __mul.
13292         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13293         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13294         (cc32): Likewise.
13296         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13297         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13298         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13299         of __mul for squares.
13300         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13301         function
13302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13303         Likewise.
13304         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13305         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13307 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13309         [BZ #13550]
13310         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13311         code.
13312         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13313         prototype or function definition.  Rename ubp_* variables and
13314         parameters.  Remove argv definitions conditional on
13315         [__BOUNDED_POINTERS__].
13316         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13317         * elf/dl-runtime.c (_dl_fixup): Likewise.
13318         * include/set-hooks.h (RUN_HOOK): Likewise.
13319         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13320         definition.
13321         * string/strcpy.c (strcpy): Do not use __unbounded.
13322         * sysdeps/generic/frame.h (struct layout): Likewise.
13323         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13324         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13325         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13326         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13327         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13328         (__backtrace): Likewise.
13329         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13330         use __ptrvalue.
13331         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13332         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13333         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13334         Likewise.
13335         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13336         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13337         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13338         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13339         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13340         Do not use __unbounded.
13341         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13342         Rename __unboundedrlimits parameter to rlimits in prototype.
13343         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13344         Do not use __unbounded.
13345         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13346         not use __ptrvalue.
13347         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13348         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13349         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13350         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13351         __ptrvalue or __unbounded.
13352         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13353         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13354         use __unbounded.
13355         (__new_msgctl): Do not use __ptrvalue.
13356         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13357         __unbounded.
13358         (__libc_msgrcv): Do not use __ptrvalue.
13359         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13360         startup_info): Do not use __unbounded.
13361         (__libc_start_main): Likewise.  Rename ubp_* variables and
13362         parameters.  Remove argv definitions conditional on
13363         [__BOUNDED_POINTERS__].
13364         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13365         __ptrvalue.
13366         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13367         use __unbounded.
13368         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13369         or __ptrvalue.
13370         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13371         use __unbounded.
13372         (__new_shmctl): Do not use __ptrvalue.
13373         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13374         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13375         Likewise.
13376         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13377         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13378         (__libc_sigaction): Likewise.
13379         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13380         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13381         Likewise.
13382         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13384 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13386         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13388         * string/mempcpy.c: Implement by calling memcpy.
13390 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13392         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13394         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13395         evaluation.
13397         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13398         values in the mantissa.
13400         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13401         minimize writes to Z.
13402         (sub_magnitudes): Simplify code a bit.
13404 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13406         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13407         from the message.  The linker prefixes all warnings with that already.
13409 2013-02-12  Andreas Schwab  <schwab@suse.de>
13411         [BZ #15078]
13412         * posix/regexec.c (extend_buffers): Add parameter min_len.
13413         (check_matching): Pass minimum needed length.
13414         (clean_state_log_if_needed): Likewise.
13415         (get_subexp): Likewise.
13416         * posix/Makefile (tests): Add bug-regex34.
13417         (bug-regex34-ENV): Define.
13418         * posix/bug-regex34.c: New file.
13420         [BZ #11561]
13421         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13422         elements compare against the byte sequence of it, not its name.
13423         * posix/Makefile (tests): Add bug-regex35.
13424         (bug-regex35-ENV): Define.
13425         * posix/bug-regex35.c: New file.
13427 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13429         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13430         comment.
13431         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13432         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13433         (CHECK_EOL): Add undef.
13435 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13437         * bits/stdlib-bsearch.h: New file.
13438         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13439         * stdlib/stdlib.h: Likewise.
13441 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13443         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13444         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13445         declaration.
13446         * manual/search.texi (Array Search Function): Add missing const in
13447         lfind prototype.
13448         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13449         declaration to use rlim_t.
13450         (Basic Scheduling Functions): Remove erroneous const from
13451         sched_getparam prototype.  Remove erroneous * from
13452         sched_get_priority_max and sched_get_priority_min prototypes.
13453         (Resource Usage): Fix summary @comment on vtimes to refer to
13454         sys/vtimes.h rather than vtimes.h.
13455         Add missing *s in vtimes prototype.
13456         (Limits on Resources): Fix ulimit prototype to return long int.
13457         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13458         prototypes to use long int rather than double.
13459         (BSD Random): Fix initstate and setstate to use char *, not void *.
13460         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13461         prototype to make second argument 'struct aiocb64 *const[]'.
13462         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13463         (Status of AIO Operations): Remove erroneous const in aio_return and
13464         aio_return64 prototypes.
13465         (Synchronizing I/O): Fix sync prototype to return void.
13466         * manual/startup.texi (Suboptions): Remove an erroneous const in
13467         getsubopt prototype.
13468         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13469         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13470         use size_t rather than int.
13471         (Scanning All Users): Likewise for getpwent_r.
13472         (Setting Groups): Add missing const to setgroups prototype.
13473         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13474         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13475         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13476         'const void *' rather than 'const char *'.
13477         (Host Address Functions): Likewise for inet_ntop.
13478         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13479         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13480         ssize_t for return value.
13481         (Sending Data): Likewise for send, sendto, sendmsg.
13482         (Socket Option Functions): Add a missing const in setsockopt prototype.
13483         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13484         use wchar_t for the argument.
13485         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13486         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13487         take no arguments.
13488         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13489         double/float/long double for second argument.
13490         Fix return types of significand, significandf, significandl.
13491         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13492         argument in fchmod prototype.
13493         (File Owner): Use uid_t and gid_t in fchown prototype.
13494         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13495         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13496         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13497         use 'const struct dirent **' as argument types to CMP function pointer
13498         argument.
13499         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13500         (File Times): Fix summary magic @comment for struct utimbuf and utime
13501         to refer to utime.h, not time.h.
13502         * manual/string.texi (Argz Functions): Add missing const in
13503         argz_extract and argz_next prototypes.
13504         (Finding Tokens in a String): Likewise for basename.
13505         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13506         (Copying and Concatenation): Fix typo in wmemmove prototype.
13507         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13508         (Signal Stack): Remove erroneous const in sigstack prototype.
13509         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13510         prototype.
13511         (Simple Calendar Time): Likewise for stime.
13512         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13513         prototype.
13514         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13515         say sys/sysctl.h instead.
13516         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13517         and vsyslog prototypes.
13519 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13521         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13522         Remove.
13524 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13526         * misc/sys/mman.h: Fix typo in mremap comment.
13528 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13530         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13531         the '\0' terminator.
13533 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13535         [BZ #13550]
13536         * debug/segfault.c: Don't include <bp-checks.h>.
13537         * sysdeps/generic/bp-checks.h: Remove file.
13538         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13539         (__GETDENTS): Don't use CHECK_N.
13540         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13541         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13542         (__getgroups): Don't use CHECK_N.
13543         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13544         (setgroups): Don't use CHECK_N.
13545         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13546         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13547         (__libc_msgrcv): Don't use CHECK_N.
13548         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13549         (__libc_msgsnd): Don't use CHECK_N.
13550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13551         <bp-checks.h>.
13552         (__libc_pread): Don't use CHECK_N.
13553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13554         include <bp-checks.h>.
13555         (__libc_pread64): Don't use CHECK_N.
13556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13557         include <bp-checks.h>.
13558         (__libc_pwrite): Don't use CHECK_N.
13559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13560         include <bp-checks.h>.
13561         (__libc_pwrite64): Don't use CHECK_N.
13562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13563         <bp-checks.h>.
13564         (__libc_pread): Don't use CHECK_N.
13565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13566         include <bp-checks.h>.
13567         (__libc_pread64): Don't use CHECK_N.
13568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13569         include <bp-checks.h>.
13570         (__libc_pwrite): Don't use CHECK_N.
13571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13572         include <bp-checks.h>.
13573         (__libc_pwrite64): Don't use CHECK_N.
13574         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13575         (do_pread): Don't use CHECK_N.
13576         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13577         (do_pread64): Don't use CHECK_N.
13578         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13579         (do_pwrite): Don't use CHECK_N.
13580         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13581         (do_pwrite64): Don't use CHECK_N.
13582         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13583         (__libc_readv): Don't use CHECK_N.
13584         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13585         (semop): Don't use CHECK_N.
13586         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13587         <bp-checks.h>.
13588         (semtimedop): Don't use CHECK_N.
13589         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13590         (__libc_pread): Don't use CHECK_N.
13591         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13592         <bp-checks.h>.
13593         (__libc_pread64): Don't use CHECK_N.
13594         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13595         <bp-checks.h>.
13596         (__libc_pwrite): Don't use CHECK_N.
13597         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13598         <bp-checks.h>.
13599         (__libc_pwrite64): Don't use CHECK_N.
13600         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13601         <bp-checks.h>.
13602         (__libc_msgrcv): Don't use CHECK_N.
13603         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13604         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13605         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13606         (__libc_writev): Don't use CHECK_N.
13608 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13610         * string/strcpy.c: Removed unused variable.
13612         * Makeconfig (+sysdep-includes): Define with := rather than =.
13613         Use an existing include/ subdir of each sysdeps dir before it.
13615 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13617         * nscd/connection.c (register_traced_file): Comment function.
13618         [HAVE_INOTIFY] (union __inev): Define.
13619         [HAVE_INOTIFY] (inotify_check_files): New function.
13620         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13621         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13622         clear_db_cache.
13623         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13625 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13627         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13628         loaded if not already and that a failure is permanent.
13630 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13632         [BZ #15006]
13633         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13634         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13636 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13638         [BZ #13550]
13639         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13640         (CHECK_1_NULL_OK): Likewise.
13641         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13642         (__fxstat): Do not use CHECK_1.
13643         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13644         <bp-checks.h>.
13645         (___fxstat64): Do not use CHECK_1.
13646         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13647         <bp-checks.h>.
13648         (__fxstatat): Do not use CHECK_1.
13649         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13650         <bp-checks.h>.
13651         (__fxstatat64): Do not use CHECK_1.
13652         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13653         <bp-checks.h>.
13654         (__fxstat): Do not use CHECK_1.
13655         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13656         <bp-checks.h>.
13657         (__fxstatat): Do not use CHECK_1.
13658         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13659         <bp-checks.h>.
13660         (__getresgid): Do not use CHECK_1.
13661         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13662         <bp-checks.h>.
13663         (__getresuid): Do not use CHECK_1.
13664         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13665         <bp-checks.h>.
13666         (__lxstat): Do not use CHECK_1.
13667         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13668         <bp-checks.h>.
13669         (__old_msgctl): Do not use CHECK_1.
13670         (__new_msgctl): Likewise.
13671         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13672         <bp-checks.h>.
13673         (__new_setrlimit): Do not use CHECK_1.
13674         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13675         <bp-checks.h>.
13676         (__old_shmctl): Do not use CHECK_1.
13677         (__new_shmctl): Likewise.
13678         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13679         <bp-checks.h>.
13680         (__xstat): Do not use CHECK_1.
13681         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13682         (__lxstat): Do not use CHECK_1.
13683         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13684         <bp-checks.h>.
13685         (___lxstat64): Do not use CHECK_1.
13686         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13687         (__old_msgctl): Do not use CHECK_1.
13688         (__new_msgctl): Likewise.
13689         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13690         <bp-checks.h>.
13691         (__gettimeofday): Do not use CHECK_1.
13692         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13693         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13694         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13695         <bp-checks.h>.
13696         (__gettimeofday): Do not use CHECK_1.
13697         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13698         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13699         (__new_shmctl): Do not use CHECK_1.
13700         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13701         <bp-checks.h>.
13702         (do_sigtimedwait): Do not use CHECK_1.
13703         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13704         <bp-checks.h>.
13705         (do_sigwaitinfo): Do not use CHECK_1.
13706         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13707         <bp-checks.h>.
13708         (msgctl): Do not use CHECK_1.
13709         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13710         <bp-checks.h>.
13711         (shmctl): Do not use CHECK_1.
13712         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13713         (ustat): Do not use CHECK_1.
13714         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13715         <bp-checks.h>.
13716         (__fxstat): Do not use CHECK_1.
13717         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13718         <bp-checks.h>.
13719         (__fxstatat): Do not use CHECK_1.
13720         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13721         <bp-checks.h>.
13722         (__lxstat): Do not use CHECK_1.
13723         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13724         <bp-checks.h>.
13725         (__xstat): Do not use CHECK_1.
13726         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13727         (__xstat): Do not use CHECK_1.
13728         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13729         (___xstat64): Do not use CHECK_1.
13731         [BZ #13550]
13732         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13733         definitions.
13734         (CHECK_BOUNDS_HIGH): Likewise.
13735         * string/strcpy.c: Do not include <bp-checks.h>.
13736         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13738 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13740         * nscd/nscd-client.h (__nscd_drop_map_ref):
13741         Add __attribute__ ((unused)).
13742         * nis/nss-nisplus.h (niserr2nss): Likewise.
13744         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13745         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13747         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13748         Remove inline keyword.
13749         * include/rounding-mode.h (round_away): Likewise.
13750         * libio/wfileops.c (adjust_wide_data): Likewise.
13751         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13752         (__m128i_strloadu_tolower): Likewise.
13753         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13754         (__m128i_strloadu_tolower): Likewise.
13755         * time/mktime.c (ydhms_diff): Likewise.
13756         * locale/elem-hash.h (elem_hash): Likewise.
13757         * locale/setlocale.c (setdata): Likewise.
13758         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13759         (re_string_wchar_at): Likewise.
13760         (bitset_not, bitset_merge, bitset_mask): Likewise.
13761         [!(__GNUC__ > 3)] (inline): Remove macro.
13762         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13763         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13764         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13765         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13766         * string/memcmp.c (memcmp_bytes): Likewise.
13767         * locale/programs/locarchive.c (compute_hashval): Likewise.
13768         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13769         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13770         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13771         * nss/getent.c (print_rpc, print_protocols): Likewise.
13772         (print_passwd, print_group, print_aliases): Likewise.
13773         * nis/nss-nisplus.h (niserr2nss): Likewise.
13774         * nscd/connections.c (restart_p): Likewise.
13775         Change return type to bool.
13777 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13779         * Makeconfig (all-Depend-files): Add existing
13780         $(sorted-subdirs:=/Depend) files.
13781         (all-subdirs): Remove nss.
13782         * sysdeps/unix/inet/Subdirs: Add it here instead.
13783         * hesiod/Depend: New file.
13785         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13786         instead of calling alloca.
13788         * io/lseek.c (__lseek): Rename to __libc_lseek.
13789         Define __lseek as an alias.
13791         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13793 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13795         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13796         else clause and remove check for non-standard endianness.
13798 2013-02-04  David S. Miller  <davem@davemloft.net>
13800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13802 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13804         [BZ #13550]
13805         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13806         (__ubp_memchr): Remove prototype.
13807         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13808         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13809         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13810         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13811         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13812         Remove alias.
13813         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13814         (__ubp_memchr): Likewise.
13815         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13816         (__ubp_memchr): Likewise.
13817         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13818         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13819         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13820         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13821         CHECK_STRING.
13822         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13823         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13824         (__getcwd): Do not use CHECK_STRING.
13825         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13826         <bp-checks.h>.
13827         (__real_chown): Do not use CHECK_STRING.
13828         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13829         <bp-checks.h>.
13830         (fchownat): Do not use CHECK_STRING.
13831         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13832         CHECK_STRING.
13833         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13834         <bp-checks.h>.
13835         (__lchown): Do not use CHECK_STRING.
13836         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13837         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13838         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13839         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13841         include <bp-checks.h>.
13842         (truncate64): Do not use CHECK_STRING.
13843         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13844         <bp-checks.h>.
13845         (__real_chown): Do not use CHECK_STRING.
13846         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13847         <bp-checks.h>.
13848         (__lchown): Do not use CHECK_STRING.
13849         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13850         <bp-checks.h>.
13851         (__chown): Do not use CHECK_STRING.
13852         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13853         <bp-checks.h>.
13854         (truncate64): Do not use CHECK_STRING.
13855         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13856         Likewise.
13857         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13858         (__xmknod): Do not use CHECK_STRING.
13859         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13860         <bp-checks.h>.
13861         (__xmknodat): Do not use CHECK_STRING.
13862         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13863         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13865 2013-02-04  Andreas Schwab  <schwab@suse.de>
13867         [BZ #14142]
13868         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13869         * include/netdb.h: Likewise for h_errno.
13870         * elf/tst-stackguard1.c: Include <tls.h>.
13872 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13874         * elf/link.h (struct link_map): Extend the l_addr comment.
13875         * include/link.h (struct link_map): Likewise.
13877 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13879         [BZ #13550]
13880         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13881         (BOUNDED_1): Remove macro.
13882         * debug/backtrace.c: Don't include <bp-checks.h>.
13883         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13884         (__backtrace): Likewise.
13885         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13886         <bp-checks.h>.
13887         (__backtrace): Don't use BOUNDED_1.
13888         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13889         <bp-checks.h>.
13890         (__backtrace): Don't use BOUNDED_1.
13891         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13892         (__backtrace): Don't use BOUNDED_1.
13893         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13894         (shmat): Don't use BOUNDED_N.
13896 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13898         [BZ #13550]
13899         * sysdeps/generic/bp-start.h: Remove file.
13900         * csu/libc-start.c: Don't include <bp-start.h>.
13901         (LIBC_START_MAIN): Set up __environ directly instead of using
13902         INIT_ARGV_and_ENVIRON.
13903         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13904         <bp-start.h>.
13906         [BZ #13550]
13907         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13908         definitions.
13909         (CHECK_FCNTL): Likewise.
13910         (CHECK_N_PAGES): Likewise.
13912         [BZ #13550]
13913         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13914         definitions.
13915         (CHECK_SIGSET_NULL_OK): Likewise.
13916         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13917         <bp-checks.h>.
13918         (sigpending): Don't use CHECK_SIGSET.
13919         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13920         <bp-checks.h>.
13921         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13922         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13923         <bp-checks.h>.
13924         (do_sigsuspend): Don't use CHECK_SIGSET.
13925         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13926         use CHECK_SIGSET.
13927         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13928         (do_sigwait): Don't use CHECK_SIGSET.
13929         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13930         use CHECK_SIGSET.
13931         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13932         include <bp-checks.h>.
13933         (sigpending): Don't use CHECK_SIGSET.
13934         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13935         include <bp-checks.h>.
13936         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13937         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13938         <bp-checks.h>.
13939         (sigpending): Don't use CHECK_SIGSET.
13940         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13941         <bp-checks.h>.
13942         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13944         [BZ #13550]
13945         * sysdeps/generic/bp-semctl.h: Remove file.
13946         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13947         <bp-checks.h> and <bp-semctl.h>.
13948         (__old_semctl): Don't use CHECK_SEMCTL.
13949         (__new_semctl): Likewise.
13950         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13951         and <bp-semctl.h>.
13952         (__old_semctl): Don't use CHECK_SEMCTL.
13953         (__new_semctl): Likewise.
13954         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13955         <bp-checks.h> and <bp-semctl.h>.
13956         (__old_semctl): Don't use CHECK_SEMCTL.
13957         (__new_semctl): Likewise.
13958         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13959         <bp-checks.h> and <bp-semctl.h>.
13960         (semctl): Don't use CHECK_SEMCTL.
13962         [BZ #13550]
13963         * Makerules (elide-bp-thunks): Remove variable.
13964         (elide-routines.oS): Don't use $(elide-bp-thunks).
13965         (elide-routines.os): Likewise.
13966         (elide-routines.o): Likewise.
13967         (elide-routines.op): Likewise.
13968         (elide-routines.og): Likewise.
13969         (objects): Don't use $(bp-thunks).
13970         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13971         include.
13972         (common-generated): Do not add s-proto-bp.d.
13973         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13974         (int): Likewise.
13975         (typ): Likewise.
13976         Do not generate makefile rules for bounded-pointer thunks.
13977         * sysdeps/generic/bp-thunks.h: Remove file.
13978         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13979         * sysdeps/unix/s-proto-bp.S: Likewise.
13981         [BZ #15062]
13982         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13983         parts of result separately when argument is not close to line from
13984         -i to i and one part of argument is small.
13985         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13986         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13987         * math/libm-test.inc (cacos_test): Add more tests.
13988         (casin_test): Likewise.
13989         (casinh_test): Likewise.
13990         * sysdeps/i386/fpu/libm-test-ulps: Update.
13991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13993 2013-01-31  David S. Miller  <davem@davemloft.net>
13995         * po/de.po: Update from translation team.
13997 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13999         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14001 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14003         * configure.in (_AC_PROG_CC_C89): New definition.
14004         * configure: Regenerate.
14006         * configure.in (AC_PROG_CPP): New definition.
14007         * configure: Regenerate.
14009 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14011         * debug/tst-backtrace.h: New file.
14012         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14013         (ret): Remove variable.
14014         (x): Likewise.
14015         (FAIL): Remove macro.
14016         (NO_INLINE): Likewise.
14017         (fn1): Use match function instead of strstr.
14018         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14019         (ret): Remove variable.
14020         (x): Likewise.
14021         (FAIL): Remove macro.
14022         (NO_INLINE): Likewise.
14023         (fn): Use match function instead of strstr.
14024         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14025         (ret): Remove variable.
14026         (x): Likewise.
14027         (FAIL): Remove macro.
14028         (NO_INLINE): Likewise.
14029         (handle_signal): Use match function instead of strstr.
14030         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14031         (ret): Remove variable.
14032         (x): Likewise.
14033         (FAIL): Remove macro.
14034         (NO_INLINE): Likewise.
14035         (handle_signal): Use match function instead of strstr.
14037 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14039         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14041 2013-01-23  David S. Miller  <davem@davemloft.net>
14043         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14044         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14045         argument of CAS if possible.
14046         * sysdeps/sparc/sparc64/bits/atomic.h
14047         (__arch_compare_and_exchange_val_32_acq): Likewise.
14048         (__arch_compare_and_exchange_val_64_acq): Likewise.
14050 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14052         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14053         * sysdeps/posix/ulimit.c: ... this.
14054         Include <limits.h>.
14055         * sysdeps/unix/bsd/ulimit.c: Remove file.
14057 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14059         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14060         (LDFLAGS-tst-array5): Likewise.
14062 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14064         [BZ #15036]
14065         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14066         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14067         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14068         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14070 2013-01-21  David S. Miller  <davem@davemloft.net>
14072         * sysdeps/sparc/backtrace.c: New file.
14073         * sysdeps/sparc/sparc32/backtrace.h: New file.
14074         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14075         * sysdeps/sparc/sparc64/backtrace.h: New file.
14076         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14077         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14078         -funwind-tables.
14080 2013-01-21  Andreas Schwab  <schwab@suse.de>
14082         [BZ #15020]
14083         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14084         closed its stdout.
14086 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14089         "mpa2.h".
14090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14092 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14093             Mark Mitchell  <mark@codesourcery.com>
14094             Tom de Vries  <tom@codesourcery.com>
14095             Paul Pluzhnikov  <ppluzhnikov@google.com>
14097         * debug/tst-backtrace2.c: New file.
14098         * debug/tst-backtrace3.c: Likewise.
14099         * debug/tst-backtrace4.c: Likewise.
14100         * debug/tst-backtrace5.c: Likewise.
14101         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14102         (CFLAGS-tst-backtrace3.c): Likewise.
14103         (CFLAGS-tst-backtrace4.c): Likewise.
14104         (CFLAGS-tst-backtrace5.c): Likewise.
14105         (LDFLAGS-tst-backtrace2): Likewise.
14106         (LDFLAGS-tst-backtrace3): Likewise.
14107         (LDFLAGS-tst-backtrace4): Likewise.
14108         (LDFLAGS-tst-backtrace5): Likewise.
14109         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14110         tst-backtrace4 and tst-backtrace5.
14112 2013-01-18  Anton Blanchard  <anton@samba.org>
14113             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14115         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14116         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14117         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14118         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14120         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14121         "+r" and remove output regs list as redundant.  Add explicit inline
14122         asm to specify register of return val to work around compiler codegen
14123         bug.  Remove (int) cast on return value.  Add return type parameter to
14124         use in macro so that this macro does not truncate return value for
14125         64-bit values.
14126         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14127         pass to INTERNAL_VSYSCALL_NCS.
14128         (INLINE_VSYSCALL): Add 'long int' as return type to
14129         INTERNAL_VSYSCALL_NCS macro invocation.
14130         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14131         INTERNAL_VSYSCALL_NCS macro invocation.
14132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14134 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14136         [BZ #14496]
14137         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14138         Fix application of SIMD FP exception mask.
14140         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14141         mp_no from a power of two.
14142         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14143         __mpexp_twomm1.  Use __pow_mp.
14145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14146         multiplication.
14148 2013-01-17  David S. Miller  <davem@davemloft.net>
14150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14152 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14154         [BZ #15023]
14155         * include/complex.h: Condition contents on [!_COMPLEX_H].
14156         (__kernel_casinhf): New prototype.
14157         (__kernel_casinh): Likewise.
14158         (__kernel_casinhl): Likewise.
14159         * math/Makefile (libm_calls): Add k_casinh.
14160         * math/k_casinh.c: New file.
14161         * math/k_casinhf.c: Likewise.
14162         * math/k_casinhl.c: Likewise.
14163         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14164         finite nonzero arguments.
14165         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14166         finite nonzero arguments.
14167         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14168         finite nonzero arguments.
14169         * math/s_casinh.c: Do not include <float.h>.
14170         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14171         * math/s_casinhf.c: Do not include <float.h>.
14172         (__casinhf): Move code for finite nonzero arguments to
14173         k_casinhf.c.
14174         * math/s_casinhl.c: Do not include <float.h>.
14175         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14176         redefine.
14177         (__casinhl): Move code for finite nonzero arguments to
14178         k_casinhl.c.
14179         * math/libm-test.inc (cacos_test): Add more tests.
14180         * sysdeps/i386/fpu/libm-test-ulps: Update.
14181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14183 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14185         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14186         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14187         [!HAVE_MREMAP]: Remove [defined linux] case.
14188         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14190 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14192         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14194 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14196         * elf/elf.h (R_386_SIZE32): New relocation.
14197         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14198         R_386_SIZE32.
14199         (elf_machine_rela): Likewise.
14200         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14201         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14203 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14205         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14206         (FP_FAST_FMA): Do not define.
14207         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14208         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14209         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14210         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14211         !_SOFT_FLOAT]: Likewise.
14212         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14213         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14214         value.
14215         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14216         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14217         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14218         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14219         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14220         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14221         file.
14223 2013-01-16  Andreas Schwab  <schwab@suse.de>
14225         [BZ #14327]
14226         * include/stdlib.h (__mktemp): Add declaration.
14227         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14228         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14230 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14232         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14233         definitions.
14234         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14235         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14236         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14237         definitions here.
14238         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14239         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14240         definitions.
14241         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14242         and ONE.
14243         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14244         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14245         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14246         definitions.
14247         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14248         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14249         definitions.
14250         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14252         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14254 2013-01-15  David S. Miller  <davem@davemloft.net>
14256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14257         trunc{,f} to libm-sysdep_routes.
14258         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14260         file.
14261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14263         file.
14264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14265         file.
14266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14268         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14269         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14270         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14271         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14272         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14273         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14276         nearbyint{,f} to libm-sysdep_routes.
14277         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14279         New file.
14280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14281         file.
14282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14283         New file.
14284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14285         file.
14286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14288         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14289         file.
14290         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14291         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14292         file.
14293         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14294         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14295         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14297         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14298         libc_feholdexcept and libc_fesetenv.
14300 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14302         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14304 2013-01-14  David S. Miller  <davem@davemloft.net>
14306         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14307         (SPARC_ASM_VIS2_IFUNC): Likewise.
14308         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14310         use of 'siam' instruction.
14311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14312         Likewise.
14313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14314         Likewise.
14315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14316         Likewise.
14317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14319         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14322         file.
14323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14324         file.
14325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14326         file.
14327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14328         file.
14329         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14331         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14334         new VIS2 routines.
14335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14338         Likewise.
14339         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14340         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14341         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14342         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14344         routines to libm-sysdep_routines.
14345         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14348         fdim/fdimf to libm-sysdep_routines.
14349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14350         file.
14351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14353         file.
14354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14357         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14358         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14359         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14360         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14362 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14364         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14365         to optimize copies.
14367         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14372         local variable MPTWO.
14373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14374         Likewise.
14376 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14378         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14379         GLOB_NOESCAPE.
14381 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14383         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14385 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14387         * manual/pattern.texi (glob_t): Document gl_flags.
14388         (glob64_t): Likewise.
14390 2013-01-11  David S. Miller  <davem@davemloft.net>
14392         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14393         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14394         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14395         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14396         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14397         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14398         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14399         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14400         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14401         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14402         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14403         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14404         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14406         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14407         sparc V9 rather than using V8 code.
14408         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14409         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14411         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14412         Move to...
14413         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14414         Here.
14416 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14418         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14419         not in the main loop.
14420         * configure: Regenerated.
14422 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14424         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14425         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14426         to just #else.
14427         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14428         [!__GLIBC_HAVE_LONG_LONG] case.
14429         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14430         condition to just #else.
14431         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14432         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14433         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14434         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14435         unconditional.
14436         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14437         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14438         #elif condition to just #else.
14439         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14440         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14441         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14442         #elif condition to just #else.
14444 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14446         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14447         (EF_MIPS_ARCH_64): Fix value.
14448         (EF_MIPS_ARCH_32R2): New.
14449         (EF_MIPS_ARCH_64R2): New.
14451 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14453         * Makeconfig (+link-pie-before-libc): New.
14454         (+link-pie-after-libc): Likewise.
14455         (+link-pie-tests): Likewise.
14456         (+link-pie): Rewritten.
14457         (link-before-libc): Remove $(config-LDFLAGS).
14458         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14459         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14460         (config-LDFLAGS): Renamed to ...
14461         (rtld-LDFLAGS): This.
14462         (rtld-tests-LDFLAGS): New macro.
14463         (link-libc-rpath-link): Likewise.
14464         (link-libc-tests-rpath-link): Likewise.
14465         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14466         (link-libc): Prepand $(link-libc-rpath-link).
14467         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14468         (test-program-prefix): New macro.
14469         (test-via-rtld-prefix): Likewise.
14470         (test-program-cmd): Likewise.
14471         (host-test-program-cmd): Likewise.
14472         * Makefile ($(common-objpfx)testrun.sh): Replace
14473         $(run-program-prefix) with $(test-program-prefix).
14474         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14475         $(rtld-LDFLAGS).
14476         ($(common-objpfx)shlib.lds): Likewise.
14477         (build-module-helper): Likewise.
14478         ($(common-objpfx)format.lds): Likewise.
14479         * Rules (binaries-pie-tests): New.
14480         (binaries-pie-notests): Likewise.
14481         (binaries-pie): Rewritten.
14482         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14483         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14484         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14485         (make-test-out): Replace $(host-built-program-cmd) with
14486         $(host-test-program-cmd).
14487         * config.make.in (build-hardcoded-path-in-tests): New variable.
14488         * configure.in (--enable-hardcoded-path-in-tests): New configure
14489         option.
14490         (hardcoded_path_in_tests): New AC_SUBST.
14491         * configure: Regenerated.
14492         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14493         $(built-program-cmd) with $(test-program-cmd).
14494         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14495         (test_program_cmd): This.
14496         * elf/Makefile ($(objpfx)order.out): Run test with
14497         $(test-program-prefix).
14498         ($(objpfx)order2.out): Likewise.
14499         ($(objpfx)tst-initorder.out): Likewise.
14500         ($(objpfx)tst-initorder2.out): Likewise.
14501         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14502         $(test-program-cmd).
14503         ($(objpfx)tst-array1-static.out): Likewise.
14504         ($(objpfx)tst-array2.out): Likewise.
14505         ($(objpfx)tst-array3.out): Likewise.
14506         ($(objpfx)tst-array4.out): Likewise.
14507         ($(objpfx)tst-array5.out): Likewise.
14508         ($(objpfx)tst-array5-static.out): Likewise.
14509         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14510         $(test-program-cmd).
14511         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14512         $(run-program-prefix) with $(test-program-prefix).
14513         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14514         (test_program_prefix): This.
14515         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14516         $(run-program-prefix) with $(test-program-prefix).
14517         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14518         (test_program_prefix): This.
14519         * iconvdata/tst-tables.sh: Likewise.
14520         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14521         $(run-program-prefix) with $(test-program-prefix).
14522         ($(objpfx)tst-translit.out): Likewise.
14523         ($(objpfx)tst-gettext2.out): Likewise.
14524         ($(objpfx)tst-gettext4.out): Likewise.
14525         ($(objpfx)tst-gettext6.out): Likewise.
14526         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14527         (test_program_prefix): This.
14528         * intl/tst-gettext2.sh: Likewise.
14529         * intl/tst-gettext4.sh  Likewise.
14530         * intl/tst-gettext6.sh: Likewise.
14531         * intl/tst-translit.sh: Likewise.
14532         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14533         with $(test-program-cmd).
14534         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14535         $(run-program-prefix) with $(test-program-prefix).
14536         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14537         (test_program_prefix): This.
14538         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14539         $(run-program-prefix) with $(test-program-prefix).
14540         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14541         (test_program_prefix): This.
14542         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14543         * posix/Makefile ($(objpfx)globtest.out): Replace
14544         $(run-via-rtld-prefix) and $(test-wrapper) with
14545         $(test-program-prefix) and $(test-via-rtld-prefix).
14546         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14547         $(test-program-prefix).
14548         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14549         $(host-test-program-cmd).
14550         (tst-spawn-ARGS): Likewise.
14551         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14552         $(test-program-prefix).
14553         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14554         (test_via_rtld_prefix): This.
14555         (test_wrapper): Renamed to ...
14556         (test_program_prefix): This.
14557         (run_program_prefix): Replaced by test_program_prefix.
14558         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14559         (test_program_prefix): This.
14560         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14561         with $(host-test-program-cmd).
14562         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14563         $(run-program-prefix) with $(test-program-prefix).
14564         ($(objpfx)tst-printf.out): Likewise.
14565         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14566         $(test-program-cmd).
14567         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14568         (test_program_prefix): This.
14569         * stdio-common/tst-unbputc.sh: Likewise.
14570         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14571         $(run-program-prefix) with $(test-program-prefix).
14572         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14573         (test_program_prefix): This.
14574         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14575         $(built-program-cmd) with $(test-program-cmd).
14577 2013-01-11  Andreas Jaeger  <aj@suse.de>
14579         [BZ #15003]
14580         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14581         value. Sync with Linux 3.7.
14583 2013-01-10  David S. Miller  <davem@davemloft.net>
14585         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14586         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14587         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14589 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14591         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14592         never set.
14593         * configure: Regenerated.
14595 2013-01-10  David S. Miller  <davem@davemloft.net>
14597         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14598         sparc V9 rather than using V8 code.
14599         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14600         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14602 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14604         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14605         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14606         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14607         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14608         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14609         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14610         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14611         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14612         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14613         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14614         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14615         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14616         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14617         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14618         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14619         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14620         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14621         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14622         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14623         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14624         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14625         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14626         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14627         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14628         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14629         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14630         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14632 2013-01-10  David S. Miller  <davem@davemloft.net>
14634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14636 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14638         * posix/Makefile (tests-static): New variable.
14639         (tests): Add $(tests-static).
14640         (tst-exec-static-ARGS): New variable.
14641         (tst-spawn-static-ARGS): Likewise.
14642         * posix/tst-exec-static.c: New file.
14643         * posix/tst-spawn-static.c: Likewise.
14644         * posix/tst-exec.c: Support run directly.
14645         * posix/tst-spawn.c: Likewise.
14647 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14649         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14650         long.
14651         * math/bits/mathcalls.h (llrint): Likewise.
14652         (llround): Likewise.
14653         * stdlib/stdlib.h (struct drand48_data): Likewise.
14654         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14655         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14656         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14657         Likewise.
14658         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14659         Likewise.
14660         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14661         (elf_greg_t): Likewise.
14662         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14663         (__jmp_buf): Likewise.
14664         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14665         definitions.
14666         (llrint): Likewise, for all definitions.
14667         (llrintl): Likewise.
14669         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14670         Remove [__GNUC__] condition.
14671         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14672         condition to just [__USE_ISOC99].
14673         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14675 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14677         [BZ #14200]
14678         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14679         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14680         defined.
14681         (_POSIX_V6_ILP32_OFF32): Likewise.
14682         (_XBS5_ILP32_OFF32): Likewise.
14683         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14684         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14686 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14688         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14690         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14691         doubles __mpexp_twomm1.  Adjust usage.
14692         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14693         Remove.
14695 2013-01-10  Andreas Schwab  <schwab@suse.de>
14697         [BZ #14964]
14698         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14699         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14701 2013-01-09  David S. Miller  <davem@davemloft.net>
14703         [BZ #15003]
14704         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14705         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14706         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14707         TCP_FASTOPEN): Define.
14708         (tcp_repair_opt): New structure.
14709         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14710         enum values.
14711         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14712         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14713         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14714         (tcp_cookie_transactions): New structure.
14716 2013-01-09  Anton Blanchard  <anton@samba.org>
14718         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14719         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14720         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14721         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14723 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14725         * include/features.h (__USE_ANSI): Remove.
14727 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14729         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14731         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14733 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14735         * sysdeps/s390/fpu/libm-test-ulps: Update.
14737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14739         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14740         (__acr): Likewise.
14741         (__cpy): Likewise.
14742         (norm): Likewise.
14743         (denorm): Likewise.
14744         (__mp_dbl): Likewise.
14745         (__dbl_mp): Likewise.
14746         (add_magnitudes): Likewise.
14747         (sub_magnitudes): Likewise.
14748         (__add): Likewise.
14749         (__sub): Likewise.
14750         (__mul): Likewise.
14751         (__inv): Likewise.
14752         (__dvd): Likewise.
14753         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14754         (__acr): Likewise.
14755         (__cpy): Likewise.
14756         (norm): Likewise.
14757         (denorm): Likewise.
14758         (__mp_dbl): Likewise.
14759         (__dbl_mp): Likewise.
14760         (add_magnitudes): Likewise.
14761         (sub_magnitudes): Likewise.
14762         (__add): Likewise.
14763         (__sub): Likewise.
14764         (__mul): Likewise.
14765         (__inv): Likewise.
14766         (__dvd): Likewise.
14767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14768         (__acr): Likewise.
14769         (__cpy): Likewise.
14770         (norm): Likewise.
14771         (denorm): Likewise.
14772         (__mp_dbl): Likewise.
14773         (__dbl_mp): Likewise.
14774         (add_magnitudes): Likewise.
14775         (sub_magnitudes): Likewise.
14776         (__add): Likewise.
14777         (__sub): Likewise.
14778         (__mul): Likewise.
14779         (__inv): Likewise.
14780         (__dvd): Likewise.
14782 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14784         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14785         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14786         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14787         2 && __USE_EXTERN_INLINES]: Likewise.
14789 2013-01-08  Andreas Jaeger  <aj@suse.de>
14791         [BZ# 14985]
14792         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14793         Remove.
14794         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14795         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14797 2013-01-07  Anton Blanchard  <anton@samba.org>
14799         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14800         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14801         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14802         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14803         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14804         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14805         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14806         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14807         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14808         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14809         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14810         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14811         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14812         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14813         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14814         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14815         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14816         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14817         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14818         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14819         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14820         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14821         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14822         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14823         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14824         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14825         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14826         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14827         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14828         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14829         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14831         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14832         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14833         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14834         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14835         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14836         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14837         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14838         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14839         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14840         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14841         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14843 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14845         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14846         (__MALLOC_PMT): Likewise.
14847         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14848         [__GNUC__], only on [_LIBC].
14849         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14850         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14851         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14852         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14853         forward declaration.
14854         (realloc_hook_ini): Likewise.
14855         (memalign_hook_ini): Likewise.
14856         (__libc_memalign): Do not use __MALLOC_PMT in variable
14857         declaration.
14858         (__libc_valloc): Likewise.
14859         (__libc_pvalloc): Likewise.
14860         (__libc_calloc): Likewise.
14861         (__posix_memalign): Likewise.
14863         [BZ #14996]
14864         * math/s_casinh.c: Include <float.h>.
14865         (__casinh): Do not do computation with squaring and square root
14866         for large arguments.
14867         * math/s_casinhf.c: Include <float.h>.
14868         (__casinhf): Do not do computation with squaring and square root
14869         for large arguments.
14870         * math/s_casinhl.c: Include <float.h>.
14871         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14872         (__casinhl): Do not do computation with squaring and square root
14873         for large arguments.
14874         * math/libm-test.inc (casin_test): Add more tests.
14875         (casinh_test): Likewise.
14876         * sysdeps/i386/fpu/libm-test-ulps: Update.
14877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14879 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14881         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14882         (__x86_64_raw_data_cache_size): Likewise.
14883         (__x86_64_data_cache_size_half): Likewise.
14884         (__x86_64_raw_data_cache_size_half): Likewise.
14885         (__x86_64_shared_cache_size): Likewise.
14886         (__x86_64_raw_shared_cache_size): Likewise.
14887         (__x86_64_shared_cache_size_half): Likewise.
14888         (__x86_64_raw_shared_cache_size_half): Likewise.
14889         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14890         to ...
14891         (__x86_data_cache_size): This.
14892         (__x86_64_raw_data_cache_size): Renamed to ...
14893         (__x86_raw_data_cache_size): This.
14894         (__x86_64_data_cache_size_half): Renamed to ...
14895         (__x86_data_cache_size_half): This.
14896         (__x86_64_raw_data_cache_size_half): Renamed to ...
14897         (__x86_raw_data_cache_size_half): This.
14898         (__x86_64_shared_cache_size): Renamed to ...
14899         (__x86_shared_cache_size): This.
14900         (__x86_64_raw_shared_cache_size): Renamed to ...
14901         (__x86_raw_shared_cache_size): This.
14902         (__x86_64_shared_cache_size_half): Renamed to ...
14903         (__x86_shared_cache_size_half): This.
14904         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14905         (__x86_raw_shared_cache_size_half): This.
14906         * sysdeps/x86_64/memcpy.S: Updated.
14907         * sysdeps/x86_64/memset.S: Likewise.
14908         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14909         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14910         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14912 2013-01-04  David S. Miller  <davem@davemloft.net>
14914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14916 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14918         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14919         1 to avoid redefinition warning.
14920         (__USE_GNU): Don't define.
14921         (init_signaling_nan): Protoize.
14923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14925 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14927         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14929         (__cpymn): Likewise.
14930         (norm): Remove commented code.
14931         (denorm): Likewise.
14932         (__mp_dbl): Likewise.
14933         (__inv): Likewise.
14934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14935         (__cpymn): Likewise.
14936         (norm): Remove commented code.
14937         (denorm): Likewise.
14938         (__mp_dbl): Likewise.
14939         (__inv): Likewise.
14941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14942         mp_no value for 1.0 and 2.0.
14943         (norm): Use RADIXI instead of radixi.d.
14944         (denorm): Likewise.
14945         (__mul): Use 0.0 instead of zero.d.
14946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14947         mp_no value for 1.0 and 2.0.
14948         (norm): Use RADIXI instead of radixi.d.
14949         (denorm): Likewise.
14950         (__mul): Use 0.0 instead of zero.d.
14952 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14954         [BZ #14994]
14955         * math/s_casinh.c (__casinh): Reduce finite argument to first
14956         quadrant then set signs of results at the end.
14957         * math/s_casinhf.c (__casinhf): Likewise.
14958         * math/s_casinhl.c (__casinhl): Likewise.
14959         * math/libm-test.inc (casin_test): Add more tests.
14960         (casinh_test): Likewise.
14961         * sysdeps/i386/fpu/libm-test-ulps: Update.
14962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14964 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14966         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14968         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14970         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14971         declarations.
14972         (denorm): Likewise.
14973         (__mp_dbl): Likewise.
14974         (__inv): Likewise.
14976         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14977         and adjust the header comment.
14979         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14980         variable name from declaration.
14982 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14984         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14985         Initialize COMMON_CPUID_INDEX_7 element.
14986         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14987         (CPUID_RTM): Likewise.
14988         (HAS_RTM): Likewise.
14989         (COMMON_CPUID_INDEX_7): New enum.
14991 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14993         [BZ #14981]
14994         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14995         size is zero, record memory as freed.
14997 2013-01-03  Andreas Jaeger  <aj@suse.de>
14999         * po/ia.po: Add new Interlingua translation.
15001 2012-01-03  Allan McRae  <allan@archlinux.org>
15003         * locale/programs/localedef.c: Fix description of '--posix' flag.
15005 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15007         * NEWS: Update dates in second copyright notice.
15008         * README: Update copyright dates in example.
15009         * manual/libc.texinfo: Update copyright dates.
15010         * scripts/test-installation.pl: Update copyright date in --version
15011         output.
15013         * hurd/ctty-input.c: Fix copyright notice formatting.
15014         * hurd/ctty-output.c: Likewise.
15015         * hurd/dtable.c: Likewise.
15016         * hurd/hurd-raise.c: Likewise.
15017         * hurd/hurdprio.c: Likewise.
15018         * hurd/msgportdemux.c: Likewise.
15019         * misc/sys/file.h: Likewise.
15020         * misc/sys/ioctl.h: Likewise.
15021         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15022         * sysdeps/mach/hurd/chdir.c: Likewise.
15023         * sysdeps/mach/hurd/fchdir.c: Likewise.
15024         * sysdeps/mach/hurd/rename.c: Likewise.
15025         * sysdeps/mach/hurd/rmdir.c: Likewise.
15026         * sysdeps/mach/hurd/seekdir.c: Likewise.
15027         * sysdeps/mach/hurd/setsid.c: Likewise.
15028         * sysdeps/posix/wait3.c: Likewise.
15030         * All files with FSF copyright notices: Update copyright dates
15031         using scripts/update-copyrights.
15032         * intl/plural.c: Regenerated.
15033         * locale/programs/charmap-kw.h: Likewise.
15034         * locale/programs/locfile-kw.h: Likewise.
15036 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15038         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15039         four values.
15041         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15042         calculation loop and add branch prediction.
15044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15045         check access beyond bounds of m1np.
15047         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15048         MPTWO.
15049         (__inv): Remove local variable MPTWO to use the global
15050         constant.
15051         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15052         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15053         variable MPTWO.
15054         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15055         MP3HALFS static const.
15057 2013-01-01  David S. Miller  <davem@davemloft.net>
15059         * po/ca.po: Update from translation team.
15061 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15063         * scripts/update-copyrights: New file.
15064         * Makeconfig: Reformat copyright notice.
15065         * ctype/ctype.h: Likewise.
15066         * debug/swprintf_chk.c: Likewise.
15067         * elf/dl-cache.c: Likewise.
15068         * elf/dl-debug.c: Likewise.
15069         * elf/dl-object.c: Likewise.
15070         * grp/initgroups.c: Likewise.
15071         * hurd/Makefile: Likewise.
15072         * hurd/hurd/signal.h: Likewise.
15073         * hurd/hurdfault.c: Likewise.
15074         * hurd/hurdioctl.c: Likewise.
15075         * hurd/hurdlookup.c: Likewise.
15076         * hurd/intr-msg.c: Likewise.
15077         * iconv/gconv_open.c: Likewise.
15078         * libio/swprintf.c: Likewise.
15079         * locale/lc-ctype.c: Likewise.
15080         * locale/nl_langinfo.c: Likewise.
15081         * mach/Machrules: Likewise.
15082         * mach/Makefile: Likewise.
15083         * malloc/obstack.h: Likewise.
15084         * manual/Makefile: Likewise.
15085         * manual/tsort.awk: Likewise.
15086         * misc/bits/stab.def: Likewise.
15087         * nis/nis_print_group_entry.c: Likewise.
15088         * nis/nis_table.c: Likewise.
15089         * nis/nss_compat/compat-pwd.c: Likewise.
15090         * nis/nss_compat/compat-spwd.c: Likewise.
15091         * po/Makefile: Likewise.
15092         * posix/fnmatch.c: Likewise.
15093         * posix/regex.h: Likewise.
15094         * resolv/Makefile: Likewise.
15095         * resolv/nss_dns/dns-network.c: Likewise.
15096         * resolv/res_hconf.c: Likewise.
15097         * scripts/gen-sorted.awk: Likewise.
15098         * soft-fp/soft-fp.h: Likewise.
15099         * stdio-common/printf.h: Likewise.
15100         * stdlib/monetary.h: Likewise.
15101         * stdlib/random.c: Likewise.
15102         * stdlib/random_r.c: Likewise.
15103         * sysdeps/generic/Makefile: Likewise.
15104         * sysdeps/gnu/Makefile: Likewise.
15105         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15106         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15107         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15108         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15109         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15110         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15111         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15112         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15113         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15114         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15115         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15116         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15117         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15118         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15119         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15120         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15121         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15122         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15123         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15124         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15125         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15126         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15127         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15128         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15129         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15130         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15131         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15132         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15133         * sysdeps/mach/hurd/errnos.awk: Likewise.
15134         * sysdeps/mach/hurd/fork.c: Likewise.
15135         * sysdeps/mach/hurd/getcwd.c: Likewise.
15136         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15137         * sysdeps/mach/hurd/mmap.c: Likewise.
15138         * sysdeps/mach/hurd/utimes.c: Likewise.
15139         * sysdeps/mach/hurd/xmknod.c: Likewise.
15140         * sysdeps/posix/profil.c: Likewise.
15141         * sysdeps/posix/readdir_r.c: Likewise.
15142         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15143         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15144         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15145         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15146         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15147         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15148         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15149         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15150         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15151         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15152         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15153         * sysdeps/pthread/lio_listio.c: Likewise.
15154         * sysdeps/sparc/dl-procinfo.h: Likewise.
15155         * sysdeps/unix/i386/sysdep.S: Likewise.
15156         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15157         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15158         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15159         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15161         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15162         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15163         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15164         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15165         * sysdeps/wordsize-32/divdi3.c: Likewise.
15166         * time/sys/time.h: Likewise.
15167         * wcsmbs/Makefile: Likewise.
15169 2013-01-01  David S. Miller  <davem@davemloft.net>
15171         * po/fr.po: Update from translation team.
15173         * catgets/gencat.c: Update copyright year.
15174         * csu/version.c: Likewise.
15175         * debug/catchsegv.sh: Likewise.
15176         * debug/pcprofiledump.c: Likewise.
15177         * debug/xtrace.sh: Likewise.
15178         * elf/ldconfig.c: Likewise.
15179         * elf/ldd.bash.in: Likewise.
15180         * elf/pldd.c: Likewise.
15181         * elf/sotruss.ksh: Likewise.
15182         * elf/sprof.c: Likewise.
15183         * iconv/iconv_prog.c: Likewise.
15184         * iconv/iconvconfig.c: Likewise.
15185         * locale/programs/locale.c: Likewise.
15186         * locale/programs/localedef.c: Likewise.
15187         * login/programs/pt_chown.c: Likewise.
15188         * malloc/memusage.sh: Likewise.
15189         * malloc/memusagestat.c: Likewise.
15190         * malloc/mtrace.pl: Likewise.
15191         * nscd/nscd.c: Likewise.
15192         * nss/getent.c: Likewise.
15193         * nss/makedb.c: Likewise.
15194         * posix/getconf.c: Likewise.
15196 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15198         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15199         numbers.
15201 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15203         * math/bits/mathcalls.h (modf): Use __nonnull.
15205 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15207         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15208         (split): Use macro CN instead of the bare value.
15209         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15210         could be used.
15211         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15212         instead of the bare value.
15213         (power1): Likewise.
15215 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15217         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15218         __ATAN_TWOM.
15219         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15221         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15222         their values.
15223         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15224         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15225         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15226         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15228 2012-12-28  Andreas Jaeger  <aj@suse.de>
15230         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15231         values are from Linux 3.7.
15233         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15234         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15236 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15238         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15239         TRUE case.
15241         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15242         (norm): Likewise.
15243         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15244         variables with preprocessor constants.
15245         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15246         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15247         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15249 2012-12-27  Bruno Haible  <bruno@clisp.org>
15251         [BZ #14317]
15252         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15253         only if needed.
15255 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15257         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15258         and use variable directly.
15259         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15261         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15262         MPONE.
15263         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15264         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15265         variable MPONE.
15266         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15267         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15268         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15269         include directive.  Remove local variable MPONE.
15270         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15271         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15272         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15274 2012-12-25  David S. Miller  <davem@davemloft.net>
15276         * version.h (RELEASE): Set to "development".
15277         (VERSION): Set to "2.17.90".
15278         * NEWS: Add 2.18 section.
15280 2012-12-21  David S. Miller  <davem@davemloft.net>
15282         * po/hr.po: Update from translation team.
15284 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15286         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15288 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15290         * NEWS:  Mention new memcpy for MIPS.
15292 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15294         * manual/contrib.texi (Contributors): Spelling correction.
15296 2012-12-15  David S. Miller  <davem@davemloft.net>
15298         * po/ru.po: Update from translation team.
15300 2012-12-13  David S. Miller  <davem@davemloft.net>
15302         * NEWS: Mention IFUNC testsuite enhancements.
15304         * po/pl.po: Update from translation team.
15305         * po/bg.po: Likewise.
15307         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15308         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15310 2012-12-11  David S. Miller  <davem@davemloft.net>
15312         * po/sv.po: Update from translation team.
15314         * po/vi.po: Update from translation team.
15316         * po/cs.po: Update from translation team.
15318         * po/de.po: Update from translation team.
15319         * po/eo.po: Likewise.
15320         * po/nl.po: Likewise.
15322 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15324         [BZ #14246]
15325         * manual/argp.texi (Argp Helper Functions): Move node to follow
15326         Argp Parsing State.
15328         [BZ #14872]
15329         * manual/conf.texi (Limits on File System Capacity): Mention if
15330         terminating null is included in the max size.
15332 2012-12-10  Andreas Jaeger  <aj@suse.de>
15334         * po/cs.po: Update from translation team.
15336 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15338         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15339         void pointer and cast to uintptr_t.
15340         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15341         path.
15342         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15343         * sysdeps/s390/s390-64/memset.S: Likewise.
15345 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15347         [BZ #14833]
15348         * menual/message.texi (Message Translation): Fix typos.
15349         (Helper programs for gettext): Likewise.
15351 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15353         [BZ #14898]
15354         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15355         Change to -1.
15357 2012-12-07  David S. Miller  <davem@davemloft.net>
15359         * po/libc.pot: Update.
15361 2012-12-07  Richard Henderson  <rth@redhat.com>
15363         [BZ #10114]
15364         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15365         normal/normal case to before the switch.
15366         (_FP_DIV): Likewise.
15368 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15369             Mike Frysinger  <vapier@gentoo.org>
15371         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15372         check for __NR_fadvise64_64.
15374 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15376         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15377         0, not just to plain "0" as a statement.
15378         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15379         with cw.
15381 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15383         * NEWS: Use sourceware.org in Bugzilla URL.
15385 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15388         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15390         * stdio-common/tst-put-error.c (do_test): Add newline to the
15391         padded test to ensure flush.
15393 2012-12-05  Jeff Law  <law@redhat.com>
15395         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15397 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15399         * README: Don't refer to ports add-on as distributed separately.
15400         Mention AArch64 in list of systems supported in the ports add-on.
15402         * LICENSES: Add more non-FSF copyright and license notices.
15404         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15405         ((unused)).
15407         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15409         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15410         10000 as width of padded output.
15412 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15414         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15416         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15417         variable LX with __attribute__ ((unused)).
15418         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15419         Likewise.
15420         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15421         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15422         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15423         with __attribute__ ((unused)).
15425 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15427         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15429 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15431         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15432         (CFLAGS-nldbl-acos.c): New variable.
15433         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15434         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15435         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15436         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15437         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15438         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15439         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15440         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15441         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15442         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15443         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15444         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15445         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15446         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15447         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15448         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15449         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15450         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15451         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15452         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15453         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15454         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15455         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15456         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15457         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15458         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15459         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15460         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15461         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15462         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15463         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15464         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15465         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15466         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15467         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15468         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15469         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15470         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15471         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15472         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15473         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15474         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15475         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15476         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15477         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15478         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15479         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15480         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15481         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15482         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15483         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15484         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15485         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15486         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15487         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15488         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15489         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15490         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15491         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15492         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15493         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15494         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15495         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15496         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15497         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15498         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15499         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15500         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15501         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15502         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15503         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15504         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15505         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15506         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15507         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15508         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15509         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15510         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15511         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15512         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15513         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15514         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15515         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15516         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15517         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15518         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15519         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15520         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15521         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15522         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15523         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15524         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15525         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15526         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15527         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15528         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15529         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15532         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15534         [BZ #14914]
15535         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15536         whole low double instead of just low 47 bits when splitting values
15537         into two parts.
15539 2012-12-03  Allan McRae  <allan@archlinux.org>
15541         * manual/stdio.texi (Predefined Printf Handlers): Remove
15542         @hsep and @vsep usage.
15544 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15546         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15547         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15549 2012-12-03  Jeff Law  <law@redhat.com>
15551         * time/sys/time.h (settimeofday): Do not mark TV argument
15552         as __nonnull.
15554 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15556         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15557         when currently writing and seek to current position when not.
15558         * libio/Makefile (tests): Remove bug-fclose1.
15559         * libio/bug-fclose1.c: Delete.
15561 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15563         * manual/arith.texi (feenableexcept): Fix typo.
15564         (fedisableexcept): Likewise.
15566 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15568         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15569         second, differently-typed declaration, rather than a cast.
15571 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15573         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15574         * include/rpc/svc.h: ... here.
15576 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15578         [BZ #13013]
15579         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15580         depending n and resplen2 to catch cases where answer
15581         equals answerp2.
15583 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15585         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15586         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15588 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15590         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15592 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15594         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15596 2012-11-28  Jeff Law  <law@redhat.com>
15598         [BZ #13761]
15599         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15600         dataset_temporary.  Track alloca usage into alloca_used.
15601         If dataset is large allocate and release it via malloc/free.
15603 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15605         [BZ #14197]
15606         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15608 2012-11-28  David S. Miller  <davem@davemloft.net>
15610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15612 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15614         [BZ #14803]
15615         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15616         of pi/2 rounded to nearest to 64 bits.
15617         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15618         nearest to 64 bits.
15619         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15620         bits.
15622 2012-11-28  Jeff Law <law@redhat.com>
15623             Martin Osvald <mosvald@redhat.com>
15625         [BZ #14889]
15626         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15627         * sunrpc/svc.c: Include time.h.
15628         (__svc_accept_failed): New function.
15629         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15630         any reason other than EINTR, call __svc_accept_failed.
15631         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15632         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15634 2012-11-28  Andreas Schwab  <schwab@suse.de>
15636         * scripts/abilist.awk: Also handle indirect functions in .opd
15637         section.
15639 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15641         [BZ #13881]
15642         * sysdeps/x86/fpu/powl_helper.c: New file.
15643         * sysdeps/x86/fpu/Makefile: Likewise.
15644         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15645         (p3): New object.
15646         (__ieee754_powl): Use __powl_helper for finite arguments except
15647         integer exponents below 8.
15648         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15649         (p3): New object.
15650         (__ieee754_powl): Use __powl_helper for finite arguments except
15651         integer exponents below 8.
15652         * math/libm-test.inc (pow_test): Add more tests and enable some
15653         previously disabled tests.
15654         * sysdeps/i386/fpu/libm-test-ulps: Update.
15655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15657 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15658             Carlos O'Donell  <carlos_odonell@mentor.com>
15660         * nss/makedb.c (is_prime): Assert that input is odd and greater
15661         than 4.  Note that fact in a comment too.
15662         (next_prime): Add 4 to input.
15664 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15666         [BZ #11741]
15667         * libio/Makefile (tests): Add test case tst-fwrite-error.
15668         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15669         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15670         * libio/tst-fwrite-error.c: New test case.
15672 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15674         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15675         before casting to void *.
15676         * include/libc-internal.h (__pointer_type): New macro.
15677         (__integer_if_pointer_type_sub): Likewise.
15678         (__integer_if_pointer_type): Likewise.
15679         (cast_to_integer): Likewise.
15680         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15681         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15682         before casting to atomic64_t.
15683         (atomic_exchange_acq): Likewise.
15684         (__arch_exchange_and_add_body): Likewise.
15685         (__arch_add_body): Likewise.
15686         (atomic_add_negative): Likewise.
15687         (atomic_add_zero): Likewise.
15689 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15691         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15692         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15693         (add_fdes): Likewise.
15694         (linear_search_fdes): Likewise.
15695         (binary_search_unencoded_fdes): Likewise.
15697 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15699         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15701 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15703         * configure.in: Autodetect C++ header directories.
15704         * configure: Regenerated.
15706 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15708         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15710 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15714 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15716         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15717         LDBL_MANT_DIG == 106]: Disable some tests.
15718         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15719         Likewise.
15720         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15721         Likewise.
15723         [BZ #14871]
15724         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15725         input for small inputs.  Return +/- pi/2 for large inputs.
15726         * math/libm-test.inc (atan_test): Add more tests.
15728         * sysdeps/generic/unwind-dw2-fde-glibc.c
15729         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15730         __attribute__ ((unused)).
15732         [BZ #14645]
15733         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15734         x * y if x and y are nonzero and z is zero.
15736         [BZ #14811]
15737         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15738         nonzero exponents with absolute value below 0x1p-117 to +/-
15739         0x1p-117.
15741         [BZ #14869]
15742         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15743         up arguments below 2**-450, not just those below 2**-500.
15744         * math/libm-test.inc (hypot_test): Add another test.
15746         [BZ #14868]
15747         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15748         Return a+b for ratio over 2**120, not 2**60.
15749         * math/libm-test.inc (hypot_test): Add another test.
15751         * math/libm-test.inc (clog_test): Use
15752         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15753         (clog10_test): Likewise.
15755         [BZ #6778]
15756         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15758 2012-11-22  Andreas Schwab  <schwab@suse.de>
15760         * sysdeps/i386/fpu/libm-test-ulps: Update.
15762 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15764         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15765         printf output with newline.
15767 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15769         [BZ #14865]
15770         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15771         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15772         -z nodlopen, -z initfirst and -z execstack support.
15773         * configure: Regenerated.
15775         * elf/elf.h (DF_1_NODIRECT): New macro.
15776         (DF_1_IGNMULDEF): Likewise.
15777         (DF_1_NOKSYMS): Likewise.
15778         (DF_1_NOHDR): Likewise.
15779         (DF_1_EDITED): Likewise.
15780         (DF_1_NORELOC): Likewise.
15781         (DF_1_SYMINTPOSE): Likewise.
15782         (DF_1_GLOBAUDIT): Likewise.
15783         (DF_1_SINGLETON): Likewise.
15784         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15785         DT_1_SUPPORTED_MASK bits.
15786         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15788 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15790         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15792 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15794         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15795         macro.
15797         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15798         (sendmmsg): Move declarations...
15799         * socket/sys/socket.h: ... here.
15800         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15801         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15802         include it from...
15803         * socket/recvmmsg.c: ... this new file.
15804         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15805         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15806         definition of __sendmmsg hidden.
15807         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15808         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15809         Move ENOSYS stub into and include it from...
15810         * socket/sendmmsg.c: ... this new file.
15811         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15812         (sysdep_routines): Move recvmmsg and sendmmsg...
15813         * socket/Makefile (routines): ... here.
15814         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15815         (GLIBC_PRIVATE): Add __sendmmsg.
15816         * include/sys/socket.h (__sendmmsg): Add declarations.
15817         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15818         sendmmsg.
15820 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15822         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15823         variable I1 with __attribute__ ((unused)).
15824         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15826 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15828         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15829         DUMMY variables with __attribute__ ((unused)).
15831         * bits/byteswap.h: Include <bits/types.h>.
15832         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15834 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15836         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15837         string_t.  Do not manually set errno.
15838         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15839         length with __strnlen.  Make sure to both set errno and return it on
15840         failure.
15842 2012-11-19  David S. Miller  <davem@davemloft.net>
15844         With help from Joseph Myers.
15845         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15846         very large arguments properly.
15847         * math/libm-test.inc (atan_test): New tests.
15848         (atan2_test): New tests.
15849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15852 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15854         [BZ #14856]
15855         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15856         Define to 3.
15858         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15859         [POSIX] (EADDRNOTAVAIL): Likewise.
15860         [POSIX] (EAFNOSUPPORT): Likewise.
15861         [POSIX] (EALREADY): Likewise.
15862         [POSIX] (ECONNABORTED): Likewise.
15863         [POSIX] (ECONNREFUSED): Likewise.
15864         [POSIX] (ECONNRESET): Likewise.
15865         [POSIX] (EDESTADDRREQ): Likewise.
15866         [POSIX] (EDQUOT): Likewise.
15867         [POSIX] (EHOSTUNREACH): Likewise.
15868         [POSIX] (EIDRM): Likewise.
15869         [POSIX] (EISCONN): Likewise.
15870         [POSIX] (ELOOP): Likewise.
15871         [POSIX] (EMULTIHOP): Likewise.
15872         [POSIX] (ENETDOWN): Likewise.
15873         [POSIX] (ENETUNREACH): Likewise.
15874         [POSIX] (ENOBUFS): Likewise.
15875         [POSIX] (ENODATA): Likewise.
15876         [POSIX] (ENOLINK): Likewise.
15877         [POSIX] (ENOMSG): Likewise.
15878         [POSIX] (ENOPROTOOPT): Likewise.
15879         [POSIX] (ENOSR): Likewise.
15880         [POSIX] (ENOSTR): Likewise.
15881         [POSIX] (ENOTCONN): Likewise.
15882         [POSIX] (ENOTSOCK): Likewise.
15883         [POSIX] (EOPNOTSUPP): Likewise.
15884         [POSIX] (EOVERFLOW): Likewise.
15885         [POSIX] (EPROTO): Likewise.
15886         [POSIX] (EPROTONOSUPPORT): Likewise.
15887         [POSIX] (EPROTOTYPE): Likewise.
15888         [POSIX] (ESTALE): Likewise.
15889         [POSIX] (ETIME): Likewise.
15890         [POSIX] (ETXTBSY): Likewise.
15891         [POSIX] (EWOULDBLOCK): Likewise.
15892         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15893         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15894         [POSIX] (SEEK_CUR): Likewise.
15895         [POSIX] (SEEK_END): Likewise.
15896         [POSIX || UNIX98] (mode_t): Do not require.
15897         [POSIX] (off_t): Likewise.
15898         [POSIX] (pid_t): Likewise.
15899         [POSIX] (sys/stat.h): Do not allow header.
15900         [POSIX] (unistd.h): Likewise.
15901         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15902         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15903         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15904         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15905         require.
15906         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15907         sigevent): Specify elements.
15908         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15909         entry.
15910         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15911         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15913         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15914         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15915         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15916         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15917         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15918         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15919         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15920         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15921         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15922         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15923         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15924         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15925         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15926         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15927         Likewise.
15928         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15929         Likewise.
15930         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15931         Likewise.
15932         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15933         Likewise.
15934         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15935         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15936         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15937         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15938         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15939         Specify lower bound on value.
15940         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15941         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15942         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15943         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15944         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15945         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15946         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15947         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15948         value.
15949         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15950         as optional.
15951         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15952         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15953         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15954         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15955         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15956         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15957         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15958         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15959         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15960         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15961         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15962         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15963         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15964         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15965         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15966         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15967         entry.
15968         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15969         optional.
15970         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15971         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15972         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15973         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15974         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15975         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15976         Likewise.
15977         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15978         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15979         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15980         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15981         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15982         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15983         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15984         as optional.
15985         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15986         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15987         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15988         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15989         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15990         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15991         specify as optional.
15992         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15993         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15994         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15995         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15996         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15997         [XPG3] (NL_LANGMAX): Likewise.
15998         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15999         [POSIX || XPG3] (NL_NMAX): Likewise.
16000         [POSIX || XPG3] (NL_SETMAX): Likewise.
16001         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16002         [XPG3] (NZERO): Likewise.
16003         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16004         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16005         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16006         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16007         (REG_ERANGE): Expect.
16008         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16009         optional-constant.
16010         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16011         Use (void) in prototype.
16012         [POSIX] (*_t): Allow.
16013         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16014         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16015         (WRDE_BADVAL): Expect.
16017         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16018         expect.
16019         [XPG3 || XPG4] (O_RSYNC): Likewise.
16020         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16021         Likewise.
16022         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16023         [XPG3 || XPG4] (sigqueue): Likewise.
16024         [XPG3 || XPG4] (sigtimedwait): Likewise.
16025         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16026         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16027         [XPG3 || XPG4] (vsnprintf): Likewise.
16028         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16029         Likewise.
16030         [XPG3 || XPG4] (blksize_t): Likewise.
16031         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16032         Likewise.
16033         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16034         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16035         [XPG3 || XPG4] (struct itimerspec): Likewise.
16036         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16037         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16038         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16039         [XPG3 || XPG4] (clockid_t): Likewise.
16040         [XPG3 || XPG4] (timer_t): Likewise.
16041         [XPG3 || XPG4] (clock_getres): Likewise.
16042         [XPG3 || XPG4] (clock_gettime): Likewise.
16043         [XPG3 || XPG4] (clock_settime): Likewise.
16044         [XPG3 || XPG4] (nanosleep): Likewise.
16045         [XPG3 || XPG4] (timer_create): Likewise.
16046         [XPG3 || XPG4] (timer_delete): Likewise.
16047         [XPG3 || XPG4] (timer_gettime): Likewise.
16048         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16049         [XPG3 || XPG4] (timer_settime): Likewise.
16050         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16051         [XPG3 || XPG4] (getlogin_r): Likewise.
16052         [XPG3 || XPG4] (pread): Likewise.
16053         [XPG3 || XPG4] (pthread_atfork): Likewise.
16054         [XPG3 || XPG4] (pwrite): Likewise.
16056         [BZ #14835]
16057         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16058         <bits/siginfo.h>.
16060 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16062         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16063         finalizing MALLSTREAM.
16065         * sysdeps/mach/hurd/syncfs.c: New file.
16067 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16069         [BZ #14719]
16070         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16071         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16072         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16073         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16074         (_nss_dns_gethostbyname4_r): Likewise.
16075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16076         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16078 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16080         [BZ #13763]
16081         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16083 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16085         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16086         * elf/cache.c (print_entry): Print ",AArch64" for
16087         FLAG_AARCH64_LIB64
16089         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16090         * elf/cache.c (print_entry): Print ",hard-float" for
16091         FLAG_ARM_LIBHF.
16093 2012-11-18  David S. Miller  <davem@davemloft.net>
16095         With help from Joseph Myers.
16096         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16097         cutoff to 2**-13.
16098         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16099         cutoff to 2**-25.
16100         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16101         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16102         small.
16103         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16104         * math/libm-test.inc (y0_test): New tests.
16105         (y1_test): New tests.
16106         * sysdeps/i386/fpu/libm-test-ulps: Update.
16107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16110 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16112         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16113         64-bit targets.
16114         * configure: Regenerated.
16116 2012-11-17  David S. Miller  <davem@davemloft.net>
16118         [BZ #14811]
16119         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16120         nonzero exponents with absolute value below 0x1p-128 to +/-
16121         0x1p-128.
16123 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16125         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16127         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16129         * posix/getconf-speclist.c: New file.
16130         * posix/posix-envs.def: Likewise.
16131         * posix/confstr.c (START_ENV_GROUP): New macro.
16132         (END_ENV_GROUP): Likewise.
16133         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16134         (KNOWN_PRESENT_ENV_STRING): Likewise.
16135         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16136         (UNKNOWN_ENVIRONMENT): Likewise.
16137         (confstr): Include posix-envs.def instead of handling
16138         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16139         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16140         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16141         (END_ENV_GROUP): Likewise.
16142         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16143         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16144         (UNKNOWN_ENVIRONMENT): Likewise.
16145         (__sysconf): Include posix-envs.def instead of handling associated
16146         cases directly here.
16147         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16148         preprocessing getconf-speclist.c rather than running getconf or
16149         generating empty file.
16151 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16153         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16155 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16157         [BZ #14672]
16158         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16160 2012-11-16  David S. Miller  <davem@davemloft.net>
16162         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16163         smaller than LDBL_EPSILON/2.0L, just return xm1.
16165 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16167         * elf/tst-array1.c (init): Set constructor priority to 1000.
16168         (fini): Set destructor priority to 1000.
16169         * elf/tst-array2dep.c: Likewise.
16171 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16173         [BZ #11741]
16174         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16175         (_IO_new_file_xsputn): Also return EOF if none of the input
16176         data was written when overflow failed.
16177         * libio/iopadn.c (_IO_padn): Likewise.
16178         * libio/iowpadn.c (_IO_wpadn): Likewise.
16179         * stdio-common/tst-put-error.c: Add copyright notice.
16180         (do_test): Add case for printing padded string.
16181         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16182         _IO_padn returned error.
16183         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16184         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16185         return EOF.
16187 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16189         * libio/libioP.h: Add comment note that the references to C++
16190         bits are now obsolete.
16192 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16194         * math/libm-test.inc (check_complex): Use asprintf.
16196 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16198         * debug/pcprofiledump.c (print_version): Update copyright year.
16199         * malloc/memusagestat.c (print_version): Likewise.
16201 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16203         [BZ #14831]
16204         * elf/Makefile (tests): Add tst-audit8.
16205         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16206         ($(objpfx)tst-audit8.out): New target.
16207         (tst-audit8-ENV): New variable.
16208         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16209         audit if l_reloc_result is NULL.
16210         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16211         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16212         * elf/tst-audit8.c: New file.
16214 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16216         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16217         * misc/Makefile (CFLAGS-select.c): Define.
16218         * posix/Makefile (CFLAGS-pause.c): Define.
16220 2012-11-13  David S. Miller  <davem@davemloft.net>
16222         * crypt/Makefile: Move test targets after toplevel Rules
16223         inclusion.  Grab any necessary sysdep routines when linking.
16224         * crypt/md5.c (md5_process_block): Remove define, we will always
16225         name it __md5_process_block.
16226         (md5_finish_ctx): Update md5_process_block call.
16227         (md5_stream): Likewise.
16228         (md5_process_bytes): Likewise.
16229         (md5_process_block): Rename to __md5_process_block and move to ...
16230         * crypt/md5-block.c: ... here.
16231         * crypt/sha256.c (sha256_process_block): Move to ...
16232         * crypt/sha256-block.c: ... here.
16233         * crypt/sha512.c (sha512_process_block): Move to ...
16234         * crypt/sha512-block.c: ... here.
16235         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16236         path.
16237         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16238         * sysdeps/sparc/sparc64/multiarch/Makefile
16239         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16240         crypt subdir.
16241         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16242         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16243         multiarch changes.
16244         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16245         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16246         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16247         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16248         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16249         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16250         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16251         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16252         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16253         file.
16254         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16255         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16256         file.
16257         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16259 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16261         * timezone/tzselect.ksh: Update from tzcode git revision
16262         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16263         * timezone/zdump.c: Likewise.
16264         * timezone/zic.c: Likewise.
16265         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16266         in TZVERSION setting, not $(PKGVERSION).
16267         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16268         REPORT_BUGS_TO settings.
16270         [BZ #14838]
16271         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16272         macro.
16274 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16276         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16277         detection to immediately after _FP_ROUND().
16278         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16279         bits are 0.
16281 2012-11-11  David S. Miller  <davem@davemloft.net>
16283         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16284         inttypes.h
16285         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16286         __close rather than their public counterparts.
16288 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16290         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16291         file.
16292         [UNIX98] (sem_timedwait): Do not expect.
16293         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16294         [XPG4 || UNIX98] (sockatmark): Do not expect.
16295         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16296         (clock_getcpuclockid): Do not expect.
16297         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16298         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16299         Do not expect.
16300         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16301         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16302         [UNIX98] (vwscanf): Likewise.
16303         [UNIX98] (vswscanf): Likewise.
16305 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16307         * timezone/version.h: Remove file.
16308         * timezone/README: Do not refer to version.h.
16309         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16310         $(objpfx)version.h.
16311         ($(objpfx)zdump.o): Likewise.
16312         ($(objpfx)version.h): New target.
16314         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16315         2012i.
16316         * timezone/README: Don't mention modification to tzselect.ksh.
16317         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16318         work on unmodified tzselect.ksh.  Substitute version numbers in
16319         tzselect.ksh.
16321         * Makefile (format-me): Remove.
16322         (INSTALL): Adjust indentation.  Use commands directly instead of
16323         using $(format-me).
16325         * aclocal.m4 (ACX_PKGVERSION): New macro.
16326         (ACX_BUGURL): Likewise.
16327         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16328         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16329         (REPORT_BUGS_TO): Likewise.
16330         * configure: Regenerated.
16331         * config.h.in (PKGVERSION): New macro.
16332         (REPORT_BUGS_TO): Likewise.
16333         * config.make.in (PKGVERSION): New variable.
16334         (PKGVERSION_TEXI): Likewise.
16335         (REPORT_BUGS_TO): Likewise.
16336         (REPORT_BUGS_TEXI): Likewise.
16337         * Makefile (format-me): Use -I$(common-objpfx)manual.
16338         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16339         ($(common-objpfx)manual/%): New target.
16340         (manual/%): Remove target.
16341         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16342         (print_version): Use PKGVERSION.
16343         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16344         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16345         and REPORT_BUGS_TO.
16346         ($(objpfx)xtrace): Likewise.
16347         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16348         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16349         (print_version): Use PKGVERSION.
16350         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16351         (do_version): Use PKGVERSION.
16352         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16353         REPORT_BUGS_TO.
16354         (common-ldd-rewrite): Likewise.
16355         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16356         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16357         (print_version): Use PKGVERSION.
16358         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16359         * elf/pldd.c (argp_program_bug_address): Remove variable.
16360         (more_help): New function.
16361         (argp): Use more_help.
16362         (print_version): Use PKGVERSION.
16363         * elf/sln.c (main): Use PKGVERSION.
16364         (usage): Use REPORT_BUGS_TO.
16365         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16366         (top level): Use PKGVERSION.
16367         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16368         (print_version): Use PKGVERSION.
16369         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16370         (print_version): Use PKGVERSION.
16371         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16372         (print_version): Use PKGVERSION.
16373         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16374         (print_version): Use PKGVERSION.
16375         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16376         (print_version): Use PKGVERSION.
16377         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16378         (print_version): Use PKGVERSION.
16379         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16380         and BUGURL.
16381         ($(objpfx)memusage): Likewise.
16382         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16383         (do_version): Use PKGVERSION.
16384         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16385         (print_version): Use PKGVERSION.
16386         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16387         ($PKGVERSION): New variable.
16388         ($REPORT_BUGS_TO): Likewise.
16389         (usage): Use $REPORT_BUGS_TO.
16390         (top level): Use $PKGVERSION.
16391         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16392         ($(objpfx)pkgvers.texi): New rule.
16393         ($(objpfx)stamp-pkgvers): Likewise.
16394         * manual/install.texi: Include pkgvers.texi.
16395         (--with-pkgversion): Document new configure option.
16396         (--with-bugurl): Likewise.
16397         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16398         than necessarily for this particular distribution.  Use
16399         REPORT_BUGS_TO for where to report bugs.
16400         * INSTALL: Regenerated.
16401         * manual/libc.texinfo: Include pkgvers.texi.
16402         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16403         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16404         (print_version): Use PKGVERSION.
16405         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16406         (print_version): Use PKGVERSION.
16407         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16408         (print_version): Use PKGVERSION.
16409         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16410         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16411         macro.
16412         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16413         (print_version): Use PKGVERSION.
16414         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16415         (print_version): Use PKGVERSION.
16416         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16417         and PKGVERSION.
16419         * timezone/checktab.awk: Update from tzcode 2012i.
16420         * timezone/ialloc.c: Likewise.
16421         * timezone/private.h: Likewise.
16422         * timezone/scheck.c: Likewise.
16423         * timezone/tzfile.h: Likewise.
16424         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16425         (TZVERSION): Hardcode tzcode version number.
16426         * timezone/zdump.c: Update from tzcode 2012i.
16427         * timezone/zic.c: Likewise.
16428         * timezone/version.h: New file.
16429         * timezone/README: Describe version.h.  Update upstream location.
16431         [BZ #14824]
16432         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16433         (mktemp): Enable declaration.
16434         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16435         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16436         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16437         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16438         Likewise.
16439         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16440         Likewise.
16441         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16442         Likewise.
16443         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16444         Likewise.
16445         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16446         Likewise.
16447         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16448         Likewise.
16450         [BZ #14821]
16451         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16452         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16453         for copies of such integer values.
16454         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16455         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16457 2012-11-09  Andreas Jaeger  <aj@suse.de>
16459         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16460         definitions and declarations that are provided by
16461         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16463 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16465         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16466         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16467         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16468         definition.
16470 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16472         * elf/elf.h: Update comment before AArch64 relocations.
16474 2012-11-07  David S. Miller  <davem@davemloft.net>
16476         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16477         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16478         (__start_context): Declare.
16479         (__makecontext_ret): Delete.
16480         (__makecontext): Hook up __start_context instead of
16481         __makecontext_ret.
16482         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16483         (sysdep_routines): Add __start_context when in stdlib.
16485 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16487         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16488         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16489         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16490         hardcoded "nm".
16491         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16492         (READELF): New variable.  Use it instead of hardcoded "readelf".
16494 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16496         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16497         * sysdeps/x86/Makefile: Here.
16498         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16499         * sysdeps/x86/tst-xmmymm.sh: This.
16501 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16503         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16504         expectations.
16505         [UNIX98] (pthread_barrier_t): Do not expect.
16506         [UNIX98] (pthread_barrierattr_t): Likewise.
16507         [UNIX98] (pthread_spinlock_t): Likewise.
16508         [UNIX98] (pthread_barrier_destroy): Likewise.
16509         [UNIX98] (pthread_barrier_init): Likewise.
16510         [UNIX98] (pthread_barrier_wait): Likewise.
16511         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16512         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16513         [UNIX98] (pthread_barrierattr_init): Likewise.
16514         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16515         [UNIX98] (pthread_getcpuclockid): Likewise.
16516         [UNIX98] (pthread_mutex_timedlock): Likewise.
16517         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16518         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16519         [UNIX98] (pthread_sigmask): Likewise.
16520         [UNIX98] (pthread_spin_destroy): Likewise.
16521         [UNIX98] (pthread_spin_init): Likewise.
16522         [UNIX98] (pthread_spin_lock): Likewise.
16523         [UNIX98] (pthread_spin_trylock): Likewise.
16524         [UNIX98] (pthread_spin_unlock): Likewise.
16525         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16526         Do not expect.
16527         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16528         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16529         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16530         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16531         [XPG3 || XPG4] (pthread_key_t): Likewise.
16532         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16533         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16534         [XPG3 || XPG4] (pthread_once_t): Likewise.
16535         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16536         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16537         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16538         [XPG3 || XPG4] (pthread_t): Likewise.
16540         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16541         not expect.
16542         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16544         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16545         Change function return type to int.
16547         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16548         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16549         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16550         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16551         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16552         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16553         [!POSIX] (posix_madvise): Likewise.
16554         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16555         && !UNIX98].
16556         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16557         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16558         (mode_t): Likewise.
16559         (posix_mem_offset): Likewise.
16560         (posix_typed_mem_get_info): Likewise.
16561         (posix_typed_mem_open): Likewise.
16563         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16564         Change condition to [XOPEN2K8].
16566         * conform/conformtest.pl: Preprocess allow-header data with -x c
16567         instead of from stdin.
16568         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16569         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16570         [C99-based standards] (cerfc): Likewise.
16571         [C99-based standards] (cexp2): Likewise.
16572         [C99-based standards] (cexpm1): Likewise.
16573         [C99-based standards] (clog10): Likewise.
16574         [C99-based standards] (clog1p): Likewise.
16575         [C99-based standards] (clog2): Likewise.
16576         [C99-based standards] (clgamma): Likewise.
16577         [C99-based standards] (ctgamma): Likewise.
16578         [C99-based standards] (cerff): Likewise.
16579         [C99-based standards] (cerfcf): Likewise.
16580         [C99-based standards] (cexp2f): Likewise.
16581         [C99-based standards] (cexpm1f): Likewise.
16582         [C99-based standards] (clog10f): Likewise.
16583         [C99-based standards] (clog1pf): Likewise.
16584         [C99-based standards] (clog2f): Likewise.
16585         [C99-based standards] (clgammaf): Likewise.
16586         [C99-based standards] (ctgammaf): Likewise.
16587         [C99-based standards] (cerfl): Likewise.
16588         [C99-based standards] (cerfcl): Likewise.
16589         [C99-based standards] (cexp2l): Likewise.
16590         [C99-based standards] (cexpm1l): Likewise.
16591         [C99-based standards] (clog10l): Likewise.
16592         [C99-based standards] (clog1pl): Likewise.
16593         [C99-based standards] (clog2l): Likewise.
16594         [C99-based standards] (clgammal): Likewise.
16595         [C99-based standards] (ctgammal): Likewise.
16596         * conform/data/inttypes.h-data [C99-based standards]: Include
16597         stdint.h-data.  Remove all expectations for stdint.h contents.
16598         [C99-based standards] (PRI*): Do not allow.
16599         [C99-based standards] (SCN*): Likewise.
16600         [C99-based standards] (*_t): Likewise.
16601         [C99-based-standards] (PRId8): Expect macro.
16602         [C99-based-standards] (PRIi8): Likewise.
16603         [C99-based-standards] (PRIo8): Likewise.
16604         [C99-based-standards] (PRIu8): Likewise.
16605         [C99-based-standards] (PRIx8): Likewise.
16606         [C99-based-standards] (PRIX8): Likewise.
16607         [C99-based-standards] (SCNd8): Likewise.
16608         [C99-based-standards] (SCNi8): Likewise.
16609         [C99-based-standards] (SCNo8): Likewise.
16610         [C99-based-standards] (SCNu8): Likewise.
16611         [C99-based-standards] (SCNx8): Likewise.
16612         [C99-based-standards] (PRIdLEAST8): Likewise.
16613         [C99-based-standards] (PRIiLEAST8): Likewise.
16614         [C99-based-standards] (PRIoLEAST8): Likewise.
16615         [C99-based-standards] (PRIuLEAST8): Likewise.
16616         [C99-based-standards] (PRIxLEAST8): Likewise.
16617         [C99-based-standards] (PRIXLEAST8): Likewise.
16618         [C99-based-standards] (SCNdLEAST8): Likewise.
16619         [C99-based-standards] (SCNiLEAST8): Likewise.
16620         [C99-based-standards] (SCNoLEAST8): Likewise.
16621         [C99-based-standards] (SCNuLEAST8): Likewise.
16622         [C99-based-standards] (SCNxLEAST8): Likewise.
16623         [C99-based-standards] (PRIdFAST8): Likewise.
16624         [C99-based-standards] (PRIiFAST8): Likewise.
16625         [C99-based-standards] (PRIoFAST8): Likewise.
16626         [C99-based-standards] (PRIuFAST8): Likewise.
16627         [C99-based-standards] (PRIxFAST8): Likewise.
16628         [C99-based-standards] (PRIXFAST8): Likewise.
16629         [C99-based-standards] (SCNdFAST8): Likewise.
16630         [C99-based-standards] (SCNiFAST8): Likewise.
16631         [C99-based-standards] (SCNoFAST8): Likewise.
16632         [C99-based-standards] (SCNuFAST8): Likewise.
16633         [C99-based-standards] (SCNxFAST8): Likewise.
16634         [C99-based-standards] (PRId16): Likewise.
16635         [C99-based-standards] (PRIi16): Likewise.
16636         [C99-based-standards] (PRIo16): Likewise.
16637         [C99-based-standards] (PRIu16): Likewise.
16638         [C99-based-standards] (PRIx16): Likewise.
16639         [C99-based-standards] (PRIX16): Likewise.
16640         [C99-based-standards] (SCNd16): Likewise.
16641         [C99-based-standards] (SCNi16): Likewise.
16642         [C99-based-standards] (SCNo16): Likewise.
16643         [C99-based-standards] (SCNu16): Likewise.
16644         [C99-based-standards] (SCNx16): Likewise.
16645         [C99-based-standards] (PRIdLEAST16): Likewise.
16646         [C99-based-standards] (PRIiLEAST16): Likewise.
16647         [C99-based-standards] (PRIoLEAST16): Likewise.
16648         [C99-based-standards] (PRIuLEAST16): Likewise.
16649         [C99-based-standards] (PRIxLEAST16): Likewise.
16650         [C99-based-standards] (PRIXLEAST16): Likewise.
16651         [C99-based-standards] (SCNdLEAST16): Likewise.
16652         [C99-based-standards] (SCNiLEAST16): Likewise.
16653         [C99-based-standards] (SCNoLEAST16): Likewise.
16654         [C99-based-standards] (SCNuLEAST16): Likewise.
16655         [C99-based-standards] (SCNxLEAST16): Likewise.
16656         [C99-based-standards] (PRIdFAST16): Likewise.
16657         [C99-based-standards] (PRIiFAST16): Likewise.
16658         [C99-based-standards] (PRIoFAST16): Likewise.
16659         [C99-based-standards] (PRIuFAST16): Likewise.
16660         [C99-based-standards] (PRIxFAST16): Likewise.
16661         [C99-based-standards] (PRIXFAST16): Likewise.
16662         [C99-based-standards] (SCNdFAST16): Likewise.
16663         [C99-based-standards] (SCNiFAST16): Likewise.
16664         [C99-based-standards] (SCNoFAST16): Likewise.
16665         [C99-based-standards] (SCNuFAST16): Likewise.
16666         [C99-based-standards] (SCNxFAST16): Likewise.
16667         [C99-based-standards] (PRId32): Likewise.
16668         [C99-based-standards] (PRIi32): Likewise.
16669         [C99-based-standards] (PRIo32): Likewise.
16670         [C99-based-standards] (PRIu32): Likewise.
16671         [C99-based-standards] (PRIx32): Likewise.
16672         [C99-based-standards] (PRIX32): Likewise.
16673         [C99-based-standards] (SCNd32): Likewise.
16674         [C99-based-standards] (SCNi32): Likewise.
16675         [C99-based-standards] (SCNo32): Likewise.
16676         [C99-based-standards] (SCNu32): Likewise.
16677         [C99-based-standards] (SCNx32): Likewise.
16678         [C99-based-standards] (PRIdLEAST32): Likewise.
16679         [C99-based-standards] (PRIiLEAST32): Likewise.
16680         [C99-based-standards] (PRIoLEAST32): Likewise.
16681         [C99-based-standards] (PRIuLEAST32): Likewise.
16682         [C99-based-standards] (PRIxLEAST32): Likewise.
16683         [C99-based-standards] (PRIXLEAST32): Likewise.
16684         [C99-based-standards] (SCNdLEAST32): Likewise.
16685         [C99-based-standards] (SCNiLEAST32): Likewise.
16686         [C99-based-standards] (SCNoLEAST32): Likewise.
16687         [C99-based-standards] (SCNuLEAST32): Likewise.
16688         [C99-based-standards] (SCNxLEAST32): Likewise.
16689         [C99-based-standards] (PRIdFAST32): Likewise.
16690         [C99-based-standards] (PRIiFAST32): Likewise.
16691         [C99-based-standards] (PRIoFAST32): Likewise.
16692         [C99-based-standards] (PRIuFAST32): Likewise.
16693         [C99-based-standards] (PRIxFAST32): Likewise.
16694         [C99-based-standards] (PRIXFAST32): Likewise.
16695         [C99-based-standards] (SCNdFAST32): Likewise.
16696         [C99-based-standards] (SCNiFAST32): Likewise.
16697         [C99-based-standards] (SCNoFAST32): Likewise.
16698         [C99-based-standards] (SCNuFAST32): Likewise.
16699         [C99-based-standards] (SCNxFAST32): Likewise.
16700         [C99-based-standards] (PRId64): Likewise.
16701         [C99-based-standards] (PRIi64): Likewise.
16702         [C99-based-standards] (PRIo64): Likewise.
16703         [C99-based-standards] (PRIu64): Likewise.
16704         [C99-based-standards] (PRIx64): Likewise.
16705         [C99-based-standards] (PRIX64): Likewise.
16706         [C99-based-standards] (SCNd64): Likewise.
16707         [C99-based-standards] (SCNi64): Likewise.
16708         [C99-based-standards] (SCNo64): Likewise.
16709         [C99-based-standards] (SCNu64): Likewise.
16710         [C99-based-standards] (SCNx64): Likewise.
16711         [C99-based-standards] (PRIdLEAST64): Likewise.
16712         [C99-based-standards] (PRIiLEAST64): Likewise.
16713         [C99-based-standards] (PRIoLEAST64): Likewise.
16714         [C99-based-standards] (PRIuLEAST64): Likewise.
16715         [C99-based-standards] (PRIxLEAST64): Likewise.
16716         [C99-based-standards] (PRIXLEAST64): Likewise.
16717         [C99-based-standards] (SCNdLEAST64): Likewise.
16718         [C99-based-standards] (SCNiLEAST64): Likewise.
16719         [C99-based-standards] (SCNoLEAST64): Likewise.
16720         [C99-based-standards] (SCNuLEAST64): Likewise.
16721         [C99-based-standards] (SCNxLEAST64): Likewise.
16722         [C99-based-standards] (PRIdFAST64): Likewise.
16723         [C99-based-standards] (PRIiFAST64): Likewise.
16724         [C99-based-standards] (PRIoFAST64): Likewise.
16725         [C99-based-standards] (PRIuFAST64): Likewise.
16726         [C99-based-standards] (PRIxFAST64): Likewise.
16727         [C99-based-standards] (PRIXFAST64): Likewise.
16728         [C99-based-standards] (SCNdFAST64): Likewise.
16729         [C99-based-standards] (SCNiFAST64): Likewise.
16730         [C99-based-standards] (SCNoFAST64): Likewise.
16731         [C99-based-standards] (SCNuFAST64): Likewise.
16732         [C99-based-standards] (SCNxFAST64): Likewise.
16733         [C99-based-standards] (PRIdMAX): Likewise.
16734         [C99-based-standards] (PRIiMAX): Likewise.
16735         [C99-based-standards] (PRIoMAX): Likewise.
16736         [C99-based-standards] (PRIuMAX): Likewise.
16737         [C99-based-standards] (PRIxMAX): Likewise.
16738         [C99-based-standards] (PRIXMAX): Likewise.
16739         [C99-based-standards] (SCNdMAX): Likewise.
16740         [C99-based-standards] (SCNiMAX): Likewise.
16741         [C99-based-standards] (SCNoMAX): Likewise.
16742         [C99-based-standards] (SCNuMAX): Likewise.
16743         [C99-based-standards] (SCNxMAX): Likewise.
16744         [C99-based-standards] (PRIdPTR): Likewise.
16745         [C99-based-standards] (PRIiPTR): Likewise.
16746         [C99-based-standards] (PRIoPTR): Likewise.
16747         [C99-based-standards] (PRIuPTR): Likewise.
16748         [C99-based-standards] (PRIxPTR): Likewise.
16749         [C99-based-standards] (PRIXPTR): Likewise.
16750         [C99-based-standards] (SCNdPTR): Likewise.
16751         [C99-based-standards] (SCNiPTR): Likewise.
16752         [C99-based-standards] (SCNoPTR): Likewise.
16753         [C99-based-standards] (SCNuPTR): Likewise.
16754         [C99-based-standards] (SCNxPTR): Likewise.
16755         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16756         allow.
16757         * conform/data/stdint.h-data: Update comments to clarify
16758         requirements.
16759         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16760         type.
16761         [C99-based standards] (INT8_MAX): Likewise.
16762         [C99-based standards] (INT16_MIN): Likewise.
16763         [C99-based standards] (INT16_MAX): Likewise.
16764         [C99-based standards] (INT32_MIN): Likewise.
16765         [C99-based standards] (INT32_MAX): Likewise.
16766         [C99-based standards] (INT64_MIN): Likewise.
16767         [C99-based standards] (INT64_MAX): Likewise.
16768         [C99-based standards] (UINT8_MAX): Likewise.
16769         [C99-based standards] (UINT16_MAX): Likewise.
16770         [C99-based standards] (UINT32_MAX): Likewise.
16771         [C99-based standards] (UINT64_MAX): Likewise.
16772         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16773         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16774         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16775         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16776         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16777         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16778         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16779         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16780         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16781         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16782         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16783         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16784         [C99-based standards] (INT_FAST8_MIN): Likewise.
16785         [C99-based standards] (INT_FAST8_MAX): Likewise.
16786         [C99-based standards] (INT_FAST16_MIN): Likewise.
16787         [C99-based standards] (INT_FAST16_MAX): Likewise.
16788         [C99-based standards] (INT_FAST32_MIN): Likewise.
16789         [C99-based standards] (INT_FAST32_MAX): Likewise.
16790         [C99-based standards] (INT_FAST64_MIN): Likewise.
16791         [C99-based standards] (INT_FAST64_MAX): Likewise.
16792         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16793         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16794         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16795         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16796         [C99-based standards] (INTPTR_MIN): Likewise.
16797         [C99-based standards] (INTPTR_MAX): Likewise.
16798         [C99-based standards] (UINTPTR_MAX): Likewise.
16799         [C99-based standards] (INTMAX_MIN): Likewise.
16800         [C99-based standards] (INTMAX_MAX): Likewise.
16801         [C99-based standards] (UINTMAX_MAX): Likewise.
16802         [C99-based standards] (PTRDIFF_MIN): Likewise.
16803         [C99-based standards] (PTRDIFF_MAX): Likewise.
16804         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16805         [C99-based standards] (SIZE_MAX): Likewise.
16806         [C99-based standards] (WCHAR_MAX): Likewise.
16807         [C99-based standards] (WINT_MAX): Likewise.
16808         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16809         constraint on value.
16810         [C99-based standards] (WCHAR_MIN): Likewise.
16811         [C99-based standards] (WINT_MIN): Likewise.
16812         [C99-based standards] (*_t): Allow.
16813         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16814         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16815         Include math.h-data and complex.h-data.  Remove all expectations
16816         of math.h and complex.h contents.
16817         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16818         at end of line.
16819         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16820         (struct tm): Expect tag.
16821         [C99-based-standards] (wcstof): Expect function.
16822         [C99-based-standards] (wcstold): Likewise.
16823         [C99-based-standards] (wcstoll): Likewise.
16824         [C99-based-standards] (wcstoull): Likewise.
16825         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16826         macro-int-constant.  Specify type.
16827         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16828         constraint on value.
16829         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16830         Specify type.
16831         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16832         Specify value.
16833         [ISO C standards]: Do not allow headers.
16834         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16835         wcs[abcdefghijklmnopqrstuvwxyz]*.
16836         [ISO C standards] (*_t): Do not allow.
16837         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16838         Expect function.
16839         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16840         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16841         Specify type.
16842         [ISO C standards]: Do not allow headers.
16843         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16844         is[abcdefghijklmnopqrstuvwxyz]*.
16845         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16846         to[abcdefghijklmnopqrstuvwxyz]*.
16847         [ISO C standards] (*_t): Do not allow.
16848         * conform/data/stdalign.h-data: New file.
16849         * conform/data/stdbool.h-data: Likewise.
16850         * conform/data/stdnoreturn.h-data: Likewise.
16852 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16854         [BZ #14815]
16855         * manual/filesys.texi (Directory Entries): Typo fix.
16856         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16858 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16860         * elf/elf.h (EM_AARCH64): New macro.
16861         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16862         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16863         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16864         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16865         (R_AARCH64_TLSDESC): Likewise.
16866         (NT_ARM_TLS): Likewise.
16867         (NT_ARM_HW_BREAK): Likewise.
16868         (NT_ARM_HW_WATCH): Likewise.
16870 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16872         [BZ #14811]
16873         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16874         (__ieee754_powl): Saturate nonzero exponents with absolute value
16875         below 0x1p-79 to +/- 0x1p-79.
16876         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16877         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16878         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16879         nonzero exponents with absolute value below 0x1p-32 to +/-
16880         0x1p-32.
16881         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16882         (__ieee754_powl): Saturate nonzero exponents with absolute value
16883         below 0x1p-79 to +/- 0x1p-79.
16884         * math/libm-test.inc (pow_test): Add more tests.
16886 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16888         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16889         _dl_s390_cap_flags with kernel. Increase string length.
16890         (_dl_s390_platforms): Add z196 and zEC12.
16892 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16894         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16895         Change XOPEN21K to XOPEN2K.
16897 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16899         * string/memmove.c: Use memcpy when possible.
16901 2012-11-06  Andreas Jaeger  <aj@suse.de>
16903         * po/eo.po: Update from translation team.
16905 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16907         [BZ #14793]
16908         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16909         exponent and small x and y exponents, scale x or y up.  Increase
16910         by 2 the exponent used in scaling up.
16911         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16912         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16913         * math/libm-test.inc (fma_test): Add more tests.
16914         (fma_test_towardzero): Likewise.
16915         (fma_test_downward): Likewise.
16916         (fma_test_upward): Likewise.
16918 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16920         [BZ #14805]
16921         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16922         fenv_t *.
16924         [BZ #14801]
16925         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16926         namespace for names of struct fields.
16927         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16928         fenv_t fields.
16929         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16930         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16932 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16934         [BZ #3665]
16935         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16937 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16939         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16940         PTR_DEMANGLE.
16942         [BZ #5246]
16943         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16944         PTR_DEMANGLE.
16946 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16948         [BZ #14797]
16949         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16950         definitely overflow as x * y not x * y + z.
16951         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16952         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16953         * math/libm-test.inc (fma_test): Add more tests.
16954         (fma_test_towardzero): Likewise.
16955         (fma_test_downward): Likewise.
16956         (fma_test_upward): Likewise.
16958 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16960         [BZ #157]
16962         * include/stub-tag.h: Remove file.
16963         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16964         '#include' of it.
16965         * manual/maint.texi (Porting): Don't reference it.
16966         * Makerules ($(objpfx)stubs): Likewise.
16967         * dirent/closedir.c: Don't include <stub-tag.h>.
16968         * dirent/dirfd.c: Likewise.
16969         * dirent/fdopendir.c: Likewise.
16970         * dirent/getdents.c: Likewise.
16971         * dirent/getdents64.c: Likewise.
16972         * dirent/opendir.c: Likewise.
16973         * dirent/readdir.c: Likewise.
16974         * dirent/readdir64.c: Likewise.
16975         * dirent/readdir64_r.c: Likewise.
16976         * dirent/readdir_r.c: Likewise.
16977         * dirent/rewinddir.c: Likewise.
16978         * dirent/seekdir.c: Likewise.
16979         * dirent/telldir.c: Likewise.
16980         * gmon/profil.c: Likewise.
16981         * grp/setgroups.c: Likewise.
16982         * inet/if_index.c: Likewise.
16983         * io/access.c: Likewise.
16984         * io/chdir.c: Likewise.
16985         * io/chmod.c: Likewise.
16986         * io/chown.c: Likewise.
16987         * io/close.c: Likewise.
16988         * io/dup.c: Likewise.
16989         * io/dup2.c: Likewise.
16990         * io/dup3.c: Likewise.
16991         * io/euidaccess.c: Likewise.
16992         * io/faccessat.c: Likewise.
16993         * io/fchdir.c: Likewise.
16994         * io/fchmod.c: Likewise.
16995         * io/fchmodat.c: Likewise.
16996         * io/fchown.c: Likewise.
16997         * io/fchownat.c: Likewise.
16998         * io/fcntl.c: Likewise.
16999         * io/flock.c: Likewise.
17000         * io/fstatfs.c: Likewise.
17001         * io/fstatfs64.c: Likewise.
17002         * io/fstatvfs.c: Likewise.
17003         * io/fstatvfs64.c: Likewise.
17004         * io/futimens.c: Likewise.
17005         * io/fxstat.c: Likewise.
17006         * io/fxstat64.c: Likewise.
17007         * io/fxstatat.c: Likewise.
17008         * io/fxstatat64.c: Likewise.
17009         * io/getcwd.c: Likewise.
17010         * io/isatty.c: Likewise.
17011         * io/lchmod.c: Likewise.
17012         * io/lchown.c: Likewise.
17013         * io/link.c: Likewise.
17014         * io/linkat.c: Likewise.
17015         * io/lseek.c: Likewise.
17016         * io/lseek64.c: Likewise.
17017         * io/lxstat64.c: Likewise.
17018         * io/mkdir.c: Likewise.
17019         * io/mkdirat.c: Likewise.
17020         * io/mkfifo.c: Likewise.
17021         * io/mkfifoat.c: Likewise.
17022         * io/open.c: Likewise.
17023         * io/open64.c: Likewise.
17024         * io/openat.c: Likewise.
17025         * io/openat64.c: Likewise.
17026         * io/pipe.c: Likewise.
17027         * io/pipe2.c: Likewise.
17028         * io/poll.c: Likewise.
17029         * io/posix_fadvise.c: Likewise.
17030         * io/posix_fadvise64.c: Likewise.
17031         * io/posix_fallocate.c: Likewise.
17032         * io/posix_fallocate64.c: Likewise.
17033         * io/read.c: Likewise.
17034         * io/readlink.c: Likewise.
17035         * io/readlinkat.c: Likewise.
17036         * io/rmdir.c: Likewise.
17037         * io/sendfile.c: Likewise.
17038         * io/sendfile64.c: Likewise.
17039         * io/statfs.c: Likewise.
17040         * io/statfs64.c: Likewise.
17041         * io/statvfs.c: Likewise.
17042         * io/statvfs64.c: Likewise.
17043         * io/symlink.c: Likewise.
17044         * io/symlinkat.c: Likewise.
17045         * io/ttyname.c: Likewise.
17046         * io/ttyname_r.c: Likewise.
17047         * io/umask.c: Likewise.
17048         * io/unlink.c: Likewise.
17049         * io/unlinkat.c: Likewise.
17050         * io/utime.c: Likewise.
17051         * io/utimensat.c: Likewise.
17052         * io/write.c: Likewise.
17053         * io/xmknod.c: Likewise.
17054         * io/xmknodat.c: Likewise.
17055         * io/xstat.c: Likewise.
17056         * io/xstat64.c: Likewise.
17057         * login/getpt.c: Likewise.
17058         * login/grantpt.c: Likewise.
17059         * login/unlockpt.c: Likewise.
17060         * math/e_acoshl.c: Likewise.
17061         * math/e_acosl.c: Likewise.
17062         * math/e_asinl.c: Likewise.
17063         * math/e_atan2l.c: Likewise.
17064         * math/e_atanhl.c: Likewise.
17065         * math/e_coshl.c: Likewise.
17066         * math/e_expl.c: Likewise.
17067         * math/e_fmodl.c: Likewise.
17068         * math/e_gammal_r.c: Likewise.
17069         * math/e_hypotl.c: Likewise.
17070         * math/e_j0l.c: Likewise.
17071         * math/e_j1l.c: Likewise.
17072         * math/e_jnl.c: Likewise.
17073         * math/e_lgammal_r.c: Likewise.
17074         * math/e_log10l.c: Likewise.
17075         * math/e_log2l.c: Likewise.
17076         * math/e_logl.c: Likewise.
17077         * math/e_powl.c: Likewise.
17078         * math/e_rem_pio2l.c: Likewise.
17079         * math/e_sinhl.c: Likewise.
17080         * math/e_sqrtl.c: Likewise.
17081         * math/fclrexcpt.c: Likewise.
17082         * math/fedisblxcpt.c: Likewise.
17083         * math/feenablxcpt.c: Likewise.
17084         * math/fegetenv.c: Likewise.
17085         * math/fegetexcept.c: Likewise.
17086         * math/fegetround.c: Likewise.
17087         * math/feholdexcpt.c: Likewise.
17088         * math/fesetenv.c: Likewise.
17089         * math/fesetround.c: Likewise.
17090         * math/feupdateenv.c: Likewise.
17091         * math/fgetexcptflg.c: Likewise.
17092         * math/fraiseexcpt.c: Likewise.
17093         * math/fsetexcptflg.c: Likewise.
17094         * math/ftestexcept.c: Likewise.
17095         * math/k_cosl.c: Likewise.
17096         * math/k_rem_pio2l.c: Likewise.
17097         * math/k_sinl.c: Likewise.
17098         * math/k_tanl.c: Likewise.
17099         * math/s_asinhl.c: Likewise.
17100         * math/s_atanl.c: Likewise.
17101         * math/s_cbrtl.c: Likewise.
17102         * math/s_erfl.c: Likewise.
17103         * math/s_expm1l.c: Likewise.
17104         * math/s_log1pl.c: Likewise.
17105         * math/s_tanhl.c: Likewise.
17106         * misc/acct.c: Likewise.
17107         * misc/brk.c: Likewise.
17108         * misc/chflags.c: Likewise.
17109         * misc/chroot.c: Likewise.
17110         * misc/fchflags.c: Likewise.
17111         * misc/fgetxattr.c: Likewise.
17112         * misc/flistxattr.c: Likewise.
17113         * misc/fremovexattr.c: Likewise.
17114         * misc/fsetxattr.c: Likewise.
17115         * misc/fsync.c: Likewise.
17116         * misc/ftruncate.c: Likewise.
17117         * misc/futimes.c: Likewise.
17118         * misc/futimesat.c: Likewise.
17119         * misc/getdomain.c: Likewise.
17120         * misc/getdtsz.c: Likewise.
17121         * misc/gethostid.c: Likewise.
17122         * misc/gethostname.c: Likewise.
17123         * misc/getloadavg.c: Likewise.
17124         * misc/getpagesize.c: Likewise.
17125         * misc/getsysstats.c: Likewise.
17126         * misc/getxattr.c: Likewise.
17127         * misc/gtty.c: Likewise.
17128         * misc/ioctl.c: Likewise.
17129         * misc/lgetxattr.c: Likewise.
17130         * misc/listxattr.c: Likewise.
17131         * misc/llistxattr.c: Likewise.
17132         * misc/lremovexattr.c: Likewise.
17133         * misc/lsetxattr.c: Likewise.
17134         * misc/lutimes.c: Likewise.
17135         * misc/madvise.c: Likewise.
17136         * misc/mincore.c: Likewise.
17137         * misc/mlock.c: Likewise.
17138         * misc/mlockall.c: Likewise.
17139         * misc/mmap.c: Likewise.
17140         * misc/mprotect.c: Likewise.
17141         * misc/msync.c: Likewise.
17142         * misc/munlock.c: Likewise.
17143         * misc/munlockall.c: Likewise.
17144         * misc/munmap.c: Likewise.
17145         * misc/preadv.c: Likewise.
17146         * misc/preadv64.c: Likewise.
17147         * misc/ptrace.c: Likewise.
17148         * misc/pwritev.c: Likewise.
17149         * misc/pwritev64.c: Likewise.
17150         * misc/readv.c: Likewise.
17151         * misc/reboot.c: Likewise.
17152         * misc/remap_file_pages.c: Likewise.
17153         * misc/removexattr.c: Likewise.
17154         * misc/revoke.c: Likewise.
17155         * misc/select.c: Likewise.
17156         * misc/setdomain.c: Likewise.
17157         * misc/setegid.c: Likewise.
17158         * misc/seteuid.c: Likewise.
17159         * misc/sethostid.c: Likewise.
17160         * misc/sethostname.c: Likewise.
17161         * misc/setregid.c: Likewise.
17162         * misc/setreuid.c: Likewise.
17163         * misc/setxattr.c: Likewise.
17164         * misc/sstk.c: Likewise.
17165         * misc/stty.c: Likewise.
17166         * misc/swapoff.c: Likewise.
17167         * misc/swapon.c: Likewise.
17168         * misc/sync.c: Likewise.
17169         * misc/syncfs.c: Likewise.
17170         * misc/syscall.c: Likewise.
17171         * misc/truncate.c: Likewise.
17172         * misc/ualarm.c: Likewise.
17173         * misc/usleep.c: Likewise.
17174         * misc/ustat.c: Likewise.
17175         * misc/utimes.c: Likewise.
17176         * misc/vhangup.c: Likewise.
17177         * misc/writev.c: Likewise.
17178         * posix/_exit.c: Likewise.
17179         * posix/alarm.c: Likewise.
17180         * posix/execve.c: Likewise.
17181         * posix/fexecve.c: Likewise.
17182         * posix/fork.c: Likewise.
17183         * posix/fpathconf.c: Likewise.
17184         * posix/getaddrinfo.c: Likewise.
17185         * posix/getegid.c: Likewise.
17186         * posix/geteuid.c: Likewise.
17187         * posix/getgid.c: Likewise.
17188         * posix/getgroups.c: Likewise.
17189         * posix/getlogin.c: Likewise.
17190         * posix/getlogin_r.c: Likewise.
17191         * posix/getpgid.c: Likewise.
17192         * posix/getpid.c: Likewise.
17193         * posix/getppid.c: Likewise.
17194         * posix/getresgid.c: Likewise.
17195         * posix/getresuid.c: Likewise.
17196         * posix/getsid.c: Likewise.
17197         * posix/getuid.c: Likewise.
17198         * posix/glob64.c: Likewise.
17199         * posix/nanosleep.c: Likewise.
17200         * posix/pathconf.c: Likewise.
17201         * posix/pause.c: Likewise.
17202         * posix/posix_madvise.c: Likewise.
17203         * posix/pread.c: Likewise.
17204         * posix/pread64.c: Likewise.
17205         * posix/pwrite.c: Likewise.
17206         * posix/pwrite64.c: Likewise.
17207         * posix/sched_getaffinity.c: Likewise.
17208         * posix/sched_getp.c: Likewise.
17209         * posix/sched_gets.c: Likewise.
17210         * posix/sched_primax.c: Likewise.
17211         * posix/sched_primin.c: Likewise.
17212         * posix/sched_rr_gi.c: Likewise.
17213         * posix/sched_setaffinity.c: Likewise.
17214         * posix/sched_setp.c: Likewise.
17215         * posix/sched_sets.c: Likewise.
17216         * posix/sched_yield.c: Likewise.
17217         * posix/setgid.c: Likewise.
17218         * posix/setlogin.c: Likewise.
17219         * posix/setpgid.c: Likewise.
17220         * posix/setresgid.c: Likewise.
17221         * posix/setresuid.c: Likewise.
17222         * posix/setsid.c: Likewise.
17223         * posix/setuid.c: Likewise.
17224         * posix/sleep.c: Likewise.
17225         * posix/spawni.c: Likewise.
17226         * posix/sysconf.c: Likewise.
17227         * posix/times.c: Likewise.
17228         * posix/wait.c: Likewise.
17229         * posix/wait3.c: Likewise.
17230         * posix/wait4.c: Likewise.
17231         * posix/waitpid.c: Likewise.
17232         * resolv/gai_sigqueue.c: Likewise.
17233         * resource/getpriority.c: Likewise.
17234         * resource/getrlimit.c: Likewise.
17235         * resource/getrusage.c: Likewise.
17236         * resource/nice.c: Likewise.
17237         * resource/setpriority.c: Likewise.
17238         * resource/setrlimit.c: Likewise.
17239         * resource/ulimit.c: Likewise.
17240         * rt/aio_cancel.c: Likewise.
17241         * rt/aio_fsync.c: Likewise.
17242         * rt/aio_read.c: Likewise.
17243         * rt/aio_sigqueue.c: Likewise.
17244         * rt/aio_suspend.c: Likewise.
17245         * rt/aio_write.c: Likewise.
17246         * rt/clock_getres.c: Likewise.
17247         * rt/clock_gettime.c: Likewise.
17248         * rt/clock_nanosleep.c: Likewise.
17249         * rt/clock_settime.c: Likewise.
17250         * rt/lio_listio.c: Likewise.
17251         * rt/mq_close.c: Likewise.
17252         * rt/mq_getattr.c: Likewise.
17253         * rt/mq_notify.c: Likewise.
17254         * rt/mq_open.c: Likewise.
17255         * rt/mq_receive.c: Likewise.
17256         * rt/mq_send.c: Likewise.
17257         * rt/mq_setattr.c: Likewise.
17258         * rt/mq_timedreceive.c: Likewise.
17259         * rt/mq_timedsend.c: Likewise.
17260         * rt/mq_unlink.c: Likewise.
17261         * rt/shm_open.c: Likewise.
17262         * rt/shm_unlink.c: Likewise.
17263         * rt/timer_create.c: Likewise.
17264         * rt/timer_delete.c: Likewise.
17265         * rt/timer_getoverr.c: Likewise.
17266         * rt/timer_gettime.c: Likewise.
17267         * rt/timer_settime.c: Likewise.
17268         * setjmp/__longjmp.c: Likewise.
17269         * setjmp/setjmp.c: Likewise.
17270         * signal/kill.c: Likewise.
17271         * signal/killpg.c: Likewise.
17272         * signal/raise.c: Likewise.
17273         * signal/sigaction.c: Likewise.
17274         * signal/sigaltstack.c: Likewise.
17275         * signal/sigblock.c: Likewise.
17276         * signal/sigignore.c: Likewise.
17277         * signal/sigintr.c: Likewise.
17278         * signal/signal.c: Likewise.
17279         * signal/sigpause.c: Likewise.
17280         * signal/sigpending.c: Likewise.
17281         * signal/sigqueue.c: Likewise.
17282         * signal/sigreturn.c: Likewise.
17283         * signal/sigset.c: Likewise.
17284         * signal/sigsetmask.c: Likewise.
17285         * signal/sigstack.c: Likewise.
17286         * signal/sigsuspend.c: Likewise.
17287         * signal/sigtimedwait.c: Likewise.
17288         * signal/sigvec.c: Likewise.
17289         * signal/sigwait.c: Likewise.
17290         * signal/sigwaitinfo.c: Likewise.
17291         * signal/sysv_signal.c: Likewise.
17292         * socket/accept.c: Likewise.
17293         * socket/accept4.c: Likewise.
17294         * socket/bind.c: Likewise.
17295         * socket/connect.c: Likewise.
17296         * socket/getpeername.c: Likewise.
17297         * socket/getsockname.c: Likewise.
17298         * socket/getsockopt.c: Likewise.
17299         * socket/isfdtype.c: Likewise.
17300         * socket/listen.c: Likewise.
17301         * socket/recv.c: Likewise.
17302         * socket/recvfrom.c: Likewise.
17303         * socket/recvmsg.c: Likewise.
17304         * socket/send.c: Likewise.
17305         * socket/sendmsg.c: Likewise.
17306         * socket/sendto.c: Likewise.
17307         * socket/setsockopt.c: Likewise.
17308         * socket/shutdown.c: Likewise.
17309         * socket/sockatmark.c: Likewise.
17310         * socket/socket.c: Likewise.
17311         * socket/socketpair.c: Likewise.
17312         * stdio-common/ctermid.c: Likewise.
17313         * stdio-common/cuserid.c: Likewise.
17314         * stdio-common/remove.c: Likewise.
17315         * stdio-common/rename.c: Likewise.
17316         * stdio-common/renameat.c: Likewise.
17317         * stdio-common/tempname.c: Likewise.
17318         * stdlib/getcontext.c: Likewise.
17319         * stdlib/makecontext.c: Likewise.
17320         * stdlib/setcontext.c: Likewise.
17321         * stdlib/swapcontext.c: Likewise.
17322         * stdlib/system.c: Likewise.
17323         * streams/fattach.c: Likewise.
17324         * streams/fdetach.c: Likewise.
17325         * streams/getmsg.c: Likewise.
17326         * streams/getpmsg.c: Likewise.
17327         * streams/putmsg.c: Likewise.
17328         * streams/putpmsg.c: Likewise.
17329         * sysdeps/unix/bsd/getpt.c: Likewise.
17330         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17331         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17332         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17334         Likewise.
17335         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17336         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17337         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17338         * sysvipc/msgctl.c: Likewise.
17339         * sysvipc/msgget.c: Likewise.
17340         * sysvipc/msgrcv.c: Likewise.
17341         * sysvipc/msgsnd.c: Likewise.
17342         * sysvipc/semctl.c: Likewise.
17343         * sysvipc/semget.c: Likewise.
17344         * sysvipc/semop.c: Likewise.
17345         * sysvipc/semtimedop.c: Likewise.
17346         * sysvipc/shmat.c: Likewise.
17347         * sysvipc/shmctl.c: Likewise.
17348         * sysvipc/shmdt.c: Likewise.
17349         * sysvipc/shmget.c: Likewise.
17350         * termios/tcdrain.c: Likewise.
17351         * termios/tcflow.c: Likewise.
17352         * termios/tcflush.c: Likewise.
17353         * termios/tcgetattr.c: Likewise.
17354         * termios/tcgetpgrp.c: Likewise.
17355         * termios/tcsendbrk.c: Likewise.
17356         * termios/tcsetattr.c: Likewise.
17357         * termios/tcsetpgrp.c: Likewise.
17358         * time/adjtime.c: Likewise.
17359         * time/clock.c: Likewise.
17360         * time/getitimer.c: Likewise.
17361         * time/gettimeofday.c: Likewise.
17362         * time/setitimer.c: Likewise.
17363         * time/settimeofday.c: Likewise.
17364         * time/stime.c: Likewise.
17365         * time/time.c: Likewise.
17367 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17369         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17370         /usr/old/bin.
17372         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17373         instead of spaces.
17374         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17376 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17378         [BZ #14796]
17379         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17380         FE_TONEAREST before applying Dekker multiplication and Knuth
17381         addition.  Clear inexact exceptions and check for exact zero
17382         results afterwards.
17383         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17384         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17385         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17386         * math/libm-test.inc (fma_test): Add more tests.
17387         (fma_test_towardzero): Likewise.
17388         (fma_test_downward): Likewise.
17389         (fma_test_upward): Likewise.
17390         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17391         function.
17392         (libc_fesetround): New macro.
17393         (libc_fesetroundf): Likewise.
17394         (libc_fesetroundl): Likewise.
17395         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17396         function.
17397         (libc_fesetround_387): Likewise.
17398         (libc_fesetroundf): New macro.
17399         (libc_fesetround): Likewise.
17400         (libc_fesetroundl): Likewise.
17401         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17402         function.
17403         (libc_fesetroundf): New macro.
17404         (libc_fesetround): Likewise.
17405         (libc_fesetroundl): Likewise.
17406         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17407         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17408         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17409         libm_hidden_ver.
17410         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17411         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17412         libm_hidden_def.
17413         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17414         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17415         libm_hidden_ver.
17416         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17417         libm_hidden_def.
17419         [BZ #3439]
17420         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17421         integer constant usable in #if and use that to give value to enum
17422         constant.
17423         (FE_DIVBYZERO): Likewise.
17424         (FE_UNDERFLOW): Likewise.
17425         (FE_OVERFLOW): Likewise.
17426         (FE_INVALID): Likewise.
17427         (FE_INVALID_SNAN): Likewise.
17428         (FE_INVALID_ISI): Likewise.
17429         (FE_INVALID_IDI): Likewise.
17430         (FE_INVALID_ZDZ): Likewise.
17431         (FE_INVALID_IMZ): Likewise.
17432         (FE_INVALID_COMPARE): Likewise.
17433         (FE_INVALID_SOFTWARE): Likewise.
17434         (FE_INVALID_SQRT): Likewise.
17435         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17436         (FE_TONEAREST): Likewise.
17437         (FE_TOWARDZERO): Likewise.
17438         (FE_UPWARD): Likewise.
17439         (FE_DOWNWARD): Likewise.
17440         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17441         (FE_DIVBYZERO): Likewise.
17442         (FE_OVERFLOW): Likewise.
17443         (FE_UNDERFLOW): Likewise.
17444         (FE_INEXACT): Likewise.
17445         (FE_TONEAREST): Likewise.
17446         (FE_DOWNWARD): Likewise.
17447         (FE_UPWARD): Likewise.
17448         (FE_TOWARDZERO): Likewise.
17449         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17450         (FE_UNDERFLOW): Likewise.
17451         (FE_OVERFLOW): Likewise.
17452         (FE_DIVBYZERO): Likewise.
17453         (FE_INVALID): Likewise.
17454         (FE_TONEAREST): Likewise.
17455         (FE_TOWARDZERO): Likewise.
17456         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17457         (FE_OVERFLOW): Likewise.
17458         (FE_UNDERFLOW): Likewise.
17459         (FE_DIVBYZERO): Likewise.
17460         (FE_INEXACT): Likewise.
17461         (FE_TONEAREST): Likewise.
17462         (FE_TOWARDZERO): Likewise.
17463         (FE_UPWARD): Likewise.
17464         (FE_DOWNWARD): Likewise.
17465         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17466         (FE_DIVBYZERO): Likewise.
17467         (FE_OVERFLOW): Likewise.
17468         (FE_UNDERFLOW): Likewise.
17469         (FE_INEXACT): Likewise.
17470         (FE_TONEAREST): Likewise.
17471         (FE_DOWNWARD): Likewise.
17472         (FE_UPWARD): Likewise.
17473         (FE_TOWARDZERO): Likewise.
17475 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17477         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17479 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17481         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17482         commands.  Quote $PWD.
17483         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17484         -x" by "export".
17485         (remove_newlines): Remove.
17487 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17489         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17490         * stdlib/stdlib.h (atof): Moved to ...
17491         * include/bits/stdlib-float.h: Here.  New file.
17492         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17493         * stdlib/bits/stdlib-float.h: New file.
17494         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17495         -mno-sse -mno-mmx.
17496         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17497         <xmmintrin.h>.
17499 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17501         * conform/conformtest.pl (@headers): Add fenv.h.
17502         * conform/data/fenv.h-data: New file.
17503         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17504         include of <math/fenv.h>.
17506         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17507         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17508         && !UNIX98].  Enables tests for XOPEN2K8.
17509         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17510         POSIX2008]: Likewise.
17512         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17513         (struct rusage): Do not expect type or its members.
17515         [BZ #3439]
17516         * math/math.h (FP_NAN): Define macro to integer constant usable in
17517         #if and use that to give value to enum constant.
17518         (FP_INFINITE): Likewise.
17519         (FP_ZERO): Likewise.
17520         (FP_SUBNORMAL): Likewise.
17521         (FP_NORMAL): Likewise.
17523 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17525         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17526         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17527         arguments.
17529 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17531         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17532         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17533         autoconf-time if not.
17534         * configure.in: Remove AC_PREREQ.
17536 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17538         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17539         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17540         of the internal implementation.
17542 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17544         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17545         except include of <misc/sys/syslog.h>.
17547 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17550         function returns with a NULL context exit with zero.
17552 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17554         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17556 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17558         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17559         (run_program_cmd): This.
17560         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17561         (tst_langinfo): New variable.  Use it.
17563 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17565         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17566         floating point opcodes.
17568 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17570         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17571         variable.
17573         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17575         * sysdeps/mach/hurd/powerpc: Remove directory.
17576         * sysdeps/mach/powerpc: Likewise.
17578 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17580         * scripts/check-local-headers.sh: Ignore c++ headers.
17582 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17584         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17585         __libc_cleanup_region_start argument.
17587 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17589         [BZ #14784]
17590         [BZ #14785]
17591         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17592         x * y using scaling, not as x * y + z.
17593         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17594         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17595         * math/libm-test.inc (fma_test): Add more tests.
17596         (fma_test_towardzero): Likewise.
17597         (fma_test_downward): Likewise.
17598         (fma_test_upward): Likewise.
17600 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17602         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17604 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17606         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17607         New variable.
17609 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17611         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17613 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17616         Fix sort order.
17617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17618         Likewise.
17620 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17623         Fix the order of the list for glibc 2.17.
17624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17625         Likewise.
17627 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17631 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17633         [BZ #14610]
17634         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17635         for low part of x being zero before using __atanl (y).
17636         * math/libm-test.inc (atan2_test): Add another test.
17638         * manual/install.texi (Configuring and compiling): Document
17639         general use of test-wrapper and test-wrapper-env.
17640         * INSTALL: Regenerated.
17642         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17643         (__fma): Do not extract and scale down low bits on after-rounding
17644         systems when result rounded to normal precision would have normal
17645         exponent.
17646         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17647         (__fmal): Do not extract and scale down low bits on after-rounding
17648         systems when result rounded to normal precision would have normal
17649         exponent.
17650         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17651         (__fmal): Do not extract and scale down low bits on after-rounding
17652         systems when result rounded to normal precision would have normal
17653         exponent.
17654         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17655         macro.
17656         (fma_test): Add more tests.
17657         (fma_test_towardzero): Likewise.
17658         (fma_test_downward): Likewise.
17659         (fma_test_upward): Likewise.
17661 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17663         * sysdeps/i386/tininess.h: Renamed to ...
17664         * sysdeps/x86/tininess.h: This.
17665         * sysdeps/x86_64/tininess.h: Removed.
17667 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17669         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17670         input.  Use $(build-program-cmd).
17671         ($(objpfx)tst-array1-static.out): Likewise.
17672         ($(objpfx)tst-array2.out): Likewise.
17673         ($(objpfx)tst-array3.out): Likewise.
17674         ($(objpfx)tst-array4.out): Likewise.
17675         ($(objpfx)tst-array5.out): Likewise.
17676         ($(objpfx)tst-array5-static.out): Likewise.
17678 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17680         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17681         if defined.
17683         * nss/nsswitch.h (nss_interface_function): Provide new
17684         macro for use with NSS functions.
17685         * grp/initgroups.c: Use new macro.
17686         * nss/getXXbyYY.c: Likewise.
17687         * nss/getXXbyYY_r.c: Likewise.
17688         * nss/getXXent.c: Likewise.
17689         * nss/getXXent_r.c: Likewise.
17690         * sysdeps/posix/getaddrinfo.c: Likewise.
17692 2012-10-30  Andreas Jaeger  <aj@suse.de>
17694         * po/ru.po: Update Russion translation from translation project.
17696 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17698         [BZ #14152]
17699         [BZ #14783]
17700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17701         result and shift together with sticky bit instead of replicating
17702         round-to-nearest rounding.
17703         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17704         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17705         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17706         missing underflow exceptions.
17707         (fma_test_towardzero): Add more tests.
17708         (fma_test_downward): Likewise.
17709         (fma_test_upward): Likewise.
17711         [BZ #14047]
17712         * sysdeps/generic/tininess.h: New file.
17713         * sysdeps/i386/tininess.h: Likewise.
17714         * sysdeps/sh/tininess.h: Likewise.
17715         * sysdeps/x86_64/tininess.h: Likewise.
17716         * stdlib/tst-strtod-underflow.c: Likewise.
17717         * stdlib/tst-tininess.c: Likewise.
17718         * stdlib/strtod_l.c: Include <tininess.h>.
17719         (round_and_return): Do not set errno for exact underflow cases.
17720         Force an underflow exception when setting errno for underflow.
17721         Determine underflow based on rounding to normal precision if
17722         TININESS_AFTER_ROUNDING.
17723         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17724         ERANGE for exact underflow cases.
17725         * stdlib/Makefile (tests): Add tst-tininess and
17726         tst-strtod-underflow.
17727         ($(objpfx)tst-tininess): Use $(link-libm).
17728         ($(objpfx)tst-strtod-underflow): Likewise.
17730 2012-10-30  Andreas Jaeger  <aj@suse.de>
17732         [BZ#14767]
17733         * elf/Makefile (tests): Remove conditional for have-initfini-array
17734         since this is now always required and the variable does not exist
17735         anymore.
17736         (tests-static): Likewise.
17737         (modules-names): Likewise.
17739         * po/eo.po: Add Esperanto translation from translation project.
17741         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17742         merged with constructor/destructor.
17743         (init_array): Likewise.
17744         * elf/tst-array2dep.c (fini_array): Likewise.
17745         (init_array): Likewise.
17747 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17749         * manual/message.texi: Delete @cartouche tags.
17751 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17753         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17754         EOPNOTSUPP.
17755         * sysdeps/mach/hurd/fsync.c: Likewise.
17757         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17758         [_POSIX_REALTIME_SIGNALS]: Change condition to
17759         [_POSIX_REALTIME_SIGNALS > 0].
17761 2012-10-27  Andreas Jaeger  <aj@suse.de>
17763         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17764         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17765         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17766         [__WORDSIZE != 64]: Likewise.
17768 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17770         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17771         *  iconvdata/tst-tables.sh: Likewise.
17773 2012-10-25  David S. Miller  <davem@davemloft.net>
17775         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17776         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17777         of strtoull.
17779         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17780         ifunc-impl-list.c
17781         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17782         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17783         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17784         file.
17786 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17788         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17789         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17790         __getdirentries.
17792 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17793             Jim Blandy  <jimb@codesourcery.com>
17795         * scripts/cross-test-ssh.sh: New file.
17796         * manual/install.texi (Configuring and compiling): Document use of
17797         cross-test-ssh.sh.
17798         * INSTALL: Regenerated.
17800 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17802         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17803         EOPNOTSUPP.
17805 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17807         * Makeconfig (run-program-prefix): Fix comment.
17809 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17810             Jim Blandy  <jimb@codesourcery.com>
17812         * Makeconfig (test-wrapper): New variable,
17813         (test-wrapper-env): Likewise.
17814         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17815         (run-built-tests): Define to yes.
17816         (run-program-prefix): Use $(test-wrapper).
17817         (built-program-cmd): Likewise.
17818         * Rules (make-test-out): Use $(test-wrapper-env) and
17819         $(host-built-program-cmd).
17820         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17821         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17822         tst-pathopt.sh.
17823         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17824         $(test-wrapper-env) to tst-rtld-load-self.sh.
17825         ($(objpfx)order2.out): Use $(test-wrapper).
17826         ($(objpfx)tst-initorder.out): Likewise.
17827         ($(objpfx)tst-initorder2.out): Likewise.
17828         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17829         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17830         (test_wrapper_env): New variable.  Use it to run ld.so.
17831         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17832         Use it to run ld.so.
17833         (test_wrapper_env): Likewise.
17834         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17835         $(test-wrapper) to run-iconv-test.sh.
17836         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17837         (ICONV): Use $test_wrapper.
17838         * posix/Makefile ($(objpfx)globtest.out): Pass
17839         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17840         globtest.sh, not $(run-program-prefix).
17841         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17842         (test_wrapper): Likewise.
17843         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17844         set together with run_via_rtld_prefix.
17845         (run_program_prefix): Define in terms of test_wrapper and
17846         run_via_rtld_prefix.
17848 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17850         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17851         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17852         Targets removed.
17854         [BZ #14743]
17855         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17856         Declare __clock_getres, __clock_gettime, __clock_settime,
17857         __clock_nanosleep, and __clock_getcpuclockid.
17858         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17859         Remove librt_hidden_def (clock_gettime).
17860         * sysdeps/unix/clock_gettime.c: Likewise.
17861         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17862         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17863         * rt/clock_getres.c: Define __clock_getres as an alias.
17864         * sysdeps/posix/clock_getres.c: Likewise.
17865         * rt/clock_settime.c: Define __clock_settime as an alias.
17866         * sysdeps/unix/clock_settime.c: Likewise.
17867         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17868         * sysdeps/unix/clock_nanosleep.c: Likewise.
17869         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17870         * rt/clock-compat.c: New file.
17871         * rt/Makefile (librt-routines): Add clock-compat and move
17872         $(clock-routines) to ...
17873         (routines): ... here, new variable.
17874         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17875         Don't add get_clockfreq here.
17876         * rt/Versions (libc: GLIBC_2.17): New version set.
17877         Add clock_* symbols here.
17878         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17879         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17880         (GLIBC_2.17): Add clock_* symbols.
17881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17883         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17885         Likewise.
17886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17887         Likewise.
17888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17892         * NEWS: Mention the move.
17894         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17895         Use __open, __read, __close rather than their public counterparts.
17896         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17897         (__get_clockfreq_via_cpuinfo): Likewise.
17898         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17899         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17901         * config.h.in (HAVE_IFUNC): New #undef.
17902         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17903         was successful.
17904         * configure: Regenerated.
17906 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17908         * configure.in: Move READELF check to start of file.
17909         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17910         libc_cv_asm_gnu_indirect_function in the process.
17911         * configure: Regenerated.
17913 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17915         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17916         send the output to /dev/null.
17917         (libc_cv_cc_with_libunwind): Likewise.
17918         (libc_cv_as_noexecstack): Likewise.
17919         * configure: Regenerate.
17921 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17923         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17925         * posix/globtest.sh (TMPDIR): Do not set.
17926         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17927         (testout): Likewise.
17929 2012-10-24  Andreas Jaeger  <aj@suse.de>
17931         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17932         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17933         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17934         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17935         posix_fadvise64, posix_fallocate64.
17937         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17938         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17939         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17940         Likewise.
17941         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17942         Likewise.
17943         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17945         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17946         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17947         <bits/fcntl-linux.h>.
17948         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17950         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17951         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17952         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17953         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17954         [__WORDSIZE != 64]: Likewise.
17956 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17958         * Makeconfig (run-built-tests): New variable.
17959         * Rules [$(cross-compiling) = yes]: Change condition to
17960         [$(run-built-tests) = no].
17961         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17962         to [$(run-built-tests) = yes].
17963         * elf/Makefile [$(cross-compiling) = no]: Likewise
17964         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17965         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17966         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17967         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17968         * io/Makefile [$(cross-compiling) = no]: Likewise.
17969         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17970         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17971         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17972         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17973         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17974         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17975         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17976         * string/Makefile [$(cross-compiling) = no]: Likewise.
17978         * posix/Makefile ($(objpfx)globtest.out): Pass
17979         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17980         $(rtld-installed-name).
17981         * posix/globtest.sh (elf_objpfx): Remove variable.
17982         (rtld_installed_name): Likewise.
17983         (library_path): Likewise.
17984         (run_program_prefix): New variable.  Use for running globtest
17985         binary.
17987 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17988             Joseph Myers  <joseph@codesourcery.com>
17990         * Makeconfig (host-built-program-cmd): New variable.
17991         * elf/Makefile (tst-stackguard1-ARGS): Use
17992         $(host-built-program-cmd).
17993         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17994         (tst-spawn-ARGS): Likewise.
17995         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17997 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17998             Jim Blandy  <jimb@codesourcery.com>
18000         * Makeconfig (run-via-rtld-prefix): New variable.
18001         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18002         (built-program-cmd): Likewise.
18004 2012-10-22  Andreas Jaeger  <aj@suse.de>
18006         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18007         __O_RSYNC if it exists, otherwise to O_SYNC.
18009 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18010             Joseph Myers  <joseph@codesourcery.com>
18012         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18013         /dev/null.
18014         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18015         from /dev/null
18016         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18017         /dev/null.
18019 2012-10-22  Andreas Jaeger  <aj@suse.de>
18021         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18022         Define always.
18023         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18025         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18026         bits/fcntl-linux.h.
18028         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18029         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18031         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18032         to __O_LARGEFILE.
18033         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18034         to __O_LARGEFILE.
18036 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18037             Joseph Myers  <joseph@codesourcery.com>
18039         * config.make.in (NM): New variable.
18041 2012-10-21  Andreas Jaeger  <aj@suse.de>
18043         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18044         definitions and declarations that are provided by
18045         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18047 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18049         [BZ #14683]
18050         * elf/Makefile (tests-static): Add tst-leaks1-static.
18051         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18052         ($(objpfx)tst-leaks1-static): New rule.
18053         ($(objpfx)tst-leaks1-static-mem): Likewise.
18054         (tst-leaks1-static-ENV): New macro.
18055         * elf/dl-open.c (dl_open_worker): Check the main application
18056         only if SHARED is defined.
18057         * elf/tst-leaks1-static.c: New file.
18059 2012-10-20  Andreas Jaeger  <aj@suse.de>
18061         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18062         generic values for Linux.
18063         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18064         and declarations that are provided by <bits/fcntl-linux.h> and
18065         include <bits/fcntl-linux.h>.
18066         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18067         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18069 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18071         * io/fcntl.h: Move include of <bits/types.h> to the top and
18072         include it unconditionally.
18074 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18076         * wcsmbs/Makefile (tests-ifunc): New variable.
18077         (tests): Add $(tests-ifunc).
18078         * wcsmbs/test-wcschr-ifunc.c: New file.
18079         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18080         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18081         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18082         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18083         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18085         * string/Makefile (tests-ifunc): New variable.
18086         (tests): Add $(tests-ifunc).
18087         * string/test-memccpy.c (TEST_NAME): New macro.
18088         * string/test-memchr.c (TEST_NAME): Likewise.
18089         * string/test-memcmp.c (TEST_NAME): Likewise.
18090         * string/test-memcpy.c (TEST_NAME): Likewise.
18091         * string/test-memmem.c (TEST_NAME): Likewise.
18092         * string/test-memmove.c (TEST_NAME): Likewise.
18093         * string/test-memset.c (TEST_NAME): Likewise.
18094         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18095         * string/test-stpcpy.c (TEST_NAME): Likewise.
18096         * string/test-stpncpy.c (TEST_NAME): Likewise.
18097         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18098         * string/test-strcasestr.c (TEST_NAME): Likewise.
18099         * string/test-strcat.c (TEST_NAME): Likewise.
18100         * string/test-strchr.c (TEST_NAME): Likewise.
18101         * string/test-strcmp.c(TEST_NAME): Likewise.
18102         * string/test-strcpy.c (TEST_NAME): Likewise.
18103         * string/test-strcspn.c (TEST_NAME): Likewise.
18104         * string/test-strlen.c (TEST_NAME): Likewise.
18105         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18106         * string/test-strncmp.c (TEST_NAME): Likewise.
18107         * string/test-strncpy.c (TEST_NAME): Likewise.
18108         * string/test-strnlen.c (TEST_NAME): Likewise.
18109         * string/test-strpbrk.c (TEST_NAME): Likewise.
18110         * string/test-strrchr.c (TEST_NAME): Likewise.
18111         * string/test-strspn.c (TEST_NAME): Likewise.
18112         * string/test-strstr.c (TEST_NAME): Likewise.
18113         * string/test-bcopy-ifunc.c: New file.
18114         * string/test-bzero-ifunc.c: Likewise.
18115         * string/test-memccpy-ifunc.c: Likewise.
18116         * string/test-memchr-ifunc.c: Likewise.
18117         * string/test-memcmp-ifunc.c: Likewise.
18118         * string/test-memcpy-ifunc.c: Likewise.
18119         * string/test-memmem-ifunc.c: Likewise.
18120         * string/test-memmove-ifunc.c: Likewise.
18121         * string/test-mempcpy-ifunc.c: Likewise.
18122         * string/test-memset-ifunc.c: Likewise.
18123         * string/test-rawmemchr-ifunc.c: Likewise.
18124         * string/test-stpcpy-ifunc.c: Likewise.
18125         * string/test-stpncpy-ifunc.c: Likewise.
18126         * string/test-strcasecmp-ifunc.c: Likewise.
18127         * string/test-strcasestr-ifunc.c: Likewise.
18128         * string/test-strcat-ifunc.c: Likewise.
18129         * string/test-strchr-ifunc.c: Likewise.
18130         * string/test-strchrnul-ifunc.c: Likewise.
18131         * string/test-strcmp-ifunc.c: Likewise.
18132         * string/test-strcpy-ifunc.c: Likewise.
18133         * string/test-strcspn-ifunc.c: Likewise.
18134         * string/test-strlen-ifunc.c: Likewise.
18135         * string/test-strncasecmp-ifunc.c: Likewise.
18136         * string/test-strncat-ifunc.c: Likewise.
18137         * string/test-strncmp-ifunc.c: Likewise.
18138         * string/test-strncpy-ifunc.c: Likewise.
18139         * string/test-strnlen-ifunc.c: Likewise.
18140         * string/test-strpbrk-ifunc.c: Likewise.
18141         * string/test-strrchr-ifunc.c: Likewise.
18142         * string/test-strspn-ifunc.c: Likewise.
18143         * string/test-strstr-ifunc.c: Likewise.
18145         * debug/Makefile (tests-ifunc): New variable.
18146         (tests): Add $(tests-ifunc).
18147         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18148         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18149         * debug/test-stpcpy_chk-ifunc.c: New file.
18150         * debug/test-strcpy_chk-ifunc.c: Likewise.
18152 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18154         [BZ #13601]
18155         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18156         header is not read in.
18158 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18160         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18161         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18162         directly.  Pass built executable to script as
18163         $(built-program-cmd).
18164         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18165         $testprogram without using LD_LIBRARY_PATH and $ldso.
18167         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18168         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18169         $(rtld-installed-name).
18170         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18171         (rtld_installed_name): Likewise.
18172         (library_path): Likewise.
18173         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18174         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18175         $(run-program-prefix) to tst-tables.sh.
18176         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18177         it to run tst-table-from and tst-table-to.
18178         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18179         Pass it to tst-table.sh.
18180         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18181         $(run-program-prefix) to tst-gettext.sh.
18182         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18183         tst-translit.sh.
18184         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18185         tst-gettext2.sh.
18186         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18187         to run tst-gettext.
18188         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18189         to run tst-gettext2.
18190         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18191         to run tst-translit.
18192         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18193         $(run-program-prefix) to tst-mtrace.sh.
18194         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18195         to run tst-mtrace.
18196         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18197         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18198         $(rtld-installed-name).
18199         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18200         (rtld_installed_name): Likewise.
18201         (run_program_prefix): New variable.  Use it to run wordexp-test.
18203         * Makeconfig (ARCH): Remove all definitions.
18204         (machine): Likewise.
18205         [ARCH]: Remove conditional code.
18206         [!objdir]: Give error.
18207         [!objdir] (objpfx): Remove.
18208         [!objdir] (common-objpfx): Likewise.
18209         [!objdir] (common-objdir): Likewise.
18210         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18211         AC_CONFIG_FILES call.
18212         * configure: Regenerated.
18214         [BZ #13888]
18215         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18216         or TMPDIR.
18217         (testout): Likewise.
18219         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18220         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18221         $(rtld-installed-name).
18222         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18223         (rtld_installed_name): Likwise.
18224         (runit): Remove function.
18225         (run_getconf): New variable,  Use it for running getconf binary.
18227 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18229         [BZ #14716]
18230         * string/test-memmem.c (check_result): New function.
18231         (do_one_test): Use it.
18232         (check1): New function.
18233         (test_main): Use it.
18235 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18237         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18239 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18241         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18242         (_G_LSEEK64): Likewise.
18243         (_G_MMAP64): Likewise.
18244         (_G_FSTAT64): Likewise.
18245         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18246         (_G_LSEEK64): Likewise.
18247         (_G_MMAP64): Likewise.
18248         (_G_FSTAT64): Likewise.
18249         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18250         unconditional.  Call __mmap64 directly.
18251         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18252         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18253         __lseek64 directly.
18254         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18255         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18256         __mmap64 directly.
18257         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18258         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18259         __lseek64 directly.
18260         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18261         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18262         __lseek64 directly.
18263         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18264         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18265         __lseek64 directly.
18266         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18267         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18268         __fxstat64 directly.
18269         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18270         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18271         unconditional.
18272         (freopen64) [!_G_OPEN64]: Remove conditional code.
18273         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18274         unconditional.
18275         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18276         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18277         unconditional.
18278         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18279         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18280         unconditional.
18281         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18282         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18283         unconditional.
18284         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18285         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18286         unconditional.
18287         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18288         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18289         unconditional.
18290         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18291         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18292         unconditional.
18293         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18295 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18297         [BZ #12140]
18298         * manual/memory.texi (Malloc Tunable Parameters): Add note
18299         about free list pointers overwriting some perturb bytes.
18300         Wording suggested by Roland McGrath.
18302 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18304         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18305         (lgamma_test): Likewise.
18306         (tgamma_test): Likewise.
18308 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18310         [BZ #14700]
18311         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18312         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18314 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18316         * NEWS: Mention BZ #14716.
18317         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18318         when removing AVAILABLE1_USES_J macro.
18320 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18322         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18323         (__bswap_64): __uint64_t for unsigned 64-bit int.
18325 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18327         * include/string.h (memmem): Declare libc hidden alias.
18328         * string/memmem.c (memmem): Define libc hidden alias.
18329         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18330         __read, __close instead of open, read, close.
18332 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18335         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18336         global and hidden.
18337         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18338         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18339         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18340         Likewise.
18341         (__rawmemchr_sse2): Likewise.
18342         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18343         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18344         (__strchr_sse2): Likewise.
18345         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18346         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18347         (__strcasecmp_sse2): Likewise.
18348         (__strncasecmp_sse2): Likewise.
18349         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18350         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18351         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18352         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18353         (__strrchr_sse2): Likewise.
18354         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18355         ifunc-impl-list.c.
18356         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18357         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18358         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18359         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18360         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18361         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18362         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18363         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18364         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18365         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18366         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18367         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18368         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18369         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18370         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18371         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18372         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18373         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18374         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18375         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18376         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18377         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18378         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18379         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18380         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18381         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18382         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18383         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18384         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18385         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18387         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18388         global and hidden.
18389         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18390         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18391         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18392         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18393         Likewise.
18394         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18395         Likewise.
18396         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18397         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18398         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18399         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18400         ifunc-impl-list.c.
18401         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18402         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18403         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18404         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18405         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18406         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18407         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18408         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18409         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18410         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18411         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18412         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18413         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18414         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18415         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18416         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18417         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18418         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18419         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18420         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18421         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18422         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18423         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18424         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18425         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18426         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18427         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18428         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18429         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18430         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18431         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18432         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18433         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18434         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18435         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18436         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18437         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18438         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18439         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18440         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18441         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18443         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18444         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18445         * include/ifunc-impl-list.h: New file.
18446         * misc/ifunc-impl-list.c: Likewise.
18447         * misc/Makefile (routines): Add ifunc-impl-list.
18448         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18449         * string/test-string.h: Include <ifunc-impl-list.h>.
18450         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18451         impl_array): New variables.
18452         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18453         are defined.
18454         (test_init): Call __libc_ifunc_impl_list to initialize
18455         func_list if TEST_IFUNC and TEST_NAME are defined.
18457         * string/Makefile (strop-tests): Add bcopy and bzero.
18458         * string/test-bcopy.c: New file.
18459         * string/test-bzero.c: Likewise.
18460         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18461         defined.
18462         * string/test-memset.c: Support bzero test if TEST_BZERO is
18463         defined.
18464         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18465         __libc_memmove.
18466         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18467         __libc_memset.
18468         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18469         of memset.
18471 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18473         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18474         * configure: Regenerated.
18476         * Makeconfig (+link-static-before-libc): Don't include
18477         $(link-static-libc).
18479         * libio/libio.h (_IO_pos_t): Remove.
18481 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18483         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18484         McGrath.
18486 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18488         * crypt/crypt-entry.c: Include fips-private.h.
18489         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18490         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18491         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18492         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18494 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18496         * crypt/crypt-private.h: Include stdbool.h.
18497         (_ufc_setup_salt_r): Return bool.
18498         * crypt/crypt-entry.c: Include errno.h.
18499         (__crypt_r): Return NULL with EINVAL for bad salt.
18500         * crypt/crypt_util.c (bad_for_salt): New.
18501         (_ufc_setup_salt_r): Check that salt is long enough and within
18502         the specified alphabet.
18503         * crypt/badsalttest.c: New file.
18504         * crypt/Makefile (tests): Add it.
18505         ($(objpfx)badsalttest): New.
18507 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18509         * NEWS: Add entry for BZ #14602.
18511 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18513         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18514         type-generic.
18515         * math/libm-test.inc: Update comment listing what functions and
18516         macros are tested.
18517         (isgreater_test): New function.
18518         (isgreaterequal_test): Likewise.
18519         (isless_test): Likewise.
18520         (islessequal_test): Likewise.
18521         (islessgreater_test): Likewise.
18522         (isunordered_test): Likewise.
18523         (main): Call the new functions.
18525 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18527         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18528         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18529         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18530         * sysdeps/i386/configure: Regenerated.
18531         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18532         * sysdeps/mach/configure: Regenerated.
18533         * sysdeps/mach/hurd/configure: Regenerated.
18534         * sysdeps/powerpc/configure: Regenerated.
18535         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18536         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18537         * sysdeps/s390/s390-32/configure: Regenerated.
18538         * sysdeps/s390/s390-64/configure: Regenerated.
18539         * sysdeps/sh/configure: Regenerated.
18540         * sysdeps/sparc/configure: Regenerated.
18541         * sysdeps/unix/sysv/linux/configure: Regenerated.
18542         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18543         * sysdeps/x86_64/configure: Regenerated.
18545         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18546         defined.  Don't check if MAP is NULL.
18548 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18550         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18551         (_G_stat64): Likewise.
18552         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18553         (_G_stat64): Likewise.
18554         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18555         instead of struct _G_stat64.
18556         * libio/fileops.c (mmap_remap_check): Likewise.
18557         (decide_maybe_mmap): Likewise.
18558         (_IO_new_file_seekoff): Likewise.
18559         (_IO_file_stat): Likewise.
18560         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18561         _G_off64_t.
18562         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18563         instead of struct _G_stat64.
18564         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18566 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18568         [BZ #14602]
18569         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18570         Replace with ...
18571         (CHECK_EOL): New macro.
18572         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18573         CHECK_EOL.
18574         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18575         Replace with CHECK_EOL.
18576         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18577         Replace with CHECK_EOL.
18579 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18581         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18582         type-generic.
18583         * math/libm-test.inc: Update comment listing what functions and
18584         macros are tested.
18585         (finite_test): New function.
18586         (isinf_test): Likewise.
18587         (isnan_test): Likewise.
18588         (fpclassify_test): Test subnormal input.
18589         (isfinite_test): Likewise.
18590         (isnormal_test): Likewise.
18591         (main): Call the new functions.
18593 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18595         [BZ #14660]
18596         * Makerules (%.dynsym): Force C locale when running
18597         $(OBJDUMP) --dynamic-syms.
18599 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18601         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18602         <stdint.h>.
18604 2012-10-06  David S. Miller  <davem@davemloft.net>
18606         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18607         upper 32-bits of the length value in %o2 since we use branch-on-register
18608         tests which consider the entire 64-bit register.
18610 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18612         * string/test-strstr.c (check2): Add a test for page boundary.
18614 2012-10-05  David S. Miller  <davem@davemloft.net>
18616         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18617         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18618         file.
18619         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18620         sysdep_routines.
18621         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18622         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18623         and bzero when HWCAP_SPARC_CRYPTO is present.
18625 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18627         [BZ #14602]
18628         * string/test-strstr.c (check2): New function.
18629         (test_main): Call check2.
18631         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18632         and bug-strchr1.
18633         * string/bug-strcasestr1.c (do_test): Moved to ...
18634         * string/test-strcasestr.c (check1): Here.  New function.
18635         (do_one_test): Break out result checking code into ...
18636         (check_result): This.  New function.
18637         (do_one_test): Call check_result.
18638         (test_main): Call check1.
18639         * string/bug-strchr1.c (do_test): Moved to ...
18640         * string/test-strchr.c (check1): Here.  New function.
18641         (do_one_test): Break out result checking code into ...
18642         (check_result): This.  New function.
18643         (do_one_test): Call check_result.
18644         (test_main): Call check1.
18645         * string/bug-strstr1.c (main): Moved to ...
18646         * string/test-strstr.c (check1): Here.  New function.
18647         (do_one_test): Break out result checking code into ...
18648         (check_result): This.  New function.
18649         (do_one_test): Call check_result.
18650         (test_main): Call check1.
18651         * string/bug-strcasestr1.c: Removed.
18652         * string/bug-strchr1.c: Likewise.
18653         * string/bug-strstr1.c: Likewise.
18655         * elf/Makefile (dl-routines): Add hwcaps.
18656         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18657         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18658         (_dl_important_hwcaps): Moved to ...
18659         * elf/dl-hwcaps.c: Here.  New file.
18660         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18662         [BZ #14557]
18663         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18664         if IS_IN_rtld isn't defined.
18666         * elf/dl-support.c (_dl_sysinfo_map): New.
18667         Include "get-dynamic-info.h" and "setup-vdso.h".
18668         (_dl_non_dynamic_init): Call setup_vdso.
18669         * elf/dynamic-link.h: Don't include <assert.h>.
18670         (elf_get_dynamic_info): Moved to ...
18671         * elf/get-dynamic-info.h: Here.  New file.
18672         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18673         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18674         * elf/setup-vdso.h: Here.  New file.
18675         * elf/rtld.c: Include "setup-vdso.h".
18676         (dl_main): Call setup_vdso.
18678 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18680         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18681         creal in comment listing functions tested.  List finite, isinf,
18682         isnan, isless, islessequal, isgreater, isgreaterequal,
18683         islessgreater, isunordered, lgamma_r and pow10 as functions and
18684         macros not tested.  Mention which functions not tested are aliases
18685         for other functions.  Fix typo.  Note that signs of NaNs are not
18686         tested.
18688         * scripts/config.guess: Update from config.git.
18689         * scripts/config.sub: Likewise.
18691 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18693         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18694         * misc/madvise.c (madvise): Renamed to __madvise.
18695         Make madvise a weak alias.
18696         * include/sys/mman.h: Declare __madvise.
18697         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18698         * sysdeps/unix/syscalls.list
18699         (madvise): Make __madvise the strong name, and madvise a weak alias.
18700         * sysdeps/unix/sysv/linux/syscalls.list
18701         (madvise, mmap): Remove redundant entries.
18702         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18703         * malloc/malloc.c (mtrim): Likewise.
18704         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18706 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18708         * sysdeps/mach/hurd/dl-cache.c: File removed.
18709         * config.h.in (USE_LDCONFIG): New #undef.
18710         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18711         * configure: Regenerated.
18712         * elf/Makefile (dl-routines): Add dl-cache only under
18713         [$(use-ldconfig) = yes].
18714         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18715         cache on [USE_LDCONFIG].
18716         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18717         [USE_LDCONFIG].
18718         * elf/rtld.c (dl_main): Likewise.
18720 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18722         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18723         _SC_LEVEL4_CACHE_LINESIZE.
18725 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18727         * sysdeps/unix/bsd/confstr.h: File removed.
18729 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18731         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18732         sys/sdt-config.h.
18734 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18736         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18737         Make 'mapoff' field ElfW(Off) rather than off_t.
18739 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18741         * nscd/Makefile: Remove nscd-cflags and all its users.
18742         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18743         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18745         [BZ #10631]
18746         * malloc.c (malloc_printerr): Clarify error message.
18748 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18750         [BZ #14648]
18751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18752         Set bit_FMA_Usable if FMA is supported.
18753         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18754         macro.
18755         (bit_FMA4_Usable): Updated.
18756         (index_FMA_Usable): New macro.
18757         (CPUID_FMA): Likewise
18758         (HAS_FMA): Defined with bit_FMA_Usable.
18760 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18762         * bits/types.h (__swblk_t): Type removed.
18763         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18764         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18765         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18766         (__SWBLK_T_TYPE): Likewise.
18767         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18768         (__SWBLK_T_TYPE): Likewise.
18769         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18770         (__SWBLK_T_TYPE): Likewise.
18771         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18772         (__SWBLK_T_TYPE): Likewise.
18774 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18775             Honza Horak <hhorak@redhat.com>
18777         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18778         (xdr_mapname): Use YPMAXMAP as maxsize.
18779         (xdr_peername): Use YPMAXPEER as maxsize.
18780         (xdr_keydat): Use YPAXRECORD as maxsize.
18781         (xdr_valdat): Use YPMAXRECORD as maxsize.
18783 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18785         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18787         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18788         * csu/init-first.c: ... here.
18789         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18790         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18791         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18792         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18793         * sysdeps/i386/init-first.c: File removed.
18794         * sysdeps/sh/init-first.c: File removed.
18796 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18798         [BZ #14645]
18799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18800         if x * y might underflow to zero and z is zero.
18801         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18802         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18803         * math/libm-test.inc (min_subnorm_value): New variable.
18804         (fma_test): Add more tests.
18805         (fma_test_towardzero): Likewise.
18806         (fma_test_downward): Likewise
18807         (fma_test_upward): Likewise.
18808         (initialize): Set min_subnorm_value.
18810 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18812         [BZ #14638]
18813         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18814         0 + 0.
18815         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18816         mode for addition resulting in exact zero.
18817         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18819         exact 0 + 0.
18820         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18821         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18822         * math/libm-test.inc (fma_test): Add more tests.
18823         (fma_test_towardzero): New function.
18824         (fma_test_downward): Likewise.
18825         (fma_test_upward): Likewise.
18826         (main): Call the new functions.
18828 2012-09-28  David S. Miller  <davem@davemloft.net>
18830         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18832 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18834         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18835         instead of SIGALRM.
18837         * sysdeps/gnu/_G_config.h: Moved to ...
18838         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18839         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18840         * sysdeps/generic/_G_config.h: ... here.
18842         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18844         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18846         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18847         Conditionalize target on [libnss_test1.so-version].
18849         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18851         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18852         (elfobjdir): Move out of conditionals.
18854         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18855         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18856         (__nss_lookup_function): Conditionalize label remove_from_tree on
18857         [!DO_STATIC_NSS || SHARED], matching its only use.
18859 2012-09-28  David S. Miller  <davem@davemloft.net>
18861         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18862         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18863         file.
18864         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18865         sysdep_routines.
18866         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18867         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18868         when HWCAP_SPARC_CRYPTO is present.
18870 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18872         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18874 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18876         [BZ #6530]
18877         * stdio-common/vfprintf.c (process_string_arg): Revert
18878         2000-07-22 change.
18880 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18882         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18883         for testcase.
18884         * stdio-common/tst-sprintf.c: Include <locale.h>
18885         (main): Test sprintf's handling of incomplete multibyte
18886         characters.
18888 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18890         * elf/dl-runtime.c (VERSYMIDX): Removed.
18891         * elf/dl-version.c (VERSYMIDX): Likewise.
18892         * elf/do-rel.h (VERSYMIDX): Likewise.
18893         (VALIDX): Likewise.
18894         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18895         * elf/rtld.c (VALIDX): Likewise.
18896         (ADDRIDX): Likewise.
18897         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18898         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18899         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18900         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18901         (VALIDX): Likewise.
18902         (ADDRIDX): Likewise.
18904 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18906         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18908 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18910         [BZ #11438]
18911         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18912         to global scope.
18913         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18914         addresses are in the same scope as 192.0.2/24.
18915         * posix/gai.conf: Document new scope table defaults.
18917 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18919         [BZ #5298]
18920         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18921         for ftell.  Compute offsets from write pointers instead.
18922         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18924 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18926         [BZ #14543]
18927         * libio/Makefile (tests): New test case tst-fseek.
18928         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18929         combination works in wide mode.
18930         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18931         state when the external buffer state changes.
18933 2012-09-27  David S. Miller  <davem@davemloft.net>
18935         [BZ #14376]
18936         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18937         pass reloc->r_addend in as the 'high' argument to
18938         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18942 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18944         * rt/tst-aio2.c: Include <pthread.h>.
18945         * rt/tst-aio3.c: Likewise.
18947 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18949         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18951 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18953         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18954         contents on [SHARED].
18956 2012-09-26  Marek Polacek  <polacek@redhat.com>
18958         [BZ #14530]
18959         [BZ #13741]
18960         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18961         for C++ and GCC <4.3 as well as for non GCC compilers.
18963 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18967 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18969         * Makefile.in (all, install): Declare with .PHONY.
18970         Reported by Michael Hope <michael.hope@linaro.org>.
18972 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18974         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18975         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18976         system header.
18977         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18978         Likewise.
18979         (sydep_routines): Add the new and the internal functions.
18980         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18981         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18983         (GLIBC_2.17): Add the new function.
18984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18985         (GLIBC_2.17): Likewise.
18986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18987         (GLIBC_2.17): Likewise.
18988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18989         (GLIBC_2.17): Likewise.
18990         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18992 2012-09-25  Alan Modra  <amodra@gmail.com>
18994         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18995         Add release barrier before setting once_control to say
18996         initialisation is done.  Add hints on lwarx.  Use macro in
18997         place of isync.
18998         (clear_once_control): Add release barrier.
19000 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19002         [BZ #13629]
19003         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19004         specially.
19005         * math/s_clog10.c (__clog10): Likewise.
19006         * math/s_clog10f.c (__clog10f): Likewise.
19007         * math/s_clog10l.c (__clog10l): Likewise.
19008         * math/s_clogf.c (__clogf): Likewise.
19009         * math/s_clogl.c (__clogl): Likewise.
19010         * math/Makefile (libm-calls): Add x2y2m1.
19011         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19012         (__x2y2m1): Likewise.
19013         (__x2y2m1l): Likewise.
19014         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19015         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19016         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19017         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19018         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19019         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19020         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19021         * sysdeps/i386/fpu/libm-test-ulps: Update.
19022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19024         [BZ #14621]
19025         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19026         int as type of variable DEPTH.
19027         (glob): Use size_t instead of int as type of variables NEWCOUNT
19028         and OLD_PATHC.
19030 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19032         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19033         Add s_sincosf-sse2.
19034         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19035         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19036         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19037         macros for using routine as __sincosf_ia32.
19038         Use macro for function declaration and weak_alias.
19039         * sysdeps/i386/fpu/libm-test-ulps: Update.
19041         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19044         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19045         subnormal argument.
19046         * math/s_cexpf.c (__cexpf): Likewise.
19047         * math/s_csinf.c (__csinf): Likewise.
19048         * math/s_csinhf.c (__csinhf): Likewise.
19049         * math/s_ctanf.c (__ctanf): Likewise.
19050         * math/s_ctanhf.c (__ctanhf): Likewise.
19051         * math/s_ccosh.c (__ccoshf): Likewise.
19052         * math/s_cexp.c (__cexpl): Likewise.
19053         * math/s_csin.c (__csin): Likewise.
19054         * math/s_csinh.c (__csinh): Likewise.
19055         * math/s_ctan.c (__ctan): Likewise.
19056         * math/s_ctanh.c (ctanh): Likewise.
19057         * math/s_ccoshl.c (__ccoshl): Likewise.
19058         * math/s_cexpl.c (__cexpl): Likewise.
19059         * math/s_csinl.c (__csinl): Likewise.
19060         * math/s_csinhl.c (__csinhl): Likewise.
19061         * math/s_ctanl.c (__ctanl): Likewise.
19062         * math/s_ctanhl.c (__ctanhl): Likewise.
19064 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19066         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19067         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19068         (_IO_off_t): Define to __off_t, not _G_off_t.
19069         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19070         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19071         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19072         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19073         type of __dummy and __dummy2 fields.
19074         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19075         (_G_ssize_t): Likewise.
19076         (_G_off_t): Likewise.
19077         (_G_pid_t): Likewise.
19078         (_G_uid_t): Likewise.
19079         (_G_wchar_t): Likewise.
19080         (_G_wint_t): Likewise.
19081         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19082         (_G_ssize_t): Likewise.
19083         (_G_off_t): Likewise.
19084         (_G_pid_t): Likewise.
19085         (_G_uid_t): Likewise.
19086         (_G_wchar_t): Likewise.
19087         (_G_wint_t): Likewise.
19088         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19089         (_G_ssize_t): Likewise.
19090         (_G_off_t): Likewise.
19091         (_G_pid_t): Likewise.
19092         (_G_uid_t): Likewise.
19093         (_G_wchar_t): Likewise.
19094         (_G_wint_t): Likewise.
19096 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19098         * malloc/arena.c: Include malloc-sysdep.h.
19099         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19100         is sufficient to shrink the heap or an unmap is needed.
19101         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19102         new function check_may_shrink_heap.
19103         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19104         new function check_may_shrink_heap.
19106 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19108         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19109         comments.
19111 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19113         * catgets/test-gencat.sh: Add "set -e".
19114         * elf/tst-pathopt.sh: Likewise.
19115         * grp/tst_fgetgrent.sh: Likewise.
19116         * iconvdata/run-iconv-test.sh: Likewise.
19117         * intl/tst-gettext.sh: Likewise.
19118         * intl/tst-gettext2.sh: Likewise.
19119         * intl/tst-gettext4.sh: Likewise.
19120         * intl/tst-gettext6.sh: Likewise.
19121         * intl/tst-translit.sh: Likewise.
19122         * io/ftwtest-sh: Likewise.
19123         * libio/test-freopen.sh: Likewise.
19124         * malloc/tst-mtrace.sh: Likewise.
19125         * posix/globtest.sh: Likewise.
19126         * posix/tst-getconf.sh: Likewise.
19127         * posix/wordexp-tst.sh: Likewise.
19128         * stdio-common/tst-printf.sh: Likewise.
19129         * stdio-common/tst-unbputc.sh: Likewise.
19130         * stdlib/tst-fmtmsg.sh: Likewise.
19131         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19132         * catgets/Makefile: Do not specify -e option when running
19133         testsuite shell scripts.
19134         * elf/Makefile: Likewise.
19135         * grp/Makefile: Likewise.
19136         * iconvdata/Makefile: Likewise.
19137         * intl/Makefile: Likewise.
19138         * io/Makefile: Likewise.
19139         * libio/Makefile: Likewise.
19140         * malloc/Makefile: Likewise.
19141         * posix/Makefile: Likewise.
19142         * stdio-common/Makefile: Likewise.
19143         * stdlib/Makefile: Likewise.
19144         * sysdeps/x86_64/Makefile: Likewise.
19146         * io/ftwtest-sh: Add copyright header.
19147         * posix/globtest.sh: Likewise.
19148         * posix/tst-getconf.sh: Likewise.
19149         * posix/wordexp-tst.sh: Likewise.
19150         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19152 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19154         [BZ #13679]
19155         * Makeconfig (+link): Defined as $(+link-static) if
19156         $(build-shared) isn't yes.
19157         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19158         isn't yes.
19159         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19161         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19163         [BZ #14562]
19164         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19165         new chunk size with MALLOC_ALIGN_MASK.
19167 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19169         [BZ #5044]
19170         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19171         <rounding-mode.h>.
19172         (__printf_fphex): Determine rounding using get_rounding_mode and
19173         round_away.
19174         * stdio-common/tst-printf-round.c (struct hex_test): New
19175         structure.
19176         (hex_tests): New variable.
19177         (test_hex_in_one_mode): New function.
19178         (do_test): Also run tests for hex float output.
19180 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19182         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19183         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19184         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19185         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19186         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19187         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19188         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19189         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19191 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19193         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19194         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19195         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19196         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19198 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19200         [BZ #14579]
19201         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19202         mode only.
19203         * elf/tst-rtld-load-self.sh: New test.
19204         * elf/Makefile: Run it.
19206 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19208         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19209         (tst-writev-ENV): Remove.
19210         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19212 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19214         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19216 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19218         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19219         unconditional.
19220         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19221         Likewise.
19222         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19223         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19224         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19225         Likewise.
19227 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19229         [BZ #14587]
19230         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19231         * config.make.in (have-cpp-asm-debuginfo): Removed.
19232         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19233         * configure: Regenerated.
19235 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19237         [BZ #5044]
19238         * stdio-common/printf_fp.c: Include <stdbool.h> and
19239         <rounding-mode.h>.
19240         (___printf_fp): Determine rounding using get_rounding_mode and
19241         round_away.
19242         * stdio-common/tst-printf-round.c: New file.
19243         * stdio-common/Makefile (tests): Add tst-printf-round.
19244         (link-libm): New variable.
19245         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19247 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19249         [BZ #14576]
19250         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19251         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19252         Likewise.
19253         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19254         Likewise.
19256 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19258         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19259         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19260         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19261         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19263 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19265         [BZ #14518]
19266         * include/rounding-mode.h: New file.
19267         * sysdeps/generic/get-rounding-mode.h: Likewise.
19268         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19269         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19270         (MAX_VALUE): New macro.
19271         (MIN_VALUE): Likewise.
19272         (overflow_value): New function.
19273         (underflow_value): Likewise.
19274         (round_and_return): Use overflow_value and underflow_value to
19275         determine return values in overflow and underflow cases.  Use
19276         round_away to determine rounding depending on rounding mode.
19277         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19278         determine return values in overflow and underflow cases.
19279         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19280         (struct test_results): New structure.
19281         (struct test): Use struct test_results to store expected results
19282         for all rounding modes.
19283         (TEST): Include expected results for all rounding modes.
19284         (test_in_one_mode): New function.
19285         (do_test): Use test_in_one_mode to compute and check results.
19286         Check results for all rounding modes.
19287         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19288         $(link-libm).
19290 2012-12-09  Allan McRae  <allan@archlinux.org>
19292         * sysdeps/i386/fpu/libm-test-ulps: Update
19294 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19296         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19297         (_G_int32_t): Likewise.
19298         (_G_uint16_t): Likewise.
19299         (_G_uint32_t): Likewise.
19300         (_G_HAVE_BOOL): Likewise.
19301         (_G_HAVE_ATEXIT): Likewise.
19302         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19303         (_G_HAVE_IO_FILE_OPEN): Likewise.
19304         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19305         (_G_int32_t): Likewise.
19306         (_G_uint16_t): Likewise.
19307         (_G_uint32_t): Likewise.
19308         (_G_HAVE_BOOL): Likewise.
19309         (_G_HAVE_ATEXIT): Likewise.
19310         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19311         (_G_HAVE_IO_FILE_OPEN): Likewise.
19312         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19313         (_G_int32_t): Likewise.
19314         (_G_uint16_t): Likewise.
19315         (_G_uint32_t): Likewise.
19316         (_G_HAVE_BOOL): Likewise.
19317         (_G_HAVE_ATEXIT): Likewise.
19318         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19319         (_G_HAVE_IO_FILE_OPEN): Likewise.
19321 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19323         * csu/libc-tls.c: Update copyright years.
19325 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19327         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19328         [!_G_USING_THUNKS]: Remove conditional code.
19329         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19330         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19332         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19333         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19334         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19335         (_G_VTABLE_LABEL_PREFIX): Likewise.
19336         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19337         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19338         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19339         (_G_VTABLE_LABEL_PREFIX): Likewise.
19340         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19341         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19342         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19343         (_G_VTABLE_LABEL_PREFIX): Likewise.
19344         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19346 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19348         * libio/Makefile: Include ../Makeconfig before tests.
19349         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19350         only if $(build-shared) is yes.
19352         * iconv/gconv_db.c: Update copyright years.
19354 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19356         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19357         unwind info if defined PIC. Fix special cases description.
19358         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19360         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19361         DP_HI_MASK entry.
19362         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19364 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19366         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19368         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19369         is NULL.
19371         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19372         (LDLIBS-tst-chk4): This.
19373         (LDFLAGS-tst-chk5): Renamed to ...
19374         (LDLIBS-tst-chk5): This.
19375         (LDFLAGS-tst-chk6): Renamed to ...
19376         (LDLIBS-tst-chk6): This.
19377         (LDFLAGS-tst-lfschk4): Renamed to ...
19378         (LDLIBS-tst-lfschk4): This.
19379         (LDFLAGS-tst-lfschk5): Renamed to ...
19380         (LDLIBS-tst-lfschk5): This.
19381         (LDFLAGS-tst-lfschk6): Renamed to ...
19382         (LDLIBS-tst-lfschk6): This.
19384         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19385         on $(common-objpfx)soversions.mk.
19387 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19389         [BZ #10014]
19390         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19391         example host name.
19393 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19395         * malloc/arena.c (arena_get_retry): New function that gets
19396         another arena for the caller to try its request on.
19397         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19398         current arena cannot fulfill the request.
19399         (__libc_memalign): Likewise.
19400         (__libc_memalign): Likewise.
19401         (__libc_pvalloc): Likewise.
19402         (__libc_calloc): Likewise.
19404 2012-09-05  John Tobey  <john.tobey@gmail.com>
19406         [BZ #13542]
19407         * manual/arith.texi (Operations on Complex): Fix description
19408         of carg branch cut.
19410 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19412         [BZ #10014]
19413         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19414         host name.
19416         [BZ #10038]
19417         * manual/memory.texi (Memory): Make order of menu items match
19418         order of sections.
19420 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19422         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19423         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19424         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19426 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19428         * csu/libc-tls.c (static_dtv): Renamed to ...
19429         (_dl_static_dtv): This.  Make it global.
19430         (_dl_initial_dtv): Removed.
19431         (__libc_setup_tls): Updated.
19432         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19433         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19434         DL_INITIAL_DTV.
19436 2012-09-06  Petr Machata  <pmachata@redhat.com>
19438         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19439         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19440         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19441         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19443 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19445         [BZ #14545]
19446         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19447         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19448         freeing dtv[-1].
19450 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19452         [BZ #14544]
19453         * Makeconfig (link-static-before-libc): Replace $(+prector)
19454         with $(+prectorT).
19455         (link-static-after-libc): Replace $(+postctor) with
19456         $(+postctorT).
19457         (link-bounded): Replace $(+prector)/$(+postctor) with
19458         $(+prectorT)/$(+postctorT).
19459         (+prectorT): New macro.
19460         (+postctorT): Likewise.
19462 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19464         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19465         (round_str): Handle values above the maximum for IBM long double
19466         as inexact.
19467         * stdlib/tst-strtod-round.c (tests): Regenerated.
19469 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19471         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19472         assembler flag.
19473         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19474         zarch_nohighgprs around the zarch optimized routines.
19475         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19476         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19477         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19478         for zarch.
19480 2012-09-05  David S. Miller  <davem@davemloft.net>
19482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19484         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19485         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19486         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19487         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19488         entries.
19490 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19492         * malloc/arena.c: Fold copyright years.
19493         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19495 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19497         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19499 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19501         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19503 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19505         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19506         change internal state upon failure.
19508 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19510         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19511         * malloc/memusage.c (mmap): Likewise.
19512         (mmap64, mremap): Likewise.  Adjust name in comment.
19514 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19516         * libio/fileops.c: Fix typos in comments.
19517         * libio/oldfileops.c: Likewise.
19518         * libio/wfileops.c: Likewise.
19520 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19522         [BZ #1349]
19523         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19524         (tst-malloc-usable-ENV): Set environment for test case.
19525         * malloc/hooks.c (malloc_check_get_size): New function to get
19526         requested size.
19527         * malloc/malloc.c (musable): Use malloc_check_get_size.
19528         * malloc/tst-malloc-usable.c: New test case.
19530 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19532         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19534 2012-09-05  Allan McRae  <allan@archlinux.org>
19536         [BZ #13966]
19537         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19538         determine header location.
19539         * configure: Regenerated.
19541 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19543         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19544         float format.
19545         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19546         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19547         format.
19548         (test): Regenerate.
19550 2012-09-04  David S. Miller  <davem@davemloft.net>
19552         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19553         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19554         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19556 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19558         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19559         failures.
19561         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19563 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19565         [BZ #9914]
19566         * libio/iogetdelim.c: Include <limits.h>.
19567         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19568         + len + 1 would overflow.
19570 2012-09-03  Andreas Jaeger  <aj@suse.de>
19572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19573         * sysdeps/i386/fpu/libm-test-ulps: Update.
19575 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19577         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19578         Add s_sinf-sse2, s_conf-sse2.
19580         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19581         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19582         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19583         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19585         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19586         for using routine as __sinf_ia32.
19587         Use macro for function declaration and weak_alias.
19588         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19589         for using routine as __cosf_ia32.
19590         Use macro for function declaration and weak_alias.
19592         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19593         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19595         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19596         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19599         * math/libm-test.inc (cos_test): Add more test cases.
19600         (sin_test): Likewise.
19601         (sincos_test): Likewise.
19603 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19605         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19606         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19607         hidden.
19608         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19610 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19612         [BZ #14538]
19613         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19614         first element of the GOT.
19615         (elf_machine_load_address): Return the difference between
19616         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19618 2012-09-01  Allan McRae  <allan@archlinux.org>
19620         [BZ #13412]
19621         * configure.in (AWK): Require gawk version 3.0 or later.
19622         * configure: Regenerated.
19624 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19626         * sysdeps/unix/sysv/linux/kernel-features.h
19627         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19628         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19629         [__NR_clock_getres]: Make code unconditional.
19630         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19631         (clock_getcpuclockid): Remove code left unreachable by removal of
19632         conditionals.
19633         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19634         code unconditional.
19635         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19636         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19637         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19638         Make code unconditional.
19639         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19640         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19641         * sysdeps/unix/sysv/linux/clock_settime.c
19642         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19643         conditional code.
19644         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19645         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19647 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19649         [BZ #14476]
19650         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19651         scripts/test-installation.pl.
19653         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19654         and $ld_so_version if it is set.
19656 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19658         [BZ #14516]
19659         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19660         failure if reading from procfs failed.
19661         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19663 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19665         * sysdeps/unix/sysv/linux/kernel-features.h
19666         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19667         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19668         Remove conditional code.
19669         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19670         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19671         Remove conditional code.
19672         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19673         * sysdeps/unix/sysv/linux/i386/fxstat.c
19674         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19675         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19676         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19677         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19678         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19679         * sysdeps/unix/sysv/linux/i386/lxstat.c
19680         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19681         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19682         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19683         Remove conditional code.
19684         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19685         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19686         Remove conditional code.
19687         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19688         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19689         <kernel-features.h>.
19690         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19691         Remove.
19692         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19693         Remove conditional code.
19694         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19695         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19696         Remove conditional.
19698 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19700         [BZ #5400]
19701         * NEWS: Add fixed bug number.
19703 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19705         [BZ #14519]
19706         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19707         underflowing exponent in case of negative sign.
19708         * stdlib/tst-strtod-round-data: Add more tests.
19709         * stdlib/tst-strtod-round.c (tests): Regenerated.
19711         [BZ #3479]
19712         * stdlib/strtod_l.c (NDIG): Remove.
19713         (HEXNDIG): Likewise.
19714         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19715         smallest representable value.
19716         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19717         lie within an exact representation of 1/2 ulp of the result.
19718         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19719         unconditionally.
19720         (TENS_P9_IDX): Define unconditionally.
19721         (TENS_P9_SIZE): Likewise.
19722         (TENS_P10_IDX): Likewise.
19723         (TENS_P10_SIZE): Likewise.
19724         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19725         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19726         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19727         entries for 10^2^13 and 10^2^14.
19728         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19729         (TENS_P13_IDX): Define.
19730         (TENS_P13_SIZE): Likewise.
19731         (TENS_P14_IDX): Likewise.
19732         (TENS_P14_SIZE): Likewise.
19733         (_fpioconst_pow10): Change array size to
19734         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19735         unconditional.
19736         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19737         1024]: Add entries for 10^2^13 and 10^2^14.
19738         [LAST_POW10 > _LAST_POW10]: Remove #error.
19739         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19740         (_fpioconst_pow10): Change array size to
19741         FPIOCONST_POW10_ARRAY_SIZE.
19742         * stdlib/gen-fpioconst.c: New file.
19743         * stdlib/gen-tst-strtod-round.c: Likewise.
19744         * stdlib/tst-strtod-round-data: Likewise.
19745         * stdlib/tst-strtod-round.c: Likewise.
19746         * stdlib/Makefile (tests): Add tst-strtod-round.
19748         [BZ #14459]
19749         * stdlib/strtod_l.c: Include <stdint.h>.
19750         (NDEBUG): Do not define.
19751         (round_and_return): Change EXPONENT parameter to type intmax_t.
19752         Rearrange calculations to avoid internal overflow possibilities.
19753         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19754         Rearrange calculations to avoid internal overflow possibilities.
19755         Assert that number fits inside MPNSIZE limbs.
19756         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19757         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19758         calculations and add assertions to avoid internal overflow
19759         possibilities.  Add casts to avoid signed/unsigned operations.
19760         * stdlib/tst-strtod-overflow.c: New file.
19761         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19763 2012-08-25  Marek Polacek  <polacek@redhat.com>
19765         * time/time.h: Fix some typos in comments.
19767 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19769         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19770         * posix/tst-rfc3484-2.c: Likewise.
19771         * posix/tst-rfc3484-3.c: Likewise.
19773 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19775         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19776         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19778 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19780         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19781         #include of fxstatat64.c.
19783 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19785         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19786         * shadow/getspent_r.c: Likewise.
19787         * shadow/getspnam.c: Likewise.
19788         * shadow/getspnam_r.c: Likewise.
19789         * gshadow/getsgent.c: Likewise.
19790         * gshadow/getsgent_r.c: Likewise.
19791         * gshadow/getsgnam.c: Likewise.
19792         * gshadow/getsgnam_r.c: Likewise.
19793         * inet/getnetbyad.c: Likewise.
19794         * inet/getnetbyad_r.c: Likewise.
19795         * inet/getnetbynm.c: Likewise.
19796         * inet/getnetbynm_r.c: Likewise.
19797         * inet/getnetent.c: Likewise.
19798         * inet/getnetent_r.c: Likewise.
19799         * inet/getproto.c: Likewise.
19800         * inet/getproto_r.c: Likewise.
19801         * inet/getprtent.c: Likewise.
19802         * inet/getprtent_r.c: Likewise.
19803         * inet/getprtname.c: Likewise.
19804         * inet/getprtname_r.c: Likewise.
19805         * inet/getrpcbyname.c: Likewise.
19806         * inet/getrpcbyname_r.c: Likewise.
19807         * inet/getrpcbynumber.c: Likewise.
19808         * inet/getrpcbynumber_r.c: Likewise.
19809         * inet/getrpcent.c: Likewise.
19810         * inet/getrpcent_r.c: Likewise.
19811         * inet/getaliasent.c: Likewise.
19812         * inet/getaliasent_r.c: Likewise.
19813         * inet/getaliasname.c: Likewise.
19814         * inet/getaliasname_r.c: Likewise.
19815         * nscd/getgrgid_r.c: Likewise.
19816         * nscd/getgrnam_r.c: Likewise.
19817         * nscd/gethstbyad_r.c: Likewise.
19818         * nscd/gethstbynm3_r.c: Likewise.
19819         * nscd/getpwnam_r.c: Likewise.
19820         * nscd/getpwuid_r.c: Likewise.
19821         * nscd/getsrvbynm_r.c: Likewise.
19822         * nscd/getsrvbypt_r.c: Likewise.
19823         * nscd/gai.c: Likewise.
19825         * configure.in (build_nscd): New substituted variable, set
19826         by --disable-build-nscd and defaults to $use_nscd.
19827         * configure: Regenerated.
19828         * config.make.in (build-nscd): New substituted variable.
19829         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19830         Change conditional to require [$(build-nscd) = yes] as well.
19831         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19833         [BZ# 13696]
19834         * configure.in (use_nscd): New substituted variable, set by
19835         --disable-nscd.  If enabled, define USE_NSCD.
19836         * configure: Regenerated.
19837         * config.h.in: Add USE_NSCD.
19838         * config.make.in (use-nscd): New substituted variable.
19839         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19840         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19841         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19842         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19843         (CFLAGS-getgrnam_r.c): Likewise.
19844         (CFLAGS-initgroups.c): Likewise.
19845         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19846         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19847         Variables removed.
19848         * inet/getnetgrent_r.c
19849         (nscd_setnetgrent): New function, broken out of ...
19850         (setnetgrent): ... here.  Call it.
19851         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19852         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19853         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19854         * nscd/Makefile (routines, aux): Move definitions after include of
19855         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19856         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19857         Conditionalize on [USE_NSCD].
19858         (is_nscd, nscd_init_cb): Likewise.
19859         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19860         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19861         * nss/nss_db/db-init.c: Likewise.
19862         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19863         [USE_NSCD].
19864         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19865         (make_request): Use it.
19866         (cache_valid_p): New function.
19867         (__check_pf): Use it.
19868         * NEWS: Add item for --disable-nscd.
19870 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19872         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19873         to support sed >= 4.2.1-20-ga9bf076.
19874         * configure: Regenerated.
19876 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19878         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19879         Conditionalize whole body on [IREL].
19881 2012-08-22  Jeff Law <law@redhat.com>
19883         [BZ #14505]
19884         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19885         if the family is PF_UNSPEC.
19887 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19889         * Makerules (lib-version): Rename from V.
19890         (install-lib-nosubdir): Change V to lib-version.
19892 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19894         [BZ #14252]
19895         * powerpc32/power6/wcschr.c: New file.
19896         * powerpc32/power6/wcscpy.c: New file.
19897         * powerpc32/power6/wcsrchr.c: New file.
19898         * powerpc64/power6/wcschr.c: New file.
19899         * powerpc64/power6/wcscpy.c: New file.
19900         * powerpc64/power6/wcsrchr.c: New file.
19902 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19904         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19905         (two_way_short_needle): Use it.
19906         * string/strstr.c (AVAILABLE1_USES_J): Define.
19907         * string/strcasestr.c: Likewise.
19909         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19910         array references.
19911         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19913         [BZ #11607]
19914         * NEWS: Add an entry.
19915         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19916         define their defaults.
19917         (two_way_short_needle): Detect end-of-string on-the-fly.
19918         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19919         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19920         * string/bug-strcasestr1.c: New test.
19921         * string/Makefile: Run it.
19923 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19925         [BZ #11607]
19926         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19927         the first character.
19929 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19931         * csu/elf-init.c (__libc_csu_irel): Function removed.
19932         * csu/libc-start.c (apply_irel): New function.
19933         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19935 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19937         * sysdeps/unix/sysv/linux/kernel-features.h
19938         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19939         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19940         <kernel-features.h>.
19941         [__NR_fadvise64_64]: Make code unconditional.
19942         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19943         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19944         !__NR_fadvise64_64)]: Likewise.
19945         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19946         !__NR_fadvise64_64))]: Likewise.
19947         [__NR_fadvise64]: Make code unconditional.
19948         [!__NR_fadvise64]: Remove conditional code.
19949         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19950         <kernel-features.h>.
19951         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19952         unconditional.
19953         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19954         conditional code.
19955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19956         not include <kernel-features.h>.
19957         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19958         unconditional.
19959         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19960         conditional code.
19961         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19962         include <kernel-features.h>.
19963         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19964         unconditional.
19965         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19966         conditional code.
19968 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19970         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19971         slight instruction rearrangements per scrollpipe analysis.
19972         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19974 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19976         * manual/syslog.texi (syslog; vsyslog, closelog):
19977         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19978         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19980         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19981         DSOCAPS to match condition on defining it.
19983 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19985         * sysdeps/unix/sysv/linux/kernel-features.h
19986         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19988         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19989         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19991         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19992         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19994         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19995         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19997         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19998         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20000         * sysdeps/unix/sysv/linux/kernel-features.h
20001         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20002         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20003         unconditional.
20004         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20005         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20006         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20007         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20008         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20009         Make code unconditional.
20010         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20011         (__mmap64) [!__NR_mmap2]: Likewise.
20012         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20013         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20014         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20015         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20016         [__NR_mmap2]: Make code unconditional.
20017         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20018         (__mmap64) [!__NR_mmap2]: Likewise.
20020 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20022         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20024 2012-08-18  Andreas Jaeger  <aj@suse.de>
20026         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20028 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20030         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20031         * include/unistd.h (__have_sock_cloexec): Likewise.
20032         (__have_pipe2): Likewise.
20033         (__have_dup3): Likewise.
20035 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20037         [BZ #9685]
20038         * include/unistd.h (__have_pipe2): Change define into an extern int.
20039         (__have_dup3): Likewise.
20040         * socket/have_sock_cloexec.c: Include fcntl.h.
20041         (__have_pipe2): New variable.
20042         (__have_dup3): Likewise.
20044 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20046         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20048 2012-08-17  Marek Polacek  <polacek@redhat.com>
20050         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20051         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20053 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20055         * configure.in: Add AC_SUBST for sysheaders.
20056         * configure: Regenerated.
20057         * config.make.in (sysheaders): New substituted variable.
20059         * sysdeps/unix/mkfifo.c: Moved ...
20060         * sysdeps/posix/mkfifo.c: ... here.
20061         * sysdeps/unix/mkfifoat.c: Moved ...
20062         * sysdeps/posix/mkfifoat.c: ... here.
20064         * sysdeps/unix/utime.c: Moved ...
20065         * sysdeps/posix/utime.c: ... here.
20067         * sysdeps/unix/time.c: Moved ...
20068         * sysdeps/posix/time.c: ... here.
20069         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20070         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20072         * sysdeps/unix/nice.c: Moved ...
20073         * sysdeps/posix/nice.c: ... here.
20075         * sysdeps/unix/alarm.c: Moved ...
20076         * sysdeps/posix/alarm.c: ... here.
20078         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20080 2012-08-17  Jeff Law <law@redhat.com>
20082         * intl/Makefile (codeset_mo): New variable.
20083         ($(codeset_mo)): New target.
20084         (tst-codeset.out): Depend on that.  Remove explicit rule.
20085         (tst-gettext3.out, tst-gettext5.out): Likewise.
20086         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20087         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20088         * intl/tst-codeset.sh: Remove.
20089         * intl/tst-gettext3.sh: Likewise.
20090         * intl/tst-gettext5.sh: Likewise.
20092 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20094         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20095         * sysdeps/unix/syscalls.list: ... here.
20097         * sysdeps/posix/getaddrinfo.c
20098         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20099         (gaiconf_init, gaiconf_reload): Use them.
20100         [!_STATBUF_ST_NSEC]
20101         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20102         Define using time_t rather than struct timespec.
20104         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20105         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20106         Macros removed.
20107         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20108         [!NO_THREADS].
20109         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20110         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20111         Likewise.
20113         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20114         __libc_cleanup_push argument.
20116         * bits/param.h: New file.
20117         * misc/sys/param.h: New file.
20118         * include/sys/param.h: New file.
20119         * misc/Makefile (headers): Add bits/param.h.
20120         * sysdeps/generic/sys/param.h: File removed.
20121         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20122         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20123         * sysdeps/mach/hurd/bits/param.h: New file.
20124         * sysdeps/mach/hurd/sys/param.h: File removed.
20126         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20127         last change.
20129         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20130         [_IO_MTSAFE_IO].
20131         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20132         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20133         New macros.
20135         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20136         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20137         rather than -D_IO_MTSAFE_IO conditionally.
20138         * stdio-common/Makefile (CPPFLAGS): Likewise.
20139         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20140         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20141         Use $(libio-mtsafe).
20142         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20143         of -D_IO_MTSAFE_IO.
20144         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20145         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20146         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20147         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20148         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20149         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20150         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20151         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20152         (CFLAGS-fread_u_chk.c): Likewise.
20153         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20154         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20155         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20156         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20157         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20158         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20159         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20160         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20161         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20163         * libio/Makefile: Test [$(libc-reentrant) = yes]
20164         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20166         * Makeconfig
20167         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20168         * sysdeps/pthread/configure: File removed.
20169         * sysdeps/pthread/Makeconfig: New file.
20170         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20171         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20173 2012-08-16  Gary Benson  <gbenson@redhat.com>
20175         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20176         unmapping the first object in a namespace.
20178 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20180         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20181         (__internal_setnetgrent): ... this.  Add internal_function to
20182         definition.  Add libc_hidden_def.
20183         (setnetgrent): Update caller.
20184         (internal_endnetgrent): Renamed to ...
20185         (__internal_endnetgrent): ... this.  Add internal_function to
20186         definition.  Add libc_hidden_def.
20187         (endnetgrent): Update caller.
20188         (internal_getnetgrent_r): Renamed to ...
20189         (__internal_getnetgrent_r): ... this.  Add internal_function to
20190         definition.  Add libc_hidden_def.
20191         (__getnetgrent_r): Update caller.
20192         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20194 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20196         * stdlib/longlong.h: Update from GCC.
20198 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20200         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20201         on _QL, which is set by umul_ppmm but never used.
20202         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20203         variables, which are set by GMP macros but never used.
20204         * stdio-common/_itowa.c (_itowa): Likewise.
20205         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20206         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20208 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20210         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20211         struct La_sh_regs is not constant.
20212         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20213         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20214         and struct La_sparc64_regs are not constant.
20216 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20218         * sysdeps/unix/sysv/linux/kernel-features.h
20219         (__ASSUME_POSIX_TIMERS): Remove.
20220         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20221         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20222         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20223         Make code unconditional.
20224         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20225         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20226         Make code unconditional.
20227         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20228         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20229         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20230         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20231         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20232         Make code unconditional.
20233         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20234         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20235         (__libc_missing_posix_timers): Remove.
20237 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20239         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20240         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20242         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20244         * elf/dl-sym.c: Include <stdlib.h>.
20246         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20247         constants, which avoids warnings in 32-bit builds.
20249         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20250         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20252         * misc/lseek.c: File moved to ...
20253         * io/lseek.c: ... here.
20255         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20257         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20258         shifting LEN more than 31 bits at once.
20260 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20262         [BZ #14195]
20263         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20264         segmentation fault for a case of two empty input strings.
20265         * string/test-strncasecmp.c (check1): Renamed to...
20266         (bz12205): ...this.
20267         (bz14195): Add new testcase for two empty input strings and N > 0.
20268         (test_main): Call new testcase, adapt for renamed function.
20270 2012-08-15  Andreas Jaeger  <aj@suse.de>
20272         [BZ #14090]
20273         * crypt/md5test2.c: New test, based on test supplied by Serge
20274         Belyshev <belyshev@depni.sinp.msu.ru>.
20275         * crypt/Makefile (xtests): Add md5test-giant..
20276         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20278 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20280         [BZ #14090]
20281         * crypt/md5.c (md5_process_block): Don't assume the buffer
20282         length is less than 2**32.
20283         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20284         length is less than 2**64.
20286 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20288         * string/str-two-way.h: Include <sys/param.h>.
20289         (MAX): Macro removed.
20291         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20292         Move #define and #undef of memmove to just before and after
20293         including <string.h>.
20295         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20296         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20297         and after including <string.h>.  Move declarations of
20298         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20299         to before #include "string/memmove.c".
20301         * include/dirent.h: Declare __getdirentries.
20303         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20304         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20306 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20308         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20309         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20310         * sysdeps/i386/configure: Regenerated.
20311         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20312         STABS_CURRENT_FILE, and STABS_FUN.
20313         (END): Remove call to STABS_FUN_END.
20314         (STABS_CURRENT_FILE1): Delete.
20315         (STABS_CURRENT_FILE): Likewise.
20316         (STABS_FUN): Likewise.
20317         (STABS_FUN_END): Likewise.
20318         (STABS_FUN2): Likewise.
20319         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20320         * sysdeps/x86_64/configure: Regenerated.
20322 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20324         * elf/dl-open.c: Include <atomic.h>.
20325         * elf/dl-lookup.c: Likewise.
20327 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20329         * sysdeps/unix/sysv/linux/kernel-features.h
20330         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20331         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20332         unconditionally.
20333         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20334         unconditionally.
20335         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20336         condition on __ASSUME_CLONE_THREAD_FLAGS.
20338 2012-08-14  Andreas Jaeger  <aj@suse.de>
20340         * sysdeps/i386/fpu/libm-test-ulps: Update.
20342 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20344         * include/atomic.h (atomic_exchange_and_add): Split into ...
20345         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20346         New atomic macros.
20348 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20350         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20352 2012-08-13  Jeff Law <law@redhat.com>
20354         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20355         null byte in the output string.
20357 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20359         * sysdeps/unix/sysv/linux/kernel-features.h
20360         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20361         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20362         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20363         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20364         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20365         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20366         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20368 2012-08-09  Jeff Law <law@redhat.com>
20370         [BZ #13939]
20371         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20372         When avoid_arena is set, don't retry in the that arena.  Pick the
20373         next one, whatever it might be.
20374         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20375         (arena_lock): Pass in new parameter to arena_get2.
20376         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20377         arena_get2.
20378         (__libc_malloc): Unify retrying after main arena failure with
20379         __libc_memalign version.
20380         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20382 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20384         [BZ #14166]
20385         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20386         to __redirect_strstr.
20387         (__strstr_sse42): Use typeof __redirect_strstr.
20388         (__strstr_ia32): Likewise.
20389         (__libc_strstr): New prototype.
20390         (strstr): Renamed to ...
20391         (__libc_strstr): This.
20392         (strstr): New strong alias of __libc_strstr.
20393         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20394         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20395         __redirect_time.
20396         Include <time.h>.
20397         (__libc_time): New prototype.
20398         (time_ifunc): Replace time with __libc_time.
20399         (time): New strong alias and hidden definition of __libc_time.
20400         (__GI_time): Remove strong alias.
20401         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20402         Include <stddef.h>.
20403         (memmove): Redefined to __redirect_memmove.
20404         (__memmove_sse2): Use typeof __redirect_memmove.
20405         (__memmove_ssse3): Likewise.
20406         (__memmove_ssse3_back): Likewise.
20407         (__libc_memmove): New prototype.
20408         (memmove): Renamed to ...
20409         (__libc_memmove): This.
20410         (memmove): New strong alias of __libc_memmove.
20412 2012-08-08  Mark Salter  <msalter@redhat.com>
20414         * elf/elf.h
20415         (R_MN10300_TLS_GD): Define.
20416         (R_MN10300_TLS_LD): Likewise.
20417         (R_MN10300_TLS_LDO): Likewise.
20418         (R_MN10300_TLS_GOTIE): Likewise.
20419         (R_MN10300_TLS_IE): Likewise.
20420         (R_MN10300_TLS_LE): Likewise.
20421         (R_MN10300_TLS_DTPMOD): Likewise.
20422         (R_MN10300_TLS_DTPOFF): Likewise.
20423         (R_MN10300_TLS_TPOFF): Likewise.
20424         (R_MN10300_SYM_DIFF): Likewise.
20425         (R_MN10300_ALIGN): Likewise.
20426         (R_MN10300_NUM): Update.
20428 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20430         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20431         Remove.
20433 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20435         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20437         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20438         sysdeps/unix -> sysdeps/posix move.
20439         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20441 2012-08-07      Allan McRae     <allan@archlinux.org>
20443         [BZ #14303]
20444         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20445         (SUNOS_CPP): Likewise.
20446         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20447         not found.
20448         (open_input): Call CPP using execvp.
20450 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20452         * sysdeps/unix/sysv/linux/kernel-features.h
20453         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20454         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20455         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20456         (__ASSUME_WAITID_SYSCALL): Likewise.
20457         * sysdeps/unix/sysv/linux/dl-execstack.c
20458         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20459         code unconditional.
20460         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20461         conditional code.
20462         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20463         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20464         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20465         code.
20466         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20467         unconditional.
20468         [__ASSUME_WAITID_SYSCALL]: Likewise.
20469         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20471 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20473         * sysdeps/unix/closedir.c: Renamed to ...
20474         * sysdeps/posix/closedir.c: ... here.
20475         * sysdeps/unix/dirfd.c: Renamed to ...
20476         * sysdeps/posix/dirfd.c: ... here.
20477         * sysdeps/unix/dirstream.h: Renamed to ...
20478         * sysdeps/posix/dirstream.h: ... here.
20479         * sysdeps/unix/fdopendir.c: Renamed to ...
20480         * sysdeps/posix/fdopendir.c: ... here.
20481         * sysdeps/unix/opendir.c: Renamed to ...
20482         * sysdeps/posix/opendir.c: ... here.
20483         * sysdeps/unix/readdir.c: Renamed to ...
20484         * sysdeps/posix/readdir.c: ... here.
20485         * sysdeps/unix/readdir_r.c: Renamed to ...
20486         * sysdeps/posix/readdir_r.c: ... here.
20487         * sysdeps/unix/rewinddir.c: Renamed to ...
20488         * sysdeps/posix/rewinddir.c: ... here.
20489         * sysdeps/unix/seekdir.c: Renamed to ...
20490         * sysdeps/posix/seekdir.c: ... here.
20491         * sysdeps/unix/telldir.c: Renamed to ...
20492         * sysdeps/posix/telldir.c: ... here.
20493         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20494         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20495         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20496         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20498         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20499         * bits/fcntl.h: ... here.
20501         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20502         not 0.
20503         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20504         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20505         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20506         (struct flock): Move l_start, l_len to the beginning.
20507         Use __pid_t for l_pid.
20508         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20509         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20510         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20511         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20512         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20513         [__USE_LARGEFILE64] (struct flock64): New type.
20514         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20516         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20517         * bits/dirent.h: ... here.
20519         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20520         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20522 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20524         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20525         Change from 2.6.0 to 2.6.16.
20526         * sysdeps/unix/sysv/linux/configure: Regenerated.
20527         * sysdeps/unix/sysv/linux/kernel-features.h
20528         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20529         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20530         version.
20531         (__ASSUME_UTIMES): Likewise.
20532         (__ASSUME_CLONE_STOPPED): Remove.
20533         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20534         architectures, not kernel version.
20535         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20536         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20537         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20538         (__ASSUME_WAITID_SYSCALL): Likewise.
20539         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20540         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20541         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20542         refer to older versions.
20544 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20546         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20547         Define alphasort64 as an alias.
20548         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20549         Define versionsort64 as an alias.
20550         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20551         Define scandir64 as an alias.
20552         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20553         Define scandirat64 as an alias.
20554         * dirent/alphasort64.c (alphasort64):
20555         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20556         * dirent/versionsort64.c: Likewise.
20557         * dirent/scandir64.c: Likewise.
20558         * dirent/scandirat64.c: Likewise.
20559         * sysdeps/wordsize-64/alphasort.c: File removed.
20560         * sysdeps/wordsize-64/alphasort64.c: File removed.
20561         * sysdeps/wordsize-64/scandir.c: File removed.
20562         * sysdeps/wordsize-64/scandir64.c: File removed.
20563         * sysdeps/wordsize-64/scandirat.c: File removed.
20564         * sysdeps/wordsize-64/scandirat64.c: File removed.
20565         * sysdeps/wordsize-64/versionsort.c: File removed.
20566         * sysdeps/wordsize-64/versionsort64.c: File removed.
20567         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20568         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20569         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20570         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20571         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20572         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20573         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20574         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20576         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20577         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20578         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20579         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20580         [defined __arch64__ || defined __sparcv9]
20581         (__INO_T_MATCHES_INO64_T): New macro.
20582         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20583         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20584         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20585         * sysdeps/unix/sysv/linux/bits/dirent.h
20586         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20587         (_DIRENT_MATCHES_DIRENT64): New macro.
20589         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20590         Define lockf64 as an alias.
20591         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20592         Define fseeko64 as an alias.
20593         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20594         Define ftello64 as an alias.
20595         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20596         Define _IO_fgetpos64 and fgetpos64 as aliases.
20597         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20598         Define _IO_fsetpos64 and fsetpos64 as aliases.
20599         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20600         Conditionalize body on this.
20601         * libio/fseeko64.c: Likewise.
20602         * libio/ftello64.c: Likewise.
20603         * libio/iofgetpos64.c: Likewise.
20604         * libio/iofsetpos64.c: Likewise.
20605         * sysdeps/wordsize-64/lockf.c: File removed.
20606         * sysdeps/wordsize-64/lockf64.c: File removed.
20607         * sysdeps/wordsize-64/fseeko.c: File removed.
20608         * sysdeps/wordsize-64/fseeko64.c: File removed.
20609         * sysdeps/wordsize-64/ftello.c: File removed.
20610         * sysdeps/wordsize-64/ftello64.c: File removed.
20611         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20612         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20613         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20614         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20615         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20616         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20617         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20618         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20619         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20620         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20621         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20622         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20623         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20624         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20626         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20627         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20628         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20629         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20630         [defined __arch64__ || defined __sparcv9]
20631         (__OFF_T_MATCHES_OFF64_T): New macro.
20632         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20633         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20634         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20635         (__OFF_T_MATCHES_OFF64_T): New macro.
20637 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20639         * stdlib/secure-getenv.c (__secure_getenv): Replace
20640         GLIBC_2_16 with GLIBC_2_17.
20642 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20644         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20645         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20647 2012-08-03  David S. Miller  <davem@davemloft.net>
20649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20651 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20653         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20654         Remove.
20655         (__ASSUME_CORRECT_SI_PID): Likewise.
20656         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20657         (__ASSUME_TMPFS_NAME): Likewise.
20658         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20659         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20660         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20661         (HAVE_AUX_SECURE): Make definition unconditional.
20662         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20663         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20665 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20667         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20668         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20669         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20670         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20671         __eloop_threshold instead of SYMLOOP_MAX.
20673         * sysdeps/generic/eloop-threshold.h: New file.
20674         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20675         of MAXSYMLINKS.
20676         * elf/chroot_canon.c (chroot_canon): Likewise.
20678 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20680         [BZ #13717]
20681         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20682         Change to 2.6.0 everywhere.
20683         * sysdeps/unix/sysv/linux/configure: Regenerated.
20684         * sysdeps/unix/sysv/linux/kernel-features.h
20685         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20686         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20687         kernel versions.
20688         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20689         (__ASSUME_FUTEX_REQUEUE): Remove.
20690         (__ASSUME_STATFS64): Define unconditionally.
20691         (__ASSUME_AT_SECURE): Likewise.
20692         (__ASSUME_CORRECT_SI_PID): Likewise.
20693         (__ASSUME_TGKILL): Define without depending on kernel version for
20694         i386.
20695         (__ASSUME_UTIMES): Likewise.
20696         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20697         kernel version.
20698         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20699         (__ASSUME_TMPFS_NAME): Likewise.
20700         * README: Update reference to Linux kernel versions.
20702 2012-08-02  Marek Polacek  <polacek@redhat.com>
20704         [BZ# 14150]
20705         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20706         libc_cv_asm_type_prefix with %.
20707         * configure: Regenerated.
20708         * include/libc-symbols.h: Remove comment about
20709         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20710         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20711         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20712         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20713         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20714         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20715         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20716         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20717         * elf/tst-unique2mod1.c: Likewise.
20718         * elf/tst-unique1mod2.c: Likewise.
20719         * elf/tst-unique1mod1.c: Likewise.
20720         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20721         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20722         Replace ASM_TYPE_DIRECTIVE with .type.
20723         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20724         * sysdeps/i386/sysdep.h: Likewise.
20725         * sysdeps/x86_64/sysdep.h: Likewise.
20726         * sysdeps/sh/sysdep.h: Likewise.
20727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20728         Do not define ASM_TYPE_DIRECTIVE.
20729         * sysdeps/powerpc/sysdep.h: Likewise.
20730         * sysdeps/powerpc/powerpc32/sysdep.h:
20731         Replace ASM_TYPE_DIRECTIVE with .type.
20732         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20733         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20734         * sysdeps/i386/fpu/e_powf.S: Likewise.
20735         * sysdeps/i386/fpu/e_expl.S: Likewise.
20736         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20737         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20738         * sysdeps/i386/fpu/e_pow.S: Likewise.
20739         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20740         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20741         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20742         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20743         * sysdeps/i386/fpu/e_log2.S: Likewise.
20744         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20745         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20746         * sysdeps/i386/fpu/e_powl.S: Likewise.
20747         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20748         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20749         * sysdeps/i386/fpu/e_logl.S: Likewise.
20750         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20751         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20752         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20753         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20754         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20755         * sysdeps/i386/fpu/e_log.S: Likewise.
20756         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20757         * sysdeps/i386/fpu/e_logf.S: Likewise.
20758         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20759         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20760         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20761         * sysdeps/i386/fpu/e_log10.S: Likewise.
20762         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20763         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20764         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20765         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20766         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20767         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20768         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20769         * sysdeps/i386/i686/strtok.S: Likewise.
20770         * sysdeps/i386/i386-mcount.S: Likewise.
20771         * sysdeps/i386/strtok.S: Likewise.
20772         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20773         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20774         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20775         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20776         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20777         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20778         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20779         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20780         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20781         * sysdeps/x86_64/_mcount.S: Likewise.
20782         * sysdeps/x86_64/strtok.S: Likewise.
20783         * sysdeps/sh/_mcount.S: Likewise.
20785 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20787         * libio/iofopen.c: Include <fcntl.h>.
20788         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20789         (_IO_fopen64, fopen64): Define as aliases.
20790         * libio/iofopen64.c: Include <fcntl.h>.
20791         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20792         Conditionalize body on this.
20793         * sysdeps/wordsize-64/iofopen.c: File removed.
20794         * sysdeps/wordsize-64/iofopen64.c: File removed.
20796 2012-08-01  Marek Polacek  <polacek@redhat.com>
20798         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20799         Use dlfcn directly instead of a variable.
20800         (binfmt-subdir): Do not define.
20801         (dlfcn): Likewise.
20803 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20805         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20806         Remove all definitions.
20807         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20808         <kernel-features.h>.
20809         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20810         (miss_F_GETOWN_EX): Remove all definitions.
20811         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20812         macro definition.
20813         [!__ASSUME_FCNTL64]: Remove conditional code.
20814         [__ASSUME_FCNTL64]: Make code unconditional.
20815         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20816         <kernel-features.h>.
20817         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20818         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20819         (lockf64) [__NR_fcntl64]: Make code unconditional.
20820         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20822         * sysdeps/unix/sysv/linux/kernel-features.h
20823         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20824         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20825         Make code unconditional.
20826         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20827         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20829         [__NR_vfork]: Make code unconditional.
20830         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20831         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20833         [__NR_vfork]: Make code unconditional.
20834         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20835         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20837 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20839         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20840         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20842         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20843         Define mkstemp64 as an alias.
20844         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20845         Define mkstemps64 as an alias.
20846         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20847         Define mkostemp64 as an alias.
20848         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20849         Define mkostemps64 as an alias.
20850         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20851         Conditionalize body on this.
20852         * misc/mkostemp64.c: Likewise.
20853         * misc/mkostemps64.c: Likewise.
20854         * misc/mkstemps64.c: Likewise.
20855         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20856         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20857         * sysdeps/wordsize-64/mkostemp.c: File removed.
20858         * sysdeps/wordsize-64/mkstemp.c: File removed.
20859         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20860         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20861         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20862         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20864         [BZ #14138]
20865         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20866         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20867         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20868         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20870         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20871         compat_symbol macros from <shlib-compat.h> rather than the underlying
20872         default_symbol_version and symbol_version macros, so that DEFAULT
20873         lines in shlib-versions are respected.
20874         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20876 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20878         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20879         Declare with warn_unused_result.
20880         (setgid, setregid, setegid, setresgid): Likewise.
20881         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20882         Likewise.
20883         * WUR-REPORT: Remove set*id functions.
20885 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20887         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20889 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20891         [BZ #10191]
20892         * include/sys/socket.h (__libc_accept, __libc_accept4):
20893         Add attribute_hidden.
20894         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20896         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20897         use of PTR_MANGLE.
20898         * inet/getnetgrent_r.c (setup): Likewise.
20900         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20902 2012-07-31  David S. Miller  <davem@davemloft.net>
20904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20906 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20908         [BZ #13629]
20909         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20910         value between 1.0 and 2.0 and smaller part has absolute value less
20911         than 1.0.
20912         * math/s_clog10.c (__clog10): Likewise.
20913         * math/s_clog10f.c (__clog10f): Likewise.
20914         * math/s_clog10l.c (__clog10l): Likewise.
20915         * math/s_clogf.c (__clogf): Likewise.
20916         * math/s_clogl.c (__clogl): Likewise.
20917         * math/libm-test.inc (clog_test): Add more tests.
20918         (clog10_test): Likewise.
20919         * sysdeps/i386/fpu/libm-test-ulps: Update.
20920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20922 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20924         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20925         Exit with zero in case no suitable GID is found, and write a
20926         message to standard error.
20928 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20930         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20931         rather than to 1.
20932         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20933         (MAXPATHLEN): Removed.
20934         (NOGROUP, NODEV): New macros.
20935         (setbit, clrbit, isset, isclr): New macros.
20936         (howmany, roundup, powerof2): New macros.
20937         (DEV_BSIZE): New macro.
20939         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20940         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20942         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20943         definition on [!__NO_LONG_DOUBLE_MATH].
20945         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20946         PTR_MANGLE and PTR_DEMANGLE.
20948         * socket/accept4.c (accept4): Rename to __libc_accept4.
20949         Define accept4 as a weak alias.
20951         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20952         on [_DIRENT_HAVE_D_TYPE].
20953         * io/ftw.c (ftw_dir): Likewise.
20955         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20957         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20959         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20960         Use the BSD numbers rather than the arbitrary ones we had.
20961         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20962         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20963         (SIGXCPU, SIGXFSZ): New macros.
20964         (_NSIG): Now 32.
20966         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20967         initializer on [_LIBC_REENTRANT].
20969         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20970         definitions inside [_POSIX_MAPPED_FILES].
20972         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20974         * dirent/opendir.c: Include <fcntl.h>.
20976         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20977         (__libc_getspecific): Likewise.
20978         (__libc_key_create): Likewise.
20980         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20981         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20982         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20983         (tmpfile64): Define as alias.
20984         * sysdeps/wordsize-64/tmpfile.c: File removed.
20985         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20986         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20987         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20989         * stdio-common/vfscanf.c: Include <stdbool.h>.
20990         * nss/makedb.c: Likewise.
20991         * stdio-common/_i18n_number.h: Likewise.
20992         * argp/argp-help.c: Likewise.
20993         * posix/wordexp.c: Likewise.
20994         * sysdeps/posix/spawni.c: Likewise.
20995         * nss/nss_files/files-initgroups.c: Likewise.
20996         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20997         * nss/nss_files/files-initgroups.c: Likewise.
20998         * nss/nss_db/db-netgrp.c: Likewise.
20999         * nss/nss_db/db-initgroups.c: Likewise.
21000         * io/fchmodat.c: Include <sys/stat.h>.
21002         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21003         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21005         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21006         [HAVE_MMAP].
21008         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21009         Add multiple inclusion protection.
21011 2012-07-27  David S. Miller  <davem@davemloft.net>
21013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21015 2012-07-27  Gary Benson  <gbenson@redhat.com>
21017         [BZ #14298]
21018         * elf/rtld.c: Include <stap-probe.h>.
21019         (dl_main): Added static probes "init_start" and "init_complete".
21020         * elf/dl-load.c: Include <stap-probe.h>.
21021         (lose): Take new parameter "nsid".
21022         Added static probe "map_failed".
21023         (_dl_map_object_from_fd): Pass namespace id to lose.
21024         Added static probe "map_start".
21025         (open_verify): Pass namespace id to lose.
21026         * elf/dl-open.c: Include <stap-probe.h>.
21027         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21028         and "reloc_complete".
21029         * elf/dl-close.c: Include <stap-probe.h>.
21030         (_dl_close_worker): Added static probes "unmap_start" and
21031         "unmap_complete".
21032         * elf/rtld-debugger-interface.txt: New file documenting the above.
21034 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21036         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21037         rather than a string variable.
21038         * sunrpc/rpc_main.c (h_output): Likewise.
21039         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21041 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21043         * inet/check_native.c: New file.
21045 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21047         [BZ #13629]
21048         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21049         if larger part has absolute value 1.0.
21050         * math/s_clog10.c (__clog10): Likewise.
21051         * math/s_clog10f.c (__clog10f): Likewise.
21052         * math/s_clog10l.c (__clog10l): Likewise.
21053         * math/s_clogf.c (__clogf): Likewise.
21054         * math/s_clogl.c (__clogl): Likewise.
21055         * math/libm-test.inc (clog_test): Add more tests.
21056         (clog10_test): Likewise.
21057         * sysdeps/i386/fpu/libm-test-ulps: Update.
21058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21060         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21061         (pltexit): Likewise.
21062         (La_regs): Likewise.
21063         (La_retval): Likewise.
21064         (int_retval): Likewise.
21065         Update #error for removed macros to refer only to definitions in
21066         tst-audit.h.
21067         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21068         macro.
21069         (pltexit): Likewise.
21070         (La_regs): Likewise.
21071         (La_retval): Likewise.
21072         (int_retval): Likewise.
21073         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21074         macro.
21075         (pltexit): Likewise.
21076         (La_regs): Likewise.
21077         (La_retval): Likewise.
21078         (int_retval): Likewise.
21079         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21080         macro.
21081         (pltexit): Likewise.
21082         (La_regs): Likewise.
21083         (La_retval): Likewise.
21084         (int_retval): Likewise.
21085         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21086         macro.
21087         (pltexit): Likewise.
21088         (La_regs): Likewise.
21089         (La_retval): Likewise.
21090         (int_retval): Likewise.
21091         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21092         macro.
21093         (pltexit): Likewise.
21094         (La_regs): Likewise.
21095         (La_retval): Likewise.
21096         (int_retval): Likewise.
21097         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21098         macro.
21099         (pltexit): Likewise.
21100         (La_regs): Likewise.
21101         (La_retval): Likewise.
21102         (int_retval): Likewise.
21103         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21104         macro definitions in tst-audit.h.
21105         * sysdeps/i386/tst-audit.h: New file.
21106         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21107         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21108         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21109         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21110         * sysdeps/sh/tst-audit.h: Likewise.
21111         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21112         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21113         * sysdeps/x86_64/tst-audit.h: Likewise.
21115 2012-07-26  Andreas Jaeger  <aj@suse.de>
21117         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21118         ptrace.
21120         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21121         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21122         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21123         PTRACE_O_MASK.
21124         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21125         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21126         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21128         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21129         value.
21131         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21132         _sigsys.
21133         (si_call_addr, si_syscall, si_arch): Define new macro.
21134         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21135         _sigsys.
21136         (si_call_addr, si_syscall, si_arch): Define new marcro.
21137         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21138         _sigsys.
21139         (si_call_addr, si_syscall, si_arch): Define new macro.
21140         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21141         _sigsys.
21142         (si_call_addr, si_syscall, si_arch): Define new macro.
21144 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21146         [BZ #13717]
21147         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21148         Change to 2.4.21 where previously 2.4.1.
21149         * sysdeps/unix/sysv/linux/configure: Regenerated.
21150         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21151         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21152         Linux kernel version.
21153         (__ASSUME_STD_AUXV): Remove.
21154         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21155         kernel version.
21156         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21157         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21158         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21159         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21160         (__ASSUME_NETLINK_SUPPORT): Likewise.
21161         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21162         (__no_netlink_support): Remove conditional definition.
21163         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21164         Remove.
21165         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21166         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21167         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21168         (if_nameindex_ioctl): Remove.
21169         (if_nameindex_netlink): Do not handle __no_netlink_support.
21170         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21171         code.
21172         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21173         Remove conditional code.
21174         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21175         code.
21176         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21177         unconditional.
21178         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21179         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21180         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21181         Remove.
21182         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21183         [!__ASSUME_STD_AUXV]: Remove conditional code.
21184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21185         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21186         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21188         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21189         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21190         code.
21191         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21193         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21194         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21195         conditional code.
21196         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21198         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21199         code.
21200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21201         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21202         conditional code.
21203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21204         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21205         code unconditional.
21206         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21207         conditional code.
21208         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21209         unconditional.
21210         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21211         conditional code.
21212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21213         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21214         unconditional.
21215         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21216         conditional code.
21217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21218         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21219         code unconditional.
21220         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21221         conditional code.
21222         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21223         unconditional.
21224         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21225         conditional code.
21226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21227         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21228         code unconditional.
21229         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21230         conditional code.
21231         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21232         unconditional.
21233         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21234         conditional code.
21236 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21238         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21239         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21240         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21241         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21242         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21243         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21244         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21245         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21246         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21247         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21248         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21249         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21250         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21251         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21252         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21253         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21254         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21255         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21256         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21257         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21258         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21259         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21260         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21262 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21264         * Versions.def: Add GLIBC_2.17.
21265         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21266         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21267         Introduce __libc_secure_getenv.
21268         * stdlib/Versions (2.17): Add secure_getenv
21269         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21270         * stdlib/secure-getenv.c: Rename __secure_getenv to
21271         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21272         symbol __secure_getenv for GLIBC_2.0.
21273         * stdlib/tst-secure-getenv.c: New.
21274         * stdlib/Makefile (tests): Add testcase.
21275         * manual/startup.texi (Environment Access): Document
21276         secure_getenv.
21277         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21278         __libc_secure_getenv.
21279         * inet/ruserpass.c (ruserpass): Likewise.
21280         * malloc/mtrace.c (mtrace): Likewise.
21281         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21282         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21283         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21284         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21285         HAVE_SECURE_GETENV.
21286         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21287         __secure_getenv to __libc_secure_getenv.
21288         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21290         Likewise.
21291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21292         Likewise.
21293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21295         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21301 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21303         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21304         (struct La_i86_retval): Likewise.
21305         (struct La_x86_64_regs): Likewise.
21306         (struct La_x86_64_retval): Likewise.
21307         (struct La_x32_regs): Likewise.
21308         (struct La_x32_retval): Likewise.
21309         (struct La_ppc32_regs): Likewise.
21310         (struct La_ppc32_retval): Likewise.
21311         (struct La_ppc64_regs): Likewise.
21312         (struct La_ppc64_retval): Likewise.
21313         (struct La_sh_regs): Likewise.
21314         (struct La_sh_retval): Likewise.
21315         (struct La_s390_32_regs): Likewise.
21316         (struct La_s390_32_retval): Likewise.
21317         (struct La_s390_64_regs): Likewise.
21318         (struct La_s390_64_retval): Likewise.
21319         (struct La_sparc32_regs): Likewise.
21320         (struct La_sparc32_retval): Likewise.
21321         (struct La_sparc64_regs): Likewise.
21322         (struct La_sparc64_retval): Likewise.
21323         (struct audit_ifaces): Remove architecture-specific pltenter and
21324         pltexit members.
21325         * sysdeps/i386/ldsodefs.h: New file.
21326         * sysdeps/powerpc/ldsodefs.h: Likewise.
21327         * sysdeps/s390/ldsodefs.h: Likewise.
21328         * sysdeps/sh/ldsodefs.h: Likewise.
21329         * sysdeps/sparc/ldsodefs.h: Likewise.
21330         * sysdeps/x86_64/ldsodefs.h: Likewise.
21332 2012-07-25  Marek Polacek  <polacek@redhat.com>
21334         [BZ #6808]
21335         * math/libm-test.inc (yn_test): Add another test.
21336         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21337         to ERANGE when the result is +-Inf.
21338         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21339         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21340         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21341         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21343 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21345         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21346         equal to 0.
21347         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21348         clock_t.
21349         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21351 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21353         * configure.in <sysdeps resolving>: Correct printing
21354         Implies_before.
21355         * configure: Regenerate.
21357 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21359         * math/w_ilogb.c: Include <limits.h>.
21360         * math/w_ilogbl.c: Likewise.
21362 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21364         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21365         va_copy.  Document allowing for unavailable va_copy only as
21366         pre-C99 compatibility.
21367         * manual/string.texi (Copying and Concatenation): Use va_copy
21368         instead of __va_copy in concat example.
21370 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21372         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21373         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21374         it if not null.
21376         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21377         with O_NOLINK passed to __file_name_lookup.
21379         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21380         with O_NOLINK passed to __file_name_lookup.
21382         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21383         negative N or less than NGIDS.
21385         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21386         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21387         enough.  Use memcpy instead of strncpy.
21389 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21391         * elf/Makefile (check-data): Remove.
21392         (localplt.data): New vpath directive.
21393         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21394         instead of $(check-data).
21395         * scripts/data/localplt-generic.data: Move to ...
21396         * sysdeps/generic/localplt.data: ... here.
21397         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21398         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21399         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21401         ... here.
21402         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21404         ... here.
21405         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21407         ... here.
21408         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21410         ... here.
21411         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21413         ... here.
21414         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21416         ... here.
21418 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21420         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21421         PPC32 and PPC64 files.
21422         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21423         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21425 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21427         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21428         __makecontext_ret to ...
21429         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21430         ... here and call exit if uc_link is NULL.  New file.
21431         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21432         __makecontext_ret.S.
21433         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21434         __makecontext_ret to ...
21435         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21436         ... here and call exit if uc_link is NULL.  New file.
21437         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21438         __makecontext_ret.S.
21440 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21442         * elf/elf.h (R_390_IRELATIVE): New definition.
21443         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21444         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21445         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21446         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21447         (elf_machine_lazy_rel): Likewise.
21448         * sysdeps/s390/dl-irel.h: New file.
21449         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21450         * sysdeps/s390/s390-64/memset.S: New asm code.
21451         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21452         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21453         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21454         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21455         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21456         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21457         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21458         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21459         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21460         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21461         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21462         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21463         * sysdeps/s390/s390-32/memset.S: New asm code.
21464         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21466 2012-07-17  Marek Polacek  <polacek@redhat.com>
21468         [BZ #14349]
21469         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21470         * sysdeps/s390/s390-64/configure.in: Likewise.
21471         * sysdeps/sparc/configure.in: Likewise.
21472         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21473         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21474         * sysdeps/i386/configure.in: Likewise.
21475         * sysdeps/x86_64/configure.in: Likewise.
21476         * sysdeps/sh/configure.in: Likewise.
21477         * sysdeps/s390/s390-32/configure: Regenerated.
21478         * sysdeps/s390/s390-64/configure: Likewise.
21479         * sysdeps/x86_64/configure: Likewise.
21480         * sysdeps/sh/configure: Likewise.
21481         * sysdeps/powerpc/powerpc64/configure: Likewise.
21482         * sysdeps/powerpc/powerpc32/configure: Likewise.
21483         * sysdeps/sparc/configure: Likwise.
21484         * sysdeps/i386/configure: Likewise.
21486         * elf/dl-open.c: Comment fixes.
21488 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21490         * Makefile [CXX] (check-data): Remove.
21491         [CXX] (c++-types.data): New vpath directive.
21492         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21493         vpath.  Do not allow for C++ type data being missing.
21494         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21495         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21496         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21497         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21498         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21499         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21500         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21502         ... here.
21503         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21505         ... here.
21506         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21508         ... here.
21509         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21511         ... here.
21512         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21514         ... here.
21515         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21517         ... here.
21518         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21520         ... here.
21521         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21524         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21525         definitions to architecture-specific files.
21526         (TLS_IE): Likewise.
21527         (TLS_LD): Likewise.
21528         (TLS_GD): Likewise.
21529         * sysdeps/i386/tls-macros.h: New file.
21530         * sysdeps/powerpc/tls-macros.h: Likewise.
21531         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21532         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21533         * sysdeps/sh/tls-macros.h: Likewise.
21534         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21535         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21536         * sysdeps/x86_64/tls-macros.h: Likewise.
21538 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21540         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21541         zero value for regular exit case.
21543         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21544         (__start_context): Preserve zero value for regular exit case.
21546 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21547             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21549         * manual/setjmp.texi (setcontext): Clarify normal process
21550         termination when uc_link is the null pointer.
21551         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21552         exit call.
21554 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21556         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21557         preprocessor.  Test for each exception mask separately.
21559 2012-07-16  Andreas Jaeger  <aj@suse.de>
21561         * po/ru.po: Update from translation team.
21563 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21565         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21566         equal to 0.
21567         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21568         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21569         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21570         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21571         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21573 2012-07-13  Andreas Jaeger  <aj@suse.de>
21575         * po/fr.po: Update from translation team.
21577 2012-07-12  Marek Polacek  <polacek@redhat.com>
21579         [BZ #14173]
21580         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21581         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21582         loop condition.
21584 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21586         [BZ #13717]
21587         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21588         Change to 2.4.1 where previously 2.4.0.
21589         * sysdeps/unix/sysv/linux/configure: Regenerated.
21590         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21591         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21592         version.
21593         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21594         (__ASSUME_AT_CLKTCK): Remove.
21595         (__ASSUME_AT_PAGESIZE): Likewise.
21596         (__ASSUME_AT_XID): Likewise.
21597         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21598         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21599         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21600         unconditionally.
21601         (HAVE_AUX_PAGESIZE): Likewise.
21602         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21603         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21604         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21606 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21608         [BZ #14307]
21609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21610         the temporary buffer used to invoke __gethostbyname2_r,
21611         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21612         host_data / struct gaih_addrtuple.
21613         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21614         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21615         header file nss/nsswitch.h.
21616         * nss/nsswitch.h (global scope): Add definition of implementation
21617         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21618         resolv/nss_dns/dns-host.c).
21620 2012-07-11  Andreas Jaeger  <aj@suse.de>
21622         * po/fr.po: Update from translation team.
21624         * po/sv.po: Update from translation team
21625         * po/fr.po: Another update from translation team.
21627 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21629         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21630         for subnormals or multiply small sinh result by itself.
21631         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21634 2012-07-11  David S. Miller  <davem@davemloft.net>
21636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21638 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21640         [BZ #14347]
21641         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21642         (INTERNAL_MARK): Shift it here.
21644 2012-07-10  Marek Polacek  <polacek@redhat.com>
21646         [BZ #14151]
21647         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21648         libc_cv_asm_global_directive with .globl.
21649         * configure: Regenerated.
21650         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21651         with .globl.
21652         * sysdeps/i386/configure: Regenerated.
21653         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21654         with .globl.
21655         * sysdeps/x86_64/configure: Regenerated.
21656         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21657         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21658         * elf/tst-unique2mod2.c: Likewise.
21659         * elf/tst-unique2mod1.c: Likewise.
21660         * elf/tst-unique1mod2.c: Likewise.
21661         * elf/tst-unique1mod1.c: Likewise.
21662         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21663         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21664         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21665         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21666         * sysdeps/mach/sysdep.h: Likewise.
21667         * sysdeps/i386/sysdep.h: Likewise.
21668         * sysdeps/i386/i386-mcount.S: Likewise.
21669         * sysdeps/x86_64/_mcount.S: Likewise.
21670         * sysdeps/x86_64/sysdep.h: Likewise.
21671         * sysdeps/sh/_mcount.S: Likewise.
21672         * sysdeps/sh/sysdep.h: Likewise.
21673         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21674         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21675         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21676         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21677         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21678         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21679         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21680         * locale/localeinfo.h: Likewise.
21681         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21682         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21684 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21686         [BZ #14336]
21687         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21688         system".
21689         * manual/message.texi (The Uniforum approach): Likewise.
21690         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21691         (glibc iconv Implementation): Likewise.
21693 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21695         [BZ #14337]
21696         * math/s_clog.c (__clog): Avoid scaling a value down where that
21697         could result in underflow.
21698         * math/s_clog10.c (__clog10): Likewise.
21699         * math/s_clog10f.c (__clog10f): Likewise.
21700         * math/s_clog10l.c (__clog10l): Likewise.
21701         * math/s_clogf.c (__clogf): Likewise.
21702         * math/s_clogl.c (__clogl): Likewise.
21703         * math/libm-test.inc (clog_test): Add more tests.
21704         (clog10_test): Likewise.
21705         * sysdeps/i386/fpu/libm-test-ulps: Update.
21706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21708 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21710         [BZ #14283]
21711         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21712         by 7 not 8 to examine high bit of fractional part.
21714         [BZ #14042]
21715         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21716         for call to __mcount_internal.
21717         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21718         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21719         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21721 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21723         [BZ #14154]
21724         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21725         approximation for values within 0x1p-13f of an odd multiple of
21726         pi/4.
21727         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21728         exception.  Add more tests.
21729         * sysdeps/i386/fpu/libm-test-ulps: Update.
21731         [BZ #6778]
21732         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21733         inputs and return -1 for them.  Do not check for +Inf in case not
21734         reachable for +Inf.
21735         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21736         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21737         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21738         and return -1 for them.  Do not check for +Inf in case not
21739         reachable for +Inf.
21740         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21741         define.
21742         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21743         and return -1 for them.  Do not check for +Inf in case not
21744         reachable for +Inf.
21745         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21746         spurious underflow.
21747         * sysdeps/i386/fpu/libm-test-ulps: Update.
21748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21750 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21752         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21754 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21756         [BZ #14157]
21757         [BZ #14331]
21758         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21759         could result in spurious underflow.  Scale down values above
21760         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21761         * math/s_csqrtf.c (__csqrtf): Likewise.
21762         * math/s_csqrtl.c (__csqrtl): Likewise.
21763         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21764         spurious underflow.
21765         * sysdeps/i386/fpu/libm-test-ulps: Update.
21766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21768 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21770         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21771         xopen-msg.sed.
21772         * catgets/xopen-msg.awk: New file.
21773         * catgets/xopen-msg.sed: Removed.
21775         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21776         po2text.sed.
21777         * intl/po2test.awk: New file.
21778         * intl/po2test.sed: Removed.
21780 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21782         [BZ #14328]
21783         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21784         or multiply small sinh result by itself.
21785         * math/s_ctanf.c (__ctanf): Likewise.
21786         * math/s_ctanh.c (__ctanh): Likewise.
21787         * math/s_ctanhf.c (__ctanhf): Likewise.
21788         * math/s_ctanhl.c (__ctanhl): Likewise.
21789         * math/s_ctanl.c (__ctanl): Likewise.
21790         * math/libm-test.inc (ctan_test_tonearest): New function.
21791         (ctan_test_towardzero): Likewise.
21792         (ctan_test_downward): Likewise.
21793         (ctan_test_upward): Likewise.
21794         (ctanh_test_tonearest): Likewise.
21795         (ctanh_test_towardzero): Likewise.
21796         (ctanh_test_downward): Likewise.
21797         (ctanh_test_upward): Likewise.
21798         (main): Call these new functions.
21799         * sysdeps/i386/fpu/libm-test-ulps: Update.
21800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21802 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21804         * .gitignore: Delete /ports entry.
21806 2012-07-03  Andreas Jaeger  <aj@suse.de>
21808         * po/bg.po: Update from translation team.
21809         * po/cs.po: Likewise.
21810         * po/de.po: Likewise.
21811         * po/hr.po: Likewise.
21812         * po/nl.pl: Likewise.
21813         * po/pl.po: Likewise.
21814         * po/vi.po: Likewise.
21816 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21818         * Makeconfig [!+link] (+link-before-libc): New variable.
21819         [!+link] (+link-after-libc): Likewise.
21820         [!+link] (+link-tests): Likewise.
21821         [!+link] (+link): Define in terms of $(+link-before-libc) and
21822         $(+link-after-libc).
21823         [!+link-static] (+link-static-before-libc): New variable.
21824         [!+link-static] (+link-static-after-libc): Likewise.
21825         [!+link-static] (+link-static-tests): Likewise.
21826         [!+link-static] (+link-static): Define in terms of
21827         $(+link-static-before-libc) and $(+link-static-after-libc).
21828         [build-shared] (link-libc-before-gnulib): New variable.
21829         [build-shared] (link-libc-tests): Likewise.
21830         [build-shared] (link-libc): Define in terms of
21831         $(link-libc-before-gnulib).
21832         [!build-shared] (link-libc-tests): New variable.
21833         (link-libc-static-tests): New variable.
21834         [!gnulib] (gnulib-arch): New variable.
21835         [!gnulib] (gnulib-tests): Likewise.
21836         [!gnulib] (static-gnulib-arch): Likewise.
21837         [!gnulib] (static-gnulib-tests): Likewise.
21838         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21839         Define with "=" instead of ":=".
21840         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21841         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21842         * Rules (binaries-all-notests): New variable.
21843         (binaries-all-tests): Likewise.
21844         (binaries-static-notests): Likewise.
21845         (binaries-static-tests): Likewise.
21846         (binaries-all): Define using $(binaries-all-notests) and
21847         $(binaries-all-tests).
21848         (binaries-static): Define using $(binaries-static-notests) and
21849         $(binaries-static-tests).
21850         (binaries-shared-tests): New variable.
21851         (binaries-shared-notests): Likewise.
21852         (binaries-shared): Remove variable.
21853         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21854         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21855         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21856         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21857         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21858         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21859         * elf/Makefile (sln-modules): New variable.
21860         (extra-objs): Add $(sln-modules:=.o).
21861         (ldconfig-modules): Add static-stubs.
21862         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21863         * elf/static-stubs.c: New file.
21865         [BZ #14283]
21866         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21867         by 7 not 8 to examine high bit of fractional part.  Use volatile
21868         variables when splitting into final array of floats if
21869         __FLT_EVAL_METHOD__ != 0.
21870         * math/libm-test.inc (cos_test): Add another test.
21871         (sin_test): Likewise.
21872         * sysdeps/i386/fpu/libm-test-ulps: Update.
21874         [BZ #14273]
21875         * math/libm-test.inc (cosh_test): Add more tests.
21877         * version.h (RELEASE): Set to "development".
21878         (VERSION): Set to "2.16.90".
21880 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21882         * NEWS: Update copyright. Remove last-updated date.
21883         Mention math library bug fixes and timezone data changes.
21884         * README: Mention GNU/Hurd, x32, and HPPA support status.
21886 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21888         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21890 2012-06-27  Andreas Jaeger  <aj@suse.de>
21892         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21894 2012-06-25  Andreas Jaeger  <aj@suse.de>
21896         * sysdeps/s390/fpu/libm-test-ulps: Update.
21898 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21899             Thomas Schwinge  <thomas@codesourcery.com>
21901         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21902         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21903         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21904         fanotify_mark.
21906 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21908         * sysdeps/mach/start.c: Remove file.
21909         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21910         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21911         * sysdeps/sh/init-first.c: Likewise.
21913         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21914         registers for frame unwinding purposes, add CFI directives.
21915         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21916         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21917         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21918         Likewise.
21920         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21921         __fortify_fail returning.
21922         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21924         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21925         sysdeps/sh/____longjmp_chk.S.
21926         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21927         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21928         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21929         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21931         * sysdeps/sh/abort-instr.h: New file.
21932         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21933         process in case exit returns.
21935         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21936         initialize the GOT register before use.
21938         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21939         calculation of ARGC > 4.
21941         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21942         meaningful names to some local labels.
21944 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21945             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21947         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21948         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21949         (__arch_compare_and_exchange_val_16_acq): Likewise.
21950         (__arch_compare_and_exchange_val_32_acq): Likewise.
21951         (atomic_exchange_and_add): Fix gUSA sequence.
21952         (atomic_add): Likewise.
21953         (atomic_add_negative): Likewise.
21954         (atomic_add_zero): Likewise.
21955         (atomic_bit_test_set): Likewise.
21957 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21959         [BZ #13579]
21960         * include/link.h (struct link_map): Add l_free_initfini.
21961         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21962         l_initfini.
21963         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21964         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21965         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21966         set.
21968 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21970         * configure.in: Use AC_LANG_SOURCE.
21971         * configure: Regenerate.
21973 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21975         * configure.in (libc_cv_localstatedir): New substituted variable.
21976         * configure: Regenerated.
21977         * config.make.in (localstatedir): New variable, substituted from
21978         libc_cv_localstatedir.
21979         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21980         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21981         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21982         * sysdeps/gnu/configure: Regenerated.
21984 2012-06-21  Jeff Law  <law@redhat.com>
21986         [BZ #14277]
21987         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21988         free.  Simplify list management for _LIBC case.
21990 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21992         [BZ #14273]
21993         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21994         Clear sign bit of 64-bit integer value before comparing against
21995         overflow value.
21997         * sysdeps/mach/configure: Regenerated.
21999 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22001         [BZ #14278]
22002         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22004 2012-06-21  Jeff Law  <law@redhat.com>
22006         [BZ #13882]
22007         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22008         uint16_t for elements in the "seen" array to avoid char overflows.
22009         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22010         * elf/dl-open.c (dl_open_worker): Likewise.
22012 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22014         * scripts/list-sources.sh: Scan PORTS for translations.
22015         * po/libc.pot: Regenerated.
22017 2012-06-21  Andreas Jaeger  <aj@suse.de>
22019         [BZ #12194]
22020         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22021         warning.
22022         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22023         * bits/byteswap-16.h (__bswap_16): Likewise.
22024         * bits/byteswap.h (__bswap_constant_16): Likewise.
22026 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22028         [BZ #14117]
22029         * sysdeps/i386/fpu_control.h: Removed.
22030         * sysdeps/x86_64/fpu_control.h: Moved to ...
22031         * sysdeps/x86/fpu_control.h: Here.
22033         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22034         (_FPU_SETCW): Likewise.
22036 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22038         [BZ #14117]
22039         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22040         * sysdeps/x86/fpu/bits/mathinline.h: This.
22041         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22043         [BZ #14050]
22044         [BZ #14117]
22045         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22046         functions if __x86_64__ is defined.
22048 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22050         * string/endian.h: Add !__ASSEMBLER__ condition for including
22051         conversion interfaces.
22053 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22055         [BZ #14241]
22056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22057         of ABS(x) in calculating zero to negative powers other than odd
22058         integers.
22059         * math/libm-test.inc (pow_test): Add more tests.
22061 2012-06-15  Andreas Jaeger  <aj@suse.de>
22063         * manual/contrib.texi (Contributors): Update entry of Liubov
22064         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22065         Machado Filho.
22067 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22069         * string/string.h: Add __wur to GNU version of strerror_r.
22071 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22073         [BZ #14229]
22074         * string/Makefile (tests): Add tst-strtok_r.
22075         * string/tst-strtok_r.c: New file.
22076         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22077         RAX_LP/RDX_LP on SAVE_PTR.
22079 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22081         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22083 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22085         * libm_test.inc (csqrt_test): Allow more spurious underflow
22086         exceptions.
22087         (j0_test): Likewise.
22088         (j1_test): Likewise.
22089         (y0_test): Likewise.
22090         (y1_test): Likewise.
22092 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22094         * po/Makefile (libc.pot): Use UTF-8 charset.
22096 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22098         [BZ #14210]
22099         Suppress sign-conversion warning from FD_SET.
22100         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22101         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22102         not unsigned long int.
22103         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22105 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22107         [BZ #14050]
22108         [BZ #14117]
22109         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22110         __extern_always_inline instead of __extern_inline.
22111         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22112         (__signbit): Likewise.
22113         (__signbitl): Support C++ namespace.
22114         (lrintf): New inline function.
22115         (lrint): Likewise.
22116         (llrintf): Likewise.
22117         (llrint): Likewise.
22118         (fmaxf): Likewise.
22119         (fmax): Likewise.
22120         (fminf): Likewise.
22121         (fmin): Likewise.
22122         (rint): Likewise.
22123         (rintf): Likewise.
22124         (ceil): Likewise.
22125         (ceilf): Likewise.
22126         (floor): Likewise.
22127         (floorf): Likewise.
22128         (nearbyint): Likewise.
22129         (nearbyintf): Likewise.
22131 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22133         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22134         non-default versions.
22136 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22138         [BZ #14218]
22139         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22141 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22143         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22144         (FE_UPWARD, FE_DOWNWARD): Don't define.
22145         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22146         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22148         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22149         reading it.
22150         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22151         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22153 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22155         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22156         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22157         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22158         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22160 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22162         [BZ #14117]
22163         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22164         * sysdeps/i386/fpu/Implies: New file.
22165         * sysdeps/x86_64/fpu/Implies: Likewise.
22166         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22167         * sysdeps/x86/fpu/bits/fenv.h: This.
22169         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22170         __SSE_MATH__.
22172 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22174         [BZ #14134]
22175         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22176         character 0xffff that matches the last element of the
22177         conversion table.
22179 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22181         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22182         fmodl commit.
22184 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22186         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22187         values higher than 25.6283.
22189 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22191         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22192         subnormal exponent extraction and add some __builtin_expect.
22193         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22194         Fix for subnormal mantissa calculation.
22196 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22198         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22199         cpu2 is -1 and errno is not ENOSYS.
22201 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22203         [BZ #14117]
22204         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22205         * sysdeps/x86/bits/string.h: This.
22206         * sysdeps/x86_64/bits/string.h: Removed.
22208         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22209         if not compiling for x86-64, but compiling for >= i486.
22211         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22212         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22214         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22215         New macro from Linux kernel 3.4.0.
22216         (FP_XSTATE_MAGIC2): Likewise.
22217         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22218         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22219         (struct _fpx_sw_bytes): New struct.
22220         (struct _xsave_hdr): Likewise.
22221         (struct _ymmh_state): Likewise.
22222         (struct _xstate): Likewise.
22224         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22225         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22226         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22227         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22228         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22229         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22231         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22232         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22233         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22234         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22235         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22236         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22238 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22240         [BZ #13743]
22241         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22242         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22243         (sysdep_headers): Include sys/platform/ppc.h.
22244         * sysdeps/powerpc/test-gettimebase.c: Test for
22245         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22246         * manual/Makefile (appendices): Include platform.texi.
22247         * manual/contrib.texi (Contributors): Update @node pointers.
22248         * manual/maint.texi (Maintenance): Likewise.
22249         (Platform): New node.
22250         * manual/platform.texi: New file.  Document the new features.
22252 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22253             Jakub Jelinek  <jakub@redhat.com>
22255         [BZ #14188]
22256         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22257         where __builtin_expect is unavailable.
22259 2012-06-03  David S. Miller  <davem@davemloft.net>
22261         * stdlib/longlong.h: Updated from GCC.
22263 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22265         [BZ #14042]
22266         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22267         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22268         __mcount_internal.
22269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22270         (GLIBC_2.16): Likewise.
22272 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22274         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22276 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22279         (default-abi): New variable.
22280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22281         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22282         variable.
22283         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22284         Likewise.
22285         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22286         Likewise.
22287         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22288         Likewise.
22290         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22291         definition.  Document in comment.
22293 2012-06-01  David S. Miller  <davem@davemloft.net>
22295         * stdlib/longlong.h: Updated from GCC.
22297 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22299         [BZ #14117]
22300         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22301         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22302         sys/debugreg.h sys/io.h here.
22303         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22304         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22305         sys/io.h.
22306         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22307         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22308         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22309         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22310         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22311         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22313         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22314         Define only if __x86_64__ is defined.
22316 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22318         [BZ #14048]
22319         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22320         Use int64_t for variable i.
22321         * math/libm-test.inc (fmod_test): Add more tests.
22323         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22324         z computation is not scheduled after fetestexcept.
22325         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22326         Use math_force_eval instead of asm to ensure calculation scheduled
22327         before exception test.
22328         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22329         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22331 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22334         computation is not scheduled after fetestexcept.
22336 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22338         [BZ #14117]
22339         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22340         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22342 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22344         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22345         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22347 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22349         [BZ #14117]
22350         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22351         <bits/wordsize.h>.
22352         (__WCHAR_MIN): Support __WORDSIZE == 64.
22353         (__WCHAR_MAX): Likewise.
22355         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22356         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22358         [BZ #14183]
22359         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22360         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22362         [BZ #14117]
22363         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22364         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22366         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22367         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22369         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22370         Defined to 1 if __x86_64__ isn't defined.
22371         (_STAT_VER_LINUX_OLD): New.
22372         (st_atime): Remove duplicate.
22373         (st_mtime): Likewise.
22374         (st_ctime): Likewise.
22376 2012-05-31  David S. Miller  <davem@davemloft.net>
22378         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22379         entries.
22381 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22383         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22384         gen-libm-test.pl.
22386         [BZ #14132]
22387         * elf/dl-reloc.c: Include <_itoa.h>.
22388         (_dl_reloc_bad_type): Remove use of INTUSE.
22389         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22390         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22391         * stdio-common/psiginfo.c (psiginfo): Likewise.
22392         * stdio-common/psignal.c (psignal): Likewise.
22393         * string/strsignal.c (strsignal): Likewise.
22394         * include/signal.h (_sys_siglist): Declare hidden proto.
22395         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22396         INTVARDEF with libc_hidden_data_def.
22397         * stdio-common/itoa-udigits.c: Likewise.
22398         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22399         (_itoa_lower_digits_internal): Remove declaration.
22400         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22401         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22402         (_sys_sigabbrev_internal): Remove aliases.
22403         (_sys_siglist): Define hidden alias.
22405 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22407         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22408         bits/sysctl.h.
22410 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22412         [BZ #14117]
22413         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22414         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22416         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22417         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22418         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22419         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22420         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22421         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22423         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22424         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22425         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22427         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22428         with __addr.
22429         (insw): Likewise.
22430         (insl): Likewise.
22431         (outsb): Likewise.
22432         (outsw): Likewise.
22433         (outsl): Likewise.
22435         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22436         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22437         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22439         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22440         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22441         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22442         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22443         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22444         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22446         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22447         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22449         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22450         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22452         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22453         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22454         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22456         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22457         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22458         to ...
22459         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22461         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22462         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22463         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22465         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22466         for x86-64.
22467         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22469 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22471         * math/math.h (M_El): Use two more decimal places.
22472         (M_LOG2El): Likewise.
22473         (M_LOG10El): Likewise.
22474         (M_LN2l): Likewise.
22475         (M_LN10l): Likewise.
22476         (M_PIl): Likewise.
22477         (M_PI_2l): Likewise.
22478         (M_PI_4l): Likewise.
22479         (M_1_PIl): Likewise.
22480         (M_2_PIl): Likewise.
22481         (M_2_SQRTPIl): Likewise.
22482         (M_SQRT2l): Likewise.
22483         (M_SQRT1_2l): Likewise.
22485 2012-05-31  David S. Miller  <davem@davemloft.net>
22487         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22488         values between float registers.
22489         * sysdeps/sparc/sparc64/memset.S: Likewise.
22490         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22492 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22494         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22495         -D_FORTIFY_SOURCE=1.
22496         (CPPFLAGS-tst-longjmp_chk.c): Define.
22497         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22498         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22499         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22500         CFLAGS-tst-wchar-h.c.
22502 2012-05-31  Marek Polacek  <polacek@redhat.com>
22504         [BZ #14132]
22505         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22506         __endmntent_internal): Remove declaration.
22507         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22508         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22509         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22511 2012-05-30  David S. Miller  <davem@davemloft.net>
22513         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22514         (___Q_simulate_exceptions): Use real FP ops rather than writing
22515         into the %fsr.
22516         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22517         Likewise.
22519 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22521         [BZ #14117]
22522         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22523         * sysdeps/x86/bits/xtitypes.h: This.
22525         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22526         * sysdeps/x86/bits/wordsize.h: This.
22528         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22529         * sysdeps/x86/bits/huge_vall.h: This.
22531         * sysdeps/i386/bits/select.h: Removed.
22532         * sysdeps/x86_64/bits/select.h: Renamed to ...
22533         * sysdeps/x86/bits/select.h: This.
22535         * sysdeps/i386/bits/setjmp.h: Removed.
22536         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22537         * sysdeps/x86/bits/setjmp.h: This.
22539         * sysdeps/i386/bits/mathdef.h: Removed.
22540         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22541         * sysdeps/x86/bits/mathdef.h: This.
22543 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22545         [BZ #14132]
22546         * include/sys/socket.h (__connect_internal)
22547         (__libc_sa_len_internal): Remove declaration.
22548         (__connect, __libc_sa_len): Declare hidden_proto.
22549         (SA_LEN): Remove use of INTUSE.
22550         * socket/connect.c: Add libc_hidden_def.
22551         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22552         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22553         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22554         alias.
22555         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22556         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22557         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22558         of adding _internal alias.
22560 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22562         [BZ #14117]
22563         * sysdeps/i386/bits/link.h: Removed.
22564         * sysdeps/i386/bits/linkmap.h: Likewise.
22565         * sysdeps/x86_64/bits/link.h: Renamed to ...
22566         * sysdeps/x86/bits/link.h: This.
22567         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22568         * sysdeps/x86/bits/linkmap.h: This.
22570         * sysdeps/i386/bits/endian.h: Removed.
22571         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22572         * sysdeps/x86/bits/endian.h: This.
22574         * sysdeps/i386/bits/byteswap.h: Removed.
22575         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22576         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22577         * sysdeps/x86/bits/byteswap.h: This.
22578         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22579         * sysdeps/x86/bits/byteswap-16.h: This.
22580         * sysdeps/i386/Implies: Add x86.
22581         * sysdeps/x86_64/Implies: Likewise.
22583 2012-05-30  David S. Miller  <davem@davemloft.net>
22585         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22586         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22587         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22588         (FP_TRAPPING_EXCEPTIONS): Define.
22589         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22590         (FP_TRAPPING_EXCEPTIONS): Define.
22591         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22592         subnormals only when inexact has been signalled or underflow
22593         exceptions are enabled.
22594         (_FP_PACK_CANONICAL): Likewise.
22596 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22598         [BZ #14183]
22599         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22600         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22602 2012-05-30  Richard Henderson  <rth@twiddle.net>
22604         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22605         with #ifndef NOT_IN_libc.
22607         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22608         marked to avoid plt entry.
22610 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22612         [BZ #14112]
22613         * Makeconfig (default-abi): New macro.
22614         (abi-includes): Likewise.
22615         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22616         $(abi-$(default-abi)-lib-soname) for soname if defined.
22617         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22618         abi-variants.
22619         * Makefile (installed-stubs): Likewise.
22620         * include/stubs-biarch.h: Removed.
22621         * scripts/lib-names.awk: Only handle one library at a time.
22622         * scripts/soversions.awk: Remove WORDSIZE support.
22623         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22624         entries.
22625         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22626         Removed.
22627         (syscall-list-default-condition): Likewise.
22628         (syscall-list-default-condition): Likewise.
22629         (syscall-list-includes): Likewise.
22630         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22631         syscall-list-* with abi-*.  Handle undefined abi-variants.
22632         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22633         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22634         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22635         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22636         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22637         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22638         Removed.
22639         (syscall-list-32-options): Likewise.
22640         (syscall-list-32-condition): Likewise.
22641         (syscall-list-64-options): Likewise.
22642         (syscall-list-64-condition): Likewise.
22643         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22644         macro.
22645         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22646         Renamed to ...
22647         (abi-*): This.
22648         (abi-64-ld-soname): New macro.
22649         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22650         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22651         Renamed to ...
22652         (abi-*): This.
22653         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22654         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22656 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22658         * sysdeps/unix/sysv/linux/kernel-features.h
22659         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22660         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22661         include <kernel-features.h>.
22662         [!__NR_ftruncate64]: Remove conditional code.
22663         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22664         [__NR_ftruncate64]: Make code unconditional.
22665         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22666         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22667         include <kernel-features.h>.
22668         [!__NR_ftruncate64]: Remove conditional code.
22669         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22670         [__NR_ftruncate64]: Make code unconditional.
22671         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22673         include <kernel-features.h>.
22674         [!__NR_ftruncate64]: Remove conditional code.
22675         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22676         [__NR_ftruncate64]: Make code unconditional.
22677         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22679         include <kernel-features.h>.
22680         [!__NR_ftruncate64]: Remove conditional code.
22681         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22682         [__NR_ftruncate64]: Make code unconditional.
22683         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22685         * configure.in (libc_cv_fpie): Weaken to a compile test using
22686         LIBC_TRY_CC_OPTION.
22687         * configure: Regenerated.
22689 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22695         Refreshed.
22696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22702         Refreshed.
22704 2012-05-27  David S. Miller  <davem@davemloft.net>
22706         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22707         (___Q_zero): New.
22708         (__Q_simulate_exceptions): Return void.  Change to simulate
22709         exceptions by writing into the %fsr.
22710         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22711         (__Qp_handle_exceptions): Likewise.
22712         (numbers): Delete.
22713         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22714         __Qp_handle_exceptions.
22715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22716         __Qp_handle_exceptions.
22717         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22718         as unused and give dummy FP_RND_NEAREST initializer.
22719         (FP_INHIBIT_RESULTS): Define.
22720         (___Q_simulate_exceptions): Update declaration.
22721         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22722         formatting.
22723         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22724         as unused and give dummy FP_RND_NEAREST initializer.
22725         (__Qp_handle_exceptions): Update declaration.
22726         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22727         formatting.
22729 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22731         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22732         the temporary FPU control word.
22733         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22734         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22735         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22736         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22737         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22738         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22739         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22740         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22741         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22742         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22743         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22745 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22747         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22748         fields.
22750 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22752         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22753         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22754         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22755         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22756         Likewise.
22757         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22758         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22759         Likewise.
22761 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22763         * po/h.po: Update from translation team.
22765 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22767         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22769         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22770         handling of denormals.
22771         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22772         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22773         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22774         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22775         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22776         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22777         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22778         Likewise.
22780 2012-05-26  Marek Polacek  <polacek@redhat.com>
22782         [BZ #14152]
22783         * math/libm-test.inc (fma_test): Don't always expect underflow
22784         exception.
22786 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22788         [BZ #12416]
22789         * elf/tst-execstack.c: Include stackinfo.h.
22790         (do_test): Adjust test case to ensure that pthread_getattr_np
22791         behaviour remains the same after marking stack executable.
22793 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22795         * sysdeps/unix/sysv/linux/kernel-features.h
22796         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22797         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22798         kernel-features.h.
22799         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22800         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22801         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22802         kernel-features.h.
22803         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22804         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22806 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22808         * configure.in: Define the default includes to being none.
22809         * configure: Regenerated.
22811 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22813         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22814         * sysdeps/x86_64/setjmp.S: Likewise.
22815         * sysdeps/i386/bsd-setjmp.S: Likewise.
22816         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22817         * sysdeps/i386/setjmp.S: Likewise.
22818         * sysdeps/i386/__longjmp.S: Likewise.
22819         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22820         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22822         * include/stap-probe.h: New file.
22823         * configure.in: Handle --enable-systemtap.
22824         * configure: Regenerated.
22825         * config.h.in (USE_STAP_PROBE): New #undef.
22826         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22827         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22828         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22830 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22832         [BZ #13717]
22833         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22834         to 2.4.0 where earlier.
22835         * sysdeps/unix/sysv/linux/configure: Regenerated.
22836         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22837         <kernel-features.h>.
22838         [__ASSUME_32BITUIDS]: Make code unconditional.
22839         [!__ASSUME_32BITUIDS]: Remove conditional code.
22840         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22841         <kernel-features.h>.
22842         [__ASSUME_32BITUIDS]: Make code unconditional.
22843         [!__ASSUME_32BITUIDS]: Remove conditional code.
22844         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22845         [__ASSUME_32BITUIDS]: Make code unconditional.
22846         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22847         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22848         <kernel-features.h>.
22849         [__ASSUME_32BITUIDS]: Make code unconditional.
22850         [!__ASSUME_32BITUIDS]: Remove conditional code.
22851         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22852         <kernel-features.h>.
22853         [__ASSUME_32BITUIDS]: Make code unconditional.
22854         [!__ASSUME_32BITUIDS]: Remove conditional code.
22855         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22856         <kernel-features.h>.
22857         [__ASSUME_32BITUIDS]: Make code unconditional.
22858         [!__ASSUME_32BITUIDS]: Remove conditional code.
22859         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22860         <kernel-features.h>.
22861         [__ASSUME_32BITUIDS]: Make code unconditional.
22862         [!__ASSUME_32BITUIDS]: Remove conditional code.
22863         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22864         <kernel-features.h>.
22865         [__ASSUME_32BITUIDS]: Make code unconditional.
22866         [!__ASSUME_32BITUIDS]: Remove conditional code.
22867         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22868         <kernel-features.h>.
22869         [__ASSUME_32BITUIDS]: Make code unconditional.
22870         [!__ASSUME_32BITUIDS]: Remove conditional code.
22871         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22872         <kernel-features.h>.
22873         [__ASSUME_32BITUIDS]: Make code unconditional.
22874         [!__ASSUME_32BITUIDS]: Remove conditional code.
22875         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22876         <kernel-features.h>.
22877         [__ASSUME_32BITUIDS]: Make code unconditional.
22878         [!__ASSUME_32BITUIDS]: Remove conditional code.
22879         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22880         <kernel-features.h>.
22881         [__ASSUME_32BITUIDS]: Make code unconditional.
22882         [!__ASSUME_32BITUIDS]: Remove conditional code.
22883         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22884         <kernel-features.h>.
22885         [__ASSUME_32BITUIDS]: Make code unconditional.
22886         [!__ASSUME_32BITUIDS]: Remove conditional code.
22887         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22888         <kernel-features.h>.
22889         [__NR_setresgid] (__setresgid): Do not declare.
22890         [__ASSUME_32BITUIDS]: Make code unconditional.
22891         [!__ASSUME_32BITUIDS]: Remove conditional code.
22892         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22893         <kernel-features.h>.
22894         [__NR_setresuid] (__setresuid): Do not declare.
22895         [__ASSUME_32BITUIDS]: Make code unconditional.
22896         [!__ASSUME_32BITUIDS]: Remove conditional code.
22897         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22898         <kernel-features.h>.
22899         [__ASSUME_32BITUIDS]: Make code unconditional.
22900         [!__ASSUME_32BITUIDS]: Remove conditional code.
22901         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22902         <kernel-features.h>.
22903         [__ASSUME_32BITUIDS]: Make code unconditional.
22904         [!__ASSUME_32BITUIDS]: Remove conditional code.
22905         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22906         <kernel-features.h>.
22907         [__ASSUME_32BITUIDS]: Make code unconditional.
22908         [!__ASSUME_32BITUIDS]: Remove conditional code.
22909         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22910         <kernel-features.h>.
22911         [__ASSUME_32BITUIDS]: Make code unconditional.
22912         [!__ASSUME_32BITUIDS]: Remove conditional code.
22913         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22914         <kernel-features.h>.
22915         [__ASSUME_32BITUIDS]: Make code unconditional.
22916         [!__ASSUME_32BITUIDS]: Remove conditional code.
22917         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22918         <kernel-features.h>.
22919         [__ASSUME_32BITUIDS]: Make code unconditional.
22920         [!__ASSUME_32BITUIDS]: Remove conditional code.
22921         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22922         <kernel-features.h>.
22923         [__ASSUME_32BITUIDS]: Make code unconditional.
22924         [!__ASSUME_32BITUIDS]: Remove conditional code.
22925         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22926         <kernel-features.h>.
22927         [__ASSUME_32BITUIDS]: Make code unconditional.
22928         [!__ASSUME_32BITUIDS]: Remove conditional code.
22929         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22930         <kernel-features.h>.
22931         [__ASSUME_32BITUIDS]: Make code unconditional.
22932         [!__ASSUME_32BITUIDS]: Remove conditional code.
22933         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22934         <kernel-features.h>.
22935         [__ASSUME_32BITUIDS]: Make code unconditional.
22936         [!__ASSUME_32BITUIDS]: Remove conditional code.
22937         * sysdeps/unix/sysv/linux/kernel-features.h
22938         (__ASSUME_SETRESUID_SYSCALL): Remove.
22939         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22940         (__ASSUME_32BITUIDS): Likewise.
22941         (__ASSUME_LDT_WORKS): Likewise.
22942         (__ASSUME_O_DIRECTORY): Likewise.
22943         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22944         architecture but not kernel version.
22945         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22946         (__ASSUME_MMAP2_SYSCALL): Likewise.
22947         (__ASSUME_STAT64_SYSCALL): Likewise.
22948         (__ASSUME_IPC64): Likewise.
22949         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22950         <kernel-features.h>.
22951         [__ASSUME_32BITUIDS]: Make code unconditional.
22952         [!__ASSUME_32BITUIDS]: Remove conditional code.
22953         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22954         <kernel-features.h>.
22955         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22956         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22957         132096]: Remove conditional code.
22958         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22959         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22960         <kernel-features.h>.
22961         [__ASSUME_32BITUIDS]: Make code unconditional.
22962         [!__ASSUME_32BITUIDS]: Remove conditional code.
22963         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22964         <kernel-features.h>.
22965         [__ASSUME_32BITUIDS]: Make code unconditional.
22966         [!__ASSUME_32BITUIDS]: Remove conditional code.
22967         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22968         <kernel-features.h>.
22969         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22970         unconditional.
22971         (__setresgid): Do not declare.
22972         [__ASSUME_32BITUIDS]: Make code unconditional.
22973         [!__ASSUME_32BITUIDS]: Remove conditional code.
22974         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22975         <kernel-features.h>.
22976         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22977         unconditional.
22978         (__setresuid): Do not declare.
22979         [__ASSUME_32BITUIDS]: Make code unconditional.
22980         [!__ASSUME_32BITUIDS]: Remove conditional code.
22981         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22982         <kernel-features.h>.
22983         [__ASSUME_32BITUIDS]: Make code unconditional.
22984         [!__ASSUME_32BITUIDS]: Remove conditional code.
22985         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22986         <kernel-features.h>.
22987         [__ASSUME_32BITUIDS]: Make code unconditional.
22988         [!__ASSUME_32BITUIDS]: Remove conditional code.
22990 2012-05-25  Richard Henderson  <rth@twiddle.net>
22992         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22993         dl_hwcap to ifunc resolver.
22994         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22995         elf_ifunc_invoke.
22996         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22997         dl_hwcap to ifunc resolver.
22998         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23000 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23002         [BZ #14153]
23003         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23004         for |x| <= 2**-26, not 2**-57.
23005         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23006         exception.
23008 2012-05-24  Jeff Law  <law@redhat.com>
23010         * stdio-common/Makefile (tests): Add bug25.
23011         * stdio-common/bug25.c: New test.
23013 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23015         [BZ #13576]
23016         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23017         multiple of MALLOC_ALIGNMENT in size.
23018         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23020 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23022         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23023         Require >= 256.
23024         (FILENAME_MAX): Use macro-int-constant.
23025         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23026         (_IOFBF): Use macro-int-constant.
23027         (_IOLBF): Likewise.
23028         (_IONBF): Likewise.
23029         (SEEK_CUR): Likewise.
23030         (SEEK_END): Likewise.
23031         (SEEK_SET): Likewise.
23032         (TMP_MAX): Likewise.
23033         (EOF): Use macro-int-constant.  Require < 0.
23034         (NULL): Use macro-constant.  Require == 0.
23035         (stdin): Require type to be FILE *.
23036         (stdout): Likewise.
23037         (stderr): Likewise.
23038         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23039         macro-int-constant.
23040         (EXIT_SUCCESS): Likewise.
23041         (NULL): Use macro-constant.  Require == 0.
23042         (RAND_MAX): Use macro-int-constant.
23043         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23044         [C99-based standards] (strtof): Require function.
23045         [C99-based standards] (strtold): Likewise.
23046         [C99-based standards] (strtoll): Likewise.
23047         [C99-based standards] (strtoull): Likewise.
23048         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23049         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23050         [ISO || ISO99 || ISO11] (math.h): Likewise.
23051         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23052         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23053         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23055 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23057         [BZ #14132]
23058         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23059         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23060         * intl/dgettext.c (DCGETTEXT): Likewise.
23061         * intl/gettext.c (DCGETTEXT): Likewise.
23062         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23063         * posix/regex_internal.h (gettext): Likewise.
23064         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23065         Remove declaration.
23066         * include/argz.h (__argz_count_internal)
23067         (__argz_stringify_internal): Remove declaration.
23068         (__argz_count, __argz_stringify): Declare hidden proto.
23069         * intl/dcgettext.c: Remove use of INTDEF.
23070         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23071         * string/argz-stringify.c: Likewise.
23072         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23073         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23074         Declare hidden proto.
23075         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23076         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23077         Declare hidden proto.
23078         * include/stdio.h (__asprintf_internal): Don't declare.
23079         (__asprintf): Don't define as macro.  Declare hidden proto.
23080         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23081         (__fsetlocking): Declare hidden proto.
23082         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23083         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23084         hidden proto.
23085         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23086         (_IO_setlinebuf): Remove use of INTUSE.
23087         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23088         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23089         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23090         Remove declaration.
23091         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23092         (_IO_do_flush): Remove use of INTUSE.
23093         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23094         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23095         (_IO_adjust_column, _IO_least_wmarker)
23096         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23097         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23098         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23099         (_IO_default_doallocate, _IO_wdefault_doallocate)
23100         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23101         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23102         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23103         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23104         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23105         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23106         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23107         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23108         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23109         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23110         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23111         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23112         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23113         proto.
23114         (_IO_flush_all_internal, _IO_adjust_column_internal)
23115         (_IO_default_uflow_internal, _IO_default_finish_internal)
23116         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23117         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23118         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23119         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23120         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23121         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23122         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23123         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23124         (_IO_file_close_internal, _IO_file_close_it_internal)
23125         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23126         (_IO_file_init_internal, _IO_file_attach_internal)
23127         (_IO_file_fopen_internal, _IO_file_read_internal)
23128         (_IO_file_sync_internal, _IO_file_seek_internal)
23129         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23130         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23131         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23132         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23133         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23134         (_IO_list_all_internal, _IO_link_in_internal)
23135         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23136         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23137         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23138         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23139         (_IO_do_write_internal, _IO_padn_internal)
23140         (_IO_getline_info_internal, _IO_getline_internal)
23141         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23142         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23143         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23144         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23145         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23146         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23147         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23148         with libc_hidden_ver, remove use of INTUSE.
23149         * libio/genops.c: Likewise.
23150         * libio/freopen.c: Likewise.
23151         * libio/freopen64.c: Likewise.
23152         * libio/iofclose.c: Likewise.
23153         * libio/iofdopen.c: Likewise.
23154         * libio/iofflush.c: Likewise.
23155         * libio/iofflush_u.c: Likewise.
23156         * libio/iofgets.c: Likewise.
23157         * libio/iofgets_u.c: Likewise.
23158         * libio/iofopen.c: Likewise.
23159         * libio/iofopncook.c: Likewise.
23160         * libio/iofread.c: Likewise.
23161         * libio/iofread_u.c: Likewise.
23162         * libio/ioftell.c: Likewise.
23163         * libio/iofwrite.c: Likewise.
23164         * libio/iogetline.c: Likewise.
23165         * libio/iogets.c: Likewise.
23166         * libio/iogetwline.c: Likewise.
23167         * libio/iopadn.c: Likewise.
23168         * libio/iopopen.c: Likewise.
23169         * libio/ioseekoff.c: Likewise.
23170         * libio/ioseekpos.c: Likewise.
23171         * libio/iosetbuffer.c: Likewise.
23172         * libio/iosetvbuf.c: Likewise.
23173         * libio/ioungetc.c: Likewise.
23174         * libio/ioungetwc.c: Likewise.
23175         * libio/iovdprintf.c: Likewise.
23176         * libio/iovsprintf.c: Likewise.
23177         * libio/iovsscanf.c: Likewise.
23178         * libio/memstream.c: Likewise.
23179         * libio/obprintf.c: Likewise.
23180         * libio/oldfileops.c: Likewise.
23181         * libio/oldiofclose.c: Likewise.
23182         * libio/oldiofdopen.c: Likewise.
23183         * libio/oldiofopen.c: Likewise.
23184         * libio/oldiopopen.c: Likewise.
23185         * libio/oldstdfiles.c: Likewise.
23186         * libio/putc.c: Likewise.
23187         * libio/setbuf.c: Likewise.
23188         * libio/setlinebuf.c: Likewise.
23189         * libio/stdfiles.c: Likewise.
23190         * libio/strops.c: Likewise.
23191         * libio/vasprintf.c: Likewise.
23192         * libio/vscanf.c: Likewise.
23193         * libio/vsnprintf.c: Likewise.
23194         * libio/vswprintf.c: Likewise.
23195         * libio/wfiledoalloc.c: Likewise.
23196         * libio/wfileops.c: Likewise.
23197         * libio/wgenops.c: Likewise.
23198         * libio/wmemstream.c: Likewise.
23199         * libio/wstrops.c: Likewise.
23200         * libio/__fpurge.c: Likewise.
23201         * libio/__fsetlocking.c: Likewise.
23202         * assert/assert.c: Likewise.
23203         * debug/fgets_chk.c: Likewise.
23204         * debug/fgets_u_chk.c: Likewise.
23205         * debug/fread_chk.c: Likewise.
23206         * debug/fread_u_chk.c: Likewise.
23207         * debug/gets_chk.c: Likewise.
23208         * debug/obprintf_chk.c: Likewise.
23209         * debug/vasprintf_chk.c: Likewise.
23210         * debug/vdprintf_chk.c: Likewise.
23211         * debug/vsnprintf_chk.c: Likewise.
23212         * debug/vsprintf_chk.c: Likewise.
23213         * malloc/mtrace.c: Likewise.
23214         * misc/error.c: Likewise.
23215         * misc/syslog.c: Likewise.
23216         * stdio-common/asprintf.c: Likewise.
23217         * stdio-common/fxprintf.c: Likewise.
23218         * stdio-common/getw.c: Likewise.
23219         * stdio-common/isoc99_fscanf.c: Likewise.
23220         * stdio-common/isoc99_scanf.c: Likewise.
23221         * stdio-common/isoc99_vfscanf.c: Likewise.
23222         * stdio-common/isoc99_vscanf.c: Likewise.
23223         * stdio-common/isoc99_vsscanf.c: Likewise.
23224         * stdio-common/printf-prs.c: Likewise.
23225         * stdio-common/printf_fp.c: Likewise.
23226         * stdio-common/printf_fphex.c: Likewise.
23227         * stdio-common/printf_size.c: Likewise.
23228         * stdio-common/putw.c: Likewise.
23229         * stdio-common/scanf.c: Likewise.
23230         * stdio-common/sprintf.c: Likewise.
23231         * stdio-common/tmpfile.c: Likewise.
23232         * stdio-common/vfprintf.c: Likewise.
23233         * stdio-common/vfscanf.c: Likewise.
23234         * stdlib/strfmon_l.c: Likewise.
23235         * sunrpc/openchild.c: Likewise.
23236         * sunrpc/xdr_stdio.c: Likewise.
23237         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23238         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23240 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23242         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23244         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23245         in the third column, to generate for the shared library an IFUNC
23246         that uses _dl_vdso_vsym.
23247         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23248         * Makeconfig (object-suffixes-noshared): New variable.
23250         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23251         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23252         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23253         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23255         [BZ #14132]
23256         * include/sys/time.h (__gettimeofday): Remove macro.
23257         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23258         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23259         Remove INTDEF.
23260         (__gettimeofday): Add libc_hidden_def.
23261         (gettimeofday): Add libc_hidden_weak.
23262         * sysdeps/mach/gettimeofday.c: Likewise.
23263         * sysdeps/posix/gettimeofday.c: Likewise.
23264         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23265         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23266         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23267         (__gettimeofday_internal): Remove strong_alias.
23268         (__gettimeofday): Add libc_hidden_def.
23269         (gettimeofday): Add libc_hidden_weak.
23270         * sysdeps/unix/syscalls.list (gettimeofday):
23271         Remove __gettimeofday_internal alias.
23273 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23274             H.J. Lu  <hongjiu.lu@intel.com>
23276         [BZ #12495]
23277         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23278         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23279         (largebin_index_32_big): New.
23280         (largebin_index): Use it for 16-byte alignment.
23281         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23282         correction with front_misalign.
23284 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23288         Likewise.
23289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23290         Likewise.
23291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23292         Likewise.
23293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23294         Likewise.
23295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23296         Likewise.
23297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23298         Likewise.
23299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23300         Likewise.
23301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23302         Likewise.
23303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23304         Likewise.
23305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23306         Likewise.
23307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23308         Likewise.
23309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23310         Likewise.
23312         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23313         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23315 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23317         [BZ #10846]
23318         [BZ #14036]
23319         * math/libm-test.inc (exp_test): Add test from bug 14036.
23320         (pow_test): Add test from bug 10846.
23322         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23323         and other flags.
23324         (special_function): Do not include flags in test name.
23325         (parse_args): Likewise.
23326         * sysdeps/i386/fpu/libm-test-ulps: Update.
23327         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23328         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23329         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23332         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23333         exceptions.
23334         * math/libm-test.inc ("Philosophy"): Update comment about
23335         exception testing.
23336         (UNDERFLOW_EXCEPTION): New macro.
23337         (UNDERFLOW_EXCEPTION_OK): Likewise.
23338         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23339         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23340         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23341         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23342         (INVALID_EXCEPTION_OK): Update value.
23343         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23344         (OVERFLOW_EXCEPTION_OK): Likewise.
23345         (IGNORE_ZERO_INF_SIGN): Likewise.
23346         (test_exceptions): Handle underflow exceptions.
23347         (acos_test): Update for underflow exception expectations.
23348         (cexp_test): Likewise.
23349         (clog_test): Likewise.
23350         (clog10_test): Likewise.
23351         (csqrt_test): Likewise.
23352         (ctan_test): Likewise.
23353         (ctanh_test): Likewise.
23354         (exp_test): Likewise.
23355         (exp10_test): Likewise.
23356         (exp2_test): Likewise.
23357         (expm1_test): Likewise.
23358         (fma_test): Likewise.
23359         (j0_test): Likewise.
23360         (jn_test): Likewise.
23361         (nexttoward_test): Likewise.
23362         (pow_test): Likewise.
23363         (scalbn_test): Likewise.
23364         (scalbln_test): Likewise.
23365         (tan_test): Likewise.
23366         (y1_test): Likewise.
23367         * sysdeps/i386/fpu/libm-test-ulps: Update.
23368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23370 2012-05-23  David S. Miller  <davem@davemloft.net>
23372         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23373         (__libc_sigaction): Remove unused local variables.
23375 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23377         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23379 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23381         mktime: avoid signed integer overflow
23382         * time/mktime.c (__mktime_internal): Do not mishandle the case
23383         where diff == INT_MIN.
23385         mktime: simplify computation of average
23386         * time/mktime.c (ranged_convert): Use new time_t_avg function
23387         instead of rolling our own (probably-slower) code.
23389         mktime: do not assume signed right shift propagates sign bit
23390         * time/mktime.c (isdst_differ): New static function.
23391         (__mktime_internal): No need to normalize tm_isdst now.
23392         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23393         tm_isdst values.
23395         mktime: merge another wrapv change from gnulib
23396         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23397         from some compilers.
23399         mktime: remove incorrect attempt at unusual arithmetics
23400         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23401         The code didn't really work on such machines anyway.
23402         (TYPE_MINIMUM): Assume two's complement.
23403         (twos_complement_arithmetic): Verify that long_int and time_t
23404         are two's complement (or unsigned, in the latter case).
23406         mktime: check signed shifts on long_int and time_t, too
23407         * time/mktime.c (SHR): Check that shifts work as desired
23408         on the types long_int and time_t too, as SHR is used on
23409         such types.
23411         mktime: do not assume 'long' is wide enough
23412         * time/mktime.c (verify): Move decl up.
23413         (long_int): New type.
23414         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23415         to remove assumption in the code that 'long' is wide enough to
23416         store year values.  This assumption is not true on x32 and on
23417         some non-glibc platforms.
23419         mktime: merge wrapv change from gnulib
23420         * time/mktime.c (WRAPV): New macro.
23421         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23422         (guess_time_tm, __mktime_internal): Do not assume that signed
23423         integer overflow wraps around; modern compilers generate code
23424         where this assumption is no longer valid.
23426 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23428         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23429         Replace "jmp L(pseudo_end)" with "ret".
23430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23431         Likewise.
23433 2012-05-23  Andreas Jaeger  <aj@suse.de>
23435         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23436         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23438 2012-05-23  Andreas Jaeger  <aj@suse.de>
23439             Maximilian Attems  <max@stro.at>
23441         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23442         New macros.
23444 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23446         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23447         code so that pseudo_end is just ret and the stack pointer is
23448         correct also for static library in error case.
23450 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23452         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23453         move to syscalls.list.
23454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23459         * manual/install.texi (Running make install): Do not mention Linux
23460         kernel version for which pt_chown is not needed.
23461         (Linux): Do not mention problems with nscd with 2.0 kernels.
23462         * INSTALL: Regenerated.
23464 2012-05-23  Andreas Jaeger  <aj@suse.de>
23466         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23467         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23468         macro.
23469         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23470         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23471         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23472         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23473         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23474         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23475         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23476         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23477         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23478         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23479         * sysdeps/unix/sysv/linux/bits/in.h
23480         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23482 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23484         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23485         (PREPARE_VERSION): Just use assert instead, it will be elided
23486         under [NDEBUG] anyway.
23488 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23490         * sysdeps/unix/sysv/linux/Makefile: Include
23491         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23492         (sysdep_routines): Remove sysctl.
23493         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23494         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23495         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23496         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23497         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23499 2012-05-22  Andreas Jaeger  <aj@suse.de>
23501         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23502         that pseudo_end is just ret and the stack pointer is correct also
23503         for static library in error case.
23505 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23507         [BZ #14122]
23508         * nss/nsswitch.c (defconfig_entries): New variable.
23509         (__nss_database_lookup): Don't leak defconfig entries.
23510         (nss_parse_service_list): Don't leak on error paths.
23511         (free_database_entries): New function.
23512         (free_defconfig): New function.
23513         (free_mem): Move common code to free_database_entries.
23515 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23517         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23518         Add arch_prctl.
23519         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23521         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23522         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23523         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23524         New macro.
23525         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23526         (INTERNAL_SYSCALL_TYPES): Likewise.
23527         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23528         (LOAD_REGS_TYPES_[1-6]): Likewise.
23529         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23530         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23532 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23534         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23535         copysignl for GLIBC_2_0.
23536         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23537         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23538         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23539         logbl for GLIBC_2_0.
23540         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23541         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23543 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23545         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23546         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23548         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23549         Use "neg %eax".
23551         * time/mktime.c: Update copyright years.
23553 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23555         mktime: merge comment-quoting-style change from gnulib
23556         * time/mktime.c: Quote 'like this' in comments.
23557         The GNU coding standards suggest that we no longer quote `like this',
23558         as "`" and "'" are typically rendered asymmetrically nowadays.
23559         The typical gnulib style is to quote 'like this' when quoting
23560         code, and "like this" when quoting English.
23562         * time/mktime.c (compile-command): Add "-I.".
23564         mktime: merge mktime-internal.h change from gnulib
23565         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23567         mktime: merge time_r change from gnulib
23568         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23570         mktime: merge DEBUG change from gnulib
23571         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23572         case system <time.h> has a #define.
23574         mktime: merge <sys/types.h> change from gnulib
23575         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23576         since <time.t> is now guaranteed to define time_t.
23578         mktime: merge HAVE_CONFIG_H change from gnulib
23579         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23581 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23583         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23584         Use "neg %eax".
23586         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23587         __rlim_t cast.
23588         (struct rusage): Use anonymous union to pad each field to
23589         __syscall_slong_t.
23591 2012-05-21  David S. Miller  <davem@davemloft.net>
23593         * Makefules (o-iterator): Remove .s cases.
23594         (compile-command.s): Delete.
23595         (COMPILE.s): Delete.
23596         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23598 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23600         * configure.in (libc_cv_predef_stack_protector): Only consider
23601         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23602         * configure: Regenerated.
23604 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23606         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23607         New macro.  Use R*LP on int and pointer.
23608         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23609         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23610         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23611         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23613         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23614         [__WORDSIZE_TIME64_COMPAT32] instead of
23615         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23616         (struct utmp): Likewise.
23617         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23618         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23619         Renamed to ...
23620         (__WORDSIZE_TIME64_COMPAT32): This.
23621         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23622         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23623         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23624         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23625         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23626         (__WORDSIZE_TIME64_COMPAT32): New macro.
23628 2012-05-21  Andreas Jaeger  <aj@suse.de>
23630         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23631         only if [SHARED]. Add prototype for __wcschr_ia32.
23633 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23635         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23636         of %rbp unmolested in the jmp_buf while mangling the low bits.
23637         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23638         unmolested high bits of %rbp while demangling the low bits.
23639         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23641 2012-05-21  Andreas Jaeger  <aj@suse.de>
23643         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23644         * sunrpc/svc_simple.c: Use it for registerrpc.
23645         * sunrpc/xcrypt.c: Use it for passwd2des.
23647         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23649 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23651         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23652         Don't define if [__SYSCALL_WORDSIZE != 32].
23653         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23654         New macro.
23656 2012-05-21  Bruno Haible  <bruno@clisp.org>
23657             Andreas Jaeger  <aj@suse.de>
23659         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23660         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23661         inptr and inend for must_buffer_ch.
23662         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23663         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23664         * stdio-common/Makefile (tests): Remove bug15.
23665         (bug15-ENV): Remove macro.
23666         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23667         anymore.
23669 2012-05-19  Andreas Jaeger  <aj@suse.de>
23670             Roland McGrath  <roland@hack.frob.com>
23672         * manual/contrib.texi: Completely rewritten. It contains now an
23673         alphabetical list of contributors and their contributions.
23675 2012-05-21  Richard Henderson  <rth@twiddle.net>
23677         * misc/getauxval.c (__getauxval): Use unsigned long int.
23678         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23679         (getauxval): Use unsigned long int.
23681 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23683         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23685 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23687         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23688         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23689         __alignof__ (long double).
23691 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23695 2012-05-20  Richard Henderson  <rth@twiddle.net>
23697         * misc/getauxval.c: New file.
23698         * misc/sys/auxv.h: New file.
23699         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23700         (routines): Add getauxval.
23701         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23702         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23703         * elf/dl-sysdep.c (_dl_auxv): Remove.
23704         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23705         * elf/dl-support.c (_dl_auxv): New variable.
23706         (_dl_aux_init): Initialize it.
23707         * manual/startup.texi (Auxiliary Vector): New node.
23708         * sysdeps/generic/bits/hwcap.h: New file.
23709         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23710         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23711         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23712         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23713         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23714         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23716         Update.
23717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23720         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23726 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23730 2012-05-19  David S. Miller  <davem@davemloft.net>
23732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23734 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23736         [BZ #14123]
23737         * math/s_ccosh.c: Include <float.h>
23738         (__ccosh): Avoid internal overflow calculating sinh and cosh
23739         values before multiplying by sin and cos values.
23740         * math/s_ccoshf.c: Likewise.
23741         * math/s_ccoshl.c: Likewise.
23742         * math/s_csin.c: Likewise.
23743         * math/s_csinf.c: Likewise.
23744         * math/s_csinl.c: Likewise.
23745         * math/s_csinh.c: Likewise.
23746         * math/s_csinhf.c: Likewise.
23747         * math/s_csinhl.c: Likewise.
23748         * math/libm-test.inc (ccos_test): Add more tests.
23749         (ccosh_test): Likewise.
23750         (csin_test): Likewise.
23751         (csinh_test): Likewise.
23752         * sysdeps/i386/fpu/libm-test-ulps: Update.
23753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23755 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23757         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23758         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23760         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23762 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23764         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23765         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23766         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23767         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23768         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23769         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23770         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23771         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23772         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23773         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23774         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23775         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23776         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23777         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23778         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23779         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23780         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23781         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23782         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23783         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23784         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23785         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23786         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23787         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23788         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23789         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23790         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23791         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23792         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23793         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23794         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23796 2012-05-18  Andreas Jaeger  <aj@suse.de>
23798         * csu/.gitignore: Delete.
23800 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23802         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23803         (timex): Use __syscall_slong_t.
23805 2012-05-18  Andreas Jaeger  <aj@suse.de>
23806             Carlos O'Donell  <carlos_odonell@mentor.com>
23808         * manual/install.texi (Configuring and compiling): Update
23809         description about files modified in the source directory.
23810         * INSTALL: Regenerated.
23812 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23814         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23815         value.  Use "or" to set return value to -1.
23816         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23817         negate return value.
23819 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23821         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23822         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23823         failure if the compiler has Graphite support disabled.
23824         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23825         Likewise.
23826         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23827         CFLAGS-memmove.c): Likewise.
23828         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23829         Likewise.
23831 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23833         * sysdeps/x86_64/x32/_itoa.h: New file.
23835         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23836         getdents system call only if kernel and user dirents have the
23837         same d_ino and d_off.
23839         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23840         LLONG_MAX != LONG_MAX.
23841         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23842         (_fitoa_word): Likewise.
23844         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23845         years.
23846         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23847         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23848         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23850         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23851         include <bits/wordsize.h>.  Check __x86_64__ instead of
23852         __WORDSIZE.
23853         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23854         if __x86_64__ is defined.  Use anonymous union on fpstate.
23856         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23857         anonymous union.
23859 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23861         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23862         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23863         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23864         Refer to _rtld_local_ro instead of _rtld_global_ro.
23865         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23866         Likewise.
23867         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23868         Likewise.
23869         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23870         Likewise.
23871         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23872         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23873         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23875         * sysdeps/powerpc/powerpc32/dl-machine.c
23876         (__elf_machine_runtime_setup) [PROF]: Don't reference
23877         _dl_prof_resolve.
23879 2012-05-18  Andreas Jaeger  <aj@suse.de>
23881         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23882         function only available for GCCs before 3.4 since GCC 3.4
23883         introduced a builtin.
23884         (lrint): Likewise.
23885         (llrintf): Likewise.
23886         (llrint): Likewise.
23887         (fmaxf): Likewise.
23888         (fmax): Likewise.
23889         (fminf): Likewise.
23890         (fmin): Likewise.
23891         (rint): Likewise.
23892         (rintf): Likewise.
23893         (nearbyint): Likewise.
23894         (nearbyintf): Likewise.
23895         (ceil): Likewise.
23896         (ceilf): Likewise.
23897         (floor): Likewise.
23898         (floorf): Likewise.
23900 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23902         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23903         on both fields and cast pointer to __syscall_ulong_t.
23905         * bits/types.h (__fsword_t): New type.
23906         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23907         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23908         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23909         (__FSWORD_T_TYPE): Likewise.
23910         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23911         (__FSWORD_T_TYPE): Likewise.
23912         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23913         (__FSWORD_T_TYPE): Likewise.
23914         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23915         (__FSWORD_T_TYPE): Likewise.
23916         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23917         __SWORD_TYPE with __fsword_t.
23918         (statfs64): Likewise.
23920 2012-05-17  David S. Miller  <davem@davemloft.net>
23922         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23924 2012-05-17  Andreas Jaeger  <aj@suse.de>
23926         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23927         warning.
23929 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23931         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23933 2012-05-17  Andreas Jaeger  <aj@suse.de>
23935         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23936         when it is used.
23938 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23940         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23942 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23944         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23945         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23947 2012-05-17  Andreas Jaeger  <aj@suse.de>
23948             Carlos O'Donell  <carlos_odonell@mentor.com>
23950         [BZ #14059]
23951         * sysdeps/x86_64/multiarch/init-arch.h
23952         (bit_YMM_Usable): Rename to...
23953         (bit_AVX_Usable): ... this.
23954         (bit_FMA4_Usable): New macro.
23955         (bit_XMM_state): New macro.
23956         (bit_YMM_state): New macro.
23957         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23958         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23959         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23960         (CPUID_OSXSAVE): New macro.
23961         (CPUID_AVX): New macro.
23962         (CPUID_FMA4): New macro.
23963         (index_YMM_Usable): Rename to...
23964         (index_AVX_Usable): ... this.
23965         (HAS_AVX): Use HAS_ARCH_FEATURE.
23966         (HAS_FMA4): Likewise.
23967         (HAS_YMM_USABLE): Remove.
23968         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23969         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23970         are present.
23971         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23972         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23973         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23974         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23975         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23977 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23979         * math/libm-test.c: Support platforms without multiple rounding modes.
23980         * math/bug-nextafter.c: Support platforms without FP exceptions.
23981         * math/bug-nexttoward.c: Likewise.
23982         * math/test-fenv.c: Likewise.
23983         * math/test-misc.c: Likewise.
23984         * stdlib/bug-getcontext.c: Likewise.
23986 2012-05-17  Andreas Jaeger  <aj@suse.de>
23988         * manual/examples/search.c (critter_cmp): Change signature to
23989         avoid warnings.
23990         * manual/string.texi (Collation Functions): Likewise.
23992 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23994         * bits/types.h: Fold copyright years.
23995         * bits/typesizes.h: Likewise.
23996         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23997         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23998         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23999         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24000         * time/time.h: Likewise.
24002 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24004         [BZ #208]
24005         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24006         in instead of returning them.  Return void.
24007         (__libc_mallinfo): Accumulate over all arenas.
24008         (__malloc_stats): Adjust for change in int_mallinfo interface.
24010 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24012         [BZ #10375]
24013         * configure.in (NM): Add AC_CHECK_TOOL for it.
24014         (libc_extra_cflags): New substituted variable.
24015         Check for -fstack-protector being used implicitly.
24016         * configure: Regenerated.
24017         * config.make.in (config-extra-cflags): New variable,
24018         gets @libc_extra_cflags@.
24019         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24021         [BZ #10375]
24022         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24023         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24024         * configure: Regenerated.
24025         * config.make.in (CPPUNDEFS): New substituted variable.
24026         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24027         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24028         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24030 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24032         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24033         (mq_attr): Use __syscall_slong_t.
24035 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24037         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24038         Check __x86_64__ instead of __WORDSIZE.
24039         (_STAT_VER_LINUX): Likewise.
24040         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24041         __syscall_ulong_t and __syscall_slong_t.
24042         (stat64): Likewise.
24044 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24046         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24048 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24050         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24052 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24054         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24055         __syscall_ulong_t.
24057         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24058         include <bits/wordsize.h>.  Check __x86_64__ instead of
24059         __WORDSIZE.
24060         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24061         defined.
24062         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24064         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24065         include <bits/wordsize.h>.  Check __x86_64__ instead of
24066         __WORDSIZE.
24067         (user_regs_struct): Use "__extension__ unsigned long long"
24068         instead of "unsigned long" if __x86_64__ is defined.
24069         (user): Likewise.  Pad after pointer field if __ILP32__ is
24070         defined.
24072 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24074         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24075         versions 5 to 9.
24076         * configure: Regenerated.
24077         * manual/install.texi (texinfo): Increase version requirement to
24078         4.5 or later.
24079         * INSTALL: Regenerated.
24081         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24083 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24085         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24087         * sysdeps/x86_64/x32/ffs.c: New file.
24089         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24090         __syscall_ulong_t.
24091         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24092         defined.  Use __syscall_ulong_t.
24093         (shminfo): Use __syscall_ulong_t.
24094         (shm_info): Likewise.
24096         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24097         __syscall_ulong_t.
24099         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24100         <bits/wordsize.h>.
24101         (msgqnum_t): Use __syscall_ulong_t.
24102         (msglen_t): Likewise.
24103         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24104         __syscall_ulong_t.
24106         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24107         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24109         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24111         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24112         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24114         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24115         __syscall_slong_t.
24117         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24118         include <bits/wordsize.h>.  Check __x86_64__ instead of
24119         __WORDSIZE.
24121         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24122         "unsigned long long int" if __x86_64__ is defined.
24123         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24125         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24126         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24127         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24129         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24130         <stdint.h>.
24131         (GET_PC): Cast to uintptr_t first.
24132         (GET_FRAME): Likewise.
24133         (GET_STACK): Likewise.
24135         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24136         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24137         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24138         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24139         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24140         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24141         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24142         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24143         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24144         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24145         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24146         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24147         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24148         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24149         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24150         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24151         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24152         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24153         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24154         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24155         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24156         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24157         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24158         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24159         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24160         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24161         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24162         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24163         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24165 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24167         * Makerules (+depfiles): Also collect depfiles from .oS in
24168         $(extra-objs).
24169         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24170         .oS, $(libnldbl-routines)).
24172         * Makerules (native-compile-mkdep-flags): Define.
24173         * sunrpc/Makefile (extra-objs): Add $(addprefix
24174         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24175         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24176         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24177         calling $(make-target-directory).
24179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24181         * bits/types.h (__snseconds_t): Removed.
24182         * time/time.h (struct timespec): Replace __snseconds_t with
24183         __syscall_slong_t.
24184         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24185         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24186         Likewise.
24187         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24188         (__SNSECONDS_T_TYPE): Likewise.
24189         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24190         (__SNSECONDS_T_TYPE): Likewise.
24191         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24192         (__SNSECONDS_T_TYPE): Likewise.
24194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24196         * sysdeps/mach/hurd/bits/typesizes.h
24197         (__SYSCALL_SLONG_TYPE): New macro.
24198         (__SYSCALL_ULONG_TYPE): Likewise.
24200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24202         * bits/types.h (__syscall_slong_t): New type.
24203         (__syscall_ulong_t): Likewise.
24205         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24206         (__SYSCALL_ULONG_TYPE): Likewise.
24207         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24208         (__SYSCALL_SLONG_TYPE): Likewise.
24209         (__SYSCALL_ULONG_TYPE): Likewise.
24210         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24211         (__SYSCALL_SLONG_TYPE): Likewise.
24212         (__SYSCALL_ULONG_TYPE): Likewise.
24213         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24214         (__SYSCALL_SLONG_TYPE): Likewise.
24215         (__SYSCALL_ULONG_TYPE): Likewise.
24217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24219         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24220         Add sigaltstack-offsets.sym.
24221         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24222         <sigaltstack-offsets.h>.
24223         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24224         longjmp_msg pointer.
24225         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24226         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24227         signal stack.
24228         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24230 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24232         * elf/stackguard-macros.h: Remove file.
24233         * sysdeps/generic/stackguard-macros.h: New file.
24234         * sysdeps/i386/stackguard-macros.h: Likewise.
24235         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24236         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24237         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24238         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24239         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24240         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24241         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24242         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24243         <elf/stackguard-macros.h>.
24245         [BZ #14109]
24246         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24247         __aligned__ in attribute.
24248         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24249         (gregset_t): Likewise.
24251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24253         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24254         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24255         * sysdeps/x86_64/x32/Implies-after: New file.
24257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24259         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24260         and access return value for _dl_profile_fixup.  Use R10_LP to
24261         load frame size.
24263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24265         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24269         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24270         * sysdeps/x86_64/x32/sysdep.h: New file.
24272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24274         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24275         * sysdeps/x86_64/setjmp.S: Likewise.
24277 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24279         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24280         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24281         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24282         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24283         remove unused global constant.
24285 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24287         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24288         include of <not-cancel.h>.
24290 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24292         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24294 2012-05-15  Jeff Law  <law@redhat.com>
24295             Andreas Jaeger  <aj@suse.de>
24297         [BZ #13594]
24298         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24299         out from...
24300         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24301         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24302         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24303         code changing __hst_map_handle.map.
24305 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24307         * configure.in (sysnames): Look for Implies-before and Implies-after
24308         files.
24309         * configure: Regenerated.
24311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24313         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24314         8-byte data alignment with LP_SIZE alignment.
24316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24318         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24319         into R10_LP.
24321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24323         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24327         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24328         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24329         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24330         Likewise.
24331         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24333 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24335         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24336         (stackinfo_sub_sp): Likewise.
24338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24340         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24341         RAX_LP.
24343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24345         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24346         into R*_LP.
24348 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24350         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24351         sizes into R*_LP.
24353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24355         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24357 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24359         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24360         into R11_LP and load __x86_64_shared_cache_size_half into
24361         R8_LP.
24363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24365         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24366         R8_LP.
24368 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24371         logb for POWER7.
24372         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24373         logbf for POWER7.
24374         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24375         logbl for POWER7.
24376         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24377         powerpc32/power7/fpu/s_logb.c via #include.
24378         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24379         powerpc32/power7/fpu/s_logbf.c via #include.
24380         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24381         powerpc32/power7/fpu/s_logbl.c via #include.
24383 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24385         * README.libm: Remove file.
24387 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24389         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24390         count for x32.  Use R*_LP and omit operand-size suffix.
24392 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24394         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24395         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24396         * sysdeps/x86_64/x32/shlib-versions: New file.
24398 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24400         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24401         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24402         Use _dl_fatal_printf instead.
24404 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24406         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24407         set if not set by the user.  Do not allow for being unset.
24408         * sysdeps/unix/sysv/linux/configure: Regenerated.
24410 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24412         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24413         the `q' suffix from lea and replace .quad with ASM_ADDR.
24415 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24418         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24419         instead of $17.
24420         (PTR_DEMANGLE): Likewise.
24422 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24424         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24425         (LP_OP): Likewise.
24426         (ASM_ADDR): Likewise.
24427         (RAX_LP): Likewise.
24428         (RBP_LP): Likewise.
24429         (RBX_LP): Likewise.
24430         (RCX_LP): Likewise.
24431         (RDI_LP): Likewise.
24432         (RSI_LP): Likewise.
24433         (RSP_LP): Likewise.
24434         (R8_LP): Likewise.
24435         (R9_LP): Likewise.
24436         (R10_LP): Likewise.
24437         (R10_LP): Likewise.
24438         (R11_LP): Likewise.
24439         (R12_LP): Likewise.
24440         (R13_LP): Likewise.
24441         (R14_LP): Likewise.
24442         (R15_LP): Likewise.
24444 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24446         * sysdeps/x86_64/x32/dl-machine.h: New file.
24448 2012-05-14  Andreas Jaeger  <aj@suse.de>
24450         * manual/Makefile (subdir): Remove export of subdir.
24451         (all): Remove target.
24452         (.PHONY): Remove all from list.
24453         (mkinstalldirs): Remove.
24454         (.PHONY): Remove installdirs from list.
24455         ($(inst_infodir)/libc.info): Use make-target-directory.
24456         (installdirs): Remove.
24457         (subdir_%): Remove.
24458         (glibc-targets): Remove.
24459         (lib): Remove.
24460         (stubs): Remove.
24461         ($(objpfx)stubs ../po/manual.pot): Remove.
24462         ($(objpfx)stamp%): Remove.
24463         (make-target-directory): Remove.
24464         (subdir_install): Remove.
24465         (routines): Remove.
24466         (aux): Remove.
24467         (sources): Remove.
24468         (objects): Remove.
24469         (headers): Remove.
24471         [BZ #13750]
24472         * manual/.gitignore: Remove, it's not needed anymore.
24473         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24474         all files in it.
24475         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24476         directory.
24477         (texis): Renamed to $(objpfx)texis.
24478         (texis-path): New, contains path to generated files.
24479         (chapters.%): Use texis-path for complete path, add extra argument
24480         libc-texinfo.sh.
24481         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24482         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24483         (summary,texi, stamp-summary): Use complete path of
24484         files. Generate files in build dir.
24485         (dir-add.texi): Build in build dir.
24486         (libm-err.texi,stamp-libm-err): Likewise.
24487         (version.texi, stamp-version): Likewise.
24488         (.%c.texi): Likewise.
24489         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24490         (mostlyclean): Remove target.
24491         (realclean): Remove target.
24492         (generated): Add new variable with contents from mostlyclean and
24493         realclean, remove entries duplicated in common-mostlyclean, add
24494         stamp-libm-err and stamp-version.
24495         (generated-dirs): Add libc directory.
24496         ($(inst_infodir)/libc.info): Install files from build dir.
24498         * manual/install.texi (Configuring and compiling): Adjust since
24499         the info files are not part of the tar ball anymore.
24501 2012-05-14  Andreas Jaeger  <aj@suse.de>
24503         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24504         variable.
24506 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24508         [BZ #13717]
24509         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24510         to 2.2.0 where earlier.
24511         * sysdeps/unix/sysv/linux/configure: Regenerated.
24512         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24513         Remove conditional code.
24514         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24515         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24516         Remove conditional code.
24517         [!__NR_lchown]: Likewise.
24518         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24519         [__NR_lchown]: Likewise.
24520         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24521         comment referencing __ASSUME_LCHOWN_SYSCALL.
24522         * sysdeps/unix/sysv/linux/i386/sigaction.c
24523         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24524         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24525         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24526         Remove conditional code.
24527         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24528         (__protocol_available): Remove #if 0 code.
24529         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24530         conditional code.
24531         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24532         * sysdeps/unix/sysv/linux/kernel-features.h
24533         (__ASSUME_GETCWD_SYSCALL): Don't define.
24534         (__ASSUME_REALTIME_SIGNALS): Likewise.
24535         (__ASSUME_PREAD_SYSCALL): Likewise.
24536         (__ASSUME_PWRITE_SYSCALL): Likewise.
24537         (__ASSUME_POLL_SYSCALL): Likewise.
24538         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24539         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24540         non-SPARC.
24541         (__ASSUME_SIOCGIFNAME): Don't define.
24542         (__ASSUME_MSG_NOSIGNAL): Likewise.
24543         (__ASSUME_SENDFILE): Define unconditionally.
24544         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24545         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24546         conditional code.
24547         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24548         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24549         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24550         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24551         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24552         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24553         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24555         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24556         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24558         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24559         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24561         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24562         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24564         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24565         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24567         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24568         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24570         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24571         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24573         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24574         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24576         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24577         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24578         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24579         Remove conditional code.
24580         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24581         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24582         Remove conditional code.
24583         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24584         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24585         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24586         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24587         Remove conditional code.
24588         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24589         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24590         Remove conditional code.
24591         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24592         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24593         Remove conditional code.
24594         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24595         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24596         Remove conditional code.
24597         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24598         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24599         Remove conditional code.
24600         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24601         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24602         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24603         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24604         * sysdeps/unix/sysv/linux/sigaction.c
24605         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24606         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24607         * sysdeps/unix/sysv/linux/sigpending.c
24608         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24609         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24610         * sysdeps/unix/sysv/linux/sigprocmask.c
24611         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24612         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24613         * sysdeps/unix/sysv/linux/sigsuspend.c
24614         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24615         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24616         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24617         (__libc_missing_rt_sigs): Remove.
24618         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24619         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24620         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24621         Remove conditional code.
24622         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24623         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24624         return 1.
24625         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24626         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24627         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24628         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24630 2012-05-14  Andreas Jaeger  <aj@suse.de>
24632         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24633         it's not used in glibc.
24634         (__coshm1): Likewise.
24635         (__acosh1p): Likewise.
24636         (__sgn): Likewise.
24638         * manual/string.texi (Copying and Concatenation): Add missing
24639         variable in concat example.
24640         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24642 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24644         [BZ #14103]
24645         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24646         __builtin_clzl with __builtin_clzll.
24648 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24650         [BZ #14104]
24651         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24652         libc_freeres_ptr.
24654 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24656         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24657         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24658         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24659         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24661 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24663         * NEWS: Update ia64 info.
24665 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24667         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24668         used as bcopy.
24670 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24672         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24673         * sysdeps/unix/syscalls.list (dup3): Likewise.
24674         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24675         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24677 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24679         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24680         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24682 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24684         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24685         thread pointer.
24686         (TLS_IE): Use mov/add instead of movq/addq to load thread
24687         pointer.
24688         (TLS_GD_PREFIX): New.
24689         (TLS_GD): Use it.
24691 2012-05-11  David S. Miller  <davem@davemloft.net>
24693         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24694         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24695         (_FPU_SETCW): Likewise.
24697 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24699         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24700         is 32-byte aligned.
24702 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24704         [BZ #11837]
24705         * iconvdata/gb18030.c: Update tables.
24706         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24707         characters specially.
24708         (BODY for TO_LOOP): Add encoding of missing ranges.
24710 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24712         [BZ #13673]
24713         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24714         * sysdeps/mach/hurd/dup3.c: Likewise.
24715         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24716         * sysdeps/powerpc/memmove.c:: Likewise.
24718 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24720         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24721         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24723 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24725         * elf/elf.h (R_X86_64_RELATIVE64): New.
24726         (R_X86_64_NUM): Updated.
24727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24728         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24729         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24730         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24731         tst-quad1pie tst-quad2pie
24732         (modules-names): Add tst-quadmod1 tst-quadmod2.
24733         ($(objpfx)tst-quad1): New dependency.
24734         ($(objpfx)tst-quad2): Likewise.
24735         ($(objpfx)tst-quad1pie): Likewise.
24736         ($(objpfx)tst-quad2pie): Likewise.
24737         * sysdeps/x86_64/tst-quad1.c: New file.
24738         * sysdeps/x86_64/tst-quad1pie.c: New file.
24739         * sysdeps/x86_64/tst-quad2.c: Likewise.
24740         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24741         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24742         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24743         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24744         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24748         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24749         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24750         * streams/stropts.h (t_scalar_t): Define type.
24752         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24753         (_PATH_PRESERVE): Set to "/var/lib".
24754         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24756         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24757         instead of int.
24759         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24760         if __dir_mkfile succeeded.
24762         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24763         checking for _hurd_dtablesize.  Unlock it right after having
24764         finished _hurd_dtable allocation.
24766 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24768         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24769         * sysdeps/mach/hurd/configure: Regenerated.
24770         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24771         special-casing to...
24772         * sysdeps/gnu/configure.in: ... this new file.
24773         * sysdeps/unix/sysv/linux/configure: Regenerated.
24774         * sysdeps/gnu/configure: New generated file.
24776         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24777         for Linux: use nsec instead of usec, as well as:
24778         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24779         members of type struct timespec.
24780         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24781         New macros.
24782         (struct stat64): Likewise.
24783         (_STATBUF_ST_NSEC): New macro.
24784         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24786         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24787         __strtoul_internal rather than strtoul.
24789 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24791         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24792         and reject them.
24794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24796         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24797         which preserves existing values.
24798         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24800 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24802         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24803         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24804         greater than FD_SETSIZE.
24806 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24808         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24809         allocated, call __vm_protect to finish enabling the existing space, and
24810         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24811         allocate the remainder.
24813 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24815         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24816         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24818 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24820         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24821         sysdeps/mach/hurd/readlink.c.
24823         * posix/tst-sysconf.c (posix_options): Only use
24824         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24825         _POSIX_SYNCHRONIZED_IO when they are defined
24826         * sysdeps/mach/hurd/bits/posix_opt.h:
24827         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24828         (_XOPEN_REALTIME): Undefine macro.
24829         (_XOPEN_REALTIME_THREADS): Undefine macro.
24830         (_XOPEN_SHM): Undefine macro.
24831         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24832         macro to -1.
24833         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24834         macro to -1.
24835         (_POSIX_ASYNC_IO): Undefine macro.
24836         (_POSIX_PRIORITIZED_IO): Undefine macro.
24837         (_POSIX_SPIN_LOCKS): Define macro to -1.
24839         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24840         SA_NODEFER, SA_RESETHAND.
24841         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24842         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24843         F_DUPFD_CLOEXEC.
24845 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24847         * elf/Makefile (pldd-modules): Define unconditionally.
24849 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24851         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24853 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24855         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24856         Return ENOENT when name is empty.
24857         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24859 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24861         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24863         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24865 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24867         Fix mlock in all cases except non-readable pages.
24868         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24869         instead of VM_PROT_ALL as parameter to __vm_wire function.
24871         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24872         (__mkdir): When path is `/', just fail with EEXIST.
24873         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24875 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24877         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24878         <sys/uio.h> (for writev).
24879         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24880         and <sys/param.h> (for MIN).
24882 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24884         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24885         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24886         if interrupted.
24888 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24890         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24891         Depend on against $(link-rpcuserlibs).
24893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24895         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24896         (__libc_stack_end): Do not use attribute_relro.
24897         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24898         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24899         to libthread-provided value.
24900         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24901         attribute_relro.
24903 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24905         [BZ #3748]
24906         * bits/libc-lock.h (__libc_once_get): New macro.
24907         * sysdeps/mach/bits/libc-lock.h: Likewise.
24908         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24909         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24910         instead of using implementation details.
24912         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24913         * libio/freopen.c: Likewise.
24914         * libio/freopen64.c: Likewise.
24915         * misc/syslog.c: Likewise.
24916         * nscd/connections.c: Likewise.
24917         * nscd/netgroupcache.c: Likewise.
24918         * sysdeps/posix/getcwd.c: Likewise.
24920 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24922         * math/w_ilogbf.c: Add #include <limits.h>.
24924 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24926         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24927         path instead of returning without unlocking.
24929         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24930         immediate-write ioctls.
24931         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24933 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24935         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24936         __builtin_frame_address instead of making assumptions about the
24937         location of the return address relative to DATA.  Force early load of
24938         the return address.
24939         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24940         __builtin_frame_address.
24942         dup3 for GNU Hurd.
24943         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24944         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24945         implement dup3 and do some further code clean-ups.
24946         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24947         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24949 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24951         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24953         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24954         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24955         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24956         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24957         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24958         d->port.lock.
24960         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24961         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24962         when handler == SIG_ERR, not when handler != SIG_ERR.
24964 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24966         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24967         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24968         definitions.
24970         accept4 for GNU Hurd.
24971         * include/sys/socket.h (__libc_accept4): New prototype.
24972         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24973         to implement __libc_accept4.
24974         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24975         __libc_accept4.
24976         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24978         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24979         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24980         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24981         signal-defines.sym.
24983 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24985         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24987 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24989         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24990         assertion on O_CLOEXEC flag.
24991         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24992         * hurd/intern-fd.c: Likewise.
24993         * hurd/port2fd.c: Likewise.
24995 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24997         [BZ #3906]
24998         * bits/in.h (IPV6_PKTINFO): Define new macro.
24999         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25001 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25003         [BZ #13954]
25004         [BZ #13955]
25005         [BZ #13956]
25006         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25007         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25008         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25009         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25010         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25011         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25012         * math/libm-test.inc (logb_test) : Additional logb tests.
25014 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25015             Andreas Jaeger  <aj@suse.de>
25017         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25018         * configure: Regenerated.
25019         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25020         * config.make.in (link-obsolete-rpc): New substituted variable.
25021         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25022         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25023         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25024         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25025         so that libc.a contains the symbols.
25026         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25027         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25028         * sunrpc/auth_none.c: Likewise.
25029         * sunrpc/auth_unix.c: Likewise.
25030         * sunrpc/authdes_prot.c: Likewise.
25031         * sunrpc/authuxprot.c: Likewise.
25032         * sunrpc/clnt_gen.c: Likewise.
25033         * sunrpc/clnt_perr.c: Likewise.
25034         * sunrpc/clnt_raw.c: Likewise.
25035         * sunrpc/clnt_simp.c: Likewise.
25036         * sunrpc/clnt_tcp.c: Likewise.
25037         * sunrpc/clnt_udp.c: Likewise.
25038         * sunrpc/clnt_unix.c: Likewise.
25039         * sunrpc/des_crypt.c: Likewise.
25040         * sunrpc/des_soft.c: Likewise.
25041         * sunrpc/get_myaddr.c: Likewise.
25042         * sunrpc/key_call.c: Likewise.
25043         * sunrpc/key_prot.c: Likewise.
25044         * sunrpc/netname.c: Likewise.
25045         * sunrpc/pm_getmaps.c: Likewise.
25046         * sunrpc/pm_getport.c: Likewise.
25047         * sunrpc/pmap_clnt.c: Likewise.
25048         * sunrpc/pmap_prot.c: Likewise.
25049         * sunrpc/pmap_prot2.c: Likewise.
25050         * sunrpc/pmap_rmt.c: Likewise.
25051         * sunrpc/publickey.c: Likewise.
25052         * sunrpc/rpc_cmsg.c: Likewise.
25053         * sunrpc/rpc_common.c: Likewise.
25054         * sunrpc/rpc_dtable.c: Likewise.
25055         * sunrpc/rpc_prot.c: Likewise.
25056         * sunrpc/rpc_thread.c: Likewise.
25057         * sunrpc/rtime.c: Likewise.
25058         * sunrpc/svc.c: Likewise.
25059         * sunrpc/svc_auth.c: Likewise.
25060         * sunrpc/svc_raw.c: Likewise.
25061         * sunrpc/svc_run.c: Likewise.
25062         * sunrpc/svc_tcp.c: Likewise.
25063         * sunrpc/svc_udp.c: Likewise.
25064         * sunrpc/svc_unix.c: Likewise.
25065         * sunrpc/svcauth_des.c: Likewise.
25066         * sunrpc/xcrypt.c: Likewise.
25067         * sunrpc/xdr.c: Likewise.
25068         * sunrpc/xdr_array.c: Likewise.
25069         * sunrpc/xdr_float.c: Likewise.
25070         * sunrpc/xdr_intXX_t.c: Likewise.
25071         * sunrpc/xdr_mem.c: Likewise.
25072         * sunrpc/xdr_rec.c: Likewise.
25073         * sunrpc/xdr_ref.c: Likewise.
25074         * sunrpc/xdr_sizeof.c: Likewise.
25075         * sunrpc/xdr_stdio.c: Likewise.
25077 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25079         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25080         change.  Update copyright years.
25082 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25084         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25086 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25087             Joseph Myers  <joseph@codesourcery.com>
25088             Paul Pluzhnikov  <ppluzhnikov@google.com>
25090         [BZ #14012]
25091         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25092         requiring rpcgen.
25093         [cross-compiling] (extra-libs): Likewise.
25094         [cross-compiling] (extra-libs-others): Likewise.
25095         [cross-compiling] (librpcsvc-routines): Likewise.
25096         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25097         [cross-compiling] (omit-deps): Likewise.
25098         (sunrpc-CPPFLAGS): New variable.
25099         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25100         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25101         (cross-rpcgen-objs): New variable.
25102         (extra-objs): Append $(cross-rpcgen-objs).
25103         ($(cross-rpcgen-objs)): New rule.
25104         ($(objpfx)cross-rpcgen): Likewise.
25105         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25106         comment.
25107         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25108         ($(objpfx)x%.stmp): Likewise.
25109         * sunrpc/proto.h [IS_IN_build] (_): Define.
25110         [IS_IN_build] (_libc_intl_domainname): Likewise.
25112 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25114         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25115         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25116         and R_X86_64_TPOFF64.
25118 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25120         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25121         sysdeps/unix/sysv/syscalls.list.
25122         (stime): Likewise.
25123         (utime): Likewise.
25124         * sysdeps/unix/sysv/syscalls.list: Remove file.
25126 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25128         [BZ #3440]
25129         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25130         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25131         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25132         (__LC_IDENTIFICATION): Make these macros useful in #if
25133         expressions, as required by C99.
25135 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25137         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25138         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25139         after this.
25141 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25143         * stdlib/longlong.h: Updated from GCC.
25145 2012-05-09  Andreas Jaeger  <aj@suse.de>
25147         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25148         default is first entry.
25149         (run_mode): Set type.
25150         (main): Remove informal message about syslog.
25151         (options): Fix typo.
25153         [BZ #14053]
25154         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25155         to asm.
25156         (lrint): Likewise.
25157         (llrintf): Likewise.
25158         (llrint): Likewise.
25159         (rint): Likewise.
25160         (rintf): Likewise.
25161         (nearbyint): Likewise.
25162         (nearbyintf): Likewise.
25164 2012-05-09  Andreas Jaeger  <aj@suse.de>
25165             Pedro Alves  <palves@redhat.com>
25167         * nscd/nscd.c (run_mode): Use enum.
25168         (main): Cleanup coding style issue.
25170 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25171             Andreas Jaeger  <aj@suse.de>
25173         * nscd/nscd.c (go_background): Replaced with...
25174         (run_mode): ... this.
25175         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25176         (options): Add -F --foreground.
25177         (main): Implement it.
25178         (parse_opt): Parse it.
25180 2012-05-09  Andreas Jaeger  <aj@suse.de>
25182         [BZ #14083]
25183         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25184         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25185         -Wconversion warning.
25186         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25187         Likewise.
25189 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25191         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25192         == 0.
25193         (LC_ALL): Use macro-int-constant.
25194         (LC_COLLATE): Likewise.
25195         (LC_CTYPE): Likewise.
25196         (LC_MESSAGES): Likewise.
25197         (LC_MONETARY): Likewise.
25198         (LC_NUMERIC): Likewise.
25199         (LC_TIME): Likewise.
25200         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25201         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25202         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25203         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25204         Specify type.
25205         [C99-based standards] (float_t): Expect type.
25206         [C99-based standards] (double_t): Expect type.
25207         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25208         type.
25209         [C99-based standards] (HUGE_VALL): Likewise.
25210         [C99-based standards] (INFINITY): Likewise.
25211         [C99-based standards] (NAN): Likewise.
25212         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25213         [C99-based standards] (FP_NAN): Likewise.
25214         [C99-based standards] (FP_NORMAL): Likewise.
25215         [C99-based standards] (FP_SUBNORMAL): Likewise.
25216         [C99-based standards] (FP_ZERO): Likewise.
25217         [C99-based standards] (FP_FAST_FMA): Use
25218         optional-macro-int-constant.  Specify type.  Require == 1.
25219         [C99-based standards] (FP_FAST_FMAF): Likewise.
25220         [C99-based standards] (FP_FAST_FMAL): Likewise.
25221         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25222         [C99-based standards] (FP_ILOGBNAN): Likewise.
25223         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25224         Specify type.
25225         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25226         [C99-based standards] (math_errhandling): Specify type.
25227         [ISO99 || ISO11] (signgam): Do not allow.
25228         [non-C99-based standards] (copysignf): Do not allow.
25229         [non-C99-based standards] (exp2f): Likewise.
25230         [non-C99-based standards] (log2f): Likewise.
25231         [non-C99-based standards] (modff): Allow.
25232         [non-C99-based standards] (erff): Do not allow.
25233         [non-C99-based standards] (erfcf): Likewise.
25234         [non-C99-based standards] (gammaf): Likewise.
25235         [non-C99-based standards] (hypotf): Likewise.
25236         [non-C99-based standards] (j0f): Likewise.
25237         [non-C99-based standards] (j1f): Likewise.
25238         [non-C99-based standards] (jnf): Likewise.
25239         [non-C99-based standards] (lgammaf): Likewise.
25240         [non-C99-based standards] (tgammaf): Likewise.
25241         [non-C99-based standards] (y0f): Likewise.
25242         [non-C99-based standards] (y1f): Likewise.
25243         [non-C99-based standards] (ynf): Likewise.
25244         [non-C99-based standards] (isnanf): Likewise.
25245         [non-C99-based standards] (acoshf): Likewise.
25246         [non-C99-based standards] (asinhf): Likewise.
25247         [non-C99-based standards] (atanhf): Likewise.
25248         [non-C99-based standards] (cbrtf): Likewise.
25249         [non-C99-based standards] (expm1f): Likewise.
25250         [non-C99-based standards] (ilogbf): Likewise.
25251         [non-C99-based standards] (log1pf): Likewise.
25252         [non-C99-based standards] (logbf): Likewise.
25253         [non-C99-based standards] (nextafterf): Likewise.
25254         [non-C99-based standards] (remainderf): Likewise.
25255         [non-C99-based standards] (rintf): Likewise.
25256         [non-C99-based standards] (scalbf): Likewise.
25257         [non-C99-based standards] (copysignl): Likewise.
25258         [non-C99-based standards] (exp2l): Likewise.
25259         [non-C99-based standards] (log2l): Likewise.
25260         [non-C99-based standards] (modfl): Allow.
25261         [non-C99-based standards] (erfl): Do not allow.
25262         [non-C99-based standards] (erfcl): Likewise.
25263         [non-C99-based standards] (gammal): Likewise.
25264         [non-C99-based standards] (hypotl): Likewise.
25265         [non-C99-based standards] (j0l): Likewise.
25266         [non-C99-based standards] (j1l): Likewise.
25267         [non-C99-based standards] (jnl): Likewise.
25268         [non-C99-based standards] (lgammal): Likewise.
25269         [non-C99-based standards] (tgammal): Likewise.
25270         [non-C99-based standards] (y0l): Likewise.
25271         [non-C99-based standards] (y1l): Likewise.
25272         [non-C99-based standards] (ynl): Likewise.
25273         [non-C99-based standards] (isnanl): Likewise.
25274         [non-C99-based standards] (acoshl): Likewise.
25275         [non-C99-based standards] (asinhl): Likewise.
25276         [non-C99-based standards] (atanhl): Likewise.
25277         [non-C99-based standards] (cbrtl): Likewise.
25278         [non-C99-based standards] (expm1l): Likewise.
25279         [non-C99-based standards] (ilogbl): Likewise.
25280         [non-C99-based standards] (log1pl): Likewise.
25281         [non-C99-based standards] (logbl): Likewise.
25282         [non-C99-based standards] (nextafterl): Likewise.
25283         [non-C99-based standards] (remainderl): Likewise.
25284         [non-C99-based standards] (rintl): Likewise.
25285         [non-C99-based standards] (scalbl): Likewise.
25286         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25287         [non-C99-based standards] (FP_*): Do not allow.
25288         [C99-based standards] (FP_*): Change to
25289         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25290         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25291         allow.
25292         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25293         (SIG_ERR): Likewise.
25294         [X/Open-based standards] (SIG_HOLD): Likewise.
25295         (SIG_IGN): Likewise.
25296         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25297         positive value.
25298         (SIGFPE): Likewise.
25299         (SIGILL): Likewise.
25300         (SIGINT): Likewise.
25301         (SIGSEGV): Likewise.
25302         (SIGTER): Likewise.
25303         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25304         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25305         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25306         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25307         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25308         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25309         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25310         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25311         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25312         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25313         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25314         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25315         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25316         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25317         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25318         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25319         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25320         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25321         [X/Open-based standards] (SIGTRAP): Likewise.
25322         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25323         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25324         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25325         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25326         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25327         allow.
25329 2012-05-08  Ian Wienand  <ianw@vmware.com>
25331         [BZ #14080]
25332         * time/tzset.c (__tzset_parse_tz): Update default rules for
25333         daylight time changes in the Energy Policy Act of 2005.
25335 2012-05-09  Andreas Jaeger  <aj@suse.de>
25337         [BZ #13983]
25338         * elf/ldconfig.c (parse_conf): Change string to make clear that
25339         ldconfig only issued a warning if ld.so.conf does not exist.
25341 2012-05-08  David S. Miller  <davem@davemloft.net>
25343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25344         movxtod instead of popping the value on the stack.
25346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25348 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25350         * config.h.in: Add HAVE_ARM_PCS_VFP.
25352 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25354         [BZ #13979]
25355         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25356         checking but the checks are disabled for any reason.
25358 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25360         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25361         and ELF64_R_TYPE with ELFW(R_TYPE).
25363 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25365         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25366         (ulimit): Likewise.
25368         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25369         (settimeofday): Likewise.
25371 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25373         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25374         a struct th_u2 inside the union, and move tu_block/tu_code into
25375         a new th_u3 union of tu_block/tu_code inside of that.  Move
25376         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25377         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25378         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25379         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25380         (th_stuff): Change to th_u1.tu_stuff.
25381         (th_data): Define.
25382         (th_msg): Change to th_u1.th_u2.tu_data.
25384 2012-05-07  David S. Miller  <davem@davemloft.net>
25386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25388         [BZ #14074]
25389         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25390         (SETUP_PIC_REG): Use it.
25391         (SETUP_PIC_REG_LEAF): Use it.
25393 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25395         [BZ #13885]
25396         [BZ #13923]
25397         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25398         USE_AS_EXPM1L.
25399         (EXPL_FINITE): Likewise.
25400         (FLDLOG): Likewise.
25401         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25402         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25403         e_expl.S.
25404         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25405         USE_AS_EXPM1L.
25406         (EXPL_FINITE): Likewise.
25407         (FLDLOG): Likewise.
25408         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25409         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25410         e_expl.S.
25411         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25412         test of -max_value argument for long double.
25413         * sysdeps/i386/fpu/libm-test-ulps: Update.
25414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25416 2012-05-06  David S. Miller  <davem@davemloft.net>
25418         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25419         quad soft-float symbols whose references which are compiler
25420         generated.
25421         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25423 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25425         [BZ #13884]
25426         [BZ #13914]
25427         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25428         USE_AS_EXP10L.
25429         (EXPL_FINITE): Likewise.
25430         (FLDLOG): Likewise.
25431         (c0): Likewise.
25432         (c1): Likewise.
25433         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25434         Adjust comments for base varying.
25435         (__expl_finite): Change alias to EXPL_FINITE.
25436         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25437         e_expl.S.
25438         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25439         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25440         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25441         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25442         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25443         USE_AS_EXP10L.
25444         (EXPL_FINITE): Likewise.
25445         (FLDLOG): Likewise.
25446         (c0): Likewise.
25447         (c1): Likewise.
25448         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25449         Adjust comments for base varying.
25450         (__expl_finite): Change alias to EXPL_FINITE.
25451         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25452         tests for bugs.
25453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25455         [BZ #14064]
25456         * math/libm-test.inc (check_float_internal): Correct ulp
25457         calculation for subnormal expected results.
25459 2012-05-06  Andreas Jaeger  <aj@suse.de>
25461         * Makeconfig (+math-flags): New, set to -frounding-math.
25462         (+cflags): Add +math-flags so that all of glibc gets compiled with
25463         it.
25465         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25467 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25469         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25470         Disable one test.
25472         [BZ #13787]
25473         [BZ #13922]
25474         [BZ #14036]
25475         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25476         (__ieee754_expl): Allow for and saturate large arguments.
25477         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25478         (u_threshold): Likewise.
25479         (__exp): Call __ieee754_exp before checking for overflow and
25480         underflow.
25481         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25482         (u_threshold): Likewise.
25483         (__expf): Call __ieee754_expf before checking for overflow and
25484         underflow.
25485         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25486         (u_threshold): Likewise.
25487         (__expl): Call __ieee754_expl before checking for overflow and
25488         underflow.
25489         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25490         (__ieee754_expl): Allow for and saturate large arguments.
25491         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25492         missing overflow exception on overflow.
25493         (expm1_test): Do not allow missing overflow exception on overflow.
25495         * sysdeps/i386/fpu/e_expl.c: Move to ...
25496         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25497         rather than using inline asm.
25498         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25499         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25500         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25502         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25503         (nice): Likewise.
25504         (poll): Likewise.
25505         (signal): Likewise.
25506         (time): Likewise.
25507         (times): Likewise.
25509 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25511         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25512         sysdeps/unix/common/syscalls.list.
25513         (fchmod): Likewise.
25514         (fchown): Likewise.
25515         (ftruncate): Likewise.
25516         (getrusage): Likewise.
25517         (gettimeofday): Likewise.
25518         (setpgid): Likewise.
25519         (setregid): Likewise.
25520         (setreuid): Likewise.
25521         (sigaction): Likewise.
25522         (truncate): Likewise.
25523         (vhangup): Likewise.
25524         * sysdeps/unix/common/syscalls.list: Remove file.
25525         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25526         * sysdeps/unix/sysv/linux/Implies: Likewise.
25528 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25530         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25532         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25533         Moved to ...
25534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25535         Here.
25536         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25537         to ...
25538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25539         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25540         to ...
25541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25542         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25543         to ...
25544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25545         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25546         to ...
25547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25548         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25549         to ...
25550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25551         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25552         to ...
25553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25554         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25555         to ...
25556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25557         Here.
25558         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25559         to ...
25560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25561         Here.
25562         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25563         to ...
25564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25565         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25566         Moved to ...
25567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25568         Here.
25569         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25570         to ...
25571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25573 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25575         * sysdeps/unix/common/bits/dirent.h: Remove file.
25576         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25578         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25579         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25580         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25581         * sysdeps/unix/bsd/isatty.c: Likewise.
25582         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25583         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25584         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25586 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25588         [BZ #13563]
25589         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25590         long double comparison inaccuracies.
25591         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25594 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25596         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25597         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25599 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25601         [BZ #14049]
25602         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25603         nonzero digits before rounding a hex value.
25604         * stdlib/tst-strtod.c (tests): Add another test.
25606 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25608         * sysdeps/s390/fpu/libm-test-ulps: Update.
25610 2012-05-03  Andreas Jaeger  <aj@suse.de>
25612         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25613         does not get optimized out.
25614         (malloc_opt_barrier): New.
25616 2012-05-03  Andreas Jaeger  <aj@suse.de>
25617             Roland McGrath  <roland@hack.frob.com>
25619         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25620         intermediate file deletion.
25621         (generated): Add .symlist files.
25623 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25625         [BZ #13775]
25626         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25627         Redirect under this condition.
25628         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25629         [__USE_GNU] (__dprintf_chk): Not under this condition.
25630         [__USE_GNU] (__vdprintf_chk): Likewise.
25631         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25632         under this condition.
25633         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25634         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25635         [__USE_XOPEN2K8] (vdprintf): Likewise.
25636         [__USE_GNU] (__dprintf_chk): Not under this condition.
25637         [__USE_GNU] (__vdprintf_chk): Likewise.
25638         [__USE_GNU] (dprintf): Likewise.
25639         [__USE_GNU] (vdprintf): Likewise.
25641 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25643         * elf/Makefile (common-generated): Set this instead of generated for
25644         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25645         $(all-built-dso)-derived lists.
25647 2012-05-03  Andreas Jaeger  <aj@suse.de>
25649         * sysdeps/i386/fpu/libm-test-ulps: Update.
25651         * FAQ: Removed.
25652         * FAQ.in: Likewise.
25653         * scripts/gen-FAQ.pl: Likewise.
25654         * manual/install.texi (Installation): Point to online location of
25655         FAQ.
25656         * Makefile (files-for-dist): Remove FAQ.
25657         (FAQ): Remove.
25659 2012-05-02  Allan McRae  <allan@archlinux.org>
25661         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25662         (LDFLAGS-reldepmod5.so): Likewise.
25663         (LDFLAGS-reldep6mod1.so): Likewise.
25664         (LDFLAGS-reldep6mod4.so): Likewise.
25665         (LDFLAGS-reldep8mod3.so): Likewise.
25666         (LDFLAGS-unload4mod1.so): Likewise.
25667         (LDFLAGS-unload4mod2.so): Likewise.
25668         (LDFLAGS-tst-initorder): Likewise.
25669         (LDFLAGS-tst-initordera2.so): Likewise.
25670         (LDFLAGS-tst-initordera3.so): Likewise.
25671         (LDFLAGS-tst-initordera4.so): Likewise.
25672         (LDFLAGS-tst-initorderb2.so): Likewise.
25673         (LDFLAGS-noload): Likewise.
25674         (LDFLAGS-next): Likewise.
25675         (LDFLAGS-order2mod1.so): Likewise.
25676         (LDFLAGS-order2mod2.so): Likewise.
25677         (LDFLAGS-tst-initorder2): Likewise.
25678         (LDFLAGS-tst-initorder2a.so): Likewise.
25679         (LDFLAGS-tst-initorder2b.so): Likewise.
25680         (LDFLAGS-tst-initorder2c.so): Likewise.
25681         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25683 2012-05-02  David S. Miller  <davem@davemloft.net>
25685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25687 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25689         [BZ #14055]
25690         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25692 2012-05-02  Andreas Jaeger  <aj@suse.de>
25694         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25695         since we manipulate rounding mode.
25696         (CPPFLAGS-test-idouble.c): Likewise.
25697         (CPPFLAGS-test-ifloat.c): Likewise.
25698         (CFLAGS-test-ldouble.c): Likewise.
25699         (CFLAGS-test-double.c): Likewise.
25700         (CFLAGS-test-float.c): Likewise.
25701         (CFLAGS-test-misc.c): Likewise.
25702         (CFLAGS-test-test-fenv.c): Likewise.
25704 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25706         [BZ #2550]
25707         [BZ #2570]
25708         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25709         comparisons to determine direction to adjust input.
25711 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25713         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25714         output to the target.
25716         * scripts/localplt.awk: New file.
25717         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25718         (check-localplt-CFLAGS): Variable removed.
25719         ($(all-built-dso:=.jmprel)): New static pattern rule.
25720         (generated): Add those targets.
25721         (localplt-built-dso): New variable.
25722         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25724         * elf/check-localplt.c: File removed.
25726         * scripts/check-execstack.awk: New file.
25727         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25728         (check-execstack-CFLAGS): Variable removed.
25729         ($(objpfx)check-execstack.h): Target removed.
25730         ($(objpfx)execstack-default): New target.
25731         (generated): Add that instead of check-execstack.h.
25732         ($(all-built-dso:=.phdr)): New static pattern rule.
25733         (generated): Add those targets.
25734         * elf/check-execstack.c: File removed.
25736         * scripts/check-textrel.awk: New file.
25737         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25738         (check-textrel-CFLAGS): Variable removed.
25739         (all-built-dso): Use := to define.o
25740         ($(all-built-dso:=.dyn)): New static pattern rule.
25741         (generated): Add those targets.
25742         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25743         * config.make.in (READELF): New substituted variable.
25744         * elf/check-textrel.c: File removed.
25746 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25748         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25749         allow.
25750         * conform/data/ctype.h-data [C99-based standards] (isblank):
25751         Expect function.
25752         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25753         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25754         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25755         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25756         Specify type.  Require positive value.
25757         (EILSEQ): Likewise.
25758         (ERANGE): Likewise.
25759         [ISO || POSIX] (EILSEQ): Do not expect.
25760         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25761         Specify type.  Require positive value.
25762         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25763         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25764         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25765         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25766         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25767         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25768         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25769         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25770         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25771         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25772         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25773         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25774         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25775         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25776         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25777         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25778         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25779         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25780         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25781         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25782         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25783         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25784         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25785         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25786         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25787         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25788         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25789         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25790         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25791         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25792         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25793         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25794         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25795         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25796         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25797         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25798         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25799         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25800         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25801         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25802         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25803         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25804         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25805         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25806         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25807         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25808         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25809         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25810         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25811         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25812         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25813         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25814         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25815         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25816         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25817         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25818         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25819         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25820         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25821         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25822         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25823         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25824         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25825         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25826         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25827         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25828         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25829         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25830         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25831         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25832         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25833         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25834         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25835         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25836         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25837         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25838         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25839         Require >= 2.
25840         (FLT_ROUNDS): Expect as macro, not constant.
25841         (FLT_MANT_DIG): Use macro-int-constant.
25842         (DBL_MANT_DIG): Likewise.
25843         (LDBL_MANT_DIG): Likewise.
25844         (FLT_DIG): Likewise.
25845         (DBL_DIG): Likewise.
25846         (LDBL_DIG): Likewise.
25847         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25848         (DBL_MIN_EXP): Likewise.
25849         (LDBL_MIN_EXP): Likewise.
25850         (FLT_MAX_EXP): Use macro-int-constant.
25851         (DBL_MAX_EXP): Likewise.
25852         (LDBL_MAX_EXP): Likewise.
25853         (FLT_MAX_10_EXP): Likewise.
25854         (DBL_MAX_10_EXP): Likewise.
25855         (LDBL_MAX_10_EXP): Likewise.
25856         (FLT_MAX): Use macro-constant.
25857         (DBL_MAX): Likewise.
25858         (LDBL_MAX): Likewise.
25859         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25860         (DBL_EPSILON): Likewise.
25861         (LDBL_EPSILON): Likewise.
25862         (FLT_MIN): Likewise.
25863         (DBL_MIN): Likewise.
25864         (LDBL_MIN): Likewise.
25865         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25866         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25867         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25868         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25869         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25870         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25871         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25872         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25873         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25874         [ISO11] (FLT_TRUE_MIN): Likewise.
25875         [ISO11] (LDBL_TRUE_MIN): Likewise.
25876         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25877         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25878         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25879         (SCHAR_MAX): Likewise.
25880         (UCHAR_MAX): Likewise.
25881         (CHAR_MIN): Likewise.
25882         (CHAR_MAX): Likewise.
25883         (MB_LEN_MAX): Use macro-int-constant.
25884         (SHRT_MIN): Use macro-int-constant.  Specify type.
25885         (SHRT_MAX): Likewise.
25886         (USHRT_MAX): Likewise.
25887         (INT_MAX): Likewise.
25888         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25889         bound negative.
25890         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25891         bound with "U".
25892         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25893         bound with "L".
25894         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25895         bound negative.  Suffix upper bound with "L".
25896         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25897         bound with "UL".
25898         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25899         Specify type.
25900         [C99-based standards] (LLONG_MAX): Likewise.
25901         [C99-based standards] (ULLONG_MAX): Likewise.
25902         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25903         == 0.
25904         [ISO11] (max_align_t): Require type.
25905         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25907         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25908         from $CFLAGS, without defining away __attribute__ calls.
25909         (checknamespace): Use $CFLAGS_namespace.
25911         * conform/conformtest.pl (@keywords): Only include C99 keywords
25912         for standards based on C99 or C11.
25914         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25915         Disable tests.
25916         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25917         UNIX98]: Likewise.
25919         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25920         usability of symbols in #if.
25922         * conform/conformtest.pl: If macro or constant types start
25923         "promoted:", expect the symbol to be of the following type
25924         promoted by the integer promotions.
25926         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25927         in one place.  Also handle "macro-constant".
25929         * conform/conformtest.pl: Only accept expected macro values with
25930         "==".  Parse all "macro" lines in one place.
25931         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25933         * conform/conformtest.pl: Handle braced types on "constant" lines
25934         instead of handling "typed-constant".
25935         * conform/data/signal.h-data: Use "constant" instead of
25936         "typed-constant".
25938         * conform/conformtest.pl: Handle "optional-" at start of lines in
25939         one place rather than duplicating several cases.  Handle each
25940         format of "macro" line with initial "optional-".
25942         * conform/conformtest.pl: Only accept expected constant or
25943         optional-constant values with "==".  Parse all "constant" lines in
25944         one place.  Parse all "optional-constant" lines in one place.
25945         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25946         * conform/data/fmtmsg.h-data: Likewise.
25947         * conform/data/netinet/in.h-data: Likewise.
25948         * conform/data/tar.h-data: Likewise.
25949         * conform/data/limits.h-data: Use "==" form on "constant" and
25950         "optional-constant" lines.
25952         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25953         Use -std=c99 for XOPEN2K.
25954         (@knownproblems): Remove.
25955         (newtoken): Don't check %isknown.
25957         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25958         Do not expect macro.
25959         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25960         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25961         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25962         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25963         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25964         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25965         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25966         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25967         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25968         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25969         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25970         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25971         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25972         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25973         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25974         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25975         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25976         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25977         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25978         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25979         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25980         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25981         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25982         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25983         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25984         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25985         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25986         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25987         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25988         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25989         [XPG3] (acosh): Likewise.
25990         [XPG3] (asinh): Likewise.
25991         [XPG3] (atanh): Likewise.
25992         [XPG3] (cbrt): Likewise.
25993         [XPG3] (expm1): Likewise.
25994         [XPG3] (ilogb): Likewise.
25995         [XPG3] (log1p): Likewise.
25996         [XPG3] (logb): Likewise.
25997         [XPG3] (nextafter): Likewise.
25998         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25999         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26000         [XPG3] (remainder): Likewise.
26001         [XPG3] (rint): Likewise.
26002         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26003         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26004         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26005         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26006         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26007         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26008         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26009         [UNIX98 || XOPEN2K] (scalb): Expect.
26010         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26011         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26012         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26013         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26014         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26015         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26016         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26017         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26018         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26019         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26020         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26021         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26022         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26023         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26024         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26025         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26026         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26027         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26028         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26029         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26030         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26031         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26032         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26033         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26034         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26035         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26036         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26037         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26038         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26039         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26040         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26041         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26042         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26043         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26044         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26045         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26046         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26047         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26048         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26049         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26050         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26051         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26052         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26053         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26054         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26055         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26056         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26057         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26058         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26059         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26060         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26061         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26062         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26063         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26064         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26065         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26066         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26067         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26068         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26069         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26070         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26071         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26072         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26073         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26074         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26075         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26076         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26077         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26078         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26079         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26080         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26081         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26082         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26083         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26084         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26085         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26086         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26087         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26088         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26089         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26090         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26091         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26092         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26093         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26094         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26095         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26096         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26097         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26098         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26099         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26100         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26101         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26102         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26103         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26104         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26105         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26106         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26107         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26108         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26109         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26110         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26111         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26112         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26113         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26114         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26115         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26116         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26117         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26118         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26119         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26120         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26121         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26122         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26123         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26124         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26125         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26126         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26127         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26128         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26129         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26130         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26131         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26132         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26133         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26134         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26135         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26136         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26137         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26138         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26139         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26140         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26141         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26142         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26143         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26144         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26145         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26146         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26148         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26149         _XOPEN_SOURCE_EXTENDED for XPG4.
26151         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26153         * Makeconfig (localtime): Remove variable.
26154         (inst_localtime-file): Likewise.
26156 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26159         Update.
26160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26161         Update.
26162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26163         Update.
26164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26165         Update.
26166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26167         Update.
26168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26169         Update.
26170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26171         Update.
26172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26173         Update.
26174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26175         Update.
26177 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26179         [BZ #2550]
26180         [BZ #2570]
26181         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26182         comparisons to determine direction to adjust input.
26183         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26184         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26185         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26186         Likewise.
26187         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26188         Likewise.
26189         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26190         Likewise.
26191         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26192         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26193         Likewise.
26194         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26195         Likewise.
26196         * math/libm-test.inc (nexttoward_test): Add more tests.
26198 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26200         [BZ #14040]
26201         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26202         in version GLIBC_2.1, not GLIBC_2.0.
26203         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26204         Likewise.
26206 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26208         [BZ #13942]
26209         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26210         (1 - x) * (1 + x).
26211         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26212         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26213         * math/libm-test.inc (acos_test): Add more tests.
26214         (asin_test): Likewise.
26215         * sysdeps/i386/fpu/libm-test-ulps: Update.
26216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26218         [BZ #14034]
26219         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26220         of square root.
26221         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26222         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26223         * math/libm-test.inc (acos_test_tonearest): New function.
26224         (acos_test_towardzero): Likewise.
26225         (acos_test_downward): Likewise.
26226         (acos_test_upward): Likewise.
26227         (asin_test_tonearest): Likewise.
26228         (asin_test_towardzero): Likewise.
26229         (asin_test_downward): Likewise.
26230         (asin_test_upward): Likewise.
26231         (main): Call the new functions.
26232         * sysdeps/i386/fpu/libm-test-ulps: Update.
26233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26235         [BZ #13884]
26236         [BZ #13924]
26237         * math/e_exp10.c: Include <float.h>.
26238         (__ieee754_exp10): Handle underflow here rather than multiplying
26239         large negative argument by M_LN10.
26240         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26241         of __ieee754_expf.
26242         * math/e_exp10l.c: Include <float.h>.
26243         (__ieee754_exp10l): Handle underflow here rather than multiplying
26244         large negative argument by M_LN10l.
26245         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26246         spurious overflow exception on underflow.
26248 2012-04-29  Marek Polacek  <polacek@redhat.com>
26250         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26251         (__fortify_function): New macro.
26252         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26253         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26254         __extern_always_inline.
26255         * libio/bits/stdio2.h: Likewise.
26256         * libio/bits/stdio.h: Likewise.
26257         * string/string.h: Likewise.
26258         * string/bits/string3.h: Likewise.
26259         * include/stdio.h: Likewise.
26260         * stdlib/bits/stdlib.h: Likewise.
26261         * stdlib/stdlib.h: Likewise.
26262         * rt/bits/mqueue2.h: Likewise.
26263         * rt/mqueue.h: Likewise.
26264         * posix/bits/unistd.h: Likewise.
26265         * posix/unistd.h: Likewise.
26266         * io/bits/poll2.h: Likewise.
26267         * io/bits/fcntl2.h: Likewise.
26268         * io/fcntl.h: Likewise.
26269         * io/sys/poll.h: Likewise.
26270         * misc/bits/syslog.h: Likewise.
26271         * misc/bits/syslog-ldbl.h: Likewise.
26272         * misc/sys/syslog.h: Likewise.
26273         * socket/bits/socket2.h: Likewise.
26274         * socket/sys/socket.h: Likewise.
26275         * debug/tst-chk1.c: Likewise.
26276         * wcsmbs/bits/wchar2.h: Likewise.
26277         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26278         * wcsmbs/wchar.h: Likewise.
26280 2012-04-29  Andreas Jaeger  <aj@suse.de>
26282         * Makerules (tests): Remove enable-check-abi protection.
26283         (check-abi-warn): Remove.
26284         (check-abi-%): Remove check-abi-warn usage.
26286         * configure.in: Remove check-abi configure option.
26287         * configure: Regenerated.
26288         * config.make.in (enable-check-abi): Remove.
26290 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26292         [BZ #14033]
26293         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26294         double functions to double *_finite functions.
26296         [BZ #13941]
26297         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26298         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26299         LDBL_MIN_EXP.
26300         * stdio-common/Makefile (tests): Add tst-sprintf3.
26301         * stdio-common/tst-sprintf3.c: New file.
26303         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26304         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26306 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26308         * conform/conformtest.pl: Remove duplicate typed-constant
26309         handling.
26311 2012-04-28  David S. Miller  <davem@davemloft.net>
26313         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26314         (check-abi-%): Remove AWK script prerequisite and explicit
26315         abilist directory.
26316         (check-abi): Rewrite to just diff the symlist with the abilist.
26317         (config-tls, config-abi-config): Delete, no longer used.
26318         (update-abi-%): Remove AWK script and explicit abilist directory.
26319         (update-abi): Rewrite to simply compare and conditionally copy the
26320         symlist and the sysdep abilist file.  Remove update-abi-config
26321         checks.
26322         * abilist/ld.abilist: Remove.
26323         * abilist/libBrokenLocale.abilist: Remove.
26324         * abilist/libanl.abilist: Remove.
26325         * abilist/libcrypt.abilist: Remove.
26326         * abilist/libdl.abilist: Remove.
26327         * abilist/librt.abilist: Remove.
26328         * abilist/libthread_db.abilist: Remove.
26329         * abilist/libutil.abilist: Remove.
26330         * scripts/extract-abilist.awk: Remove.
26331         * scripts/merge-abilist.awk: Remove.
26332         * sysdeps/generic/libcidn.abilist: New file.
26333         * sysdeps/generic/libnss_compat.abilist: New file.
26334         * sysdeps/generic/libnss_db.abilist: New file.
26335         * sysdeps/generic/libnss_dns.abilist: New file.
26336         * sysdeps/generic/libnss_files.abilist: New file.
26337         * sysdeps/generic/libnss_hesiod.abilist: New file.
26338         * sysdeps/generic/libnss_nis.abilist: New file.
26339         * sysdeps/generic/libnss_nisplus.abilist: New file.
26340         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26341         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26342         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26343         file.
26344         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26345         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26346         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26347         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26348         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26349         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26350         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26351         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26352         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26353         file.
26354         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26355         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26356         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26357         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26358         file.
26359         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26360         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26361         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26362         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26363         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26364         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26365         file.
26366         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26367         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26368         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26369         file.
26370         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26372         New file.
26373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26374         New file.
26375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26376         New file.
26377         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26378         New file.
26379         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26380         New file.
26381         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26382         New file.
26383         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26384         New file.
26385         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26386         New file.
26387         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26388         New file.
26389         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26390         New file.
26391         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26392         New file.
26393         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26394         New file.
26395         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26396         New file.
26397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26398         file.
26399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26400         New file.
26401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26402         New file.
26403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26404         file.
26405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26406         New file.
26407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26408         New file.
26409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26410         file.
26411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26412         New file.
26413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26414         New file.
26415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26416         New file.
26417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26418         New file.
26419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26420         New file.
26421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26422         New file.
26423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26425         file.
26426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26427         New file.
26428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26429         file.
26430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26431         file.
26432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26433         file.
26434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26435         file.
26436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26437         file.
26438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26439         New file.
26440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26441         file.
26442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26443         file.
26444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26445         New file.
26446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26447         file.
26448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26450         file.
26451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26452         New file.
26453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26454         file.
26455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26456         file.
26457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26458         file.
26459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26460         file.
26461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26462         file.
26463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26464         New file.
26465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26466         file.
26467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26468         file.
26469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26470         New file.
26471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26472         file.
26473         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26474         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26475         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26476         file.
26477         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26478         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26479         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26480         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26481         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26482         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26483         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26484         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26485         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26486         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26489         file.
26490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26491         New file.
26492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26493         file.
26494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26495         file.
26496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26497         file.
26498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26499         file.
26500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26501         file.
26502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26503         New file.
26504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26505         New file.
26506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26507         file.
26508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26509         New file.
26510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26511         file.
26512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26514         file.
26515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26516         New file.
26517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26518         file.
26519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26520         file.
26521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26522         file.
26523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26524         file.
26525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26526         file.
26527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26528         New file.
26529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26530         New file.
26531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26532         file.
26533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26534         New file.
26535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26536         file.
26538 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26540         * conform/conformtest.pl: Fix typo in handling typed-constant from
26541         allow-header.
26543 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26545         * README: Cut down references to pre-2.6 Linux kernels and
26546         Linuxthreads.  Update lists of configurations in libc and ports
26547         and sort alphabetically.  Say "or newer" with Linux kernel version
26548         requirements.
26550         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26552 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26554         [BZ #887]
26555         * math/libm-test.inc (logb_test_downward): New test to expose
26556         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26557         rounding mode.
26559 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26561         [BZ #14027]
26562         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26563         to be done.
26564         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26565         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26567 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26569         * sysdeps/unix/i386/brk.S: Remove file.
26570         * sysdeps/unix/i386/dl-brk.S: Likewise.
26571         * sysdeps/unix/i386/pipe.S: Likewise.
26572         * sysdeps/unix/i386/sigreturn.S: Likewise.
26573         * sysdeps/unix/i386/syscall.S: Likewise.
26574         * sysdeps/unix/i386/vfork.S: Likewise.
26575         * sysdeps/unix/i386/wait.S: Likewise.
26577         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26578         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26580         * configure.in (arm*-none*): Do not allow without
26581         --enable-hacker-mode.
26582         (netbsd*): Remove case setting base_os.
26583         (386bsd*): Likewise.
26584         (freebsd*): Likewise.
26585         (bsdi*): Likewise.
26586         (osf*): Likewise.
26587         (sunos*): Likewise.
26588         (ultrix*): Likewise.
26589         (newsos*): Likewise.
26590         (dynix*): Likewise.
26591         (*bsd*): Likewise.
26592         (sysv*): Likewise.
26593         (isc*): Likewise.
26594         (esix*): Likewise.
26595         (sco*): Likewise.
26596         (minix*): Likewise.
26597         (irix4*): Likewise.
26598         (irix6*): Likewise.
26599         (solaris[2-9]*): Likewise.
26600         (none): Likewise.
26601         * configure: Regenerated.
26603 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26605         [BZ #11521]
26606         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26607         overflow or cancellation in calculating denominator.
26608         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26609         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26610         down expression to avoid unexpected rounding in newer GCCs.
26611         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26613 2012-04-26  David S. Miller  <davem@davemloft.net>
26615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26616         long-double compat symbols.
26617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26631 2012-04-25  David S. Miller  <davem@davemloft.net>
26633         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26634         HWCAP_* values only after the memory barriers have been defined.
26635         (atomic_full_barrier): Define.
26636         (atomic_read_barrier): Define.
26637         (atomic_write_barrier): Define.
26639 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26641         * shlib-versions: Add libgcc_s version information.
26642         * sysdeps/generic/libgcc_s.h: Remove.
26643         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26644         libgcc_s.h.
26645         * sysdeps/gnu/unwind-resume.c: Likewise.
26646         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26648 2012-04-25  David S. Miller  <davem@davemloft.net>
26650         * sysdeps/unix/sparc/brk.S: Delete.
26651         * sysdeps/unix/sparc/dl-brk.S: Delete.
26652         * sysdeps/unix/sparc/pipe.S: Delete.
26653         * sysdeps/unix/sparc/sysdep.S: Delete.
26654         * sysdeps/unix/sparc/sysdep.h: Delete.
26655         * sysdeps/unix/sparc/vfork.S: Delete.
26656         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26657         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26658         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26659         ret_ERRVAL, r0, r1, MOVE): Define.
26660         (JUMPTARGET): Remove.
26661         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26662         sysdeps/unix/sparc/sysdep.h
26663         (ENTRY, END): Remove.
26664         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26666 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26668         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26669         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26670         -DIS_IN_build.
26672         * timezone/README: Update upstream location and email address for
26673         tzcode and tzdata.
26674         * timezone/zdump.c: Update from tzcode 2012b.
26675         * timezone/zic.c: Likewise.
26677         * configure.in (libc_cv_as_needed): Remove test.
26678         * configure: Regenerated.
26679         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26680         conditional definition.
26681         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26682         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26683         * config.make.in (have-as-needed): Remove variable.
26685 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26686             Paul Pluzhnikov  <ppluzhnikov@google.com>
26688         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26689         strings correctly.
26691 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26693         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26694         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26695         * sysdeps/sh/strlen.S: Likewise.
26697 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26699         * sysdeps/unix/fork.S: Remove file.
26700         * sysdeps/unix/i386/fork.S: Likewise.
26701         * sysdeps/unix/sparc/fork.S: Likewise.
26703         * sysdeps/unix/system.c: Remove file.
26704         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26706         * sysdeps/unix/getegid.S: Remove file.
26707         * sysdeps/unix/geteuid.S: Likewise.
26709 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26711         * scripts/check-localplt.awk: New file.
26712         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26713         of diff.
26714         * scripts/data/localplt-generic.data: Add a comment.
26716         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26717         NODE when __dir_mkfile failed.
26718         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26719         Reported by Ludovic Courtès <ludo@gnu.org>.
26721 2012-04-24  Andreas Jaeger  <aj@suse.de>
26723         * Makerules (common-clean): Also remove gen-as-const-headers
26724         files.
26726 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26728         * Makerules (native-compile): Do not change working directory for
26729         build.  Use $(OUTPUT_OPTION) in command.
26730         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26732 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26734         [BZ #13886]
26735         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26736         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26737         * math/libm-test.inc (floor_test): Add more tests.
26738         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26740 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26742         * sysdeps/unix/getdents.c: Remove file.
26743         * sysdeps/unix/sysv/getdents.c: Likewise.
26744         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26746         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26747         sysdeps/unix/mman/syscalls.list.
26748         (mmap): Likewise.
26749         (mprotect): Likewise.
26750         (msync): Likewise.
26751         (munmap): Likewise.
26752         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26753         * sysdeps/unix/mman/syscalls.list: Remove.
26754         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26756         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26757         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26758         * configure: Regenerated.
26759         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26760         $(libgcc_s_suffix).
26761         * config.make.in (libgcc_s_suffix): Remove variable.
26763 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26765         * sysdeps/unix/sysv/gethostname.c: Move to ...
26766         * sysdeps/posix/gethostname.c: ... here.
26768         * sysdeps/unix/execve.S: Remove file.
26770         * sysdeps/unix/_exit.S: Remove file.
26772 2012-04-23  Andreas Jaeger  <aj@suse.de>
26774         [BZ #13739]
26775         * manual/Makefile: Remove make dist support, there's no
26776         need for a stand-alone documentation tar ball.
26777         (TEXI2DVI): Define always, it's not in Makeconfig.
26778         (dist): Removed.
26779         (tar-it): Removed.
26780         (edition): Removed.
26781         (glibc-doc-$(edition).tar): Removed
26782         (%.Z): Removed.
26783         (%.gz): Removed.
26784         (%.uu): Removed.
26785         (ETAGS): Remove, it's in Makeconfig.
26786         (move-if-change): Remove, it's in Makeconfig.
26788 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26790         [BZ #13970]
26791         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26792         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26793         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26794         (strtod_l, strtof_l, strtold_l): Remove __wur.
26795         It is not necessarily an error to ignore strtol's return value.
26796         One can reliably look at the stored endptr to decide whether
26797         the number had valid syntax.
26799 2012-04-21  Andreas Jaeger  <aj@suse.de>
26801         [BZ #13739]
26802         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26804 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26806         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26807         * sysdeps/unix/sysv/Versions: Remove file.
26809 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26811         [BZ #13927]
26812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26814 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26816         [BZ #7064]
26817         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26818         version from __vm86.
26820 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26822         * sysdeps/unix/common/lxstat.c: Remove file.
26823         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26825         * sysdeps/unix/sysv/Makefile: Remove file.
26827         * sysdeps/unix/sysv/direct.h: Remove file.
26829         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26830         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26831         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26832         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26833         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26834         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26835         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26837         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26839         * sysdeps/unix/xmknod.c: Remove file.
26840         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26842         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26844         * sysdeps/unix/sysv/i386/time.S: Remove file.
26846         * sysdeps/unix/fxstat.c: Remove file.
26847         * sysdeps/unix/xstat.c: Likewise.
26848         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26850         * sysdeps/unix/sysv/sigaction.c: Remove file.
26852         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26853         (sysdep_headers): Remove variable.
26854         [termio.h not in sysdep_headers] (generated): Likewise.
26855         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26856         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26857         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26858         * sysdeps/unix/sysv/tcflow.c: Likewise.
26859         * sysdeps/unix/sysv/tcflush.c: Likewise.
26860         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26861         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26862         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26863         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26864         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26866         * sysdeps/unix/siglist.c: Remove file.
26868         * sysdeps/unix/getppid.S: Remove file.
26870         * sysdeps/unix/mkdir.c: Remove file.
26871         * sysdeps/unix/rmdir.c: Likewise.
26873 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26875         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26876         ERR_MAX value.
26877         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26878         errlist-compat value.
26880 2012-04-18  David S. Miller  <davem@davemloft.net>
26882         * sysdeps/generic/memcopy.h (reg_char): Delete.
26883         * debug/strcat_chk.c: Use char, not reg_char.
26884         * debug/strcpy_chk.c: Likewise.
26885         * debug/strncat_chk.c: Likewise.
26886         * debug/strncpy_chk.c: Likewise.
26887         * string/memchr.c: Likewise.
26888         * string/memrchr.c: Likewise.
26889         * string/rawmemchr.c: Likewise.
26890         * string/strcat.c: Likewise.
26891         * string/strchr.c: Likewise.
26892         * string/strchrnul.c: Likewise.
26893         * string/strcmp.c: Likewise.
26894         * string/strcpy.c: Likewise.
26895         * string/strncat.c: Likewise.
26896         * string/strncmp.c: Likewise.
26897         * string/strncpy.c: Likewise.
26899 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26901         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26902         __builtin_memcopy is called when src and dest ranges are known to not
26903         overlap.
26905 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26907         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26908         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26909         fwd_align_merge macro call.
26910         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26911         bwd_align_merge macro call.
26912         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26914 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26916         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26917         bwd_align_merge macros.
26918         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26919         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26920         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26922 2012-04-18  David S. Miller  <davem@davemloft.net>
26924         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26926 2012-04-18  Andreas Jaeger  <aj@suse.de>
26928         [BZ# 6794]
26929         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26930         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26931         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26933         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26934         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26935         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26937         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26938         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26939         Adjust for changed ldbl-128 files.
26941         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26942         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26943         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26945 2012-04-17  David S. Miller  <davem@davemloft.net>
26947         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26949 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26951         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26952         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26953         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26954         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26955         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26956         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26958 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26960         [BZ #6794]
26961         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26962         * math/libm-test.inc: Add ilogb errno and exception tests.
26963         * math/w_ilogb.c: New file: ilogb wrapper.
26964         * math/w_ilogbf.c: New file: ilogbf wrapper.
26965         * math/w_ilogbl.c: New file: ilogbl wrapper.
26966         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26967         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26968         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26969         exception being thrown with 0.0 as argument.
26970         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26971         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26972         exception being thrown with 0.0 as argument.
26973         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26974         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26975         exception being thrown with 0.0 as argument.
26976         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26977         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26978         exception being thrown with 0.0 as argument.
26979         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26980         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26981         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26982         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26983         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26984         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26985         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26986         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26987         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26989 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26991         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26992         with altivec.
26994 2012-04-16  Marek Polacek  <polacek@redhat.com>
26996         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26998 2012-04-16  Marek Polacek  <polacek@redhat.com>
27000         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27001         operands of fdivp instruction.
27003 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27005         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27006         * elf/tst-auditmod3b.c: Likewise.
27007         * elf/tst-auditmod4b.c: Likewise.
27008         * elf/tst-auditmod5b.c: Likewise.
27009         * elf/tst-auditmod6b.c: Likewise.
27010         * elf/tst-auditmod6c.c: Likewise.
27011         * elf/tst-auditmod7b.c: Likewise.
27012         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27013         * sysdeps/x86_64/preconfigure.in: Likewise.
27014         * sysdeps/x86_64/preconfigure: Regenerated.
27016 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27018         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27019         __ILP32__.
27021 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27023         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27024         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27026 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27028         [BZ #13973]
27029         * locale/iso-639.def: Fix gl language name. Spotted by
27030         Yaron Shahrabani.
27032 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27034         [BZ #2074]
27035         * libio/libio.h (__io_write_fn): Update comment.
27037 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27039         [BZ #2074]
27040         * stdio.texi (Hook Functions): The user provided writer function
27041         is not allowed to return -1.
27043 2012-04-11  David S. Miller  <davem@davemloft.net>
27045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27047 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27049         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27050         Add a leading slash to rtkaio.
27052 2012-04-11  Jim Meyering  <meyering@redhat.com>
27054         [BZ #11959]
27055         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27056         It is not necessarily an error to ignore fwrite's return
27057         value.  One can reliably use ferror to test for errors after
27058         the fact.
27060 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27062         * bits/types.h (__snseconds_t): New type.
27063         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27065         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27066         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27067         (__SNSECONDS_T_TYPE): Likewise.
27068         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27069         (__SNSECONDS_T_TYPE): Likewise.
27070         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27071         (__SNSECONDS_T_TYPE): Likewise.
27073 2012-04-10  Andreas Jaeger  <aj@suse.de>
27075         [BZ #2636]
27076         * manual/time.texi (Processor Time): Return type of times is
27077         elapsed real time since an arbitrary point in the past.
27078         (CPU Time): Move CLK_TCK from here...
27079         (Processor Time): ...to here.  Correct description.
27080         * manual/conf.texi (Constants for Sysconf): Correct description of
27081         _SC_CLK_TCK.
27083 2012-04-10  David S. Miller  <davem@davemloft.net>
27085         [BZ #13967]
27086         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27087         where the is a gap between DT_REL(A) and DT_JMPREL.
27089 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27091         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27092         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27093         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27095 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27097         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27098         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27099         (dl_main): Handle --inhibit-cache.
27100         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27101         _dl_inhibit_cache.
27102         * elf/dl-load.c (_dl_map_object): Use it.
27103         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27105 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27107         [BZ #13872]
27108         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27109         (__ieee754_powl): Saturate large exponents rather than testing for
27110         overflow of y*log2(x).
27111         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27112         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27113         exceptions.
27115         [BZ #11521]
27116         * math/s_ctan.c: Include <float.h>.
27117         (__ctan): Avoid internal overflow or cancellation in calculating
27118         denominator.
27119         * math/s_ctanf.c: Likewise.
27120         * math/s_ctanl.c: Likewise.
27121         * math/s_ctanh.c: Likewise.
27122         * math/s_ctanhf.c: Likewise.
27123         * math/s_ctanhl.c: Likewise.
27124         * math/libm-test.inc (ctan_test): Add more tests.
27125         (ctanh_test): Likewise.
27126         * sysdeps/i386/fpu/libm-test-ulps: Update.
27127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27129 2012-04-09  Andreas Jaeger  <aj@suse.de>
27131         [BZ #6894]
27132         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27133         is an optional BSD extension.
27135         [BZ #10254]
27136         * manual/stdio.texi (Opening Streams): Document additional fopen
27137         parameters.
27139 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27141         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27142         %eax without telling the compiler.
27144 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27146         [BZ # 13963]
27147         * manual/install.texi: Use sourceware.org.
27149 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27151         [BZ #13873]
27152         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27153         (__ieee754_pow): Generate overflow and underflow using huge*huge
27154         and tiny*tiny rather than just returning constant infinity or zero
27155         for large exponents.
27156         * math/libm-test.inc (pow_test): Require overflow exceptions for
27157         applicable cases of large exponents.
27159         [BZ #706]
27160         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27161         (__ieee754_pow): Use iterative multiplication algorithm only for
27162         integer exponents with absolute value below 1024.  Check for odd
27163         integer exponents when using algorithm for real exponents.
27164         * math/libm-test.inc (pow_test): Add more tests.
27165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27167 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27169         [BZ #13705]
27170         * math/libm-test.inc (exp_test): Do not allow overflow exception
27171         on underflow test.
27173 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27175         [BZ #13705]
27176         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27177         instead of __kernel_standard_f.
27179 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27181         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27182         * sysdeps/x86_64/memset_chk.S: Likewise.
27184 2012-04-08  Andreas Jaeger  <aj@suse.de>
27186         [BZ #10153]
27187         * manual/startup.texi (Environment Access): Describe return value
27188         for putenv and setenv.
27190         [BZ #6895]
27191         * manual/filesys.texi (Directory Entries): Add description for
27192         DT_LNK.
27194         [BZ #6890]
27195         * manual/filesys.texi (Directory Entries): Clarify that it's file
27196         system not operating system in the description of DT_UNKNOWN.
27198         [BZ #6578]
27199         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27201 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27203         [BZ #6649]
27204         * manual/llio.texi (Opening and Closing Files): Add cross
27205         reference to explain mode argument.
27207 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27209         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27210         * sysdeps/x86_64/memset_chk.S: Likewise.
27212 2012-04-07  David S. Miller  <davem@davemloft.net>
27214         * elf/elf.h (R_SPARC_WDISP10): Define.
27215         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27216         R_SPARC_SIZE32.
27217         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27218         R_SPARC_SIZE64 and R_SPARC_H34.
27220 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27222         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27223         conditions and remove no longer applicable assertion.
27225 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27227         * bits/byteswap.h: Include <features.h>.
27228         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27229         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27231 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27233         * bits/byteswap.h (__bswap_16): Removed.
27234         Include <bits/byteswap-16.h> to get __bswap_16.
27235         * sysdeps/i386/bits/byteswap.h: Likewise.
27236         * sysdeps/s390/bits/byteswap.h: Likewise.
27237         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27238         * bits/byteswap-16.h: New file.
27239         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27240         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27241         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27242         * string/Makefile (headers): Add bits/byteswap-16.h.
27244 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27246         [BZ #13895]
27247         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27248         extra indirection.
27249         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27250         * nss/tst-nss-static.c: New.
27252 2012-04-06  Robert Millan  <rmh@gnu.org>
27254         [BZ #6486]
27255         * manual/llio.texi (File Position Primitive): lseek
27256         refers to WHENCE when it really means OFFSET.
27258 2012-04-06  Andreas Jaeger  <aj@suse.de>
27260         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27261         strncmp declarations.
27263         * abilist/libc.abilist: Add __poll and __ppoll.
27265 2012-04-05  David S. Miller  <davem@davemloft.net>
27267         * scripts/check-local-headers.sh: Accept a host triplet in the
27268         path matched by the exclude regexp.
27270         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27271         definition.
27272         * sysdeps/powerpc/powerpc32/dl-machine.h
27273         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27274         * sysdeps/s390/s390-32/dl-machine.h
27275         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27276         * sysdeps/sparc/sparc32/dl-machine.h
27277         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27278         * sysdeps/sparc/sparc64/dl-machine.h
27279         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27281         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27282         lazy binding.
27283         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27284         undefined symbol errors.
27286         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27287         DT_NEEDED entries.
27289 2012-04-05  Michael Matz  <matz@suse.de>
27291         [BZ #13592]
27292         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27294 2012-04-05  Andreas Jaeger  <aj@suse.de>
27296         [BZ #13908]
27297         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27298         comment.
27300 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27302         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27303         which ROUND is no valid rounding mode.
27305 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27307         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27308         read again.
27309         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27311 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27313         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27314         an exception using FPU order intentionally.
27316 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27318         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27319         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27320         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27321         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27323 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27325         [BZ #12340]
27326         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27327         EINVAL when BUFLEN is too smal.
27329 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27331         [BZ #13553]
27332         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27333         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27335 2012-04-03  Andreas Jaeger  <aj@suse.de>
27337         [BZ #13938]
27338         * manual/setjmp.texi (System V contexts): Fix sentence.
27340         [BZ #13926]
27341         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27342         New macro for this case.
27343         [!__GNUC__] (__bswap_64): New inline function for this case.
27344         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27345         * bits/byteswap.h: Likewise.
27346         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27347         ull, guard with __GLIBC_HAVE_LONG_LONG.
27349         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27350         __GLIBC_HAVE_LONG_LONG.
27352         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27353         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27355 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27357         [BZ #13691]
27358         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27359         inptr and inend, rather than using last_ch.
27361 2012-04-02  David S. Miller  <davem@davemloft.net>
27363         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27364         * stdio-common/printf-parse.h (read_int): Change return type to
27365         'int', return -1 on INT_MAX overflow.
27366         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27367         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27368         overflows INT_MAX.  Check for overflow of in-format-string precision
27369         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27370         SIZE_MAX not INT_MAX for integer overflow test.
27371         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27372         skip the construct in the format string but do not record anything.
27373         * stdio-common/bug22.c: Adjust to test both width/prevision
27374         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27375         explicitly for proper errno values.
27377 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27379         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27380         CHAR_MAX.
27381         * string/test-strcmp.c [! WIDE]: Likewise.
27382         * time/tst-mktime2.c: Likewise for INT_MAX.
27383         * string/test-string.h: #include <sys/param.h> for MIN.
27385         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27386         * sysdeps/i386/init-first.c (init): Likewise.
27387         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27388         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27389         * sysdeps/sh/init-first.c (init): Likewise.
27391 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27393         * po/ru.po: Update from translation team.
27394         * po/vi.po: Likewise.
27396 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27398         * resolv/nss_dns/dns-host.c: Merge copyright years.
27400 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27402         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27403         Optimize memcpy with prefetch if
27404         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27405         src, dst pointers have unequal 16 byte alignments.
27407 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27409         [BZ #13928]
27410         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27411         from a CNAME entry and return the minimum ttl for the query.
27412         (gaih_getanswer_slice): Likewise.
27414 2012-03-30  Jeff Law  <law@redhat.com>
27416         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27417         due to long keys.
27418         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27419         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27421         * resolv/nss_dns/dns-host.c: Update copyright year.
27423 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27425         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27426         requests to save a system call.  Fix check that all bytes are sent.
27428         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27429         comments for sendmmsg.
27431 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27433         [BZ #13691]
27434         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27435         with only 1 character between 0x0041 and 0x01b0.
27436         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27437         * wcsmbs/tst-mbsnrtowcs.c: New file.
27439 2012-03-29  David S. Miller  <davem@davemloft.net>
27441         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27442         small copies by hand.
27444 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27446         [BZ #13761]
27447         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27448         _nss_compat_initgroups_dyn): Fall back to malloc/free
27449         for large group memberships.
27451 2012-03-28  David S. Miller  <davem@davemloft.net>
27453         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27454         that branches into memcpy.
27455         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27456         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27457         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27458         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27459         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27460         bits.
27461         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27462         implementation too.
27463         * sysdeps/sparc/mempcpy.S: New file.
27465         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27466         the IFUNC routine in the libc case.
27467         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27469         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27470         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27471         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27472         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27473         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27474         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27475         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27476         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27478         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27479         loop to 256 bytes instead of 64 bytes and fix test signedness.
27481         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27482         * sysdeps/sparc/sparc32/Makefile: rather than here...
27483         * sysdeps/sparc/sparc64/Makefile: and here.
27485 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27487         * malloc/mallocbug.c: Avoid warnings about unused variables.
27489 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27491         [BZ #13760]
27492         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27493         in the right place. Discard and retry query if response is
27494         larger than input buffer size.
27496 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27498         [BZ #369]
27499         [BZ #2678]
27500         [BZ #3866]
27501         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27502         x for large integer exponent.
27503         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27504         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27505         sign of result as needed afterwards.
27506         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27507         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27508         result for underflowing pow the same as for overflow.
27509         (__kernel_standard_l): Handle powl overflow and underflow here
27510         rather than calling __kernel_standard.
27511         * math/libm-test.inc (pow_test): Add more tests.
27513         [BZ #3868]
27514         [BZ #13879]
27515         [BZ #13910]
27516         [BZ #13911]
27517         [BZ #13912]
27518         [BZ #13913]
27519         [BZ #13915]
27520         [BZ #13916]
27521         [BZ #13917]
27522         [BZ #13918]
27523         [BZ #13919]
27524         [BZ #13920]
27525         [BZ #13921]
27526         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27527         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27528         (__kernel_standard_l): New function.
27529         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27530         __kernel_standard.
27531         * math/w_acosl.c (__acosl): Likewise.
27532         * math/w_asinl.c (__asinl): Likewise.
27533         * math/w_atan2l.c (__atan2l): Likewise.
27534         * math/w_atanhl.c (__atanhl): Likewise.
27535         * math/w_coshl.c (__coshl): Likewise.
27536         * math/w_exp10l.c (__exp10l): Likewise.
27537         * math/w_exp2l.c (__exp2l): Likewise.
27538         * math/w_fmodl.c (__fmodl): Likewise.
27539         * math/w_hypotl.c (__hypotl): Likewise.
27540         * math/w_j0l.c (__j0l, __y0l): Likewise.
27541         * math/w_j1l.c (__j1l, __y1l): Likewise.
27542         * math/w_jnl.c (__jnl, __ynl): Likewise.
27543         * math/w_lgammal.c (__lgammal): Likewise.
27544         * math/w_log10l.c (__log10l): Likewise.
27545         * math/w_log2l.c (__log2l): Likewise.
27546         * math/w_logl.c (__logl): Likewise.
27547         * math/w_powl.c (__powl): Likewise.
27548         * math/w_remainderl.c (__remainderl): Likewise.
27549         * math/w_scalbl.c (sysv_scalbl): Likewise.
27550         * math/w_sinhl.c (__sinhl): Likewise.
27551         * math/w_sqrtl.c (__sqrtl): Likewise.
27552         * math/w_tgammal.c (__tgammal): Likewise.
27553         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27554         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27555         * math/libm-test.inc (acos_test): Add more tests.
27556         (acosh_test): Likewise.
27557         (asin_test): Likewise.
27558         (atanh_test): Likewise.
27559         (exp_test): Likewise.
27560         (exp10_test): Likewise.
27561         (exp2_test): Likewise.
27562         (expm1_test): Likewise.
27563         (lgamma_test): Likewise.
27564         (log_test): Likewise.
27565         (log10_test): Likewise.
27566         (log1p_test): Likewise.
27567         (log2_test): Likewise.
27568         (pow_test): Do not allow some spurious overflow exceptions.
27569         (sqrt_test): Add more tests.
27570         (tgamma_test): Likewise.
27571         (y0_test): Likewise.
27572         (y1_test): Likewise.
27573         (yn_test): Likewise.
27575 2012-03-27  Anton Blanchard  <anton@samba.org>
27577         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27578         MAP_HUGETLB.
27579         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27580         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27581         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27583 2012-03-27  David S. Miller  <davem@davemloft.net>
27585         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27587         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27588         have-as-vis3 check.
27590 2012-03-27  Andreas Jaeger  <aj@suse.de>
27592         * sysdeps/x86_64/elf/configure.in: Moved to ...
27593         * sysdeps/x86_64/configure.in: ... here.
27594         * sysdeps/x86_64/elf/start.S: Moved to ...
27595         * sysdeps/x86_64/start.S: ... here.
27596         * sysdeps/x86_64/elf/configure: Delete.
27598         * sysdeps/x86_64/configure.in: Merge contents from
27599         sysdeps/i386/configure.in (without i686 check).
27601         * sysdeps/i386/elf/Versions: Merge into ...
27602         * sysdeps/i386/Versions: ... this.
27603         * sysdeps/i386/elf/Versions: Delete file.
27604         * sysdeps/i386/elf/start.S: Moved to ...
27605         * sysdeps/i386/start.S: ...here.
27606         * sysdeps/i386/elf/configure.in: Merge into...
27607         * sysdeps/i386/configure.in: ...here.
27608         * sysdeps/i386/elf/configure.in: Delete file.
27609         * sysdeps/i386/elf/configure: Delete file.
27611         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27612         * debug/backtracesyms.c: ... here.
27613         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27614         * debug/backtracesymsfd.c: ... here.
27615         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27616         * sysdeps/generic/ifunc-sel.h: ... here.
27618         * sysdeps/unix/i386/start.c: Delete file.
27619         * sysdeps/unix/sparc/start.c: Delete file.
27620         * sysdeps/unix/start.c: Delete file.
27622         * sysdeps/sh/elf/configure.in: Moved to ...
27623         * sysdeps/sh/configure.in: ... here.
27624         * sysdeps/sh/elf/start.S: Moved to ...
27625         * sysdeps/sh/start.S: ... here.
27626         * sysdeps/sh/elf/configure: Delete file.
27628         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27629         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27630         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27631         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27632         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27633         * sysdeps/powerpc/powerpc64/start.S: here.
27634         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27635         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27636         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27637         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27638         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27640         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27641         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27642         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27643         * sysdeps/powerpc/powerpc32/start.S: ... here.
27644         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27645         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27646         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27648         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27649         * sysdeps/powerpc/ifunc-sel.h: ... here.
27650         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27651         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27653         * sysdeps/sparc/elf/configure.in: Moved to ...
27654         * sysdeps/sparc/configure.in: ... here.
27655         * sysdeps/sparc/elf/configure: Delete file.
27656         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27657         * sysdeps/sparc/sparc32/start.S: ... here.
27658         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27659         * sysdeps/sparc/sparc64/start.S: ... here.
27660         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27661         * sysdeps/sparc/sparc32/Makefile: ... this.
27662         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27663         * sysdeps/sparc/sparc64/Makefile: ... this.
27665         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27666         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27667         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27668         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27669         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27670         * sysdeps/s390/s390-32/setjmp.S: ... here.
27671         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27672         * sysdeps/s390/s390-32/configure.in: ... here.
27673         * sysdeps/s390/s390-32/elf/configure: Delete file.
27674         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27675         * sysdeps/s390/s390-32/start.S: ... here.
27677         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27678         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27679         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27680         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27681         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27682         * sysdeps/s390/s390-64/setjmp.S: ... here.
27683         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27684         * sysdeps/s390/s390-64/configure.in: ... here
27685         * sysdeps/s390/s390-64/elf/configure: Delete file.
27686         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27687         * sysdeps/s390/s390-64/start.S: ... here.
27688         * sysdeps/s390/s390-64/elf/configure: Delete.
27690         * configure.in: Remove support for elf directories in sysdeps.
27692         * configure: Regenerated.
27693         * sysdeps/i386/configure: Regenerated.
27694         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27695         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27696         * sysdeps/s390/s390-32/configure: Regenerated.
27697         * sysdeps/s390/s390-64/configure: Regenerated.
27698         * sysdeps/sh/configure: Regenerated.
27699         * sysdeps/sparc/configure: Regenerated.
27700         * sysdeps/x86_64/configure: Regenerated.
27702 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27706         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27707         denormal result into account.
27709 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27711         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27712         Reported by Allan McRae <allan@archlinux.org>.
27714 2012-03-23  Jeff Law  <law@redhat.com>
27716         * nss/getnssent.c (__nss_getent): Fix typo.
27718 2012-03-23  David S. Miller  <davem@davemloft.net>
27720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27722 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27724         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27725         to pad to uint64_t for each field.
27726         (dl_tls_index): Replace unsigned long with uint64_t.
27728 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27729         Paul Pluzhnikov  <ppluzhnikov@google.com>
27731         [BZ #6528]
27732         * grp/Makefile (otherlibs): Don't set it.
27733         * inet/Makefile (otherlibs): Likewise.
27734         * login/Makefile (otherlibs): Likewise.
27735         * nscd/Makefile (otherlibs): Likewise.
27736         * posix/Makefile (otherlibs): Likewise.
27737         * pwd/Makefile (otherlibs): Likewise.
27738         * rt/Makefile (otherlibs): Likewise.
27739         * sunrpc/Makefile (otherlibs): Likewise.
27740         * nss/Makefile (otherlibs): Likewise.
27741         Add libnss_files to routines and static-only-routines.
27742         ($(objpfx)getent): Remove rule.
27743         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27744         static-only-routines.
27746 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27748         [BZ #13892]
27749         * math/s_cexp.c: Include <float.h>.
27750         (__cexp): Handle exp result overflowing not necessarily
27751         overflowing both real and imaginary parts of result.
27752         * math/s_cexpf.c: Likewise.
27753         * math/s_cexpl.c: Likewise.
27754         * math/libm-test.inc (cexp_test): Add more tests.
27755         * sysdeps/i386/fpu/libm-test-ulps: Update.
27756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27758 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27760         * include/link.h (ELFW): New macro.
27761         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27762         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27764 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27766         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27767         with uint64_t.
27769 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27771         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27772         declaration.
27773         (struct La_x32_retval): Likewise.
27775 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27777         * sysdeps/x86_64/preconfigure.in: New file.
27778         * sysdeps/x86_64/preconfigure: New generated file.
27780 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27782         [BZ #13824]
27783         * math/e_exp2l.c: Include <float.h>.
27784         (__ieee754_exp2l): Handle overflow and underflow cases
27785         separately.  Only pass fractional part of argument to
27786         __ieee754_expl.
27787         * math/libm-test.inc (exp2_test): Add more tests.
27789         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27790         negating x to take absolute value.
27791         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27792         Likewise.
27793         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27794         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27795         Likewise.
27796         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27797         computing low part if x was negated.
27798         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27800 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27802         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27803         la_x32_gnu_pltexit.
27804         (pltexit): Cast int_retval to ptrdiff_t.
27805         * elf/tst-auditmod3b.c: Likewise.
27806         * elf/tst-auditmod4b.c: Likewise.
27807         * elf/tst-auditmod5b.c: Likewise.
27808         * elf/tst-auditmod6b.c: Likewise.
27809         * elf/tst-auditmod6c.c: Likewise.
27810         * elf/tst-auditmod7b.c: Likewise.
27812         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27813         and x32_gnu_pltexit.
27815         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27816         __ELF_NATIVE_CLASS.
27817         (La_x32_regs): New macro.
27818         (La_x32_retval): Likewise.
27819         (la_x32_gnu_pltenter): New function prototype.
27820         (la_x32_gnu_pltexit): Likewise.
27822 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27824         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27825         exponent.
27827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27829         * configure.in (libc_cv_cc_nofma): Check for option to disable
27830         generation of FMA instructions.
27831         * configure: Regenerate.
27832         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27833         * sysdeps/ieee754/dbl-64/Makefile: New file.
27834         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27835         Remove brandred-fma4.
27836         (CFLAGS-brandred-fma4.c): Remove.
27837         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27838         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27839         define.
27840         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27841         define.
27843 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27845         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27846         LLONG_MAX != LONG_MAX.
27847         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27848         (_fitoa_word): Likewise.
27849         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27850         LLONG_MAX != LONG_MAX.
27851         * stdio-common/_itowa.h: Include <_itoa.h>.
27852         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27853         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27854         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27855         only if not defined.
27856         (_ITOA_WORD_TYPE): Likewise.
27857         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27858         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27860 2012-03-21  David S. Miller  <davem@davemloft.net>
27862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27864 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27866         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27867         of x86_64 when setting libc_cv_slibdir, libdir and
27868         libc_cv_localedir.
27869         * sysdeps/unix/sysv/linux/configure: Regenerated.
27871 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27873         * manual/lang.texi (Old Varargs): Remove section.
27874         (How Variadic): Update menu.
27875         (va_start): Do not mention varargs.h.
27877 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27878             Joseph Myers  <joseph@codesourcery.com>
27880         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27881         link test.
27882         * configure: Regenerated.
27884 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27886         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27887         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27888         conformtest.pl
27890 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27892         * NOTES: Remove.
27893         * Makefile (files-for-dist): Remove NOTES.
27894         (NOTES): Remove rule.
27895         * README: Don't refer to NOTES.
27896         * manual/creature.texi: Don't include macros.texi.
27897         * manual/intro.texi (creature.texi): Remove comment referring to
27898         NOTES.
27900         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27901         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27902         * configure: Regenerated.
27903         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27904         LIBC_TRY_CC_OPTION.
27905         (libc_cv_as_i686): Likewise.
27906         (libc_cv_cc_avx): Likewise.
27907         (libc_cv_cc_sse2avx): Likewise.
27908         (libc_cv_cc_fma4): Likewise.
27909         (libc_cv_cc_novzeroupper): Likewise.
27910         * sysdeps/i386/configure: Regenerated.
27912         [BZ #13883]
27913         * sysdeps/i386/fpu/s_cexp.S: Remove.
27914         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27915         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27916         * math/libm-test.inc (cexp_test): Add more tests.
27917         * sysdeps/i386/fpu/libm-test-ulps: Update.
27918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27920 2012-03-21  Allan McRae  <allan@archlinux.org>
27922         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27924 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27926         [BZ #13871]
27927         * math/w_exp2.c: Do not include <float.h>.
27928         (o_threshold, u_threshold): Remove.
27929         (__exp2): Calculate result before checking finiteness and calling
27930         __kernel_standard.
27931         * math/w_exp2f.c: Likewise.
27932         * math/w_exp2l.c: Likewise.
27933         * math/libm-test.inc (exp2_test): Require overflow exception for
27934         1e6 input.
27936         [BZ #3866]
27937         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27938         range of signed 64-bit integers before using fistpll.  Remove
27939         checks for whether integers fit in mantissa bits.
27940         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27941         the range of signed 32-bit integers before using fistpl.  Remove
27942         checks for whether integers fit in mantissa bits.
27943         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27944         (__ieee754_powl): Test for y outside the range of signed 64-bit
27945         integers before using fistpll.  Reduce 64-bit values to 63-bit
27946         ones as needed.
27947         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27948         divide-by-zero is raised for zero to large negative powers.
27949         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27950         (__ieee754_powl): Test for y outside the range of signed 64-bit
27951         integers before using fistpll.  Reduce 64-bit values to 63-bit
27952         ones as needed.
27953         * math/libm-test.inc (pow_test): Add more tests.
27955 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27957         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27958         <stdio-common/_itoa.h>.
27959         * debug/segfault.c: Likewise.
27960         * elf/dl-cache.c: Likewise.
27961         * elf/dl-minimal.c: Likewise.
27962         * elf/dl-misc.c: Likewise.
27963         * elf/dl-sysdep.c: Likewise.
27964         * elf/dl-version.c: Likewise.
27965         * elf/rtld.c: Likewise.
27966         * hurd/hurdsock.c: Likewise.
27967         * hurd/lookup-retry.c: Likewise.
27968         * malloc/malloc.c: Likewise.
27969         * malloc/mtrace.c: Likewise.
27970         * nscd/nscd_getgr_r.c: Likewise.
27971         * nscd/nscd_getpw_r.c: Likewise.
27972         * nscd/nscd_getserv_r.c: Likewise.
27973         * posix/getopt_init.c: Likewise.
27974         * posix/wordexp.c: Likewise.
27975         * stdio-common/_itoa.c: Likewise.
27976         * stdio-common/printf_fphex.c: Likewise.
27977         * stdio-common/vfprintf.c: Likewise.
27978         * string/_strerror.c: Likewise.
27979         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27980         * sysdeps/i386/i686/hp-timing.h: Likewise.
27981         * sysdeps/mach/_strerror.c: Likewise.
27982         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27983         * sysdeps/mach/hurd/sethostid.c: Likewise.
27984         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27985         * sysdeps/mach/xpg-strerror.c: Likewise.
27986         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27987         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27988         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27989         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27990         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27991         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27992         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27993         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27994         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27995         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27996         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27997         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27998         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27999         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28000         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28001         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28002         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28003         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28004         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28005         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28006         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28008         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28010         * stdio-common/_itoa.h: Moved to ...
28011         * sysdeps/generic/_itoa.h: Here.
28013         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28015         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28016         instead of "_itoa.h" and "_itowa.h".
28017         * stdio-common/vfprintf.: Likewise.
28019 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28021         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28022         <bits/wordsize.h>.
28023         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28024         (__signbit): Likwise.
28025         (llrintf): Likwise.
28026         (llrint): Likwise.
28028 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28030         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28031         __WORDSIZE != 64.
28033 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28035         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28036         OVERFLOW_EXCEPTION_OK.
28037         * math/libm-test.inc ("Philosophy"): Update comment about
28038         exception testing.
28039         (OVERFLOW_EXCEPTION): Define.
28040         (OVERFLOW_EXCEPTION_OK): Likewise.
28041         (INVALID_EXCEPTION_OK): Renumber.
28042         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28043         (IGNORE_ZERO_INF_SIGN): Likewise.
28044         (test_exceptions): Handle FE_OVERFLOW.
28045         (exp10_test): Expect overflow exceptions.
28046         (exp2_test): Likewise.
28047         (expm1_test): Likewise.
28048         (nextafter_test): Likewise.
28049         (pow_test): Likewise.
28050         (scalbn_test): Likewise.
28051         (scalbln_test): Likewise.
28053 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28055         * sysdeps/x86_64/bits/atomic.h
28056         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28057         64bit integer.
28058         (atomic_exchange_acq): Likewise.
28059         (__arch_exchange_and_add_body): Likewise.
28060         (__arch_add_body): Likewise.
28061         (atomic_add_negative): Likewise.
28062         (atomic_add_zero): Likewise.
28064 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28066         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28067         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28069 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28071         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28072         Check __x86_64__ instead of __WORDSIZE.
28074 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28076         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28078 2012-03-19  David S. Miller  <davem@davemloft.net>
28080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28082         * sysdeps/sparc/fpu/fenv_private.h: New file.
28083         * sysdeps/sparc/fpu/math_private.h: Use it.
28084         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28085         Remove.
28086         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28087         (libc_feholdexcept_setroundl): Remove.
28088         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28089         Remove.
28090         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28091         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28093 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28095         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28096         int64_t instead of long int.
28097         (INSERT_WORDS64): Likwise.
28099 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28101         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28102         _Unwind_GetCFA return to _Unwind_Ptr first.
28104 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28106         [BZ #13629]
28107         * math/s_clog.c: Include <float.h>.
28108         (__clog): Scale large or subnormal inputs.
28109         * math/s_clogf.c: Likewise.
28110         * math/s_clogl.c: Likewise.
28111         * math/s_clog10.c: Include <float.h>.
28112         (M_LOG10_2): Define.
28113         (__clog10): Scale large or subnormal inputs.
28114         * math/s_clog10f.c: Likewise.
28115         * math/s_clog10l.c: Likewise.
28116         * math/libm-test.inc (clog_test): Add more tests.
28117         (clog10_test): Likewise.
28118         * sysdeps/i386/fpu/libm-test-ulps: Update.
28119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28121         [BZ #11451]
28122         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28123         x and y.
28124         * math/libm-test.inc (atan2_test): Add another test.
28126         * Makerules (common-objdir-compile): Remove.
28127         * sysdeps/unix/Makefile (config-generated): Do not add
28128         $(unix-generated) to variable.
28129         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28130         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28131         Remove rule.
28132         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28133         Likewise.
28134         [generic bits/local_lim.h] (before-compile): Do not append to
28135         variable.
28136         [generic bits/local_lim.h] (common-generated): Likewise.
28137         [generic sys/param.h] (before-compile): Do not append to variable.
28138         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28139         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28140         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28141         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28142         include.
28143         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28144         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28145         [generic sys/param.h] ($(addprefix
28146         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28147         [generic sys/param.h] (common-generated): Do not append to
28148         variable.
28149         [generic sys/param.h] (sysdep_headers): Likewise.
28150         [generic bits/errno.h] (before-compile): Do not append to
28151         variable.
28152         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28153         rule.
28154         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28155         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28156         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28157         [generic bits/errno.h] (common-generated): Do not append to
28158         variable.
28159         [generic bits/ioctls.h] (before-compile): Do not append to
28160         variable.
28161         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28162         rule.
28163         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28164         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28165         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28166         rule.
28167         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28168         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28169         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28170         [generic bits/ioctls.h] (common-generated): Do not append to
28171         variable.
28172         [generic sys/syscall.h] (syscall.h): Remove variable.
28173         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28174         rule.
28175         [generic sys/syscall.h] (before-compile): Do not append to
28176         variable.
28177         [generic sys/syscall.h] (common-generated): Likewise.
28178         * sysdeps/unix/errnos-tmpl.c: Remove file.
28179         * sysdeps/unix/errnos.awk: Likewise.
28180         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28181         * sysdeps/unix/ioctls.awk: Likewise.
28182         * sysdeps/unix/mk-local_lim.c: Likewise.
28183         * sysdeps/unix/snarf-ioctls: Likewise.
28185 2012-03-19  Richard Henderson  <rth@twiddle.net>
28187         * sysdeps/i386/fpu/fenv_private.h: New file.
28188         * sysdeps/i386/fpu/math_private.h: Use it.
28189         (math_opt_barrier, math_force_eval): Remove.
28190         (libc_feholdexcept_setround_53bit): Remove.
28191         (libc_feupdateenv_53bit): Remove.
28192         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28193         (math_opt_barrier, math_force_eval): Remove.
28194         (libc_feholdexcept): Remove.
28195         (libc_feholdexcept_setround): Remove.
28196         (libc_fetestexcept, libc_fesetenv): Remove.
28197         (libc_feupdateenv_test): Remove.
28198         (libc_feupdateenv, libc_feholdsetround): Remove.
28199         (libc_feresetround): Remove.
28201         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28202         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28204         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28205         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28206         (libc_feupdateenv_testl): New.
28207         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28208         (libc_feupdateenv_testf): New.
28209         (libc_feupdateenv): Use libc_feupdateenv_test.
28210         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28211         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28213         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28214         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28215         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28216         (libc_feresetround_noex): New.
28217         (libc_feresetround_noexf): New.
28218         (libc_feresetround_noexl): New.
28219         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28220         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28221         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28222         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28223         SET_RESTORE_ROUND.
28224         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28225         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28226         (__cos): Likewise.
28227         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28228         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28229         SET_RESTORE_ROUND_NOEX.
28230         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28231         SET_RESTORE_ROUND_NOEXF.
28232         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28233         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28234         (libc_feholdsetroundf): New.
28235         (libc_feresetround, libc_feresetroundf): New.
28237         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28238         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28239         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28241         * sysdeps/generic/math_private.h: Include <fenv.h>.
28242         (default_libc_feholdexcept): New.
28243         (default_libc_feholdexcept_setround): New.
28244         (default_libc_fesetenv, default_libc_feupdateenv): New.
28245         (libc_feholdexcept): Only define if undefined.
28246         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28247         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28248         (libc_feholdexcept_setroundl): Likewise.
28249         (libc_feholdexcept_setround_53bit): Likewise.
28250         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28251         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28252         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28253         (libc_feupdateenv_53bit): Likewise.
28254         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28255         (libc_feholdexcept): Convert from macro to inline function.
28256         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28257         (libc_fesetenv, libc_feupdateenv): Likewise.
28259         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28260         not previously defined.
28261         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28262         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28263         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28264         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28265         * sysdeps/ieee754/flt-32/math_private.h: New file.
28266         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28267         math_private.h below SET_FLOAT_WORD.
28268         (__isnan, __isinf_ns, __finite): Remove.
28269         (__isnanf, __isinf_nsf, __finitef): Remove.
28271 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28275 2012-03-17  David S. Miller  <davem@davemloft.net>
28277         [BZ #6471]
28278         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28279         for 2.16.
28281 2012-03-16  David S. Miller  <davem@davemloft.net>
28283         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28284         warnings.
28286         [BZ #6471]
28287         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28288         properly.
28289         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28290         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28291         sysdep_routines when subdir is sysvipc.
28292         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28293         __getshmlba helper.
28295         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28297 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28299         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28300         [__LP64__].
28302 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28304         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28305         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28306         (__lround): Renamed to ...
28307         (__llround): This.  Replace long int with long long int.
28308         Define lround functions as aliases of llround functions.
28309         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28311 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28313         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28314         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28315         adresses to uintptr_t.  Replace "long int" and "unsigned long
28316         int" with "greg_t" on va_arg.
28318 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28320         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28321         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28323         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28324         Move e_machine check before EI_CLASS check.  Handle x32
28325         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28326         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28327         SKIP_EM_IA_64 and include
28328         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28330         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28331         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28332         (add_system_dir): New macro.
28334         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28335         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28337 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28339         [BZ #2551]
28340         [BZ #2552]
28341         [BZ #2553]
28342         [BZ #2554]
28343         [BZ #2562]
28344         [BZ #2563]
28345         [BZ #2565]
28346         [BZ #2566]
28347         [BZ #2576]
28348         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28349         (y0): Likewise.
28350         * math/w_j0f.c (j0f): Likewise.
28351         (y0f): Likewise.
28352         * math/w_j0l.c (__j0l): Likewise.
28353         (__y0l): Likewise.
28354         * math/w_j1.c (j1): Likewise.
28355         (y1): Likewise.
28356         * math/w_j1f.c (j1f): Likewise.
28357         (y1f): Likewise.
28358         * math/w_j1l.c (__j1l): Likewise.
28359         (__y1l): Likewise.
28360         * math/w_jn.c (jn): Likewise.
28361         (yn): Likewise.
28362         * math/w_jnf.c (jnf): Likewise.
28363         (ynf): Likewise.
28364         * math/w_jnl.c (__jnl): Likewise.
28365         (__ynl): Likewise.
28366         * math/libm-test.inc (j0_test): Add more tests.
28367         (j1_test): Likewise.
28368         (jn_test): Likewise.  Add trailing semicolon to existing test.
28369         (y0_test): Likewise.
28370         (y1_test): Likewise.
28371         * sysdeps/i386/fpu/libm-test-ulps: Update.
28372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28374         [BZ #13851]
28375         [BZ #13854]
28376         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28377         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28378         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28379         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28380         (__tanl): Set errno for infinite argument.
28381         * sysdeps/i386/fpu/mptan.c: Remove.
28382         * sysdeps/i386/fpu/s_tan.S: Likewise.
28383         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28384         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28385         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28386         * math/libm-test.inc (tan_test): Add more tests and enable more
28387         tests for double and long double.
28388         * sysdeps/i386/fpu/libm-test-ulps: Update.
28389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28391 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28393         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28394         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28396 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28398         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28399         * configure.in: Use it for both main tree and add-ons.
28400         * configure: Regenerated.
28402 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28404         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28406 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28408         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28409         in comment.
28411         [BZ #13851]
28412         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28413         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28414         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28415         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28416         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28417         infinite argument.
28418         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28419         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28420         != 0 for prec == 2.
28421         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28422         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28423         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28424         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28425         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28426         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28427         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28428         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28429         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28430         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28431         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28432         * math/libm-test.inc (cos_test): Add more tests and enable more
28433         tests for long double.
28434         (sin_test): Likewise.
28435         (sincos_test): Likewise.
28436         * sysdeps/i386/fpu/libm-test-ulps: Update.
28437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28439 2012-03-16  David S. Miller  <davem@davemloft.net>
28441         * sysdeps/sparc/fpu/math_private.h: New file.
28443 2012-03-15  David S. Miller  <davem@davemloft.net>
28445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28446         file.
28447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28449         file.
28450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28451         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28452         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28453         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28454         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28455         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28456         sysdep routines.
28457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28459         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28460         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28462         * sysdeps/sparc/sparc-ifunc.h: New file.
28463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28464         sparc-ifunc.h
28465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28467         Likewise.
28468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28469         Likewise.
28470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28474         Likewise.
28475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28480         Likewise.
28481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28482         Likewise.
28483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28487         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28488         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28489         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28490         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28493         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28497         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28498         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28499         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28500         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28501         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28502         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28503         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28504         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28505         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28506         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28508 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28510         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28511         scaling.
28512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28514 2012-03-15  Andreas Jaeger  <aj@suse.de>
28516         [BZ #13852]
28517         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28518         ieee754/flt-32 implementation for sin, cos and sincos.
28519         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28520         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28521         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28522         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28523         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28524         ieee754/flt-32 implementation for tan.
28526         * math/libm-test.inc (cos_test): Enable some large input tests for
28527         float as well
28528         (sin_test): Likewise.
28529         (sincos_test): Likewise.
28530         (tan_test): Add tests for large input.
28532         * sysdeps/i386/fpu/libm-test-ulps: Update.
28534 2012-03-15  Andreas Jaeger  <aj@suse.de>
28536         [BZ #13658]
28537         * math/libm-test.inc (cos_test): Add more test cases.
28538         (sin_test): Likewise.
28539         (sincos_test): Likewise.
28541 2012-03-15  Andreas Jaeger  <aj@suse.de>
28543         [BZ #13837]
28544         * math/libm-test.inc (cos_test): Add a test case for large input
28545         value.
28546         (sin_test): Likewise.
28547         (sincos_test): Likewise.
28549 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28550         Joseph Myers  <joseph@codesourcery.com>
28552         [BZ #13658]
28553         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28554         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28555         * sysdeps/i386/fpu/branred.c: Likewise.
28556         * sysdeps/i386/fpu/dosincos.c: Likewise.
28557         * sysdeps/i386/fpu/mpa.c: Likewise.
28558         * sysdeps/i386/fpu/s_cos.S: Likewise.
28559         * sysdeps/i386/fpu/s_sin.S: Likewise.
28560         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28561         * sysdeps/i386/fpu/sincos32.c: Likewise.
28563         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28564         Define.
28565         (libc_feupdateenv_53bit): Define.
28566         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28567         Define.
28568         (libc_feupdateenv_53bit): Define.
28570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28571         53 bit (without extend i386 double precision).
28573         * math/libm-test.inc (sincos_test): Add tests for large input.
28574         (sin): Likewise.
28575         (cos): Likewise.
28577         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28579 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28583 2012-03-15  David S. Miller  <davem@davemloft.net>
28585         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28586         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28587         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28588         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28601         file.
28602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28604         file.
28605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28607         file.
28608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28610         file.
28611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28612         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28613         fmin/fmax sysdep routines.
28614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28616 2012-03-14  David S. Miller  <davem@davemloft.net>
28618         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28619         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28620         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28621         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28622         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28623         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28624         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28625         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28626         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28627         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28628         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28629         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28630         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28631         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28632         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28633         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28634         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28635         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28636         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28637         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28638         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28639         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28640         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28641         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28642         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28643         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28644         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28645         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28646         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28647         routines.
28648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28649         file.
28650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28652         file.
28653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28655         file.
28656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28658         file.
28659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28661         file.
28662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28664         file.
28665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28666         file.
28667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28668         file.
28669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28670         file.
28671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28672         New file.
28673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28674         file.
28675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28676         file.
28677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28679         file.
28680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28682         file.
28683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28685         file.
28686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28688         VIS3 routines.
28690         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28691         New file.
28693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28695         * sysdeps/sparc/configure.in: New file.
28696         * sysdeps/sparc/configure: Generate.
28697         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28698         * configure: Regenerate.
28699         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28700         * config.make.in (have-as-vis3): New.
28701         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28702         available use -Av9d instead of -Av9a.
28703         * sysdeps/sparc/sparc64/Makefile: Likewise.
28704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28706         New file.
28707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28708         file.
28709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28710         New file.
28711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28712         file.
28713         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28714         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28715         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28716         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28717         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28719         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28720         fzeros/fnegs to load 0x80000000 into a float register instead of
28721         using the stack.
28722         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28724 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28726         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28727         bits/syscall.h.
28728         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28729         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28730         ($(inst_includedir)/bits/syscall.h): Remove rule.
28731         ($(objpfx)bits/syscall.d): Include instead of
28732         $(objpfx)syscall-list.d.
28733         (generated): Change syscall-list.h and syscall-list.d to
28734         bits/syscall.h and bits/syscall.d.
28736 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28738         [BZ #13846]
28739         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28741 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28743         [BZ #13841]
28744         * math/s_csqrt.c: Include <float.h>.
28745         (__csqrt): Scale large or subnormal inputs.
28746         * math/s_csqrtf.c: Likewise.
28747         * math/s_csqrtl.c: Likewise.
28748         * math/libm-test.inc (csqrt_test): Add more tests.
28749         * sysdeps/i386/fpu/libm-test-ulps: Update.
28750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28752         [BZ #13840]
28753         * math/libm-test.inc (hypot_test): Add more tests.
28755 2012-03-13  David S. Miller  <davem@davemloft.net>
28757         [BZ #13840]
28758         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28759         double-precision for the calculation instead of scaling.
28761 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28763         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28764         manipulate bits before adding and subtracting TWO52[sx].
28765         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28766         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28767         Likewise.
28768         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28770 2012-03-13  David S. Miller  <davem@davemloft.net>
28772         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28773         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28774         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28775         rtld-global-offsets.h
28776         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28778         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28779         large parameters.
28781         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28783         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28784         'err' in the ifdef scope in which it is actually used.
28786         * nss/nss_db/db-init.c: Include string.h
28788 2012-03-12  David S. Miller  <davem@davemloft.net>
28790         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28791         masking out of the most significant byte of random value used.
28792         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28793         Fix coding style in previous change.
28795         * sysdeps/unix/sysv/linux/kernel-features.h
28796         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28797         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28798         expression.
28799         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28800         later.
28802 2012-03-11  David S. Miller  <davem@davemloft.net>
28804         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28805         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28806         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28807         for 'resultvar' otherwise things get truncated on 64-bit.
28809         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28810         Fix masking out of the most significant byte of random value used.
28812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28814 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28818 2012-03-09  David S. Miller  <davem@davemloft.net>
28820         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28821         variables with appropriate CPP guards.
28822         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28823         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28824         on resulting framesize and the management of the outregs buffer for pltexit.
28825         Preserve floating point return values across _dl_call_pltexit call.
28826         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28827         framesize and the management of the outregs buffer for pltexit.
28828         Preserve floating point return values across _dl_call_pltexit
28829         call.
28830         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28831         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28832         (print_exit): Fix format string for return register value.
28834 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28836         * sunrpc/Makefile (others): Add rpcgen.
28837         ($(objpfx)rpcgen): Remove special build rule and dependency on
28838         libc.
28839         * sunrpc/rpcgen.c: New file.
28841 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28843         [BZ #13673]
28844         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28845         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28846         * sysdeps/i386/crti.S: Likewise.
28847         * sysdeps/i386/crtn.S: Likewise.
28848         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28849         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28850         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28851         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28852         * sysdeps/sh/crti.S: Likewise.
28853         * sysdeps/sh/crtn.S: Likewise.
28854         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28856         [BZ #13673]
28857         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28858         with URL.
28859         * locale/programs/locfile-kw.gperf: Likewise.
28860         * locale/programs/charmap-kw.h: Regenerated.
28861         * locale/programs/locfile-kw.h: Likewise.
28863         [BZ #13673]
28864         * intl/plural.y: Replace FSF snail mail address with URL.
28865         * intl/plural.c: Regenerated.
28867 2012-03-09  Richard Henderson  <rth@twiddle.net>
28869         * include/math_private.h: Remove file.
28870         * math/math_private.h: Move file ...
28871         * sysdeps/generic/math_private.h: ... here.
28873         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28874         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28875         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28877         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28878         and <math_private.h>.
28879         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28880         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28881         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28882         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28883         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28884         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28885         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28886         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28887         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28888         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28889         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28890         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28891         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28892         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28893         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28894         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28895         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28896         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28897         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28898         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28899         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28900         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28901         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28902         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28903         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28904         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28905         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28906         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28907         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28908         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28909         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28910         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28911         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28912         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28913         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28914         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28915         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28916         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28917         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28918         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28919         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28920         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28921         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28922         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28923         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28924         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28925         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28926         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28927         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28928         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28929         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28930         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28931         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28932         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28933         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28934         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28935         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28936         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28937         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28938         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28939         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28940         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28941         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28942         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28943         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28944         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28945         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28946         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28947         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28948         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28949         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28950         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28951         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28952         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28953         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28955         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28956         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28957         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28958         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28959         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28960         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28961         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28962         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28963         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28964         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28965         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28966         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28967         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28968         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28969         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28970         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28971         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28972         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28973         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28974         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28975         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28976         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28977         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28978         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28979         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28980         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28981         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28982         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28983         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28984         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28985         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28986         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28987         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28988         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28989         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28990         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28991         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28992         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28993         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28994         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28995         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28996         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28997         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28998         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28999         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29000         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29001         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29002         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29003         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29004         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29005         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29006         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29007         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29008         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29009         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29010         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29011         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29012         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29013         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29014         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29015         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29016         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29017         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29018         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29019         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29020         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29021         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29022         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29023         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29024         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29025         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29026         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29027         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29028         * sysdeps/ieee754/k_standard.c: Likewise.
29029         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29030         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29031         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29032         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29033         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29034         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29035         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29036         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29037         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29038         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29039         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29040         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29041         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29042         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29043         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29044         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29045         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29046         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29047         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29048         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29049         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29050         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29051         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29052         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29053         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29054         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29055         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29056         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29057         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29058         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29059         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29060         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29061         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29062         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29063         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29064         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29065         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29066         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29067         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29068         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29069         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29070         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29071         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29072         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29073         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29074         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29075         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29076         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29077         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29078         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29079         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29080         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29081         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29082         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29083         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29084         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29085         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29086         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29087         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29088         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29089         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29090         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29091         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29092         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29093         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29094         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29095         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29096         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29097         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29098         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29099         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29100         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29101         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29102         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29103         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29104         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29105         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29106         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29107         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29108         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29109         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29110         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29111         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29112         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29113         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29114         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29115         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29116         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29117         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29119         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29120         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29121         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29122         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29123         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29124         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29125         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29126         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29127         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29128         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29129         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29130         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29131         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29132         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29133         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29134         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29135         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29136         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29137         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29138         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29139         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29140         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29141         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29142         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29143         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29144         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29145         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29146         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29147         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29148         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29149         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29150         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29151         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29152         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29153         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29154         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29155         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29156         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29157         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29158         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29159         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29160         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29161         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29162         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29163         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29164         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29165         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29166         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29167         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29168         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29169         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29170         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29171         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29172         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29173         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29174         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29175         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29176         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29177         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29178         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29179         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29180         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29181         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29182         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29183         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29184         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29185         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29186         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29187         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29188         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29189         * sysdeps/ieee754/s_lib_version.c: Likewise.
29190         * sysdeps/ieee754/s_matherr.c: Likewise.
29191         * sysdeps/ieee754/s_signgam.c: Likewise.
29192         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29193         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29194         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29195         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29196         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29197         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29198         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29199         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29200         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29201         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29202         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29203         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29204         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29205         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29206         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29207         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29208         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29209         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29210         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29211         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29212         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29214 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29216         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29217         * sunrpc/rpc_main.c: Likewise.
29218         * sunrpc/rpc_svcout.c: Likewise.
29220 2012-03-09  David S. Miller  <davem@davemloft.net>
29222         * include/math_private.h: New file.
29224 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29226         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29227         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29228         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29229         from <bits/socket_type.h>.
29230         (enum __socket_type): Don't define here.
29231         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29233         bits/socket_type.h.
29235         [BZ #13566]
29236         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29237         checking __USE_GNU.
29239         * Makerules ($(inst_includedir)/%.h): New rule.
29240         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29241         (install-others): Remove variable setting.
29242         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29244 2012-03-08  Richard Henderson  <rth@twiddle.net>
29246         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29247         from macro to inline function; merge with the
29248         !__LIBC_INTERNAL_MATH_INLINES version.
29249         (__ieee754_sqrtf): Likewise.
29251         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29252         to inline function.
29253         (__rintf, __floor, __floorf): Likewise.
29255         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29256         macro to inline function.
29257         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29259         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29260         not <math/math_private.h>.
29262 2012-03-08  David S. Miller  <davem@davemloft.net>
29264         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29265         copyright year.
29266         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29268 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29270         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29271         normalization.
29272         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29273         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29275 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29277         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29278         be defined individually, they must be defined as a block.  Define
29279         S for printing a string instead of hidint the different by using a
29280         macro for adding the 'l'.
29281         * stdio-common/tst-fphex-wide.c: Adjust.
29283 2012-03-07  Marek Polacek  <polacek@redhat.com>
29285         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29287 2012-03-08  Marek Polacek  <polacek@redhat.com>
29289         [BZ #13806]
29290         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29291         * stdio-common/tst-fphex.c: Define a few macros to make the
29292         test reusable.  Use them.
29293         * stdio-common/tst-fphex-wide.c: New file.
29295 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29297         [BZ #6911]
29298         * manual/macros.texi (gnusystems): New macro.
29299         (nongnusystems): Likewise.
29300         (gnulinuxhurdsystems): Likewise.
29301         (gnuhurdsystems): Likewise..
29302         (gnulinuxsystems): Likewise.
29303         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29304         variants of the GNU system, not "GNU system".
29305         * manual/conf.texi: Likewise.
29306         * manual/errno.texi: Likewise.  Update example of errno macro
29307         expansion.
29308         * manual/filesys.texi: Likewise.
29309         (getumask): Document as specific to GNU/Hurd.
29310         * manual/install.texi: Likewise.  Reword some references to
29311         GNU/Linux.
29312         * manual/intro.texi: Likewise.
29313         * manual/io.texi: Likewise.
29314         (File Name Portability): Detail which constraints are inapplicable
29315         to all GNU systems and which are only inapplicable to GNU/Hurd.
29316         * manual/job.texi: Likewise.
29317         * manual/llio.texi: Likewise.
29318         (O_NOCTTY): Document as present on GNU/Linux.
29319         * manual/maint.texi: Likewise.
29320         * manual/memory.texi: Likewise.
29321         * manual/pattern.texi: Likewise.
29322         * manual/pipe.texi: Likewise.
29323         * manual/process.texi: Likewise.
29324         * manual/resource.texi: Likewise.
29325         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29326         child on GNU/Hurd.
29327         * manual/setjmp.texi: Likewise.
29328         * manual/signal.texi: Likewise.
29329         * manual/startup.texi: Likewise.
29330         * manual/stdio.texi: Likewise.
29331         * manual/terminal.texi: Likewise.
29332         (ONLCR): Document as POSIX.
29333         (OXTABS): Document availability on GNU/Linux as XTABS.
29334         (ONOEOT): Document availability separately from other bits.
29335         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29336         * manual/time.texi: Likewise.
29337         * manual/users.texi: Likewise.
29338         * INSTALL: Regenerated.
29339         * sysdeps/gnu/errlist.c: Regenerated.
29341         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29342         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29343         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29344         puts.
29345         * configure: Regenerated.
29347 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29349         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29350         default includes instead of AC_HEADER_CHECK.
29351         * sysdeps/i386/configure: Regenerated.
29353         [BZ #10716]
29354         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29355         * math/s_cacoshf.c (__cacoshf): Likewise.
29356         * math/s_cacoshl.c (__cacoshl): Likewise.
29357         * math/s_casinh.c (__casinh): Set signs of result from argument.
29358         * math/s_casinhf.c (__casinhf): Likewise.
29359         * math/s_casinhl.c (__casinhl): Likewise.
29360         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29361         (casinh_test): Add more tests.
29362         * sysdeps/i386/fpu/libm-test-ulps: Update.
29363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29365 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29367         * po/zh_TW.po: Update from translation team.
29369         * login/Makefile (distribute): Remove variable.
29370         * catgets/Makefile: Likewise.
29371         * mach/Makefile: Likewise.
29372         * malloc/Makefile: Likewise.
29373         * misc/Makefile: Likewise.
29374         * iconv/Makefile: Likewise.
29375         * nscd/Makefile: Likewise.
29376         * hurd/Makefile: Likewise.
29377         * manual/Makefile: Likewise.
29378         * locale/Makefile: Likewise.
29379         * intl/Makefile: Likewise.
29380         * conform/Makefile: Likewise.
29381         * nss/Makefile: Likewise.
29382         * time/Makefile: Likewise.
29383         * soft-fp/Makefile: Likewise.
29384         * dirent/Makefile: Likewise.
29385         * gmon/Makefile: Likewise.
29386         * po/Makefile: Likewise.
29387         * rt/Makefile: Likewise.
29388         * socket/Makefile: Likewise.
29389         * math/Makefile: Likewise.
29390         * signal/Makefile: Likewise.
29391         * debug/Makefile: Likewise.
29392         * elf/Makefile: Likewise.
29393         * timezone/Makefile: Likewise.
29394         * stdlib/Makefile: Likewise.
29395         * iconvdata/Makefile: Likewise.
29396         * sunrpc/Makefile: Likewise.
29397         * io/Makefile: Likewise.
29398         * argp/Makefile: Likewise.
29399         * inet/Makefile: Likewise.
29400         * hesiod/Makefile: Likewise.
29401         * grp/Makefile: Likewise.
29402         * csu/Makefile: Likewise.
29403         * wctype/Makefile: Likewise.
29404         * crypt/Makefile: Likewise.
29405         * libio/Makefile: Likewise.
29406         * string/Makefile: Likewise.
29407         * nis/Makefile: Likewise.
29408         * resolv/Makefile: Likewise.
29409         * stdio-common/Makefile: Likewise.
29410         * wcsmbs/Makefile: Likewise.
29411         * dlfcn/Makefile: Likewise.
29412         * posix/Makefile: Likewise.
29414         [BZ #6959]
29415         * timezone/Makefile: Don't install timezone files, just the programs
29416         and scripts.
29418 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29420         * nss/databases.def: Add missing gshadow entry.
29422         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29424 2012-03-06  Marek Polacek  <polacek@redhat.com>
29426         [BZ #13726]
29427         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29428         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29429         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29430         * stdio-common/tst-long-dbl-fphex.c: New file.
29432 2012-03-06  David S. Miller  <davem@davemloft.net>
29434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29435         (set_obp_int): New function.
29436         (get_obp_int): New function.
29437         (__get_clockfreq_via_dev_openprom): Likewise.
29438         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29439         Avoid unused variable warnings on 'val' and use builtin_expect.
29440         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29441         __builtin_expect.
29442         (INLINE_CLONE_SYSCALL): Likewise.
29444 2012-03-05  David S. Miller  <davem@davemloft.net>
29446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29448 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29452         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29453         only for |x| >= 40.
29454         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29456 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29458         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29459         Replace gettimeofday with __vdso_gettimeofday.
29461         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29462         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29463         __vdso_clock_gettime and __vdso_getcpu.
29465         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29466         time with __vdso_time.
29468 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29470         * manual/lang.texi (size_t): Note types to which size_t may be
29471         equivalent with the GNU C Library, but do not describe when
29472         differences between them are significant.
29474 2012-03-05  Andreas Jaeger  <aj@suse.de>
29476         * sysdeps/i386/fpu/libm-test-ulps: Update.
29478 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29480         [BZ #3976]
29481         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29482         (__ieee754_pow): Save and restore rounding mode and use
29483         round-to-nearest for main computations.
29484         * math/libm-test.inc (pow_test_tonearest): New function.
29485         (pow_test_towardzero): Likewise.
29486         (pow_test_downward): Likewise.
29487         (pow_test_upward): Likewise.
29488         (main): Call the new functions.
29489         * sysdeps/i386/fpu/libm-test-ulps: Update.
29490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29492         [BZ #3976]
29493         * math/libm-test.inc (cosh_test_tonearest): New function.
29494         (cosh_test_towardzero): Likewise.
29495         (cosh_test_downward): Likewise.
29496         (cosh_test_upward): Likewise.
29497         (sinh_test_tonearest): Likewise.
29498         (sinh_test_towardzero): Likewise.
29499         (sinh_test_downward): Likewise.
29500         (sinh_test_upward): Likewise.
29501         (main): Call the new functions.
29502         * sysdeps/i386/fpu/libm-test-ulps: Update.
29503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29505 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29507         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29508         default stack guard is set in last bytes.
29509         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29511 2012-03-05  Kees Cook  <keescook@chromium.org>
29513         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29515         [BZ #13656]
29516         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29517         possibly allocate from heap instead of stack.
29518         * stdio-common/bug-vfprintf-nargs.c: New file.
29519         * stdio-common/Makefile (tests): Add nargs overflow test.
29521 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29525 2012-03-03  Marek Polacek  <polacek@redhat.com>
29527         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29528         * math/math_private.h: Likewise.
29529         * stdlib/tst-strtod.c: Likewise.
29530         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29531         * sysdeps/x86_64/bits/atomic.h: Likewise.
29533 2012-03-02  David S. Miller  <davem@davemloft.net>
29535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29539         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29540         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29541         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29542         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29544 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29546         [BZ #13792]
29547         * manual/examples/README: New file, says the example source files
29548         can be used under GPL>=2.
29549         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29550         line containing just "*/".
29551         * manual/examples/add.c: Add copyright header (GPL>=2).
29552         * manual/examples/argp-ex1.c: Likewise.
29553         * manual/examples/argp-ex2.c: Likewise.
29554         * manual/examples/argp-ex3.c: Likewise.
29555         * manual/examples/argp-ex4.c: Likewise.
29556         * manual/examples/atexit.c: Likewise.
29557         * manual/examples/db.c: Likewise.
29558         * manual/examples/dir.c: Likewise.
29559         * manual/examples/dir2.c: Likewise.
29560         * manual/examples/execinfo.c: Likewise.
29561         * manual/examples/filecli.c: Likewise.
29562         * manual/examples/filesrv.c: Likewise.
29563         * manual/examples/fmtmsgexpl.c: Likewise.
29564         * manual/examples/genpass.c: Likewise.
29565         * manual/examples/inetcli.c: Likewise.
29566         * manual/examples/inetsrv.c: Likewise.
29567         * manual/examples/isockad.c: Likewise.
29568         * manual/examples/longopt.c: Likewise.
29569         * manual/examples/memopen.c: Likewise.
29570         * manual/examples/memstrm.c: Likewise.
29571         * manual/examples/mkfsock.c: Likewise.
29572         * manual/examples/mkisock.c: Likewise.
29573         * manual/examples/mygetpass.c: Likewise.
29574         * manual/examples/pipe.c: Likewise.
29575         * manual/examples/popen.c: Likewise.
29576         * manual/examples/rprintf.c: Likewise.
29577         * manual/examples/search.c: Likewise.
29578         * manual/examples/select.c: Likewise.
29579         * manual/examples/setjmp.c: Likewise.
29580         * manual/examples/sigh1.c: Likewise.
29581         * manual/examples/sigusr.c: Likewise.
29582         * manual/examples/stpcpy.c: Likewise.
29583         * manual/examples/strdupa.c: Likewise.
29584         * manual/examples/strftim.c: Likewise.
29585         * manual/examples/strncat.c: Likewise.
29586         * manual/examples/subopt.c: Likewise.
29587         * manual/examples/swapcontext.c: Likewise.
29588         * manual/examples/termios.c: Likewise.
29589         * manual/examples/testopt.c: Likewise.
29590         * manual/examples/testpass.c: Likewise.
29591         * manual/examples/timeval_subtract.c: Likewise.
29593         [BZ #13792]
29594         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29595         function to ...
29596         * manual/timeval_subtract.c.texi: ... here, new file.
29598 2012-03-02  David S. Miller  <davem@davemloft.net>
29600         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29602 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29604         [BZ #3976]
29605         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29606         (__sin): Save and restore rounding mode and use round-to-nearest
29607         for all computations.
29608         (__cos): Save and restore rounding mode and use round-to-nearest
29609         for all computations.
29610         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29611         <fenv.h>.
29612         (tan): Save and restore rounding mode and use round-to-nearest for
29613         all computations.
29614         * math/libm-test.inc (cos_test_tonearest): New function.
29615         (cos_test_towardzero): Likewise.
29616         (cos_test_downward): Likewise.
29617         (cos_test_upward): Likewise.
29618         (sin_test_tonearest): Likewise.
29619         (sin_test_towardzero): Likewise.
29620         (sin_test_downward): Likewise.
29621         (sin_test_upward): Likewise.
29622         (tan_test_tonearest): Likewise.
29623         (tan_test_towardzero): Likewise.
29624         (tan_test_downward): Likewise.
29625         (tan_test_upward): Likewise.
29626         (main): Call the new functions.
29627         * sysdeps/i386/fpu/libm-test-ulps: Update.
29628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29630         [BZ #10135]
29631         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29632         small n, then large n, before computing and testing k+n.
29633         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29634         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29635         Likewise.
29636         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29637         Likewise.
29638         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29639         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29640         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29641         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29642         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29643         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29644         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29645         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29646         * math/libm-test.inc (scalbn_test): Add more tests.
29647         (scalbln_test): Likewise.
29649         * manual/filesys.texi (mode_t): Describe constraints on size and
29650         signedness, not exact equivalence to a particular type.
29651         (ino_t): Likewise.
29652         (ino64_t): Likewise.
29653         (dev_t): Likewise.
29654         (nlink_t): Likewise.
29655         (blkcnt_t): Likewise.
29656         (blkcnt64_t): Likewise.
29657         * manual/llio.texi (off_t): Likewise.
29659         [BZ #3976]
29660         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29661         (__ieee754_exp): Save and restore rounding mode and use
29662         round-to-nearest for all computations.
29663         * math/libm-test.inc (exp_test_tonearest): New function.
29664         (exp_test_towardzero): Likewise.
29665         (exp_test_downward): Likewise.
29666         (exp_test_upward): Likewise.
29667         (main): Call the new functions.
29668         * sysdeps/i386/fpu/libm-test-ulps: Update.
29669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29671 2012-03-01  Chris Demetriou  <cgd@google.com>
29673         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29674         have predictable order.
29676 2012-03-01  David S. Miller  <davem@davemloft.net>
29678         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29680         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29681         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29682         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29683         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29685         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29686         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29687         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29689         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29690         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29691         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29692         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29693         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29697         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29698         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29699         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29701         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29702         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29703         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29704         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29705         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29706         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29707         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29708         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29709         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29710         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29711         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29712         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29713         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29714         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29715         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29716         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29717         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29718         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29719         * sysdeps/sparc/elf/configure: Regenerated.
29721 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29723         * configure.in (AS, LD): Require binutils 2.20 or later.
29724         * configure: Regenerated.
29725         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29726         as required minimum version.
29727         * INSTALL: Regenerated.
29729         [BZ #2541]
29730         [BZ #4108]
29731         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29732         before squaring exponent.
29733         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29734         bottom long double and 27 bits of top long double before squaring
29735         exponent.
29736         * math/libm-test.inc (erfc_test): Add more tests.
29737         * sysdeps/i386/fpu/libm-test-ulps: Update.
29738         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29741 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29743         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29744         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29745         containing bit-fields.
29746         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29747         * soft-fp/single.h (_FP_UNION_S): Likewise.
29748         * soft-fp/double.h (_FP_UNION_D): Likewise.
29750 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29752         [BZ #13786]
29753         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29754         not include ../strcmp.S.
29755         [USE_AS_STRNCASECMP_L]: Likewise.
29756         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29757         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29758         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29759         (__strncasecmp_l_ia32): Define as alias to
29760         __strncasecmp_l_nonascii.
29762         [BZ #5794]
29763         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29764         * sysdeps/i386/fpu/libm-test-ulps: Update.
29765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29767         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29770 2012-02-29  Jeff Law  <law@redhat.com>
29772         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29773         out of bounds read.
29775 2012-02-29  Marek Polacek  <polacek@redhat.com>
29777         [BZ #13706]
29778         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29779         * elf/Makefile: Add rules to run tst-unused-dep.out.
29781 2012-02-28  David S. Miller  <davem@davemloft.net>
29783         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29784         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29785         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29786         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29787         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29788         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29790 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29792         * math/libm-test.inc (llround_test): Move one test from
29793         lround_test.  Use TEST_f_L in moved test.
29794         (lround_test): Move misplaced test to llround_test.  Add testcase
29795         from bug 2561.
29797 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29799         * sysdeps/x86_64/fpu/e_expf.S: New file.
29800         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29802 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29804         [BZ #13637]
29805         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29806         of remain_len that may cause incomplete multi-byte character and
29807         false match.
29808         * posix/bug-regex33.c: New file.
29809         * posix/Makefile (tests): Add bug-regex33.
29811 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29813         * manual/macros.texi: New file.
29814         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29815         * manual/libc.texinfo: Include macros.texi.
29816         * manual/creatute.texi: Likewise.
29817         * manual/install.texi: Likewise.
29818         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29819         @glibcadj{} in references to the GNU C Library.
29820         * manual/charset.texi: Likewise.
29821         * manual/conf.texi: Likewise.
29822         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29823         when not using those macros.
29824         * manual/creature.texi: Likewise.
29825         * manual/crypt.texi: Likewise.
29826         * manual/errno.texi: Likewise.
29827         * manual/filesys.texi: Likewise.
29828         * manual/header.texi: Likewise.
29829         * manual/install.texi: Likewise.
29830         * manual/intro.texi: Likewise.
29831         * manual/io.texi: Likewise.
29832         * manual/job.texi: Likewise.
29833         * manual/lang.texi: Likewise.
29834         * manual/libc.texiinfo: Likewise.
29835         * manual/llio.texi: Likewise.
29836         * manual/locale.texi: Likewise.
29837         * manual/maint.texi: Likewise.
29838         * manual/math.texi: Likewise.
29839         * manual/memory.texi: Likewise.
29840         * manual/message.texi: Likewise.
29841         * manual/nss.texi: Likewise.
29842         * manual/pattern.texi: Likewise.
29843         * manual/process.texi: Likewise.
29844         * manual/resource.texi: Likewise.
29845         * manual/search.texi: Likewise.
29846         * manual/setjmp.texi: Likewise.
29847         * manual/signal.texi: Likewise.
29848         * manual/socket.texi: Likewise.
29849         * manual/startup.texi: Likewise.
29850         * manual/stdio.texi: Likewise.
29851         * manual/string.texi: Likewise.
29852         * manual/sysinfo.texi: Likewise.
29853         * manual/syslog.texi: Likewise.
29854         * manual/terminal.texi: Likewise.
29855         * manual/time.texi: Likewise.
29856         * manual/users.texi: Likewise.
29857         * INSTALL: Regenerated.
29858         * NOTES: Regenerated.
29859         * sysdeps/gnu/errlist.c: Regenerated.
29861 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29863         * include/dirent.h: Include <dirstream.h> before
29864         <dirent/dirent.h>.
29866 2012-02-28  David S. Miller  <davem@davemloft.net>
29868         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29869         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29870         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29871         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29873 2012-02-27  David S. Miller  <davem@davemloft.net>
29875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29877         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29878         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29881         frame pointer instead of stack pointer relative arg slot.
29882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29883         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29884         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29886 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29888         [BZ #3992]
29889         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29891 2012-02-27  David S. Miller  <davem@davemloft.net>
29893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29897         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29898         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29899         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29900         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29902 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29904         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29905         later.  Allow versions 5-9.
29906         * configure: Regenerated.
29907         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29908         required minimum version and 4.6 as recommended version.  Do not
29909         mention bugs in GCC 2.7 and 2.8.
29910         * INSTALL: Regenerated.
29912 2012-02-27  David S. Miller  <davem@davemloft.net>
29914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29918         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29919         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29920         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29921         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29923         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29924         manipulate bits before adding and subtracting TWO112[sx].
29925         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29927 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29929         [BZ #13775]
29930         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29931         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29932         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29933         being in POSIX, because they are in 1003.1-2008.
29935         * rt/tst-aio.c: Include <fcntl.h>.
29936         * rt/tst-aio7.c: Likewise.
29937         * rt/tst-aio64.c: Likewise.
29939         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29941 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29943         * manual/install.texi (--with-headers): Describe headers as
29944         interface headers, not private headers.
29945         (Specific advice for GNU/Linux systems): Describe use of headers
29946         from "make headers_install", not private headers from older
29947         kernels.
29948         * INSTALL: Regenerated.
29949         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29950         Change to 2.6.19.
29951         * sysdeps/unix/sysv/linux/configure: Regenerated.
29953         * manual/llio.texi (fclean): Remove documentation.
29955         * manual/Makefile (libc-texi-generated): New variable.  Include
29956         version.texi.
29957         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29958         $(libc-texi-generated), not duplicated list of files.
29959         (version.texi, stamp-version): New rules.
29960         (realclean): Remove $(libc-texi-generated), not individual files
29961         from that list.  Do not remove dir-add.texinfo.
29962         * manual/libc.texinfo: Comment out uses of edition numbers and
29963         references to printed manual.  Remove last-updated dates.
29964         (EDITION): Comment out.
29965         (ISBN): Likewise.
29966         (VERSION, UPDATED): Remove.
29967         (version.texi): Include.
29969 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29971         * sysdeps/posix/spawni.c: Include <signal.h>.
29972         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29973         * sysdeps/pthread/aio_fsync.c: Likewise.
29975 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29977         * conform/Makefile (tests): Run only when not cross-compiling and
29978         when fast-check is not defined.
29980         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29981         * conform/data/limits.h-data: Fixes for POSIX2008.
29982         * conform/run-conformtest.sh: Run all tests.
29983         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29984         headers.
29985         * include/bits/dlfcn.h: Likewise.
29986         * include/langinfo.h: Likewise.
29987         * include/monetary.h: Likewise.
29988         * include/sys/poll.h: Likewise.
29990         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29991         for __USE_GNU.
29992         * posix/spawn.h: Define __need_sigset_t.
29993         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29994         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29995         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29996         to get sigevent_t only.
29997         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29998         only for __USE_GNU.
29999         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30000         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30001         process_vm_writev only for __USE_GNU.
30002         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30004         * conform/Makefile: For now ignore errors from run-conformtest.
30005         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30006         POSIX to avoid namespace pollution.  Don't prepend headers.
30007         * conform/data/aio.h-data: Fixes for POSIX testing.
30008         * conform/data/fcntl.h-data: Likewise.
30009         * conform/data/glob.h-data: Likewise.
30010         * conform/data/grp.h-data: Likewise.
30011         * conform/data/pthread.h-data: Likewise.
30012         * conform/data/pwd.h-data: Likewise.
30013         * conform/data/signal.h-data: Likewise.
30014         * conform/data/spawn.h-data: Likewise.
30015         * conform/data/stdio.h-data: Likewise.
30016         * conform/data/stdlib.h-data: Likewise.
30017         * conform/data/stropts.h-data: Likewise.
30018         * conform/data/sys/mman.h-data: Likewise.
30019         * conform/data/sys/stat.h-data: Likewise.
30020         * conform/data/sys/types.h-data: Likewise.
30021         * conform/data/sys/wait.h-data: Likewise.
30022         * conform/data/time.h-data: Likewise.
30023         * conform/data/unistd.h-data: Likewise.
30024         * conform/data/utime.h-data: Likewise.
30026         * io/sys/stat.h: fchmod was always in POSIX.
30027         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30028         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30029         * rt/aio.h: Define __need_timespec before including <time.h>.
30030         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30031         struct.  Add forward declaration of pthread_attr_t and use it in
30032         sigevent.
30033         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30034         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30035         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30036         always remove CLK_TCK definition.
30038 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30040         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30042 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30044         * conform/run-conformtest.sh: New file.
30045         * conform/Makefile: Run run-conformtest for tests.
30046         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30047         support.
30049         * conform/data/uchar.h-data: New file.
30050         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30051         * conform/data/arpa/inet.h-data: Likewise.
30052         * conform/data/assert.h-data: Likewise.
30053         * conform/data/complex.h-data: Likewise.
30054         * conform/data/cpio.h-data: Likewise.
30055         * conform/data/ctype.h-data: Likewise.
30056         * conform/data/dirent.h-data: Likewise.
30057         * conform/data/dlfcn.h-data: Likewise.
30058         * conform/data/errno.h-data: Likewise.
30059         * conform/data/fcntl.h-data: Likewise.
30060         * conform/data/float.h-data: Likewise.
30061         * conform/data/fmtmsg.h-data: Likewise.
30062         * conform/data/fnmatch.h-data: Likewise.
30063         * conform/data/ftw.h-data: Likewise.
30064         * conform/data/glob.h-data: Likewise.
30065         * conform/data/grp.h-data: Likewise.
30066         * conform/data/iconv.h-data: Likewise.
30067         * conform/data/inttypes.h-data: Likewise.
30068         * conform/data/langinfo.h-data: Likewise.
30069         * conform/data/libgen.h-data: Likewise.
30070         * conform/data/limits.h-data: Likewise.
30071         * conform/data/locale.h-data: Likewise.
30072         * conform/data/math.h-data: Likewise.
30073         * conform/data/monetary.h-data: Likewise.
30074         * conform/data/mqueue.h-data: Likewise.
30075         * conform/data/ndbm.h-data: Likewise.
30076         * conform/data/net/if.h-data: Likewise.
30077         * conform/data/netdb.h-data: Likewise.
30078         * conform/data/netinet/in.h-data: Likewise.
30079         * conform/data/nl_types.h-data: Likewise.
30080         * conform/data/poll.h-data: Likewise.
30081         * conform/data/pthread.h-data: Likewise.
30082         * conform/data/pwd.h-data: Likewise.
30083         * conform/data/regex.h-data: Likewise.
30084         * conform/data/sched.h-data: Likewise.
30085         * conform/data/search.h-data: Likewise.
30086         * conform/data/semaphore.h-data: Likewise.
30087         * conform/data/setjmp.h-data: Likewise.
30088         * conform/data/signal.h-data: Likewise.
30089         * conform/data/spawn.h-data: Likewise.
30090         * conform/data/stdarg.h-data: Likewise.
30091         * conform/data/stdio.h-data: Likewise.
30092         * conform/data/stdlib.h-data: Likewise.
30093         * conform/data/string.h-data: Likewise.
30094         * conform/data/strings.h-data: Likewise.
30095         * conform/data/stropts.h-data: Likewise.
30096         * conform/data/sys/ipc.h-data: Likewise.
30097         * conform/data/sys/mman.h-data: Likewise.
30098         * conform/data/sys/msg.h-data: Likewise.
30099         * conform/data/sys/resource.h-data: Likewise.
30100         * conform/data/sys/select.h-data: Likewise.
30101         * conform/data/sys/sem.h-data: Likewise.
30102         * conform/data/sys/shm.h-data: Likewise.
30103         * conform/data/sys/socket.h-data: Likewise.
30104         * conform/data/sys/stat.h-data: Likewise.
30105         * conform/data/sys/statvfs.h-data: Likewise.
30106         * conform/data/sys/time.h-data: Likewise.
30107         * conform/data/sys/timeb.h-data: Likewise.
30108         * conform/data/sys/times.h-data: Likewise.
30109         * conform/data/sys/types.h-data: Likewise.
30110         * conform/data/sys/uio.h-data: Likewise.
30111         * conform/data/sys/un.h-data: Likewise.
30112         * conform/data/sys/utsname.h-data: Likewise.
30113         * conform/data/sys/wait.h-data: Likewise.
30114         * conform/data/syslog.h-data: Likewise.
30115         * conform/data/tar.h-data: Likewise.
30116         * conform/data/termios.h-data: Likewise.
30117         * conform/data/utime.h-data: Likewise.
30118         * conform/data/utmpx.h-data: Likewise.
30119         * conform/data/varargs.h-data: Likewise.
30120         * conform/data/wchar.h-data: Likewise.
30121         * conform/data/wctype.h-data: Likewise.
30122         * conform/data/wordexp.h-data: Likewise.
30124         * include/stropts.h: New file.
30125         * include/uchar.h: New file.
30126         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30127         * include/assert.h: Likewise.
30128         * include/ctype.h: Likewise.
30129         * include/dirent.h: Likewise.
30130         * include/dlfcn.h: Likewise.
30131         * include/fcntl.h: Likewise.
30132         * include/fnmatch.h: Likewise.
30133         * include/glob.h: Likewise.
30134         * include/grp.h: Likewise.
30135         * include/libio.h: Likewise.
30136         * include/locale.h: Likewise.
30137         * include/math.h: Likewise.
30138         * include/net/if.h: Likewise.
30139         * include/netdb.h: Likewise.
30140         * include/netinet/in.h: Likewise.
30141         * include/pthread.h: Likewise.
30142         * include/pwd.h: Likewise.
30143         * include/regex.h: Likewise.
30144         * include/sched.h: Likewise.
30145         * include/search.h: Likewise.
30146         * include/setjmp.h: Likewise.
30147         * include/signal.h: Likewise.
30148         * include/stdio.h: Likewise.
30149         * include/stdlib.h: Likewise.
30150         * include/string.h: Likewise.
30151         * include/sys/cdefs.h: Likewise.
30152         * include/sys/mman.h: Likewise.
30153         * include/sys/msg.h: Likewise.
30154         * include/sys/resource.h: Likewise.
30155         * include/sys/select.h: Likewise.
30156         * include/sys/socket.h: Likewise.
30157         * include/sys/stat.h: Likewise.
30158         * include/sys/statvfs.h: Likewise.
30159         * include/sys/time.h: Likewise.
30160         * include/sys/times.h: Likewise.
30161         * include/sys/uio.h: Likewise.
30162         * include/sys/utsname.h: Likewise.
30163         * include/sys/wait.h: Likewise.
30164         * include/termios.h: Likewise.
30165         * include/time.h: Likewise.
30166         * include/ulimit.h: Likewise.
30167         * include/unistd.h: Likewise.
30168         * include/utime.h: Likewise.
30169         * include/wchar.h: Likewise.
30170         * include/wctype.h: Likewise.
30171         * include/wordexp.h: Likewise.
30173         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30175         * time/time.h: TIME_UTC must be a macro.
30176         Make timespec_get available for ISO C11 only as well.
30178 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30180         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30181         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30183 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30185         * configure.in: Use -o not -a in test for unsupported multi-arch.
30187 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30189         * manual/texinfo.tex: Update to version 2012-01-19.16.
30191 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30193         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30195 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30197         [BZ #13738]
30198         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30199         * manual/fdl-1.3.texi: New file.
30200         * manual/fdl-1.1.texi: File removed.
30202         [BZ #13738]
30203         * manual/libc.texinfo (FDL_VERSION): New @set.
30204         Use it for mention of FDL in cover text.
30205         (Documentation License): Use it in @include file name.
30207 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30208             Roland McGrath  <roland@hack.frob.com>
30210         [BZ #5461]
30211         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30212         not LONG_LONG_MAX and LONG_LONG_MIN.
30213         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30214         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30215         name.
30216         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30218 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30220         [BZ #2547]
30221         [BZ #11365]
30222         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30223         manipulate bits before adding and subtracting TWO23[sx].
30224         * math/libm-test.inc (nearbyint_test): Add more tests.
30226 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30228         [BZ #2548]
30229         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30230         bits before adding and subtracting TWO23[sx].
30231         * math/libm-test.inc (rint_test): Add more tests.
30232         (rint_test_tonearest): Likewise.
30233         (rint_test_towardzero): Likewise.
30234         (rint_test_downward): Likewise.
30235         (rint_test_upward: Likewise.
30237 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30239         [BZ #10110]
30240         * include/stdc-predef.h: New file.  Extracted from features.h.
30241         * include/features.h: Include stdc-predef.h.
30242         * Makefile (headers): Add stdc-predef.h.
30243         * CONFORMANCE (Compiler limitations): Update.
30245 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30247         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30249 2012-02-21  David S. Miller  <davem@davemloft.net>
30251         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30252         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30254 2012-02-20  David S. Miller  <davem@davemloft.net>
30256         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30257         using a normal save/restore sequence, rather than allocating a
30258         dummy stack frame just to store a frame pointer and restore.
30259         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30261 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30263         * manual/install.texi: Fix stray word in line-wrapped comment.
30265 2012-02-20  David S. Miller  <davem@davemloft.net>
30267         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30268         both binutils and gcc support GOTDATA.
30270         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30271         "rd %pc" in the PIC register setup sequences.
30273         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30274         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30275         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30276         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30277         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30278         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30279         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30280         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30282         (SYSCALL_ERROR_HANDLER): Likewise.
30283         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30284         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30285         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30286         (SYSCALL_ERROR_HANDLER): Likewise.
30288         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30289         (HAVE_GCC_GOTDATA): New.
30290         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30291         relocation support in both binutils and gcc.
30292         * sysdeps/sparc/elf/configure: Regenerate.
30294         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30295         * sysdeps/sparc/sparc32/elf/configure: Delete.
30296         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30297         * sysdeps/sparc/sparc64/elf/configure: Delete.
30298         * sysdeps/sparc/elf/configure.in: New file.
30299         * sysdeps/sparc/elf/configure: Generate.
30301         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30302         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30303         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30304         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30305         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30307 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30309         * manual/install.texi: Do not mention specific glibc version
30310         numbers.
30311         * manual/libc.texinfo (VERSION, UPDATED): Update.
30312         (@copying): Use @copyright{} and range of years.
30314 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30316         [BZ #13695]
30317         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30318         [crti.S not in sysdirs] (generated): Do not append.
30319         [crti.S not in sysdirs] (omit-deps): Likewise.
30320         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30321         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30322         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30323         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30324         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30325         Likewise.
30326         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30327         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30328         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30329         * csu/defs.awk: Remove file.
30330         * sysdeps/generic/initfini.c: Likewise.
30331         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30332         variable.
30333         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30334         Likewise.
30336 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30338         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30339         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30340         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30341         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30342         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30343         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30344         <bits/epoll.h>.
30345         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30346         (__EPOLL_PACKED): Define to empty if not defined by
30347         <bits/epoll.h>.
30348         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30350         bits/epoll.h.
30352 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30354         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30355         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30356         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30357         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30358         <bits/timerfd.h>.
30359         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30360         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30361         bits/timerfd.h.
30363 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30365         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30366         in C locale.
30367         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30368         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30369         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30372 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30374         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30375         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30377 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30379         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30380         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30381         defined.
30382         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30383         Likewise.
30384         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30385         entry for 2.16.
30387 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30389         * math/w_acos.c: Use non-signaling floating-point comparisons.
30390         * math/w_acosf.c: Likewise.
30391         * math/w_acosh.c: Likewise.
30392         * math/w_acoshf.c: Likewise.
30393         * math/w_acoshl.c: Likewise.
30394         * math/w_acosl.c: Likewise.
30395         * math/w_asin.c: Likewise.
30396         * math/w_asinf.c: Likewise.
30397         * math/w_asinl.c: Likewise.
30398         * math/w_atanh.c: Likewise.
30399         * math/w_atanhf.c: Likewise.
30400         * math/w_atanhl.c: Likewise.
30401         * math/w_exp2.c: Likewise.
30402         * math/w_exp2f.c: Likewise.
30403         * math/w_exp2l.c: Likewise.
30404         * math/w_j0.c: Likewise.
30405         * math/w_j0f.c: Likewise.
30406         * math/w_j0l.c: Likewise.
30407         * math/w_j1.c: Likewise.
30408         * math/w_j1f.c: Likewise.
30409         * math/w_j1l.c: Likewise.
30410         * math/w_jn.c: Likewise.
30411         * math/w_jnf.c: Likewise.
30412         * math/w_log.c: Likewise.
30413         * math/w_log10.c: Likewise.
30414         * math/w_log10f.c: Likewise.
30415         * math/w_log10l.c: Likewise.
30416         * math/w_log2.c: Likewise.
30417         * math/w_log2f.c: Likewise.
30418         * math/w_log2l.c: Likewise.
30419         * math/w_logf.c: Likewise.
30420         * math/w_logl.c: Likewise.
30421         * math/w_sqrt.c: Likewise.
30422         * math/w_sqrtf.c: Likewise.
30423         * math/w_sqrtl.c: Likewise.
30424         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30425         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30426         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30427         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30428         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30430 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30432         [BZ #9739]
30433         * manual/string.texi (strnlen): Use correct parameter name in
30434         equivalent expression.
30436 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30438         [BZ #11174]
30439         * manual/users.texi (seteuid): Consistently use neweuid for
30440         argument name.
30442 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30444         [BZ #13704]
30445         * manual/nss.texi (Services in the NSS configuration): Correct
30446         list of services in example configuration file.
30448 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30450         [BZ #11322]
30451         * manual/arith.texi: Remove statements about negative zero
30452         behaving identically to zero.
30454 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30456         [BZ #5993]
30457         * manual/install.texi: Do not document upgrading from libc5.
30459 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30461         [BZ #4596]
30462         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30464 2012-02-18  David S. Miller  <davem@davemloft.net>
30466         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30467         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30468         %o7 across the call.
30469         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30470         instead.
30471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30472         SETUP_PIC_REG_LEAF.
30473         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30474         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30475         * sysdeps/sparc/crtn.S: Likewise.
30477 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30479         * aout/Makefile: Remove.
30481 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30483         [BZ #13058]
30484         * manual/examples/argp-ex1.c (main): Format definition in GNU
30485         style.
30486         * manual/examples/argp-ex2.c (main): Likewise.
30487         * manual/examples/argp-ex3.c (main): Likewise.
30488         * manual/examples/argp-ex4.c (main): Likewise.
30489         * manual/examples/longopt.c (main): Use new-style prototype
30490         definition.
30491         * manual/examples/strncat.c (main): Specify return type and use
30492         (void) for arguments.
30493         * manual/examples/subopt.c (main): Use char **argv argument.
30495 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30497         [BZ #5077]
30498         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30499         rounding modes.
30501 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30503         [BZ #6907]
30504         * manual/string.texi (strchr): Change when strchrnul is
30505         recommended.
30507 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30509         [BZ #174]
30510         * manual/locale.texi (setlocale): Document LOCPATH.
30512 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30514         [BZ #10210]
30515         * manual/process.texi (execle): Move @dots{} before last argument.
30517 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30519         [BZ #12047]
30520         * manual/charset.texi (Generic Charset Conversion): Fix typo
30521         (LC_TYPE -> LC_CTYPE).
30523 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30525         [BZ #5805]
30526         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30527         (scalbnf): Likewise.
30528         (scalbnl): Likewise.
30529         (scalbln): Likewise.
30530         (scalblnf): Likewise.
30531         (scalblnl): Likewise.
30532         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30533         (vwarnx): Likewise.
30534         (verr): Likewise.
30535         (verrx): Likewise.
30536         * manual/filesys.texi (telldir): Use braces around return type.
30537         * manual/llio.texi (mmap): Add space after comma.
30538         (mmap64): Likewise.
30539         * manual/math.texi (jn): Use @var{} on parameter names.
30540         (jnf): Likewise.
30541         (jnl): Likewise.
30542         (yn): Likewise.
30543         (ynf): Likewise.
30544         (ynl): Likewise.
30545         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30546         line.
30547         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30548         "...".
30549         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30550         (sched_get_priority_max): Likewise.
30551         * manual/signal.texi (sigvec): Add space after comma.
30552         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30553         names.
30554         (if_indextoname): Likewise.
30555         (if_freenameindex): Likewise.
30556         (sendto): Use ',' instead of '.' in prototype.
30557         * manual/startup.texi (syscall): Use @dots{} instead of literal
30558         "...".
30559         * manual/stdio.texi (__fpending): Separate initial words of
30560         paragraph from @deftypefun line.
30561         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30562         "...".
30563         (vsyslog): Use @var{} on parameter names.
30564         * manual/terminal.texi (stty): Use @var{} on parameter names.
30565         * manual/users.texi (getutmp): Use @var{} on parameter names.
30566         (getutmpx): Likewise.
30568 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30570         [BZ #6884]
30571         * manual/stdio.texi (fopen): Fix typos in description of
30572         ",ccs=STRING".
30574 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30576         [BZ #4026]
30577         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30578         get clock_id definition.
30580 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30582         [BZ #4822]
30583         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30584         (madvise): Cast every argument to void on its own.
30586 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30588         [BZ #9902]
30589         * manual/startup.texi (Exit Status): Fix typo.
30591 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30593         [BZ #10140]
30594         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30595         * manual/examples/argp-ex2.c: Likewise.
30596         * manual/examples/argp-ex3.c: Likewise.
30598 2012-02-16  Richard Henderson  <rth@redhat.com>
30600         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30601         * sysdeps/s390/s390-32/initfini.c: Remove.
30602         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30603         * sysdeps/s390/s390-64/initfini.c: Remove.
30605 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30607         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30608         compiler output for sysdeps/generic/initfini.c.
30609         * sysdeps/sh/elf/initfini.c: Remove file.
30611 2012-02-16  David S. Miller  <davem@davemloft.net>
30613         [BZ #11494]
30614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30616         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30617         * sysdeps/sparc/crti.S: New file.
30618         * sysdeps/sparc/crtn.S: New file.
30619         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30620         * sysdeps/sparc/sparc64/Makefile: Likewise.
30622 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30624         [BZ #3335]
30625         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30627 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30629         [BZ #4822]
30630         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30632         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30633         (write, read, close): Likewise.
30634         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30636 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30638         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30639         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30640         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30641         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30642         <bits/signalfd.h>.
30643         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30645         bits/signalfd.h.
30647 2012-02-14  Marek Polacek  <polacek@redhat.com>
30649         * sysdeps/x86_64/crti.S: New file.
30650         * sysdeps/x86_64/crtn.S: New file.
30651         * sysdeps/x86_64/elf/initfini.c: Remove file.
30653 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30655         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30656         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30657         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30658         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30659         <bits/inotify.h>.
30660         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30661         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30662         bits/inotify.h.
30664 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30666         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30667         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30668         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30669         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30670         <bits/eventfd.h>.
30671         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30673         bits/eventfd.h.
30675 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30677         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30678         __feraiseexcept instead of feraiseexcept.
30680         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30681         nanosleep invocations.
30682         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30683         strings, and add error checking for a nanosleep invocations.
30685 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30687         Replace FSF snail mail address with URLs, as per GNU coding standards.
30688         Most of the snail mail addresses were wrong anyway, and omitting
30689         them makes the source code easier to maintain.  Almost all of the
30690         changes are to license notices and to locale LC_IDENTIFICATION
30691         addresses, except for this one:
30692         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30693         not its snail mail address.
30695 2012-02-09  Richard Henderson  <rth@twiddle.net>
30697         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30698         of kernel-features.h.
30700         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30702 2012-02-08  Marek Polacek  <polacek@redhat.com>
30704         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30705         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30706         * sysdeps/gnu/_G_config.h: Likewise.
30707         * sysdeps/generic/_G_config.h: Likewise.
30709 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30711         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30712         tests.
30713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30715         * sysdeps/powerpc/powerpc32/crti.S: New file.
30716         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30717         * sysdeps/powerpc/powerpc64/crti.S: New file.
30718         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30720         * Makeconfig (have-initfini): Don't set.
30721         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30722         * configure.in (nopic_initfini): Don't substitute.
30723         * config.h.in (HAVE_INITFINI): Don't #undef.
30724         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30725         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30727 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30729         Support crti.S and crtn.S provided directly by architectures.
30730         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30731         [crti.S in sysdirs] (omit-deps): Likewise.
30732         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30733         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30734         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30735         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30736         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30737         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30738         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30739         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30740         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30741         compiler output for sysdeps/generic/initfini.c.
30742         * sysdeps/i386/elf/Makefile: Remove file.
30743         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30745 2012-02-07  Marek Polacek  <polacek@redhat.com>
30747         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30748         * sysdeps/gnu/_G_config.h: Likewise.
30749         * sysdeps/mach/hurd/_G_config.h: Likewise.
30751 2012-02-07  Marek Polacek  <polacek@redhat.com>
30753         * math/Makefile (tests): Add tst-CMPLX2.
30754         * math/tst-CMPLX2.c: New file.
30756 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30758         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30760         * math/libm-test.inc (jn_test): Add missing L suffix.
30762 2012-02-06  Marek Polacek  <polacek@redhat.com>
30764         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30765         * sysdeps/i386/fpu/e_powf.S: Likewise.
30766         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30767         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30768         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30769         * sysdeps/i386/fpu/e_pow.S: Likewise.
30770         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30771         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30772         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30773         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30774         * sysdeps/i386/fpu/e_log2.S: Likewise.
30775         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30776         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30777         * sysdeps/i386/fpu/e_powl.S: Likewise.
30778         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30779         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30780         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30781         * sysdeps/i386/fpu/e_logl.S: Likewise.
30782         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30783         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30784         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30785         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30786         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30787         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30788         * sysdeps/i386/fpu/e_log.S: Likewise.
30789         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30790         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30791         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30792         * sysdeps/i386/fpu/e_logf.S: Likewise.
30793         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30794         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30795         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30796         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30797         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30798         * sysdeps/i386/fpu/e_log10.S: Likewise.
30799         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30800         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30801         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30802         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30803         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30804         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30805         * sysdeps/i386/asm-syntax.h: Likewise.
30806         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30807         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30808         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30809         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30810         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30811         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30812         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30813         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30814         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30815         * sysdeps/powerpc/sysdep.h: Likewise.
30816         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30817         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30819 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30821         [BZ #411]
30822         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30824 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30826         * sysdeps/i386/sysdep.h: Include <features.h>.
30827         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30828         version.
30830 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30832         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30833         Define.
30834         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30835         LOAD_PIC_REG_STR.
30837 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30839         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30840         (SETUP_PIC_REG): Use GET_PC_THUNK.
30841         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30842         macro.
30844 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30846         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30847         for non-PIC compilation.
30848         (SETUP_PIC_REG): Add .p2align directive.
30849         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30850         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30851         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30852         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30853         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30854         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30855         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30856         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30857         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30858         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30859         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30860         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30861         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30862         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30863         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30864         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30865         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30866         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30867         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30868         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30869         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30870         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30871         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30872         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30873         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30874         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30875         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30876         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30877         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30878         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30879         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30880         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30881         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30882         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30883         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30884         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30885         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30886         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30887         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30888         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30889         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30891 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30893         * math/tst-CMPLX.c: Include <stdio.h>.
30895 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30897         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30898         float.
30899         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30900         * sysdeps/sparc/bits/mathdef.h: Likewise.
30902 2012-01-31  Marek Polacek  <polacek@redhat.com>
30904         * libio/libio.h: Don't define _PARAMS.
30905         * locale/programs/config.h: Don't define PARAMS.
30906         * stdlib/strtol_l.c: Likewise.
30907         (__strtol_l): Remove PARAMS from the prototype.
30909 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30911         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30912         names.  Just use the correct names.  Remove unnecessary wrapper
30913         functions.
30914         * malloc/arena.c: Likewise.
30915         * malloc/hooks.c: Likewise.
30917         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30918         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30919         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30921 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30923         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30924         into tail calls.
30925         (update_get_addr): New function.
30926         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30927         GET_ADDR_MODULE parameter.
30929 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30931         * crypt/cert.c: Remove __STDC__ conditionals.
30932         * crypt/crypt-entry.c: Likewise.
30933         * crypt/crypt_util.c: Likewise.
30934         * libio/filedoalloc.c: Likewise.
30935         * libio/fileops.c: Likewise.
30936         * libio/genops.c: Likewise.
30937         * libio/iofclose.c: Likewise.
30938         * libio/iofdopen.c: Likewise.
30939         * libio/iofopen.c: Likewise.
30940         * libio/iofopen64.c: Likewise.
30941         * libio/iogetdelim.c: Likewise.
30942         * libio/iopopen.c: Likewise.
30943         * libio/obprintf.c: Likewise.
30944         * libio/oldfileops.c: Likewise.
30945         * libio/oldiofclose.c: Likewise.
30946         * libio/oldiofdopen.c: Likewise.
30947         * libio/oldiofopen.c: Likewise.
30948         * libio/oldiopopen.c: Likewise.
30949         * libio/wfiledoalloc.c: Likewise.
30950         * libio/wgenops.c: Likewise.
30951         * locale/programs/xmalloc.c: Likewise.
30952         * misc/syslog.c: Likewise.
30953         * stdio-common/xbug.c: Likewise.
30954         * string/memchr.c: Likewise.
30955         * string/memcmp.c: Likewise.
30956         * string/memrchr.c: Likewise.
30957         * string/rawmemchr.c: Likewise.
30958         * sysdeps/posix/getcwd.c: Likewise.
30959         * time/strftime_l.c: Likewise.
30961 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30963         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30964         * config.make.in (config-cflags-sse2avx): Define.
30965         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30966         Fix typo.
30968 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30970         * scripts/config.guess: Update from upstream config git repository.
30971         * scripts/config.sub: Likewise.
30973 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30975         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30976         (EM_NUM): Update.
30977         (R_TILEPRO_*, R_TILEGX_*): New macros.
30979         * scripts/firstversions.awk: Fix bug in version range handling.
30981         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30983         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30985         * include/sys/epoll.h: New file.
30986         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30987         libc_hidden_def.
30989 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30991         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30992         Avoid unnecessary __WORDSIZE == 64 test.
30993         (fmaxf): Use VEX format if possible.
30994         (fmax): Likewise.
30995         (fminf): Likewise.
30996         (fmin): Likewise.
30998         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30999         * math/math_private.h: Remove libc_fegetround* and
31000         libc_fesetround*.
31001         * sysdeps/i386/configure.in: Check for -msse2avx.
31002         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31003         also if SSE2AVX is defined.
31004         Remove libc_fegetround* and libc_fesetround*.
31005         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31006         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31007         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31008         of HAS_YMM_USABLE.
31009         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31010         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31011         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31012         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31013         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31015         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31017 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31019         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31020         size is not set.
31021         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31023 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31025         [BZ #13618]
31026         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31027         relocation.
31028         * Makeconfig (libm): Define.
31029         * elf/Makefile: Add rules to build and run tst-relsort1.
31030         * elf/tst-relsort1.c: New file.
31031         * elf/tst-relsort1mod1.c: New file.
31032         * elf/tst-relsort1mod2.c: New file.
31034 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31036         * math/s_ldexp.c: Remove __STDC__ conditionals.
31037         * math/s_ldexpf.c: Likewise.
31038         * math/s_ldexpl.c: Likewise.
31039         * math/s_nextafter.c: Likewise.
31040         * math/s_nexttowardf.c: Likewise.
31041         * math/s_significand.c: Likewise.
31042         * math/s_significandf.c: Likewise.
31043         * math/s_significandl.c: Likewise.
31044         * math/w_jnl.c: Likewise.
31045         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31046         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31047         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31048         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31049         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31050         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31051         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31052         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31053         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31054         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31055         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31056         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31057         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31058         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31059         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31060         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31061         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31062         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31063         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31064         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31065         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31066         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31067         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31068         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31069         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31070         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31071         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31072         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31073         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31074         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31075         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31076         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31077         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31078         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31079         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31080         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31081         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31082         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31083         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31084         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31085         * sysdeps/ieee754/k_standard.c: Likewise.
31086         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31087         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31088         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31089         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31090         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31091         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31092         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31093         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31094         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31095         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31096         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31097         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31098         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31099         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31100         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31101         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31102         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31103         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31104         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31105         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31106         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31107         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31108         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31109         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31110         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31111         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31112         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31113         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31115         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31116         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31117         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31118         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31119         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31120         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31121         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31122         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31123         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31124         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31125         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31126         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31128         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31129         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31130         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31131         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31132         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31133         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31134         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31135         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31136         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31137         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31138         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31139         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31140         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31141         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31142         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31143         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31144         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31145         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31146         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31147         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31148         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31149         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31150         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31151         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31152         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31153         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31154         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31155         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31156         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31157         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31158         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31159         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31160         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31161         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31162         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31163         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31164         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31165         * sysdeps/ieee754/s_matherr.c: Likewise.
31166         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31167         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31168         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31169         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31171 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31173         * crypt/md5.h: Remove __STDC__ conditionals.
31174         * libio/libioP.h: Likewise.
31175         * locale/programs/config.h: Likewise.
31176         * sysdeps/generic/sysdep.h: Likewise.
31177         * sysdeps/i386/asm-syntax.h: Likewise.
31178         * sysdeps/s390/asm-syntax.h: Likewise.
31179         * sysdeps/unix/sysdep.h: Likewise.
31180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31183 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31185         * libio/libio.h: Remove __STDC__ conditionals.
31186         * malloc/obstack.h: Likewise.
31187         * math/complex.h: Likewise.
31188         * math/math.h: Likewise.
31189         * sysdeps/generic/_G_config.h: Likewise.
31190         * sysdeps/gnu/_G_config.h: Likewise.
31191         * sysdeps/mach/hurd/_G_config.h: Likewise.
31192         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31193         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31194         * sysdeps/sparc/bits/mathdef.h: Likewise.
31196 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31198         [BZ #13583]
31199         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31200         Clean up HAS_* macros.
31201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31202         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31203         possible.
31204         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31205         HAS_AVX.
31206         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31207         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31208         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31209         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31210         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31212 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31214         * elf/tst-unique3.cc (gets): Remove declaration.
31215         * elf/tst-unique3lib.cc (gets): Likewise.
31216         * elf/tst-unique3lib2.cc (gets): Likewise.
31217         * elf/tst-unique4.cc (gets): Likewise.
31219 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31221         * include/stdio.h: Add C++ protection.  Add gets declarations and
31222         definitions.
31223         * debug/tst-chk1.c: Don't declare gets here.
31224         * stdio-common/tst-gets.c: Likewise.
31226 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31228         * posix/glob: Remove directory.
31230 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31232         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31234 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31236         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31237         of the non-standard EPFNOSUPPORT.
31239 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31241         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31242         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31243         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31245 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31247         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31249 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31251         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31252         transient errors.
31253         * nscd/grpcache.c (cache_addgr): Likewise.
31254         * nscd/hstcache.c (cache_addhst): Likewise.
31255         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31256         * nscd/pwdcache.c (cache_addpw): Likewise.
31257         * nscd/servicescache.c (cache_addserv): Likewise.
31259 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31261         * malloc/malloc.c: Various cleanups.
31262         * malloc/hooks.c: Likewise.
31264         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31265         * stdlib/bug-fmtmsg1.c: New file.
31267         * stdlib/fmtmsg.c (init): Add missing unlock.
31268         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31270 2012-01-12  Marek Polacek  <polacek@redhat.com>
31272         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31273         and _GNU_SOURCE.
31275 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31277         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31278         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31279         macro to ensure uniqueness of label name.
31280         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31281         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31283 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31285         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31287         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31288         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31289         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31290         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31292 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31294         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31296         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31297         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31298         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31300         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31302         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31303         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31304         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31305         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31307         * math/bits/math-finite.h: Add ldexp support.
31309 2012-01-10  Marek Polacek  <polacek@redhat.com>
31311         * locale/programs/localedef.h (show_archive_content): Add noreturn
31312         attribute.
31314 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31316         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31318 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31320         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31322         * io/Makefile (headers): Add bits/poll2.h.
31324 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31327         typo #include statement.
31329 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31331         * include/sys/cdefs.h: Define __attribute_alloc_size.
31332         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31333         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31334         * elf/pldd.c: Likewise.
31335         * iconv/iconv_charmap.c: Likewise.
31336         * iconv/iconvconfig.c: Likewise.
31337         * iconv/strtab.c: Likewise.
31338         * locale/programs/locale.c: Likewise.
31339         * locale/programs/localedef.h: Likewise.
31340         * locale/programs/simple-hash.c: Likewise.
31341         * nscd/nscd.h: Likewise.
31342         * nss/makedb.c: Likewise.
31343         * sysdeps/generic/ldconfig.h: Likewise.
31344         * locale/programs/localedef.c: Remove xmalloc prototype.
31345         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31347 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31349         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31350         appropriate.
31352 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31354         * math/Makefile (tests): Add tst-CMPLX.
31355         * math/tst-CMPLX.c: New file.
31357         * math/complex.h (CMPLXL): Fix typo.
31359         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31360         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31361         GLIBC_2.16.
31362         * debug/tst-chk1.c: Add poll and ppoll tests.
31363         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31364         * include/sys/poll.h: Add hidden proto for ppoll.
31365         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31366         * sysdeps/mach/hurd/ppoll.c: Likewise.
31367         * io/ppoll.c: Likewise.
31368         * debug/poll_chk.c: New file.
31369         * debug/ppoll_chk.c: New file.
31370         * include/bits/poll2.h: New file.
31371         * io/bits/poll2.h: New file.
31373         [BZ #1350]
31374         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31376         * configure.in: static is always set to yes.  Remove.
31377         * config.make.in: Don't set build-static.
31378         * Makeconfig: Remove use of build-static.
31379         * dlfcn/Makefile: Likewise.
31380         * elf/Makefile: Likewise.
31381         * math/Makefile: Likewise.
31382         * misc/Makefile: Likewise.
31383         * nptl/Makefile: Likewise.
31384         * sysdeps/mach/hurd/Makefile: Likewise.
31386         * configure.in: PWD_P is not used anymore.
31387         * config.make.in: Remove PWD_P entry.
31389         * configure.in: Remove last remnants of RANLIB.
31390         No need to check for signed size_t anymore.
31391         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31392         and IA-64.
31393         Remove __builtin_expect test because we require at least gcc 3.4.
31394         * aclocal.m4: Likewise.
31396         * wcsmbs/mbrtoc16.c: Implement using towc function.
31397         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31398         * wcsmbs/wcsmbsload.c: Likewise.
31399         * iconv/gconv_simple.c: Likewise.
31400         * iconv/gconv_int.h: Likewise.
31401         * iconv/gconv_builtin.h: Likewise.
31402         * iconv/iconv_prog.c: Remove CHAR16 handling.
31404         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31406         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31408         * configure.in: Remove --with-elf and --enable-bounded options.
31409         Dont set base_machine for ia64.  More non-ELF conditions removed.
31410         Remove testing and setting of leading underscore information.
31411         * config.make.in (build-bounded): Set to no.
31412         * config.h.in: Remove NO_UNDERSCORES entry.
31413         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31414         them.
31415         * csu/start.c: Remove !NO_UNDERSCORE code.
31416         * locale/localeinfo.h: Likewise.
31417         * sysdeps/generic/machine-gmon.h: Likewise.
31418         * sysdeps/generic/sysdep.h: Likewise.
31419         * sysdeps/i386/sysdep.h: Likewise.
31420         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31421         * sysdeps/mach/sysdep.h: Likewise.
31422         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31423         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31424         * sysdeps/sh/sysdep.h: Likewise.
31425         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31426         * sysdeps/unix/i386/sysdep.S: Likewise.
31427         * sysdeps/unix/sparc/start.c: Likewise.
31428         * sysdeps/unix/sparc/sysdep.S: Likewise.
31429         * sysdeps/unix/sparc/sysdep.h: Likewise.
31430         * sysdeps/unix/start.c: Likewise.
31431         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31432         * sysdeps/x86_64/sysdep.h: Likewise.
31434 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31436         [BZ #13553]
31437         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31438         for non-gcc.
31439         * argp/argp-fmtstream.h: Use const instead __const.
31440         * argp/argp.h: Likewise.
31441         * assert/assert.h: Likewise.
31442         * bits/fenv.h: Likewise.
31443         * bits/sched.h: Likewise.
31444         * bits/sigset.h: Likewise.
31445         * bits/sigthread.h: Likewise.
31446         * catgets/nl_types.h: Likewise.
31447         * conform/data/pthread.h-data: Likewise.
31448         * crypt/crypt-private.h: Likewise.
31449         * crypt/crypt.h: Likewise.
31450         * crypt/crypt_util.c: Likewise.
31451         * ctype/ctype.h: Likewise.
31452         * debug/execinfo.h: Likewise.
31453         * debug/mbsnrtowcs_chk.c: Likewise.
31454         * debug/mbsrtowcs_chk.c: Likewise.
31455         * debug/wcsnrtombs_chk.c: Likewise.
31456         * debug/wcsrtombs_chk.c: Likewise.
31457         * debug/wcstombs_chk.c: Likewise.
31458         * dirent/dirent.h: Likewise.
31459         * dlfcn/dlfcn.h: Likewise.
31460         * elf/neededtest4.c: Likewise.
31461         * grp/grp.h: Likewise.
31462         * gshadow/gshadow.h: Likewise.
31463         * iconv/gconv.h: Likewise.
31464         * iconv/gconv_int.h: Likewise.
31465         * iconv/gconv_simple.c: Likewise.
31466         * iconv/iconv.h: Likewise.
31467         * iconv/loop.c: Likewise.
31468         * iconv/skeleton.c: Likewise.
31469         * include/aio.h: Likewise.
31470         * include/aliases.h: Likewise.
31471         * include/argz.h: Likewise.
31472         * include/arpa/inet.h: Likewise.
31473         * include/assert.h: Likewise.
31474         * include/dirent.h: Likewise.
31475         * include/dlfcn.h: Likewise.
31476         * include/execinfo.h: Likewise.
31477         * include/fcntl.h: Likewise.
31478         * include/fenv.h: Likewise.
31479         * include/glob.h: Likewise.
31480         * include/grp.h: Likewise.
31481         * include/libintl.h: Likewise.
31482         * include/mntent.h: Likewise.
31483         * include/netdb.h: Likewise.
31484         * include/pwd.h: Likewise.
31485         * include/rpc/netdb.h: Likewise.
31486         * include/sched.h: Likewise.
31487         * include/search.h: Likewise.
31488         * include/shadow.h: Likewise.
31489         * include/signal.h: Likewise.
31490         * include/stdio.h: Likewise.
31491         * include/stdlib.h: Likewise.
31492         * include/string.h: Likewise.
31493         * include/sys/socket.h: Likewise.
31494         * include/sys/stat.h: Likewise.
31495         * include/sys/statfs.h: Likewise.
31496         * include/sys/statvfs.h: Likewise.
31497         * include/sys/syslog.h: Likewise.
31498         * include/sys/time.h: Likewise.
31499         * include/sys/uio.h: Likewise.
31500         * include/time.h: Likewise.
31501         * include/unistd.h: Likewise.
31502         * include/utmp.h: Likewise.
31503         * include/wchar.h: Likewise.
31504         * include/wctype.h: Likewise.
31505         * inet/aliases.h: Likewise.
31506         * inet/arpa/inet.h: Likewise.
31507         * inet/netinet/ether.h: Likewise.
31508         * inet/netinet/in.h: Likewise.
31509         * intl/libintl.h: Likewise.
31510         * io/bits/fcntl2.h: Likewise.
31511         * io/fcntl.h: Likewise.
31512         * io/ftw.h: Likewise.
31513         * io/sys/poll.h: Likewise.
31514         * io/sys/stat.h: Likewise.
31515         * io/sys/statfs.h: Likewise.
31516         * io/sys/statvfs.h: Likewise.
31517         * io/utime.h: Likewise.
31518         * libio/bits/stdio.h: Likewise.
31519         * libio/bits/stdio2.h: Likewise.
31520         * libio/libio.h: Likewise.
31521         * libio/libioP.h: Likewise.
31522         * libio/stdio.h: Likewise.
31523         * locale/lc-ctype.c: Likewise.
31524         * locale/locale.h: Likewise.
31525         * login/utmp.h: Likewise.
31526         * malloc/arena.c: Likewise.
31527         * malloc/malloc.c: Likewise.
31528         * malloc/malloc.h: Likewise.
31529         * malloc/mcheck.c: Likewise.
31530         * malloc/mtrace.c: Likewise.
31531         * math/bits/mathcalls.h: Likewise.
31532         * math/fenv.h: Likewise.
31533         * math/math_private.h: Likewise.
31534         * misc/bits/error.h: Likewise.
31535         * misc/bits/syslog.h: Likewise.
31536         * misc/err.h: Likewise.
31537         * misc/error.h: Likewise.
31538         * misc/fstab.h: Likewise.
31539         * misc/mntent.h: Likewise.
31540         * misc/regexp.h: Likewise.
31541         * misc/search.h: Likewise.
31542         * misc/sgtty.h: Likewise.
31543         * misc/sys/mman.h: Likewise.
31544         * misc/sys/syslog.h: Likewise.
31545         * misc/sys/uio.h: Likewise.
31546         * misc/sys/xattr.h: Likewise.
31547         * misc/ttyent.h: Likewise.
31548         * nis/rpcsvc/ypclnt.h: Likewise.
31549         * nss/nss.h: Likewise.
31550         * posix/bits/unistd.h: Likewise.
31551         * posix/fnmatch.h: Likewise.
31552         * posix/glob.h: Likewise.
31553         * posix/sched.h: Likewise.
31554         * posix/spawn.h: Likewise.
31555         * posix/sys/wait.h: Likewise.
31556         * posix/unistd.h: Likewise.
31557         * posix/wordexp.h: Likewise.
31558         * pwd/pwd.h: Likewise.
31559         * resolv/netdb.h: Likewise.
31560         * resource/sys/resource.h: Likewise.
31561         * rt/aio.h: Likewise.
31562         * rt/bits/mqueue2.h: Likewise.
31563         * rt/mqueue.h: Likewise.
31564         * shadow/shadow.h: Likewise.
31565         * signal/signal.h: Likewise.
31566         * socket/send.c: Likewise.
31567         * socket/sendto.c: Likewise.
31568         * socket/sys/socket.h: Likewise.
31569         * stdio-common/printf.h: Likewise.
31570         * stdlib/bits/stdlib.h: Likewise.
31571         * stdlib/fmtmsg.h: Likewise.
31572         * stdlib/monetary.h: Likewise.
31573         * stdlib/stdlib.h: Likewise.
31574         * stdlib/ucontext.h: Likewise.
31575         * streams/stropts.h: Likewise.
31576         * string/argz.h: Likewise.
31577         * string/bits/string2.h: Likewise.
31578         * string/string.h: Likewise.
31579         * string/strings.h: Likewise.
31580         * sunrpc/rpc/auth.h: Likewise.
31581         * sunrpc/rpc/auth_des.h: Likewise.
31582         * sunrpc/rpc/clnt.h: Likewise.
31583         * sunrpc/rpc/netdb.h: Likewise.
31584         * sunrpc/rpc/pmap_clnt.h: Likewise.
31585         * sunrpc/rpc/xdr.h: Likewise.
31586         * sysdeps/generic/inttypes.h: Likewise.
31587         * sysdeps/generic/net/if.h: Likewise.
31588         * sysdeps/generic/sys/swap.h: Likewise.
31589         * sysdeps/gnu/net/if.h: Likewise.
31590         * sysdeps/gnu/utmpx.h: Likewise.
31591         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31592         * sysdeps/i386/i486/bits/string.h: Likewise.
31593         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31594         * sysdeps/s390/bits/string.h: Likewise.
31595         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31596         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31597         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31598         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31599         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31600         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31601         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31602         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31603         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31604         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31605         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31606         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31607         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31608         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31609         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31610         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31611         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31612         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31613         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31614         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31615         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31616         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31617         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31618         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31619         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31620         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31621         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31622         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31623         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31624         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31625         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31626         * sysvipc/sys/ipc.h: Likewise.
31627         * sysvipc/sys/msg.h: Likewise.
31628         * sysvipc/sys/sem.h: Likewise.
31629         * sysvipc/sys/shm.h: Likewise.
31630         * termios/termios.h: Likewise.
31631         * time/sys/time.h: Likewise.
31632         * time/time.h: Likewise.
31633         * wcsmbs/bits/wchar2.h: Likewise.
31634         * wcsmbs/uchar.h: Likewise.
31635         * wcsmbs/wchar.h: Likewise.
31636         * wctype/wctype.h: Likewise.
31638         [BZ #13551]
31639         * Makeconfig: Remove all but ELF support including AIX support.
31640         * Makerules: Likewise.
31641         * config.h.in: Likewise.
31642         * config.make.in: Likewise.
31643         * configure: Likewise.
31644         * configure.in: Likewise.
31645         * csu/Makefile: Likewise.
31646         * csu/version.c: Likewise.
31647         * debug/Makefile: Likewise.
31648         * dlfcn/Makefile: Likewise.
31649         * elf/Makefile: Likewise.
31650         * extra-lib.mk: Likewise.
31651         * iconv/Makefile: Likewise.
31652         * include/libc-symbols.h: Likewise.
31653         * include/shlib-compat.h: Likewise.
31654         * resolv/Makefile: Likewise.
31655         * resolv/res_libc.c: Likewise.
31656         * rt/Makefile: Likewise.
31657         * sysdeps/i386/asm-syntax.h: Likewise.
31658         * sysdeps/i386/sysdep.h: Likewise.
31659         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31660         * sysdeps/mach/sysdep.h: Likewise.
31661         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31662         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31663         * sysdeps/s390/asm-syntax.h: Likewise.
31664         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31665         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31666         * sysdeps/sh/sysdep.h: Likewise.
31667         * sysdeps/unix/sparc/sysdep.h: Likewise.
31668         * sysdeps/wordsize-32/divdi3.c: Likewise.
31669         * sysdeps/x86_64/sysdep.h: Likewise.
31671         * argp/Versions: Remove _argp_unlock_xxx.
31673         [BZ #13559]
31674         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31675         * abilist/libBrokenLocale.abilist: Likewise.
31676         * abilist/libanl.abilist: Likewise.
31677         * abilist/libc.abilist: Likewise.
31678         * abilist/libcrypt.abilist: Likewise.
31679         * abilist/libdl.abilist: Likewise.
31680         * abilist/libm.abilist: Likewise.
31681         * abilist/libnsl.abilist: Likewise.
31682         * abilist/libpthread.abilist: Likewise.
31683         * abilist/libresolv.abilist: Likewise.
31684         * abilist/librt.abilist: Likewise.
31685         * abilist/libthread_db.abilist: Likewise.
31686         * abilist/libutil.abilist: Likewise.
31687         * abilist/libnss_db.abilist: New file.
31689         * scripts/abilist.awk: Add support for indirect functions.
31691         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31693         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31695         * shlib-versions: Remove entries for ports architectures.
31697         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31698         files in ports.
31699         * elf/stackguard-macros.h: Remove support for IA-64.
31700         * elf/tst-auditmod1.c: Likewise.
31701         * sysdeps/generic/ldsodefs.h: Likewise.
31703         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31704         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31705         configure files.
31707         [BZ #13552]
31708         * configure.in: Remove --enable-omitfp support.
31709         * FAQ.in: Adjust.
31710         * config.make.in: Likewise.
31711         * Makeconfig: Likewise.
31712         * manual/install.texi: Likewise.
31714         In case anyone cares, the IA-64 architecture could move to ports.
31715         * sysdeps/ia64/*: Removed.
31716         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31717         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31719         [BZ #13555]
31720         * configure.in: Remove entries for unsupported architectures.
31722         [BZ #13533]
31723         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31724         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31725         routines.
31726         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31727         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31728         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31729         fall back to using wcrtomb.
31730         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31731         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31732         renaming.
31733         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31734         * wcsmbs/tst-c16c32-1.c: New file.
31736         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31737         local variable.
31739         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31741         * elf/tst-unique3.cc: Add explicit declaration of gets.
31742         * elf/tst-unique3lib.cc: Likewise.
31743         * elf/tst-unique3lib2.cc: Likewise.
31744         * elf/tst-unique4.cc: Likewise.
31746         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31748 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31750         [BZ #13566]
31751         * assert/assert.h (static_assert): Don't define for C++.
31752         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31753         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31755 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31757         * iconv/loop.c (single loop): Fix assertion in storing of
31758         remaining bytes.
31760         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31762 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31764         * posix/getconf.c: Update copyright year.
31765         * nss/getent.c: Likewise.
31766         * nss/makedb.c: Likewise.
31767         * iconv/iconvconfig.c: Likewise.
31768         * iconv/iconv_prog.c: Likewise.
31769         * elf/ldconfig.c: Likewise.
31770         * elf/pldd.c: Likewise.
31771         * elf/sotruss.ksh: Likewise.
31772         * catgets/gencat.c: Likewise.
31773         * csu/version.c: Likewise.
31774         * elf/ldd.bash.in: Likewise.
31775         * elf/sprof.c (print_version): Likewise.
31776         * locale/programs/locale.c: Likewise.
31777         * locale/programs/localedef.c: Likewise.
31778         * login/programs/pt_chown.c: Likewise.
31779         * nscd/nscd.c (print_version): Likewise.
31780         * debug/xtrace.sh: Likewise.
31781         * malloc/memusage.sh: Likewise.
31782         * malloc/mtrace.pl: Likewise.
31783         * debug/catchsegv.sh: Likewise.
31785 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31787         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31788         pure attribute.
31790 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31792         [BZ #13533]
31793         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31794         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31795         transformations.
31796         * iconv/gconv_int.h: Likewise.
31797         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31798         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31799         from libc for GLIBC_2.16.
31800         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31801         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31802         * wcsmbs/uchar.h: Really define mbstate_t.
31803         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31804         * wcsmbs/c16rtomb.c: New file.
31805         * wcsmbs/mbrtoc16.c: New file.
31806         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31807         for C/POSIX locale.
31808         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31809         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31811         * wcsmbs/wchar.h: Add missing __restrict.
31813 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31815         [BZ #13532]
31816         * time/Makefile (routines): Add timespec_get.
31817         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31818         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31819         timespec for ISO C11.
31820         * time/timespec_get.c: New file.
31821         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31822         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31824         [BZ #13531]
31825         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31826         * stdlib/stdlib.h: Declare aligned_alloc.
31827         * Versions.def: Add GLIBC_2.16 for libc.
31828         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31830         [BZ 13527]
31831         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31832         ISO C11.
31834         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31835         code.
31837         [BZ #13528]
31838         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31840         [BZ #13529]
31841         * assert/assert.h (static_assert): Define.
31843         * version.h: Update for 2.16 development version.
31845         [BZ #13526]
31846         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31847         _ISOC11_SOURCE.
31849         * version.h (RELEASE): Bump for 2.15 release.
31850         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31852         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31853         Patch by Marek Polacek <mpolacek@redhat.com>.
31855         * bits/byteswap.h: Protect long long constants with __extension__.
31856         * sysdeps/i386/bits/byteswap.h: Likewise.
31857         * sysdeps/ia64/bits/byteswap.h: Likewise.
31858         * sysdeps/s390/bits/byteswap.h: Likewise.
31859         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31861 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31863         [BZ #13540]
31864         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31865         destination buffer.
31866         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31868 2011-12-23  Marek Polacek  <polacek@redhat.com>
31870         * elf/dl-addr.c (determine_info): Add inline keyword.
31871         * elf/tst-auditmod4b.c (check_avx): Likewise.
31872         * elf/tst-auditmod6b.c (check_avx): Likewise.
31873         * elf/tst-auditmod6c.c (check_avx): Likewise.
31874         * elf/tst-auditmod7b.c (check_avx): Likewise.
31876 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31878         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31879         !__SSE_MATH__.
31881 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31883         [BZ #13540]
31884         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31885         processing for last bytes.
31887 2011-08-06  Bruno Haible  <bruno@clisp.org>
31889         [BZ #13061]
31890         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31891         U+0385, not to U+1FEE.
31893         [BZ #13062]
31894         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31895         entry for U+00A5 U+0301.
31897 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31899         [BZ #13166]
31900         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31901         buffer for the output is too small.
31903         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31904         optimization.
31906         [BZ #13185]
31907         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31908         SSE flags if possible.
31910 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31912         [BZ #13540]
31913         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31914         processing for last bytes.
31916 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31918         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31919         (syscall-list-default-options, syscall-list-default-condition)
31920         (syscall-list-includes): Define.
31921         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31922         list of ABIs and options and #if conditions for each ABI.  Do not
31923         handle common syscalls between ABIs specially.
31924         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31925         Remove.
31926         (syscall-list-variants, syscall-list-32bit-options)
31927         (syscall-list-32bit-condition, syscall-list-64bit-options)
31928         (syscall-list-64bit-condition): Define.
31929         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31930         (syscall-list-variants, syscall-list-32bit-options)
31931         (syscall-list-32bit-condition, syscall-list-64bit-options)
31932         (syscall-list-64bit-condition): Define.
31933         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31934         Remove.
31935         (syscall-list-variants, syscall-list-32bit-options)
31936         (syscall-list-32bit-condition, syscall-list-64bit-options)
31937         (syscall-list-64bit-condition): Define.
31938         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31939         Remove.
31940         (syscall-list-variants, syscall-list-32bit-options)
31941         (syscall-list-32bit-condition, syscall-list-64bit-options)
31942         (syscall-list-64bit-condition): Define.
31944 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31946         * locale/iso-639.def: Add brx entry.
31948         [BZ #13328]
31949         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31950         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31952         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31953         __feraiseexcept_renamed.
31955 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31957         [BZ #13538]
31958         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31959         EPOLLET with unsigned values.
31960         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31961         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31963         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31964         to large cancellation.
31965         * math/s_cacoshf.c: Likewise.
31966         * math/s_cacoshl.c: Likewise.
31968 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31970         [BZ #13305]
31971         [BZ #12786]
31972         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31973         * math/s_cacoshf.c: Likewise.
31974         * math/s_cacoshl.c: Likewise.
31976 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31978         [BZ #13439]
31979         * iconv/gconv.h: Define __GCONV_SWAP.
31980         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31981         * iconvdata/utf-16.c: Likewise.
31982         * iconvdata/utf-32.c: Likewise.
31984 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31986         [BZ #13524]
31987         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31988         numerator after shifting it by one limb.
31990 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31992         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31993         under [__USE_EXTERN_INLINES].
31995 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31997         [BZ #13446]
31998         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32000 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32002         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32003         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32004         optimized code.
32005         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32006         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32007         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32008         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32009         for strncasecmp/strncasecmp_l compilation.
32010         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32011         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32013 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32015         [BZ #13484]
32016         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32017         of __asm__.
32019 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32021         [BZ #13506]
32022         * time/tzfile.c (__tzfile_read): Check values from file header.
32024 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32026         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32027         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32028         * powerpc/powerpc32/dl-start.S: Likewise.
32029         * powerpc/powerpc32/elf/start.S: Likewise.
32030         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32031         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32032         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32033         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32034         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32035         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32036         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32037         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32038         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32039         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32040         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32041         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32042         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32043         * powerpc/powerpc32/memset.S: Likewise.
32044         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32045         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32046         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32047         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32048         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32049         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32050         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32051         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32052         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32053         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32054         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32055         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32056         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32058 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32060         * math/libm-test.inc: Added more nearbyint tests.
32061         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32062         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32063         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32064         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32066 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32068         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32069         FD_CLOEXEC.
32071 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32073         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32074         Add wcscpy-ssse3 wcscpy-c.
32075         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32076         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32077         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32078         * sysdeps/x86_64/wcschr.S: New file.
32079         * sysdeps/x86_64/wcsrchr.S: New file.
32080         * string/test-strcmp.c: Remove checking of wcscmp function for
32081         wrong alignments.
32082         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32083         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32084         wcsrchr-sse2 wcsrchr-c.
32085         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32086         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32087         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32088         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32089         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32090         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32091         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32092         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32093         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32094         * wcsmbc/wcschr.c (WCSCHR): New macro.
32096 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32098         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32099         * wcsmbs/test-wcsrchr.c: New file.
32100         * string/test-strrchr.c: Add wcsrchr support.
32101         (WIDE): New macro.
32102         * wcsmbs/test-wcscpy.c: New file.
32103         * string/test-strcpy.c: Add wcscpy support.
32104         (WIDE): New macro.
32106 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32108         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32109         the inner loop.
32111 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32113         [BZ #13472]
32114         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32116 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32118         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32119         Minor optimizations.
32121         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32122         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32123         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32125 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32127         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32128         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32129         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32130         for gcc to avoid warnings.
32131         * inet/Makefile (tests): Add tst-checks.
32132         * inet/tst-checks.c: New file.
32134         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32135         warning.
32137         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32138         __wmemcmp_sse2.
32140         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32141         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32143         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32145 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32147         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32148         problem.
32150         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32152 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32154         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32155         conditional on GCC version.
32156         (__arch_compare_and_exchange_val_8_acq)
32157         (__arch_compare_and_exchange_val_16_acq)
32158         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32159         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32160         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32162 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32164         * sysdeps/sh/backtrace.c: New file.
32166 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32168         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32169         parenthesis.
32171 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32173         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32174         falling back to utime.
32176 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32178         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32179         expectations for float.
32181 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32183         * locale/weight.h (findidx): Add parameter len.
32184         * locale/weightwc.h (findidx): Likewise.
32185         * posix/fnmatch_loop.c (FCT): Adjust caller.
32186         * posix/regcomp.c (build_equiv_class): Likewise.
32187         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32188         * posix/regexec.c (check_node_accept_bytes): Likewise.
32189         * string/strcoll_l.c (STRCOLL): Likewise.
32190         * string/strxfrm_l.c (STRXFRM): Likewise.
32192 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32194         * Makefile.in: Remove CVSOPT handling.
32195         * configure.in: Remove use of AC_REVISION.
32196         * iconvdata/Makefile (distribute): No need to filter out CVS.
32197         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32198         handling.
32200 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32202         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32203         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32204         [USE_AS_STRNCASECMP_L]: Likewise.
32205         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32206         NO_TLS_DIRECT_SEG_REFS.
32207         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32208         Fix argument offsets for non-PIC.
32209         [USE_AS_STRNCASECMP_L]: Likewise.
32210         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32211         NO_TLS_DIRECT_SEG_REFS.
32213 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32215         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32216         O_CLOEXEC.
32217         * locale/loadlocale.c (_nl_load_locale): Likewise.
32219 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32221         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32222         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32223         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32224         (SYSCALL_GETTIME): Set errno on error.
32226         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32227         count references to noai6ai_cached.
32229 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32231         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32233         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32234         FD_CLOEXEC for /proc/self/maps.
32236         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32237         FD_CLOEXEC for /proc/meminfo.
32239         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32240         gai.conf.
32242         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32243         FD_CLOEXEC for given file.
32245         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32247         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32248         FD_CLOEXEC for /etc/hosts.
32249         (_gethtent): Likewise.
32251         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32253         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32254         cancellation and set FD_CLOEXEC for /etc/netgroup.
32256         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32257         reading /etc/publickey.
32259         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32260         allow cancellation when reading /etc/group.
32262         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32263         cancellation.
32264         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32266         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32267         when using data file.
32269         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32271         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32272         (write_nis_obj): Use "c" and "e" in fopen.
32274         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32276         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32278         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32280         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32282         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32283         locale.alias.
32285         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32287         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32289         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32291         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32292         file parsing and set FD_CLOEXEC.
32294 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32296         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32298 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32300         * malloc/arena.c (arena_get2): Don't call reused_arena when
32301         _int_new_arena failed.
32303 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32305         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32306         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32307         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32308         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32309         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32310         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32311         to compile strcasecmp and strncasecmp.
32312         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32313         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32317 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32319         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32320         locale-defines.sym to gen-as-const-headers.
32321         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32322         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32323         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32324         to compile strcasecmp and strncasecmp.
32325         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32326         strcasecmp_l and strncasecmp_l.
32327         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32328         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32329         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32330         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32331         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32332         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32333         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32334         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32335         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32336         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32337         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32339 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32341         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32342         result of SYSDEP_GETTIME_CPU to retval.
32343         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32344         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32346         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32347         variable.
32349         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32350         mantissa words.
32351         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32353         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32354         from unused variable.
32356         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32357         DWARF definitions.
32358         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32359         for assembling.
32361         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32362         over namespaces.
32364         * sunrpc/rpc_prot.c (rejected): Fix case value.
32366         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32367         unsigned long long int to avoid warnings in shift.
32369         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32370         of use of trans.
32371         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32372         variable tmp.
32374         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32375         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32376         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32378         * nis/nis_table.c (nis_list): Use variable of correct type for
32379         result of __follow_path call.
32381 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32383         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32384         of math functions ceil, trunc, floor, round, and sqrt, when
32385         avaliable on the platform.
32386         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32387         name clash.
32388         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32389         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32390         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32392 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32394         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32395         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32397 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32399         * include/unistd.h: Fix __readlink return type.
32400         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32402 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32404         * stdlib/ucontext.h: Undo last change for makecontext.
32406 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32408         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32410         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32411         * setjmp/setjmp.h: Mark functions as non-leaf.
32412         * setjmp/bits/setjmp2.h: Likewise.
32413         * stdlib/ucontext.h: Likewise.
32415 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32417         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32418         (reused_arena): Don't check arena limit.
32419         (arena_get2): Atomically check arena limit.
32421 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32423         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32424         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32427         instructions.
32429 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32431         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32432         handler when locking.
32434         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32435         Fix size of allocated buffer.
32437 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32439         [BZ #10103]
32440         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32441         declarations for long double functions.
32442         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32444         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32446 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32448         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32449         installed.
32451         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32452         is disabled.
32454 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32456         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32458 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32460         * include/alloca.h (stackinfo_alloca_round): Define.
32461         (extend_alloca): Use it.
32462         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32463         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32464         here.
32466         * scripts/check-local-headers.sh: Ignore libaudit.h.
32468         * nscd/Makefile (extra-objs): Make recursively expanded.
32470 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32472         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32473         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32475         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32476         * posix/tst-rfc3484-2.c: Likewise.
32477         * posix/tst-rfc3484-3.c: Likewise.
32479         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32480         process_vm_writev.
32481         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32482         process_vm_writev.
32483         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32484         process_vm_writev from libc using GLIBC_2.15 version.
32486         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32488 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32490         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32491         stack usage.
32493 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32495         [BZ #13367]
32496         * nss/getent.c (initgroups_keys): Show error message in case no group
32497         names are given.
32499         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32500         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32501         __bump_nl_timestamp.
32502         * nscd/connections (nscd_init): When host database is served open
32503         netlink socket and request notification about configuration changes.
32504         (main_loop_poll): Track netlink file descriptor and bump timestamp
32505         in case data becomes available.
32506         (main_loop_epoll): Likewise.
32507         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32508         (database_pers_head): Add extra_data fileds.
32509         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32510         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32511         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32512         Adjust caller.
32513         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32514         in6ai data, call __free_in6ai.
32515         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32516         Add -DHAVE_NETLINK.
32517         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32518         interface information.  Reuse previous data if netlink timestamp
32519         is not changed.
32520         (__bump_nl_timestamp): New function.
32521         (__free_in6ai): New function.
32523 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32525         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32526         close_not_cancel_no_status here.
32527         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32529 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32531         [BZ #13276]
32532         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32533         return value.
32535         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32536         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32537         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32539 2011-07-03  Andreas Jaeger  <aj@suse.de>
32541         [BZ #10709]
32542         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32543         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32544         * math/libm-test.inc (sin_test): Add test case.
32546 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32548         [BZ #13337]
32549         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32550         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32552         * elf/chroot_canon.c (chroot_canon): Cleanups.
32554         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32556         [BZ #13335]
32557         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32558         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32560         * string/test-strchr.c: Make usable for strchrnul testing.
32561         * string/test-strchrnul.c: New file.
32562         * string/Makefile (strop-tests): Add strchrnul.
32564         * po/it.po: Update from translation team.
32565         * po/es.po: Likewise.
32567 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32569         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32570         the three constants needed as parameters.  Drop the others.
32571         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32572         __m128i_strloadu_tolower.
32573         Create and initialize variable zero and use it in all the places
32574         where _mm_setzero_si128 was used.
32576         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32577         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32578         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32579         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32580         anymore.
32581         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32582         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32583         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32584         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32585         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32586         __mpranred, __mptan.
32587         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32588         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32589         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32590         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32591         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32592         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32593         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32594         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32595         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32597 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32599         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32600         redefine if SHARED.
32601         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32603         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32604         wide char related routines to wcsmbs subdir.
32606 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32608         [BZ #13344]
32609         * misc/sys/cdefs.h (__THROWNL): Define.
32610         * posix/unistd.h: Use __THREADNL instead of __THREAD
32611         for memory synchronization functions.
32613 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32615         [BZ #13349]
32616         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32617         doesn't exist.
32618         * manual/stdio.texi (Obstack Streams): Node removed.
32620 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32622         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32623         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32624         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32626         * math/math_private.h (math_force_eval): Allow non-addressable
32627         arguments.
32628         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32630 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32632         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32633         file is not needed.
32635         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32636         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32637         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32638         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32639         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32640         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32641         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32642         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32643         Add AVX variants.
32644         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32645         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32646         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32647         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32648         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32649         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32650         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32651         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32652         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32653         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32654         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32655         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32656         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32657         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32658         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32659         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32660         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32661         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32662         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32664         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32665         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32667         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32668         place.  Use VEX encoding when compiling for AVX.
32670 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32672         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32673         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32675         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32677 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32679         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32680         useless if() expression.
32681         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32682         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32683         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32684         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32685         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32686         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32687         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32688         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32689         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32690         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32691         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32692         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32693         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32694         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32695         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32696         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32697         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32698         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32699         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32701         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32703 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32705         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32706         condition.
32707         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32709 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32711         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32712         .text section.  Avoid duplicate constants.
32713         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32714         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32715         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32716         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32717         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32718         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32719         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32721         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32722         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32723         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32724         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32725         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32726         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32727         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32728         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32729         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32730         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32731         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32732         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32733         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32734         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32735         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32736         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32737         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32738         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32739         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32740         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32741         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32742         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32743         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32744         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32745         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32746         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32747         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32748         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32749         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32750         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32751         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32752         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32753         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32754         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32755         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32756         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32757         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32759 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32761         * sysdeps/x86_64/dla.h: Move to ...
32762         * sysdeps/x86_64/fpu/dla.h: ...here.
32763         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32764         situations.  Use __builtin_fma only for gcc 4.6 and up.
32766         * config.make.in: Add have-mfma4 entry.
32767         * configure.in: Substitute libc_cv_cc_fma4.
32768         * math/Makefile (dbl-only-routines): Add sincostab.
32769         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32770         Use __sincostab not sincos.
32771         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32772         name is a macro.
32773         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32774         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32775         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32776         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32777         using __copysign.
32778         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32779         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32780         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32781         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32782         and __inv.
32783         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32784         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32785         __copysign.
32786         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32787         define aliases when function name is a macro.
32788         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32789         sysdeps/ieee754/dbl-64/sincos.tbl.
32790         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32791         fma4-enabled routines.
32792         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32793         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32794         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32795         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32796         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32797         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32798         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32799         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32800         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32801         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32802         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32803         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32804         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32805         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32806         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32807         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32808         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32809         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32810         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32811         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32812         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32813         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32814         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32815         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32816         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32817         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32818         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32819         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32820         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32821         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32823         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32824         rename.
32825         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32826         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32829         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32830         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32831         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32832         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32834 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32836         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32838 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32840         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32842         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32843         prediction.
32844         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32846         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32847         Remove unused variable magic_bits.
32848         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32850         * string/strnlen.c: Define and use STRNLEN macro.
32851         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32852         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32853         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32854         * wcsmbs/wcslen.c: Define and use WCSLEN.
32855         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32856         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32857         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32858         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32859         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32860         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32861         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32863 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32866         strnlen-sse2-no-bsf.
32867         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32868         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32869         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32870         Add strnlen support.
32871         (USE_AS_STRNLEN): New macro.
32872         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32873         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32874         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32875         * sysdeps/x86_64/wcslen.S: New file.
32877 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32879         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32880         XMM-moves are used for copying on small sizes.
32882 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32884         * wcsmbs/Makefile (strop-tests): Add wcschr.
32885         * wcsmbs/test-wcschr.c: New file.
32886         * string/test-strchr.c: Update.
32887         Add wcschr support.
32888         (WIDE): New macro.
32890 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32892         * wcsmbs/Makefile (strop-tests): Add wcslen.
32893         * wcsmbs/test-wcslen.c: New file.
32894         * string/test-strlen.c: Update.
32895         Add wcslen support.
32896         (WIDE): New macro.
32898 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32900         * po/it.po: Update from translation team.
32902 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32904         * sysdeps/x86_64/wcscmp.S: Update.
32905         Fix wrong comparison semantics.
32906         wcscmp shall use signed comparison not unsigned.
32907         Don't use substraction to avoid overflow bug.
32908         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32909         * wcsmbc/wcscmp.c: Likewise.
32910         * string/test-strcmp.c: Likewise.
32911         Add new tests to check cases with negative values.
32913 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32915         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32916         * sysdeps/x86_64/dla.h: ...here.  New file.
32917         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32918         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32919         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32920         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32921         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32922         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32923         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32924         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32925         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32927 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32929         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32930         __ynl_finite aliases.
32932 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32936         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32937         define DLA_FMA.
32938         [DLA_FMA] (EMULV): Use DLA_FMA.
32939         [DLA_FMA] (MUL12): Use EMULV.
32940         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32941         that are not needed.
32942         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32943         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32944         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32945         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32946         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32947         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32948         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32950 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32952         * math/s_nan.c: Undef __nan.
32953         * math/s_nanf.c: Undef __nanf.
32954         * math/s_nanl.c: Undef __nanl.
32955         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32956         "math_private.h".
32958 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32960         * math/s_catan.c: Add branch predictions.
32961         * math/s_catanf.c: Likewise.
32962         * math/s_catanh.c: Likewise.
32963         * math/s_catanhf.c: Likewise.
32964         * math/s_catanhl.c: Likewise.
32965         * math/s_catanl.c: Likewise.
32966         * math/s_cexp.c: Likewise.
32967         * math/s_cexpf.c: Likewise.
32968         * math/s_cexpl.c: Likewise.
32969         * math/s_clog.c: Likewise.
32970         * math/s_clog10.c: Likewise.
32971         * math/s_clog10f.c: Likewise.
32972         * math/s_clog10l.c: Likewise.
32973         * math/s_clogf.c: Likewise.
32974         * math/s_clogl.c: Likewise.
32975         * math/s_csqrt.c: Likewise.
32976         * math/s_csqrtf.c: Likewise.
32977         * math/s_csqrtl.c: Likewise.
32978         * math/s_ctanf.c: Likewise.
32979         * math/s_ctanh.c: Likewise.
32980         * math/s_ctanhf.c: Likewise.
32981         * math/s_ctanhl.c: Likewise.
32982         * math/s_ctanl.c: Likewise.
32984         * math/math_private.h: Define __nan, __nanf, __nanl.
32985         * math/s_cacosh.c: Include <math_private.h>.
32986         * math/s_cacoshl.c: Likewise.
32987         * math/s_casinh.c: Likewise.
32988         * math/s_casinhf.c: Likewise.
32989         * math/s_casinhl.c: Likewise.
32990         * math/s_ccos.c: Rely entire on ccosh.
32991         * math/s_ccosf.c: Rely entire on ccoshf.
32992         * math/s_ccosl.c: Rely entirely on ccoshl.
32993         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32994         Remove tests for FE_INVALID.
32995         * math/s_ccoshf.c: Likewise.
32996         * math/s_ccoshl.c: Likewise.
32997         * math/s_csin.c: Likewise.
32998         * math/s_csinf.c: Likewise.
32999         * math/s_csinh.c Likewise.
33000         * math/s_csinhf.c: Likewise.
33001         * math/s_csinhl.c: Likewise.
33002         * math/s_csinl.c: Likewise.
33003         * math/s_ctan.c: Likewise.
33004         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33005         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33006         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33008 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33011         compilation problems.
33013         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33014         __builtin_expect.
33016 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33018         * sysdeps/i386/configure.in: Test for -mfma4 option.
33019         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33020         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33021         COMMON_CPUID_INDEX_80000001.
33022         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33023         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33024         use it if FMA3 is not supported.
33025         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33027         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33028         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33030 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33032         [BZ #12892]
33033         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33034         it would create a cycle with a link time dependency.
33036 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33038         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33039         instruction.
33040         * string/Makefile (strop-tests): Add rawmemchr.
33041         * string/test-rawmemchr.c: New file.
33043         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33044         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33045         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33046         when compiling str{,n}casecmp and when AVX is available.  Hook up
33047         new optimized code in initializers.
33049 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33051         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33052         __feraiseexcept instead of feraiseexcept.
33054 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33056         * math/math_private.h: Define defaults for libc_fetestexcept and
33057         libc_feupdateenv.
33058         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33059         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33060         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33061         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33062         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33063         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33064         libc_fetestexcept and libc_feupdateenv.
33066         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33067         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33068         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33069         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33070         libc_feholdexcept_setround.
33072         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33073         Add s_nearbyint-c and s_nearbyintf-c.
33074         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33075         nearbyintf inlines.
33076         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33077         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33078         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33079         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33081         * math/math_private.h: Define defaults for libc_fegetround,
33082         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33083         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33084         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33085         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33086         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33087         standard functions.
33088         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33089         Remove comments and hacks for old compiler versions.
33090         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33091         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33092         libc_feholdexceptl.
33094 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33096         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33097         (__feraiseexcept_renamed): Add __NTH.
33098         (feraiseexcept): Add __NTH.  Rename local variables to fix
33099         namespace violations.
33101 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33103         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33105         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33107         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33108         recently added interfaces.
33109         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33111         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33112         about macro parameter expansion.
33114         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33115         __NO_MATH_INLINES is defined.  Cleanups.
33117         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33118         and __floorf is target has SSE4.1.
33119         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33120         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33121         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33122         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33124         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33125         name.
33126         (floorf): Likewise.
33128         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33130 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33132         * misc/sys/cdefs.h: Fix last change.
33134         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33135         database lookup.
33137 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33139         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33141         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33142         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33143         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33144         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33145         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33146         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33147         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33148         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33149         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33150         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33151         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33152         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33153         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33154         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33155         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33156         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33157         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33158         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33159         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33160         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33161         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33162         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33164         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33165         ceil, ceilf, floor, floorf.
33167         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33168         Perform IRELATIVE relocations last.
33170         * elf/do-rel.h: Add another parameter nrelative, replacing the
33171         local variable with the same name.  Change name of the function
33172         to end in Rel or Rela (uppercase).
33173         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33174         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33175         elf_dynamic_do_##reloc function.
33177 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33179         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33180         is sufficient, at least on modern CPUs.
33182         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33184         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33185         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33187         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33188         __expl_finite.
33189         * math/bits/math-finite.h: Add entries for exp.
33190         * math/e_expl.c: Add __*_finite alias.
33191         * sysdeps/i386/fpu/e_exp.S: Likewise.
33192         * sysdeps/i386/fpu/e_expf.S: Likewise.
33193         * sysdeps/i386/fpu/e_expl.c: Likewise.
33194         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33195         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33196         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33197         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33198         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33199         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33200         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33202         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33203         is sufficient, at least on modern CPUs.
33205         * ctype/ctype-info.c (__ctype_init): Define.
33206         * include/ctype.h (__ctype_init): Declare.
33207         (__ctype_b_loc): The variable is always initialized.
33208         (__ctype_toupper_loc): Likewise.
33209         (__ctype_tolower_loc): Likewise.
33210         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33211         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33213 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33215         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33217         * configure.in: Also look in $cxxmachine/include for C++ system
33218         headers.
33220 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33222         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33223         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33224         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33225         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33226         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33227         (USE_AS_WMEMCMP): New macro.
33228         Fixing indents.
33229         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33230         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33231         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33232         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33233         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33234         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33235         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33236         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33237         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33238         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33239         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33240         (USE_AS_WMEMCMP): New macro.
33241         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33242         * sysdeps/string/test-memcmp.c: Update.
33243         Fix simple_wmemcmp.
33244         Add new tests.
33245         * wcsmbs/wmemcmp.c: Update.
33246         (WMEMCMP): New macro.
33247         Fix overflow bug.
33249 2011-10-12  Andreas Jaeger  <aj@suse.de>
33251         [BZ #13268]
33252         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33254 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33256         * libio/iofwide.c (do_length): Avoid warning.
33258         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33260 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33262         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33264         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33265         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33266         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33267         * sysdeps/i386/i686/fpu/e_log.S: New file.
33268         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33269         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33271         * ctype/ctype.h: Add support for inlined isXXX functions when
33272         compiling C++ code.
33274 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33276         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33278         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33280 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33282         [BZ #13291]
33283         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33285 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33287         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33288         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33289         feraiseexcept.
33291         * sysdeps/x86_64/memrchr.S: Check for zero size.
33293         * string/stratcliff.c: Add memrchr tests.
33295 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33297         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33298         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33299         rawmemchr-sse2 rawmemchr-sse2-bsf.
33300         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33301         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33302         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33303         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33304         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33305         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33306         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33307         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33308         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33309         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33310         * string/memrchr.c (MEMRCHR): New macro.
33312 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33314         Add integration with gcc's -ffinite-math-only and optimize wrapper
33315         functions in libm.
33316         * Versions.def: Define GLIBC_2.15 version for libm.
33317         * math/Makefile (headers): Add bits/math-finite.h.
33318         * math/bits/math-finite.h: New file.
33319         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33320         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33321         * math/e_acoshl.c: Add __*_finite alias.
33322         * math/e_acosl.c: Likewise.
33323         * math/e_asinl.c: Likewise.
33324         * math/e_atan2l.c: Likewise.
33325         * math/e_atanhl.c: Likewise.
33326         * math/e_coshl.c: Likewise.
33327         * math/e_exp10.c: Likewise.
33328         * math/e_exp10f.c: Likewise.
33329         * math/e_exp10l.c: Likewise.
33330         * math/e_exp2l.c: Likewise.
33331         * math/e_fmodl.c: Likewise.
33332         * math/e_gammal_r.c: Likewise.
33333         * math/e_hypotl.c: Likewise.
33334         * math/e_j0l.c: Likewise.
33335         * math/e_j1l.c: Likewise.
33336         * math/e_jnl.c: Likewise.
33337         * math/e_lgammal_r.c: Likewise.
33338         * math/e_log10l.c: Likewise.
33339         * math/e_log2l.c: Likewise.
33340         * math/e_logl.c: Likewise.
33341         * math/e_powl.c: Likewise.
33342         * math/e_sinhl.c: Likewise.
33343         * math/e_sqrtl.c: Likewise.
33344         * math/e_scalb.c: Completely rewritten and optimized.
33345         * math/e_scalbf.c: Likewise.
33346         * math/e_scalbl.c: Likewise.
33347         * math/w_acos.c: Likewise.
33348         * math/w_acosf.c: Likewise.
33349         * math/w_acosl.c: Likewise.
33350         * math/w_acosh.c: Likewise.
33351         * math/w_acoshf.c: Likewise.
33352         * math/w_acoshl.c: Likewise.
33353         * math/w_asin.c: Likewise.
33354         * math/w_asinf.c: Likewise.
33355         * math/w_asinl.c: Likewise.
33356         * math/w_atan2.c: Likewise.
33357         * math/w_atan2f.c: Likewise.
33358         * math/w_atan2l.c: Likewise.
33359         * math/w_atanh.c: Likewise.
33360         * math/w_atanhf.c: Likewise.
33361         * math/w_atanhl.c: Likewise.
33362         * math/w_exp10.c: Likewise.
33363         * math/w_exp10f.c: Likewise.
33364         * math/w_exp10l.c: Likewise.
33365         * math/w_fmod.c: Likewise.
33366         * math/w_fmodf.c: Likewise.
33367         * math/w_fmodl.c: Likewise.
33368         * math/w_j0.c: Likewise.
33369         * math/w_j0f.c: Likewise.
33370         * math/w_j0l.c: Likewise.
33371         * math/w_j1.c: Likewise.
33372         * math/w_j1f.c: Likewise.
33373         * math/w_j1l.c: Likewise.
33374         * math/w_jn.c: Likewise.
33375         * math/w_jnf.c: Likewise.
33376         * math/w_log.c: Likewise.
33377         * math/w_logf.c: Likewise.
33378         * math/w_logl.c: Likewise.
33379         * math/w_log10.c: Likewise.
33380         * math/w_log10f.c: Likewise.
33381         * math/w_log10l.c: Likewise.
33382         * math/w_log2.c: Likewise.
33383         * math/w_log2f.c: Likewise.
33384         * math/w_log2l.c: Likewise.
33385         * math/w_pow.c: Likewise.
33386         * math/w_powf.c: Likewise.
33387         * math/w_powl.c: Likewise.
33388         * math/w_remainder.c: Likewise.
33389         * math/w_remainderf.c: Likewise.
33390         * math/w_remainderl.c: Likewise.
33391         * math/w_scalb.c: Likewise.
33392         * math/w_scalbf.c: Likewise.
33393         * math/w_scalbl.c: Likewise.
33394         * math/w_sqrt.c: Likewise.
33395         * math/w_sqrtf.c: Likewise.
33396         * math/w_sqrtl.c: Likewise.
33397         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33398         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33399         used.
33400         * math/math_private.h: Declare __kernel_standard_f.
33401         * math/w_cosh.c: Remove cruft and optimize a bit.
33402         * math/w_coshf.c: Likewise.
33403         * math/w_coshl.c: Likewise.
33404         * math/w_exp2.c: Likewise.
33405         * math/w_exp2f.c: Likewise.
33406         * math/w_exp2l.c: Likewise.
33407         * math/w_hypot.c: Likewise.
33408         * math/w_hypotf.c: Likewise.
33409         * math/w_hypotl.c: Likewise.
33410         * math/w_lgamma.c: Likewise.
33411         * math/w_lgamma_r.c: Likewise.
33412         * math/w_lgammaf.c: Likewise.
33413         * math/w_lgammaf_r.c: Likewise.
33414         * math/w_lgammal.c: Likewise.
33415         * math/w_lgammal_r.c: Likewise.
33416         * math/w_sinh.c: Likewise.
33417         * math/w_sinhf.c: Likewise.
33418         * math/w_sinhl.c: Likewise.
33419         * math/w_tgamma.c: Likewise.
33420         * math/w_tgammaf.c: Likewise.
33421         * math/w_tgammal.c: Likewise.
33422         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33423         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33424         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33425         Minor optimizations.  Pretty printing.  Remove cruft.
33426         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33427         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33428         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33429         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33430         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33431         * sysdeps/i386/fpu/e_asin.S: Likewise.
33432         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33433         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33434         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33435         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33436         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33437         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33438         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33439         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33440         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33441         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33442         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33443         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33444         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33445         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33446         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33447         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33448         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33449         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33450         * sysdeps/i386/fpu/e_log.S: Likewise.
33451         * sysdeps/i386/fpu/e_log10.S: Likewise.
33452         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33453         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33454         * sysdeps/i386/fpu/e_log2.S: Likewise.
33455         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33456         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33457         * sysdeps/i386/fpu/e_logf.S: Likewise.
33458         * sysdeps/i386/fpu/e_logl.S: Likewise.
33459         * sysdeps/i386/fpu/e_pow.S: Likewise.
33460         * sysdeps/i386/fpu/e_powf.S: Likewise.
33461         * sysdeps/i386/fpu/e_powl.S: Likewise.
33462         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33463         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33464         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33465         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33466         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33467         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33468         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33469         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33470         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33471         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33472         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33473         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33474         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33475         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33476         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33477         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33478         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33479         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33480         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33481         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33482         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33483         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33484         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33485         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33486         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33487         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33488         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33489         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33490         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33491         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33492         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33493         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33494         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33495         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33496         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33497         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33498         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33499         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33500         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33501         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33502         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33503         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33504         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33505         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33506         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33507         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33508         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33509         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33510         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33511         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33512         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33513         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33514         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33515         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33516         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33517         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33518         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33519         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33520         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33521         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33522         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33523         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33524         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33525         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33526         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33527         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33528         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33529         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33530         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33531         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33532         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33533         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33534         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33535         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33536         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33537         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33538         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33539         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33540         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33541         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33542         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33543         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33544         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33545         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33546         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33547         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33548         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33549         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33550         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33551         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33552         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33553         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33554         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33555         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33556         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33557         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33558         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33559         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33560         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33561         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33562         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33563         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33564         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33565         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33566         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33567         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33568         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33569         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33570         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33571         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33572         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33573         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33574         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33575         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33576         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33577         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33578         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33579         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33580         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33581         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33582         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33583         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33584         (__isnanf): Likewise.
33585         (__isinf_ns): Likewise.
33586         (__isinf_nsf): Likewise.
33587         (__finite): Likewise.
33588         (__finitef): Likewise.
33589         (__ieee754_sqrt): Define as macro.
33590         (__ieee754_sqrtf): Define as macro.
33591         (__ieee754_sqrtl): Define as macro.
33592         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33593         inlined copy.
33594         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33595         __FINITE_MATH_ONLY__ consistent.
33596         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33598 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33600         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33601         of rawmemchr.
33603         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33605 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33607         * po/ja.po: Update from translation team.
33609 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33611         * locale/programs/locarchive.c (prepare_address_space): New function.
33612         (create_archive, enlarge_archive, open_archive): Use it.
33614         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33615         inside [SHARED], where it is used.
33617         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33619         * nss/getent.c (netgroup_keys): Remove unused variable.
33620         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33622 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33624         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33625         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33626         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33627         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33628         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33629         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33630         * math/Makefile (libm-calls): Add s_isinf_ns.
33631         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33632         * math/multc3.c: Likewise.
33633         * math/s_casin.c: Likewise.
33634         * math/s_casinf.c: Likewise.
33635         * math/s_casinl.c: Likewise.
33636         * math/s_ccos.c: Likewise.
33637         * math/s_ccosf.c: Likewise.
33638         * math/s_ccosl.c: Likewise.
33639         * math/s_ctan.c: Likewise.
33640         * math/s_ctanf.c: Likewise.
33641         * math/s_ctanh.c: Likewise.
33642         * math/s_ctanhf.c: Likewise.
33643         * math/s_ctanhl.c: Likewise.
33644         * math/s_ctanl.c: Likewise.
33645         * math/w_fmod.c: Likewise.
33646         * math/w_fmodf.c: Likewise.
33647         * math/w_fmodl.c: Likewise.
33648         * math/w_remainder.c: Likewise.
33649         * math/w_remainderf.c: Likewise.
33650         * math/w_remainderl.c: Likewise.
33651         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33652         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33653         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33654         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33655         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33656         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33657         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33658         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33660         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33661         of the number.
33662         * stdio-common/printf_fphex.c: Likewise.
33663         * stdio-common/printf_size.c: Likewise.
33665         * math/e_exp10.c: Include math_private.h using <...> not "...".
33666         * math/e_exp10f.c: Likewise.
33667         * math/e_exp10l.c: Likewise.
33668         * math/e_exp2l.c: Likewise.
33669         * math/e_j0l.c: Likewise.
33670         * math/e_j1l.c: Likewise.
33671         * math/e_jnl.c: Likewise.
33672         * math/e_lgammal_r.c: Likewise.
33673         * math/e_rem_pio2l.c: Likewise.
33674         * math/e_scalb.c: Likewise.
33675         * math/e_scalbf.c: Likewise.
33676         * math/e_scalbl.c: Likewise.
33677         * math/k_cosl.c: Likewise.
33678         * math/k_sinl.c: Likewise.
33679         * math/k_tanl.c: Likewise.
33680         * math/s_cacoshf.c: Likewise.
33681         * math/s_catan.c: Likewise.
33682         * math/s_catanf.c: Likewise.
33683         * math/s_catanh.c: Likewise.
33684         * math/s_catanhf.c: Likewise.
33685         * math/s_catanhl.c: Likewise.
33686         * math/s_catanl.c: Likewise.
33687         * math/s_ccosh.c: Likewise.
33688         * math/s_ccoshf.c: Likewise.
33689         * math/s_ccoshl.c: Likewise.
33690         * math/s_cexp.c: Likewise.
33691         * math/s_cexpf.c: Likewise.
33692         * math/s_cexpl.c: Likewise.
33693         * math/s_clog.c: Likewise.
33694         * math/s_clog10.c: Likewise.
33695         * math/s_clog10f.c: Likewise.
33696         * math/s_clog10l.c: Likewise.
33697         * math/s_clogf.c: Likewise.
33698         * math/s_clogl.c: Likewise.
33699         * math/s_csin.c: Likewise.
33700         * math/s_csinf.c: Likewise.
33701         * math/s_csinh.c: Likewise.
33702         * math/s_csinhf.c: Likewise.
33703         * math/s_csinhl.c: Likewise.
33704         * math/s_csinl.c: Likewise.
33705         * math/s_csqrt.c: Likewise.
33706         * math/s_csqrtf.c: Likewise.
33707         * math/s_csqrtl.c: Likewise.
33708         * math/s_ctan.c: Likewise.
33709         * math/s_ctanf.c: Likewise.
33710         * math/s_ctanh.c: Likewise.
33711         * math/s_ctanhf.c: Likewise.
33712         * math/s_ctanhl.c: Likewise.
33713         * math/s_ctanl.c: Likewise.
33714         * math/s_ldexp.c: Likewise.
33715         * math/s_ldexpf.c: Likewise.
33716         * math/s_ldexpl.c: Likewise.
33717         * math/s_significand.c: Likewise.
33718         * math/s_significandf.c: Likewise.
33719         * math/s_significandl.c: Likewise.
33720         * math/w_acos.c: Likewise.
33721         * math/w_acosf.c: Likewise.
33722         * math/w_acosh.c: Likewise.
33723         * math/w_acoshf.c: Likewise.
33724         * math/w_acoshl.c: Likewise.
33725         * math/w_acosl.c: Likewise.
33726         * math/w_asin.c: Likewise.
33727         * math/w_asinf.c: Likewise.
33728         * math/w_asinl.c: Likewise.
33729         * math/w_atan2.c: Likewise.
33730         * math/w_atan2f.c: Likewise.
33731         * math/w_atan2l.c: Likewise.
33732         * math/w_atanh.c: Likewise.
33733         * math/w_atanhf.c: Likewise.
33734         * math/w_atanhl.c: Likewise.
33735         * math/w_cosh.c: Likewise.
33736         * math/w_coshf.c: Likewise.
33737         * math/w_coshl.c: Likewise.
33738         * math/w_dremf.c: Likewise.
33739         * math/w_exp10.c: Likewise.
33740         * math/w_exp10f.c: Likewise.
33741         * math/w_exp10l.c: Likewise.
33742         * math/w_exp2.c: Likewise.
33743         * math/w_exp2f.c: Likewise.
33744         * math/w_fmod.c: Likewise.
33745         * math/w_fmodf.c: Likewise.
33746         * math/w_fmodl.c: Likewise.
33747         * math/w_hypot.c: Likewise.
33748         * math/w_hypotf.c: Likewise.
33749         * math/w_hypotl.c: Likewise.
33750         * math/w_j0.c: Likewise.
33751         * math/w_j0f.c: Likewise.
33752         * math/w_j0l.c: Likewise.
33753         * math/w_j1.c: Likewise.
33754         * math/w_j1f.c: Likewise.
33755         * math/w_j1l.c: Likewise.
33756         * math/w_jn.c: Likewise.
33757         * math/w_jnf.c: Likewise.
33758         * math/w_jnl.c: Likewise.
33759         * math/w_lgamma.c: Likewise.
33760         * math/w_lgamma_r.c: Likewise.
33761         * math/w_lgammaf.c: Likewise.
33762         * math/w_lgammaf_r.c: Likewise.
33763         * math/w_lgammal.c: Likewise.
33764         * math/w_lgammal_r.c: Likewise.
33765         * math/w_log.c: Likewise.
33766         * math/w_log10.c: Likewise.
33767         * math/w_log10f.c: Likewise.
33768         * math/w_log10l.c: Likewise.
33769         * math/w_log2.c: Likewise.
33770         * math/w_log2f.c: Likewise.
33771         * math/w_log2l.c: Likewise.
33772         * math/w_logf.c: Likewise.
33773         * math/w_logl.c: Likewise.
33774         * math/w_pow.c: Likewise.
33775         * math/w_powf.c: Likewise.
33776         * math/w_powl.c: Likewise.
33777         * math/w_remainder.c: Likewise.
33778         * math/w_remainderf.c: Likewise.
33779         * math/w_remainderl.c: Likewise.
33780         * math/w_scalb.c: Likewise.
33781         * math/w_scalbf.c: Likewise.
33782         * math/w_scalbl.c: Likewise.
33783         * math/w_sinh.c: Likewise.
33784         * math/w_sinhf.c: Likewise.
33785         * math/w_sinhl.c: Likewise.
33786         * math/w_sqrt.c: Likewise.
33787         * math/w_sqrtf.c: Likewise.
33788         * math/w_sqrtl.c: Likewise.
33789         * math/w_tgamma.c: Likewise.
33790         * math/w_tgammaf.c: Likewise.
33791         * math/w_tgammal.c: Likewise.
33793         * po/ja.po: Update from translation team.
33795 2011-09-29  Andreas Jaeger  <aj@suse.de>
33797         [BZ #13179]
33798         * sunrpc/netname.c (netname2host): Fix logic.
33800         [BZ #6779]
33801         [BZ #6783]
33802         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33803         correctly.
33804         * math/w_remainder.c (__remainder): Likewise.
33805         * math/w_remainderf.c (__remainderf): Likewise.
33806         * math/libm-test.inc (remainder_test): Add test cases.
33808 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33810         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33811         sdiv_qrnnd.
33813 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33815         * string/test-memcmp.c: Avoid unncessary #defines.
33816         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33818 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33820         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33821         Use new sse2 version for core i3 - i7 as it's faster
33822         than sse42 version.
33823         (bit_Prefer_PMINUB_for_stringop): New.
33824         * sysdeps/x86_64/rawmemchr.S: Update.
33825         Replace with faster SSE2 version.
33826         * sysdeps/x86_64/memrchr.S: New file.
33827         * sysdeps/x86_64/memchr.S: Update.
33828         Replace with faster SSE2 version.
33830 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33832         * elf/dl-load.c (lose): Add cast to avoid warning.
33834 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33836         * po/ca.po: Update from translation team.
33838         * inet/getnetgrent_r.c: Hook up nscd.
33839         * nscd/Makefile (routines): Add nscd_netgroup.
33840         (nscd-modules): Add netgroupcache.
33841         (CFLAGS-netgroupcache.c): Define.
33842         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33843         (cache_search): Add const to second parameter.
33844         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33845         INNETGR.
33846         (dbs): Add netgrdb entry.
33847         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33848         (verify_persistent_db): Handle netgrdb.
33849         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33850         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33851         GETFDNETGR.
33852         (netgroup_response_header): Define.
33853         (innetgroup_response_header): Define.
33854         (datahead): Add netgroup_response_header and innetgroup_response_header
33855         elements.
33856         * nscd/nscd.conf: Add entries for netgroup cache.
33857         * nscd/nscd.h (dbtype): Add netgrdb.
33858         (_PATH_NSCD_NETGROUP_DB): Define.
33859         (netgroup_iov_disabled): Declare.
33860         (xmalloc, xcalloc, xrealloc): Move declarations here.
33861         (cache_search): Adjust prototype.
33862         Add netgroup-related prototypes.
33863         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33864         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33865         (__nscd_innetgr): Declare.
33866         * nscd/selinux.c (perms): Use access_vector_t as element type and
33867         add netgroup-related initializers.
33868         * nscd/netgroupcache.c: New file.
33869         * nscd/nscd_netgroup.c: New file.
33870         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33871         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33872         For four parameters use innetgr.
33873         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33874         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33875         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33876         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33878         * nscd/connections.c (register_traced_file): Don't register file
33879         for disabled databases.
33881 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33883         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33885         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33886         from tree and freeing node.
33888 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33890         * nss/nsswitch.c (__nss_database_lookup): Handle
33891         nss_parse_service_list out of memory case.
33893 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33895         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33896         out of memory case.
33898 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33900         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33901         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33902         pass it down.
33903         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33904         elf_machine_rela, elf_machine_lazy_rel.
33905         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33906         (ELF_DYNAMIC_DO_REL): Likewise.
33907         (ELF_DYNAMIC_DO_RELA): Likewise.
33908         (ELF_DYNAMIC_RELOCATE): Likewise.
33909         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33910         to ELF_DYNAMIC_DO_REL.
33911         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33912         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33913         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33914         elf_machine_rela.
33915         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33916         skip_ifunc, don't call ifunc function if non-zero.
33917         (elf_machine_rela): Likewise.
33918         (elf_machine_lazy_rel): Likewise.
33919         (elf_machine_lazy_rela): Likewise.
33920         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33921         (elf_machine_lazy_rel): Likewise.
33922         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33923         Likewise.
33924         (elf_machine_lazy_rel): Likewise.
33925         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33926         Likewise.
33927         (elf_machine_lazy_rel): Likewise.
33928         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33929         (elf_machine_lazy_rel): Likewise.
33930         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33931         (elf_machine_lazy_rel): Likewise.
33932         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33933         (elf_machine_lazy_rel): Likewise.
33934         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33935         (elf_machine_lazy_rel): Likewise.
33936         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33937         (elf_machine_lazy_rel): Likewise.
33938         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33939         (elf_machine_lazy_rel): Likewise.
33941 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33943         * nss/nss_files/files-init.c (_nss_files_init): Use static
33944         initialization for all the *_traced_file variables.
33946 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33948         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33950 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33952         [BZ #13226]
33953         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33955 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33957         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33958         Reread the line before reparsing it.
33960 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33962         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33964 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33965             Maxim Kuvyrkov  <maxim@codesourcery.com>
33966             Joseph Myers  <joseph@codesourcery.com>
33968         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33969         if needed for __stack_chk_guard.
33971 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33973         * sysdeps/posix/spawni.c (script_execute): Always define it.
33974         It will be optimized away if unused.
33975         (maybe_script_execute): New function.
33976         (__spawni): Call it.
33978         * Makerules: Don't include tls.make.
33979         (config-tls): Always set to thread.
33980         * tls.make.c: File removed.
33982 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33984         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33985         * config.make.in (CPPFLAGS-config): New substituted variable.
33987 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33989         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33991         [BZ #13192]
33992         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33993         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33995 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33997         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33998         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33999         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34000         (CALL_FAIL): Likewise.
34001         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34002         (CALL_FAIL): Macro removed.
34003         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34005 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34007         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34008         for __FINITE_MATH_ONLY__ == 1.
34010 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34012         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34013         __ieee754_sqrt instead of sqrt.
34014         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34015         __ieee754_sqrtf instead of sqrtf.
34016         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34017         __floorf instead of floorf.
34018         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34019         __floorf, __truncf instead of floorf, truncf.
34021 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34023         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34025         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34026         __extern_always_inline.
34027         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34028         32-bit.
34030 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34032         * elf/rtld.c (dl_main): Also relocate in dependency order when
34033         doing symbol dependency testing.
34035 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34037         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34038         Always define `refsym'.
34040 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34042         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34043         (__FD_ELT): Renamed from __FDELT.
34044         * misc/bits/select2.h (__FD_ELT): Likewise.
34045         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34046         __FD_MASK instead of __FDELT, __FDMASK.
34047         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34048         Likewise.
34049         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34050         Likewise.
34052         * elf/Makefile (gen-ldd): Fix pattern.
34054         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34055         (init_tls): Likewise.
34057 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34059         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34061 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34063         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34064         `struct cmsghdr *' instead of `void *'.
34065         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34066         Likewise.
34068 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34070         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34071         if non-absolute.
34072         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34073         ldd_rewrite_script.
34075 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34077         * configure.in: Remove --with-tls option.
34078         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34079         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34080         out in case it is missing.
34081         * sysdeps/ia64/elf/configure.in: Likewise.
34082         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34083         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34084         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34085         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34086         * sysdeps/sh/elf/configure.in: Likewise.
34087         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34088         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34089         * sysdeps/x86_64/elf/configure.in: Likewise.
34090         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34091         * sysdeps/mach/hurd/tls.h: Likewise.
34093         [BZ #13067]
34094         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34096         [BZ #13090]
34097         * configure.in: Fix use of AC_INIT.
34099         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34101 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34103         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34104         __set_errno.
34105         * malloc/hooks.c: Likewise.
34107         [BZ #11929]
34108         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34109         variables statically.
34110         (narenas): Initialize.
34111         (list_lock): Initialize.
34112         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34113         initializtion of main_arena and list_lock.  Small cleanups.
34114         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34115         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34116         Add initializers to main_arena and mp_.
34117         (malloc_state): Remove pagesize member.  Change all users to use
34118         GLRO(dl_pagesize).
34120         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34121         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34122         is always initialized.
34124         * malloc/malloc.c: Removed unused configurations and dead code.
34125         * malloc/arena.c: Likewise.
34126         * malloc/hooks.c: Likewise.
34127         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34129         * include/tls.h: Removed.  USE___THREAD must always be defined.
34130         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34131         * elf/dl-libc.c: Likewise.
34132         * elf/dl-tsd.c: Likewise.
34133         * include/errno.h: Likewise.
34134         * include/netdb.h: Likewise.
34135         * include/resolv.h: Likewise.
34136         * inet/herrno-loc.c: Likewise.
34137         * inet/herrno.c: Likewise.
34138         * malloc/arena.c: Likewise.
34139         * malloc/hooks.c: Likewise.
34140         * malloc/malloc.c: Likewise.
34141         * resolv/res-state.c: Likewise.
34142         * resolv/res_libc.c: Likewise.
34143         * sysdeps/i386/dl-machine.h: Likewise.
34144         * sysdeps/ia64/dl-machine.h: Likewise.
34145         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34146         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34147         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34148         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34149         * sysdeps/sh/dl-machine.h: Likewise.
34150         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34151         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34152         * sysdeps/unix/i386/sysdep.S: Likewise.
34153         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34154         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34155         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34157         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34159         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34160         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34161         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34163         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34164         * sysdeps/x86_64/dl-machine.h: Likewise.
34165         * tls.make.c: Likewise.
34167         * configure.in: Remove --with-__thread option.  Make tests for
34168         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34169         tls_model attribute fail if no support is available.  Remove
34170         USE_IN_LIBIO.
34171         * Makeconfig: Adjust for dropped configure option.  All features are
34172         now mandatory.
34173         * Makerules: Likewise.
34174         * Versions.def: Likewise.
34175         * argp/argp-fmtstream.c: Likewise.
34176         * argp/argp-fmtstream.h: Likewise.
34177         * argp/argp-help.c: Likewise.
34178         * assert/assert.c: Likewise.
34179         * config.h.in: Likewise.
34180         * config.make.in: Likewise.
34181         * configure: Likewise.
34182         * configure.in: Likewise.
34183         * csu/Versions: Likewise.
34184         * csu/init.c: Likewise.
34185         * elf/tst-audit2.c: Likewise.
34186         * elf/tst-tls10.c: Likewise.
34187         * elf/tst-tls10.h: Likewise.
34188         * elf/tst-tls11.c: Likewise.
34189         * elf/tst-tls12.c: Likewise.
34190         * elf/tst-tls14.c: Likewise.
34191         * elf/tst-tlsmod11.c: Likewise.
34192         * elf/tst-tlsmod12.c: Likewise.
34193         * elf/tst-tlsmod13.c: Likewise.
34194         * elf/tst-tlsmod13a.c: Likewise.
34195         * elf/tst-tlsmod14a.c: Likewise.
34196         * elf/tst-tlsmod15b.c: Likewise.
34197         * elf/tst-tlsmod16a.c: Likewise.
34198         * elf/tst-tlsmod16b.c: Likewise.
34199         * elf/tst-tlsmod7.c: Likewise.
34200         * elf/tst-tlsmod8.c: Likewise.
34201         * elf/tst-tlsmod9.c: Likewise.
34202         * gmon/gmon.c: Likewise.
34203         * grp/fgetgrent_r.c: Likewise.
34204         * grp/putgrent.c: Likewise.
34205         * hurd/fopenport.c: Likewise.
34206         * include/libc-symbols.h: Likewise.
34207         * include/tls.h: Likewise.
34208         * intl/gettextP.h: Likewise.
34209         * intl/loadinfo.h: Likewise.
34210         * locale/global-locale.c: Likewise.
34211         * locale/localeinfo.h: Likewise.
34212         * mach/devstream.c: Likewise.
34213         * malloc/arena.c: Likewise.
34214         * malloc/set-freeres.c: Likewise.
34215         * misc/err.c: Likewise.
34216         * misc/getttyent.c: Likewise.
34217         * misc/mntent_r.c: Likewise.
34218         * posix/getopt.c: Likewise.
34219         * posix/wordexp.c: Likewise.
34220         * pwd/fgetpwent_r.c: Likewise.
34221         * resolv/Versions: Likewise.
34222         * resolv/res_hconf.c: Likewise.
34223         * shadow/fgetspent_r.c: Likewise.
34224         * shadow/putspent.c: Likewise.
34225         * stdio-common/printf_fphex.c: Likewise.
34226         * stdio-common/tmpfile.c: Likewise.
34227         * stdlib/abort.c: Likewise.
34228         * stdlib/fmtmsg.c: Likewise.
34229         * sunrpc/auth_unix.c: Likewise.
34230         * sunrpc/clnt_perr.c: Likewise.
34231         * sunrpc/clnt_tcp.c: Likewise.
34232         * sunrpc/clnt_udp.c: Likewise.
34233         * sunrpc/clnt_unix.c: Likewise.
34234         * sunrpc/openchild.c: Likewise.
34235         * sunrpc/svc_simple.c: Likewise.
34236         * sunrpc/svc_tcp.c: Likewise.
34237         * sunrpc/svc_udp.c: Likewise.
34238         * sunrpc/svc_unix.c: Likewise.
34239         * sunrpc/xdr.c: Likewise.
34240         * sunrpc/xdr_array.c: Likewise.
34241         * sunrpc/xdr_rec.c: Likewise.
34242         * sunrpc/xdr_ref.c: Likewise.
34243         * sunrpc/xdr_stdio.c: Likewise.
34245 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34247         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34249 2011-07-03  Andreas Jaeger  <aj@suse.de>
34251         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34252         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34253         regenerate with gen-libm-tests.pl.
34255 2010-05-12  Petr Baudis  <pasky@suse.cz>
34257         [BZ #11589]
34258         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34259         around j0() zero points by switching to j1().
34260         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34261         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34263         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34265 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34267         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34268         instead of 0.
34269         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34270         instead of 0.
34271         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34272         Patch in part by Pavel Roskin <proski@gnu.org>.
34274         [BZ #13138]
34275         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34276         realloc.
34277         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34278         Free memory block if necessary.
34280         [BZ #12847]
34281         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34282         be NULL.  Don't lock in this case.
34284 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34286         * elf/elf.h (ELFOSABI_GNU): New macro.
34287         (ELFOSABI_LINUX): Define to that.
34289 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34291         * string/strncat.c (strncat): Undef the symbol in case it has been
34292         defined in bits/string.h.
34294 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34296         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34298         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34299         link map.
34301 2011-08-17  Andreas Jaeger  <aj@suse.de>
34303         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34305 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34306             Ian Lance Taylor  <iant@google.com>
34308         * math/libm-test.inc (lround_test): New testcase.
34309         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34311 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34313         * Makefile: Remove support for automatic cvs check-ins.
34314         * Makerules: Likewise.
34315         * config.make.in: Likewise.
34316         * configure.in: Likewise.
34317         * intl/Makefile: Likewise.
34318         * locale/Makefile: Likewise.
34319         * po/Makefile: Likewise.
34320         * posix/Makefile: Likewise.
34321         * sysdeps/gnu/Makefile: Likewise.
34322         * sysdeps/mach/hurd/Makefile: Likewise.
34323         * sysdeps/sparc/sparc32/Makefile: Likewise.
34325         [BZ #13118]
34326         * posix/Makefile (bug-regex32-ENV): Define.
34327         Patch by John Stanley <jpsinthemix@verizon.net>.
34329         * misc/Makefile (headers): Add bits/select2.h.
34330         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34331         * misc/bits/select2.h: New file.
34332         * include/bits/select2.h: New file.
34333         * debug/Makefile (routines): Add fdelt_chk.
34334         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34335         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34336         FD_ISSET.
34337         * debug/fdelt_chk.c: New file.
34339         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34340         * wcsmbs/test-wmemcmp.c: Likewise.
34341         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34342         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34344 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34346         * string/Makefile (strop-tests): Add memcmp.
34347         * string/test-wmemcmp.c: New file.
34348         * string/test-memcmp.c: Add wmemcmp support.
34350 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34352         [BZ #13153]
34353         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34354         2011-07-19 change.
34356         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34357         garbage value in a __mach_port_mod_refs call in the cases of the
34358         task-self and thread-self ports.
34360 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34362         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34364 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34366         * elf/dl-load.c (lose): Check for non-null L.
34368 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34370         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34372         * elf/dl-libc.c (dlerror_run): Pass back error code from
34373         dl_catch_error.
34375         [BZ #13123]
34376         * elf/dl-load.c (lose): Free l_origin if it is valid.
34378         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34379         names.
34380         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34381         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34382         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34383         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34384         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34385         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34387 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34389         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34390         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34391         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34392         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34393         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34394         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34395         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34396         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34397         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34398         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34400 2011-08-15  Alan Modra  <amodra@gmail.com>
34402         [BZ #13092]
34403         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34404         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34405         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34406         ppc_mcount to static-only-routines.
34407         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34408         __mcount_internal.
34409         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34410         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34412 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34414         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34415         for finite and infinity parameters.
34417 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34419         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34420         and add nop instructions for throughput optimization.
34421         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34423 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34425         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34426         aligned copy for power7 with vector-scalar instructions.
34427         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34429 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34432         AVX check.
34434 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34436         [BZ #13144]
34437         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34438         last change.
34440 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34442         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34443         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34444         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34445         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34446         clock_gettime.
34448 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34450         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34451         Forgot to demangle the pointer.
34453         * sysdeps/i386/sysdep.h: Define atom_text_section.
34454         * sysdeps/x86_64/sysdep.h: Likewise.
34455         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34456         section with atom_text_section.
34457         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34458         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34459         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34460         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34461         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34463         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34464         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34465         already be defined.  Change to take two parameters and don't assign
34466         result to variable.  Adjust all users.
34467         Define INTERNAL_GETTIME if not already defined.
34468         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34469         call.
34470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34471         HAVE_CLOCK_GETTIME_VSYSCALL.
34472         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34474         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34475         gettimeofday vsyscall, just use time.
34477 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34479         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34480         <errno.h>.
34482 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34484         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34485         syscall on x86-64.
34486         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34487         syscall.
34488         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34489         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34490         syscall if possible.
34492 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34494         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34495         e_ident.  Don't pass to find_mapsXX.
34496         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34498 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34501         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34502         * sysdeps/x86_64/multiarch/strchr.S: Update.
34503         Check bit_slow_BSF bit.
34504         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34505         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34506         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34508 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34510         [BZ #13134]
34511         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34512         before glibc 2.15.
34513         (tryshell): Define.
34514         (__spawni): Change last parameter to be flag.  Test
34515         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34516         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34517         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34518         * posix/spawni.c: Likewise.
34519         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34520         * posix/spawnp.c: Likewise.  Change normal version to use
34521         SPAWN_XFLAGS_USE_PATH.
34522         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34523         SPAWN_XFLAGS_TRY_SHELL.
34525         [BZ #13150]
34526         * posix/glob.h: Remove gcc 1.x support.
34528         [BZ #13068]
34529         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34531 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34533         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34534         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34535         strrchr-sse2-bsf
34536         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34537         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34538         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34539         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34540         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34541         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34543 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34545         * sysdeps/x86_64/wcscmp.S: New file.
34547         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34548         wcscmp-c wcscmp-sse2
34549         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34550         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34551         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34552         * wcsmbs/wcscmp.c: Allow renaming.
34554 2011-09-05  David S. Miller  <davem@davemloft.net>
34556         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34557         stack slot, rather than the struct return pointer slot.
34558         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34559         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34561         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34563 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34565         * po/ja.po: Update from translation team.
34567         [BZ #13144]
34568         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34569         kernel in 64-bit binaries.
34571 2011-09-01  David S. Miller  <davem@davemloft.net>
34573         * elf/elf.h (HWCAP_SPARC_*): Move to..
34574         * sysdeps/sparc/sysdep.h: this new file and add new values.
34575         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34576         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34577         _DL_HWCAP_COUNT to 24.
34578         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34579         entries.
34580         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34581         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34582         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34583         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34584         instead of magic constants.
34585         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34587 2011-08-31  David S. Miller  <davem@davemloft.net>
34589         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34591         Reimplement to do errno handling inline.
34592         (SYSCALL_ERROR_HANDLER): New macro.
34593         (__SYSCALL_STRING): Do not do errno handling in asm.
34594         (__CLONE_SYSCALL_STRING): Delete.
34595         (__INTERNAL_SYSCALL_STRING): Delete.
34596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34597         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34598         (PSEUDO): Reimplement to do errno handling inline.
34599         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34600         (SYSCALL_ERROR_HANDLER): New macro.
34601         (__SYSCALL_STRING): Do not do errno handling in asm.
34602         (__CLONE_SYSCALL_STRING): Delete.
34603         (__INTERNAL_SYSCALL_STRING): Delete.
34604         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34605         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34606         i386.
34607         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34608         (inline_syscall*): Add 'err' argument.
34609         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34610         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34611         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34612         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34614         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34615         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34617 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34619         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34621 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34623         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34624         directive.
34626 2011-08-24  David S. Miller  <davem@davemloft.net>
34628         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34630 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34632         * elf/Makefile: Add rules to build and run unload8 test.
34633         * elf/unload8.c: New file.
34634         * elf/unload8mod1.c: New file.
34635         * elf/unload8mod1x.c: New file.
34636         * elf/unload8mod2.c: New file.
34637         * elf/unload8mod3.c: New file.
34639         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34640         it wasn't used.
34642 2011-08-23  David S. Miller  <davem@davemloft.net>
34644         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34645         subtract stack bias.
34646         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34647         %sp not %fp in calculations.
34648         (_JMPBUF_UNWINDS_ADJ): Likewise.
34650         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34651         (aio_suspend): Call it to force an exception region around the
34652         AIO_MISC_WAIT() invocation.
34654 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34656         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34657         backslash.
34659 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34661         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34662         protection macro.
34663         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34664         and <dl-machine.h>.
34665         (Elf64_FuncDesc): Remove.
34667 2011-08-22  David S. Miller  <davem@davemloft.net>
34669         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34670         sigaltstack check, add missing cfi directives.
34671         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34672         missing cfi directives, and sigaltstack handling.
34674 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34676         [BZ #11724]
34677         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34678         object is seen twice.
34679         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34681         * elf/Makefile (distribute): Add tst-initorder2.c.
34682         (tests): Add tst-initorder2.
34683         (modules-names): Add tst-initorder2a tst-initorder2b
34684         tst-initorder2c tst-initorder2d.  Add rules to build them.
34685         ($(objpfx)tst-initorder2.out): New rule.
34686         * elf/tst-initorder2.c: New file.
34687         * elf/tst-initorder2.exp: New file.
34689 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34691         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34693         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34694         dependencies back to end of function.
34696         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34697         $(elfobjdir)/ld.so.
34699 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34701         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34702         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34703         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34704         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34705         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34706         of __vdso_gettimeofday.
34707         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34708         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34709         attribute_hidden.
34710         (_libc_vdso_platform_setup): Remove initialization of
34711         __vdso_gettimeofday and __vdso_time.
34713 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34715         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34716         and fgetc_unlocked.
34717         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34718         getc_unlocked.
34720         * elf/dl-open.c (add_to_global): Report additions to the global scope
34721         for LD_DEBUG=scopes.
34722         (dl_open_worker): Also print scope of newly loaded dependencies.
34723         (_dl_show_scope): Indicate if there is no scope.
34725         [BZ #13114]
34726         * stdio-common/Makefile (tests): Add bug24.
34727         * stdio-common/bug24.c: New file.
34729 2011-08-19  Andreas Jaeger  <aj@suse.de>
34731         [BZ #13114]
34732         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34733         non-existant file when using close-on-exec mode.
34735 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34737         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34738         the very first instruction.
34740         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34741         the CFI state in the end.
34742         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34743         inclusion of dl-trampoline.h.
34744         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34746 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34748         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34749         expectations for long double.
34751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34752         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34754 2011-08-14  David S. Miller  <davem@davemloft.net>
34756         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34757         artificual limit depends upon the system page size.
34759 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34761         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34762         * resolv/Makefile: Define CFLAGS-libresolv.
34764 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34766         * nss/makedb.c (compute_tables): Make variables used in nested
34767         function static.
34769 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34771         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34772         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34773         if buffer was too small.
34775         * elf/pldd.c (main): Attach to all threads in the process.
34776         Rewrite /proc handling to use *at functions.
34778 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34780         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34781         specifies first scope to show.
34782         (dl_open_worker): Update callers.  Move printing scope of new
34783         object to before the relocation.
34784         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34785         * sysdeps/generic/ldsodefs.h: Update declaration.
34787         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34788         string for the scope number.
34790 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34792         * nscd/servicescache.c (cache_addserv): Make sure written is always
34793         initialized.
34795 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34797         * sysdeps/i386/i486/bits/atomic.h
34798         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34799         statement expression, so as to suppress "set but not used" warning.
34800         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34802         * string/strncat.c (STRNCAT): Use prototype definition.
34804         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34805         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34806         -Iprograms here.
34807         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34808         (localedef-modules): Add localedef.
34809         (locale-modules): Add locale.
34811         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34812         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34813         to avoid a warning.
34815 2011-08-14  David S. Miller  <davem@davemloft.net>
34817         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34818         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34820 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34822         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34823         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34824         * elf/rtld.c (dl_main): Set l_name of vDSO.
34825         Call _dl_show_scope when DL_DEBUG_SCOPES.
34826         (process_dl_debug): Recognize scopes flag and also set it for all.
34827         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34828         Declare _dl_show_scope.
34830         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34831         (do_dlopen): Pass caller_dlopen to dl_open.
34832         (__libc_dlopen_mode): Initialize caller_dlopen.
34834         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34835         of libc.  Make tolower call locale-independent.  Optimize a bit by
34836         using isdigit instead of isalnum.
34837         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34839 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34841         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34842         was a dependency or dynamically loaded.
34844 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34846         * intl/l10nflist.c: Allow architecture-specific pop function.
34847         * sysdeps/x86_64/l10nflist.c: New file.
34849         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34850         classification.
34852 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34854         * include/dirent.h: Add libc_hidden_proto for scandirat and
34855         scandirat64.  Don't declare __scandirat64.
34856         * dirent/scandirat.c: Add libc_hidden_def.
34857         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34858         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34860 2011-08-10  David S. Miller  <davem@davemloft.net>
34862         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34863         enum.
34864         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34865         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34866         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34868 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34870         * Versions.def [libc]: Add GLIBC_2.15.
34871         * dirent/Makefile (routines): Add scandirat and scandirat64.
34872         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34873         GLIBC_2.15.
34874         * dirent/dirent.h: Declare scandirat and scandirat64.
34875         * dirent/scandirat.c: New file.
34876         * dirent/scandirat64.c: New file.
34877         * sysdeps/wordsize-64/scandirat.c: New file.
34878         * sysdeps/wordsize-64/scandirat64.c: New file.
34879         * dirent/opendir.c: Define opendirat.
34880         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34881         using scandirat.
34882         * dirent/scandir64.c: Adjust for scandir.c change.
34883         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34884         __scandirat64, and __scandir_cancel_handler.
34885         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34886         additional parameter and use openat instead of open (outside of ld.so).
34887         Add new __opendir as wrapper around __opendirat.
34888         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34889         here without requiring old scandirat implementation.
34891 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34893         * dirent/scandir.c (cancel_handler): Renamed to
34894         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34895         defined.  Adjust users.
34896         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34897         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34899 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34901         * string/test-string.h (IMPL): Use __STRING to expand name and then
34902         stringify it.
34904         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34905         of cleanups.
34907 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34909         * string/Makefile: Update.
34910         (strop-tests): Append strncat.
34911         * string/test-wcscmp.c: New file.
34912         New comprehensive test for wcscmp.
34913         * string/test-strcmp.c: Update.
34914         (WIDE): New define.
34916 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34918         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34919         line.
34921 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34924         encoding to ACE if AI_IDN.
34926 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34928         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34929         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34931 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34933         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34934         Fix overflow bug in strncat.
34935         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34937         * string/test-strncat.c: Update.
34938         Add new tests for checking overflow bugs.
34940 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34942         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34943         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34944         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34945         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34946         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34947         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34948         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34949         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34950         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34952         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34953         (USE_AS_STRCAT): Define.
34954         Add strcat and strncat support.
34955         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34957 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34959         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34960         __n bigger than INT_MAX+1.
34961         (__strncmp_g): Likewise.
34963 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34965         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34966         * libio/stido.h: Likewise.
34968         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34969         (AF_NFC): Define.
34970         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34971         (AF_NFC): Define.
34973         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34974         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34975         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34976         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34977         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34979         [BZ #13021]
34980         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34981         installed.
34983         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34984         typo.
34985         (_dl_x86_64_save_sse): Likewise.
34987 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34989         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34990         OSXSAVE.
34991         (_dl_x86_64_save_sse): Likewise.
34993         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34995         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34997 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34999         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35000         change.
35001         (_dl_x86_64_save_sse): Use correct AVX check.
35003 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35005         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35006         bug in strncpy/strncat.
35007         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35009 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35011         * string/tester.c (test_strcat): Add tests for different alignments
35012         of source and destination.
35013         (test_strncat): Likewise.
35015 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35017         [BZ #12852]
35018         * posix/glob.c (glob): Check passed in values before using them in
35019         expressions to avoid some overflows.
35020         (glob_in_dir): Likewise.
35022         [BZ #13007]
35023         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35024         check for AVX enablement so that we don't crash with old kernels and
35025         new hardware.
35026         * elf/tst-audit4.c: Add same checks here.
35027         * elf/tst-audit6.c: Likewise.
35029         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35031 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35033         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35035 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35037         * po/cs.po: Update from translation team.
35038         * po/bg.po: Likewise.
35040 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35042         * misc/sys/cdefs.h: Add support for const attribute.
35043         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35044         to gnu_dev_{major,minor,makedev} functions.
35046 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35048         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35050 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35052         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35053         strlen results.
35055 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35057         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35058         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35059         register in order to avoid conflicts with the soft frame pointer
35060         being held in r11 when necessary.
35061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35062         (INTERNAL_VSYSCALL_NCS): Likewise.
35064 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35066         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35067         * elf/dl-fini.c (_dl_fini): Adjust caller.
35068         * elf/dl-close.c (_dl_close_worker): Likewise.
35069         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35071 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35073         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35074         "aux_cache->nlibs < 0".
35076         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35077         in the reload-count case.
35079 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35082         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35083         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35084         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35085         * sysdeps/x86_64/multiarch/strcat.S: New file.
35086         * sysdeps/x86_64/multiarch/strncat.S: New file.
35087         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35088         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35089         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35090         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35091         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35092         (USE_AS_STRCAT): Define.
35093         Add strcat and strncat support.
35094         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35095         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35096         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35097         * string/strncat.c: Update.
35098         (USE_AS_STRNCAT): Define.
35099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35100         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35101         and i7.
35102         * sysdeps/x86_64/multiarch/init-arch.h
35103         (bit_Prefer_PMINUB_for_stringop): New.
35104         (index_Prefer_PMINUB_for_stringop): Likewise.
35105         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35106         bit_Prefer_PMINUB_for_stringop.
35108 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35110         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35111         buffer64.
35112         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35113         of casting of buffer.
35114         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35115         buffer32 and buffer64.
35116         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35117         writes instead of casting of buffer.
35118         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35119         buffer32.
35120         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35121         casting of buffer.
35123 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35125         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35127 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35129         * nscd/nscd.c (termination_handler): Don't do anything for a database
35130         if it has not yet been initialized.
35132 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35134         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35136 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35138         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35140 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35142         * po/nl.po: Update from translation team.
35143         * po/sv.po: Likewise.
35145 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35147         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35148         now disallowed by GCC.
35150         * configure.in (use-default-link): Default to yes if a test -shared
35151         link meets our qualifications.
35152         * configure: Regenerated.
35154         * config.make.in (output-format): New variable.
35155         * configure.in: Check for ld --print-output-format support.
35156         * configure: Regenerated.
35157         * Makerules ($(common-objpfx)format.lds)
35158         [$(output-format) != unknown]: Just use $(output-format),
35159         instead of the linker-script munging.
35161 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35163         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35164         of $(common-objpfx)shlib.lds.
35165         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35167         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35168         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35170         * configure.in (-z relro check): Adjust test code to add a large
35171         writable data section after it.
35172         * configure: Regenerated.
35174 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35176         * configure.in (-z relro check): Fix test code to make the variable
35177         truly const.
35178         * configure: Regenerated.
35180 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35182         * nscd/nscd.h (struct traced_file): Define.
35183         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35184         elements.  Add traced_files.
35185         (inotify_fd): Declare.
35186         (register_traced_file): Declare.
35187         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35188         (inotify_fd): Export.
35189         (resolv_conf_descr): Remove.
35190         (nscd_init): Move inotify descriptor creation to main.
35191         Don't register files for notification here.
35192         (register_traced_file): New function.
35193         (invalidate_cache): Don't use reset_res to determine whether to call
35194         res_init, go through the list of registered files.
35195         (main_loop_poll): The inotify descriptors are now stored in the
35196         structures for the traced files.
35197         (main_loop_epoll): Likewise
35198         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35199         to __nss_disable_nscd.
35200         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35201         for a database anymore.  Check the records for all the registered
35202         files instead.
35203         * nss/Makefile (libnss_files-routines): Add files-init.
35204         (libnss_db-routines): Add db-init.
35205         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35206         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35207         * nss/nss_db/db-init.c: New file.
35208         * nss/nss_files/files-init.c: New file.
35209         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35210         __nss_lookup_function.
35211         (__nss_lookup_function): Call nss_load_library.
35212         (nss_load_all_libraries): New function.
35213         (__nss_disable_nscd): Take parameter with callback function for files
35214         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35215         used for the cached services.
35216         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35217         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35218         options for features to all the files in nscd.
35220         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35222 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35224         * csu/elf-init.c (__libc_csu_init): Comment typo.
35226 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35228         * po/pl.po: Update from translation team.
35229         * po/ja.po: Likewise.
35230         * po/ru.po: Likewise.
35231         * po/ko.po: Likewise.
35232         * po/fr.po: Likewise.
35234 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35236         * configure.in (.ctors/.dtors header and trailer check):
35237         Use an empirical test on a built program.
35238         * configure: Regenerated.
35240         * configure.in (-z relro check): Use an empirical test on a built DSO.
35241         Detect, but do not require, on ia64.
35242         * configure: Regenerated.
35244         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35245         Update tests that use readelf to use $READELF instead.
35246         * configure: Regenerated.
35248 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35250         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35251         if the result is not used.
35253 2011-07-05  Andreas Jaeger  <aj@suse.de>
35255         [BZ#9696]
35256         * stdlib/tst-strtod.c: Add testcase.
35258 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35260         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35261         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35262         The latter has a higher limit.  Take additional parameter to pass to
35263         the new function.
35264         (__pathconf): Pass file to __statfs_link_max.
35265         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35266         __statfs_link_max.
35267         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35268         __statfs_link_max.
35270         [BZ #12868]
35271         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35272         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35273         Handle Lustre.
35274         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35275         (__statfs_filesize_max): Likewise.
35276         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35278 2011-07-05  Andreas Jaeger  <aj@suse.de>
35280         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35282 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35284         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35285         `status' variable.
35286         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35287         Likewise.
35289 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35291         * Makefile (strop-tests): Add strncat.
35292         * string/test-strncat.c: New file.
35294 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35296         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35298 2011-06-21  Andreas Jaeger  <aj@suse.de>
35300         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35301         Copy rule from iconvdata/Makefile.
35303 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35305         [BZ #12922]
35306         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35307         but no long options are defined, just return 'W'.
35309 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35311         [BZ #9696]
35312         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35314 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35316         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35317         netgroups to read.
35318         (innetgr): Likewise.
35320 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35322         * config.make.in (install_root): Default to $(DESTDIR).
35324 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35326         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35328 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35330         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35332         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35333         containing directory rather than embedding absolute directory names.
35335         * scripts/check-local-headers.sh: Rewritten using awk.
35336         Match by word, not by line.  Print error messages for matches.
35337         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35339         * Makerules [shlib-lds-flags empty]:
35340         ($(common-objpfx)libc_pic.opts): New target.
35341         ($(common-objpfx)libc_pic.os.clean): New target.
35342         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35344         * config.make.in (OBJCOPY): New variable.
35345         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35346         * configure: Regenerated.
35348         * config.make.in (use-default-link): New variable.
35349         * configure.in (use_default_link): Grok --with-default-link to set it.
35350         * configure: Regenerated.
35351         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35352         (shlib-lds, shlib-lds-flags): Define to empty.
35354         * Makerules (shlib-lds): New variable.
35355         (shlib-lds-flags): New variable.
35356         (build-shlib, build-moduile, build-module-asneeded): Use it.
35357         ($(common-objpfx)libc.so): Use $(shlib-lds).
35358         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35359         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35361         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35362         DT_FLAGS/DT_FLAGS_1 with zero flags.
35364         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35365         linker script munging.
35367 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35369         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35370         as 128-bit value.
35371         * crypt/sha512.c (sha512_process_block): Perform total addition using
35372         128-bit if possible.
35373         (__sha512_finish_ctx): Likewise.
35374         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35375         as 64-bit value.
35376         * crypt/sha256.c (SWAP64): Define.
35377         (sha256_process_block): Perform total addition using 64-bit if
35378         possible.
35379         (__sha256_finish_ctx): Likewise.
35381 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35383         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35384         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35385         * nscd/hstcache.c (cache_addhst): Likewise.
35386         * nscd/grpcache.c (cache_addgr): Likewise.
35387         * nscd/aicache.c (addhstaiX): Likewise
35388         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35390 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35392         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35393         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35394         * nscd/hstcache.c (cache_addhst): Likewise.
35395         * nscd/grpcache.c (cache_addgr): Likewise.
35396         * nscd/aicache.c (addhstaiX): Likewise
35398 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35400         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35401         domain only when needed.
35403 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35406         is always restored.
35408 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35410         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35411         are re-adding the entry.
35412         * nscd/servicescache.c (cache_addserv): Likewise.
35414 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35416         * sysdeps/generic/dl-irel.h: fix protection against multiple
35417         inclusions.
35418         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35420 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35422         [BZ #12935]
35423         * malloc/memusage.sh: Fix quoting in message.
35424         * debug/xtrace.sh: Likewise.
35426         * configure.in: Remove support for --experimental-malloc option, make
35427         it the default.
35428         * config.make.in: Likewise.
35429         * malloc/Makefile: Likewise.
35431 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35433         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35434         two-byte characters.
35436 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35438         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35439         AC_CACHE_CHECK invocation.
35440         * configure: Regenerated.
35442         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35444 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35446         [BZ #12350]
35447         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35448         bit from old_res_options.
35450         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35452         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35453         value type for setfct.
35455 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35458         __gettimeofday instead of gettimeofday.
35460 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35462         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35464 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35466         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35468         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35469         info.
35471 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35474         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35475         strcpy-sse2-unaligned strncpy-sse2-unaligned
35476         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35477         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35478         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35479         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35480         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35481         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35482         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35483         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35484         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35485         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35486         (STRCPY): Support SSE2 and SSSE3 versions.
35488 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35490         [BZ #12874]
35491         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35492         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35493         kernels which artificially limit size of requests.
35495 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35497         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35498         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35499         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35500         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35501         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35502         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35503         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35504         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35505         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35506         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35507         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35508         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35509         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35510         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35511         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35513         Enable unaligned load optimization for Intel Core i3, i5 and i7
35514         processors.
35515         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35516         Define.
35517         (index_Fast_Unaligned_Load): Define.
35518         (HAS_FAST_UNALIGNED_LOAD): Define.
35520 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35522         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35524 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35526         [BZ #12907]
35527         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35528         until it is clear that the information is realy needed.
35529         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35531 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35535 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35537         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35538         /sys/devices/system/cpu/online if it is usable.
35540         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35541         reading the information from the /proc filesystem to once a second.
35543 2011-06-21  Andreas Jaeger  <aj@suse.de>
35545         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35546         NULL after inclusion of kernel headers.
35548 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35550         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35551         calls to internal_setent.
35553         [BZ #12885]
35554         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35555         addresses using gethostbyname4_r ignore IPv4 addresses.
35557         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35558         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35560         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35562 2011-06-20  David S. Miller  <davem@davemloft.net>
35564         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35565         inclusions.
35566         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35568         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35569         (elf_irel): Use it.
35570         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35571         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35572         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35573         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35574         * sysdeps/x86_64/dl-irel.h: Likewise.
35576         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35577         * elf/dl-sym.c: Likewise.
35579 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35581         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35582         need to dereference resplen2.
35584 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35586         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35588 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35590         * Makeconfig: Define vardbdir and inst_vardbdir.
35591         * nss/Makefile: Add rules to install db-Makefile.
35593         * nss/nss_db/db-XXX.c: Cleanup.
35595         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35596         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35597         GLIBC_PRIVATE.
35598         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35599         * nss/makedb.c: Implement -g option to specify that value strings
35600         are generated and should not be added to table iterated over for
35601         get*ent calls.
35602         * nss/nss_db/db-initgroups.c: New file.
35604         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35605         interface.
35607         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35608         (internal_getgrouplist): Adjust to name change.
35609         Update use_initgroups_entry if this is not the first call.
35610         * nss/databases.def: Add initgroups entry.
35612         * nss/makedb.c (compute_tables): Check result of multiple hash table
35613         sizes to minimize maximum chain length.
35615 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35617         * Versions.def: Add entry for libnss_db.
35618         * shlib-versions: Likewise.
35619         * nss/Makefile: Add rules to build libnss_db.
35620         * nss/Versions: Add libnss_db information.  Organize libnss_files
35621         entries better.
35622         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35623         makedb progra.  Some minor improvements to generate smaller files.
35624         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35625         here from...
35626         * nss/makedb.c: ...here.
35627         Improve database format to be smaller and require less memory at
35628         runtime.
35629         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35630         db anymore.
35631         * nss/nss_db/db-netgrp.c: Likewise.
35632         * nss/nss_db/db-open.c: Likewise.
35633         * nss/nss_files/flies-XXX.x: Adjust comments.
35634         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35635         * nss/nss_files/files-grp.c: Likewise.
35636         * nss/nss_files/files-hosts.c: Likewise.
35637         * nss/nss_files/files-network.c: Likewise.
35638         * nss/nss_files/files-proto.c: Likewise.
35639         * nss/nss_files/files-pwd.c: Likewise.
35640         * nss/nss_files/files-rpc.c: Likewise.
35641         * nss/nss_files/files-service.c: Likewise.
35642         * nss/nss_files/files-sgrp.c: Likewise.
35643         * nss/nss_files/files-spwd.c: Likewise.
35644         * nss/nss_db/db-alias.c: Removed.
35645         * nss/nss_db/dummy-db.h: Removed.
35647 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35649         * nss/makedb.c: Rewritten to not use database library.
35650         * nss/Makefile: Update to build new makedb program.
35652 2011-06-14  Andreas Jaeger  <aj@suse.de>
35654         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35655         memset declaration.
35657 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35660         tmpbuf.
35662 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35664         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35665         * elf/Makefile ($(objpfx)ld.so): Likewise.
35667         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35668         Don't list ld.so twice in dependencies.
35670         * posix/bug-regex31.c: Include <stdlib.h>.
35672         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35674         * nis/nss_compat/compat-spwd.c
35675         (getspent_next_nss_netgr): Remove unused variable.
35676         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35678         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35679         nonmembers" output to use the right array.
35681         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35683         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35685         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35686         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35687         * catgets/gencat.c (read_input_file): Likewise.
35688         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35690         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35691         variable definition inside #if's controlling its use.
35693         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35695         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35697         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35699         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35700         unreachable code.
35702         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35704         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35705         * configure: Regenerated.
35707         * Makerules: Revert last change.
35708         * elf/Makefile: Likewise.
35710 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35712         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35713         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35714         (reloc-link): Likewise.
35716 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35718         * elf/Makefile: Add rules to build pldd.
35719         * elf/pldd.c: New file.
35720         * elf/pldd-xx.c: New file.
35722 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35724         * version.h: Update for 2.15 development version.
35726 2011-06-07  David S. Miller  <davem@davemloft.net>
35728         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35729         ifuncs.
35730         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35731         elf_machine_lazy_rel): Likewise.
35732         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35733         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35734         elf_machine_lazy_rel): Likewise.
35735         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35736         dl_hwcap via passed in argument.
35737         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35738         Likewise.
35740 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35742         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35744 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35746         [BZ #12849]
35747         * manual/fdl-1.1.texi: New file, verbatim from:
35748         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35749         * manual/lgpl-2.1.texi: New file, verbatim from:
35750         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35751         * manual/Makefile (licenses): New variable, list those new file names.
35752         (texis): Use it.
35753         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35755         * manual/fdl.texi: File removed.
35756         * manual/lesser.texi: File removed.
35757         * manual/libc.texinfo (Copying, Documentation License):
35758         Use new @include file names, put @appendix directive before @include.
35760 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35762         [BZ #12841]
35763         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35764         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35765         (mq_open): Add __NTH.
35767 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35770         Assume Intel Core i3/i5/i7 processor if AVX is available.
35772 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35774         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35775         typo.
35777 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35779         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35780         memory.  Use alloca_account.  Fix memory leak when retrying.
35782 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35784         * version.h (RELEASE): Bump for 2.14 release.
35785         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35787         * config.make.in (RANLIB): Remove entry.
35789 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35791         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35792         (libc.pot): Work around missing support for .ksh extension in xgettext.
35794         [BZ #12684]
35795         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35796         if both request failed.
35797         (send_dg): In case of server errors clear resplen or *resplen2.
35799         [BZ #12454]
35800         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35801         when there are multiple maps.
35802         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35803         (_dl_fini): Remove test here.
35805         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35807 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35809         [BZ #12350]
35810         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35811         bit from old_res_options.
35812         (gaih_inet): Likewise.
35814         [BZ #11099]
35815         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35816         as signed.
35818         * resolv/res_init.c (res_setoptions): Make the code more compact.
35820         [BZ #11558]
35821         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35822         set RES_USEVC.
35824         [BZ #11634]
35825         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35827         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35829         [BZ #11781]
35830         * malloc/malloc.h: Declare malloc hook variables as volatile.
35832         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35833         in last patch.
35835         [BZ #11799]
35836         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35837         raise in the comment.
35838         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35839         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35840         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35842 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35844         [BZ #12811]
35845         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35846         grow the buffers more if it already has to be sufficient.
35847         (build_wcs_upper_buffer): Likewise.
35848         * posix/regexec.c (check_matching): Likewise.
35849         (clean_state_log_if_needed): Likewise.
35850         (extend_buffers): Don't enlarge buffers beyond size of the input
35851         buffer.
35852         Patches mostly by Emil Wojak <emil@wojak.eu>.
35853         * posix/bug-regex32.c: New file.
35854         * posix/Makefile (tests): Add bug-regex32.
35856         * locale/findlocale.c (_nl_find_locale): Return right away if
35857         _nl_explode_name failed.
35858         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35860         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35862         * debug/xtrace.sh: Unify messages.
35863         * malloc/memusage.sh: Likewise.
35865         [BZ #12813]
35866         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35867         time symbol from vDSO.  Substitute with vsyscall if not available.
35868         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35869         __vdso_time.
35871         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35872         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35873         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35874         Add sendmmsg and internal_sendmmsg.
35875         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35876         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35877         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35879         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35880         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35881         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35883 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35885         [BZ #12813]
35886         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35887         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35888         available.
35889         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35890         __vdso_getcpu.
35892         [BZ #12814]
35893         * iconvdata/Makefile (tests): Add bug-iconv9.
35894         * iconvdata/bug-iconv9.c: New file.
35896 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35898         [BZ #12814]
35899         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35901 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35903         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35904         (struct user_regs_struct): Change intcs field back to cs.
35906 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35908         * po/ja.po: Update from translation team.
35910 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35912         [BZ #12795]
35913         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35914         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35916 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35918         * stdlib/longlong.h: Update from GCC.
35920 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35922         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35923         parameter name.
35924         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35925         Add parameter name.
35926         (__sysconf): Pass it down.
35928 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35930         [BZ #12671]
35931         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35932         some situations.
35933         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35934         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35935         add in in __libc_use_alloca calls.  Adjust callers.
35936         (glob): Use malloc in some situations.
35938         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35939         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35940         pltexit.
35942 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35944         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35945         and CLOCK_BOOTTIME_ALARM.
35947         [BZ #12782]
35948         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35949         is returned.
35951         * string/_strerror.c (__strerror_r): Print negative errors as signed
35952         numbers.
35954         [BZ #12777]
35955         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35956         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35957         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35959         * configure.in: Fix typo in redirection and correct removal of test
35960         files in two cases.
35962         [BZ #12788]
35963         * locale/setlocale.c (new_composite_name): Fix test to check for
35964         identical name of all categories.
35966         [BZ #12792]
35967         * libio/filedoalloc.c (local_isatty): New function.
35968         (_IO_file_doallocate): Use local_isatty.
35969         * stdio-common/perror.c (perror): In case a new stream is used
35970         forward the stream error.
35971         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35972         error flag.
35974 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35976         [BZ #11869]
35977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35978         alloca.
35979         * include/alloca.h (extend_alloca_account): Define.
35981         [BZ #11857]
35982         * posix/regex.h: Fix comments with documentation of user-accessible
35983         fields after compilation and describe correct free'ing of pattern
35984         after re_compile_pattern.
35985         Patch by Reuben Thomas <rrt@sc3d.org>.
35987 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35989         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35990         and -mno-altivec to prevent the compiler from using Altivec and/or
35991         VSX instructions when the corresponding registers are not available.
35993 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35995         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35997 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35999         * libio/freopen.c (freopen): Use __dup2, not dup2.
36000         * libio/freopen64.c (freopen64): Likewise.
36002 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36004         [BZ #12775]
36005         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36006         * math/Makefile (tests): Add test-powl.
36007         (CFLAGS-test-powl.c): Define.
36008         * math/test-powl.c: New file.
36010 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36012         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36014 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36016         [BZ #11837]
36017         * iconvdata/gb18030.c: Update to GB18020-2005.
36019 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36021         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36022         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36023         Patch by Aharon Robbins <arnold@skeeve.com>.
36025         [BZ #11892]
36026         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36027         on the stack.
36029         [BZ #11895]
36030         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36031         through underflows.
36033         [BZ #12766]
36034         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36035         point to strings before performing equality test for error_one_per_line
36036         mode.
36038         [BZ #11697]
36039         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36041         [BZ #11820]
36042         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36043         (struct user_fpregs_struct): Avoid __uint*_t types.
36045         [BZ #6420]
36046         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36047         symbol info.  Use it instead of calling _dl_addr locally.
36048         (lock_and_info): New function.
36049         (tr_freehook): Call lock_and_info and pass symbol info as additional
36050         parameter to tr_where.
36051         (tr_mallochook): Likewise.
36052         (tr_reallochook): Likewise.
36053         (tr_memalignhook): Likewise.
36055         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36056         used and couldn't be at all thread-safe.
36058 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36060         * libio/freopen.c (freopen): Don't close old file descriptor
36061         before the new one is opened.  Instead dup the new file descriptor
36062         to the old one after the new stream is created.
36063         * libio/freopen64.c (freopen64): Likewise.
36064         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36065         * libio/fileops.c (_IO_new_file_close_it): Handle new
36066         _IO_FLAGS2_NOCLOSE flag.
36067         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36068         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36069         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36070         _IO_FLAGS2_NOCLOSE flag.
36071         * include/unistd.h: Add hidden_proto for dup3.
36072         Define __have_dup3.
36073         * io/dup3.c: Define hidden symbol.
36074         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36076         [BZ #7101]
36077         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36078         when an incomplete long option is used.
36079         * posix/tst-getopt_long1.c: New file.
36080         * posix/Makefile (tests): Add tst-getopt_long1.
36082         [BZ #10138]
36083         * scripts/config.guess: Update from autoconf-2.68.
36084         * scripts/config.sub: Likewise.
36086         [BZ #10157]
36087         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36088         tests into ...
36089         (has_cpuclock): ...this.  New function.
36090         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36091         macro here based on has_cpuclock code.
36093         [BZ #10149]
36094         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36095         First byte (not low byte) is now always NUL.
36096         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36098         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36099         Use non-cancelable interfaces.
36101         [BZ #9809]
36102         * locale/iso-639.def: Add entry for Sorani.
36104         [BZ #11901]
36105         * include/stdlib.h: Move include protection to the right place.
36106         Define abort_msg_s.  Declare __abort_msg with it.
36107         * stdlib/abort.c (__abort_msg): Adjust type.
36108         * assert/assert.c (__assert_fail_base): New function.  Majority
36109         of code from __assert_fail.  Allocate memory for __abort_msg with
36110         mmap.
36111         (__assert_fail): Now call __assert_fail_base.
36112         * assert/assert-perr.c: Remove bulk of implementation.  Use
36113         __assert_fail_base.
36114         * include/assert.hL Declare __assert_fail_base.
36115         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36116         mmap.
36117         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36119 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36121         [BZ #11952]
36122         [BZ #12453]
36123         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36124         until all modules are registered in the DTV.
36125         * elf/Makefile: Add rules to build and run tst-tls19.
36126         * elf/tst-tls19.c: New file.
36127         * elf/tst-tls19mod1.c: New file.
36128         * elf/tst-tls19mod2.c: New file.
36129         * elf/tst-tls19mod3.c: New file.
36130         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36132         [BZ #12083]
36133         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36134         correctly.
36136         [BZ #12601]
36137         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36138         two-byte sequence errors.
36139         * iconvdata/Makefile (tests): Add bug-iconv8.
36140         * iconvdata/bug-iconv8.c: New file.
36142         [BZ #12626]
36143         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36144         buf2 definition.
36146         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36148         [BZ #12432]
36149         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36150         (dummy_getcfa): New function.
36151         (init): Get _Unwind_GetCFA address, use dummy if not found.
36152         (backtrace_helper): In recursion check, also check whether CFA changes.
36153         (__backtrace): Completely initialize arg.
36155         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36156         storing incomplete byte sequence in state object.  Avoid testing for
36157         guaranteed too small input if we know there is enough data available.
36159 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36161         * Makeconfig (+link-pie): Indent.
36162         * Rules (binaries-pie): Define if $(have-fpie) and
36163         $(build-shared).
36164         (binaries-shared): Also filter out $(binaries-pie).
36165         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36166         * nscd/Makefile (others-pie): Add nscd.
36167         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36168         ($(objpfx)nscd): Remove command override.
36169         * login/Makefile (others-pie): Add pt_chown.
36170         ($(objpfx)pt_chown): Remove command override.
36171         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36172         remove command overrides.
36174 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36176         * libio/tst_putwc.c: Fix error messages.
36178         [BZ #12724]
36179         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36180         currently writing and seek to current position when not.
36181         * libio/Makefile (tests): Add bug-fclose1.
36182         * libio/bug-fclose1.c: New file.
36184 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36186         [BZ #12511]
36187         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36188         don't set DF_1_NODELETE here.
36189         (do_lookup_x): When entering new entry test for copy relocation
36190         and if necessary set DF_1_NODELETE flag.
36191         * elf/tst-unique4.cc: New file.
36192         * elf/tst-unique4.h: New file.
36193         * elf/tst-unique4lib.cc: New file.
36194         * elf/Makefile: Add rules to build and run tst-unique4.
36195         Patch by Piotr Bury <pbury@goahead.com>.
36197 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36199         [BZ #12052]
36200         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36202         [BZ #12625]
36203         * misc/mntent_r.c (addmntent): Flush the stream after the output
36205         [BZ #12393]
36206         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36207         (is_trusted_path_normalize): Skip initial colon.  Append slash
36208         to empty buffer.  Duplicate is_trusted_path code but allow
36209         constructed patch to be prefix.
36210         (is_dst): Allow $ORIGIN followed by /.
36211         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36212         Correct testing of result of is_trusted_path_normalize
36213         (decompose_rpath): Fix warning.
36215 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36217         [BZ #11257]
36218         * grp/initgroups.c (internal_getgrouplist): When we found the service
36219         list through the initgroups entry in nsswitch.conf do not always
36220         continue on a successful lookup.  Don't always use the
36221         __nss_group_database value if it is set.
36222         * nss/nsswitch.conf (initgroups): Change action for successful db
36223         lookup to continue for compatibility.
36225 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36227         [BZ #11532]
36228         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36229         and CP774 modules.
36230         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36231         and CP774 modules.
36232         * iconvdata/tst-tables.sh: Likewise.
36233         * iconvdata/cp770.c: New file.
36234         * iconvdata/cp771.c: New file.
36235         * iconvdata/cp772.c: New file.
36236         * iconvdata/cp773.c: New file.
36237         * iconvdata/cp774.c: New file.
36238         * iconvdata/testdata/CP770: New file.
36239         * iconvdata/testdata/CP770..UTF8: New file.
36240         * iconvdata/testdata/CP771: New file.
36241         * iconvdata/testdata/CP771..UTF8: New file.
36242         * iconvdata/testdata/CP772: New file.
36243         * iconvdata/testdata/CP772..UTF8: New file.
36244         * iconvdata/testdata/CP773: New file.
36245         * iconvdata/testdata/CP773..UTF8: New file.
36246         * iconvdata/testdata/CP774: New file.
36247         * iconvdata/testdata/CP774..UTF8: New file.
36249         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36250         END CHARMAP line.
36251         * iconvdata/gen-8bit-gap.sh: Likewise.
36252         * iconvdata/gen-8bit.sh: Likewise.
36254         * locale/iso-639.def: Add ary entry.
36256         [BZ #11258]
36257         * locale/C-translit.h.in: Add U20A1 transliteration.
36259         [BZ #12178]
36260         * locale/iso-639.def: Add wae entry.
36261         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36263         [BZ #12545]
36264         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36265         for n.
36267         [BZ #12711]
36268         * locale/C-translit.h.in: Add entry for U20B9.
36269         Patch by pravin.d.s@gmail.com.
36271 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36273         [BZ #12713]
36274         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36275         ENAMETOOLONG use generic getcwd.
36276         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36277         in rtld.  Use *stat64.
36278         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36279         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36280         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36281         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36282         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36283         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36284         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36285         __fstatat64 macros.
36286         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36287         * dirent/rewinddir.c: Add libc_hidden_def.
36288         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36289         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36291         * include/dirent.h (__alloc_dir): Add flags parameter.
36292         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36293         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36294         __alloc_dir.
36295         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36296         from fdopendir if O_CLOEXEC is already set.
36298 2011-03-15  Alan Modra  <amodra@gmail.com>
36300         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36301         l_tls_firstbyte_offset non-zero.  Save padding offset in
36302         l_tls_firstbyte_offset for later use.
36303         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36304         freeing static tls block.
36306 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36308         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36309         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36310         being defined by the kernel headers.
36312 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36314         [BZ #12734]
36315         * resolv/resolv.h: Define RES_NOTLDQUERY.
36316         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36317         no-tld-query and set RES_NOTLDQUERY.
36318         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36319         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36320         modern BIND to search name as TLD unless forbidden.
36322 2011-05-07  Petr Baudis  <pasky@suse.cz>
36323             Ulrich Drepper  <drepper@gmail.com>
36325         [BZ #12393]
36326         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36327         (is_trusted_path): ...to here.
36328         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36329         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36330         using is_trusted_path_normalize() in setuid scripts.
36332 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36334         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36335         __BEGIN/__END_DECLS.
36337 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36339         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36340         NSS_STATUS_NOTFOUND if no record was found.
36342 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36344         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36345         (headers-not-in-tirpc): Remove rpc/netdb.h
36346         * resolv/netdb.h: Revert last change.
36348 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36350         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36351         circular dependency between libgcc.a and libc.a.
36353 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36355         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36356         * nis/Makefile: Don't install rpcsvc/*.
36357         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36358         instead of <rpc/types.h>.
36359         (MAXHOSTNAMELEN): Define.
36361 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36363         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36365 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36367         [BZ #12714]
36368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36369         gethostbyname4_r when IPv6 results are possible.
36371 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36373         [BZ #12723]
36374         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36375         _PC_PIPE_BUF handling.
36377 2011-04-30  Bruno Haible  <bruno@clisp.org>
36379         [BZ #12717]
36380         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36381         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36382         to 'int'.
36383         * inet/getnameinfo.c (getnameinfo): Likewise.
36385 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36387         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36388         to groups setting in database lookup.
36389         * nss/nsswitch.conf: Add initgroups entry.
36391 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36393         [BZ #12685]
36394         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36395         mode string.
36396         Patch by Eric Blake <eblake@redhat.com>.
36398 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36400         * sunrpc/Makefile (need-export-routines): Add svc_run.
36401         (routines): Remove svc_run.
36402         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36403         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36404         * sunrpc/svc_run.c (svc_run): Likewise.
36405         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36407 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36409         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36410         problem in reallocation in last patch.
36412 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36414         * sunrpc/Makefile: Move inclusion of Rules.
36416 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36418         * nss/nss_files/files-initgroups.c: New file.
36419         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36420         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36421         _nss_files_initgroups_dyn.
36423 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36425         * elf/elf.h (R_ARM_IRELATIVE): Define.
36427 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36429         * po/ru.po: Update from translation team.
36431 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36433         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36434         dependencies.
36436 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36438         [BZ #12653]
36439         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36440         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36441         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36442         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36443         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36445 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36447         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36448         differing bytes.
36449         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36450         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36451         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36453 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36455         [BZ #12420]
36456         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36457         storing it.
36458         * stdlib/bug-getcontext.c: New file.
36459         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36461 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36463         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36464         instructions into .machine "z9-109".
36465         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36466         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36468 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36470         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36471         between environment variables and auxiliary vector.
36473 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36475         * Makefile: Add rules to build linkobj/libc.so.
36476         * include/libc-symbols.h: Define libc_hidden_nolink.
36477         * include/rpc/auth.h: Mark functions which are to be hidden.
36478         * include/rpc/auth_des.h: Likewise.
36479         * include/rpc/auth_unix.h: Likewise.
36480         * include/rpc/clnt.h: Likewise.
36481         * include/rpc/des_crypt.h: Likewise.
36482         * include/rpc/key_prot.h: Likewise.
36483         * include/rpc/pmap_clnt.h: Likewise.
36484         * include/rpc/pmap_prot.h: Likewise.
36485         * include/rpc/pmap_rmt.h: Likewise.
36486         * include/rpc/rpc_msg.h: Likewise.
36487         * include/rpc/svc.h: Likewise.
36488         * include/rpc/svc_auth.h: Likewise.
36489         * include/rpc/xdr.h: Likewise.
36490         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36491         * nss/Makefile: Likewise.
36492         * sunrpc/Makefile: Don't install headers.  Build library with normal
36493         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36494         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36495         for the compat linking library.  Remove use of INTDEF/INTUSE.
36496         * sunrpc/auth_none.c: Likewise.
36497         * sunrpc/auth_unix.c: Likewise.
36498         * sunrpc/authdes_prot.c: Likewise.
36499         * sunrpc/authuxprot.c: Likewise.
36500         * sunrpc/clnt_gen.c: Likewise.
36501         * sunrpc/clnt_perr.c: Likewise.
36502         * sunrpc/clnt_raw.c: Likewise.
36503         * sunrpc/clnt_simp.c: Likewise.
36504         * sunrpc/clnt_tcp.c: Likewise.
36505         * sunrpc/clnt_udp.c: Likewise.
36506         * sunrpc/clnt_unix.c: Likewise.
36507         * sunrpc/des_crypt.c: Likewise.
36508         * sunrpc/des_soft.c: Likewise.
36509         * sunrpc/get_myaddr.c: Likewise.
36510         * sunrpc/key_call.c: Likewise.
36511         * sunrpc/key_prot.c: Likewise.
36512         * sunrpc/netname.c: Likewise.
36513         * sunrpc/pm_getmaps.c: Likewise.
36514         * sunrpc/pm_getport.c: Likewise.
36515         * sunrpc/pmap_clnt.c: Likewise.
36516         * sunrpc/pmap_prot.c: Likewise.
36517         * sunrpc/pmap_prot2.c: Likewise.
36518         * sunrpc/pmap_rmt.c: Likewise.
36519         * sunrpc/publickey.c: Likewise.
36520         * sunrpc/rpc_cmsg.c: Likewise.
36521         * sunrpc/rpc_common.c: Likewise.
36522         * sunrpc/rpc_dtable.c: Likewise.
36523         * sunrpc/rpc_prot.c: Likewise.
36524         * sunrpc/rpc_thread.c: Likewise.
36525         * sunrpc/rtime.c: Likewise.
36526         * sunrpc/svc.c: Likewise.
36527         * sunrpc/svc_auth.c: Likewise.
36528         * sunrpc/svc_authux.c: Likewise.
36529         * sunrpc/svc_raw.c: Likewise.
36530         * sunrpc/svc_run.c: Likewise.
36531         * sunrpc/svc_simple.c: Likewise.
36532         * sunrpc/svc_tcp.c: Likewise.
36533         * sunrpc/svc_udp.c: Likewise.
36534         * sunrpc/svc_unix.c: Likewise.
36535         * sunrpc/svcauth_des.c: Likewise.
36536         * sunrpc/xcrypt.c: Likewise.
36537         * sunrpc/xdr.c: Likewise.
36538         * sunrpc/xdr_array.c: Likewise.
36539         * sunrpc/xdr_float.c: Likewise.
36540         * sunrpc/xdr_intXX_t.c: Likewise.
36541         * sunrpc/xdr_mem.c: Likewise.
36542         * sunrpc/xdr_rec.c: Likewise.
36543         * sunrpc/xdr_ref.c: Likewise.
36544         * sunrpc/xdr_sizeof.c: Likewise.
36545         * sunrpc/xdr_stdio.c: Likewise.
36547 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36549         [BZ #12650]
36550         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36551         * sysdeps/ia64/dl-tls.h: Likewise.
36552         * sysdeps/powerpc/dl-tls.h: Likewise.
36553         * sysdeps/s390/dl-tls.h: Likewise.
36554         * sysdeps/sh/dl-tls.h: Likewise.
36555         * sysdeps/sparc/dl-tls.h: Likewise.
36556         * sysdeps/x86_64/dl-tls.h: Likewise.
36557         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36559 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36561         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36562         rpath element also skip the following colon.
36563         (expand_dynamic_string_token): Add is_path parameter and pass
36564         down to DL_DST_REQUIRED and _dl_dst_substitute.
36565         (decompose_rpath): Call expand_dynamic_string_token with
36566         non-zero is_path.  Ignore empty rpaths.
36567         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36568         with zero is_path.
36570 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36573         Make cancelable.
36575 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36577         [BZ #12655]
36578         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36579         Patch by Filipe David Manana <fdmanana@apache.org>.
36581 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36583         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36584         Maintain aligned stack.
36585         (CHECK_RSP): Remove unused macro.
36587 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36589         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36590         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36592 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36594         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36596         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36598 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36600         [BZ #12518]
36601         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36602         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36603         * sysdeps/x86_64/memmove.c: New file.
36604         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36605         (memcpy): Renamed to ...
36606         (__new_memcpy): This.
36607         (memcpy): Provide GLIBC_2_14 memcpy.
36608         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36609         (memcpy): Provide GLIBC_2_2_5 memcpy.
36611 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36613         [BZ #12631]
36614         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36616 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36618         * misc/syncfs.c: New file.
36619         * misc/Makefile (routines): Add syncfs.
36620         * posix/unistd.h: Declare syncfs.
36621         * sysdeps/unix/syscalls.list: Add syncfs.
36623 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36625         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36626         open_by_handle_at.
36627         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36628         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36630         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36631         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36632         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36633         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36635 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36637         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36638         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36639         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36640         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36641         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36643         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36645         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36646         sync_file_range.c with -fexceptions.
36647         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36648         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36649         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36650         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36651         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36652         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36653         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36654         sync_file_range as cancellation point
36655         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36656         now a wrapper around __call_sync_file_range with cancellation handling.
36657         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36658         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36659         function name to __call_sync_file_range.
36660         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36661         Add call_sync_file_range.
36663 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36665         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36666         bits/timex.h.
36668 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36670         * iconv/iconv.h: Fix typo in comment.
36671         * io/fcntl.h: Likewise.
36672         * libio/stdio.h: Likewise.
36673         * posix/spawn.h: Likewise.
36674         * posix/unistd.h: Likewise.
36675         * stdlib/stdlib.h: Likewise.
36676         * time/time.h: Likewise.
36677         * wcsmbs/wchar.h: Likewise.
36679         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36680         open_by_handle): Add.
36681         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36682         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36683         Augment a few comments.
36684         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36685         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36686         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36688         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36689         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36690         open_by_handle.
36692         * io/fcntl.h (AT_EMPTY_PATH): Define.
36694 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36696         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36697         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36698         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36699         to...
36700         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36701         * Versions.def: Add GLIBC_2.14.
36702         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36703         Export.
36705 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36707         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36708         round counter.
36709         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36711 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36713         [BZ #12597]
36714         * string/test-strncmp.c (do_page_test): New function.
36715         (check2): Likewise.
36716         (test_main): Call check2.
36717         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36719 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36721         [BZ #12587]
36722         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36723         Handle cache information in CPU leaf 4.
36724         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36726 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36728         [BZ #12583]
36729         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36730         character representation.
36731         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36733 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36735         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36736         END(__isnan) to END(__isnanf) to match function entry point/label
36737         EALIGN(__isnanf,...).
36739 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36741         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36743 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36745         [BZ #12510]
36746         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36747         copy from the symbol referenced in the relocation to initialize the
36748         used variable.
36749         Patch by Piotr Bury <pbury@goahead.com>.
36750         * elf/Makefile: Add rules to build and tst-unique3.
36751         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36752         * elf/tst-unique3.cc: New file.
36753         * elf/tst-unique3.h: New file.
36754         * elf/tst-unique3lib.cc: New file.
36755         * elf/tst-unique3lib2.cc: New file.
36757         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36759 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36761         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36762         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36763         to _start.
36765 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36767         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36768         to-be-loaded object along a path to loader is ld.so.
36770 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36771             Ulrich Drepper  <drepper@gmail.com>
36773         * sysdeps/x86_64/memset.S: After aligning destination, code
36774         branches to different locations depending on the value of
36775         misalignment, when multiarch is enabled. Fix this.
36777 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36779         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36780         Set _x86_64_preferred_memory_instruction for AMD processsors.
36781         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36782         Set bit_Prefer_SSE_for_memop for AMD processors.
36784 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36786         * libio/fmemopen.c (fmemopen): Optimize a bit.
36788 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36790         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36792 2011-03-03  Roland McGrath  <roland@redhat.com>
36794         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36796 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36798         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36799         __bzero_ultra1 instead of __memset_ultra1.
36801 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36802             Ulrich Drepper  <drepper@gmail.com>
36804         [BZ #12509]
36805         * include/link.h (struct link_map): Add l_orig_initfini.
36806         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36807         returning unsuccessfully.
36808         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36809         close of a file loaded at startup, restore the original l_initfini
36810         list.
36811         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36812         list, store the pointer.
36813         * elf/Makefile ($(objpfx)noload-mem): New rule.
36814         (noload-ENV): Define.
36815         (tests): Add $(objpfx)noload-mem.
36816         * elf/noload.c: Include <memcheck.h>.
36817         (main): Call mtrace.  Close all opened handles.
36819 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36821         [BZ #12454]
36822         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36823         dependencies are missing.
36825 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36827         Fix __if_freereq crash: Unlike the generic version which uses free,
36828         Hurd needs munmap.
36829         * sysdeps/mach/hurd/ifreq.h: New file.
36831 2011-01-27  Petr Baudis  <pasky@suse.cz>
36832             Ulrich Drepper  <drepper@gmail.com>
36834         [BZ 12445]#
36835         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36836         to extend_alloca().
36837         * stdio-common/bug23.c: New file.
36838         * stdio-common/Makefile (tests): Add bug23.
36840 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36841             Ulrich Drepper  <drepper@gmail.com>
36843         [BZ #12489]
36844         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36845         before performing relro protection.  At old place add assertion
36846         to make sure nothing changed.
36848 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36849             Glauber de Oliveira Costa  <glommer@gmail.com>
36851         * elf/elf.h: Add new ARM TLS relocs.
36853 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36856         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36857         cast from r3.
36858         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36859         'tests' variable.
36860         * sysdeps/wordsize-64/tst-writev.c: New file.
36862 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36864         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36865         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36866         insns in _dl_start to prevent a TOC reference before relocs are
36867         resolved.
36869 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36871         [BZ #12469]
36872         * Makeconfig: Remove RANLIB definition.
36873         * Makerules: Don't use RANLIB.
36874         * aclocal.m4: Remove ranlib test.
36875         * configure.in: No need to check for ranlib.
36876         * elf/rtld-Rules: Don't use RANLIB.
36878 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36880         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36881         protection macro.
36882         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36883         inclusion protection macro.
36885         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36886         SIGRTMIN and SIGRTMAX and print information in that case only when
36887         SIGRTMIN is defined.
36889 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36891         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36892         arginfo fn returning -1.
36894         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36895         and thousands string is zero terminated.
36897 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36900         sysdeps/unix/sysv/linux/bits/socket.h.
36902 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36904         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36905         (__CPU_COUNT): Remove old macros.
36906         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36907         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36908         (__CPU_ALLOC, __CPU_FREE): Add macros.
36909         (__sched_cpualloc, __sched_cpufree): Add declarations.
36911 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36913         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36914         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36915         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36916         (readdhstai): Return value of addhstaiX call.
36917         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36918         (addgrbyX): Return value returned by cache_addgr.
36919         (readdgrbyname): Return value returned by addgrbyX.
36920         (readdgrbygid): Likewise.
36921         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36922         (addpwbyX): Return value returned by cache_addpw.
36923         (readdpwbyname): Return value returned by addhstbyX.
36924         (readdpwbyuid): Likewise.
36925         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36926         (addservbyX): Return value returned by cache_addserv.
36927         (readdservbyname): Return value returned by addservbyX:
36928         (readdservbyport): Likewise.
36929         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36930         (addhstbyX): Return value returned by cache_addhst.
36931         (readdhstbyname): Return value returned by addhstbyX.
36932         (readdhstbyaddr): Likewise.
36933         (readdhstbynamev6): Likewise.
36934         (readdhstbyaddrv6): Likewise.
36935         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36936         (readdinitgroups): Return value returned by addinitgroupsX.
36937         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36938         (prune_cache): Keep track of timeout value of re-added entries.
36939         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36940         * nscd/nscd.h: Adjust prototypes of readd* functions.
36942 2011-02-04  Roland McGrath  <roland@redhat.com>
36944         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36945         (nis_stats): Likewise.
36946         * nis/nis_modify.c (nis_modify): Likewise.
36947         * nis/nis_remove.c (nis_remove): Likewise.
36948         * nis/nis_add.c (nis_add): Likewise.
36950         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36952         * posix/fnmatch_loop.c: Add some consts.
36954         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36956 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36958         [BZ #12460]
36959         * config.make.in (config-cflags-novzeroupper): Define.
36960         * configure.in: Substitute libc_cv_cc_novzeroupper.
36961         * elf/Makefile (AVX-CFLAGS): Define.
36962         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36963         (CFLAGS-tst-auditmod4a.c): Likewise.
36964         (CFLAGS-tst-auditmod4b.c): Likewise.
36965         (CFLAGS-tst-auditmod6b.c): Likewise.
36966         (CFLAGS-tst-auditmod6c.c): Likewise.
36967         (CFLAGS-tst-auditmod7b.c): Likewise.
36968         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36970 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36972         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36973         function to the callback.
36974         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36976 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36978         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36979         of errno.
36981 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36983         [BZ #11724]
36984         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36985         of constructors.
36986         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36987         of destructors.
36988         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36990         [BZ #11724]
36991         * elf/Makefile: Add rules to build and run new test.
36992         * elf/tst-initorder.c: New file.
36993         * elf/tst-initorder.exp: New file.
36994         * elf/tst-initordera1.c: New file.
36995         * elf/tst-initordera2.c: New file.
36996         * elf/tst-initordera3.c: New file.
36997         * elf/tst-initordera4.c: New file.
36998         * elf/tst-initorderb1.c: New file.
36999         * elf/tst-initorderb2.c: New file.
37000         * elf/tst-order-a1.c: New file.
37001         * elf/tst-order-a2.c: New file.
37002         * elf/tst-order-a3.c: New file.
37003         * elf/tst-order-a4.c: New file.
37004         * elf/tst-order-b1.c: New file.
37005         * elf/tst-order-b2.c: New file.
37006         * elf/tst-order-main.c: New file.
37007         New test case by George Gensure <werkt0@gmail.com>.
37009 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37012         decoding ACE if AI_CANONIDN.
37014 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37016         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37018 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37020         * version.h (RELEASE): Bump for 2.13 release.
37021         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37023         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37025         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37026         MADV_NOHUGEPAGE.
37027         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37028         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37029         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37030         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37031         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37032         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37034         * posix/getconf.c: Update copyright year.
37035         * catgets/gencat.c: Likewise.
37036         * csu/version.c: Likewise.
37037         * debug/catchsegv.sh: Likewise.
37038         * debug/xtrace.sh: Likewise.
37039         * elf/ldconfig.c: Likewise.
37040         * elf/ldd.bash.in: Likewise.
37041         * elf/sprof.c (print_version): Likewise.
37042         * iconv/iconv_prog.c: Likewise.
37043         * iconv/iconvconfig.c: Likewise.
37044         * locale/programs/locale.c: Likewise.
37045         * locale/programs/localedef.c: Likewise.
37046         * malloc/memusage.sh: Likewise.
37047         * malloc/mtrace.pl: Likewise.
37048         * nscd/nscd.c (print_version): Likewise.
37049         * nss/getent.c: Likewise.
37051         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37052         PF_CAIF, and PF_ALG.
37053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37055 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37057         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37058         (modules-names): Use them.
37059         (ifunc-test-modules, ifunc-pie-tests): Define.
37060         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37061         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37062         (test-extras): Likewise.
37063         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37064         $(compile-command.c).
37065         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37066         (all-built-dso): Define.
37067         (check-textrel.out, check-execstack.out): Depend on it.
37069         * configure.in: Don't override --enable-multi-arch.
37071 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37073         [BZ #6812]
37074         * nscd/hstcache.c (tryagain): Define.
37075         (cache_addhst): Return tryagain not notfound for temporary errors.
37076         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37077         failed.
37079 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37081         [BZ #10563]
37082         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37083         to make the syscall.
37084         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37086         [BZ #12378]
37087         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37088         and fall back to matching as normal character if the string ends before
37089         the matching ']' is found.  This is what POSIX requires.
37090         * posix/testfnm.c: Adjust test result.
37091         * posix/globtest.sh: Adjust test result.  Add new test.
37092         * posix/tst-fnmatch.input: Likewise.
37093         * posix/tst-fnmatch2.c: Add new test.
37095 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37097         * elf/Makefile (check-execstack): Revert last change.  Depend on
37098         check-execstack.h.
37099         (check-execstack.h): New target.
37100         (generated): Add check-execstack.h.
37101         * elf/check-execstack.c: Include "check-execstack.h".
37102         (main): Revert last change.
37103         (handle_file): Return zero if GNU_STACK is absent and
37104         DEFAULT_STACK_PERMS doesn't include PF_X.
37106 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37108         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37109         in child fails because the descriptor is already closed.
37110         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37111         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37112         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37114         [BZ #12397]
37115         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37116         syscall.
37118         [BZ #10484]
37119         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37120         temporary buffer used to handle multi lookups locally.
37121         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37123 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37125         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37126         loader is ld.so.
37128 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37130         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37131         alignment for SSE2.
37133 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37135         [BZ #12394]
37136         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37137         characters.  When rounding increased number of integer digits recompute
37138         number of groups.
37139         * stdio-common/tst-grouping.c: New file.
37140         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37142 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37144         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37145         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37147         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37148         void.
37149         * bits/select.h: Likewise.
37151 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37153         * po/ja.po: Update from translation team.
37155 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37157         [BZ #11155]
37158         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37159         implementation just like for lxstat, fxstatat, et al.
37161 2010-12-27  Jim Meyering  <meyering@redhat.com>
37163         [BZ #12348]
37164         * posix/regexec.c (build_trtable): Return failure indication upon
37165         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37167 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37169         [BZ #12201]
37170         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37171         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37172         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37173         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37175         [BZ #12207]
37176         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37178         [BZ #12204]
37179         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37180         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37182 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37184         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37185         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37186         script has SORT_BY_INIT_PRIORITY.
37187         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37188         NO_CTORS_DTORS_SECTIONS is defined.
37189         * elf/soinit.c: Likewise.
37190         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37191         NO_CTORS_DTORS_SECTIONS is defined.
37192         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37193         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37194         * sysdeps/sh/init-first.c: Likewise.
37195         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37197 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37199         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37200         always use the slow path.
37202 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37204         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37205         similar rule which adds the sysdep directories to the header search in
37206         order to pick up the correct platform stackinfo.h.
37207         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37208         perform test if it is, otherwise return successfully without testing.
37209         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37210         DEFAULT_STACK_PERMS define in stackinfo.h.
37211         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37212         defined in stackinfo.h.
37213         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37214         DEFAULT_STACK_PERMS defined in stackinfo.h.
37215         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37216         * sysdeps/ia64/stackinfo.h: Likewise.
37217         * sysdeps/s390/stackinfo.h: Likewise.
37218         * sysdeps/sh/stackinfo.h: Likewise.
37219         * sysdeps/sparc/stackinfo.h: Likewise.
37220         * sysdeps/x86_64/stackinfo.h: Likewise.
37221         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37222         PF_X for powerpc64.  Retain PF_X for powerpc32.
37224 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37226         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37227         accurately.
37228         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37229         GETDENTS_64BIT_ALIGNED.
37231 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37233         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37235 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37237         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37238         _GNU_SOURCE.
37240         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37241         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37242         Remove __restrict.
37243         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37244         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37246 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37248         [BZ #11655]
37249         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37250         are initialized.
37252 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37254         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37256 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37258         * po/it.po: Update from translation team.
37260 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37262         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37263         unused codes.
37265 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37267         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37269 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37271         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37272         specially.
37273         (gaih_getanswer_slice): Likewise.
37275 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37277         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37279 2010-05-31  Petr Baudis  <pasky@suse.cz>
37281         [BZ #11149]
37282         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37283         silently even in the chroot mode.
37285 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37287         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37288         last patch a bit.  Pretty printing
37290 2010-05-31  Petr Baudis <pasky@suse.cz>
37292         [BZ #10085]
37293         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37294         initialization of skip_initgroups_dyn.
37296 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37298         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37299         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37301 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37303         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37305 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37307         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37308         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37309         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37310         ($(objpfx)tst-fnmatch-mem): New rule.
37311         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37312         * posix/tst-fnmatch.c (main): Call mtrace.
37314 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37317         Support Intel processor model 6 and model 0x2c.
37319 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37321         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37322           signed comparison.
37324 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37326         [BZ #12205]
37327         * string/test-strncasecmp.c (check_result): New function.
37328         (do_one_test): Use it.
37329         (check1): New function.
37330         (test_main): Use it.
37331         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37332         Support strcasecmp and strncasecmp.
37334 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37336         [BZ #12194]
37337         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37338         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37340 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37342         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37343         IFUNC support.
37344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37345         memset-x86-64.
37346         * sysdeps/x86_64/multiarch/bzero.S: New file.
37347         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37348         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37349         * sysdeps/x86_64/multiarch/memset.S: New file.
37350         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37352         Set bit_Prefer_SSE_for_memop for Intel processors.
37353         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37354         Define.
37355         (index_Prefer_SSE_for_memop): Define.
37356         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37358 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37360         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37361         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37363 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37365         [BZ #12191]
37366         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37367         (__x86_64_raw_data_cache_size_half): Likewise.
37368         (__x86_64_raw_shared_cache_size): Likewise.
37369         (__x86_64_raw_shared_cache_size_half): Likewise.
37371         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37372         (__x86_64_raw_data_cache_size_half): Likewise.
37373         (__x86_64_raw_shared_cache_size): Likewise.
37374         (__x86_64_raw_shared_cache_size_half): Likewise.
37375         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37376         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37377         and __x86_64_raw_shared_cache_size_half.  Round
37378         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37379         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37380         to multiple of 256 bytes.
37382 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37384         [BZ #12167]
37385         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37386         of inacessible symlinks.  Verify result of symlink before returning it.
37387         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37388         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37390 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37392         * math/math.h (isinf): Fix typo in comment.
37394 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37396         * po/da.po: Update from translation team.
37398 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37400         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37401         is added to the list.
37403 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37404             Ulrich Drepper  <drepper@gmail.com>
37406         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37407         the global list here.  Move code to...
37408         (_dl_add_to_namespace_list): ...here.  New function.
37409         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37410         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37411         * elf/dl-load.c (lose): Don't remove the element from the list.
37412         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37413         (_dl_map_object): Likewise.
37415 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37417         [BZ #12159]
37418         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37419         into all bytes of SSE register.
37420         Patch by Richard Li <richardpku@gmail.com>.
37422 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37424         [BZ #12140]
37425         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37426         perturbing.
37428 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37430         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37431         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37432         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37433         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37435         submachine.
37436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37438 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37440         * include/dlfcn.h (__RTLD_SECURE): Define.
37441         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37442         mode & __RTLD_SECURE instead.
37443         (open_path): Rename preloaded parameter to secure.
37444         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37445         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37446         * elf/dl-deps.c (openaux): Likewise.
37447         * elf/rtld.c (struct map_args): Remove is_preloaded.
37448         (map_doit): Don't use it.
37449         (dl_main): Likewise.
37450         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37451         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37453 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37455         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37456         (sysd-rules-targets): Remove duplicates.
37457         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37458         rtld-%.$o dependency.
37460 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37462         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37463         _dl_map_object do it.
37465 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37467         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37468         fast fma builtins, define the macros in the C99 standard.
37469         (FP_FAST_FMAF): Likewise.
37470         (FP_FAST_FMAL): Likewise.
37471         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37473         * bits/mathdef.h: Update copyright year.
37474         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37476 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37478         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37479         builtins, define the macros in the C99 standard.
37480         (FP_FAST_FMAF): Likewise.
37481         (FP_FAST_FMAL): Likewise.
37482         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37483         multiply/add.
37484         (FP_FAST_FMAF): Likewise.
37486 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37488         [BZ #3268]
37489         * math/libm-test.inc (fma_test): Some new testcases.
37490         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37491         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37492         y and infinite z.  Do multiplication by C already in long double.
37493         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37495         y and infinite z.  Do bitwise or of inexact bit into u.d.
37496         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37497         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37498         * sysdeps/i386/fpu/s_fma.S: Removed.
37499         * sysdeps/i386/fpu/s_fmal.S: Removed.
37501 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37503         [BZ #3268]
37504         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37506         computation is not scheduled after fetestexcept.  Fix value
37507         of minimum denormal long double.
37509 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37511         [BZ #3268]
37512         * math/libm-test.inc (fma_test): Add some more tests.
37513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37514         correctly.
37516 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37518         * scripts/data/localplt-s390-linux-gnu.data: New file.
37519         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37521 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37523         [BZ #3268]
37524         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37525         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37526         instead of dbl-64.
37527         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37528         inlines.
37529         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37531         if one of x and y is very large and the other is subnormal.
37532         * sysdeps/s390/fpu/s_fmaf.c: New file.
37533         * sysdeps/s390/fpu/s_fma.c: New file.
37534         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37535         * sysdeps/powerpc/fpu/s_fma.S: New file.
37536         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37537         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37538         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37540 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37542         [BZ #3268]
37543         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37544         fma tests.
37545         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37546         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37547         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37548         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37549         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37550         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37551         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37553 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37555         [BZ #12078]
37556         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37557         * posix/bug-regex31.input: Add test case.
37559 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37561         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37562         * posix/bug-regex31.input: New file.
37564         [BZ #12078]
37565         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37566         (parse_sub_exp): Fix last change, use postorder.
37568         * posix/bug-regex31.c: New file.
37569         * posix/Makefile: Add rules to build and run bug-regex31.
37571         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37573         [BZ #12078]
37574         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37576         [BZ #12108]
37577         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37578         to have entries in sys_siglist.
37580         [BZ #12093]
37581         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37582         be NULL.
37584 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37586         [BZ #3268]
37587         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37588         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37589         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37590         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37591         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37592         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37593         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37594         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37595         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37596         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37597         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37598         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37599         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37600         * math/ftestexcept.c (fetestexcept): Likewise.
37601         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37602         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37603         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37604         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37605         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37606         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37607         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37609 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37611         [BZ #12107]
37612         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37613         newline.
37615 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37617         * string/bug-strstr1.c: New file.
37618         * string/Makefile: Add rules to build and run bug-strstr1.
37620 2010-10-05  Eric Blake  <eblake@redhat.com>
37622         [BZ #12092]
37623         * string/str-two-way.h (two_way_long_needle): Always clear memory
37624         when skipping input due to the shift table.
37626 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37628         [BZ #12005]
37629         * malloc/mcheck.c: Handle large requests.
37631         [BZ #12077]
37632         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37633         for strncmp and strncasecmp.
37634         * string/stratcliff.c: Add tests for strcmp and strncmp.
37635         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37637 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37639         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37640         __set_fpscr.
37642 2010-09-30  Andreas Jaeger  <aj@suse.de>
37644         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37645         (CGROUP_SUPER_MAGIC): Define.
37646         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37647         Handle btrfs and cgroup file systems.
37648         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37649         Likewise.
37651 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37653         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37654         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37656 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37658         [BZ #12067]
37659         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37660         trying to locate the ELF header.
37662 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37664         [BZ #11611]
37665         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37666         Mask out sign-bit copies when constructing f_fsid.
37668 2010-09-24  Petr Baudis <pasky@suse.cz>
37670         * debug/stack_chk_fail_local.c: Add missing licence exception.
37671         * debug/warning-nop.c: Likewise.
37673 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37675         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37676         implementing getdents64 using getdents syscall, set d_type if
37677         __ASSUME_GETDENTS32_D_TYPE.
37679 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37681         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37682         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37684 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37686         [BZ #12037]
37687         * posix/unistd.h: Undo change of feature selection for ftruncate from
37688         2010-01-11.
37690 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37692         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37693         detection.
37695 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37697         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37698         fanotify_mark.
37699         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37701 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37703         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37704         variables after CHECK_SP call.
37705         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37707 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37708             Ulrich Drepper  <drepper@redhat.com>
37710         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37711         re-relocationg ld.so.
37712         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37713         _dl_init_paths call.
37714         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37715         here anymore.
37717 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37719         * resolv/res_init.c (__res_vinit): Count the default server we added.
37721 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37722             Ulrich Drepper  <drepper@redhat.com>
37724         [BZ #11968]
37725         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37726         (____longjmp_chk): Use %ebx for saving value across system call.
37727         Add unwind info.
37729 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37731         * manual/Makefile: Don't mix pattern rules with normal rules.
37733 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37735         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37736         operation.
37737         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37738         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37739         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37740         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37741         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37742         Likewise.
37744 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37746         [BZ #11979]
37747         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37748         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37750 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37752         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37753         * sysdeps/x86_64/addmul_1.S: Likewise.
37754         * sysdeps/x86_64/lshift.S: Likewise.
37755         * sysdeps/x86_64/mul_1.S: Likewise.
37756         * sysdeps/x86_64/rshift.S: Likewise.
37757         * sysdeps/x86_64/sub_n.S: Likewise.
37758         * sysdeps/x86_64/submul_1.S: Likewise.
37760 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37762         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37763         Define __sched_param instead of SCHED_* and sched_param when
37764         <bits/sched.h> is included with __need_schedparam defined.
37765         * bits/sched.h [__need_schedparam]
37766         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37767         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37768         (__defined_schedparam): Define to 1.
37769         (__sched_param): New structure, identical to sched_param.
37770         (__need_schedparam): Undefine.
37772 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37774         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37775         (epoll_create1): Declare.
37777         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37779 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37781         [BZ #7066]
37782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37783         shifting retval into place.
37785 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37787         * nis/rpcsvc/nis.h: Update copyright notice.
37788         * nis/rpcsvc/nis.x: Likewise.
37789         * nis/rpcsvc/nis_callback.h: Likewise.
37790         * nis/rpcsvc/nis_callback.x: Likewise.
37791         * nis/rpcsvc/nis_object.x: Likewise.
37792         * nis/rpcsvc/nis_tags.h: Likewise.
37793         * nis/rpcsvc/yp.h: Likewise.
37794         * nis/rpcsvc/yp.x: Likewise.
37795         * nis/rpcsvc/ypupd.h: Likewise.
37796         * nis/yp_xdr.c: Likewise.
37797         * nis/ypupdate_xdr.c: Likewise.
37799         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37800         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37801         (pmap_getport): Use __libc_rpc_getport.
37802         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37803         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37804         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37806 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37809         fanotify_mark.
37811 2010-08-27  Roland McGrath  <roland@redhat.com>
37813         * sysdeps/i386/i686/multiarch/Makefile
37814         (CFLAGS-varshift.c): New variable.
37816 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37818         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37819         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37821         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37823         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37825 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37827         * sysdeps/x86_64/strlen.S: Unroll the loop.
37828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37829         strlen-sse2 strlen-sse2-bsf.
37830         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37831         __strlen_no_bsf if bit_Slow_BSF is set.
37832         (__strlen_sse42): Removed.
37833         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37834         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37836 2010-08-25  Roland McGrath  <roland@redhat.com>
37838         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37839         * sysdeps/x86_64/multiarch/varshift.c: New file.
37840         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37841         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37842         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37843         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37845 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37847         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37848         strlen-sse2 strlen-sse2-bsf.
37849         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37850         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37851         (__strlen_sse2): Removed.
37852         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37853         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37855         bit_Slow_BSF for Atom.
37856         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37857         (index_Slow_BSF): Define.
37858         (HAS_SLOW_BSF): Define.
37860 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37862         [BZ #10851]
37863         * resolv/res_init.c (__res_vinit): When no server address at all
37864         is given default to loopback.
37866 2010-08-24  Roland McGrath  <roland@redhat.com>
37868         * configure.in: Remove config-name.h generation.
37869         * configure: Regenerated.
37870         * config-name.in: File removed.
37871         * scripts/config-uname.sh: New file.
37872         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37873         ($(objdir)config-name.h): New target.
37875         * sunrpc/rpc_parse.h: Avoid nested comment.
37877 2010-08-24  Richard Henderson  <rth@redhat.com>
37878             Ulrich Drepper  <drepper@redhat.com>
37879             H.J. Lu  <hongjiu.lu@intel.com>
37881         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37883         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37884         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37885         _mm_alignr_epi8 with _mm_loadu_si128.
37886         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37887         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37888         (__m128i_shift_right): Removed.
37889         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37890         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37891         * sysdeps/x86_64/multiarch/varshift.h: New file.
37892         * sysdeps/x86_64/multiarch/varshift.S: New file.
37894 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37896         * configure.in: Move assembler checks to before sysdep dir checking.
37898 2010-08-20  Petr Baudis  <pasky@suse.cz>
37900         * LICENSES: Sync the sunrpc license.
37902 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37904         * sunrpc/auth_des.c: Update copyright notice once again.
37905         * sunrpc/auth_none.c: Likewise.
37906         * sunrpc/auth_unix.c: Likewise.
37907         * sunrpc/authdes_prot.c: Likewise.
37908         * sunrpc/authuxprot.c: Likewise.
37909         * sunrpc/bindrsvprt.c: Likewise.
37910         * sunrpc/clnt_gen.c: Likewise.
37911         * sunrpc/clnt_perr.c: Likewise.
37912         * sunrpc/clnt_raw.c: Likewise.
37913         * sunrpc/clnt_simp.c: Likewise.
37914         * sunrpc/clnt_tcp.c: Likewise.
37915         * sunrpc/clnt_udp.c: Likewise.
37916         * sunrpc/clnt_unix.c: Likewise.
37917         * sunrpc/des_crypt.c: Likewise.
37918         * sunrpc/des_soft.c: Likewise.
37919         * sunrpc/get_myaddr.c: Likewise.
37920         * sunrpc/getrpcport.c: Likewise.
37921         * sunrpc/key_call.c: Likewise.
37922         * sunrpc/key_prot.c: Likewise.
37923         * sunrpc/openchild.c: Likewise.
37924         * sunrpc/pm_getmaps.c: Likewise.
37925         * sunrpc/pm_getport.c: Likewise.
37926         * sunrpc/pmap_clnt.c: Likewise.
37927         * sunrpc/pmap_prot.c: Likewise.
37928         * sunrpc/pmap_prot2.c: Likewise.
37929         * sunrpc/pmap_rmt.c: Likewise.
37930         * sunrpc/rpc/auth.h: Likewise.
37931         * sunrpc/rpc/auth_unix.h: Likewise.
37932         * sunrpc/rpc/clnt.h: Likewise.
37933         * sunrpc/rpc/des_crypt.h: Likewise.
37934         * sunrpc/rpc/key_prot.h: Likewise.
37935         * sunrpc/rpc/netdb.h: Likewise.
37936         * sunrpc/rpc/pmap_clnt.h: Likewise.
37937         * sunrpc/rpc/pmap_prot.h: Likewise.
37938         * sunrpc/rpc/pmap_rmt.h: Likewise.
37939         * sunrpc/rpc/rpc.h: Likewise.
37940         * sunrpc/rpc/rpc_des.h: Likewise.
37941         * sunrpc/rpc/rpc_msg.h: Likewise.
37942         * sunrpc/rpc/svc.h: Likewise.
37943         * sunrpc/rpc/svc_auth.h: Likewise.
37944         * sunrpc/rpc/types.h: Likewise.
37945         * sunrpc/rpc/xdr.h: Likewise.
37946         * sunrpc/rpc_clntout.c: Likewise.
37947         * sunrpc/rpc_cmsg.c: Likewise.
37948         * sunrpc/rpc_common.c: Likewise.
37949         * sunrpc/rpc_cout.c: Likewise.
37950         * sunrpc/rpc_dtable.c: Likewise.
37951         * sunrpc/rpc_hout.c: Likewise.
37952         * sunrpc/rpc_main.c: Likewise.
37953         * sunrpc/rpc_parse.c: Likewise.
37954         * sunrpc/rpc_parse.h: Likewise.
37955         * sunrpc/rpc_prot.c: Likewise.
37956         * sunrpc/rpc_sample.c: Likewise.
37957         * sunrpc/rpc_scan.c: Likewise.
37958         * sunrpc/rpc_scan.h: Likewise.
37959         * sunrpc/rpc_svcout.c: Likewise.
37960         * sunrpc/rpc_tblout.c: Likewise.
37961         * sunrpc/rpc_util.c: Likewise.
37962         * sunrpc/rpc_util.h: Likewise.
37963         * sunrpc/rpcinfo.c: Likewise.
37964         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37965         * sunrpc/rpcsvc/key_prot.x: Likewise.
37966         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37967         * sunrpc/rpcsvc/mount.x: Likewise.
37968         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37969         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37970         * sunrpc/rpcsvc/rex.x: Likewise.
37971         * sunrpc/rpcsvc/rstat.x: Likewise.
37972         * sunrpc/rpcsvc/rusers.x: Likewise.
37973         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37974         * sunrpc/rpcsvc/spray.x: Likewise.
37975         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37976         * sunrpc/rtime.c: Likewise.
37977         * sunrpc/svc.c: Likewise.
37978         * sunrpc/svc_auth.c: Likewise.
37979         * sunrpc/svc_authux.c: Likewise.
37980         * sunrpc/svc_raw.c: Likewise.
37981         * sunrpc/svc_run.c: Likewise.
37982         * sunrpc/svc_simple.c: Likewise.
37983         * sunrpc/svc_tcp.c: Likewise.
37984         * sunrpc/svc_udp.c: Likewise.
37985         * sunrpc/svc_unix.c: Likewise.
37986         * sunrpc/svcauth_des.c: Likewise.
37987         * sunrpc/xcrypt.c: Likewise.
37988         * sunrpc/xdr.c: Likewise.
37989         * sunrpc/xdr_array.c: Likewise.
37990         * sunrpc/xdr_float.c: Likewise.
37991         * sunrpc/xdr_mem.c: Likewise.
37992         * sunrpc/xdr_rec.c: Likewise.
37993         * sunrpc/xdr_ref.c: Likewise.
37994         * sunrpc/xdr_sizeof.c: Likewise.
37995         * sunrpc/xdr_stdio.c: Likewise.
37997         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37998         handling.
38000 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38002         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38004 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38006         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38007         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38008         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38009         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38010         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38011         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38012         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38013         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38014         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38015         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38016         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38017         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38018         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38019         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38021 2010-07-26  Anton Blanchard  <anton@samba.org>
38023         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38024         * malloc/arena.c (heap_trim): Likewise.
38026 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38028         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38029         here.  Not...
38030         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38031         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38033 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38035         * sysdeps/i386/elf/Makefile: New file.
38037 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38039         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38040         from fanotify_init.
38041         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38042         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38044 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38046         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38047         of strncasecmp_l.
38048         * sysdeps/multiarch/strcmp.S: Likewise.
38050 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38052         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38053         strncase_l-nonascii.
38054         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38055         Add strncase_l-ssse3.
38056         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38057         * sysdeps/x86_64/strcmp.S: Likewise.
38058         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38059         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38060         * sysdeps/x86_64/strncase.S: New file.
38061         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38062         * sysdeps/x86_64/strncase_l.S: New file.
38063         * string/Makefile (strop-tests): Add strncasecmp.
38064         * string/test-strncasecmp.c: New file.
38066         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38067         warning.
38069         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38070         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38072 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38074         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38076 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38078         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38079         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38080         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38082 2010-05-01  Alan Modra  <amodra@gmail.com>
38084         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38085         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38086         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38087         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38088         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38089         tidying.  Don't tail-call __sigjmp_save for static lib.
38090         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38091         save location.
38092         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38093         (CALL_MCOUNT): Add eh info, and nop after bl.
38094         (TAIL_CALL_SYSCALL_ERROR): New macro.
38095         (PSEUDO_RET): Use it.
38096         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38097         Correct save location of integer regs and cr.
38098         (_dl_profile_resolve): Correct cr save location.  Delete nops
38099         after bl when SHARED.  Reduce cfi size a little by better
38100         placement of cfi directives.
38101         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38102         make a stack frame.  Instead use parm save area as a temp.
38103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38104         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38106         Don't make a stack frame for parent, use parm save area.
38107         Increase child stack frame to 112 bytes.  Don't save unused reg,
38108         and adjust reg usage.  Set up cfi on error recovery and
38109         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38111         (__makecontext): Add dummy nop after jump to exit.
38112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38113         Use correct parm save area and cr save, reduce stack frame.
38114         Correct cfi for possible PSEUDO_RET frame setup.
38115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38116         Branch to local label emitted by PSEUDO_RET rather than
38117         __syscall_error.
38119 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38121         [BZ #11904]
38122         * locale/programs/locale.c (print_assignment): New function.
38123         (show_locale_vars): Use it.
38125 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38127         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38128         field.
38129         (struct statfs64): Likewise.
38130         (_STATFS_F_FLAGS): Define.
38131         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38132         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38133         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38134         (ST_VALID): Define locally.
38135         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38136         __statvfs_getflags, use the provided value.
38137         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38138         __ASSUME_STATFS_F_FLAGS.
38140         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38142         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38143         Add sys/fanotify.h.
38144         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38145         fanotify_mask for GLIBC_2.13.
38146         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38147         fanotify_init and fanotify_mark.
38148         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38149         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38151         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38152         Add prlimit.
38153         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38154         prlimit64 for GLIBC_2.13.
38155         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38156         prlimit64.
38157         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38158         syscall.
38159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38160         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38161         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38162         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38163         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38164         add prlimit alias.
38165         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38167         [BZ #11903]
38168         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38169         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38171         * nss/Makefile: Add rules to build and run tst-nss-test1.
38172         * shlib-versions: Add entry for libnss_test1.
38173         * nss/nss_test1.c: New file.
38174         * nss/tst-nss-test1.c: New file.
38176         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38177         (__nss_configure_lookup): Set appropriate entry in
38178         __nss_configure_lookup to true.
38179         * nss/nsswitch.h: Define enum with indeces of databases in
38180         databases and __nss_database_custom arrays.  Declare
38181         __nss_database_custom.
38182         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38183         to avoid using nscd when custom rules are installed.
38184         * nss/getXXbyYY_r.c: Likewise.
38185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38187         * nss/nss_files/files-parse.c: Whitespace fixes.
38189 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38191         [BZ #11883]
38192         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38193         * posix/fnmatch_loop.c: Likewise.
38195 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38197         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38198         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38199         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38200         * Versions.def [GLIBC_2.13]: Add.
38202 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38204         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38205         Also fail if tpwd after pwuid call is NULL.
38207 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38209         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38210         when converting to ms.
38212 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38214         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38215         EOPNOTSUPP errors with ENOTTY.
38216         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38217         EOPNOTSUPP errors with ENOTTY.
38219 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38221         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38222         Add strcasecmp_l-ssse3.
38223         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38224         strcasecmp.
38225         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38226         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38227         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38229 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38231         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38233         * string/Makefile (strop-tests): Add strcasecmp.
38234         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38235         strcasecmp_l-nonascii.
38236         (gen-as-const-headers): Add locale-defines.sym.
38237         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38238         * sysdeps/x86_64/strcasecmp.S: New file.
38239         * sysdeps/x86_64/strcasecmp_l.S: New file.
38240         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38241         * sysdeps/x86_64/locale-defines.sym: New file.
38242         * string/test-strcasecmp.c: New file.
38244         * string/test-strcasestr.c: Test both ends of the range of characters.
38245         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38247 2010-07-29  Roland McGrath  <roland@redhat.com>
38249         [BZ #11856]
38250         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38252 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38254         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38255         for ld.so.
38257 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38259         * manual/memory.texi (Malloc Tunable Parameters): Document
38260         M_PERTURB.
38262 2010-07-26  Roland McGrath  <roland@redhat.com>
38264         [BZ #11840]
38265         * configure.in (-fgnu89-inline check): Set and substitute
38266         gnu89_inline, not libc_cv_gnu89_inline.
38267         * configure: Regenerated.
38268         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38270 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38272         * string/test-strnlen.c: New file.
38273         * string/Makefile (strop-tests): Add strnlen.
38274         * string/tester.c (test_strnlen): Add a few more test cases.
38275         * string/tst-strlen.c: Better error reporting.
38277         * sysdeps/x86_64/strnlen.S: New file.
38279 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38281         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38282         lower-latency instructions.
38284 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38286         * string/test-strcasestr.c: New file.
38287         * string/test-strstr.c: New file.
38288         * string/Makefile (strop-tests): Add strstr and strcasestr.
38289         * string/str-two-way.h: Don't undefine MAX.
38290         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38292 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38294         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38295         strcasestr-nonascii.
38296         (CFLAGS-strcasestr-nonascii.c): Define.
38297         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38298         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38299         Remove unused attribute.
38301 2010-07-20  Roland McGrath  <roland@redhat.com>
38303         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38304         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38305         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38306         like LD_HWCAP_MASK can disable hwcaps.
38308 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38310         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38312 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38314         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38315         call in strcasestr.
38316         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38317         __strcasestr_sse42_nonascii.
38318         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38319         strcasestr-nonascii.c.
38320         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38322 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38324         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38325         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38326         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38327         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38329 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38331         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38332         fcntl.
38334 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38336         [BZ #11577]
38337         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38338         dl_signal_cerror.
38340 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38342         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38343         _PC_PIPE_BUF using F_GETPIPE_SZ.
38345 2010-07-05  Roland McGrath  <roland@redhat.com>
38347         * manual/arith.texi (Rounding Functions): Fix rint description
38348         implicit in round description.
38350 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38352         * elf/Makefile: Fix linking for a few tests to make recent linker
38353         happy.
38355 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38357         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38358         $(common-objpfx)libc_nonshared.a.
38360 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38362         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38363         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38364         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38365         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38366         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38367         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38368         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38369         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38384         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38385         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38386         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38387         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38388         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38389         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38390         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38391         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38392         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38393         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38394         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38395         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38411 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38413         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38414         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38415         * string/memmove.c (memmove): Renamed to ...
38416         (MEMMOVE): ...this.  Default to memmove.
38417         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38418         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38419         (END_CHK): Define.
38420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38421         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38422         mempcpy-ssse3-back memmove-ssse3-back.
38423         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38424         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38425         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38426         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38427         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38428         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38429         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38430         * sysdeps/x86_64/multiarch/memmove.c: New file.
38431         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38432         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38433         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38434         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38435         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38436         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38437         Define.
38438         (index_Fast_Copy_Backward): Define.
38439         (HAS_ARCH_FEATURE): Define.
38440         (HAS_FAST_REP_STRING): Define.
38441         (HAS_FAST_COPY_BACKWARD): Define.
38443 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38445         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38446         Restore proper fallback handling.
38448 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38450         [BZ #11701]
38451         * posix/group_member.c (__group_member): Correct checking loop.
38453         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38454         OOM in getpwuid_r correctly.  Return error number when the caller
38455         should return, otherwise -1.
38456         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38457         call returning > 0 value.
38458         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38460 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38462         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38463         libc_nonshared.a from targets in modules-names.
38465 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38467         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38468         requires it.
38470 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38472         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38473         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38474         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38475         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38477 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38479         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38481 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38483         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38484         and F_GETPIPE_SZ.
38485         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38486         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38487         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38488         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38489         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38490         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38492 2010-06-14  Roland McGrath  <roland@redhat.com>
38494         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38496 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38498         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38499         __REDIRECT followed by __THROW.
38500         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38501         * posix/getopt.h (getopt): Likewise.
38503 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38505         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38506         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38507         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38508         in AT_FLAGS.
38509         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38510         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38512 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38514         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38516 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38518         [BZ #11640]
38519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38520         Properly check family and model.
38522 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38524         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38526 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38528         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38530 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38532         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38533         symbol reference.
38535 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38537         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38538         symbol reference.
38540 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38542         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38543         and internal_recvmmsg.
38544         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38545         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38546         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38547         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38549         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38550         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38551         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38553 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38555         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38557 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38559         POWER7 optimizations.
38560         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38561         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38563 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38565         * version.h: Update for 2.13 development version.
38567 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38569         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38570         exceptions.  Return 0.
38572 2010-05-07  Roland McGrath  <roland@redhat.com>
38574         * elf/ldconfig.c (main): Add a const.
38576 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38578         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38579         (args_options): Add no-idn option.
38580         (ahosts_keys_int): Add idn_flags to ai_flags.
38581         (parse_option): Handle 'i' option to clear idn_flags.
38583         * malloc/malloc.c (_int_free): Possible race in the most recently
38584         added check.  Only act on the data if no current modification
38585         happened.
38587 See ChangeLog.17 for earlier changes.