Update Slovenian translations
[glibc.git] / ChangeLog
blobfff84d5e6c4ce4f468c4faa75124869d9c446243
1 2014-02-03  Allan McRae  <allan@archlinux.org>
3         * po/sl.po: Update Slovenian translation from translation project.
5 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7         * manual/time.texi (timegm): Add missing blank after @c.
8         Reported by Joseph Myers <joseph@codesourcery.com>.
10 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12         * manual/check-safety.sh: New.
13         * manual/Makefile ($(objpfx)stamp-summary): Run it.
15 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17         * manual/terminal.texi: Document MTASC-safety properties.
19 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
21         * manual/filesys.texi: Document MTASC-safety properties.
23 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25         * manual/errno.texi: Document MTASC-safety properties.
27 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
29         * manual/intro.texi: Document safety identifiers and
30         conditionals.
32 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34         * manual/string.texi (wcstok): Fix prototype.
35         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39         * manual/time.texi: Document MTASC-safety properties.
41 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
43         * manual/string.texi: Document MTASC-safety properties.
45 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
47         * manual/threads.texi: Document MTASC-safety properties.
49 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51         * manual/stdio.texi: Document MTASC-safety properties.
53 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
55         * manual/syslog.texi: Document MTASC-safety properties.
57 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
59         * manual/sysinfo.texi: Document MTASC-safety properties.
61 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
63         * manual/startup.texi: Document MTASC-safety properties.
65 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
67         * manual/socket.texi: Document MTASC-safety properties.
69 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
71         * manual/signal.texi: Document MTASC-safety properties.
73 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
75         * manual/setjmp.texi: Document MTASC-safety properties.
77 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
79         * manual/search.texi: Document MTASC-safety properties.
81 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
83         * manual/resource.texi: Document MTASC-safety properties.
85 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
87         * manual/process.texi: Document MTASC-safety properties.
89 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
91         * manual/platform.texi: Document MTASC-safety properties.
93 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
95         * manual/pipe.texi: Document MTASC-safety properties.
97 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
99         * manual/pattern.texi: Document MTASC-safety properties.
101 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
103         * manual/message.texi: Document MTASC-safety properties.
105 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
107         [BZ #12751]
108         * manual/memory.texi: Document MTASC-safety properties.
110 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
112         * manual/math.texi: Document MTASC-safety properties.
114 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
116         * manual/locale.texi: Document MTASC-safety properties.
118 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
120         * manual/llio.texi: Document MTASC-safety properties.
122 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
124         * manual/libdl.texi: New.
126 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
128         * manual/lang.texi: Document MTASC-safety properties.
130 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
132         * manual/job.texi: Document MTASC-safety properties.
134 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
136         * manual/getopt.texi: Document MTASC-safety properties.
138 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
140         * manual/ctype.texi: Document MTASC-safety properties.
142 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
144         [BZ #16046]
145         * csu/libc-tls.c (static_map): Remove variable.
146         (__libc_setup_tls): Use main executable's link map for TLS data.
147         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
148         casing for LM_ID_BASE and GL(dl_nns).
149         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
150         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
151         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
152         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
153         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
154         member.
155         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
156         l_phnum members.
158 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
160         * manual/debug.texi: Document MTASC-safety properties.
162 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
164         [BZ #16510]
165         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
166         of __x86_64__ when disabling x87 inline functions.
168 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
170         * manual/charset.texi: Document MTASC-safety properties.
172 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
174         * manual/crypt.texi: Document MTASC-safety properties.
176 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
178         * manual/conf.texi: Document MTASC-safety properties.
180 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
182         * manual/arith.texi: Document MTASC-safety properties.
184 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
186         * manual/argp.texi: Document MTASC-safety properties.
188 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
190         * manual/macros.texi: Introduce macros to document multi
191         thread, asynchronous signal and asynchronous cancellation
192         safety properties.
193         * manual/intro.texi: Introduce the properties themselves.
195 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
197         * sysdeps/sh/sh4/Makefile: New file.
199 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
201         * math/gen-libm-test.pl ($srcdir): New variable.
202         ($auto_input): Use it.
204 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
206         [BZ #16506]
207         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
208         access beyond array bounds when parsing netgroups file.
210         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
211         the old buffer before realloc.
213 2014-01-27  Allan McRae  <allan@archlinux.org>
215         * po/fr.po: Update French translation from translation project.
217 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
219         * sysdeps/sh/libm-test-ulps: Regenerate.
221 2014-01-24  David S. Miller  <davem@davemloft.net>
223         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
225 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
227         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
228         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
230 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
232         [BZ #16474]
233         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
234         string pointers after reallocation.
236 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
238         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
239         __SH4A__ instead of __SH_FPU_ANY__.
241 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
243         * sysdeps/sh/fpu_control.h: New file.
244         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
245         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
246         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
247         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
248         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
249         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
250         * sysdeps/sh/sys/ucontext.h: Remove.
251         * sysdeps/sh/sys: Remove directory.
253 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
255         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
256         s390/sys/ucontext.h.
257         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
258         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
260 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
262         [BZ #15605]
263         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
265 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
267         [BZ#16431]
268         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
269         Adjust the vDSO correctly for internal calls.
270         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
272 2014-01-20  Allan McRae  <allan@archlinux.org>
274         * po/ca.po: Update Catalan translation from translation project.
276 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
278         * sysdeps/s390/sotruss-lib.c: New file.
280 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
282         [BZ#16430]
283         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
284         (__GI___gettimeofday): Alias for a different internal symbol to avoid
285         local calls issues by not having a PLT stub required for IFUNC calls.
286         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
288 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
290         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
291         * math/test-fpucw-static.c: Likewise.
293 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
295         [BZ #16453]
296         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
298 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
300         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
301         implementation for powerpc.
303 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
305         [BZ #14782]
306         * sysdeps/posix/system.c (__libc_system): Do not enable
307         asynchronous cancellation.
309 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
311         [BZ #16427]
312         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
313         handling only for numbers special also in the IEEE case.
315 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
317         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
319 2014-01-11  Allan McRae  <allan@archlinux.org>
321         * po/bg.po: Update Bulgarian translation from translation project.
323         * po/de.po: Update German translation from translation project.
325 2014-01-10  Roland McGrath  <roland@hack.frob.com>
327         * sysdeps/generic/gcc-compat.h: New file.
329 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
331         * benchtests/asin-inputs: Correct slow inputs.
332         * benchtests/acos-inputs: Likewise.
334 2014-01-10  Allan McRae  <allan@archlinux.org>
336         * po:sv.po: Update Swedish translation from translation project.
338         * po/vi.po: Update Vietnamese translation from translation project.
340         * po/eo.po: Update Esperanto translation from translation project.
342         * po/cs.po: Update Czech translation from translation project.
344         * po/nl.po: Update Dutch translation from translation project.
346         * po/pl.po: Update Polish translation from translation project.
348         * po/ru.po: Update Russian translation from translation project.
350         * po/uk.po: Update Ukrainian translation from translation project.
352 2014-01-08  Brooks Moses  <bmoses@google.com>
354         * elf/dl-load.c: Fix comment typo.
356 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
358         * po/header.pot: Rename to...
359         * po/pot.header: ... this.
360         * po/Makefile: Use pot.header.
362 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
363             Maxim Kuvyrkov  <maxim@kugelworks.com>
365         [BZ #16394]
366         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
367         SRC and DEST against LEN.
369 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
371         [BZ #16414]
372         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
373         implementation.
374         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
376 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
380 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
382         [BZ #16408]
383         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
384         for large positive arguments.
386 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
388         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
390         * math/auto-libm-test-in: Mark various tests with
391         xfail-rounding:ldbl-128ibm.
392         * math/auto-libm-test-out: Regenerated.
394         [BZ #16407]
395         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
396         Increase overflow threshold.
398 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
400         [BZ #14286]
401         * stdio-common/vfprintf.c: Check for integer overflow.
403 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
405         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
406         the first argument and return value of __tls_get_addr_internal.
408 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
410         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
411         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
413 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
415         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
416         * sysdeps/s390/rtld-global-offsets.sym: New file.
417         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
418         GLIBC_2.19 symbol.
419         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
420         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
421         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
422         ... this.
423         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
424         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
425         ... this.
426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
427         Regenerate.
428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
429         Regenerate.
430         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
431         halfs of GPRs for high_gprs contexts.
432         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
433         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
434         field.
435         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
436         uc_flags field.
437         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
438         64 bit versions:
439         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
440         for high GPRs (uc_high_gprs) and for future extensions
441         (__reserved).
442         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
443         for future extensions (__reserved).
444         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
445         64 bit versions:
446         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
447         SC_HIGHGPRS offset definition.
448         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
449         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
451 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
453         * Versions.def: Add GLIBC_2.19 for libpthread.
454         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
455         siglongjmp for libpthread with GLIBC_2.19 symver.
456         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
457         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
458         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
459         * sysdeps/s390/__longjmp.c: New file.
460         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
461         * sysdeps/s390/longjmp.c: New file.
462         * sysdeps/s390/setjmp.S: New file.
463         * sysdeps/s390/sigjmp.S: New file.
464         * sysdeps/s390/v1-longjmp.c: New file.
465         * sysdeps/s390/v1-setjmp.h: New file.
466         * sysdeps/s390/v1-sigjmp.c: New file.
467         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
468         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
469         GLIBC_2.19 version.
470         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
471         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
472         versioned symbols for ____longjmp_chk.
473         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
474         Likewise.
475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
476         Regenerate.
477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
478         Regenerate.
479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
480         Regenerate.
481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
482         Regenerate.
483         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
484         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
485         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
486         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
487         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
488         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
489         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
490         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
491         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
492         * sysdeps/s390/rtld-__longjmp.c: New file.
493         * sysdeps/s390/rtld-setjmp.S: New file.
495 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
497         [BZ #16400]
498         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
499         Return -__logl (x) for small positive arguments without evaluating
500         a polynomial.
502 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
504         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
505         Rename to ...
506         (__ptrace_peeksiginfo_args): ... this.
507         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
508         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
509         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
511 2014-01-06  Allan McRae  <allan@archlinux.org>
513         * inet/netinet/in.h: Fix typo in comment.
515 2014-01-05  Andreas Jaeger  <aj@suse.de>
517         * sysdeps/i386/fpu/libm-test-ulps: Update.
519 2014-01-05  Allan McRae  <allan@archlinux.org>
521         * po/libc.pot: Regenerated.
523         * malloc/memusagestat.c: Fix gettext call formatting.
525 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
527         * nscd/nscd.c: Improve usage() output.
529 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
531         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
532         * sysdeps/unix/sysv/linux/configure: Regenerated.
533         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
534         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
536 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
538         [BZ #16390]
539         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
540         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
542 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
544         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
545         extra tokens at end of #undef directive.
546         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
547         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
548         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
550 2014-01-03  Andrew Hunter  <ahh@google.com>
552         * elf/dl-open.c (dl_open_worker): New comment.
553         * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
554         atomic_compare_and_exchange_bool_acq
555         (_dl_allocate_static_tls): Block signals.
556         * elf/dl-tls.c (allocate_and_init): Return void.
557         (_dl_update_slotinfo): Block signals, use atomic update.
559 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
561         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
563         * math/auto-libm-test-in: Mark various tests with
564         xfail-rounding:ldbl-128ibm.
565         * math/auto-libm-test-out: Regenerated.
567 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
569         [BZ #16386]
570         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
571         numbers with subnormal high part when calculating exponent.
573         [BZ #16385]
574         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
575         fabs.
577         [BZ #16384]
578         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
579         M_LN2l.
580         (__ieee754_acoshl): Use __log1pl not __log1p.
582 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
584         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
585         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
586         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
587         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
588         Convert to GNU style.
589         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
590         mem2mem_check, mem2chunk_check, top_check, realloc_check,
591         memalign_check, __malloc_set_state): Likewise.
592         * malloc/mallocbug.c (main): Likewise.
593         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
594         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
595         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
596         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
597         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
598         * malloc/malloc.h: Likewise.
599         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
600         memalignhook, reallochook, mabort): Likewise.
601         * malloc/mcheck.h: Likewise.
602         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
603         mmap64, mremap, munmap, dest): Likewise.
604         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
605         * malloc/morecore.c (__default_morecore): Likewise.
606         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
607         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
608         _obstack_allocated_p, obstack_free, _obstack_memory_used,
609         print_and_abort): Likewise.
610         * malloc/obstack.h: Likewise.
611         * malloc/set-freeres.c (__libc_freeres): Likewise.
612         * malloc/tst-mallocstate.c (main): Likewise.
613         * malloc/tst-mtrace.c (main): Likewise.
614         * malloc/tst-realloc.c (do_test): Likewise.
616 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
618         [BZ #16366]
619         * nscd/netgroupcache.c (do_notfound): New function.
620         (addgetnetgrentX): Use it.
622         [BZ # 16365]
623         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
624         NSS_STATUS_NOTFOUND.
626 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
628         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
631 2014-01-01  Allan McRae  <allan@archlinux.org>
633         * scripts/update-copyrights: Update configure input file suffix.
635         * NEWS: Update copyright year.
636         * catgets/gencat.c: Likewise.
637         * csu/version.c: Likewise.
638         * debug/catchsegv.sh: Likewise.
639         * debug/pcprofiledump.c: Likewise.
640         * debug/xtrace.sh: Likewise.
641         * elf/ldconfig.c: Likewise.
642         * elf/ldd.bash.in: Likewise.
643         * elf/pldd.c: Likewise.
644         * elf/sotruss.ksh: Likewise.
645         * elf/sprof.c: Likewise.
646         * iconv/iconv_prog.c: Likewise.
647         * iconv/iconvconfig.c: Likewise.
648         * locale/programs/locale.c: Likewise.
649         * locale/programs/localedef.c: Likewise.
650         * login/programs/pt_chown.c: Likewise.
651         * malloc/memusage.sh: Likewise.
652         * malloc/memusagestat.c: Likewise.
653         * malloc/mtrace.pl: Likewise.
654         * manual/libc.texinfo: Likewise.
655         * nscd/nscd.c: Likewise.
656         * nss/getent.c: Likewise.
657         * nss/makedb.c: Likewise.
658         * posix/getconf.c: Likewise.
659         * scripts/test-installation.pl: Likewise.
661         * All files with FSF copyright notices: Update copyright dates
662         using scripts/update-copyrights.
663         * intl/plural.c: Regenerated.
664         * locale/programs/charmap-kw.h: Likewise.
665         * locale/programs/locfile-kw.h: Likewise.
667 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
669         * sysdeps/unix/sysv/linux/configure: Regenerated.
670         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
671         the linux/fanotify.h header.
672         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
673         HAVE_LINUX_FANOTIFY_H is defined.
675 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
677         * benchtests/cos-inputs: New inputs.
678         * benchtests/sin-inputs: Likewise.
680         * benchtests/atan-inputs: New inputs. Fix name of multiple
681         precision fallback inputs.
683         * benchtests/atanh-inputs: New inputs.
684         * benchtests/tanh-inputs: Likewise.
686         * benchtests/acosh-inputs: New inputs.
687         * benchtests/asinh-inputs: Likewise.
689         * benchtests/cosh-inputs: New inputs.
690         * benchtests/sinh-inputs: Likewise.
692         * benchtests/acos-inputs: Add more inputs.
693         * benchtests/asin-inputs: Likewise.
695 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
697         [BZ #16375]
698         * manual/arith.texi: Fix spelling.
699         * manual/charset.texi: Likewise.
700         * manual/errno.texi: Likewise.
701         * manual/filesys.texi: Likewise.
702         * manual/lang.texi: Likewise.
703         * manual/llio.texi: Likewise.
704         * manual/locale.texi: Likewise.
705         * manual/message.texi: Likewise.
706         * manual/resource.texi: Likewise.
707         * manual/search.texi: Likewise.
708         * manual/setjmp.texi: Likewise.
709         * manual/stdio.texi: Likewise.
710         * manual/string.texi: Likewise.
711         * manual/sysinfo.texi: Likewise.
712         * manual/time.texi: Likewise.
714 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
716         * po/sl.po: New file.
718 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
720         * .gitignore: Add core/.gdbinit/.gdb_history.
722 2013-12-27  Allan McRae  <allan@archlinux.org>
724         [BZ #16369]
725         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
726         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
728 2013-12-24  Brooks Moses  <bmoses@google.com>
730         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
731         all compilers that claim C++98 compliance, not just GCC.
732         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
733         Likewise.
735 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
737         * NEWS: Restore accidentally deleted bug-fix entries.
739 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
740             Ondřej Bílka  <neleai@seznam.cz>
742         [BZ #15073]
743         * malloc/malloc.c (_int_free): Perform sanity check only if we
744         have_lock.
746 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
748         [BZ #12986]
749         * manual/stdio.texi (String Input Conversions): Clarify that character
750         classes are not supported.
752 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
756 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
758         [BZ #16337]
759         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
760         Calculate results for small negative arguments directly rather
761         than using reflection formula with special underflow handling.
763         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
764         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
765         sysdeps/unix/bsd/bsd4.4/syscalls.list.
766         (fchflags): Likewise.
767         (revoke): Likewise.
768         (setlogin): Likewise.
769         (sigaltstack): Likewise.
770         (wait4): Likewise.
771         (sigblock): Remove.
772         (sigsetmask): Likewise.
773         (wait3): Likewise.
774         (waitpid): Likewise.
775         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
776         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
777         file.
778         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
779         * sysdeps/unix/bsd/Makefile: ... here.
780         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
781         * sysdeps/unix/bsd/Versions: ... here.
782         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
783         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
784         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
785         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
786         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
787         * sysdeps/unix/bsd/sigblock.c: ... here.
788         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
789         * sysdeps/unix/bsd/sigsetmask.c: ... here.
790         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
791         * sysdeps/unix/bsd/sigvec.c: ... here.
792         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
793         * sysdeps/unix/bsd/tcdrain.c: ... here.
794         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
795         * sysdeps/unix/bsd/tcgetattr.c: ... here.
796         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
797         * sysdeps/unix/bsd/tcsetattr.c: ... here.
798         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
799         * sysdeps/unix/bsd/wait.c: ... here.
800         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
801         * sysdeps/unix/bsd/wait3.c: ... here.
802         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
803         * sysdeps/unix/bsd/waitpid.c: ... here.
805 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
807         [BZ #16356]
808         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
809         round-to-nearest for [!USE_AS_EXPM1L].
810         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
811         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
812         more tests of exp and exp10.  Expect some exp10 tests to miss
813         exceptions or fail in directed rounding modes.
814         * math/auto-libm-test-out: Regenerated.
815         * math/libm-test.inc (exp10_tonearest_test_data): New array.
816         (exp10_test_tonearest): New function.
817         (exp10_towardzero_test_data): New array.
818         (exp10_test_towardzero): New function.
819         (exp10_downward_test_data): New array.
820         (exp10_test_downward): New function.
821         (exp10_upward_test_data): New array.
822         (exp10_test_upward): New function.
823         (main): Call the new functions.
824         * sysdeps/i386/fpu/libm-test-ulps: Update.
825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
827 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
829         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
830         asinh, atan, atan2, atanh, cbrt, cos and cosh.
831         * math/auto-libm-test-out: Regenerated.
832         * math/libm-test.inc (acosh_test_data): Add more tests.
833         (atanh_test_data): Likewise.
834         (ceil_test_data): Likewise.
835         (copysign_test_data): Likewise.
836         * sysdeps/i386/fpu/libm-test-ulps: Update.
837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
839         * timezone/checktab.awk: Update from tzcode 2013i.
840         * timezone/private.h: Likewise.
841         * timezone/scheck.c: Likewise.
842         * timezone/tzfile.h: Likewise.
843         * timezone/tzselect.ksh: Likewise.
844         * timezone/zdump.c: Likewise.
845         * timezone/zic.c: Likewise.
847         * math/auto-libm-test-in: Add tests of cpow.
848         * math/auto-libm-test-out: Regenerated.
849         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
850         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
851         mpc_cc_c.
852         (func_calc_desc): Add mpc_cc_c union field.
853         (test_functions): Add cpow.
854         (special_fill_2pi): New function.
855         (special_real_inputs): Add 2pi.
856         (calc_generic_results): Handle mpc_cc_c.
857         * sysdeps/i386/fpu/libm-test-ulps: Update.
858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
860         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
861         csqrt, ctan and ctanh.
862         * math/auto-libm-test-out: Regenerated.
863         * math/libm-test.inc (TEST_COND_x86_64): New macro.
864         (TEST_COND_x86): Likewise.
865         (ccos_test_data): Use AUTO_TESTS_c_c.
866         (ccosh_test_data): Likewise.
867         (cexp_test_data): Likewise.
868         (clog_test_data): Likewise.
869         (csqrt_test_data): Likewise.
870         (ctan_test_data): Likewise.
871         (ctan_tonearest_test_data): Likewise.
872         (ctan_towardzero_test_data): Likewise.
873         (ctan_downward_test_data): Likewise.
874         (ctan_upward_test_data): Likewise.
875         (ctanh_test_data): Likewise.
876         (ctanh_tonearest_test_data): Likewise.
877         (ctanh_towardzero_test_data): Likewise.
878         (ctanh_downward_test_data): Likewise.
879         (ctanh_upward_test_data): Likewise.
880         * math/gen-auto-libm-tests.c (func_calc_method): Add value
881         mpc_c_c.
882         (func_calc_desc): Add mpc_c_c union field.
883         (FUNC_mpc_c_c): New macro.
884         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
885         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
886         ctanh.
887         (special_fill_min_subnorm_p120): New function.
888         (special_real_inputs): Add min_subnorm_p120.
889         (calc_generic_results): Handle mpc_c_c.
890         * sysdeps/i386/fpu/libm-test-ulps: Update.
891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
893 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
895         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
896         do_sin_slow): New functions.
897         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
898         cslow2, csloww1, csloww2): Use the new functions.
900         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
901         Use M to change sign of result instead of X.  Assume X is
902         positive.
903         (csloww1): Likewise.
904         (__sin): Adjust.
905         (__cos): Adjust.
907         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
908         arguments A and DA.
909         (__sin): Adjust.
910         (__cos): Likewise.
912         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
913         (__cos): Likewise.
914         (sloww1): Don't adjust sign of DX.
915         (csloww1): Likewise.
916         (sloww2): Use X directly and don't adjust sign of DX.
917         (csloww2): Likewise.
919 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
921         * math/auto-libm-test-in: Add tests of cabs and carg.
922         * math/auto-libm-test-out: Regenerated.
923         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
924         (carg_test_data): Likewise.
925         * math/gen-auto-libm-tests.c (func_calc_method): Add value
926         mpc_c_f.
927         (func_calc_desc): Add mpc_c_f union field.
928         (test_functions): Add cabs and carg.
929         (calc_generic_results): Handle mpc_c_f.
931         * sysdeps/powerpc/powerpc32/libgcc-compat.S
932         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
933         as a macro and a compat symbol.
934         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
935         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
936         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
937         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
938         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
939         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
940         not use .hidden.
941         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
942         Likewise.
943         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
944         Likewise.
945         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
946         Likewise.
947         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
948         Likewise.
949         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
950         Likewise.
951         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
952         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
953         from GLIBC_2.3.2.
955 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
959 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
961         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
962         (__signal_safe_memalign, __signal_safe_free): Use it.
963         (__signal_safe_realloc): Likewise.
965 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
967         * manual/texinfo.tex: Update to version 2013-11-26.10 with
968         trailing whitespace removed.
969         * scripts/config.guess: Update to version 2013-11-29.
970         * scripts/config.sub: Update to version 2013-10-01.
972         * math/auto-libm-test-in: Add tests of sincos.
973         * math/auto-libm-test-out: Regenerated.
974         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
975         * math/gen-auto-libm-tests.c (func_calc_method): Add value
976         mpfr_f_11.
977         (func_calc_desc): Add mpfr_f_11 union field.
978         (test_functions): Add sincos.
979         (calc_generic_results): Handle mpfr_f_11.
980         * sysdeps/i386/fpu/libm-test-ulps: Update.
981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
983 2013-12-19  Andreas Schwab  <schwab@suse.de>
985         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
986         CALL_MCOUNT.
987         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
988         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
989         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
991 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
993         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
994         * sysdeps/i386/fpu/libm-test-ulps: Update.
995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
997         [BZ #16293]
998         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
999         round-to-nearest mode when using frndint.
1000         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1001         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1002         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1003         Likewise.
1004         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1005         sinh test to fail.
1006         * math/auto-libm-test-out: Regenerated.
1007         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1008         (TEST_COND_x86): Likewise.
1009         (expm1_tonearest_test_data): New array.
1010         (expm1_test_tonearest): New function.
1011         (expm1_towardzero_test_data): New array.
1012         (expm1_test_towardzero): New function.
1013         (expm1_downward_test_data): New array.
1014         (expm1_test_downward): New function.
1015         (expm1_upward_test_data): New array.
1016         (expm1_test_upward): New function.
1017         (main): Run the new test functions.
1018         * sysdeps/i386/fpu/libm-test-ulps: Update.
1019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1021         * include/features.h: Update comment documenting feature test
1022         macros.  Mention _DEFAULT_SOURCE in comment.
1023         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1024         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1025         _BSD_SOURCE and _SVID_SOURCE.
1026         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1027         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1028         !_SVID_SOURCE]: Likewise.
1029         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1030         (__USE_POSIX_IMPLICITLY): Define.
1031         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1032         (_POSIX_SOURCE): Undefine and redefine.
1033         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1034         (_POSIX_C_SOURCE): Likewise.
1035         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1036         (Feature Test Macros): Update documentation of default features.
1038 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1040         * benchtests/Makefile: Add bench-strtok.
1041         * benchtests/bench-strtok.c: New file: strtok benchtest.
1043 2013-12-19  Allan McRae  <allan@archlinux.org>
1045         * manual/install.texi: Suppress menu for plain text output.
1046         * INSTALL: Regenerated.
1048 2013-12-18  Andrew Hunter  <ahh@google.com>
1050         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
1051         (__signal_safe_malloc, __signal_safe_free): Likewise.
1052         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
1053         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
1054         (__signal_safe_memalign, __signal_safe_malloc): New function.
1055         (__signal_safe_free, __signal_safe_realloc): Likewise.
1056         (__signal_safe_calloc): Likewise.
1057         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
1058         functions.
1059         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
1061 2013-12-18  Andrew Hunter  <ahh@google.com>
1063         * elf/Versions (ld): Add _dl_clear_dtv.
1064         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
1065         * elf/dl-tls.c (_dl_clear_dtv): New function.
1066         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
1068 2013-12-18  Andrew Hunter  <ahh@google.com>
1070         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
1071         (_dl_unmask_signals): Likewise.
1072         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
1073         (_dl_unmask_all_signals): Likewise.
1074         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
1075         (_dl_unmask_all_signals): Likewise.
1076         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
1077         (_dl_unmask_signals): Likewise.
1079 2013-12-18  Brooks Moses  <bmoses@google.com>
1081         [BZ #15846]
1082         * misc/getauxval.c: Include errno.h.
1083         (__getauxval): Set errno to ENOENT if the requested type is not
1084         found.
1085         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1086         don't declare with __attribute_const__.
1087         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1088         * manual/startup.texi: Document that getauxval sets errno.
1090 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1092         * math/auto-libm-test-in: Add tests of jn and yn.
1093         * math/auto-libm-test-out: Regenerated.
1094         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1095         (yn_test_data): Likewise.
1096         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1097         mpfr_if_f.
1098         (func_calc_desc): Add mpfr_if_f union field.
1099         (FUNC_mpfr_if_f): New macro.
1100         (test_functions): Add jn and yn.
1101         (calc_generic_results): Assert type of second input for
1102         mpfr_ff_f.  Handle mpfr_if_f.
1103         (output_for_one_input_case): Disable all checking for arguments
1104         fitting floating-point types in case of an integer argument.
1105         * sysdeps/i386/fpu/libm-test-ulps: Update.
1106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1109         Don't expect fegetround reference in libm.so.
1111 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1113         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1114         $(config-cflags-nofma).
1116 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1118         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1119         * math/auto-libm-test-out: Regenerated.
1121         [BZ #16338]
1122         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1123         to determine exponent and adjust argument to have exponent of -1.
1124         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1125         log2.
1126         * math/auto-libm-test-out: Regenerated.
1127         * sysdeps/i386/fpu/libm-test-ulps: Update.
1128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1130 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1132         * manual/probes.texi: Remove cases when per-thread arenas are
1133         disabled.
1135 2013-12-18  Andreas Schwab  <schwab@suse.de>
1137         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1138         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1139         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1140         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1141         * sysdeps/i386/i686/multiarch/Makefile: Update.
1142         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1144 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1146         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1147         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1149 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1151         Support TZ transition times < 00:00:00.
1152         This is needed for version-3 tz-format files; it supports time
1153         stamps past 2037 for America/Godthab (the only entry in the tz
1154         database for which this change is relevant).
1155         * manual/time.texi (TZ Variable): Document transition times
1156         from -167:59:59 through -00:00:01.
1157         * time/tzset.c (tz_rule): Time of day is now signed.
1158         (__tzset_parse_tz): Parse negative time of day.
1160         Document TZ transition times >= 25:00:00.
1161         * manual/time.texi (TZ Variable): Document transition times from
1162         25:00:00 through 167:59:59.  These are already supported, and this
1163         support will help with version-3 tz-format files.
1165         * manual/time.texi (TZ Variable): Modernize North America example
1166         to reflect current (i.e., 2007-and-later) daylight saving rules.
1168         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1170 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1172         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1173         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1174         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1175         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1176         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1177         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1178         * sysdeps/unix/bsd/clock.c: Likewise.
1179         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1180         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1181         * sysdeps/unix/bsd/init-posix.c: Likewise.
1182         * sysdeps/unix/bsd/poll.c: Likewise.
1183         * sysdeps/unix/bsd/ptsname.c: Likewise.
1184         * sysdeps/unix/bsd/seekdir.c: Likewise.
1185         * sysdeps/unix/bsd/setegid.c: Likewise.
1186         * sysdeps/unix/bsd/seteuid.c: Likewise.
1187         * sysdeps/unix/bsd/setgid.c: Likewise.
1188         * sysdeps/unix/bsd/setrgid.c: Likewise.
1189         * sysdeps/unix/bsd/setruid.c: Likewise.
1190         * sysdeps/unix/bsd/setsid.c: Likewise.
1191         * sysdeps/unix/bsd/setuid.c: Likewise.
1192         * sysdeps/unix/bsd/sigaction.c: Likewise.
1193         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1194         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1195         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1196         * sysdeps/unix/bsd/telldir.c: Likewise.
1197         * sysdeps/unix/bsd/times.c: Likewise.
1198         * sysdeps/unix/bsd/usleep.c: Likewise.
1200         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1201         ($(objpfx)libbsd-compat.a): Remove rule.
1203         * include/features.h (__FAVOR_BSD): Do not define.
1204         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1205         features conflicting with POSIX.
1206         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1207         (_BSD_SOURCE): Remove description of not being a subset of other
1208         feature test macros.
1209         * manual/job.texi (getpgrp): Do not document BSD version.
1210         (getpgid): Do not document by reference to BSD getpgrp.
1211         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1212         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1213         * signal/signal.h [__FAVOR_BSD]: Likewise.
1214         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1215         instead of making contents conditional on [__FAVOR_BSD].
1216         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1218 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1222 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1224         [BZ #16314]
1225         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1226         values below 2**-450, not 2**-500.
1227         * math/auto-libm-test-in: Don't allow spurious underflow from
1228         hypot.
1229         * math/auto-libm-test-out: Regenerated.
1231         [BZ #16316]
1232         [BZ #16330]
1233         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1234         values of ha and hb and sort them after adjusting subnormal
1235         arguments.
1236         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1237         Likewise.
1238         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1239         values of ea and eb and sort them after adjusting subnormal
1240         arguments.
1241         * math/auto-libm-test-in: Do not expect some hypot tests of
1242         subnormals to fail.  Add more hypot tests.
1243         * math/auto-libm-test-out: Regenerated.
1245 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1247         [BZ #13304]
1248         * sysdeps/sh/s_fma.c: New file.
1249         * sysdeps/sh/s_fmaf.c: New file.
1250         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1251         version.
1252         * sysdeps/sh/Implies: Add sh/soft-fp.
1254 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1256         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1257         level of indirection to members `objname', `errstring', `malloced'.
1258         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1259         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1260         it as the __longjmp argument (just pass 1 instead).
1261         (_dl_catch_error): Initialize C with argument pointers and address of
1262         volatile local ERRCODE rather than copying values out of C at return.
1264 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1266         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1267         * math/auto-libm-test-out: Regenerated.
1268         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1269         (hypot_test_data): Likewise.
1270         (pow_test_data): Likewise.
1271         (pow_tonearest_test_data): Likewise.
1272         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1273         mpfr_ff_f.
1274         (func_calc_desc): Add mpfr_ff_f union field.
1275         (FUNC_mpfr_ff_f): New macro.
1276         (test_functions): Add atan2, hypot and pow.
1277         (special_fill_min): New function.
1278         (special_fill_minus_min): Likewise.
1279         (special_fill_min_subnorm): Likewise.
1280         (special_fill_minus_min_subnorm): Likewise.
1281         (special_real_inputs): Add min, -min, min_subnorm and
1282         -min_subnorm.
1283         (calc_generic_results): Handle mpfr_ff_f.
1284         * sysdeps/i386/fpu/libm-test-ulps: Update.
1285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1287 2013-12-16  Will Newton  <will.newton@linaro.org>
1289         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1290         (Aligned Memory Blocks): Add documentation for aligned_alloc
1291         and suggest it as an alternative to posix_memalign.
1292         (Hooks for Malloc): Document __memalign_hook is also called
1293         for aligned_alloc.  (Summary of Malloc): Add summary for
1294         aligned alloc.  Document __memalign_hook is also called
1295         for aligned_alloc.
1297 2013-12-16  Will Newton  <will.newton@linaro.org>
1299         * manual/memory.texi (Malloc Examples): Clarify default
1300         alignment documentation.  Suggest posix_memalign rather
1301         than memalign or valloc.
1302         (Aligned Memory Blocks): Remove suggestion to use memalign
1303         or valloc.  Remove obsolete comment about BSD.
1304         Document memalign errno values and mark the function obsolete.
1305         Document posix_memalign returned error codes.  Mark valloc
1306         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1307         called for posix_memalign and valloc.
1308         (Summary of Malloc): Add posix_memalign to function summary.
1309         __memalign_hook is also called for posix_memalign and valloc.
1311 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1313         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1314         TAYLOR_SIN.
1315         (__sin): Adjust.
1316         (__cos): Likewise.
1317         (sloww): Use mynumber union.  Expand ternary operator into
1318         if-else statements.
1319         (cslow): use mynumber union.
1321 2013-12-16  Allan McRae  <allan@archlinux.org>
1323         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1324         * configure: Regenerated.
1326         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1328         [BZ #14120]
1329         * configure.ac: Added --enable-maintainer-mode. Check for
1330         autoconf when enabled.
1331         * configure: Regenerated.
1333         * nscd/nscd.service: New file.
1334         * nscd/nscd.tmpfiles: New file.
1336 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1338         [BZ #12100]
1339         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1340         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1341         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1342         (strstr): Add __strstr_sse2_unaligned ifunc.
1343         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1344         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1345         (strcasestr): Remove __strcasestr_sse42 ifunc.
1346         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1347         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1350 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1352         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1353         * sysdeps/sh/bits/fenv.h: ... here.
1354         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1356 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1358         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1360 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1363         hypotf multiarch implementations.
1364         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1365         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1366         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1367         multiarch hypot for PPC64.
1368         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1369         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1370         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1371         multiarch hypotf for PPC64.
1373 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1375         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1376         modff multiarch implementations.
1377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1380         multiarch modf for PPC64.
1381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1384         multiarch modff for PPC64.
1386 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1388         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1389         and logl multiarch implementations.
1390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1393         multiarch logb for PPC64.
1394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1397         multiarch logb for PPC64.
1398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1401         multiarch logb for PPC64.
1403 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1406         isinff multiarch implementation.
1407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1408         file.
1409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1411         multiarch isinf for PPC64.
1412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1413         file.
1414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1415         multiarch isinff for PPC64.
1417 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1419         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1420         finitef multiarch implementation.
1421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1422         file.
1423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1425         multiarch finite for PPC64.
1426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1427         file.
1428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1429         multiarch finitef for PPC64.
1431 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1433         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1434         lrint multiarch implementation.
1435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1436         file.
1437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1439         multiarch llrint for PPC64.
1440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1441         multiarch lrint for PPC64.
1443 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1445         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1446         copysignf multiarch implementation.
1447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1448         file.
1449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1450         file.
1451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1452         multiarch copysign for PPC64.
1453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1454         multiarch copysignf for PPC64.
1456 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1459         multiarch implementation.
1460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1461         file.
1462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1463         file.
1464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1465         file.
1466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1467         file.
1468         multiarch llround for PPC64.
1469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1470         multiarch trunc for PPC64.
1471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1472         multiarch truncf for PPC64.
1474 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1477         multiarch implementation.
1478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1479         file.
1480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1481         file.
1482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1483         file.
1484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1485         file.
1486         multiarch llround for PPC64.
1487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1488         multiarch round for PPC64.
1489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1490         multiarch roundf for PPC64.
1492 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1494         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1495         multiarch implementation.
1496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1497         file.
1498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1499         file.
1500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1501         file.
1502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1503         file.
1504         multiarch llround for PPC64.
1505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1506         multiarch floor for PPC64.
1507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1508         multiarch floorf for PPC64.
1510 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1512         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1513         multiarch implementation.
1514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1515         file.
1516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1517         file.
1518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1519         file.
1520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1521         file.
1522         multiarch llround for PPC64.
1523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1524         multiarch ceil for PPC64.
1525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1526         multiarch ceilf for PPC64.
1528 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1530         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1531         multiarch implementation.
1532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1533         file.
1534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1535         file.
1536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1537         file.
1538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1539         multiarch llround for PPC64.
1540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1541         multiarch lround for PPC64.
1543 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1546         multiarch implementation.
1547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1550         file.
1551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1554         multiarch isnan for PPC64.
1555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1556         multiarch isnanf for PPC64.
1558 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1560         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1561         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1562         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1563         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1564         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1567 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1569         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1570         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1571         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1572         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1574 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1577         multiarch implementations.
1578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1579         (__libc_ifunc_impl_list): Likewise.
1580         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1581         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1582         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1583         multiarch stpcpy for PPC64.
1585 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1588         multiarch implementations.
1589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1590         (__libc_ifunc_impl_list): Likewise.
1591         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1592         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1593         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1594         multiarch strcpy for PPC64.
1596 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1598         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1599         redefine function name.
1600         (_wordcopy_fwd_dest_aligned): Likewise.
1601         (_wordcopy_bwd_aligned): Likewise.
1602         (_wordcopy_bwd_dest_aligned): Likewise.
1603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1604         multiarch implementations.
1605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1606         (__libc_ifunc_impl_list): Likewise.
1607         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1608         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1609         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1610         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1611         multiarch wcscpy for PPC64.
1613 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1616         multiarch implementations.
1617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1618         (__libc_ifunc_impl_list): Likewise.
1619         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1620         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1621         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1622         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1623         multiarch wcscpy for PPC64.
1625 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1628         multiarch implementations.
1629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1630         (__libc_ifunc_impl_list): Likewise.
1631         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1632         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1633         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1634         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1635         multiarch wcsrchr for PPC64.
1637 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1640         multiarch implementations.
1641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1642         (__libc_ifunc_impl_list): Likewise.
1643         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1644         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1645         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1646         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1647         multiarch wcschr for PPC64.
1649 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1651         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1652         multiarch implementations.
1653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1654         (__libc_ifunc_impl_list): Likewise.
1655         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1656         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1657         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1658         multiarch strchrnul for PPC64.
1660 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1663         implementations.
1664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1665         (__libc_ifunc_impl_list): Likewise.
1666         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1667         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1668         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1669         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1670         strchr for PPC64.
1672 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1675         implementations.
1676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1677         (__libc_ifunc_impl_list): Likewise.
1678         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1679         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1680         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1681         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1682         strncmp for PPC64.
1684 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1687         multiarch implementations.
1688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1689         (__libc_ifunc_impl_list): Likewise.
1690         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1691         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1692         strncasecmp for PPC64.
1693         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1694         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1695         multiarch strncasecmp_l for PPC64.
1697 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1700         multiarch implementations.
1701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1702         (__libc_ifunc_impl_list): Likewise.
1703         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1704         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1705         multiarch strcasecmp for PPC64.
1706         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1707         file.
1708         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1709         multiarch strcasecmp_l for PPC64.
1711 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1714         implementations.
1715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1716         (__libc_ifunc_impl_list): Likewise.
1717         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1718         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1719         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1720         strnlen for PPC64.
1722 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1725         implementations.
1726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1727         (__libc_ifunc_impl_list): Likewise.
1728         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1729         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1730         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1731         strlen for PPC64.
1733 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1735         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1736         implementations.
1737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1738         (__libc_ifunc_impl_list): Likewise.
1739         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1740         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1741         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1742         rawmemrchr for PPC64.
1744 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1747         implementation.
1748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1749         (__libc_ifunc_impl_list): Likewise.
1750         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1751         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1752         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1753         memrchr for PPC64.
1755 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1758         implementation.
1759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1760         (__libc_ifunc_impl_list): Likewise.
1761         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1762         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1763         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1764         memchr for PPC64.
1766 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1769         implementation.
1770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1771         (__libc_ifunc_impl_list): Likewise.
1772         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1773         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1774         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1775         mempcpy for PPC64.
1777 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1779         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1780         avoid cretion of __bzero symbol.
1781         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1782         Likewise.
1783         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1784         Likewise.
1785         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1786         Likewise.
1787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1788         multiarch implementations.
1789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1790         (__libc_ifunc_impl_list): Likewise.
1791         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1792         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1793         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1794         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1795         bzero for PPC32.
1796         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1797         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1798         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1799         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1800         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1801         memset for PPC64.
1802         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1804 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1806         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1808         implementations.
1809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1810         (__libc_ifunc_impl_list): Likewise.
1811         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1812         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1813         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1814         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1815         memcmp for PPC64.
1817 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1820         multiarch for POWER/PPC64.
1821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1822         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1823         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1824         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1825         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1826         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1827         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1828         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1829         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1830         memcpy for PPC64.
1832 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1834         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1835         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1836         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1837         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1838         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1839         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1840         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1841         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1842         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1843         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1844         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1845         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1846         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1847         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1848         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1857 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1859         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1861 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1863         * benchtests/Makefile (bench): Add exp2 and log2.
1864         (LDLIBS-bench-exp2): Add -lm.
1865         (LDLIBS-bench-log2): Likewise.
1866         * benchtests/exp2-inputs: New inputs file.
1867         * benchtests/log2-inputs: New inputs file.
1868         * benchtests/log-inputs: Add new inputs.
1869         * benchtests/tan-inputs: Likewise.
1871 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1873         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1874         definition...
1875         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1876         csloww1, csloww2): ... from here.
1878         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1879         instead of structures.
1880         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1881         (POLYNOMIAL): Likewise.
1882         (TAYLOR_SLOW): Likewise.
1883         (__sin): Likewise.
1884         (__cos): Likewise.
1885         (slow1): Likewise.
1886         (slow2): Likewise.
1887         (sloww): Likewise.
1888         (sloww1); Likewise.
1889         (sloww2): Likewise.
1890         (bsloww1): Likewise.
1891         (bsloww2): Likewise.
1892         (cslow2): Likewise.
1893         (csloww): Likewise.
1894         (csloww1): Likewise.
1895         (csloww2): Likewise.
1897 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1899         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1900         (__malloc_assert, __libc_realloc, __libc_calloc,
1901         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1902         memcpy and memset.
1903         * malloc/hooks.c (realloc_check): Likewise.
1905 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1907         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1908         * malloc/arena.c: Remove PER_THREAD conditional.
1909         [!PER_THREAD]: Remove code.
1910         (ptmalloc_unlock_all2): Likewise.
1911         (ptmalloc_init): Likewise.
1912         (_int_new_arena): Likewise.
1913         (arena_get2): Likewise.
1914         * malloc/hooks.c (__malloc_get_state): Likewise.
1915         (__malloc_set_state): Likewise.
1916         * malloc/malloc.c: Likewise.
1917         (struct malloc_state): Likewise.
1918         (struct malloc_par): Likewise.
1919         (__libc_realloc): Likewise.
1920         (__libc_mallopt): Likewise.
1922 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1924         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1926 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1928         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1929         macro to a function.  Check for zero perturb_byte.
1930         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1932 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1934         * malloc/malloc.c: (force_reg): Remove.
1935         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1936         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1937         force_reg by atomic_forced_read.
1938         * malloc/arena.c (ptmalloc_init): Likewise.
1939         * malloc/hooks.c (top_check): Likewise.
1941 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1945 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1949 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1951         * math/auto-libm-test-in: Add tests of lgamma.
1952         * math/auto-libm-test-out: Regenerated.
1953         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1954         (M_LOG_2_SQRT_PIl): Likewise.
1955         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1956         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1957         mpfr_f_f1.
1958         (func_calc_desc): Add mpfr_f_f1 union field.
1959         (ARGS1): New macro.
1960         (ARGS2): Likewise.
1961         (ARGS3): Likewise.
1962         (ARGS4): Likewise.
1963         (RET1): Likewise.
1964         (RET2): Likewise.
1965         (CALC): Likewise.
1966         (FUNC): Likewise.
1967         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1968         (test_functions): Add lgamma.
1969         (calc_generic_results): Handle mpfr_f_f1.
1970         * sysdeps/i386/fpu/libm-test-ulps: Update.
1971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1973 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1975         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1976         __mpn_add_n for PowerPC64/POWER7.
1977         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1978         __mpn_sub_n for PowerPC64/POWER7.
1980 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1982         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1983         __mpn_addmul_1 for PowerPC64.
1984         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1985         __mpn_submul_1 for PowerPC64.
1986         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1987         for PowerPC64.
1988         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1989         for PowerPC64.
1991 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1993         [BZ #15089]
1994         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1996 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1998         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2000 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2002         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2003         add multiarch folders.
2004         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2005         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2006         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2007         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2008         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2009         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2010         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2011         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2012         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2013         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2014         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2022 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2025         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2027         New file.
2028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2029         New file.
2030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2031         multiarch __ieee754_hypot for PowerPC32.
2032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2033         New file.
2034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2035         New file.
2036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2037         multiarch __ieee754_hypotf for PowerPC32.
2039 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2041         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2042         long_double_symbol only if __logbl is defined.
2043         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2044         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2045         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2046         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2047         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2048         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2049         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2050         path for implementation.
2051         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2052         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2054         logb, and logbl multiarch implementations for PowerPC32.
2055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2056         file.
2057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2058         file.
2059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2060         multiarch logb for PowerPC32.
2061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2062         file.
2063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2064         file.
2065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2066         multiarch logbf for PowerPC32.
2067         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2069         file.
2070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2071         multiarch logbl implementation for PowerPC32.
2073 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2076         and modff multiarch implementations.
2077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2078         New file.
2079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2080         New file.
2081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2082         multiarch modf for PowerPC32.
2083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2084         New file.
2085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2086         New file.
2087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2088         multiarch modff for PowerPC32.
2090 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2093         and lrintf multiarch implementations.
2094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2095         New file.
2096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2097         New file.
2098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2099         multiarch lrint for PowerPC32.
2100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2101         file: multiarch lrintf for PowerPC32.
2103 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2106         and lroundf multiarch implementations.
2107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2108         New file.
2109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2110         New file.
2111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2112         New file.
2113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2114         multiarch lround for PowerPC32.
2115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2116         file: multiarch lroundf for PowerPC32.
2118 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2121         copysign and copysignf multiarch implementations.
2122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2123         New file.
2124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2125         New file.
2126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2127         file: multiarch copysign for PowerPC32.
2128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2129         file: multiarch copysignf for PowerPC32.
2131 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2134         and truncf multiarch implementations.
2135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2136         New file.
2137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2138         file.
2139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2140         multiarch trunc for PowerPC32.
2141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2142         New file.
2143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2144         New file.
2145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2146         multiarch truncf for PowerPC32.
2148 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2151         and roundf multiarch implementations.
2152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2153         New file.
2154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2155         file.
2156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2157         multiarch round for PowerPC32.
2158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2159         New file.
2160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2161         New file.
2162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2163         multiarch roundf for PowerPC32.
2165 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2168         and floorf multiarch implementations.
2169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2170         New file.
2171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2172         file.
2173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2174         multiarch floor for PowerPC32.
2175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2176         New file.
2177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2178         New file.
2179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2180         multiarch floorf for PowerPC32.
2182 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2185         and ceilf multiarch implementations.
2186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2187         New file.
2188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2189         file.
2190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2191         multiarch ceil for PowerPC32.
2192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2193         New file.
2194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2195         file.
2196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2197         multiarch ceilf for PowerPC32.
2199 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2201         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2202         is defined.
2203         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2204         FINITEF is defined.
2205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2206         and finitef multiarch implementations.
2207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2208         New file.
2209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2210         file.
2211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2212         multiarch finite for PowerPC32.
2213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2214         New file.
2215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2216         file: multiarch finitef for PowerPC32.
2218 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2221         and isinff multiarch implementations.
2222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2223         file.
2224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2225         file.
2226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2227         multiarch isinf for PowerPC32.
2228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2229         New file.
2230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2231         multiarch isinff for PowerPC32.
2233 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2235         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2236         alias when __isnan is defined.
2237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2238         and isnanf multiarch implementations.
2239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2240         file.
2241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2242         file.
2243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2244         file.
2245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2246         file.
2247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2248         multiarch isnan for PowerPC32.
2249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2250         New file.
2251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2252         New file.
2253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2254         multiarch isnanf for PowerPC32.
2256 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2259         and sqrtf multiarch implementations.
2260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2261         file.
2262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2263         file.
2264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2265         multiarch sqrt for PowerPC32.
2266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2267         file.
2268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2269         file.
2270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2271         multiarch sqrtf for PowerPC32.
2273 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2276         and llroundf multiarch implementations.
2277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2278         New file.
2279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2280         New file.
2281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2282         New file.
2283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2284         file: multiarch llround for PowerPC32.
2285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2286         file: multiarch llroundf for PowerPC32.
2288 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2291         multiarch PowerPC32 fpu implementations.
2292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2293         New file.
2294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2295         New file.
2296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2297         multiarch llrint for PowerPC32.
2298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2299         New file.
2300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2301         New file.
2302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2303         file.
2305 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2309 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2311         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2312         file.
2313         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2314         file.
2315         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2316         file.
2317         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2318         multiarch wordcopy for PPC32.
2319         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2320         wordcopy objects.
2321         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2322         (__libc_ifunc_impl_list): Likewise.
2323         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2324         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2325         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2326         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2327         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2328         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2330 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2332         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2333         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2334         file.
2335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2336         file.
2337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2338         file.
2339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2340         multiarch wcscpy for PPC32.
2341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2342         multiarch objects.
2343         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2344         (__libc_ifunc_impl_list): Likewise.
2345         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2346         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2347         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2348         sysdeps/powerpc/power6/wcscpy.c.
2350 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2352         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2353         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2354         file.
2355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2356         file.
2357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2358         file.
2359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2360         multiarch wcsrchr for PPC32.
2361         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2362         multiarch objects.
2363         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2364         (__libc_ifunc_impl_list): Likewise.
2365         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2366         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2367         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2368         sysdeps/powerpc/power6/wcsrchr.c.
2370 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2372         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2373         file.
2374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2375         file.
2376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2378         multiarch wcschr for PPc32.
2379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2380         multiarch objects.
2381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2382         (__libc_ifunc_impl_list): Likewise.
2383         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2384         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2385         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2386         sysdeps/powerpc/power6/wcschr.c.
2388 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2390         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2391         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2392         file.
2393         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2394         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2395         file: multiarch strchr for PPC32.
2396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2397         multiarch objects.
2398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2399         (__libc_ifunc_impl_list): Likewise.
2401 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2403         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2404         name.
2405         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2406         file.
2407         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2408         file.
2409         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2410         multiarch strchrnul for PPC32.
2411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2412         multiarch objects.
2413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2414         (__libc_ifunc_impl_list): Likewise.
2416 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2419         file.
2420         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2421         multiarch strncasecmp for PPC32.
2422         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2423         file.
2424         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2425         multiarch strncasecmp_l for PPC32.
2426         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2427         strncasecmp multiarch objects.
2428         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2429         (__libc_ifunc_impl_list): Likewise.
2431 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2433         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2434         file.
2435         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2436         multiarch strncasecmp for PPC32.
2437         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2438         New file.
2439         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2440         multiarch strcasecmp_l for PPC32.
2441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2442         multiarch objects.
2443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2444         (__libc_ifunc_impl_list): Likewise.
2446 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2448         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2449         file.
2450         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2451         file.
2452         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2453         multiarch strncmp for PPC32.
2454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2455         multiarch objects.
2456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2457         (__libc_ifunc_impl_list): Likewise.
2459 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2461         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2462         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2463         file.
2464         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2465         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2467         multiarch objects.
2468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2469         (__libc_ifunc_impl_list): Likewise.
2471 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2473         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2474         file.
2475         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2476         file.
2477         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2479         multiarch objects.
2480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2481         (__libc_ifunc_impl_list): Likewise.
2483 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2485         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2486         file.
2487         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2488         file.
2489         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2490         multiarch rawmemchr for PPC32.
2491         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2492         multiarch objects.
2493         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2494         (__libc_ifunc_impl_list): Likewise.
2496 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2498         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2499         file.
2500         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2501         file.
2502         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2503         file: memrchr multiarch for PPC32.
2504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2505         multiarch objects.
2506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2507         (__libc_ifunc_impl_list): Likewise.
2509 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2511         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2512         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2513         file.
2514         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2515         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2516         multiarch memchr for PPC32.
2517         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2518         multiarch objects.
2519         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2520         (__libc_ifunc_impl_list): Likewise.
2522 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2524         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2525         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2526         file.
2527         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2528         file.
2529         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2530         file: multiarch mempcpy for PPC32.
2531         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2532         multiarch objects.
2533         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2534         (__libc_ifunc_impl_list): Likewise.
2536 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2538         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2539         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2540         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2541         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2542         multiarch bzero for PPC32.
2543         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2544         file.
2545         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2546         file.
2547         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2548         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2549         file: multiarch memset for PPC32.
2550         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2551         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2552         memset multiarch objects.
2553         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2554         (__libc_ifunc_impl_list): Likewise.
2556 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2558         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2559         file.
2560         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2561         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2562         memcmp for PPC32.
2563         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2565         multiarch objects.
2566         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2567         (__libc_ifunc_impl_list): Likewise.
2569 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2571         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2572         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2573         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2574         file.
2575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2576         file.
2577         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2578         file.
2579         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2580         multiarch memcpy for PPC32.
2581         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2582         multiarch objects.
2583         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2584         (__libc_ifunc_impl_list): Likewise.
2586 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2588         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2589         support multiarch for POWER/PPC32.
2590         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2591         Likewise.
2592         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2594         Implies file to make multiarch folder appers before the fpu and
2595         default folder for power4 configuration.
2597 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2599         * scripts/bench.pl: Append volatile keyword to type.
2601 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2603         * sysdeps/sh/sotruss-lib.c: New file.
2604         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2606 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2610 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2612         [BZ #6810]
2613         * math/w_tgamma.c: Include <errno.h>.
2614         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2615         * math/w_tgammaf.c: Include <errno.h>.
2616         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2617         * math/w_tgammal.c: Include <errno.h>.
2618         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2619         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2620         underflow.  Add more tgamma tests.
2621         * math/auto-libm-test-out: Regenerated.
2622         * sysdeps/i386/fpu/libm-test-ulps: Update.
2623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2625         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2626         sin, sinh, tan, tanh, tgamma, y0 and y1.
2627         * math/auto-libm-test-out: Regenerated.
2628         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2629         (TEST_COND_x86): Likewise.
2630         (M_E2l): Remove macro.
2631         (M_E3l): Likewise.
2632         (M_2_SQRT_PIl): Likewise.
2633         (M_SQRT_PIl): Likewise.
2634         (M_1_DIV_El): Likewise.
2635         (log_test_data): Use AUTO_TESTS_f_f.
2636         (log10_test_data): Likewise.
2637         (log1p_test_data): Likewise.
2638         (log2_test_data): Likewise.
2639         (sin_test_data): Likewise.
2640         (sin_tonearest_test_data): Likewise.
2641         (sin_towardzero_test_data): Likewise.
2642         (sin_downward_test_data): Likewise.
2643         (sin_upward_test_data): Likewise.
2644         (sinh_test_data): Likewise.
2645         (sinh_tonearest_test_data): Likewise.
2646         (sinh_towardzero_test_data): Likewise.
2647         (sinh_downward_test_data): Likewise.
2648         (sinh_upward_test_data): Likewise.
2649         (tan_test_data): Likewise.
2650         (tan_tonearest_test_data): Likewise.
2651         (tan_towardzero_test_data): Likewise.
2652         (tan_downward_test_data): Likewise.
2653         (tan_upward_test_data): Likewise.
2654         (tanh_test_data): Likewise.
2655         (tgamma_test_data): Likewise.
2656         (y0_test_data): Likewise.
2657         (y1_test_data): Likewise.
2658         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2659         (special_real_inputs): Add pi/4.
2660         * sysdeps/i386/fpu/libm-test-ulps: Update.
2661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2663 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2665         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2666         "longjmp_target" static probes.
2667         (__longjmp): Rename to __longjmp_symbol.
2668         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2669         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2670         on which longjmp to generate.
2671         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2672         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2673         probe.
2674         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2675         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2676         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2677         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2678         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2679         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2681         __longjmp_symbol based on which __longjmp to generate.
2682         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2683         probe.
2684         (setjmp): Rename to setjmp_symbol.
2685         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2686         (_setjmp): Rename to _setjmp_symbol.
2687         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2688         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2689         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2690         which setjmp to generate.
2691         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2692         "longjmp_target" static probes.
2694 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2696         * benchtests/README: Add note about output arguments.
2697         * benchtests/bench-sincos.c: Remove file.
2698         * benchtests/sincos-inputs: New file.
2699         * scripts/bench.pl: Identify output arguments and define
2700         static variables for them.
2702         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2704         [BZ #15941]
2705         * Makefile (INSTALL): Add install-plain.texi as the primary
2706         dependency.
2707         * manual/install-plain.texi: New file.
2708         * manual/install.texi: Include node directive only for
2709         non-plaintext output.
2711 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2713         * stdlib/longlong.h: Update from GCC.
2715         [BZ #6807]
2716         [BZ #15901]
2717         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2718         * math/w_j0f.c (y0f): Likewise.
2719         * math/w_j0l.c (__y0l): Likewise.
2720         * math/w_j1.c (y1): Likewise.
2721         * math/w_j1f.c (y1f): Likewise.
2722         * math/w_j1l.c (__y1l): Likewise
2723         * math/w_jn.c (yn): Likewise.
2724         * math/w_jnf.c (ynf): Likewise.
2725         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2726         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2727         value for Bessel function domain errors outside _SVID_ mode.
2728         Adjust sign of return value for yn (negative integer, 0).
2729         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2730         by zero in return for negative x and set sign appropriately for
2731         negative n.
2732         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2733         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2734         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2735         expectations in error cases.
2736         (y1_test_data): Likewise.
2737         (yn_test_data): Likewise.
2738         * sysdeps/i386/fpu/libm-test-ulps: Update.
2739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2741 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2743         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2744         "64" to "64-v1".  Add "64-v2".
2745         (abi-64-options): Rename to ...
2746         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2747         (abi-64-condition): Rename to ...
2748         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2749         (abi-64-ld-soname): Rename to ...
2750         (abi-64-v1-ld-soname): ... this.
2751         (abi-64-v2-options): Define.
2752         (abi-64-v2-condition): Likewise.
2753         (abi-64-v2-ld-soname): Likewise.
2754         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2755         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2760 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2761             Alan Modra  <amodra@gmail.com>
2763         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2764         New versions for use with the ELFv2 ABI.
2765         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2766         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2767         declaration.
2768         (struct La_ppc64v2_retval): Likewise.
2769         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2770         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2771         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2772         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2773         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2774         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2775         Do not save or restore CR.
2776         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2777         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2778         return values for ELFv2 ABI.  Fix location of FPR return registers.
2779         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2780         updated values for _CALL_ELF == 2.
2781         (La_regs, La_retval, int_retval): Likewise.
2783 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2785         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2786         (FRAME_MIN_SIZE_PARM): Likewise.
2787         (FRAME_BACKCHAIN): Likewise.
2788         (FRAME_CR_SAVE): Likewise.
2789         (FRAME_LR_SAVE): Likewise.
2790         (FRAME_TOC_SAVE): Likewise.
2791         (FRAME_PARM_SAVE): Likewise.
2792         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2793         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2794         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2795         (call_mcount_parm_offset): New macro.
2796         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2797         (PROF): Use symbolic stack frame offsets.
2798         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2799         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2800         Redefine in terms of FRAME_MIN_SIZE.
2801         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2802         (_dl_profile_resolve): Likewise.  Update comment.
2803         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2804         symbols stack frame offsets.
2805         (__sigsetjmp): Likewise.
2806         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2807         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2808         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2809         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2812         (FRAME_BACKCHAIN): Remove.
2813         (FRAME_CR_SAVE): Likewise.
2814         (FRAME_LR_SAVE): Likewise.
2815         (FRAME_COMPILER_DW): Likewise.
2816         (FRAME_LINKER_DW): Likewise.
2817         (FRAME_TOC_SAVE): Likewise.
2818         (FRAME_PARM_SAVE): Likewise.
2819         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2820         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2821         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2823         (CHECK_SP): Use symbolic stack frame offsets.
2824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2825         zone" instead of caller's parameter save area for temp storage.
2826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2827         Likewise.  Also, use symbolic stack frame offsets.
2828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2829         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2830         our own stack frame instead of the caller's.
2831         (__socket): Use symbolic stack frame offsets.
2833 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2834             Alan Modra  <amodra@gmail.com>
2836         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2837         Define.
2838         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2839         PPC64_LOCAL_ENTRY_OFFSET): Define.
2840         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2841         New function.
2842         (elf_machine_fixup_plt): Call it.
2843         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2844         reloc arguments.
2845         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2846         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2847         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2848         r2 before calling target.
2850 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2851             Alan Modra  <amodra@gmail.com>
2853         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2854         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2855         versions of macros to support ELFv2 ABI.
2856         (LOCALENTRY): New macro.
2857         (ENTRY, EALIGN): Use it.
2858         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2859         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2860         fall through into ENTRY entry point.
2861         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2862         Only define if _CALL_ELF != 2.
2864         (elf_machine_matches_host): Verify ABI version matches.
2865         (RTLD_START): Use LOCALENTRY.
2866         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2867         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2868         (PLT_ENTRY_WORDS): New macro.
2869         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2870         (elf_machine_runtime_setup): Support ELFv2 ABI.
2871         (elf_machine_fixup_plt): Likewise.
2872         (elf_machine_plt_conflict): Likewise.
2873         (resolve_ifunc): Likewise.
2874         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2875         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2876         Likewise.
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2878         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2880         (makecontext): Support ELFv2 ABI.
2881         * elf/elf.h (EF_PPC64_ABI): Define.
2883 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2885         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2886         New assembler macro.
2887         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2888         [ASSEMBLER] (ENTRY): ... but instead here ...
2889         [ASSEMBLER] (EALIGN): ... and here.
2890         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2891         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2892         [!ASSEMBLER] (ENTRY_2): Use it.
2893         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2894         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2895         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2896         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2897         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2899         Use PPC64_LOAD_FUNCPTR.
2901 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2903         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2905 2013-12-04  Alan Modra  <amodra@gmail.com>
2907         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2908         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2909         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2910         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2912         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2913         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2914         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2915         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2916         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2917         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2919 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2922         (__makecontext): Fix incorrect CFI when backtracing out of
2923         context created via makecontext.
2924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2925         (__setcontext): Fix incorrect CFI during switch to new context.
2926         (__novec_setcontext): Likewise.
2928 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2930         [BZ #4772]
2931         * time/strptime_l.c (__strptime_internal): Allow modifiers
2932         in strptime.
2933         * time/tst-strptime.c (day_tests): Add testcase.
2936 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2938         * scripts/bench.pl: Skip over blank lines.
2940 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2942         [BZ #926]
2943         * manual/time.texi (Calendar Time): Clarify what timezone functions
2944         use.
2946 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2950 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2952         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2953         implementation.
2954         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2955         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2956         * debug/memset_chk.c (__memset_chk): Likewise.
2957         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2958         * debug/strncpy_chk.c: Likewise.
2960 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2962         [BZ #15268]
2963         [BZ #15425]
2964         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2965         (__ieee754_exp): For possibly underflowing results, check size of
2966         result and force underflow exception if required.
2967         * math/auto-libm-test-in: Add more tests of exp.
2968         * math/auto-libm-test-out: Regenerated.
2969         * sysdeps/i386/fpu/libm-test-ulps: Update.
2970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2972         [BZ #16283]
2973         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2974         * math/w_exp2f.c (__exp2f): Likewise.
2975         * math/w_exp2l.c (__exp2l): Likewise.
2976         * math/auto-libm-test-in: Do not allow missing errno on exp2
2977         underflow.
2978         * math/auto-libm-test-out: Regenerated.
2980 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2982         [BZ #16274]
2983         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2984         handle filename validation.
2985         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2986         (do_open): Delete.
2988 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2990         [BZ #6786]
2991         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2992         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2993         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2994         <float.h>.
2995         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2996         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2997         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2998         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2999         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3000         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3001         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3002         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3003         Add more erfc tests.
3004         * math/auto-libm-test-out: Regenerated.
3005         * sysdeps/i386/fpu/libm-test-ulps: Update.
3006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3008         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3009         exp2, expm1, j0 and j1.
3010         * math/auto-libm-test-out: Regenerated.
3011         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3012         (erfc_test_data): Likewise.
3013         (exp_test_data): Likewise.
3014         (exp_tonearest_test_data): Likewise.
3015         (exp_towardzero_test_data): Likewise.
3016         (exp_downward_test_data): Likewise.
3017         (exp_upward_test_data): Likewise.
3018         (exp10_test_data): Likewise.
3019         (exp2_test_data): Likewise.
3020         (expm1_test_data): Likewise.
3021         (j0_test_data): Likewise.
3022         (j1_test_data): Likewise.
3023         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3024         (input_flag_type): Add flag_xfail_rounding.
3025         (input_flags): Add xfail-rounding.
3026         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3027         (output_for_one_input_case): Handle flag_xfail_rounding.
3028         * sysdeps/i386/fpu/libm-test-ulps: Update.
3029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3031 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3033         [BZ #16289]
3034         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3035         division by 0.
3037 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3039         [BZ #16195]
3040         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3041         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3042         (STAP_PROBE0): New macro.
3043         (STAP_PROBE1): Likewise.
3044         (STAP_PROBE2): Likewise.
3045         (STAP_PROBE3): Likewise.
3046         (STAP_PROBE4): Likewise.
3048 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3050         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3052 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3054         * benchtests/Makefile (bench): Add sqrt.
3055         (LDLIBS-bench-sqrt): New.
3056         * benchtests/sqrt-input: New.
3058 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3060         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3061         (GAIH_EAI): Likewise.
3062         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3063         (gaih_inet): Likewise.
3064         (getaddrinfo): Don't use GAIH_EAI.
3066         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3067         (struct gaih): Remove definition.
3069 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3071         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3072         Use HERRNOP directly.
3074 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3078 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3080         * math/gen-auto-libm-tests.c (test_functions): Add more
3081         single-argument functions.
3082         (special_fill_pi_2): New function.
3083         (special_fill_minus_pi_2): Likewise.
3084         (special_fill_pi_6): Likewise.
3085         (special_fill_minus_pi_6): Likewise.
3086         (special_fill_pi_3): Likewise.
3087         (special_fill_2pi_3): Likewise.
3088         (special_fill_e): Likewise.
3089         (special_fill_1_e): Likewise.
3090         (special_fill_e_minus_1): Likewise.
3091         (special_real_inputs): Add more special inputs.
3092         (output_for_one_input_case): Do not require ERANGE on underflow to
3093         zero if round-to-nearest result does not underflow to zero, unless
3094         exact results required.
3095         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3096         atan, atanh, cbrt, cos and cosh.
3097         * math/auto-libm-test-out: Regenerated.
3098         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3099         (acos_tonearest_test_data): Likewise.
3100         (acos_towardzero_test_data): Likewise.
3101         (acos_downward_test_data): Likewise.
3102         (acos_upward_test_data): Likewise.
3103         (acosh_test_data): Likewise.
3104         (asin_test_data): Likewise.
3105         (asin_tonearest_test_data): Likewise.
3106         (asin_towardzero_test_data): Likewise.
3107         (asin_upward_test_data): Likewise.
3108         (asinh_test_data): Likewise.
3109         (atan_test_data): Likewise.
3110         (atanh_test_data): Likewise.
3111         (cbrt_test_data): Likewise.
3112         (cos_test_data): Likewise.
3113         (cos_tonearest_test_data): Likewise.
3114         (cos_towardzero_test_data): Likewise.
3115         (cos_downward_test_data): Likewise.
3116         (cos_upward_test_data): Likewise.
3117         (cosh_test_data): Likewise.
3118         (cosh_tonearest_test_data): Likewise.
3119         (cosh_towardzero_test_data): Likewise.
3120         (cosh_downward_test_data): Likewise.
3121         (cosh_upward_test_data): Likewise.
3122         * sysdeps/i386/fpu/libm-test-ulps: Update.
3123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3125 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3127         [BZ #6787]
3128         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3129         * math/w_exp10f.c (__exp10f): Likewise.
3130         * math/w_exp10l.c (__exp10l): Likewise.
3131         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3132         errno settings in existing tests.
3134         [BZ #14032]
3135         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3136         precision control set to double precision.
3137         * sysdeps/i386/fpu/w_sqrt.c: New file.
3138         * math/auto-libm-test-in: Add more tests.
3139         * math/auto-libm-test-out: Update.
3141         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3142         (sqrt_test_tonearest): New function.
3143         (sqrt_towardzero_test_data): New variable.
3144         (sqrt_test_towardzero): New function.
3145         (sqrt_downward_test_data): New variable.
3146         (sqrt_test_downward): New function.
3147         (sqrt_upward_test_data): New variable.
3148         (sqrt_test_upward): New function.
3149         (main): Call the new functions.
3151         * math/gen-auto-libm-tests.c: New file.
3152         * math/auto-libm-test-in: Likewise.
3153         * math/auto-libm-test-out: New generated file.
3154         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3155         variables.
3156         (%beautify): Add generated representations of zero.
3157         (top level): Set $auto_input and call parse_auto_input.
3158         (beautify): Remove trailing "f" from hex float constants.
3159         (parse_args): Handle XFAIL_TEST.
3160         (convert_condition): New function.
3161         (or_value): Likewise.
3162         (or_cond_value): Likewise.
3163         (generate_testfile): Handle AUTO_TESTS_* lines.
3164         (parse_auto_input): New function.
3165         * math/libm-test.inc (XFAIL_TEST): New macro.
3166         (ERRNO_UNCHANGED): Update value.
3167         (ERRNO_EDOM): Likewise.
3168         (ERRNO_ERANGE): Likewise.
3169         (IGNORE_RESULT): Likewise.
3170         (TEST_COND_flt_32): New macro.
3171         (TEST_COND_dbl_64): Likewise.
3172         (TEST_COND_ldbl_96_intel): Likewise.
3173         (TEST_COND_ldbl_96_m68k): Likewise.
3174         (TEST_COND_ldbl_128): Likewise.
3175         (TEST_COND_ldbl_128ibm): Likewise.
3176         (TEST_COND_long32): Likewise.
3177         (TEST_COND_long64): Likewise.
3178         (TEST_COND_before_rounding): Likewise.
3179         (TEST_COND_after_rounding): Likewise.
3180         (enable_test): Handle XFAIL_TEST flag.
3181         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3182         with finite results.
3183         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3184         auto-libm-test-out.
3186 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3187             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3189         [BZ #16214]
3190         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3191         __tls_get_addr_internal instead of __tls_get_offset in order to
3192         avoid GOT pointer dependency.  Make rtld export
3193         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3194         __tls_get_addr since we are a __tls_get_offset platform.
3195         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3196         GOT pointer being set up before.
3197         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3199 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3201         * manual/math.texi (Errors in Math Functions): Document accuracy
3202         goals.
3204         [BZ #15004]
3205         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3206         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3207         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3208         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3209         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3210         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3211         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3212         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3213         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3214         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3215         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3216         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3217         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3218         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3219         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3220         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3222         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3223         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3224         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3225         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3226         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3227         Likewise.
3228         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3229         Likewise.
3230         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3231         Likewise.
3232         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3233         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3234         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3235         atomic-feupdateenv and flt-rounds.
3236         * sysdeps/powerpc/nofpu/Versions (libc): Add
3237         __atomic_feholdexcept, __atomic_feclearexcept,
3238         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3239         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3240         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3241         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3242         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3243         here.
3244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3245         Update.
3247         * manual/arith.texi (FP Exceptions): Document that exceptions may
3248         not be raised when matherr is used.
3249         (Math Error Reporting): Document overflow in directed rounding
3250         modes.  Document that errno may not be set when finite values are
3251         returned on overflow.  Document intent to set errno on underflow
3252         only for underflow to zero.
3254         [BZ #16271]
3255         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3256         round-to-nearest then adjust result for other rounding modes.
3257         * include/fenv.h (fegetround): Use libm_hidden_proto.
3258         * math/fegetround.c (fegetround): Use libm_hidden_def.
3259         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3260         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3261         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3262         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3263         Likewise.
3264         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3265         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3266         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3267         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3269 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3271         [BZ #16077]
3272         * nss/Versions (libnss_files): Add
3273         _nss_files_gethostbyname3_r.
3274         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3275         New function.
3276         (HOST_DB_LOOKUP): Remove macro.
3277         (_nss_files_gethostbyname_r): Implement function without the
3278         HOST_DB_LOOKUP macro.
3279         (_nss_files_gethostbyname2_r): Likewise.
3281 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3283         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3285 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3287         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3288         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3289         warning.
3291 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3293         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3294         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3295         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3296         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3297         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3298         __fe_nomask_env_priv and attribute_hidden.
3299         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3300         (libc_feupdateenv_test_ppc): Likewise.
3301         (libc_feresetround_ppc): Likewise.
3302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3303         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3304         compat_symbol macro.
3305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3306         (__fe_nomask_env): Likewise.
3307         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3309 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3311         * string/Makefile: Remove ifunc tests.
3312         * string/test-string.h: Define TEST_IFUNC.
3313         * string/test-bcopy-ifunc.c: Remove.
3314         * string/test-bzero-ifunc.c: Likewise.
3315         * string/test-memccpy-ifunc.c: Likewise.
3316         * string/test-memchr-ifunc.c: Likewise.
3317         * string/test-memcmp-ifunc.c: Likewise.
3318         * string/test-memcpy-ifunc.c: Likewise.
3319         * string/test-memmem-ifunc.c: Likewise.
3320         * string/test-memmove-ifunc.c: Likewise.
3321         * string/test-mempcpy-ifunc.c: Likewise.
3322         * string/test-memrchr-ifunc.c: Likewise.
3323         * string/test-memset-ifunc.c: Likewise.
3324         * string/test-rawmemchr-ifunc.c: Likewise.
3325         * string/test-stpcpy-ifunc.c: Likewise.
3326         * string/test-stpncpy-ifunc.c: Likewise.
3327         * string/test-strcasecmp-ifunc.c: Likewise.
3328         * string/test-strcasestr-ifunc.c: Likewise.
3329         * string/test-strcat-ifunc.c: Likewise.
3330         * string/test-strchr-ifunc.c: Likewise.
3331         * string/test-strchrnul-ifunc.c: Likewise.
3332         * string/test-strcmp-ifunc.c: Likewise.
3333         * string/test-strcpy-ifunc.c: Likewise.
3334         * string/test-strcspn-ifunc.c: Likewise.
3335         * string/test-strlen-ifunc.c: Likewise.
3336         * string/test-strncasecmp-ifunc.c: Likewise.
3337         * string/test-strncat-ifunc.c: Likewise.
3338         * string/test-strncmp-ifunc.c: Likewise.
3339         * string/test-strncpy-ifunc.c: Likewise.
3340         * string/test-strnlen-ifunc.c: Likewise.
3341         * string/test-strpbrk-ifunc.c: Likewise.
3342         * string/test-strrchr-ifunc.c: Likewise.
3343         * string/test-strspn-ifunc.c: Likewise.
3344         * string/test-strstr-ifunc.c: Likewise.
3346 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3348         * benchtests/Makefile: Remove ifunc tests.
3349         * benchtests/bench-string.h: Define TEST_IFUNC.
3350         * benchtests/bench-bcopy-ifunc.c: Remove.
3351         * benchtests/bench-bzero-ifunc.c: Likewise.
3352         * benchtests/bench-memccpy-ifunc.c: Likewise.
3353         * benchtests/bench-memchr-ifunc.c: Likewise.
3354         * benchtests/bench-memcmp-ifunc.c: Likewise.
3355         * benchtests/bench-memcpy-ifunc.c: Likewise.
3356         * benchtests/bench-memmem-ifunc.c: Likewise.
3357         * benchtests/bench-memmove-ifunc.c: Likewise.
3358         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3359         * benchtests/bench-memrchr-ifunc.c: Likewise.
3360         * benchtests/bench-memset-ifunc.c: Likewise.
3361         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3362         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3363         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3364         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3365         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3366         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3367         * benchtests/bench-strcat-ifunc.c: Likewise.
3368         * benchtests/bench-strchr-ifunc.c: Likewise.
3369         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3370         * benchtests/bench-strcmp-ifunc.c: Likewise.
3371         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3372         * benchtests/bench-strcpy-ifunc.c: Likewise.
3373         * benchtests/bench-strcspn-ifunc.c: Likewise.
3374         * benchtests/bench-strlen-ifunc.c: Likewise.
3375         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3376         * benchtests/bench-strncat-ifunc.c: Likewise.
3377         * benchtests/bench-strncmp-ifunc.c: Likewise.
3378         * benchtests/bench-strncpy-ifunc.c: Likewise.
3379         * benchtests/bench-strnlen-ifunc.c: Likewise.
3380         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3381         * benchtests/bench-strrchr-ifunc.c: Likewise.
3382         * benchtests/bench-strsep-ifunc.c: Likewise.
3383         * benchtests/bench-strspn-ifunc.c: Likewise.
3384         * benchtests/bench-strstr-ifunc.c: Likewise.
3386 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3388         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3390 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3392         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3393         * rt/aio.h: Likewise.
3394         * sysdeps/gnu/bits/utmp.h: Likewise.
3395         * sysdeps/gnu/bits/utmpx.h: Likewise.
3396         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3397         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3398         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3399         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3400         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3401         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3402         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3403         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3404         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3405         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3406         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3407         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3408         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3410         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3411         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3412         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3413         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3414         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3415         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3416         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3417         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3418         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3419         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3420         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3421         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3422         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3423         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3424         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3425         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3426         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3427         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3428         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3429         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3430         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3431         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3432         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3433         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3434         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3435         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3436         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3437         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3439 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3441         [BZ #16245]
3442         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3443         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3445 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3447         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3448         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3449         Likewise.
3451 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3453         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3454         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3455         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3456         (__fesetround): Remove define.
3457         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3458         rounding and exceptions handling.
3459         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3460         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3461         (__fe_nomask_env): Likewise.
3462         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3463         __fegetround instead of fegetround.
3464         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3465         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3467 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3469         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3470         it's there.
3472         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3474 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3476         [BZ #11157]
3477         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3478         (encrypt_r): Likewise.
3479         * malloc/obstack.h (obstack_free): Likewise.
3480         * posix/unistd.h (encrypt): Likewise.
3482 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3484         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3485         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3486         DL_CALL_DT_FINI() that call the functions directly.
3487         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3488         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3489         * elf/dl-fini.c: Likewise.
3491 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3493         * malloc/hooks.c (memalign_check): Add alignment rounding.
3494         * malloc/malloc.c (_mid_memalign): New function.
3495         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3496         Implement by calling _mid_memalign.
3497         * manual/probes.texi (Memory Allocation Probes): Remove
3498         memory_valloc_retry and memory_pvalloc_retry.
3500 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3502         * locale/programs/locarchive.c (open_archive): Add const
3503         qualifier to ARCHIVEFNAME and copy default fname to
3504         DEFAULT_FNAME.
3506         [BZ #15601]
3507         * libio/tst-widetext.input: Rename Oriya to Odia.
3508         * locale/iso-639.def: Likewise.
3510         * manual/probes.texi (Mathematical Function Probes): Add
3511         documentation for sin, cos, asin and acos probes.
3512         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3513         (__sin32): Add slowasin probe.
3514         (__cos32): Add slowacos probe.
3515         (__mpsin): Add slowsin probe.
3516         (__mpcos): Add slowcos probe.
3518 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3520         [BZ #15483]
3521         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3522         thread-local __sim_exceptions_thread and global
3523         __sim_exceptions_global.
3524         (__sim_disabled_exceptions): Change to thread-local
3525         __sim_disabled_exceptions_thread and global
3526         __sim_disabled_exceptions_global.
3527         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3528         and global __sim_round_mode_global.
3529         (__simulate_exceptions): Use thread-local floating-point state and
3530         set global state from it as needed.
3531         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3532         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3533         __sim_round_mode_thread.
3534         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3535         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3536         and global __sim_exceptions_global.
3537         (__sim_disabled_exceptions): Change to thread-local
3538         __sim_disabled_exceptions_thread and global
3539         __sim_disabled_exceptions_global.
3540         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3541         and global __sim_round_mode_global.
3542         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3543         (SIM_SET_GLOBAL): Likewise.
3544         * sysdeps/powerpc/soft-fp/sfp-machine.h
3545         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3546         __sim_round_mode_thread.
3547         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3548         __sim_disabled_exceptions_thread.
3549         (__sim_exceptions): Change to __sim_exceptions_thread.
3550         (__sim_disabled_exceptions): Change to
3551         __sim_disabled_exceptions_thread.
3552         (__sim_round_mode): Change to __sim_round_mode_thread.
3553         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3554         thread-local floating-point state and set global state from it as
3555         needed.
3556         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3557         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3558         (__sim_disabled_exceptions): Remove extern declaration.
3559         (feenableexcept): Use thread-local floating-point state and set
3560         global state from it as needed.
3561         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3562         extern declaration.
3563         (__sim_disabled_exceptions): Likewise.
3564         (__sim_round_mode): Likewise.
3565         (__fegetenv): Use thread-local floating-point state.
3566         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3567         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3568         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3569         floating-point state and set global state from it as needed.
3570         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3571         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3572         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3573         Likewise.
3574         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3575         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3576         Likewise.
3577         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3578         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3579         Use __sim_round_mode_thread.
3580         * math/test-fenv-tls.c: New file.
3581         * math/Makefile (tests): Add test-fenv-tls.
3582         ($(objpfx)test-fenv-tls): Depend on
3583         $(common-objpfx)nptl/libpthread.so.
3585 2013-11-19  Andreas Schwab  <schwab@suse.de>
3587         * locale/programs/locale.c (show_info): Decode wordarray elements.
3588         * locale/categories.def (LC_MONETARY): Add element for
3589         _NL_MONETARY_CRNCYSTR.
3590         * locale/C-monetary.c (conversion_rate): New variable.
3591         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3592         element.
3594 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3596         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3597         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3599 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3601         * elf/Makefile (tst-auxv): New test.
3602         * elf/tst-auxv.c: New
3603         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3605 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3607         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3608         (hidden_proto): Caller changed.
3609         (hidden_tls_proto): New macro.
3610         (libc_hidden_tls_proto): Likewise.
3611         (rtld_hidden_tls_proto): Likewise.
3612         (libm_hidden_tls_proto): Likewise.
3613         (libresolv_hidden_tls_proto): Likewise.
3614         (librt_hidden_tls_proto): Likewise.
3615         (libdl_hidden_tls_proto): Likewise.
3616         (libnss_files_hidden_tls_proto): Likewise.
3617         (libnsl_hidden_tls_proto): Likewise.
3618         (libnss_nisplus_hidden_tls_proto): Likewise.
3619         (libutil_hidden_tls_proto): Likewise.
3621 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3623         [BZ #10253]
3624         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3625         (decompose_rpath): Defer expansion to fillin_rpath.
3626         (_dl_init_paths): Pass linkmap to fillin_rpath.
3628 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3630         * benchtests/Makefile: Add strsep.
3631         * benchtests/bench-strsep.c: New file: strsep benchtest.
3632         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3634 2013-11-18  Andreas Schwab  <schwab@suse.de>
3636         * locale/programs/locale.c (show_info) [case byte]: Check for
3637         '\377' instead of '\177'.
3638         * locale/C-monetary.c (not_available): Always use "\377".
3639         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3640         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3641         detect unavailable sign_posn locale elements.
3642         * locale/localeconv.c (__localeconv): For grouping and
3643         mon_grouping handle "\177" and "\377" like no grouping.
3644         (INT_ELEM): New macro.  Use it to set all numeric members.
3645         * locale/programs/ld-monetary.c (monetary_read)
3646         <tok_mon_grouping>: Normalize single -1 to the empty string.
3647         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3648         Likewise.
3650 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3652         [BZ #16055]
3653         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3654         when we match (nil).
3655         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3657 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3659         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3660         (NO_TEST_INLINE): Update value.
3661         (ERRNO_UNCHANGED): Likewise.
3662         (ERRNO_EDOM): Likewise.
3663         (ERRNO_ERANGE): Likewise.
3664         (IGNORE_RESULT): Likewise.
3665         (check_float_internal): Check signs of NaN results if
3666         TEST_NAN_SIGN used.
3667         (check_complex): Pass TEST_NAN_SIGN flag through to second
3668         check_float_internal call.
3669         (copysign_test_data): Add tests with quiet NaNs as second
3670         argument.  Use TEST_NAN_SIGN.
3671         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3672         TEST_NAN_SIGN.
3673         (signbit_test_data): Add tests of quiet NaN argument.
3674         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3676         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3677         $ignore_result.
3678         (parse_args): Handle function results specified as IGNORE.
3679         * math/libm-test.inc (IGNORE_RESULT): New macro.
3680         (check_float_internal): Do not check numerical result if flag
3681         IGNORE_RESULT set.
3682         (check_complex): Pass through IGNORE_RESULT to second
3683         check_float_internal call.
3684         (check_int): Do not check numerical result if flag IGNORE_RESULT
3685         set.
3686         (check_long): Likewise.
3687         (check_bool): Likewise.
3688         (check_longlong): Likewise.
3689         (lrint_test_data): Add tests of infinite and NaN arguments.
3690         (lrint_tonearest_test_data): Likewise.
3691         (lrint_towardzero_test_data): Likewise.
3692         (lrint_downward_test_data): Likewise.
3693         (lrint_upward_test_data): Likewise.
3694         (llrint_test_data): Likewise.
3695         (llrint_tonearest_test_data): Likewise.
3696         (llrint_towardzero_test_data): Likewise.
3697         (llrint_downward_test_data): Likewise.
3698         (llrint_upward_test_data): Likewise.
3699         (lround_test_data): Likewise.
3700         (llround_test_data): Likewise.
3702         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3703         (ERRNO_UNCHANGED): Update value.
3704         (ERRNO_EDOM): Likewise.
3705         (ERRNO_ERANGE): Likewise.
3706         (NO_TEST_INLINE_FLOAT): New macro.
3707         (NO_TEST_INLINE_DOUBLE): Likewise.
3708         (enable_test): New function.
3709         (RUN_TEST_f_f): Check enable_test before running test.
3710         (RUN_TEST_2_f): Likewise.
3711         (RUN_TEST_fff_f): Likewise.
3712         (RUN_TEST_c_f): Likewise.
3713         (RUN_TEST_f_f1): Likewise.
3714         (RUN_TEST_fF_f1): Likewise.
3715         (RUN_TEST_fI_f1): Likewise.
3716         (RUN_TEST_ffI_f1): Likewise.
3717         (RUN_TEST_c_c): Likewise.
3718         (RUN_TEST_cc_c): Likewise.
3719         (RUN_TEST_f_i): Likewise.
3720         (RUN_TEST_f_i_tg): Likewise.
3721         (RUN_TEST_ff_i_tg): Likewise.
3722         (RUN_TEST_f_b): Likewise.
3723         (RUN_TEST_f_b_tg): Likewise.
3724         (RUN_TEST_f_l): Likewise.
3725         (RUN_TEST_f_L): Likewise.
3726         (RUN_TEST_fFF_11): Likewise.
3727         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3728         conditionals.
3729         (cosh_test_data): Likewise.
3730         (exp_test_data): Likewise.
3731         (expm1_test_data): Likewise.
3732         (hypot_test_data): Likewise.
3733         (pow_test_data): Likewise.
3734         (sinh_test_data): Likewise.
3735         (tanh_test_data): Likewise.
3736         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3737         flags argument.
3739         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3740         tests with quiet NaN input and output.
3741         (acosh_test_data): Likewise.
3742         (asin_test_data): Likewise.
3743         (asinh_test_data): Likewise.
3744         (atan_test_data): Likewise.
3745         (atanh_test_data): Likewise.
3746         (atan2_test_data): Likewise.
3747         (cbrt_test_data): Likewise.
3748         (cos_test_data): Likewise.
3749         (cosh_test_data): Likewise.
3750         (erf_test_data): Likewise.
3751         (erfc_test_data): Likewise.
3752         (exp_test_data): Likewise.
3753         (exp10_test_data): Likewise.
3754         (exp2_test_data): Likewise.
3755         (expm1_test_data): Likewise.
3756         (hypot_test_data): Likewise.
3757         (j0_test_data): Likewise.
3758         (j1_test_data): Likewise.
3759         (jn_test_data): Likewise.
3760         (lgamma_test_data): Likewise.
3761         (log_test_data): Likewise.
3762         (log10_test_data): Likewise.
3763         (log1p_test_data): Likewise.
3764         (log2_test_data): Likewise.
3765         (pow_test_data): Likewise.
3766         (scalb_test_data): Likewise.
3767         (sin_test_data): Likewise.
3768         (sincos_test_data): Likewise.
3769         (sinh_test_data): Likewise.
3770         (tan_test_data): Likewise.
3771         (tanh_test_data): Likewise.
3772         (tgamma_test_data): Likewise.
3773         (y0_test_data): Likewise.
3774         (y1_test_data): Likewise.
3775         (yn_test_data): Likewise.
3777         [BZ #16167]
3778         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3779         argument being NaN and avoid computations with second argument in
3780         that case.
3781         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3782         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3783         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3785 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3787         * locale/iso-639.def: Add Chitwani Tharu (the).
3789 2013-11-14  Andreas Schwab  <schwab@suse.de>
3791         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3792         word instead of empty string.
3794 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3797         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3799         (__fe_nomask_env): Likewise.
3801 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3803         * benchtests/bench-timing.h: Include time.h.
3805 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3807         [BZ #15997]
3808         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3809         to 3.4.0 for x32.
3810         * sysdeps/unix/sysv/linux/configure: Regenerated.
3812 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3814         [BZ #16151]
3815         * stdlib/strtod_l.c (round_and_return): Do not consider
3816         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3817         exponent one less than half the least subnormal exponent.
3818         * stdlib/test-strtod-round-data: Add more tests.
3819         * stdlib/tst-strtod-round.c (tests): Regenerated.
3821 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3823         [BZ #14143]
3824         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3825         (__fe_mask_env): Likewise.
3826         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3827         libm_hidden_proto and add function prototype.
3828         (__fe_mask_env): Add function prototype.
3829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3830         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3832         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3834         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3836 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3838         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3839         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3841 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3843         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3844         of htab_find_slot().
3846 2013-11-11  David S. Miller  <davem@davemloft.net>
3848         [BZ #16150]
3849         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3850         symbol in the non-vis3 case in static builds.
3851         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3852         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3853         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3854         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3856 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3858         [BZ #387]
3859         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3860         it is empty.
3862 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3864         * benchtests/Makefile: Add bench-strtod.
3865         * benchtests/bench-strtod.c: New file: strtod benchtest
3867 2013-11-11  Andreas Schwab  <schwab@suse.de>
3869         [BZ #16153]
3870         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3871         terminating NUL in key length.
3873 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3875         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3876         Add artificial ODP entry for vDSO symbol for PPC64.
3877         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3878         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3880 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3882         [BZ #15374]
3883         * nss/getent.c (services_keys): Recognize services starting with digit.
3885 2013-11-06  David S. Miller  <davem@davemloft.net>
3887         [BZ #15985]
3888         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3889         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3891 2013-11-06  Will Newton  <will.newton@linaro.org>
3893         * manual/memory.texi (Malloc Examples): Remove register
3894         keyword from examples.
3896 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3898         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3900 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3902         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3903         depending on [__GCC_IEC_559 > 0].
3904         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3905         depending on [__GCC_IEC_559_COMPLEX > 0].
3907 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3909         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3910         to iso-639.def.
3912 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3914         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3916 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3918         [BZ #16112]
3919         * malloc/malloc (malloc_info): Do not handle first bin as
3920         special case.
3922 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3924         * locale/iso-639.def: Add Central Nahuatl (nhn).
3926 2013-11-01  Bruno Haible  <bruno@clisp.org>
3928         [BZ #7003]
3929         * manual/math.texi (BSD Random): Specify range upper bound as
3930         in POSIX.
3932 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3934         * locale/iso-639.def: Add Meadow Mari (mhr).
3936 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3938         [BZ #14752], [BZ #15763]
3939         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3940         Validate name.
3941         * rt/tst_shm.c: Add test for escaping directory.
3943 2013-10-31  Andreas Schwab  <schwab@suse.de>
3945         [BZ #15917]
3946         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3947         followed by 'x' as part of digit sequence.
3948         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3950 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3952         [BZ #16037]
3953         * configure.ac: allow GNU Make 4.0 and greater.
3954         * configure: Regenerated.
3956 2013-10-30  Will Newton  <will.newton@linaro.org>
3958         [BZ #16038]
3959         * malloc/hooks.c (memalign_check): Limit alignment to the
3960         maximum representable power of two.
3961         * malloc/malloc.c (__libc_memalign): Likewise.
3962         * malloc/tst-memalign.c (do_test): Add test for very
3963         large alignment values.
3964         * malloc/tst-posix_memalign.c (do_test): Likewise.
3966 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3968         [BZ #11087]
3969         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3970         (munmap_chunk): Likewise.
3971         (mremap_chunk): Likewise.
3973 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3975         [BZ #15799]
3976         * stdlib/div.c (div): Remove obsolete code.
3977         * stdlib/ldiv.c (ldiv): Likewise.
3978         * stdlib/lldiv.c (lldiv): Likewise.
3980 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3982         [BZ #16071]
3983         * nss/nss_files/files-XXX.c (get_contents_ret): New
3984         enumerator.
3985         (get_contents): New function.
3986         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3988 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3990         * configure.in: Moved to ...
3991         * configure.ac: ... here. Change reference to configure.in
3992         to configure.ac.
3993         * sysdeps/arm/preconfigure.ac: ... here.
3994         configure.in to configure.ac.
3995         * sysdeps/gnu/configure.in: Moved to ...
3996         * sysdeps/gnu/configure.ac: ... here.
3997         * sysdeps/i386/configure.in: Moved to ...
3998         * sysdeps/i386/configure.ac: ... here.
3999         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4000         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4001         * sysdeps/mach/configure.in: Moved to ...
4002         * sysdeps/mach/configure.ac: ... here.
4003         * sysdeps/mach/hurd/configure.in: Moved to ...
4004         * sysdeps/mach/hurd/configure.ac: ... here.
4005         * sysdeps/powerpc/configure.in: Moved to ...
4006         * sysdeps/powerpc/configure.ac: ... here.
4007         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4008         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4009         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4010         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4011         * sysdeps/s390/s390-32/configure.in: Moved to ...
4012         * sysdeps/s390/s390-32/configure.ac: ... here.
4013         * sysdeps/s390/s390-64/configure.in: Moved to ...
4014         * sysdeps/s390/s390-64/configure.ac: ... here.
4015         * sysdeps/sh/configure.in: Moved to ...
4016         * sysdeps/sh/configure.ac: ... here.
4017         * sysdeps/sparc/configure.in: Moved to ...
4018         * sysdeps/sparc/configure.ac: ... here.
4019         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4020         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4021         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4022         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4023         * sysdeps/x86_64/configure.in: Moved to ...
4024         * sysdeps/x86_64/configure.ac: ... here.
4025         * sysdeps/x86_64/preconfigure.in: Moved to ...
4026         * sysdeps/x86_64/preconfigure.ac: ... here.
4027         * aclocal.m4: Change reference to configure.in to configure.ac.
4028         * config.h.in: Likewise.
4029         * manual/install.texi: Likewise.
4030         * manual/maint.texi: Likewise.
4031         * Makefile: Likewise.
4032         * malloc/Makefile: Likewise.
4033         * nscd/Makefile: Likewise.
4034         * Makeconfig: Change reference to configure.in and
4035         preconfigure.in to configure.ac and preconfigure.ac
4036         respectively.
4037         * INSTALL: Regenerated.
4038         * configure: Likewise.
4039         * sysdeps/gnu/configure: Likewise.
4040         * sysdeps/i386/configure: Likewise.
4041         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4042         * sysdeps/mach/configure: Likewise.
4043         * sysdeps/mach/hurd/configure: Likewise.
4044         * sysdeps/powerpc/configure: Likewise.
4045         * sysdeps/powerpc/powerpc32/configure: Likewise.
4046         * sysdeps/powerpc/powerpc64/configure: Likewise.
4047         * sysdeps/s390/s390-32/configure: Likewise.
4048         * sysdeps/s390/s390-64/configure: Likewise.
4049         * sysdeps/sh/configure: Likewise.
4050         * sysdeps/sparc/configure: Likewise.
4051         * sysdeps/unix/sysv/linux/configure: Likewise.
4052         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4053         * sysdeps/x86_64/configure: Likewise.
4054         * sysdeps/x86_64/preconfigure: Likewise.
4056 2013-10-29  Andreas Schwab  <schwab@suse.de>
4058         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4060 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4062         * benchtests/pow-inputs: Add new inputs.
4064         * benchtests/exp-inputs: Add new inputs.
4066         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4067         conditional check for return value.
4068         (__cos32): Likewise.
4070 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4072         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4073         to provide a boost for large inputs with word alignment.
4074         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4075         implementation based on optimized PPC64 strcpy.
4076         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4077         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4078         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4079         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4081 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4083         [BZ #2801]
4084         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4086 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4088         [BZ #14876]
4089         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4090         * time/tst-strptime.c (day_tests): Add testcase.
4092 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4094         [BZ #14029]
4095         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4097 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4099         [BZ #16074]
4100         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4101         MAP_FAILED on error.
4103 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4105         [BZ #16072]
4106         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4107         heap for large requests.
4109 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4111         [BZ #9954]
4112         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4113         result if the result has no associated interface.
4114         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4115         interface for all 127.X.Y.Z addresses.
4117 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4119         * locale/iso-639.def: Add Ligurian (lij)
4121 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4123         [BZ #15825]
4124         * sunrpc/rpc_main.c: Document rpcgen -5.
4126 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4128         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4130 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4132         [BZ #10278]
4133         * posix/glob.c: Match only directories when trailing slash is present.
4134         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4135         (main): Add testcase.
4137 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4139         [BZ #15670]
4140         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4142 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4144         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4145         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4146         AUTH_DES and cindex for FIPS 140-2.
4147         (DES Encryption): Add cindex FIPS 46-3.
4149         * locale/locarchive.h (struct locarhandle): Add fname.
4150         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4151         if an optional argument was specified to --list-archive,
4152         otherwise NULL.
4153         * locale/programs/locarchive.c (show_archive_content): Take new
4154         argument fname and pass it via ah.fname to open_archive.
4155         * locale/programs/localedef.h: Update decl.
4156         (open_archive): If AH->fname is non-null, open that file
4157         rather than the default file name, and don't ignore ENOENT.
4158         (create_archive): Set AH.fname to NULL.
4159         (delete_locales_from_archive): Likewise.
4160         (add_locales_to_archive): Likewise.
4161         * locale/programs/locfile.c (write_all_categories): Likewise.
4163 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4164             Aldy Hernandez  <aldyh@redhat.com>
4166         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4167         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4168         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4169         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4170         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4171         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4172         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4173         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4174         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4175         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4176         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4177         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4178         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4179         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4180         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4181         Likewise.
4182         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4183         Likewise.
4184         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4185         Likewise.
4186         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4187         Likewise.
4188         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4189         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4190         Likewise.
4191         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4192         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4193         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4194         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4195         Likewise.
4196         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4197         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4198         * sysdeps/powerpc/preconfigure: Likewise.
4199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4200         Likewise.
4201         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4202         Replace contents of file by #include of <fenv_libc.h>.
4203         * sysdeps/powerpc/soft-fp/sfp-machine.h
4204         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4205         and <sys/prctl.h>.
4206         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4207         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4208         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4209         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4210         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4211         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4213         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4214         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4215         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4216         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4217         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4219         Allow copysignl PLT reference to be missing.
4221 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4222             Joseph Myers  <joseph@codesourcery.com
4224         [BZ #15948]
4225         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4226         single character.
4227         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4229 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4231         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4232         * elf/tst-tls1.c: Likewise.
4233         * elf/tst-tls10.h: Likewise.
4234         * elf/tst-tls14.c: Likewise.
4235         * elf/tst-tls2.c: Likewise.
4236         * elf/tst-tls3.c: Likewise.
4237         * elf/tst-tls4.c: Likewise.
4238         * elf/tst-tls5.c: Likewise.
4239         * elf/tst-tls6.c: Likewise.
4240         * elf/tst-tls7.c: Likewise.
4241         * elf/tst-tls8.c: Likewise.
4242         * elf/tst-tls9.c: Likewise.
4243         * elf/tst-tlsmod1.c: Likewise.
4244         * elf/tst-tlsmod13.c: Likewise.
4245         * elf/tst-tlsmod13a.c: Likewise.
4246         * elf/tst-tlsmod14a.c: Likewise.
4247         * elf/tst-tlsmod16a.c: Likewise.
4248         * elf/tst-tlsmod16b.c: Likewise.
4249         * elf/tst-tlsmod2.c: Likewise.
4250         * elf/tst-tlsmod3.c: Likewise.
4251         * elf/tst-tlsmod4.c: Likewise.
4252         * elf/tst-tlsmod5.c: Likewise.
4253         * elf/tst-tlsmod6.c: Likewise.
4255 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4257         [BZ #12486]
4258         * malloc/malloc.c: remove checks for statistics.
4260 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4262         [BZ #15277]
4263         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4264         * inet/tst-network.c: Add testcase.
4266 2013-10-17  Andreas Schwab  <schwab@suse.de>
4268         [BZ #15218]
4269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4270         to determine canonical name.
4272 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4274         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4275         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4276         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4277         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4278         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4279         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4280         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4281         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4282         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4283         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4284         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4285         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4286         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4287         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4288         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4289         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4290         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4291         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4292         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4293         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4294         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4295         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4296         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4297         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4298         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4299         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4300         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4301         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4302         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4303         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4304         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4305         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4306         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4307         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4308         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4309         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4310         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4311         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4312         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4313         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4314         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4315         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4316         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4317         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4318         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4319         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4320         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4321         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4322         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4323         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4324         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4325         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4326         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4327         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4328         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4329         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4330         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4331         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4333 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4335         [BZ #16041]
4336         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4337         make result into a quiet NaN.
4339 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4341         * soft-fp/adddf3.c: Fix horizontal whitespace.
4342         * soft-fp/addsf3.c: Likewise.
4343         * soft-fp/addtf3.c: Likewise.
4344         * soft-fp/divdf3.c: Likewise.
4345         * soft-fp/divsf3.c: Likewise.
4346         * soft-fp/divtf3.c: Likewise.
4347         * soft-fp/double.h: Likewise.
4348         * soft-fp/eqdf2.c: Likewise.
4349         * soft-fp/eqsf2.c: Likewise.
4350         * soft-fp/eqtf2.c: Likewise.
4351         * soft-fp/extenddftf2.c: Likewise.
4352         * soft-fp/extended.h: Likewise.
4353         * soft-fp/extendsfdf2.c: Likewise.
4354         * soft-fp/extendsftf2.c: Likewise.
4355         * soft-fp/extendxftf2.c: Likewise.
4356         * soft-fp/fixdfdi.c: Likewise.
4357         * soft-fp/fixdfsi.c: Likewise.
4358         * soft-fp/fixdfti.c: Likewise.
4359         * soft-fp/fixsfdi.c: Likewise.
4360         * soft-fp/fixsfsi.c: Likewise.
4361         * soft-fp/fixsfti.c: Likewise.
4362         * soft-fp/fixtfdi.c: Likewise.
4363         * soft-fp/fixtfsi.c: Likewise.
4364         * soft-fp/fixtfti.c: Likewise.
4365         * soft-fp/fixunsdfdi.c: Likewise.
4366         * soft-fp/fixunsdfsi.c: Likewise.
4367         * soft-fp/fixunsdfti.c: Likewise.
4368         * soft-fp/fixunssfdi.c: Likewise.
4369         * soft-fp/fixunssfsi.c: Likewise.
4370         * soft-fp/fixunssfti.c: Likewise.
4371         * soft-fp/fixunstfdi.c: Likewise.
4372         * soft-fp/fixunstfsi.c: Likewise.
4373         * soft-fp/fixunstfti.c: Likewise.
4374         * soft-fp/floatdidf.c: Likewise.
4375         * soft-fp/floatdisf.c: Likewise.
4376         * soft-fp/floatditf.c: Likewise.
4377         * soft-fp/floatsidf.c: Likewise.
4378         * soft-fp/floatsisf.c: Likewise.
4379         * soft-fp/floatsitf.c: Likewise.
4380         * soft-fp/floattidf.c: Likewise.
4381         * soft-fp/floattisf.c: Likewise.
4382         * soft-fp/floattitf.c: Likewise.
4383         * soft-fp/floatundidf.c: Likewise.
4384         * soft-fp/floatundisf.c: Likewise.
4385         * soft-fp/floatunditf.c: Likewise.
4386         * soft-fp/floatunsidf.c: Likewise.
4387         * soft-fp/floatunsisf.c: Likewise.
4388         * soft-fp/floatunsitf.c: Likewise.
4389         * soft-fp/floatuntidf.c: Likewise.
4390         * soft-fp/floatuntisf.c: Likewise.
4391         * soft-fp/floatuntitf.c: Likewise.
4392         * soft-fp/fmadf4.c: Likewise.
4393         * soft-fp/fmasf4.c: Likewise.
4394         * soft-fp/fmatf4.c: Likewise.
4395         * soft-fp/gedf2.c: Likewise.
4396         * soft-fp/gesf2.c: Likewise.
4397         * soft-fp/getf2.c: Likewise.
4398         * soft-fp/ledf2.c: Likewise.
4399         * soft-fp/lesf2.c: Likewise.
4400         * soft-fp/letf2.c: Likewise.
4401         * soft-fp/muldf3.c: Likewise.
4402         * soft-fp/mulsf3.c: Likewise.
4403         * soft-fp/multf3.c: Likewise.
4404         * soft-fp/negdf2.c: Likewise.
4405         * soft-fp/negsf2.c: Likewise.
4406         * soft-fp/negtf2.c: Likewise.
4407         * soft-fp/op-1.h: Likewise.
4408         * soft-fp/op-2.h: Likewise.
4409         * soft-fp/op-4.h: Likewise.
4410         * soft-fp/op-8.h: Likewise.
4411         * soft-fp/op-common.h: Likewise.
4412         * soft-fp/quad.h: Likewise.
4413         * soft-fp/single.h: Likewise.
4414         * soft-fp/soft-fp.h: Likewise.
4415         * soft-fp/sqrtdf2.c: Likewise.
4416         * soft-fp/sqrtsf2.c: Likewise.
4417         * soft-fp/sqrttf2.c: Likewise.
4418         * soft-fp/subdf3.c: Likewise.
4419         * soft-fp/subsf3.c: Likewise.
4420         * soft-fp/subtf3.c: Likewise.
4421         * soft-fp/truncdfsf2.c: Likewise.
4422         * soft-fp/trunctfdf2.c: Likewise.
4423         * soft-fp/trunctfsf2.c: Likewise.
4424         * soft-fp/trunctfxf2.c: Likewise.
4425         * soft-fp/unorddf2.c: Likewise.
4426         * soft-fp/unordsf2.c: Likewise.
4427         * soft-fp/unordtf2.c: Likewise.
4429 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4431         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4432         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4434 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4436         * elf/dl-libc.c: Clear initfini list after freeing.
4438 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4440         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4441         * soft-fp/addsf3.c: Likewise.
4442         * soft-fp/addtf3.c: Likewise.
4443         * soft-fp/divdf3.c: Likewise.
4444         * soft-fp/divsf3.c: Likewise.
4445         * soft-fp/divtf3.c: Likewise.
4446         * soft-fp/double.h: Likewise.
4447         * soft-fp/eqdf2.c: Likewise.
4448         * soft-fp/eqsf2.c: Likewise.
4449         * soft-fp/eqtf2.c: Likewise.
4450         * soft-fp/extenddftf2.c: Likewise.
4451         * soft-fp/extended.h: Likewise.
4452         * soft-fp/extendsfdf2.c: Likewise.
4453         * soft-fp/extendsftf2.c: Likewise.
4454         * soft-fp/extendxftf2.c: Likewise.
4455         * soft-fp/fixdfdi.c: Likewise.
4456         * soft-fp/fixdfsi.c: Likewise.
4457         * soft-fp/fixdfti.c: Likewise.
4458         * soft-fp/fixsfdi.c: Likewise.
4459         * soft-fp/fixsfsi.c: Likewise.
4460         * soft-fp/fixsfti.c: Likewise.
4461         * soft-fp/fixtfdi.c: Likewise.
4462         * soft-fp/fixtfsi.c: Likewise.
4463         * soft-fp/fixtfti.c: Likewise.
4464         * soft-fp/fixunsdfdi.c: Likewise.
4465         * soft-fp/fixunsdfsi.c: Likewise.
4466         * soft-fp/fixunsdfti.c: Likewise.
4467         * soft-fp/fixunssfdi.c: Likewise.
4468         * soft-fp/fixunssfsi.c: Likewise.
4469         * soft-fp/fixunssfti.c: Likewise.
4470         * soft-fp/fixunstfdi.c: Likewise.
4471         * soft-fp/fixunstfsi.c: Likewise.
4472         * soft-fp/fixunstfti.c: Likewise.
4473         * soft-fp/floatdidf.c: Likewise.
4474         * soft-fp/floatdisf.c: Likewise.
4475         * soft-fp/floatditf.c: Likewise.
4476         * soft-fp/floatsidf.c: Likewise.
4477         * soft-fp/floatsisf.c: Likewise.
4478         * soft-fp/floatsitf.c: Likewise.
4479         * soft-fp/floattidf.c: Likewise.
4480         * soft-fp/floattisf.c: Likewise.
4481         * soft-fp/floattitf.c: Likewise.
4482         * soft-fp/floatundidf.c: Likewise.
4483         * soft-fp/floatundisf.c: Likewise.
4484         * soft-fp/floatunsidf.c: Likewise.
4485         * soft-fp/floatunsisf.c: Likewise.
4486         * soft-fp/floatuntidf.c: Likewise.
4487         * soft-fp/floatuntisf.c: Likewise.
4488         * soft-fp/floatuntitf.c: Likewise.
4489         * soft-fp/fmadf4.c: Likewise.
4490         * soft-fp/fmasf4.c: Likewise.
4491         * soft-fp/fmatf4.c: Likewise.
4492         * soft-fp/gedf2.c: Likewise.
4493         * soft-fp/gesf2.c: Likewise.
4494         * soft-fp/getf2.c: Likewise.
4495         * soft-fp/ledf2.c: Likewise.
4496         * soft-fp/lesf2.c: Likewise.
4497         * soft-fp/letf2.c: Likewise.
4498         * soft-fp/muldf3.c: Likewise.
4499         * soft-fp/mulsf3.c: Likewise.
4500         * soft-fp/multf3.c: Likewise.
4501         * soft-fp/negdf2.c: Likewise.
4502         * soft-fp/negsf2.c: Likewise.
4503         * soft-fp/negtf2.c: Likewise.
4504         * soft-fp/op-1.h: Likewise.
4505         * soft-fp/op-2.h: Likewise.
4506         * soft-fp/op-4.h: Likewise.
4507         * soft-fp/op-8.h: Likewise.
4508         * soft-fp/op-common.h: Likewise.
4509         * soft-fp/quad.h: Likewise.
4510         * soft-fp/single.h: Likewise.
4511         * soft-fp/soft-fp.h: Likewise.
4512         * soft-fp/sqrtdf2.c: Likewise.
4513         * soft-fp/sqrtsf2.c: Likewise.
4514         * soft-fp/sqrttf2.c: Likewise.
4515         * soft-fp/subdf3.c: Likewise.
4516         * soft-fp/subsf3.c: Likewise.
4517         * soft-fp/subtf3.c: Likewise.
4518         * soft-fp/truncdfsf2.c: Likewise.
4519         * soft-fp/trunctfdf2.c: Likewise.
4520         * soft-fp/trunctfsf2.c: Likewise.
4521         * soft-fp/trunctfxf2.c: Likewise.
4522         * soft-fp/unorddf2.c: Likewise.
4523         * soft-fp/unordsf2.c: Likewise.
4524         * soft-fp/unordtf2.c: Likewise.
4526 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4528         [BZ #15672]
4529         * misc/error.c (error_tail): Fix possible buffer overflow.
4531 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4533         [BZ #13028]
4534         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4535         address.
4537 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4539         [BZ #832]
4540         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4541         testing pipefail option.
4543 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4545         * soft-fp/double.h: Indent preprocessor directives inside #if.
4546         * soft-fp/extended.h: Likewise.
4547         * soft-fp/op-2.h: Likewise.
4548         * soft-fp/op-4.h: Likewise.
4549         * soft-fp/op-common.h: Likewise.
4550         * soft-fp/quad.h: Likewise.
4551         * soft-fp/single.h: Likewise.
4552         * soft-fp/soft-fp.h: Likewise.
4554 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4556         * iconv/iconv_prog.c: Fix typos.
4557         * stdio-common/psiginfo-data.h: Likewise.
4559 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4561         [BZ #15764]
4562         * locale/setlocale.c: Fix typo.
4564 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4566         [BZ #16036]
4567         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4568         signaling NaN arguments.
4569         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4570         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4572         [BZ #14910]
4573         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4574         unordered operands.
4575         * soft-fp/gesf2.c (__gesf2): Likewise.
4576         * soft-fp/getf2.c (__getf2): Likewise.
4577         * soft-fp/ledf2.c (__ledf2): Likewise.
4578         * soft-fp/lesf2.c (__lesf2): Likewise.
4579         * soft-fp/letf2.c (__letf2): Likewise.
4581         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4582         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4583         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4584         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4585         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4586         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4587         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4588         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4589         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4590         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4591         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4592         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4593         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4594         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4595         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4596         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4597         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4598         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4599         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4600         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4601         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4602         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4603         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4604         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4605         * soft-fp/floattidf.c (__floattidf): Likewise.
4606         * soft-fp/floattisf.c (__floattisf): Likewise.
4607         * soft-fp/floattitf.c (__floattitf): Likewise.
4608         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4609         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4610         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4611         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4612         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4613         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4614         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4615         * soft-fp/gesf2.c (__gesf2): Likewise.
4616         * soft-fp/getf2.c (__getf2): Likewise.
4617         * soft-fp/ledf2.c (__ledf2): Likewise.
4618         * soft-fp/lesf2.c (__lesf2): Likewise.
4619         * soft-fp/letf2.c (__letf2): Likewise.
4621         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4622         Undefine and redefine.
4623         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4624         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4625         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4626         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4627         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4628         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4629         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4630         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4631         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4632         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4633         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4634         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4635         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4636         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4637         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4639         [BZ #16032]
4640         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4641         without decrementing exponent if mantissa >= that for the
4642         denominator, not >.
4643         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4644         denominator, not >.  Decrement exponent in < case instead of
4645         incrementing in >= case.
4646         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4647         without decrementing exponent if mantissa >= that for the
4648         denominator, not >.
4650         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4651         computing saturated result for unsigned overflow.
4653 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4654             Jeff Law  <law@redhat.com>
4656         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4657         (atan2Mp): Add systemtap probe marker.
4658         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4659         (__ieee754_log): Add systemtap probe marker.
4660         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4661         (atanMp): Add systemtap probe marker.
4662         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4663         (tanMp): Add systemtap probe marker.
4664         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4665         (__slowexp): Add systemtap probe marker.
4666         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4667         (__slowpow): Add systemtap probe marker.
4668         * manual/probes.texi: Document probes.
4670 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4672         [BZ #15362]
4673         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4674         written.
4675         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4676         written.
4677         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4678         written to buffer but not flushed.
4679         * libio/iofwrite_u.c:  Likewise.
4680         * libio/iopadn.c:  Return bytes returned even if EOF was
4681         encountered.
4682         * libio/iowpadn.c:  Likewise.
4683         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4684         if _IO_padn does not write the whole buffer.
4685         [!COMPILE_WPRINTF] (PAD): Likewise.
4687 2013-10-10  David S. Miller  <davem@davemloft.net>
4689         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4690         directory block.
4692 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4694         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4695         instead of FSF address.
4696         * soft-fp/fixdfti.c: Likewise.
4697         * soft-fp/fixsfti.c: Likewise.
4698         * soft-fp/fixtfti.c: Likewise.
4699         * soft-fp/fixunsdfti.c: Likewise.
4700         * soft-fp/fixunssfti.c: Likewise.
4701         * soft-fp/fixunstfti.c: Likewise.
4702         * soft-fp/floattidf.c: Likewise.
4703         * soft-fp/floattisf.c: Likewise.
4704         * soft-fp/floattitf.c: Likewise.
4705         * soft-fp/floatuntidf.c: Likewise.
4706         * soft-fp/floatuntisf.c: Likewise.
4707         * soft-fp/floatuntitf.c: Likewise.
4708         * soft-fp/trunctfxf2.c: Likewise.
4710         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4711         * soft-fp/fixdfti.c: Likewise.
4712         * soft-fp/fixsfti.c: Likewise.
4713         * soft-fp/fixtfti.c: Likewise.
4714         * soft-fp/fixunsdfti.c: Likewise.
4715         * soft-fp/fixunssfti.c: Likewise.
4716         * soft-fp/fixunstfti.c: Likewise.
4717         * soft-fp/floattidf.c: Likewise.
4718         * soft-fp/floattisf.c: Likewise.
4719         * soft-fp/floattitf.c: Likewise.
4720         * soft-fp/floatuntidf.c: Likewise.
4721         * soft-fp/floatuntisf.c: Likewise.
4722         * soft-fp/floatuntitf.c: Likewise.
4723         * soft-fp/trunctfxf2.c: Likewise.
4725 2013-10-10  David S. Miller  <davem@davemloft.net>
4727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4729 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4731         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4732         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4733         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4734         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4735         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4736         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4737         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4739         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4740         for NaNs before doing comparisons on argument.
4741         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4742         Likewise.
4744 2013-10-10  Will Newton  <will.newton@linaro.org>
4746         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4747         passed to _int_memalign does not overflow.
4749 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4751         * scripts/bench.pl: Add include-sources directive.
4752         * benchtests/README: Update documentation.
4754 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4756         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4757         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4758         instead of FP_INIT_ROUNDMODE.
4759         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4760         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4762         [BZ #16034]
4763         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4764         copy class of input value.
4765         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4766         not handle exceptions.
4767         * soft-fp/negsf2.c (__negsf2): Likewise.
4768         * soft-fp/negtf2.c (__negtf2): Likewise.
4769         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4771 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4773         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4774         semicolon.  From Linux kernel.
4776 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4778         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4780 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4782         [BZ #156]
4783         * manual/socket.texi: Added statement about buffer
4784         for gethostbyname2_r.
4786 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4788         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4789         Use .p2align directive instead, throughout.
4790         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4791         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4792         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4793         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4794         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4795         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4796         * sysdeps/x86_64/strchr.S: Likewise.
4797         * sysdeps/x86_64/strrchr.S: Likewise.
4799 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4801         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4803         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4805         * sysdeps/generic/math_private.h (__mpsin1): Remove
4806         declaration.
4807         (__mpcos1): Likewise.
4808         (__mpsin): New argument __range_reduce.
4809         (__mpcos): Likewise.
4810         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4811         (slow): Use __mpsin and __mpcos.
4812         (slow1): Likewise.
4813         (slow2): Likewise.
4814         (sloww): Likewise.
4815         (sloww1): Likewise.
4816         (sloww2): Likewise.
4817         (bsloww): Likewise.
4818         (bsloww1): Likewise.
4819         (bsloww2): Likewise.
4820         (cslow2): Likewise.
4821         (csloww): Likewise.
4822         (csloww1): Likewise.
4823         (csloww2): Likewise.
4824         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4825         range_reduce.  Merge in __mpsin1.
4826         (__mpcos): Likewise.
4827         (__mpsin1): Remove.
4828         (__mpcos1): Likewise.
4830 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4832         * locale/loadlocale.c (_nl_intern_locale_data): Use
4833         LOCFILE_ALIGNED_P.
4834         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4835         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4836         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4837         obstack data is appropriately aligned.
4838         (obstack_int32_grow_fast): Likewise.
4839         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4840         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4841         (add_locale_uint32_array): Likewise.
4843 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4845         * benchtests/Makefile: Remove ARGLIST and RET variables.
4846         ($(objpfx)bench-%.c): Pass only function name to the script.
4847         * benchtests/README: Update documentation.
4848         * benchtests/acos-inputs: Add new directives.
4849         * benchtests/acosh-inputs: Likewise.
4850         * benchtests/asin-inputs: Likewise.
4851         * benchtests/asinh-inputs: Likewise.
4852         * benchtests/atan-inputs: Likewise.
4853         * benchtests/atanh-inputs: Likewise.
4854         * benchtests/cos-inputs: Likewise.
4855         * benchtests/cosh-inputs: Likewise.
4856         * benchtests/exp-inputs: Likewise.
4857         * benchtests/log-inputs: Likewise.
4858         * benchtests/pow-inputs: Likewise.
4859         * benchtests/rint-inputs: Likewise.
4860         * benchtests/sin-inputs: Likewise.
4861         * benchtests/sinh-inputs: Likewise.
4862         * benchtests/tan-inputs: Likewise.
4863         * benchtests/tanh-inputs: Likewise.
4864         * scripts/bench.pl: Add support for new directives.
4866 2013-10-07  Alan Modra  <amodra@gmail.com>
4868         * README: Fix careless merge.
4870 2013-10-05  Alan Modra  <amodra@gmail.com>
4872         * NEWS: Mention powerpc64le support and bugs fixed.
4873         * README: Both big-endian and little-endian powerpc64 supported.
4875 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4877         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4878         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4879         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4880         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4882 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4884         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4885         match prototype.
4887 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4889         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4890         Move -mhard-float appending from
4891         ports/sysdeps/powerpc/powerpc32/Makefile.
4892         [$(with-fp) = yes] (ASFLAGS): Likewise.
4893         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4894         * sysdeps/powerpc/nofpu: Move directory from
4895         ports/sysdeps/powerpc/nofpu.
4896         * sysdeps/powerpc/soft-fp: Move directory from
4897         ports/sysdeps/powerpc/soft-fp.
4898         * sysdeps/powerpc/powerpc32/405: Move directory from
4899         ports/sysdeps/powerpc/powerpc32/405.
4900         * sysdeps/powerpc/powerpc32/440: Move directory from
4901         ports/sysdeps/powerpc/powerpc32/440.
4902         * sysdeps/powerpc/powerpc32/464: Move directory from
4903         ports/sysdeps/powerpc/powerpc32/464.
4904         * sysdeps/powerpc/powerpc32/476: Move directory from
4905         ports/sysdeps/powerpc/powerpc32/476.
4906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4907         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4909         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4911         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4913         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4915         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4916         * README: Update for powerpc-*-linux-gnu software floating point
4917         support in libc.
4919         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4920         case to powerpc/powerpc32*.
4921         * sysdeps/unix/sysv/linux/configure: Regenerated.
4923         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4924         (_FPU_MASK_OM): Define as 0x04.
4925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4927         0x00c10080.
4928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4929         0x0000003c.
4930         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4933         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4934         getcontext_e500.
4935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4936         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4937         setcontext_e500.
4938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4939         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4940         and setcontext_e500.
4942 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4944         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4946 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4948         * manual/threads.texi (Default Thread Attributes): Fix typo.
4950 2013-10-04  Will Newton  <will.newton@linaro.org>
4952         * malloc/Makefile: Add tst-memalign.
4953         * malloc/tst-memalign.c: New file.
4955         * malloc/tst-posix_memalign.c: Add comments.
4956         (do_test): Add comments and call free on all potentially
4957         allocated pointers. Add space after cast.
4959         * malloc/tst-pvalloc.c: Add comments.
4960         (do_test): Add comments and call free on all potentially
4961         allocated pointers. Remove duplicate check for NULL pointer.
4962         Add space after cast.
4964         * malloc/tst-valloc.c: Add comments.
4965         (do_test): Add comments and call free on all potentially
4966         allocated pointers. Remove duplicate check for NULL pointer.
4967         Add space after cast.
4969 2013-10-04  Alan Modra  <amodra@gmail.com>
4971         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4972         Use stdint types in rather than __attribute__((mode())).
4973         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4975 2013-10-04  Alan Modra  <amodra@gmail.com>
4977         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4978         Correct handling of unaligned relocs for little-endian.
4979         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4981 2013-10-04  Alan Modra  <amodra@gmail.com>
4983         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4984         * configure: Regenerate.
4985         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4986         * shlib-versions: Likewise.
4988 2013-10-04  Alan Modra  <amodra@gmail.com>
4990         * string/tester.c (test_memrchr): Increment reported test cycle.
4992 2013-10-04  Alan Modra  <amodra@gmail.com>
4994         * string/test-memcpy.c (do_one_test): When reporting errors, print
4995         string address and don't overrun end of string.
4997 2013-10-04  Alan Modra  <amodra@gmail.com>
4999         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5000         insrdi.  Make better use of reg selection to speed exit slightly.
5001         Schedule entry path a little better.  Remove useless "are we done"
5002         checks on entry to main loop.  Handle wrapping around zero address.
5003         Correct main loop count.  Handle single left-over word from main
5004         loop inline rather than by using loop_small.  Remove extra word
5005         case in loop_small caused by wrong loop count.  Add little-endian
5006         support.
5007         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5008         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5009         cache hint.
5010         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5011         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5012         support.  Avoid rlwimi.
5013         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5015 2013-10-04  Alan Modra  <amodra@gmail.com>
5017         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5018         insrdi.  Formatting.
5019         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5020         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5021         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5022         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5023         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5024         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5026 2013-10-04  Alan Modra  <amodra@gmail.com>
5028         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5029         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5030         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5031         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5032         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5033         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5034         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5035         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5036         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5037         use of regs.  Use power7 mtocrf.  Tidy function tails.
5039 2013-10-04  Alan Modra  <amodra@gmail.com>
5041         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5042         Formatting.  Consistently use rXXX register defines or rN defines.
5043         Use early exit labels that avoid restoring unused non-volatile regs.
5044         Make cr field use more consistent with rWORDn compares.  Rename
5045         regs used as shift registers for unaligned loop, using rN defines
5046         for short lifetime/multiple use regs.
5047         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5048         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5049         addi 1,1,64 to pop stack frame.  Simplify return value code.
5050         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5052 2013-10-04  Alan Modra  <amodra@gmail.com>
5054         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5055         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5056         rather than rlwimi.
5057         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5058         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5059         little-endian support.  Correct typos.
5060         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5061         rather than rlwimi.
5062         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5063         in loop and entry code to keep "and." results.
5064         (strchr): Add little-endian support.  Comment.  Move cntlzd
5065         earlier in tail.
5066         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5068 2013-10-04  Alan Modra  <amodra@gmail.com>
5070         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5071         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5072         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5073         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5075 2013-10-04  Alan Modra  <amodra@gmail.com>
5077         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5078         (rTMP): Define as r11.
5079         (strcmp): Add little-endian support.  Optimise tail.
5080         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5081         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5082         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5083         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5084         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5085         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5086         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5088 2013-10-04  Alan Modra  <amodra@gmail.com>
5090         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5091         little-endian support.  Remove unnecessary "are we done" tests.
5092         Handle "s" wrapping around zero and extremely large "size".
5093         Correct main loop count.  Handle single left-over word from main
5094         loop inline rather than by using small_loop.  Correct comments.
5095         Delete "zero" tail, use "end_max" instead.
5096         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5098 2013-10-04  Alan Modra  <amodra@gmail.com>
5100         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5101         support.  Don't branch over align.
5102         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5103         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5104         support.  Rearrange tmp reg use to suit.  Comment.
5105         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5107 2013-10-04  Alan Modra  <amodra@gmail.com>
5109         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5111 2013-10-04  Alan Modra  <amodra@gmail.com>
5113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5114         conditional form of branch and link when obtaining pc.
5115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5117 2013-10-04  Alan Modra  <amodra@gmail.com>
5119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5120         HIWORD/LOWORD.
5121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5124 2013-10-04  Alan Modra  <amodra@gmail.com>
5126         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5127         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5128         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5129         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5130         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5131         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5132         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5133         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5134         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5135         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5137 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5138             Alistair Popple <alistair@ozlabs.au.ibm.com>
5139             Alan Modra <amodra@gmail.com>
5141         [BZ #15723]
5142         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5143         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5144         _dl_hwcap access for little-endian.
5145         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5146         destroy vmx regs when saving unaligned.
5147         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5148         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5149         destroy vmx regs when saving unaligned.
5151 2013-10-04  Alan Modra  <amodra@gmail.com>
5153         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5154         Don't use a union to pack hi/low value.
5156 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5158         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5159         for little-endian.
5160         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5161         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5162         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5163         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5164         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5166 2013-10-04  Alan Modra  <amodra@gmail.com>
5168         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5169         constants to usual value for .cst8 section, and remove redundant
5170         high address load.
5171         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5172         constant for 0x1p52.  Load little-endian words of double from
5173         correct stack offsets.
5175 2013-10-04  Alan Modra  <amodra@gmail.com>
5177         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5178         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5179         words of double from correct stack offsets.
5180         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5181         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5182         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5183         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5184         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5185         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5186         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5187         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5188         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5189         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5190         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5191         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5192         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5193         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5194         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5195         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5196         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5198 2013-10-04  Alan Modra  <amodra@gmail.com>
5200         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5201         64-bit int/double union.
5202         (_FPU_SETCW): Likewise.
5203         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5204         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5206 2013-10-04  Alan Modra  <amodra@gmail.com>
5208         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5209         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5211 2013-10-04  Alan Modra  <amodra@gmail.com>
5213         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5214         use vector int constants.
5215         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5217 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5219         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5220         array with long long.
5221         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5222         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5223         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5224         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5225         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5226         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5227         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5228         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5229         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5230         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5231         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5232         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5233         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5235 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5237         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5238         (__signbit): Likewise.  Correct for little-endian.
5239         (__signbitl): Call __signbit.
5240         (lrint): Correct for little-endian.
5241         (lrintf): Call lrint.
5243 2013-10-04  Alan Modra  <amodra@gmail.com>
5245         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5246         union 32-bit int array member with 64-bit int array.
5247         (t515, tm256): Double rather than long double.
5248         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5250 2013-10-04  Alan Modra  <amodra@gmail.com>
5252         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5253         Delete.
5254         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5255         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5256         version of math_ldbl.h.
5258 2013-10-04  Alan Modra  <amodra@gmail.com>
5260         [BZ #15734], [BZ #15735]
5261         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5262         all uses of ieee875 long double macros and unions.  Simplify test
5263         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5264         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5265         normalize after ldbl_extract_mantissa, and don't add hidden bit
5266         already handled.  Don't treat low word of ieee854 mantissa like
5267         low word of IBM long double and mask off bit when testing for
5268         zero.
5269         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5270         all uses of ieee875 long double macros and unions.  Simplify tests
5271         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5272         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5273         two1022, instead use their values.  Recognise that tests for large
5274         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5275         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5276         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5277         test for 0.0L and nan.  Correct negation.
5278         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5279         ieee875 long double macros and unions.  Correct output for large
5280         magnitude x.  Correct absolute value calculation.
5281         (__erfcl): Likewise.
5282         * math/libm-test.inc: Add tests for errors discovered in IBM long
5283         double versions of fmodl, remainderl, erfl and erfcl.
5285 2013-10-04  Alan Modra  <amodra@gmail.com>
5287         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5288         all uses of ieee854 long double macros and unions.  Simplify tests
5289         for long doubles that are fully specified by the high double.
5290         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5291         Likewise.
5292         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5293         Remove dead code too.
5294         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5295         (__ieee754_ynl): Likewise.
5296         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5297         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5298         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5299         Remove dead code too.
5300         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5301         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5302         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5303         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5304         Simplify.
5305         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5306         Simplify.
5307         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5308         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5309         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5310         Comment on variable precision.
5311         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5312         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5313         Likewise.
5314         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5315         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5316         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5317         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5318         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5320 2013-10-04  Alan Modra  <amodra@gmail.com>
5322         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5323         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5324         all uses of ieee854 long double macros and unions.
5325         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5326         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5327         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5328         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5329         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5330         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5331         Likewise.
5332         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5333         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5334         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5335         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5336         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5337         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5338         Simplify sign and nan test too.
5339         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5340         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5341         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5342         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5343         Likewise.
5344         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5345         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5346         Likewise.
5347         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5348         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5349         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5350         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5351         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5352         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5354 2013-10-04  Alan Modra  <amodra@gmail.com>
5356         * stdio-common/printf_size.c (__printf_size): Don't use
5357         union ieee854_long_double in fpnum union.
5358         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5359         signbit macro to retrieve sign from long double.
5360         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5361         retrieve sign from long double.
5362         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5363         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5364         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5365         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5366         * math/test-misc.c (main): Don't use union ieee854_long_double.
5368 2013-10-04  Alan Modra  <amodra@gmail.com>
5370         [BZ #15680]
5371         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5372         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5373         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5374         calculation.  Remove unnecessary test for denormal exponent.
5375         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5376         Correct handling of denormals.  Avoid undefined shift behaviour.
5377         Correct normalisation of low mantissa when low double is denormal.
5378         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5379         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5380         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5381         Correct normalisation of low mantissa.  Test for overflow of high
5382         mantissa and normalise.
5383         (ldbl_nearbyint): Use more readable constant for two52.
5384         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5385         (__mpn_construct_long_double): Fix test for overflow of high
5386         mantissa and correct normalisation.  Avoid undefined shift.
5388 2013-10-04  Alan Modra  <amodra@gmail.com>
5390         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5391         (union ibm_extended_long_double): Define as an array of ieee754_double.
5392         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5393         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5394         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5395         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5396         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5397         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5398         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5399         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5400         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5401         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5402         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5404 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5406         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5407         page size instead of calling getpagesize.
5409         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5410         (LOCFILE_ALIGN_MASK): Likewise.
5411         (LOCFILE_ALIGN_UP): Likewise.
5412         (LOCFILE_ALIGNED_P): Likewise.
5413         * locale/programs/ld-collate.c (collate_output): Use the new
5414         macros instead of __alignof__ (int32_t).
5415         * locale/weight.h (findidx): Likewise.
5417 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5419         [BZ #431]
5420         * manual/string.texi: Fix strncat and wcsncat.
5422 2013-10-03  Brooks Moses  <bmoses@google.com>
5424         [BZ #15915]
5425         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5426         * Makerules: ...here, and adjust associated comments.
5428 2013-10-02  Will Newton  <will.newton@linaro.org>
5430         * malloc/Makefile: Add tst-pvalloc.
5431         * malloc/tst-pvalloc.c: New file.
5433 2013-10-02  Will Newton  <will.newton@linaro.org>
5435         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5436         improve test coverage.
5438 2013-10-02  Will Newton  <will.newton@linaro.org>
5440         * malloc/Makefile: Add tst-posix_memalign.
5441         * malloc/tst-posix_memalign.c: New file.
5443 2013-10-01  Eric Blake  <eblake@redhat.com>
5445         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5446         Use __THROWNL rather than __THROW on static functions.
5448 2013-09-30  Petr Machata  <pmachata@redhat.com>
5450         * elf/elf.h (R_AARCH64_ABS16): New macro.
5451         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5452         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5453         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5454         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5455         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5456         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5457         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5458         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5459         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5460         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5461         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5462         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5463         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5464         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5465         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5466         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5467         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5468         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5469         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5470         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5471         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5472         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5473         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5474         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5475         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5476         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5477         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5478         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5479         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5480         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5481         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5482         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5483         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5484         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5485         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5486         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5487         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5488         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5489         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5490         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5491         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5492         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5493         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5494         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5495         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5496         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5497         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5498         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5499         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5500         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5501         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5502         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5503         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5504         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5505         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5506         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5507         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5508         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5509         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5510         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5511         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5512         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5513         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5514         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5515         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5516         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5517         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5518         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5519         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5520         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5521         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5522         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5523         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5524         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5525         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5526         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5527         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5528         (R_AARCH64_TLSDESC_LDR): Likewise.
5529         (R_AARCH64_TLSDESC_ADD): Likewise.
5530         (R_AARCH64_TLSDESC_CALL): Likewise.
5532 2013-09-30  Andreas Schwab  <schwab@suse.de>
5534         [BZ #15048]
5535         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5536         the nss database lookup.
5537         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5540 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5542         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5544 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5546         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5547         ${Bash-specific parameter/pattern/string} parameter expansion.
5548         * sysdeps/unix/make-syscalls.sh: Likewise.
5550 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5552         * sysdeps/sh/stackguard-macros.h: New file.
5554 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5556         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5557         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5558         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5559         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5560         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5561         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5563 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5565         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5566         Fix thread ID register.
5568 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5570         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5571         [POSIX || UNIX98]: Require rather than permitting all symbols from
5572         <time.h>.
5573         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5574         element of struct sched_param.
5575         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5576         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5577         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5578         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5579         constant.
5581 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5583         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5584         argument calculation.
5586 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5588         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5589         Expect macro.
5590         [POSIX] (pthread_attr_t): Do not require type.
5591         [POSIX] (pthread_cond_t): Likewise.
5592         [POSIX] (pthread_condattr_t): Likewise.
5593         [POSIX] (pthread_key_t): Likewise.
5594         [POSIX] (pthread_mutex_t): Likewise.
5595         [POSIX] (pthread_mutexattr_t): Likewise.
5596         [POSIX] (pthread_once_t): Likewise.
5597         [POSIX] (pthread_t): Likewise.
5598         [POSIX-based standards] (pthread_atfork): Expect function.
5600 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5601             Richard Sandiford  <richard@codesourcery.com>
5603         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5604         (swap_endianness_p): New extern variable.
5605         (set_big_endian): New inline function.
5606         (maybe_swap_uint32): Likewise.
5607         (maybe_swap_uint32_array): Likewise.
5608         (maybe_swap_uint32_obstack): Likewise.
5609         * locale/programs/locfile.c: Include <stdbool.h>.
5610         (swap_endianness_p): New variable.
5611         (add_locale_uint32): Call maybe_swap_uint32.
5612         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5613         (write_locale_data): Call maybe_swap_uint32_array.
5614         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5615         maybe_swap_uint32.
5616         (obstack_int32_grow_fast): Likewise.
5617         (output_weightwc): Call maybe_swap_uint32_obstack.
5618         (collate_output): Likewise.
5619         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5620         (OPT_LITTLE_ENDIAN): Likewise.
5621         (options): Add --little-endian and --big-endian options.
5622         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5623         * locale/programs/locarchive.c: Include "locfile.h".
5624         (GET): New macro.
5625         (SET): Likewise.
5626         (INC): Likewise.
5627         (create_archive): Use the new macros to access fields of
5628         structures directly mapped from or written to locale archives.
5629         (oldlocrecentcmp): Likewise.
5630         (enlarge_archive): Likewise.
5631         (insert_name): Likewise.
5632         (add_alias): Likewise.
5633         (add_locale): Likewise.
5634         (delete_locales_from_archive): Likewise.
5635         (show_archive_content): Likewise.
5636         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5637         locale data.
5639 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5641         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5642         http://www.gnu.org/doc/freemanuals.texi.
5643         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5645 2013-09-24  Will Newton  <will.newton@linaro.org>
5647         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5648         macro.
5650 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5652         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5653         unsigned char.
5655 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5657         * manual/threads.texi (POSIX Threads): Fix a typo.
5659 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5661         [BZ #14547]
5662         * string/tst-strcoll-overflow.c: New test case.
5663         * string/Makefile (xtests): Add tst-strcoll-overflow.
5664         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5665         cache if string sizes may cause integer overflow.
5667         [BZ #14547]
5668         * string/strcoll_l.c (coll_seq): New members rule, idx,
5669         save_idx and back_us.
5670         (get_next_seq_nocache): New function.
5671         (do_compare_nocache): New function.
5672         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5673         when malloc fails.
5675 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5677         [BZ #15754]
5678         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5679         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5680         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5682         [BZ #15754]
5683         * elf/Makefile (tests): Add tst-ptrguard1.
5684         (tests-static): Add tst-ptrguard1-static.
5685         (tst-ptrguard1-ARGS): Define.
5686         (tst-ptrguard1-static-ARGS): Define.
5687         * elf/tst-ptrguard1.c: New file.
5688         * elf/tst-ptrguard1-static.c: New file.
5689         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5690         * sysdeps/i386/stackguard-macros.h: Likewise.
5691         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5692         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5693         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5694         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5695         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5696         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5698 2013-09-23  Hector Marco  <hecmargi@upv.es>
5699             Ismael Ripoll  <iripoll@disca.upv.es>
5700             Carlos O'Donell  <carlos@redhat.com>
5702         [BZ #15754]
5703         * sysdeps/generic/stackguard-macros.h: Define
5704         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5705         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5706         Define __pointer_chk_guard_local.
5707         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5708         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5710 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5712         [BZ #15859]
5713         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5715 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5717         * include/string.h (__ffs): Declare as hidden.
5718         * string/ffs.c (__ffs): Define as hidden.
5719         * sysdeps/i386/ffs.c (__ffs): Likewise.
5720         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5721         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5722         * sysdeps/s390/ffs.c (__ffs): Likewise.
5723         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5725 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5727         * NEWS: Mention malloc probes.
5729         * malloc/arena.c (new_heap): New memory_heap_new probe.
5730         (grow_heap): New memory_heap_more probe.
5731         (shrink_heap): New memory_heap_less probe.
5732         (heap_trim): New memory_heap_free probe.
5733         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5734         (systrim): New memory_sbrk_less probe.
5735         * manual/probes.texi: Document them.
5737         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5738         * manual/probes.texi: Document it.
5740         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5741         (__libc_realloc): Add memory_realloc_retry probe.
5742         (__libc_memalign): Add memory_memalign_retry probe.
5743         (__libc_valloc): Add memory_valloc_retry probe.
5744         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5745         (__libc_calloc): Add memory_calloc_retry probe.
5746         * manual/probes.texi: Document them.
5748         * malloc/arena.c (get_free_list): Add probe
5749         memory_arena_reuse_free_list.
5750         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5751         and memory_arena_reuse.
5752         (arena_get2) [!PER_THREAD]: Likewise.
5753         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5754         memory_arena_reuse_realloc.
5755         * manual/probes.texi: Document them.
5757         * malloc/malloc.c (__libc_free): Add
5758         memory_mallopt_free_dyn_thresholds probe.
5759         (__libc_mallopt): Add multiple memory_mallopt probes.
5760         * manual/probes.texi: Document them.
5762         * malloc/malloc.c: Include stap-probe.h.
5763         (__libc_mallopt): Add memory_mallopt probe.
5764         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5765         * manual/probes.texi: New.
5766         * manual/Makefile (chapters): Add probes.
5767         * manual/threads.texi: Set next node.
5769 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5771         [BZ #15963, #13985]
5772         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5773         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5774         Add `Chinese' to `nan' entry name.
5776 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5778         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5779         (POLYNOMIAL): Likewise.
5780         (TAYLOR_SINCOS): Likewise.
5781         (TAYLOR_SLOW): Likewise.
5782         (__sin): Use TAYLOR_SINCOS.
5783         (__cos): Likewise.
5784         (slow): Use TAYLOR_SLOW.
5785         (sloww): Likewise.
5786         (bsloww): Likewise.
5787         (csloww): Likewise.
5789 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5791         * stdlib/strtod_l.c: Fix buffer overrun.
5793 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5795         * benchtests/Makefile (bench): Add sincos.
5796         * benchtests/bench-sincos.c: New file.
5798         * math/libm-test.inc (cos_test_data): New test inputs.
5799         (sin_test_data): Likewise.
5801         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5802         macro.
5803         (__sin): Use it.
5804         (__cos): Likewise.
5805         (slow1): Likewise.
5806         (slow2): Likewise.
5807         (sloww1): Likewise.
5808         (sloww2): Likewise.
5809         (bsloww1): Likewise.
5810         (bsloww2): Likewise.
5811         (cslow2): Likewise.
5812         (csloww1): Likewise.
5813         (csloww2): Likewise.
5815         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5816         function.
5817         (__sin): Use it.
5818         (__cos): Likewise.
5820         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5821         gotos.
5822         (__cos): Likewise.
5824 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5826         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5827         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5828         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5829         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5830         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5831         * elf/cache.c (print_entry): Handle the new cache flags.
5833 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5834             Aldy Hernandez  <aldyh@redhat.com>
5836         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5837         Change condition to [_SOFT_FLOAT].
5838         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5839         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5841         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5842         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5843         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5844         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5845         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5846         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5847         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5848         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5849         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5850         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5851         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5852         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5853         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5854         declaration.
5856 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5858         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5859         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5860         (__longjmp): Use LOAD_GP to load saved GPRs.
5861         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5862         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5863         (__sigsetjmp): Use SAVE_GP to save GPRs.
5865         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5866         Do not append -msoft-float.
5867         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5869 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5871         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5873 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5875         [BZ #15966]
5876         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5877         (_FPU_GETCW): Use initial "__" on variable and field names but not
5878         on macro parameter name.
5879         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5880         parentheses around reference to macro parameter.
5882 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5884         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5885         prototype.
5886         (ctype_startup): Use uint32_t in cast and sizeof for
5887         ctype->charnames.
5889 2013-09-11  Jia Liu  <proljc@gmail.com>
5891         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5892         __daddr_t_defined.
5893         [__FreeBSD__]: Likewise.
5895 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5898         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5899         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5900         (strchr): Remove __strchr_sse42 ifunc selection.
5901         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5902         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5904 2013-09-11  Will Newton  <will.newton@linaro.org>
5906         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5907         parameter to RES. Remove hardcoded 1000 value.
5908         * benchtests/bench-skeleton.c (main): Pass RES parameter
5909         to TIMING_INIT and multiply result by 1000.
5911 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5915 2013-09-11  Andreas Schwab  <schwab@suse.de>
5917         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5918         if not defined.
5919         (O_TMPFILE) [__USE_GNU]: Define.
5920         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5921         Define.
5923 2013-09-11  Will Newton  <will.newton@linaro.org>
5925         [BZ #15857]
5926         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5927         does not overflow.
5929 2013-09-11  Will Newton  <will.newton@linaro.org>
5931         [BZ #15856]
5932         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5933         does not overflow.
5935 2013-09-11  Will Newton  <will.newton@linaro.org>
5937         [BZ #15855]
5938         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5939         does not overflow.
5941 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5943         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5944         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5945         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5946         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5947         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5949 2013-09-10  Allan McRae  <allan@archlinux.org>
5951         [BZ #15748]
5952         * manual/arith.texi (Parsing of Floats): Clarify
5953         cross-reference.
5955         [BZ #15849]
5956         * manual/install.texi (Running make install): Mention
5957         --enable-pt-chown.
5958         * INSTALL: Regenerated.
5960 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5962         * csu/init-first.c (_init): Remove the !SHARED condition around
5963         FPU control word initialization.
5964         * elf/dl-support.c (_dl_fpu_control): New variable.
5965         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5966         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5967         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5968         * math/test-fpucw-static.c: New file.
5969         * math/test-fpucw-ieee.c: New file.
5970         * math/test-fpucw-ieee-static.c: New file.
5971         * math/Makefile (tests): Add `test-fpucw-ieee' and
5972         `$(tests-static)'.
5973         (tests-static): New variable.
5974         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5975         dependency to...
5976         [($(build-shared),yes)]
5977         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5978         ... this.
5979         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5980         New dependency.
5982 2013-09-09  Allan McRae  <allan@archlinux.org>
5984         [BZ #15939]
5985         * manual/string.texi (Collation Functions): Fix typo in
5986         strcoll example.
5987         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5989         [BZ #15893]
5990         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5992         [BZ #15892]
5993         * libio/memstream.c (open_memstream): Fix memory leak.
5994         * libio/wmemstream.c (open_wmemstream): Likewise.
5996         [BZ #15895]
5997         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5999 2013-09-09  Will Newton  <will.newton@linaro.org>
6001         * malloc/Makefile: Add tst-realloc to tests.
6002         * malloc/tst-realloc.c: New file.
6004 2013-09-09  Allan McRae  <allan@archlinux.org>
6006         [BZ #15844]
6007         * COPYING: Update from GNU website to fix FSF address.
6008         * COPYING.LIB: Likewise.
6010 2013-09-06  David S. Miller  <davem@davemloft.net>
6012         * po/zh_TW.po: Update Chinese (traditional) translation from
6013         translation project.
6015 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6016             Joseph Myers  <joseph@codesourcery.com>
6018         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6019         "localeinfo.h".
6020         (obstack_chunk_alloc): New macro.
6021         (obstack_chunk_free): Likewise.
6022         (record_offset): New function.
6023         (init_locale_data): Likewise.
6024         (align_locale_data): Likewise.
6025         (add_locale_empty): Likewise.
6026         (add_locale_raw_data): Likewise.
6027         (add_locale_raw_obstack): Likewise.
6028         (add_locale_string): Likewise.
6029         (add_locale_wstring): Likewise.
6030         (add_locale_uint32): Likewise.
6031         (add_locale_uint32_array): Likewise.
6032         (add_locale_char): Likewise.
6033         (start_locale_structure): Likewise.
6034         (end_locale_structure): Likewise.
6035         (start_locale_prelude): Likewise.
6036         (end_locale_prelude): Likewise.
6037         (write_locale_data): Take locale_file structure rather than an
6038         iovec.
6039         * locale/programs/locfile.h: Include "obstack.h".
6040         (struct locale_file): Change to store locale file contents instead
6041         of header.
6042         (init_locale_data): New prototype.
6043         (align_locale_data): Likewise.
6044         (add_locale_empty): Likewise.
6045         (add_locale_raw_data): Likewise.
6046         (add_locale_raw_obstack): Likewise.
6047         (add_locale_string): Likewise.
6048         (add_locale_wstring): Likewise.
6049         (add_locale_uint32): Likewise.
6050         (add_locale_uint32_array): Likewise.
6051         (add_locale_char): Likewise.
6052         (start_locale_structure): Likewise.
6053         (end_locale_structure): Likewise.
6054         (start_locale_prelude): Likewise.
6055         (end_locale_prelude): Likewise.
6056         (write_locale_data): Update prototype.
6057         * locale/programs/3level.h (struct TABLE): Remove result field.
6058         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6059         Use new locale_file interface.
6060         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6061         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6062         * locale/programs/ld-address.c (address_output): Use new
6063         locale_file interface.
6064         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6065         NO_ADD_LOCALE.
6066         (collate_finish): Don't call collseq_table_finalize.
6067         (collate_output): Use new locale_file interface.
6068         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6069         in file.
6070         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6071         (TABLE): Move defines earlier in file.
6072         (ELEMENT): Likewise.
6073         (DEFAULT): Likewise.
6074         (wctrans_table_add): Move macro and inline function earlier in
6075         file.
6076         (struct wctype_table): Move type earlier in file.
6077         (add_locale_wctype_table): New static prototype.
6078         (struct locale_ctype_t): Use logical types instead of struct iovec
6079         pointers for members.
6080         (ctype_output): Use new locale_file interface.
6081         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6082         new locale_file interface.
6083         (allocate_arrays): Update for use of new locale_file interface.
6084         * locale/programs/ld-identification.c (identification_output): Use
6085         new locale_file interface.
6086         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6087         * locale/programs/ld-messages.c (messages_output): Likewise.
6088         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6089         * locale/programs/ld-name.c (name_output): Likewise.
6090         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6091         * locale/programs/ld-paper.c (paper_output): Likewise.
6092         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6093         * locale/programs/ld-time.c (time_output): Likewise.
6095 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6097         * benchtests/Makefile: Add memrchr benchmark.
6098         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6099         benchmark as memrchr.
6100         * benchtests/bench-memrchr-ifunc.c: New file.
6101         * benchtests/bench-memrchr.c: New file.
6103 2013-09-06   Will Newton  <will.newton@linaro.org>
6105         * benchtests/Makefile (string-bench): Add memcpy.
6107 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6108             Cong Wang  <amwang@redhat.com>
6110         [BZ #15850]
6111         * sysdeps/unix/sysv/linux/bits/in.h
6112         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6113         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6114         before __USE_KERNEL_IPV6_DEFS uses.
6115         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6116         IPPROTO_BEETPH.
6117         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6118         sockaddr_in6, or ipv6_mreq.
6120 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6122         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6123         memory access for final bytes in some large inputs.
6124         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6126 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6128         * string/test-memrchr.c: New file.
6129         * string/test-memrchr-ifunc.c: New file.
6130         * string/Makefile: Add new memrchr testcase.
6132 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6134         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6135         fanotify_init returns EPERM.
6137 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6139         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6140         errors.
6141         (top level): Treat second token from macro or constant entries for
6142         allowed headers as allowed.
6143         * include/complex.h: Condition internal declarations on
6144         [!_ISOMAC].
6145         * include/fenv.h: Condition include of <stdbool.h> and internal
6146         declarations on [!_ISOMAC].
6148 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6150         [BZ #15923]
6151         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6153 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6155         * configure.in (--enable-versioning): Remove configure option.
6156         (libc_cv_asm_symver_directive): Remove configure test.
6157         (libc_cv_ld_version_script_option): Likewise.
6158         (VERSIONING): Remove variable and AC_SUBST.
6159         (DO_VERSIONING): Remove AC_DEFINE.
6160         * configure: Regenerated.
6161         * config.h.in (DO_VERSIONING): Remove macro.
6162         * Makerules [$(versioning) = yes]: Change conditionals to
6163         [$(build-shared) = yes].
6164         * config.make.in (versioning): Remove variable.
6165         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6166         [$(build-shared) = yes].
6167         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6168         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6169         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6170         [$(build-shared) = yes].
6171         * extra-lib.mk [$(versioning) = yes]: Likewise.
6172         * hurd/Makefile [$(versioning) = yes]: Likewise.
6173         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6174         [SHARED].
6175         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6176         [SHARED].
6177         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6178         [SHARED && !NO_HIDDEN].
6179         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6180         [SHARED].
6181         [SHARED && DO_VERSIONING]: Likewise..
6182         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6183         [$(build-shared) = yes].
6184         * manual/install.texi (--disable-versioning): Remove
6185         documentation.
6186         * INSTALL: Regenerated.
6187         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6188         to [SHARED].
6189         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6190         [$(build-shared) = yes].
6191         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6192         * sysdeps/i386/i686/multiarch/strstr-c.c
6193         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6194         [SHARED && !NO_HIDDEN].
6195         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6196         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6197         * sysdeps/powerpc/powerpc32/dl-machine.c
6198         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6199         * sysdeps/powerpc/powerpc32/sysdep.h
6200         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6201         to [SHARED && PIC && !NO_HIDDEN].
6202         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6203         conditional to [SHARED].
6205 2013-09-04   Will Newton  <will.newton@linaro.org>
6207         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6208         * benchtests/bench-string.h: Include bench-timing.h instead
6209         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6210         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6211         call to HP_TIMING_DIFF_INIT.
6212         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6213         instead of hp-timing.h macros.
6214         * benchtests/bench-memchr.c: Likewise.
6215         * benchtests/bench-memcmp.c: Likewise.
6216         * benchtests/bench-memcpy.c: Likewise.
6217         * benchtests/bench-memmem.c: Likewise.
6218         * benchtests/bench-memmove.c: Likewise.
6219         * benchtests/bench-memset.c: Likewise.
6220         * benchtests/bench-rawmemchr.c: Likewise.
6221         * benchtests/bench-strcasecmp.c: Likewise.
6222         * benchtests/bench-strcasestr.c: Likewise.
6223         * benchtests/bench-strcat.c: Likewise.
6224         * benchtests/bench-strchr.c: Likewise.
6225         * benchtests/bench-strcmp.c: Likewise.
6226         * benchtests/bench-strcpy.c: Likewise.
6227         * benchtests/bench-strcpy_chk.c: Likewise.
6228         * benchtests/bench-strlen.c: Likewise.
6229         * benchtests/bench-strncasecmp.c: Likewise.
6230         * benchtests/bench-strncat.c: Likewise.
6231         * benchtests/bench-strncmp.c: Likewise.
6232         * benchtests/bench-strncpy.c: Likewise.
6233         * benchtests/bench-strnlen.c: Likewise.
6234         * benchtests/bench-strpbrk.c: Likewise.
6235         * benchtests/bench-strrchr.c: Likewise.
6236         * benchtests/bench-strspn.c: Likewise.
6237         * benchtests/bench-strstr.c: Likewise.
6239 2013-09-04  Will Newton  <will.newton@linaro.org>
6241         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6243 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6245         [BZ #15427]
6246         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6247         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6248         * math/libm-test.inc (lgamma_test_data): Add more tests.
6249         * sysdeps/i386/fpu/libm-test-ulps: Update.
6250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6252 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6254         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6255         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6256         Add ifunc.
6257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6258         Add strcmp-sse2-unaligned
6259         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6261 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6263         * Versions.def (libc): Add GLIBC_2.19.
6265 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6267         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6268         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6270 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6272         [BZ #14155]
6273         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6274         intermediate calculations in recurrence.
6275         (__ieee754_ynf): Likewise.
6276         * math/libm-test.inc (jn_test_data): Do not allow spurious
6277         underflow exception.  Add more tests.
6278         (yn_test_data): Add more tests.
6279         * sysdeps/i386/fpu/libm-test-ulps: Update.
6280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6282 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6284         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6286 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6288         * csu/init-first.c: Fix then/than typos.
6289         * locale/programs/ld-collate.c: Likewise.
6290         * locale/programs/linereader.h: Likewise.
6291         * manual/charset.texi: Likewise.
6292         * manual/filesys.texi: Likewise.
6293         * manual/stdio.texi: Likewise.
6294         * manual/string.texi: Likewise.
6295         * stdlib/fmtmsg.c: Likewise.
6296         * sysdeps/i386/stpncpy.S: Likewise.
6297         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6298         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6299         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6300         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6302 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6304         * elf/dl-open.c: Fix typos.
6305         * iconvdata/gbbig5.c: Likewise.
6306         * iconvdata/iso-2022-jp.c: Likewise.
6307         * iconv/gconv_int.h: Likewise.
6308         * iconv/loop.c: Likewise.
6309         * nis/rpcsvc/nis.h: Likewise.
6310         * resolv/ns_name.c: Likewise.
6311         * stdio-common/vfscanf.c: Likewise.
6312         * streams/stropts.h: Likewise.
6313         * sunrpc/rpc_thread.c: Likewise.
6314         * sysdeps/i386/strpbrk.S: Likewise.
6315         * sysdeps/ieee754/k_standard.c: Likewise.
6316         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6317         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6318         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6319         * sysdeps/mach/hurd/profil.c: Likewise.
6320         * sysdeps/s390/dl-procinfo.h: Likewise.
6321         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6322         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6323         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6324         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6325         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6327 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6329         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6332 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6334         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6335         aix specific files.
6336         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6337         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6338         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6339         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6340         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6341         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6342         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6343         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6345 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6346             Roland McGrath  <roland@hack.frob.com>
6348         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6349         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6351 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6353         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6354         __executable_start symbol instead of _start.
6356 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6358         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6359         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6360         Move macros to...
6361         * sysdeps/gnu/ldsodefs.h: ... this new file.
6363         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6364         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6365         instead of ELFOSABI_LINUX.
6367         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6368         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6369         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6370         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6371         Likewise.
6372         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6373         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6374         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6375         Likewise.
6376         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6377         (ibm_extended_long_double): Add ieee_nan member.
6378         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6379         (do_test): New function.
6381         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6382         TEST_TRUNC.
6383         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6384         functions, renamed from truncdfsf_test, trunctfsf_test,
6385         trunctfdf_test.
6386         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6387         functions.
6388         (do_test): Run all these.
6390 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6392         * argp/argp-help.c: Fix typos.
6393         * argp/argp-parse.c: Likewise.
6394         * debug/backtracesyms.c: Likewise.
6395         * elf/elf.h: Likewise.
6396         * malloc/malloc.c: Likewise.
6397         * nis/nis_print.c: Likewise.
6398         * resolv/res_comp.c: Likewise.
6399         * stdlib/stdlib.h: Likewise.
6400         * sunrpc/clnt_tcp.c: Likewise.
6401         * sunrpc/clnt_udp.c: Likewise.
6402         * sunrpc/clnt_unix.c: Likewise.
6403         * sysdeps/unix/bsd/ptsname.c: Likewise.
6404         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6405         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6407         Likewise.
6408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6409         Likewise.
6410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6411         Likewise.
6412         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6414 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6416         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6419 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6421         [BZ #15897]
6422         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6423         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6424         ($(objpfx)bug-dl-leaf): New rule.
6425         ($(objpfx)bug-dl-leaf.so): Likewise.
6426         ($(objpfx)bug-dl-leaf.out): Likewise.
6427         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6428         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6429         * dlfcn/bug-dl-leaf.c: New test.
6430         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6431         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6432         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6433         (dlclose): Likewise.
6434         (dlmopen): Likewise.
6436 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6438         * include/netdb.h [!_ISOMAC]:
6439         Don't include <tls.h>.
6440         (h_errno, __libc_h_errno): Move declaration and macros out of
6441         [_LIBC_REENTRANT].
6443         * include/resolv.h [_RESOLV_H_]:
6444         Don't include <tls.h>.
6445         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6446         * resolv/res_libc.c: Don't include <tls.h>.
6447         (_res): Use __attribute__ ((nocommon)) in place of
6448         __attribute__ ((section (".bss"))).
6450         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6451         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6453         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6455         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6456         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6458         * resolv/res_mkquery.c: Include <sys/time.h>.
6460         * inet/ifreq.c: Moved to ...
6461         * sysdeps/unix/ifreq.c: ... here.
6462         * inet/ifreq.c: New file, true stub version.
6464         * socket/sa_len.c: New file.
6465         * socket/Makefile (aux): Add it.
6466         * sysdeps/unix/sysv/linux/Makefile
6467         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6468         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6469         and #include <socket/sa_len.c>.
6470         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6471         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6473         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6474         * bits/socket.h: ... here.
6476         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6477         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6478         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6480 2013-08-27  Andreas Schwab  <schwab@suse.de>
6482         [BZ #15736]
6483         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6484         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6485         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6486         * string/test-strcasecmp.c (test_main): Run tests in several
6487         locales.
6488         * string/test-strncasecmp.c (test_main): Likewise.
6490         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6491         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6492         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6493         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6494         (__strncasecmp_ssse3) [PIC]: Likewise.
6496 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6498         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6500         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6501         instead of explicitly declaring xdecrypt.
6502         * nis/nss_nis/nis-publickey.c: Likewise.
6504 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6506         [BZ #15890]
6507         * nscd/aicache.c: Include res_hconf.h.
6508         (addhstaiX): Initialize res_hconf.
6510 2013-08-26  Andreas Schwab  <schwab@suse.de>
6512         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6513         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6515 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6517         * nscd/aicache.c (addhstaiX): Fix indentation.
6519 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6521         * configure.ac: Quote $build_pt_chown test.
6522         * configure: Regenerated.
6524 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6526         [BZ #15532]
6527         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6528         * math/s_cexpf.c (__cexpf): Likewise.
6529         * math/s_cexpl.c (__cexpl): Likewise.
6530         * math/libm-test.inc (cexp_test_data): Correct expected return
6531         value for NaN + i0.  Add another test.
6533 2013-08-22  David S. Miller  <davem@davemloft.net>
6535         * po/ca.po: Update Catalan translation from translation project.
6536         * po/uk.po: Add Ukrainian translations from translation project.
6538 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6540         [BZ #15797]
6541         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6542         is infinite, not alongside NaN test.
6543         * math/s_fdimf.c (__fdimf): Likewise.
6544         * math/s_fdiml.c (__fdiml): Likewise.
6545         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6546         errno is unchanged.
6548 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6550         * argp/argp-help.c: Fix typos.
6551         * crypt/speeds.c: Likewise.
6552         * csu/check_fds.c: Likewise.
6553         * elf/dl-load.c: Likewise.
6554         * elf/dl-open.c: Likewise.
6555         * elf/reldep3.c: Likewise.
6556         * elf/reldep.c: Likewise.
6557         * elf/sprof.c: Likewise.
6558         * iconv/iconv_charmap.c: Likewise.
6559         * iconv/skeleton.c: Likewise.
6560         * iconv/strtab.c: Likewise.
6561         * io/lockf64.c: Likewise.
6562         * libio/libioP.h: Likewise.
6563         * resolv/gai_notify.c: Likewise.
6564         * resolv/ns_name.c: Likewise.
6565         * resolv/ns_samedomain.c: Likewise.
6566         * resolv/res_send.c: Likewise.
6567         * stdlib/random.c: Likewise.
6568         * sunrpc/rpc/xdr.h: Likewise.
6569         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6570         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6571         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6572         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6573         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6574         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6575         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6576         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6577         * sysdeps/mach/hurd/check_fds.c: Likewise.
6578         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6579         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6580         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6581         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6582         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6583         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6584         * sysdeps/pthread/aio_notify.c: Likewise.
6585         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6586         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6587         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6588         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6589         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6591 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6593         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6594         version if bit_Slow_SSE4_2 is set.
6595         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6596         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6598 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6600         [BZ #15867]
6601         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6602         trampoline stack frame information.
6603         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6604         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6605         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6606         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6607         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6608         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6609         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6610         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6611         sa_flags value.
6612         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6613         interrupting a syscall and set with option SA_SIGINFO.
6615 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6617         [BZ #15531]
6618         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6619         argument is infinite.
6620         * math/s_cprojf.c (__cprojf): Likewise.
6621         * math/s_cprojl.c (__cprojl): Likewise.
6622         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6623         * math/libm-test.inc (cproj_test_data): Add more tests.
6625         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6627         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6628         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6629         size.  Use __ffs to determine corresponding shift.
6631 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6632             Roland McGrath  <roland@hack.frob.com>
6634         * Makefile (INSTALL): Remove trailing blank lines from output of
6635         makeinfo.
6637 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6639         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6640         Align 32 bit compat elf_greg to 8 bytes.
6642 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6644         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6646 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6648         * string/strcoll_l.c (coll_seq): New structure.
6649         (get_next_seq_cached): New function.
6650         (get_next_seq): New function.
6651         (do_compare): New function.
6652         (STRCOLL): Use GNU style definition.  Simplify implementation
6653         by using get_next_seq, get_next_seq_cached and do_compare.
6655 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6657         [BZ #14699]
6658         CVE-2013-4237
6659         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6660         member.
6661         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6662         member.
6663         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6664         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6665         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6666         conditional.
6667         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6668         GETDENTS_64BIT_ALIGNED.
6669         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6670         * manual/filesys.texi (Reading/Closing Directory): Document
6671         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6672         strongly.
6673         * manual/conf.texi (Limits for Files): Add portability note to
6674         NAME_MAX, PATH_MAX.
6675         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6677 2013-08-13  Andreas Schwab  <schwab@suse.de>
6679         [BZ #15749]
6680         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6681         of fabs.
6682         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6683         LDBL_MAX_EXP >= 16384]: Add tests for it.
6685 2013-08-12  David S. Miller  <davem@davemloft.net>
6687         * version.h (RELEASE): Set to "development".
6688         (VERSION): Set to "2.18.90".
6689         * NEWS: Add 2.19 section.
6691 2013-08-03  David S. Miller  <davem@davemloft.net>
6693         * po/ko.po: Update Korean translation from translation project.
6695 2013-08-01  David S. Miller  <davem@davemloft.net>
6697         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6698         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6699         Bilka.
6701 2013-07-30  David S. Miller  <davem@davemloft.net>
6703         * po/fr.po: Update French translation from translation project.
6705 2013-07-28  David S. Miller  <davem@davemloft.net>
6707         * po/cs.po: Update Czech translation from translation project.
6709         * po/sv.po: Update Swedish translation from translation project.
6711 2013-07-27  David S. Miller  <davem@davemloft.net>
6713         * po/eo.po: Update Esperanto translation from translation project.
6715         * po/vi.po: Update Vietnamese translation from translation project.
6717         * po/de.po: Update German translation from translation project.
6719 2013-07-26  David S. Miller  <davem@davemloft.net>
6721         * po/bg.po: Update Bulgarian translation from translation project.
6723         * po/nl.po: Update Dutch translation from translation project.
6724         * po/pl.po: Update Polish translation from translation project.
6725         * po/ru.po: Update Russian translation from translation project.
6727 2013-07-24  David S. Miller  <davem@davemloft.net>
6729         * po/libc.pot: Update.
6731 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6733         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6734         variable page size.
6735         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6736         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6737         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6739 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6741         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6743 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6744             Andreas Schwab  <schwab@suse.de>
6745             Roland McGrath  <roland@hack.frob.com>
6746             Joseph Myers  <joseph@codesourcery.com>
6747             Carlos O'Donell  <carlos@redhat.com>
6749         [BZ #15755]
6750         * config.h.in: Define HAVE_PT_CHOWN.
6751         * config.make.in (build-pt-chown): New variable.
6752         * configure.in (--enable-pt_chown): New configure option.
6753         * configure: Regenerate.
6754         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6755         build-pt-chown is enabled.
6756         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6757         pt_chown to fix pty ownership.
6758         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6759         CLOSE_ALL_FDS.
6760         * manual/install.texi (Configuring and compiling): Mention
6761         --enable-pt_chown. Add @findex for grantpt.
6762         * INSTALL: Regenerate.
6764 2013-07-20  David S. Miller  <davem@davemloft.net>
6766         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6767         difference between 32-bit and 64-bit.
6769 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6771         [BZ #15711]
6772         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6773         Avoid system header dependency with -ffreestanding.
6774         ($(objpfx)bits/syscall%d): Likewise.
6776 2013-07-13  David S. Miller  <davem@davemloft.net>
6778         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6779         underflows from atanl/atan2l due to bug 15319.
6780         (casinh_test_data): Likewise.
6782 2013-07-07  David S. Miller  <davem@davemloft.net>
6784         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6786 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6788         * sysdeps/i386/fpu/libm-test-ulps: Update.
6789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6791 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6793         * configure.in (--enable-lock-elision): Fix message text.
6794         * INSTALL: Regenerate.
6795         * configure: Regenerate.
6797 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6801 2013-07-03  Andreas Jaeger  <aj@suse.de>
6803         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6804         define.
6805         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6806         (ptrace_peeksiginfo_args): Add.
6807         (__ptrace_peeksiginfo_flags): Add.
6808         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6809         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6810         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6812 2013-07-03  Allan McRae  <allan@archlinux.org>
6814         * sysdeps/i386/fpu/libm-test-ulps: Update.
6816 2013-07-02  David S. Miller  <davem@davemloft.net>
6818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6820 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6822         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6824 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6826         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6829 2013-07-02  Andi Kleen <ak@linux.intel.com>
6831         * config.h.in (ENABLE_LOCK_ELISION): Add.
6832         * configure.in (--enable-lock-elision): Add option.
6833         * manual/install.texi: Document --enable lock elision.
6834         * configure: Regenerate
6835         * INSTALL: Regenerate.
6837 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6839         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6840         SSE4.2 strcasecmp for libc.a.
6841         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6843 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6845         [BZ #13304]
6846         * soft-fp/op-common.h (_FP_FMA): New macro.
6847         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6848         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6849         (_FP_MUL_MEAT_1_imm): ... here.
6850         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6851         (_FP_MUL_MEAT_1_wide): ... here.
6852         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6853         (_FP_MUL_MEAT_1_hard): ... here.
6854         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6855         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6856         (_FP_MUL_MEAT_2_wide): ... here.
6857         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6858         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6859         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6860         (_FP_MUL_MEAT_2_gmp): ... here.
6861         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6862         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6863         (_FP_MUL_MEAT_4_wide): ... here.
6864         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6865         (_FP_MUL_MEAT_4_gmp): ... here.
6866         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6867         (_FP_WFRACBITS_DW_S): Likewise.
6868         (_FP_WFRACXBITS_DW_S): Likewise.
6869         (_FP_HIGHBIT_DW_S): Likewise.
6870         (FP_FMA_S): Likewise.
6871         (_FP_FRAC_HIGH_DW_S): Likewise.
6872         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6873         (_FP_WFRACBITS_DW_D): Likewise.
6874         (_FP_WFRACXBITS_DW_D): Likewise.
6875         (_FP_HIGHBIT_DW_D): Likewise.
6876         (FP_FMA_D): Likewise.
6877         (_FP_FRAC_HIGH_DW_D): Likewise.
6878         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6879         (_FP_WFRACBITS_DW_E): Likewise.
6880         (_FP_WFRACXBITS_DW_E): Likewise.
6881         (_FP_HIGHBIT_DW_E): Likewise.
6882         (FP_FMA_E): Likewise.
6883         (_FP_FRAC_HIGH_DW_E): Likewise.
6884         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6885         (_FP_WFRACBITS_DW_Q): Likewise.
6886         (_FP_WFRACXBITS_DW_Q): Likewise.
6887         (_FP_HIGHBIT_DW_Q): Likewise.
6888         (FP_FMA_Q): Likewise.
6889         (_FP_FRAC_HIGH_DW_Q): Likewise.
6890         * soft-fp/fmasf4.c: New file.
6891         * soft-fp/fmadf4.c: Likewise.
6892         * soft-fp/fmatf4.c: Likewise.
6894 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6897         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6898         Silvermont.
6899         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6900         macro.
6901         (index_Slow_SSE4_2): Likewise.
6902         (index_Prefer_PMINUB_for_stringop): Likewise.
6903         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6904         bit_Slow_SSE4_2 is set.
6905         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6906         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6908 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6910         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6911         rtld_global._dl_hwcap2.
6912         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6913         POWER8.
6914         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6915         POWER8 feature descriptions defined in _dl_hwcap2.
6916         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6917         string handling for POWER8 feature bits.
6918         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6919         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6920         _dl_powerpc_cap_flags.
6921         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6922         * sysdeps/powerpc/rtld-global-offsets.sym
6923         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6924         _dl_hwcap2 in the rtld_global_ro structure.
6926 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6928         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6929         hardware capabilities in support of AT_HWCAP2.
6930         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6931         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6932         GLRO(dl_hwcap2).
6933         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6934         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6935         explicitly the unknown a_type display mechanism is used.
6936         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6937         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6938         struct member.
6939         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6940         to macro prototype for AT_HWCAP2 support.
6941         * sysdeps/i386/dl-procinfo.h: Likewise.
6942         * sysdeps/s390/dl-procinfo.h: Likewise.
6943         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6944         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6945         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6946         return -1 for unknown a_type display fallback.
6947         * sysdeps/sparc/dl-procinfo.h: Likewise.
6948         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6949         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6951 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6953         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6954         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6956 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6958         [BZ #12492]
6959         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6960         mprotect making __stack_prot writable.
6962 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6963             Joseph Myers  <joseph@codesourcery.com>
6965         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6966         as being properly aligned.
6968 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6970         * dlfcn/modstatic5.c: New file.
6971         * dlfcn/tststatic5.c: New file.
6972         * dlfcn/Makefile (tests): Add tststatic5.
6973         (tests-static): Likewise.
6974         (modules-names): Add modstatic5.
6975         (tststatic5-ENV): New variable.
6976         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6978         [BZ #15022]
6979         * elf/dl-support.c (_dl_main_map): New variable.
6980         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6981         (_dl_nns, _dl_load_adds): Set to 1.
6982         (_dl_initial_searchlist): Refer to _dl_main_map.
6983         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6984         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6985         call to _dl_get_origin.
6986         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6987         around call_map.
6988         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6989         * dlfcn/modstatic3.c: New file.
6990         * dlfcn/tststatic3.c: New file.
6991         * dlfcn/tststatic4.c: New file.
6992         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6993         (tests-static): Likewise.
6994         (modules-names): Add modstatic3.
6995         (tststatic3-ENV, tststatic4-ENV): New variables.
6996         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6997         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6999 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7001         * configure.in (CC): Require GCC version 4.4 or later.
7002         * configure: Regenerated.
7003         * manual/install.texi (Tools for Compilation): Update GCC version
7004         requirement.
7005         * INSTALL: Regenerated.
7007 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7009         [BZ #15674]
7010         * string/test-memcmp.c (check2): New.
7011         (main): Call check2.
7013         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7015 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7017         [BZ #15022]
7018         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7019         over to...
7020         (dl_open_worker) [!SHARED]: ... here.
7022 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7024         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7026 2013-06-25  Richard Henderson  <rth@redhat.com>
7028         * locale/programs/locarchive.c: Include <libc-internal.h>
7030 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7032         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7033         trailing whitespace removed.
7035 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7037         [BZ #10283]
7038         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7039         * locale/programs/locarchive.c: Include libc-mmap.h.
7040         (prepare_address_space): Take two new outputs (the mmap base and len).
7041         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7042         values.
7043         (create_archive): Declare new mmap base and len values for
7044         prepare_address_space, and store the result in ah.
7045         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7046         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7047         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7048         Declare new mmap base and len values for
7049         prepare_address_space, and store the result in new_ah.
7050         (open_archive): Declare new mmap base and len values for
7051         prepare_address_space, and store the result in ah.
7052         (close_archive): If ah->mmap_base is not NULL, use that and
7053         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7054         * sysdeps/generic/libc-mmap.h: New file.
7056 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7058         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7059         (ALIGN_UP): Likewise.
7060         (PTR_ALIGN_DOWN): Likewise.
7061         (PTR_ALIGN_UP): Likewise.
7063 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7065         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7066         entry mapped to PPC_PLATFORM_POWER8.
7067         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7068         POWER8.
7069         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7070         (_dl_string_platform): Add case for exporting platform position for
7071         POWER8.
7072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7073         search path to sysdeps/powerpc/powerpc32/power8 directory.
7074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7075         search path to sysdeps/powerpc/powerpc64/power8 directory.
7076         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7077         power7 directories.
7078         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7079         power7 directories.
7081 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7083         * INSTALL: Regenerate.
7085         * nscd/connections.c (nscd_init): Fix comment.
7087 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7089         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7091         [BZ #15667]
7092         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7093         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7095 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7097         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7098         DL_DST_REQ_STATIC.
7099         (DL_DST_REQ_STATIC): Remove macro.
7101 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7103         [BZ #7006]
7104         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7105         with a shift of 0 bits.
7107 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7109         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7110         $(tststatic-ENV).
7112 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7114         [BZ #15655]
7115         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7117 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7119         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7120         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7121         accepts -fno-tree-loop-distribute-patterns.
7122         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7123         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7124         recursive call.
7125         * string/memset.c (memset): Likewise.
7126         * string/test-memmove.c (simple_memmove): Disable loop transformation
7127         to library calls.
7128         * string/test-memset.c (simple_memset): Likewise.
7129         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7130         * benchtests/bench-memset.c (simple_memset): Likewise.
7131         * configure: Regenerated.
7133 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7135         * math/test-misc.c (main): Ignore fesetround failure when failures
7136         of subsequent rounding tests would be ignored.
7138         [BZ #15654]
7139         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7140         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7141         * math/fegetenv.c (__fegetenv): Return 0.
7142         * math/fegetexcept.c (fegetexcept): Return 0.
7143         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7144         FE_TONEAREST.
7145         * math/feholdexcpt.c (feholdexcept): Return 0.
7146         * math/fesetenv.c (__fesetenv): Return 0.
7147         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7148         argument FE_TONEAREST.
7149         * math/feupdateenv.c (__feupdateenv): Return 0.
7150         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7152 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7154         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7155         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7156         ($(objpfx)rtld-%.os rules): Use them.
7158 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7160         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7161         fields.
7163 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7165         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7166         length of target pattern, then descending length of dependency pattern.
7167         * configure.in (AWK): Require gawk 3.1.2 or newer.
7168         * manual/install.texi (Tools for Compilation): Say that we do.
7169         * configure: Regenerated.
7171         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7172         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7173         * scripts/sysd-rules.awk: ... this new script.
7174         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7175         than a glob-style pattern.
7177 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7179         * math/test-misc.c (main): Do not treat incorrectly rounded
7180         conversions as failure unless ROUNDING_TESTS passes.
7182 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7184         [BZ #15631]
7185         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7186         restore exception state around main square root computation, then
7187         check for inexactness explicitly.
7189         * math/libm-test.inc (fma_test_data): Add another test.
7191 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7193         * manual/threads.texi (Non-POSIX Extensions): New document
7194         node.  Document pthread_getattr_default_np and
7195         pthread_setattr_default_np.
7197         * Versions.def (libpthread): Add GLIBC_2.18.
7198         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7200         Likewise.
7201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7202         Likewise.
7203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7204         Likewise.
7205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7206         Likewise.
7207         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7208         Likewise.
7209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7210         Likewise.
7211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7212         Likewise.
7213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7214         Likewise.
7215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7216         Likewise.
7218 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7221         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7223 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7224             H.J. Lu  <hjl.tools@gmail.com>
7226         [BZ #15627]
7227         * sysdeps/x86_64/rtld-memset.c: Remove file.
7228         * sysdeps/x86_64/rtld-memset.S: New file.
7230 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7232         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7233         (test_in_one_mode): Take arguments for whether the rounding mode
7234         is supported for each floating-point type.
7235         (do_test): Pass new arguments to test_in_one_mode using
7236         ROUNDING_TESTS.
7238 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7240         * posix/tst-waitid.c (do_test): Distinguish different instances of
7241         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7242         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7243         before entering the kernel for waitpid.
7245 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7247         * NEWS: Fix note on clock function precision.  Text by Roland
7248         McGrath.
7250 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7252         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7253         it into place only when and if the sanity check passes.
7255 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7257         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7258         output for whether conversion result is exact.  Take argument
7259         indicating whether type is IBM long double.
7260         (round_for_all): Change need_exact field to ibm_ld.
7261         * stdlib/tst-strtod-round.c (struct exactness): New type.
7262         (struct test): Change bool ld_ok field to struct exactness exact.
7263         (TEST): Update all definitions for change to field.
7264         (tests): Regenerate array contents.
7265         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7266         field value.  Check for IBM long double here.
7267         (do_test): Update calls to test_in_one_mode.
7269 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7271         [BZ #12515]
7272         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7273         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7275 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7277         [BZ #15605]
7278         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7279         generated by the compiler on loop optimizations.
7280         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7281         general definitions.
7283 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7285         * math/bug-nextafter.c: Include <math-tests.h>.
7286         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7287         the relevant type.
7288         * math/bug-nexttoward.c: Include <math-tests.h>.
7289         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7290         the relevant type.
7291         * math/test-misc.c: Include <math-tests.h>.
7292         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7293         the relevant type.
7295 2013-06-12  Andreas Jaeger  <aj@suse.de>
7297         * po/ia.po: Update Interlingua translation from translation
7298         project.
7300 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7302         * include/fenv.h: Include stdbool.h.
7303         (struct rm_ctx): New structure.
7304         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7305         Define macro.
7306         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7307         (SET_RESTORE_ROUNDF): Likewise.
7308         (SET_RESTORE_ROUNDL): Likewise.
7309         (SET_RESTORE_ROUND_NOEX): Likewise.
7310         (SET_RESTORE_ROUND_NOEXF): Likewise.
7311         (SET_RESTORE_ROUND_NOEXL): Likewise.
7312         (SET_RESTORE_ROUND_53BIT): Likewise.
7313         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7314         (libc_feresetround_noexf_ctx): Likewise.
7315         (libc_feresetround_noexl_ctx): Likewise.
7316         (libc_feholdsetround_53bit_ctx): Likewise.
7317         (libc_feresetround_53bit_ctx): Likewise.
7318         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7319         (libc_feholdexcept_setround_sse_ctx): New function.
7320         (libc_fesetenv_sse_ctx): Likewise.
7321         (libc_feupdateenv_sse_ctx): Likewise.
7322         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7323         (libc_feholdexcept_setround_387_ctx): Likewise.
7324         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7325         (libc_feholdsetround_387_prec_ctx): Likewise.
7326         (libc_feholdsetround_387_ctx): Likewise.
7327         (libc_feholdsetround_387_53bit_ctx): Likewise.
7328         (libc_feholdsetround_sse_ctx): Likewise.
7329         (libc_feresetround_sse_ctx): Likewise.
7330         (libc_feresetround_387_ctx): Likewise.
7331         (libc_feupdateenv_387_ctx): Likewise.
7332         (libc_feholdexcept_setroundf_ctx): Define macro.
7333         (libc_fesetenvf_ctx): Likewise.
7334         (libc_feupdateenvf_ctx): Likewise.
7335         (libc_feholdsetroundf_ctx): Likewise.
7336         (libc_feresetroundf_ctx): Likewise.
7337         (libc_feholdexcept_setround_ctx): Likewise.
7338         (libc_fesetenv_ctx): Likewise.
7339         (libc_feupdateenv_ctx): Likewise.
7340         (libc_feholdsetround_ctx): Likewise.
7341         (libc_feresetround_ctx): Likewise.
7342         (libc_feholdexcept_setroundl_ctx): Likewise.
7343         (libc_feupdateenvl_ctx): Likewise.
7344         (libc_feholdsetroundl_ctx): Likewise.
7345         (libc_feresetroundl_ctx): Likewise.
7346         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7347         (libc_feresetround_53bit_ctx): Likewise.
7349 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7351         * locale/iso-639.def: Convert to UTF-8.
7353 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7355         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7356         (EXCEPTION_TESTS_double): Likewise.
7357         (EXCEPTION_TESTS_long_double): Likewise.
7358         (EXCEPTION_TESTS): Likewise.
7359         * math/libm-test.inc (test_exceptions): Only test exceptions if
7360         EXCEPTION_TESTS (FLOAT).
7362 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7364         * benchtests/Makefile (string-bench): Add strcpy_chk and
7365         stpcpy_chk.
7366         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7367         * benchtests/bench-stpcpy_chk.c: New file.
7368         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7369         * benchtests/bench-strcpy_chk.c: New file.
7370         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7371         code.
7372         (do_test): Likewise.
7374 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7376         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7377         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7378         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7379         with tabs where appropriate.
7380         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7381         dl-procinfo.h.
7382         [PPC_PLATFORM_PPC440]: Likewise.
7383         [PPC_PLATFORM_PPC464]: Likewise.
7384         [PPC_PLATFORM_PPC476]: Likewise.
7385         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7386         ppc464, and ppc476 platform strings merging from ports/
7387         dl-procinfo.h.
7389 2013-06-11  Andreas Schwab  <schwab@suse.de>
7391         [BZ #14991]
7392         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7393         (from_ucs4_idx): Regenerate.
7394         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7395         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7396         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7397         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7398         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7399         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7400         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7401         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7402         from FROM_LOOP and TO_LOOP specific macros.
7403         (BODY): Handle combining characters.
7404         * iconvdata/BIG5HKSCS.irreversible: Update.
7405         * iconvdata/BIG5HKSCS.precomposed: New file.
7406         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7407         characters.
7408         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7410 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7412         * include/sys/time.h: Fix indentation and add copyright header.
7414         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7415         (do_test): Likewise.
7416         * string/test-memchr.c (do_one_test): Likewise.
7417         (do_test): Likewise.
7418         * string/test-memcmp.c (do_one_test): Likewise.
7419         (do_test): Likewise.
7420         * string/test-memcpy.c (do_one_test): Likewise.
7421         (do_test): Likewise.
7422         * string/test-memmem.c (do_one_test): Likewise.
7423         (do_test): Likewise.
7424         (do_random_tests): Likewise.
7425         * string/test-memmove.c (do_one_test): Likewise.
7426         (do_test): Likewise.
7427         * string/test-memset.c (do_one_test): Likewise.
7428         (do_test): Likewise.
7429         * string/test-rawmemchr.c (do_one_test): Likewise.
7430         (do_test): Likewise.
7431         * string/test-strcasecmp.c (do_one_test): Likewise.
7432         (do_test): Likewise.
7433         * string/test-strcasestr.c (do_one_test): Likewise.
7434         (do_test): Likewise.
7435         * string/test-strcat.c (do_one_test): Likewise.
7436         (do_test): Likewise.
7437         * string/test-strchr.c (do_one_test): Likewise.
7438         (do_test): Likewise.
7439         * string/test-strcmp.c (do_one_test): Likewise.
7440         (do_test): Likewise.
7441         * string/test-strcpy.c (do_one_test): Likewise.
7442         (do_test): Likewise.
7443         * string/test-string.h: Likewise.
7444         (test_init): Likewise.
7445         * string/test-strlen.c (do_one_test): Likewise.
7446         (do_test): Likewise.
7447         * string/test-strncasecmp.c (do_one_test): Likewise.
7448         (do_test): Likewise.
7449         * string/test-strncat.c (do_one_test): Likewise.
7450         (do_test): Likewise.
7451         * string/test-strncmp.c (do_one_test): Likewise.
7452         (do_test_limit): Likewise.
7453         (do_test): Likewise.
7454         * string/test-strncpy.c (do_one_test): Likewise.
7455         (do_test): Likewise.
7456         * string/test-strnlen.c (do_one_test): Likewise.
7457         (do_test): Likewise.
7458         * string/test-strpbrk.c (do_one_test): Likewise.
7459         (do_test): Likewise.
7460         * string/test-strrchr.c (do_one_test): Likewise.
7461         (do_test): Likewise.
7462         * string/test-strspn.c (do_one_test): Likewise.
7463         (do_test): Likewise.
7464         * string/test-strstr.c (do_one_test): Likewise.
7465         (do_test): Likewise.
7467         * benchtests/Makefile (string-bench): Add string benchmarks.
7468         * benchtests/bench-bcopy-ifunc.c: New file.
7469         * benchtests/bench-bcopy.c: New file.
7470         * benchtests/bench-bzero-ifunc.c: New file.
7471         * benchtests/bench-bzero.c: New file.
7472         * benchtests/bench-memccpy-ifunc.c: New file.
7473         * benchtests/bench-memccpy.c: New file.
7474         * benchtests/bench-memchr-ifunc.c: New file.
7475         * benchtests/bench-memchr.c: New file.
7476         * benchtests/bench-memcmp-ifunc.c: New file.
7477         * benchtests/bench-memcmp.c: New file.
7478         * benchtests/bench-memmem-ifunc.c: New file.
7479         * benchtests/bench-memmem.c: New file.
7480         * benchtests/bench-memmove-ifunc.c: New file.
7481         * benchtests/bench-memmove.c: New file.
7482         * benchtests/bench-mempcpy-ifunc.c: New file.
7483         * benchtests/bench-mempcpy.c: New file.
7484         * benchtests/bench-memset-ifunc.c: New file.
7485         * benchtests/bench-memset.c: New file.
7486         * benchtests/bench-rawmemchr-ifunc.c: New file.
7487         * benchtests/bench-rawmemchr.c: New file.
7488         * benchtests/bench-stpcpy-ifunc.c: New file.
7489         * benchtests/bench-stpcpy.c: New file.
7490         * benchtests/bench-stpncpy-ifunc.c: New file.
7491         * benchtests/bench-stpncpy.c: New file.
7492         * benchtests/bench-strcasecmp-ifunc.c: New file.
7493         * benchtests/bench-strcasecmp.c: New file.
7494         * benchtests/bench-strcasestr-ifunc.c: New file.
7495         * benchtests/bench-strcasestr.c: New file.
7496         * benchtests/bench-strcat-ifunc.c: New file.
7497         * benchtests/bench-strcat.c: New file.
7498         * benchtests/bench-strchr-ifunc.c: New file.
7499         * benchtests/bench-strchr.c: New file.
7500         * benchtests/bench-strchrnul-ifunc.c: New file.
7501         * benchtests/bench-strchrnul.c: New file.
7502         * benchtests/bench-strcmp-ifunc.c: New file.
7503         * benchtests/bench-strcmp.c: New file.
7504         * benchtests/bench-strcpy-ifunc.c: New file.
7505         * benchtests/bench-strcpy.c: New file.
7506         * benchtests/bench-strcspn-ifunc.c: New file.
7507         * benchtests/bench-strcspn.c: New file.
7508         * benchtests/bench-strlen-ifunc.c: New file.
7509         * benchtests/bench-strlen.c: New file.
7510         * benchtests/bench-strncasecmp-ifunc.c: New file.
7511         * benchtests/bench-strncasecmp.c: New file.
7512         * benchtests/bench-strncat-ifunc.c: New file.
7513         * benchtests/bench-strncat.c: New file.
7514         * benchtests/bench-strncmp-ifunc.c: New file.
7515         * benchtests/bench-strncmp.c: New file.
7516         * benchtests/bench-strncpy-ifunc.c: New file.
7517         * benchtests/bench-strncpy.c: New file.
7518         * benchtests/bench-strnlen-ifunc.c: New file.
7519         * benchtests/bench-strnlen.c: New file.
7520         * benchtests/bench-strpbrk-ifunc.c: New file.
7521         * benchtests/bench-strpbrk.c: New file.
7522         * benchtests/bench-strrchr-ifunc.c: New file.
7523         * benchtests/bench-strrchr.c: New file.
7524         * benchtests/bench-strspn-ifunc.c: New file.
7525         * benchtests/bench-strspn.c: New file.
7526         * benchtests/bench-strstr-ifunc.c: New file.
7527         * benchtests/bench-strstr.c: New file.
7529         * benchtests/Makefile: Disable parallel execution of targets.
7530         (string-bench): Add memcpy.
7531         (benchset): New variable to store a list of benchmark sets.
7532         (bench-func): Renamed from bench.
7533         (bench-set): New target.
7534         (bench): Depend on bench-func and bench-set.
7535         * benchtests/README: Add section on benchmark sets.
7536         * benchtests/bench-memcpy-ifunc.c: New file.
7537         * benchtests/bench-memcpy.c: New file.
7538         * benchtests/bench-string.h: New file.
7540 2013-06-11  Andreas Schwab  <schwab@suse.de>
7542         [BZ #15577]
7543         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7544         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7545         values in the triple.
7546         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7547         terminator in the group key.
7549 2013-06-11  Andreas Jaeger  <aj@suse.de>
7551         * po/zh_TW.po: Update Chinese (traditional) translation from
7552         translation project.
7554 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7556         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7557         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7558         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7559         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7560         (clock_getcpuclockid): Likewise.
7561         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7562         Add weak_alias and libc_hidden_def.
7563         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7564         * rt/clock_gettime.c (clock_gettime): Rename to
7565         __clock_gettime.  Add weak_alias and libc_hidden_def.
7566         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7567         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7568         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7569         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7570         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7571         Likewise.
7572         * rt/clock_settime.c (clock_settime): Rename to
7573         __clock_settime.  Add weak_alias and libc_hidden_def.
7574         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7576 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7578         * mach/err_boot.sub: Remove trailing whitespace.
7579         * mach/err_ipc.sub: Likewise.
7580         * mach/err_mach.sub: Likewise.
7582         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7583         (ROUNDING_TESTS_double): Likewise.
7584         (ROUNDING_TESTS_long_double): Likewise.
7585         (ROUNDING_TESTS): Likewise.
7586         * math/libm-test.inc: Include <math-tests.h>.
7587         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7588         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7589         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7590         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7592 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7594         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7595         of assigning.
7597 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7599         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7600         otherwise empty TRANS lines.
7601         * sysdeps/gnu/errlist.c: Regenerated.
7603         * catgets/gencat.c (error_print): Use (void) in function
7604         definition.
7605         * crypt/crypt_util.c (__init_des): Likewise.
7606         * crypt/speeds.c (Stop): Likewise.
7607         (main): Likewise.
7608         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7609         * inet/ruserpass.c (token): Likewise.
7610         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7611         * intl/localealias.c (extend_alias_table): Likewise.
7612         * intl/plural-exp.c (init_germanic_plural): Likewise.
7613         * libio/fcloseall.c (__fcloseall): Likewise.
7614         * libio/genops.c (_IO_flush_all): Likewise.
7615         (_IO_flush_all_linebuffered): Likewise.
7616         (_IO_cleanup): Likewise.
7617         (_IO_iter_begin): Likewise.
7618         (_IO_iter_end): Likewise.
7619         (_IO_list_lock): Likewise.
7620         (_IO_list_unlock): Likewise.
7621         (_IO_list_resetlock): Likewise.
7622         * libio/getchar.c (getchar): Likewise.
7623         * libio/getchar_u.c (getchar_unlocked): Likewise.
7624         * libio/getwchar.c (getwchar): Likewise.
7625         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7626         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7627         * login/getpt.c (__getpt): Likewise.
7628         * login/tst-utmp.c (main): Likewise.
7629         * malloc/hooks.c (__malloc_check_init): Likewise.
7630         * malloc/malloc.c (__malloc_stats): Likewise.
7631         * malloc/mtrace.c (tr_break): Likewise.
7632         (mtrace): Likewise.
7633         (muntrace): Likewise.
7634         * misc/fstab.c (endfsent): Likewise.
7635         * misc/getclktck.c (__getclktck): Likewise.
7636         * misc/getdtsz.c (__getdtablesize): Likewise.
7637         * misc/gethostid.c (gethostid): Likewise.
7638         * misc/getpagesize.c (__getpagesize): Likewise.
7639         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7640         (__get_nprocs): Likewise.
7641         (__get_phys_pages): Likewise.
7642         (__get_avphys_pages): Likewise.
7643         * misc/getttyent.c (getttyent): Likewise.
7644         (setttyent): Likewise.
7645         (endttyent): Likewise.
7646         * misc/getusershell.c (getusershell): Likewise.
7647         (endusershell): Likewise.
7648         (setusershell): Likewise.
7649         (initshells): Likewise.
7650         * misc/hsearch.c (__hdestroy): Likewise.
7651         * misc/sync.c (sync): Likewise.
7652         * misc/syslog.c (closelog_internal): Likewise.
7653         (closelog): Likewise.
7654         * misc/ttyslot.c (ttyslot): Likewise.
7655         * misc/vhangup.c (vhangup): Likewise.
7656         * posix/fork.c (__fork): Likewise.
7657         * posix/getegid.c (__getegid): Likewise.
7658         * posix/geteuid.c (__geteuid): Likewise.
7659         * posix/getgid.c (__getgid): Likewise.
7660         * posix/getpid.c (__getpid): Likewise.
7661         * posix/getppid.c (__getppid): Likewise.
7662         * posix/getuid.c (__getuid): Likewise.
7663         * posix/pause.c (pause): Likewise.
7664         * posix/setpgrp.c (setpgrp): Likewise.
7665         * posix/setsid.c (__setsid): Likewise.
7666         * posix/test-vfork.c (noop): Likewise.
7667         * resolv/gethnamaddr.c (_endhtent): Likewise.
7668         (_gethtent): Likewise.
7669         (ht_endhostent): Likewise.
7670         (gethostent): Likewise.
7671         (dns_service): Likewise.
7672         * stdlib/drand48.c (drand48): Likewise.
7673         * stdlib/lrand48.c (lrand48): Likewise.
7674         * stdlib/mrand48.c (mrand48): Likewise.
7675         * stdlib/rand.c (rand): Likewise.
7676         * stdlib/random.c (__random): Likewise.
7677         * stdlib/setenv.c (clearenv): Likewise.
7678         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7679         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7680         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7681         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7682         (__get_nprocs): Likewise.
7683         (__get_phys_pages): Likewise.
7684         (__get_avphys_pages): Likewise.
7685         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7686         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7687         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7688         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7689         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7690         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7691         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7692         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7693         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7694         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7695         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7696         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7697         * sysdeps/posix/clock.c (clock): Likewise.
7698         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7699         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7700         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7701         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7702         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7703         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7704         (__get_nprocs_conf): Likewise.
7705         (__get_phys_pages): Likewise.
7706         (__get_avphys_pages): Likewise.
7707         * time/clock.c (clock): Likewise.
7708         * time/tzset.c (__tzname_max): Likewise.
7710 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7712         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7713         (__bswap_32): Do not use "register".
7714         * crypt/crypt.c (_ufc_doit_r): Likewise.
7715         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7716         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7717         * gmon/gmon.c (__monstartup): Likewise.
7718         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7719         * hurd/hurdmalloc.c (more_memory): Likewise.
7720         (malloc): Likewise.
7721         (free): Likewise.
7722         (realloc): Likewise.
7723         (malloc_fork_prepare): Likewise.
7724         (malloc_fork_parent): Likewise.
7725         (malloc_fork_child): Likewise.
7726         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7727         (_svcauth_des): Likewise.
7728         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7729         * inet/inet_net.c (inet_network): Likewise.
7730         * inet/inet_netof.c (inet_netof): Likewise.
7731         * inet/rcmd.c (__validuser2_sa): Likewise.
7732         * io/fts.c (fts_open): Likewise.
7733         (fts_load): Likewise.
7734         (fts_close): Likewise.
7735         (fts_read): Likewise.
7736         (fts_children): Likewise.
7737         (fts_build): Likewise.
7738         (fts_stat): Likewise.
7739         (fts_sort): Likewise.
7740         (fts_alloc): Likewise.
7741         (fts_lfree): Likewise.
7742         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7743         (_IO_file_xsgetn): Likewise.
7744         (_IO_file_xsgetn_mmap): Likewise.
7745         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7746         (_IO_cookie_write): Likewise.
7747         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7748         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7749         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7750         * malloc/obstack.c (_obstack_begin): Likewise.
7751         (_obstack_begin_1): Likewise.
7752         (_obstack_newchunk): Likewise.
7753         (_obstack_allocated_p): Likewise.
7754         (obstack_free): Likewise.
7755         (_obstack_memory_used): Likewise.
7756         * misc/getttyent.c (getttynam): Likewise.
7757         (getttyent): Likewise.
7758         (skip): Likewise.
7759         (value): Likewise.
7760         * misc/getusershell.c (initshells): Likewise.
7761         * misc/syslog.c (__vsyslog_chk): Likewise.
7762         * misc/ttyslot.c (ttyslot): Likewise.
7763         * nis/nis_hash.c (__nis_hash): Likewise.
7764         * posix/fnmatch_loop.c (FCT): Likewise.
7765         * posix/getconf.c (print_all): Likewise.
7766         (main): Likewise.
7767         * posix/getopt.c (exchange): Likewise.
7768         * posix/glob.c (globfree): Likewise.
7769         (prefix_array): Likewise.
7770         (__glob_pattern_type): Likewise.
7771         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7772         (NS_GET32): Likewise.
7773         (NS_PUT16): Likewise.
7774         (NS_PUT32): Likewise.
7775         * resolv/gethnamaddr.c (getanswer): Likewise.
7776         (gethostbyname2): Likewise.
7777         (gethostbyaddr): Likewise.
7778         (_gethtent): Likewise.
7779         (_gethtbyname2): Likewise.
7780         (_gethtbyaddr): Likewise.
7781         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7782         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7783         * resolv/res_init.c (__res_vinit): Likewise.
7784         (net_mask): Likewise.
7785         * resolv/res_mkquery.c (outchar): Likewise.
7786         (PRINT): Likewise.
7787         * stdio-common/printf_fp.c (outchar): Likewise.
7788         (PRINT): Likewise.
7789         * stdio-common/printf_fphex.c (outchar): Likewise.
7790         (PRINT): Likewise.
7791         * stdio-common/printf_size.c (outchar): Likewise.
7792         (PRINT): Likewise.
7793         * stdio-common/test_rdwr.c (main): Likewise.
7794         * stdio-common/tfformat.c (matches): Likewise.
7795         * stdio-common/vfprintf.c (outchar): Likewise.
7796         (printf_unknown): Likewise.
7797         (buffered_vfprintf): Likewise.
7798         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7799         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7800         (ReadFile): Likewise.
7801         * stdlib/qsort.c (SWAP): Likewise.
7802         (_quicksort): Likewise.
7803         * stdlib/setenv.c (__add_to_environ): Likewise.
7804         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7805         * stdlib/strtol_l.c (__strtol_l): Likewise.
7806         * stdlib/tst-strtod.c (main): Likewise.
7807         * stdlib/tst-strtol.c (main): Likewise.
7808         * stdlib/tst-strtoll.c (main): Likewise.
7809         * string/bits/string2.h (__strcmp_cc): Likewise.
7810         (__strcmp_cg): Likewise.
7811         (__strcspn_c1): Likewise.
7812         (__strcspn_c2): Likewise.
7813         (__strcspn_c3): Likewise.
7814         (__strspn_c1): Likewise.
7815         (__strspn_c2): Likewise.
7816         (__strspn_c3): Likewise.
7817         (__strsep_1c): Likewise.
7818         (__strsep_2c): Likewise.
7819         (__strsep_3c): Likewise.
7820         * string/memccpy.c (__memccpy): Likewise.
7821         * string/stpcpy.c (__stpcpy): Likewise.
7822         * string/strcmp.c (strcmp): Likewise.
7823         * string/strrchr.c (strrchr): Likewise.
7824         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7825         Likewise.
7826         * sysdeps/mach/hurd/getcwd.c
7827         (_hurd_canonicalize_directory_name_internal): Likewise.
7828         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7829         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7830         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7831         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7832         Likewise, in both definitions.
7833         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7834         definitions.
7835         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7836         64] (__bswap_64): Likewise.
7837         * time/test_time.c (main): Likewise.
7838         * time/tzfile.c (__tzfile_read): Likewise.
7839         (__tzfile_compute): Likewise.
7840         * time/tzset.c (__tzset_parse_tz): Likewise.
7841         (tzset_internal): Likewise.
7842         (compute_change): Likewise.
7843         * wcsmbs/wcscat.c (__wcscat): Likewise.
7844         * wcsmbs/wcschr.c (wcschr): Likewise.
7845         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7846         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7847         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7848         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7849         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7850         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7851         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7852         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7853         * wcsmbs/wmemset.c (wmemset): Likewise.
7855 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7857         * scripts/config.guess: Update to version 2013-05-16.
7858         * scripts/config.sub: Update to version 2013-04-24.
7859         * scripts/install-sh: Update to version 2011-11-20.07.
7860         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7861         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7863 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7865         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7866         * elf/sln.c: Likewise.
7867         * hurd/hurd/ioctl.h: Likewise.
7868         * hurd/hurdmalloc.c: Likewise.
7869         * hurd/xattr.c: Likewise.
7870         * include/shlib-compat.h: Likewise.
7871         * inet/ruserpass.c: Likewise.
7872         * libio/iofgets_u.c: Likewise.
7873         * libio/iofgetws_u.c: Likewise.
7874         * locale/programs/ld-identification.c: Likewise.
7875         * locale/programs/ld-time.c: Likewise.
7876         * mach/msg-destroy.c: Likewise.
7877         * nss/nss_files/files-netgrp.c: Likewise.
7878         * resolv/res_data.c: Likewise.
7879         * soft-fp/op-1.h: Likewise.
7880         * soft-fp/op-2.h: Likewise.
7881         * soft-fp/op-4.h: Likewise.
7882         * soft-fp/op-common.h: Likewise.
7883         * stdio-common/printf_fphex.c: Likewise.
7884         * stdlib/strtod_l.c: Likewise.
7885         * sunrpc/rpc/clnt.h: Likewise.
7886         * sysdeps/generic/framestate.c: Likewise.
7887         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7888         * sysdeps/i386/bsd-setjmp.S: Likewise.
7889         * sysdeps/i386/__longjmp.S: Likewise.
7890         * sysdeps/i386/setjmp.S: Likewise.
7891         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7892         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7893         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7894         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7895         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7896         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7897         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7898         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7899         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7900         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7901         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7902         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7903         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7904         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7905         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7906         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7907         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7908         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7909         * sysdeps/ieee754/support.c: Likewise.
7910         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7911         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7912         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7913         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7914         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7915         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7916         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7917         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7918         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7919         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7920         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7921         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7922         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7923         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7924         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7925         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7926         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7929 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7931         * posix/transbug.c: Remove executable mode.
7933 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7935         * crypt/speeds.c: Remove trailing whitespace.
7936         * dlfcn/default.c: Likewise.
7937         * elf/ifuncdep2.c: Likewise.
7938         * elf/ifuncmain1.c: Likewise.
7939         * elf/ifuncmain1vis.c: Likewise.
7940         * elf/testobj.h: Likewise.
7941         * elf/tst-stackguard1.c: Likewise.
7942         * gmon/sys/gmon.h: Likewise.
7943         * hurd/hurdmsg.c: Likewise.
7944         * hurd/new-fd.c: Likewise.
7945         * hurd/ports-get.c: Likewise.
7946         * iconvdata/ibm1008_420.c: Likewise.
7947         * inet/tst-getni1.c: Likewise.
7948         * inet/tst-getni2.c: Likewise.
7949         * libio/ioungetc.c: Likewise.
7950         * libio/wfiledoalloc.c: Likewise.
7951         * manual/libm-err-tab.pl: Likewise.
7952         * math/w_dremf.c: Likewise.
7953         * misc/ftruncate.c: Likewise.
7954         * posix/bug-glob2.c: Likewise.
7955         * posix/tst-pcre.c: Likewise.
7956         * posix/wait4.c: Likewise.
7957         * resolv/README: Likewise.
7958         * resolv/res_debug.h: Likewise.
7959         * resolv/tst-inet_ntop.c: Likewise.
7960         * setjmp/bug269-setjmp.c: Likewise.
7961         * soft-fp/extended.h: Likewise.
7962         * soft-fp/op-1.h: Likewise.
7963         * soft-fp/op-2.h: Likewise.
7964         * soft-fp/op-4.h: Likewise.
7965         * soft-fp/op-8.h: Likewise.
7966         * soft-fp/testit.c: Likewise.
7967         * stdio-common/bug16.c: Likewise.
7968         * stdlib/random.c: Likewise.
7969         * sunrpc/rpcsvc/rquota.x: Likewise.
7970         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7971         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7972         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7973         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7974         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7975         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7976         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7977         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7978         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7979         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7980         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7981         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7982         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7983         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7984         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7985         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7986         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7987         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7988         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7989         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7990         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7991         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7992         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7993         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7994         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7995         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7996         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7997         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7998         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7999         * sysdeps/ieee754/s_lib_version.c: Likewise.
8000         * sysdeps/mach/hurd/check_fds.c: Likewise.
8001         * sysdeps/mach/hurd/getsockname.c: Likewise.
8002         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8003         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8004         * sysdeps/powerpc/bits/link.h: Likewise.
8005         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8006         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8007         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8008         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8009         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8010         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8011         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8012         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8013         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8014         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8015         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8016         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8017         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8018         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8019         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8020         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8021         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8022         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8023         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8024         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8025         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8026         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8027         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8028         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8029         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8030         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8031         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8032         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8033         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8034         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8035         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8036         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8037         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8038         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8039         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8040         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8041         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8042         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8043         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8044         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8045         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8046         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8047         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8048         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8049         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8050         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8051         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8052         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8053         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8054         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8055         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8056         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8057         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8058         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8059         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8060         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8061         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8062         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8063         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8064         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8065         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8066         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8067         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8068         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8069         * sysdeps/powerpc/sysdep.h: Likewise.
8070         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8071         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8072         * sysdeps/sh/dl-trampoline.S: Likewise.
8073         * sysdeps/sh/memset.S: Likewise.
8074         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8075         * sysdeps/sh/strlen.S: Likewise.
8076         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8077         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8078         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8079         * sysdeps/sparc/sparc32/rem.S: Likewise.
8080         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8081         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8082         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8083         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8084         * sysdeps/sparc/sparc32/urem.S: Likewise.
8085         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8086         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8087         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8088         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8089         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8090         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8091         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8092         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8093         * sysdeps/unix/bsd/times.c: Likewise.
8094         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8095         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8099         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8100         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8101         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8102         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8103         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8104         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8105         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8106         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8107         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8108         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8109         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8110         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8111         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8112         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8113         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8114         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8115         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8116         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8117         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8118         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8119         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8120         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8121         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8122         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8123         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8124         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8125         * sysdeps/x86_64/strcspn.S: Likewise.
8127 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8129         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8130         generated file.  Regenerate properly from gen-translit.pl.
8131         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8132         locale/C-translit.h.
8134 2013-06-05  Andreas Schwab  <schwab@suse.de>
8136         [BZ #15100]
8137         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8138         week as 6 instead of -1.
8139         * time/tst-strptime.c (day_tests): Add test case.
8141 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8143         * sysdeps/generic/math_private.h
8144         (libc_feholdexcept_setround_53bit): Replace with
8145         libc_feholdsetround_53bit.
8146         (libc_feupdateenv_53bit): Replace with
8147         libc_feresetround_53bit.
8148         (SET_RESTORE_ROUND_53BIT): Adjust.
8150 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8152         * string/test-strchrnul.c: Add copyright header.
8154         * posix/tst-getaddrinfo4.c: Increase test timeout.
8156 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8158         [BZ #15536]
8159         * math/libm-test.inc (MAX_EXP): Remove
8160         (MIN_EXP): Define.
8161         (ulp): Use MIN_EXP - MANT_DIG.
8162         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8164 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8166         * po/be.po: Revert last change.
8167         * po/zh_CN.po: Likewise.
8168         * po/header.pot: Likewise.
8170 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8172         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8173         link-libc-deps to empty as target-specific variable.
8174         * Makerules (link-libc-args): New variable.
8175         (libc-for-link): Likewise.
8176         (link-libc-deps): Likewise.
8177         (lib%.so): Depend on $(link-libc-deps).  Link with
8178         $(link-libc-args).
8179         (build-module): Link with $(link-libc-args).
8180         (build-module-asneeded): Likewise.
8181         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8182         list of objects.
8183         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8184         target-specific variable.
8185         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8186         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8187         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8188         libc.
8189         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8190         libc and ld.so.
8191         ($(objpfx)libpcprofile.so): Likewise.
8192         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8193         libc_nonshared.a.
8194         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8195         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8196         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8197         $(link-libc-deps).
8198         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8199         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8200         * login/Makefile ($(objpfx)libutil.so): Likewise.
8201         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8202         * math/Makefile ($(objpfx)libm.so): Likewise.
8203         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8204         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8205         variable instead of depending directly on libc.
8206         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8207         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8208         $(link-libc-deps).
8209         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8210         libc.
8211         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8212         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8213         ($(objpfx)libanl.so): Likewise.
8214         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8215         ld.so.
8216         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8217         $(link-libc-deps).
8218         * sysdeps/i386/fpu/Makefile: Remove file.
8219         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8220         ($(objpfx)libm.so): Remove dependency on ld.so.
8222 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8224         [BZ # 15553]
8225         * nis/yp_xdr.c (XDRMAXNAME): Define.
8226         (XDRMAXRECORD): Define.
8227         (xdr_domainname): Use XDRMAXNAME.
8228         (xdr_mapname): Likewise.
8229         (xdr_peername): Likewise.
8230         (xdr_keydat): Use XDRMAXRECORD.
8231         (xdr_valdat): Likewise.
8233 2013-05-30  Jeff Law  <law@redhat.com>
8235         [BZ #14256]
8236         * manual/errno.texi (ESTALE): Update to account for more than
8237         just NFS file systems.
8238         * sysdeps/gnu/errlist.c: Regenerated.
8240 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8242         [BZ #15465]
8243         * elf/Makefile (tests): Add tst-null-argv.
8244         (modules-names):  Add tst-null-argv-lib.
8245         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8246         (tst-null-argv-ENV): Set environment for tst-null-argv.
8247         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8248         (RTLD_PROGNAME): New macro.
8249         * elf/tst-null-argv.c: New test case.
8250         * elf/tst-null-argv-lib.c: Library for test case.
8251         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8252         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8253         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8254         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8255         * elf/dl-init.c (call_init): Likewise.
8256         (_dl_init): Likewise.
8257         * elf/dl-load.c (print_search_path): Likewise.
8258         (_dl_map_object): Likewise.
8259         * elf/dl-lookup.c (do_lookup_x): Likewise.
8260         (add_dependency): Likewise.
8261         (_dl_lookup_symbol_x): Likewise.
8262         (_dl_debug_bindings): Likewise.
8263         * elf/dl-open.c (_dl_show_scope): Likewise.
8264         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8265         * elf/dl-version.c (match_symbol): Likewise.
8266         (_dl_check_map_versions): Likewise.
8267         * elf/rtld.c (dl_main): Likewise.
8268         (print_unresolved): Use RTLD_PROGNAME.
8269         (print_missing_version): Likewise.
8270         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8271         (elf_machine_rela): Likewise.
8272         * sysdeps/powerpc/powerpc32/dl-machine.c
8273         (__process_machine_rela): Likewise.
8274         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8275         Likewise.
8276         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8277         Likewise.
8278         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8279         Likewise.
8280         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8281         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8282         Likewise.
8283         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8284         Likewise.
8285         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8287 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8289         * po/be.po: Add descriptive title.
8290         * po/zh_CN.po: Likewise.
8291         * po/header.pot: Likewise.
8293 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8295         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8296         error message.
8297         (enlarge_archive): Likewise.
8299 2013-05-28  Ben North  <ben@redfrontdoor.org>
8301         * manual/arith.texi (frexp): It is the magnitude of the return
8302         value which lies in [0.5, 1), not the return value itself.
8304 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8308 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8310         * stdio-common/bug26.c (main): Correct fscanf template.
8312         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8313         declare _dl_skip_args.
8315         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8316         Don't declare.
8318         * manual/platform.texi: Add missing @end deftypefun.
8320 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8322         [BZ #15529]
8323         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8324         bit of mantissa of 2^16382.
8325         * math/libm-test.inc (hypot_test_data): Add more tests.
8327         * math/libm-test.inc: Add drem and pow10 to list of tested
8328         functions.
8329         (pow10_test): New function.
8330         (drem_test): Likewise.
8331         (drem_test_tonearest): Likewise.
8332         (drem_test_towardzero): Likewise.
8333         (drem_test_downward): Likewise.
8334         (drem_test_upward): Likewise.
8335         (main): Call the new functions.
8337         * math/libm-test.inc (finite_test_data): Remove.
8338         (finite_test): Run tests from isfinite_test_data.
8339         (gamma_test_data): Remove.
8340         (gamma_test): Run tests from lgamma_test_data.
8341         * sysdeps/i386/fpu/libm-test-ulps: Update.
8342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8344 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8346         * manual/platform.texi: Add PowerPC PPR function set documentation.
8347         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8348         implementation.
8350 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8352         * math/libm-test.inc (MAX_EXP): Define.
8353         (ULPDIFF): Define.
8354         (ulp): New function.
8355         (check_float_internal): Use ULPDIFF.
8356         (cpow_test): Disable failing test.
8357         (check_ulp): Test ulp() implemetnation.
8358         (main): Call check_ulp before starting tests.
8360 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8362         * math/gen-libm-test.pl (generate_testfile): Do not handle
8363         START_DATA and END_DATA.
8364         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8365         END_DATA.
8366         (acos_tonearest_test_data): Likewise.
8367         (acos_towardzero_test_data): Likewise.
8368         (acos_downward_test_data): Likewise.
8369         (acos_upward_test_data): Likewise.
8370         (acosh_test_data): Likewise.
8371         (asin_test_data): Likewise.
8372         (asin_tonearest_test_data): Likewise.
8373         (asin_towardzero_test_data): Likewise.
8374         (asin_downward_test_data): Likewise.
8375         (asin_upward_test_data): Likewise.
8376         (asinh_test_data): Likewise.
8377         (atan_test_data): Likewise.
8378         (atanh_test_data): Likewise.
8379         (atan2_test_data): Likewise.
8380         (cabs_test_data): Likewise.
8381         (cacos_test_data): Likewise.
8382         (cacosh_test_data): Likewise.
8383         (carg_test_data): Likewise.
8384         (casin_test_data): Likewise.
8385         (casinh_test_data): Likewise.
8386         (catan_test_data): Likewise.
8387         (catanh_test_data): Likewise.
8388         (cbrt_test_data): Likewise.
8389         (ccos_test_data): Likewise.
8390         (ccosh_test_data): Likewise.
8391         (ceil_test_data): Likewise.
8392         (cexp_test_data): Likewise.
8393         (cimag_test_data): Likewise.
8394         (clog_test_data): Likewise.
8395         (clog10_test_data): Likewise.
8396         (conj_test_data): Likewise.
8397         (copysign_test_data): Likewise.
8398         (cos_test_data): Likewise.
8399         (cos_tonearest_test_data): Likewise.
8400         (cos_towardzero_test_data): Likewise.
8401         (cos_downward_test_data): Likewise.
8402         (cos_upward_test_data): Likewise.
8403         (cosh_test_data): Likewise.
8404         (cosh_tonearest_test_data): Likewise.
8405         (cosh_towardzero_test_data): Likewise.
8406         (cosh_downward_test_data): Likewise.
8407         (cosh_upward_test_data): Likewise.
8408         (cpow_test_data): Likewise.
8409         (cproj_test_data): Likewise.
8410         (creal_test_data): Likewise.
8411         (csin_test_data): Likewise.
8412         (csinh_test_data): Likewise.
8413         (csqrt_test_data): Likewise.
8414         (ctan_test_data): Likewise.
8415         (ctan_tonearest_test_data): Likewise.
8416         (ctan_towardzero_test_data): Likewise.
8417         (ctan_downward_test_data): Likewise.
8418         (ctan_upward_test_data): Likewise.
8419         (ctanh_test_data): Likewise.
8420         (ctanh_tonearest_test_data): Likewise.
8421         (ctanh_towardzero_test_data): Likewise.
8422         (ctanh_downward_test_data): Likewise.
8423         (ctanh_upward_test_data): Likewise.
8424         (erf_test_data): Likewise.
8425         (erfc_test_data): Likewise.
8426         (exp_test_data): Likewise.
8427         (exp_tonearest_test_data): Likewise.
8428         (exp_towardzero_test_data): Likewise.
8429         (exp_downward_test_data): Likewise.
8430         (exp_upward_test_data): Likewise.
8431         (exp10_test_data): Likewise.
8432         (exp2_test_data): Likewise.
8433         (expm1_test_data): Likewise.
8434         (fabs_test_data): Likewise.
8435         (fdim_test_data): Likewise.
8436         (finite_test_data): Likewise.
8437         (floor_test_data): Likewise.
8438         (fma_test_data): Likewise.
8439         (fma_towardzero_test_data): Likewise.
8440         (fma_downward_test_data): Likewise.
8441         (fma_upward_test_data): Likewise.
8442         (fmax_test_data): Likewise.
8443         (fmin_test_data): Likewise.
8444         (fmod_test_data): Likewise.
8445         (fpclassify_test_data): Likewise.
8446         (frexp_test_data): Likewise.
8447         (gamma_test_data): Likewise.
8448         (hypot_test_data): Likewise.
8449         (ilogb_test_data): Likewise.
8450         (isfinite_test_data): Likewise.
8451         (isgreater_test_data): Likewise.
8452         (isgreaterequal_test_data): Likewise.
8453         (isinf_test_data): Likewise.
8454         (isless_test_data): Likewise.
8455         (islessequal_test_data): Likewise.
8456         (islessgreater_test_data): Likewise.
8457         (isnan_test_data): Likewise.
8458         (isnormal_test_data): Likewise.
8459         (issignaling_test_data): Likewise.
8460         (isunordered_test_data): Likewise.
8461         (j0_test_data): Likewise.
8462         (j1_test_data): Likewise.
8463         (jn_test_data): Likewise.
8464         (ldexp_test_data): Likewise.
8465         (lgamma_test_data): Likewise.
8466         (lrint_test_data): Likewise.
8467         (lrint_tonearest_test_data): Likewise.
8468         (lrint_towardzero_test_data): Likewise.
8469         (lrint_downward_test_data): Likewise.
8470         (lrint_upward_test_data): Likewise.
8471         (llrint_test_data): Likewise.
8472         (llrint_tonearest_test_data): Likewise.
8473         (llrint_towardzero_test_data): Likewise.
8474         (llrint_downward_test_data): Likewise.
8475         (llrint_upward_test_data): Likewise.
8476         (log_test_data): Likewise.
8477         (log10_test_data): Likewise.
8478         (log1p_test_data): Likewise.
8479         (log2_test_data): Likewise.
8480         (logb_test_data): Likewise.
8481         (logb_downward_test_data): Likewise.
8482         (lround_test_data): Likewise.
8483         (llround_test_data): Likewise.
8484         (modf_test_data): Likewise.
8485         (nearbyint_test_data): Likewise.
8486         (nextafter_test_data): Likewise.
8487         (nexttoward_test_data): Likewise.
8488         (pow_test_data): Likewise.
8489         (pow_tonearest_test_data): Likewise.
8490         (pow_towardzero_test_data): Likewise.
8491         (pow_downward_test_data): Likewise.
8492         (pow_upward_test_data): Likewise.
8493         (remainder_test_data): Likewise.
8494         (remainder_tonearest_test_data): Likewise.
8495         (remainder_towardzero_test_data): Likewise.
8496         (remainder_downward_test_data): Likewise.
8497         (remainder_upward_test_data): Likewise.
8498         (remquo_test_data): Likewise.
8499         (rint_test_data): Likewise.
8500         (rint_tonearest_test_data): Likewise.
8501         (rint_towardzero_test_data): Likewise.
8502         (rint_downward_test_data): Likewise.
8503         (rint_upward_test_data): Likewise.
8504         (round_test_data): Likewise.
8505         (scalb_test_data): Likewise.
8506         (scalbn_test_data): Likewise.
8507         (scalbln_test_data): Likewise.
8508         (signbit_test_data): Likewise.
8509         (sin_test_data): Likewise.
8510         (sin_tonearest_test_data): Likewise.
8511         (sin_towardzero_test_data): Likewise.
8512         (sin_downward_test_data): Likewise.
8513         (sin_upward_test_data): Likewise.
8514         (sincos_test_data): Likewise.
8515         (sinh_test_data): Likewise.
8516         (sinh_tonearest_test_data): Likewise.
8517         (sinh_towardzero_test_data): Likewise.
8518         (sinh_downward_test_data): Likewise.
8519         (sinh_upward_test_data): Likewise.
8520         (sqrt_test_data): Likewise.
8521         (tan_test_data): Likewise.
8522         (tan_tonearest_test_data): Likewise.
8523         (tan_towardzero_test_data): Likewise.
8524         (tan_downward_test_data): Likewise.
8525         (tan_upward_test_data): Likewise.
8526         (tanh_test_data): Likewise.
8527         (tgamma_test_data): Likewise.
8528         (trunc_test_data): Likewise.
8529         (y0_test_data): Likewise.
8530         (y1_test_data): Likewise.
8531         (yn_test_data): Likewise.
8532         (significand_test_data): Likewise.
8534         * math/gen-libm-test.pl (@functions): Remove variable.
8535         (generate_testfile): Don't handle START and END lines.
8536         * math/libm-test.inc (START): New macro.
8537         (END): Likewise.
8538         (END_COMPLEX): Likewise.
8539         (acos_test): Use END macro without arguments.
8540         (acos_test_tonearest): Likewise.
8541         (acos_test_towardzero): Likewise.
8542         (acos_test_downward): Likewise.
8543         (acos_test_upward): Likewise.
8544         (acosh_test): Likewise.
8545         (asin_test): Likewise.
8546         (asin_test_tonearest): Likewise.
8547         (asin_test_towardzero): Likewise.
8548         (asin_test_downward): Likewise.
8549         (asin_test_upward): Likewise.
8550         (asinh_test): Likewise.
8551         (atan_test): Likewise.
8552         (atanh_test): Likewise.
8553         (atan2_test): Likewise.
8554         (cabs_test): Likewise.
8555         (cacos_test): Use END_COMPLEX macro without arguments.
8556         (cacosh_test): Likewise.
8557         (carg_test): Use END macro without arguments.
8558         (casin_test): Use END_COMPLEX macro without arguments.
8559         (casinh_test): Likewise.
8560         (catan_test): Likewise.
8561         (catanh_test): Likewise.
8562         (cbrt_test): Use END macro without arguments.
8563         (ccos_test): Use END_COMPLEX macro without arguments.
8564         (ccosh_test): Likewise.
8565         (ceil_test): Use END macro without arguments.
8566         (cexp_test): Use END_COMPLEX macro without arguments.
8567         (cimag_test): Use END macro without arguments.
8568         (clog_test): Use END_COMPLEX macro without arguments.
8569         (clog10_test): Likewise.
8570         (conj_test): Likewise.
8571         (copysign_test): Use END macro without arguments.
8572         (cos_test): Likewise.
8573         (cos_test_tonearest): Likewise.
8574         (cos_test_towardzero): Likewise.
8575         (cos_test_downward): Likewise.
8576         (cos_test_upward): Likewise.
8577         (cosh_test): Likewise.
8578         (cosh_test_tonearest): Likewise.
8579         (cosh_test_towardzero): Likewise.
8580         (cosh_test_downward): Likewise.
8581         (cosh_test_upward): Likewise.
8582         (cpow_test): Use END_COMPLEX macro without arguments.
8583         (cproj_test): Likewise.
8584         (creal_test): Use END macro without arguments.
8585         (csin_test): Use END_COMPLEX macro without arguments.
8586         (csinh_test): Likewise.
8587         (csqrt_test): Likewise.
8588         (ctan_test): Likewise.
8589         (ctan_test_tonearest): Likewise.
8590         (ctan_test_towardzero): Likewise.
8591         (ctan_test_downward): Likewise.
8592         (ctan_test_upward): Likewise.
8593         (ctanh_test): Likewise.
8594         (ctanh_test_tonearest): Likewise.
8595         (ctanh_test_towardzero): Likewise.
8596         (ctanh_test_downward): Likewise.
8597         (ctanh_test_upward): Likewise.
8598         (erf_test): Use END macro without arguments.
8599         (erfc_test): Likewise.
8600         (exp_test): Likewise.
8601         (exp_test_tonearest): Likewise.
8602         (exp_test_towardzero): Likewise.
8603         (exp_test_downward): Likewise.
8604         (exp_test_upward): Likewise.
8605         (exp10_test): Likewise.
8606         (exp2_test): Likewise.
8607         (expm1_test): Likewise.
8608         (fabs_test): Likewise.
8609         (fdim_test): Likewise.
8610         (finite_test): Likewise.
8611         (floor_test): Likewise.
8612         (fma_test): Likewise.
8613         (fma_test_towardzero): Likewise.
8614         (fma_test_downward): Likewise.
8615         (fma_test_upward): Likewise.
8616         (fmax_test): Likewise.
8617         (fmin_test): Likewise.
8618         (fmod_test): Likewise.
8619         (fpclassify_test): Likewise.
8620         (frexp_test): Likewise.
8621         (gamma_test): Likewise.
8622         (hypot_test): Likewise.
8623         (ilogb_test): Likewise.
8624         (isfinite_test): Likewise.
8625         (isgreater_test): Likewise.
8626         (isgreaterequal_test): Likewise.
8627         (isinf_test): Likewise.
8628         (isless_test): Likewise.
8629         (islessequal_test): Likewise.
8630         (islessgreater_test): Likewise.
8631         (isnan_test): Likewise.
8632         (isnormal_test): Likewise.
8633         (issignaling_test): Likewise.
8634         (isunordered_test): Likewise.
8635         (j0_test): Likewise.
8636         (j1_test): Likewise.
8637         (jn_test): Likewise.
8638         (ldexp_test): Likewise.
8639         (lgamma_test): Likewise.
8640         (lrint_test): Likewise.
8641         (lrint_test_tonearest): Likewise.
8642         (lrint_test_towardzero): Likewise.
8643         (lrint_test_downward): Likewise.
8644         (lrint_test_upward): Likewise.
8645         (llrint_test): Likewise.
8646         (llrint_test_tonearest): Likewise.
8647         (llrint_test_towardzero): Likewise.
8648         (llrint_test_downward): Likewise.
8649         (llrint_test_upward): Likewise.
8650         (log_test): Likewise.
8651         (log10_test): Likewise.
8652         (log1p_test): Likewise.
8653         (log2_test): Likewise.
8654         (logb_test): Likewise.
8655         (logb_test_downward): Likewise.
8656         (lround_test): Likewise.
8657         (llround_test): Likewise.
8658         (modf_test): Likewise.
8659         (nearbyint_test): Likewise.
8660         (nextafter_test): Likewise.
8661         (nexttoward_test): Likewise.
8662         (pow_test): Likewise.
8663         (pow_test_tonearest): Likewise.
8664         (pow_test_towardzero): Likewise.
8665         (pow_test_downward): Likewise.
8666         (pow_test_upward): Likewise.
8667         (remainder_test): Likewise.
8668         (remainder_test_tonearest): Likewise.
8669         (remainder_test_towardzero): Likewise.
8670         (remainder_test_downward): Likewise.
8671         (remainder_test_upward): Likewise.
8672         (remquo_test): Likewise.
8673         (rint_test): Likewise.
8674         (rint_test_tonearest): Likewise.
8675         (rint_test_towardzero): Likewise.
8676         (rint_test_downward): Likewise.
8677         (rint_test_upward): Likewise.
8678         (round_test): Likewise.
8679         (scalb_test): Likewise.
8680         (scalbn_test): Likewise.
8681         (scalbln_test): Likewise.
8682         (signbit_test): Likewise.
8683         (sin_test): Likewise.
8684         (sin_test_tonearest): Likewise.
8685         (sin_test_towardzero): Likewise.
8686         (sin_test_downward): Likewise.
8687         (sin_test_upward): Likewise.
8688         (sincos_test): Likewise.
8689         (sinh_test): Likewise.
8690         (sinh_test_tonearest): Likewise.
8691         (sinh_test_towardzero): Likewise.
8692         (sinh_test_downward): Likewise.
8693         (sinh_test_upward): Likewise.
8694         (sqrt_test): Likewise.
8695         (tan_test): Likewise.
8696         (tan_test_tonearest): Likewise.
8697         (tan_test_towardzero): Likewise.
8698         (tan_test_downward): Likewise.
8699         (tan_test_upward): Likewise.
8700         (tanh_test): Likewise.
8701         (tgamma_test): Likewise.
8702         (trunc_test): Likewise.
8703         (y0_test): Likewise.
8704         (y1_test): Likewise.
8705         (yn_test): Likewise.
8706         (significand_test): Likewise.
8708 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8710         [BZ #15381]
8711         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8713 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8715         [BZ #14894]
8716         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8717         __ppc_mdoio and __ppc_mdoom.
8718         * manual/platform.texi: Document new functions __ppc_yield,
8719         __ppc_mdoio and __ppc_mdoom.
8721 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8723         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8724         (main): Mention "tls" pseudo-hwcap is legacy.
8725         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8727 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8729         * math/gen-libm-test.pl (parse_args): Output only string of
8730         arguments as text for test name, not full call or descriptions of
8731         tests for extra outputs.
8732         (generate_testfile): Do not pass function name to parse_args.
8733         Generate this_func variable from START.
8734         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8735         field to arg_str.
8736         (struct test_ff_f_data): Likewise.
8737         (test_ff_f_data_nexttoward): Likewise.
8738         (struct test_fi_f_data): Likewise.
8739         (struct test_fl_f_data): Likewise.
8740         (struct test_if_f_data): Likewise.
8741         (struct test_fff_f_data): Likewise.
8742         (struct test_c_f_data): Likewise.
8743         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8744         (struct test_fF_f1_data): Likewise.
8745         (struct test_ffI_f1_data): Likewise.
8746         (struct test_c_c_data): Rename test_name field to arg_str.
8747         (struct test_cc_c_data): Likewise.
8748         (struct test_f_i_data): Likewise.
8749         (struct test_ff_i_data): Likewise.
8750         (struct test_f_l_data): Likewise.
8751         (struct test_f_L_data): Likewise.
8752         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8753         and extra2_name.
8754         (COMMON_TEST_SETUP): New macro.
8755         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8756         (COMMON_TEST_CLEANUP): Likewise.
8757         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8758         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8759         macros.
8760         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8761         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8762         macros.
8763         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8764         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8765         cleanup macros.
8766         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8767         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8768         macros.
8769         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8770         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8771         macros.
8772         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8773         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8774         cleanup macros.
8775         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8776         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8777         cleanup macros.
8778         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8779         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8780         cleanup macros.
8781         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8782         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8783         macros.
8784         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8785         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8786         macros.
8787         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8788         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8789         macros.
8790         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8791         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8792         cleanup macros.
8793         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8794         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8795         cleanup macros.
8796         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8797         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8798         macros.
8799         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8800         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8801         cleanup macros.
8802         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8803         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8804         macros.
8805         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8806         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8807         macros.
8808         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8809         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8810         cleanup macros.
8811         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8813 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8815         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8816         to _sifields.sigfault.
8817         (si_addr_lsb): Define new macro.
8818         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8819         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8820         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8822 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8824         [BZ #15441]
8825         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8826         returns -1.
8827         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8828         null return -1.
8829         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8830         loading the domain.
8832 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8834         * math/gen-libm-test.pl (parse_args): Do not include expected
8835         result in test name.
8836         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8837         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8838         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8839         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8840         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8843 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8845         * benchtests/Makefile: Sort function entries.
8847         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8848         tanh, asinh, acosh, atanh.
8849         * benchtests/acos-inputs: New file.
8850         * benchtests/acosh-inputs: New file.
8851         * benchtests/asin-inputs: New file.
8852         * benchtests/asinh-inputs: New file.
8853         * benchtests/atanh-inputs: New file.
8854         * benchtests/cosh-inputs: New file.
8855         * benchtests/log-inputs: New file.
8856         * benchtests/sinh-inputs: New file.
8857         * benchtests/tanh-inputs: New file.
8859 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8861         [BZ #15339]
8862         * posix/tst-getaddrinfo4.c: New test.
8863         * posix/Makefile (tests): Add it.
8865 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8867         [BZ #15339]
8868         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8869         when no services were used.
8870         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8871         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8873 2013-05-21  Andreas Schwab  <schwab@suse.de>
8875         [BZ #15014]
8876         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8877         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8878         successful.
8879         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8880         redundant variable declarations and reallocation of buffer when
8881         parsing as IPv6 address.  Always set NSS status when called from
8882         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8883         buffer too small.  Correct computation of needed size.
8884         * nss/Makefile (tests): Add test-digits-dots.
8885         * nss/test-digits-dots.c: New test.
8887 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8889         * benchtests/Makefile: Remove instructions for adding
8890         benchmark tests.
8891         * benchtests/README: New file to explain how to execute and
8892         enhance the benchmark tests.
8894 2013-05-21  Andreas Schwab  <schwab@suse.de>
8896         [BZ #15493]
8897         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8898         * setjmp/tst-sigsetjmp.c: New test.
8900 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8902         * sysdeps/x86_64/memset.S (memset): New implementation.
8903         (__bzero): Likewise.
8904         (__memset_tail): New function.
8906 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8908         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8909         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8910         __memcpy_sse2_unaligned ifunc selection.
8911         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8912         Add memcpy-sse2-unaligned.S.
8913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8914         Add: __memcpy_sse2_unaligned.
8916 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8918         [BZ #15490]
8919         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8920         math_force_eval before restoring floating-point envrionment.
8921         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8922         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8923         Likewise.
8924         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8925         <math_private.h>.
8926         (__nearbyintl): Use math_force_eval before restoring
8927         floating-point environment.
8928         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8930         * math/gen-libm-test.pl (special_functions): Remove.
8931         (parse_args): Don't handle TEST_extra.  Handle functions with no
8932         return value.
8933         * math/libm-test.inc (struct test_sincos_data): Replace with
8934         struct test_fFF_11_data.
8935         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8936         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8937         (sincos_test_data): Change element type to struct
8938         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8939         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8940         RUN_TEST_LOOP_sincos.
8941         * math/README.libm-test: Don't mention special handling of
8942         individual functions.
8943         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8944         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8945         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8946         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8947         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8950         * math/gen-libm-test.pl (get_variable): Remove function.
8951         (parse_args): Don't show pointer parameters to call in test
8952         names.  Use "extra output N" in test names for extra outputs
8953         rather than naming variables.
8955 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8957         [BZ #15488]
8958         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8959         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8960         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8961         double tests.
8962         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8963         disable.
8964         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8965         check_long_double.
8967         * math/gen-libm-test.pl (@tests): Remove variable.
8968         ($count): Likewise.
8969         (new_test): Remove function.
8970         (show_exceptions): New function.
8971         (special_functions): Use show_exceptions instead of new_test.
8972         (parse_args): Likewise.
8973         (generate_testfile): Pass only function name in generated call to
8974         print_max_error or print_complex_max_error.
8975         (get_ulps): Do not handle complex tests specially.
8976         (output_test): Rename to ...
8977         (get_all_ulps_for_test): ... this.  Return a string rather than
8978         printing to a file.  Require ulps to be present.
8979         (output_ulps): Generate arrays rather than #defines.
8980         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8981         (struct ulp_data): New type.
8982         (BUILD_COMPLEX_ULP): Remove macro.
8983         (compare_ulp_data): New function.
8984         (find_ulps): Likewise.
8985         (find_test_ulps): Likewise.
8986         (find_function_ulps): Likewise.
8987         (find_complex_function_ulps): Likewise.
8988         (print_max_error): Determine allowed ulps using
8989         find_function_ulps.
8990         (print_complex_max_error): Determine allowed ulps using
8991         find_complex_function_ulps.
8992         (check_float_internal): Determine max ulps using find_test_ulps.
8993         (check_float): Do not take max_ulp parameter.  Update call to
8994         check_float_internal.
8995         (check_complex): Likewise.
8996         (check_int): Do not take max_ulp parameter.
8997         (check_long): Likewise.
8998         (check_bool): Likewise.
8999         (check_longlong): Likewise.
9000         (struct test_f_f_data): Remove max_ulp field.
9001         (struct test_ff_f_data): Likewise.
9002         (struct test_ff_f_data_nexttoward): Likewise.
9003         (struct test_fi_f_data): Likewise.
9004         (struct test_fl_f_data): Likewise.
9005         (struct test_if_f_data): Likewise.
9006         (struct test_fff_f_data): Likewise.
9007         (struct test_c_f_data): Likewise.
9008         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9009         (struct test_fF_f1_data): Likewise.
9010         (struct test_ffI_f1_data): Likewise.
9011         (struct test_c_c_data): Remove max_ulp field.
9012         (struct test_cc_c_data): Likewise.
9013         (struct test_f_i_data): Likewise.
9014         (struct test_ff_i_data): Likewise.
9015         (struct test_f_l_data): Likewise.
9016         (struct test_f_L_data): Likewise.
9017         (struct test_sincos_data): Likewise.
9018         (RUN_TEST_f_f): Do not handle ulps.
9019         (RUN_TEST_LOOP_f_f): Likewise.
9020         (RUN_TEST_2_f): Likewise.
9021         (RUN_TEST_LOOP_2_f): Likewise.
9022         (RUN_TEST_fff_f): Likewise.
9023         (RUN_TEST_LOOP_fff_f): Likewise.
9024         (RUN_TEST_c_f): Likewise.
9025         (RUN_TEST_LOOP_c_f): Likewise.
9026         (RUN_TEST_f_f1): Likewise.
9027         (RUN_TEST_LOOP_f_f1): Likewise.
9028         (RUN_TEST_fF_f1): Likewise.
9029         (RUN_TEST_LOOP_fF_f1): Likewise.
9030         (RUN_TEST_fI_f1): Likewise.
9031         (RUN_TEST_LOOP_fI_f1): Likewise.
9032         (RUN_TEST_ffI_f1): Likewise.
9033         (RUN_TEST_LOOP_ffI_f1): Likewise.
9034         (RUN_TEST_c_c): Likewise.
9035         (RUN_TEST_LOOP_c_c): Likewise.
9036         (RUN_TEST_cc_c): Likewise.
9037         (RUN_TEST_LOOP_cc_c): Likewise.
9038         (RUN_TEST_f_i): Likewise.
9039         (RUN_TEST_LOOP_f_i): Likewise.
9040         (RUN_TEST_f_i_tg): Likewise.
9041         (RUN_TEST_LOOP_f_i_tg): Likewise.
9042         (RUN_TEST_ff_i_tg): Likewise.
9043         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9044         (RUN_TEST_f_b): Likewise.
9045         (RUN_TEST_LOOP_f_b): Likewise.
9046         (RUN_TEST_f_b_tg): Likewise.
9047         (RUN_TEST_LOOP_f_b_tg): Likewise.
9048         (RUN_TEST_f_l): Likewise.
9049         (RUN_TEST_LOOP_f_l): Likewise.
9050         (RUN_TEST_f_L): Likewise.
9051         (RUN_TEST_LOOP_f_L): Likewise.
9052         (RUN_TEST_sincos): Likewise.
9053         (RUN_TEST_LOOP_sincos): Likewise.
9055 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9057         [BZ #15480]
9058         [BZ #15485]
9059         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9060         main case of finite arguments, set rounding mode to FE_TONEAREST
9061         and discard exceptions.
9062         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9063         exceptions.
9064         (remainder_tonearest_test_data): New variable.
9065         (remainder_test_tonearest): New function.
9066         (remainder_towardzero_test_data): New variable.
9067         (remainder_test_towardzero): New function.
9068         (remainder_downward_test_data): New variable.
9069         (remainder_test_downward): New function.
9070         (remainder_upward_test_data): New variable.
9071         (remainder_test_upward): New function.
9072         (main): Call the new test functions.
9074         * math/libm-test.inc (struct test_f_f1_data): Remove field
9075         extra_init.
9076         (struct test_fF_f1_data): Likewise.
9077         (struct test_ffI_f1_data): Likewise.
9078         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9079         based on value of EXTRA_EXPECTED.
9080         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9081         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9082         EXTRA_VAR based on value of EXTRA_EXPECTED.
9083         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9084         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9085         EXTRA_VAR based on value of EXTRA_EXPECTED.
9086         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9087         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9088         EXTRA_VAR based on value of EXTRA_EXPECTED.
9089         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9090         * math/gen-libm-test.pl (parse_args): Don't output initializers
9091         for extra output values.
9093         * math/libm-test.inc (check_int): Expect result to be exactly
9094         equal to expected value and do not handle ulps.
9095         (check_long): Likewise.
9096         (check_longlong): Likewise.
9098         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9099         exceptions.
9100         (cimag_test_data): Likewise.
9101         (conj_test_data): Likewise.
9102         (copysign_test_data): Likewise.
9103         (cproj_test_data): Likewise.
9104         (creal_test_data): Likewise.
9105         (fabs_test_data): Likewise.
9106         (fdim_test_data): Likewise.
9107         (finite_test_data): Likewise.
9108         (floor_test_data): Likewise.
9109         (fmax_test_data): Likewise.
9110         (fmin_test_data): Likewise.
9111         (fmod_test_data): Likewise.
9112         (fpclassify_test_data): Likewise.
9113         (frexp_test_data): Likewise.
9114         (ilogb_test_data): Likewise.
9115         (isfinite_test_data): Likewise.
9116         (isgreater_test_data): Likewise.
9117         (isgreaterequal_test_data): Likewise.
9118         (isinf_test_data): Likewise.
9119         (isless_test_data): Likewise.
9120         (islessequal_test_data): Likewise.
9121         (islessgreater_test_data): Likewise.
9122         (isnan_test_data): Likewise.
9123         (isnormal_test_data): Likewise.
9124         (issignaling_test_data): Likewise.
9125         (isunordered_test_data): Likewise.
9126         (ldexp_test_data): Likewise.
9127         (lrint_test_data): Likewise.
9128         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9129         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9130         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9131         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9132         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9133         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9134         test input.
9135         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9136         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9137         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9138         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9139         that test input.
9140         (lrint_downward_test_data): Test for "inexact" exceptions.
9141         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9142         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9143         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9144         test input.
9145         (lrint_upward_test_data): Test for "inexact" exceptions.
9146         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9147         test input.
9148         (llrint_test_data): Test for "inexact" exceptions.
9149         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9150         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9151         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9152         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9153         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9154         (llrint_downward_test_data): Test for "inexact" exceptions.
9155         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9156         (llrint_upward_test_data): Test for "inexact" exceptions.
9157         (logb_test_data): Likewise.
9158         (logb_downward_test_data): Likewise.
9159         (nextafter_test_data): Likewise.
9160         (nexttoward_test_data): Likewise.
9161         (remainder_test_data): Likewise.
9162         (remquo_test_data): Likewise.
9163         (scalbn_test_data): Likewise.
9164         (scalbln_test_data): Likewise.
9165         (signbit_test_data): Likewise.
9166         (sqrt_test_data): Likewise.
9167         (significand_test_data): Likewise.
9169 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9171         [BZ #15424]
9172         * benchtests/bench-modf.c (struct args): Mark arg0 as
9173         volatile.
9174         * scripts/bench.pl: Mark members of struct args as volatile.
9176 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9178         [BZ # 15497]
9179         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9180         negative infinity on POWER6 or lower.
9181         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9183 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9185         [BZ #15442]
9186         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9187         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9188         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9189         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9190         (_FP_SETQNAN): New macro.
9191         (_FP_SETQNAN_SEMIRAW): Likewise.
9192         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9193         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9194         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9195         (FP_EXTEND): Use _FP_FRAC_SNANP.
9196         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9197         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9198         into account.
9199         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9200         New macro.
9201         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9202         Likewise.
9204 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9206         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9207         with DIVIDE_BY_ZERO_EXCEPTION.
9208         (gamma_test_data): Likewise.
9209         (lgamma_test_data): Likewise.
9210         (log_test_data): Likewise.
9211         (log10_test_data): Likewise.
9212         (log2_test_data): Likewise.
9213         (tgamma_test_data): Likewise.
9215         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9216         (acos_test_tonearest): Likewise.
9217         (acos_test_towardzero): Likewise.
9218         (acos_test_downward): Likewise.
9219         (acos_test_upward): Likewise.
9220         (acosh_test): Likewise.
9221         (asin_test): Likewise.
9222         (asin_test_tonearest): Likewise.
9223         (asin_test_towardzero): Likewise.
9224         (asin_test_downward): Likewise.
9225         (asin_test_upward): Likewise.
9226         (asinh_test): Likewise.
9227         (atan_test): Likewise.
9228         (atanh_test): Likewise.
9229         (atan2_test): Likewise.
9230         (cabs_test): Likewise.
9231         (cacos_test): Likewise.
9232         (cacosh_test): Likewise.
9233         (casin_test): Likewise.
9234         (casinh_test): Likewise.
9235         (catan_test): Likewise.
9236         (catanh_test): Likewise.
9237         (cbrt_test): Likewise.
9238         (ccos_test): Likewise.
9239         (ccosh_test): Likewise.
9240         (cexp_test): Likewise.
9241         (clog_test): Likewise.
9242         (clog10_test): Likewise.
9243         (cos_test): Likewise.
9244         (cos_test_tonearest): Likewise.
9245         (cos_test_towardzero): Likewise.
9246         (cos_test_downward): Likewise.
9247         (cos_test_upward): Likewise.
9248         (cosh_test): Likewise.
9249         (cosh_test_tonearest): Likewise.
9250         (cosh_test_towardzero): Likewise.
9251         (cosh_test_downward): Likewise.
9252         (cosh_test_upward): Likewise.
9253         (cpow_test): Likewise.
9254         (csin_test): Likewise.
9255         (csinh_test): Likewise.
9256         (csqrt_test): Likewise.
9257         (ctan_test): Likewise.
9258         (ctan_test_tonearest): Likewise.
9259         (ctan_test_towardzero): Likewise.
9260         (ctan_test_downward): Likewise.
9261         (ctan_test_upward): Likewise.
9262         (ctanh_test): Likewise.
9263         (ctanh_test_tonearest): Likewise.
9264         (ctanh_test_towardzero): Likewise.
9265         (ctanh_test_downward): Likewise.
9266         (ctanh_test_upward): Likewise.
9267         (erf_test): Likewise.
9268         (erfc_test): Likewise.
9269         (exp_test): Likewise.
9270         (exp_test_tonearest): Likewise.
9271         (exp_test_towardzero): Likewise.
9272         (exp_test_downward): Likewise.
9273         (exp_test_upward): Likewise.
9274         (exp10_test): Likewise.
9275         (exp2_test): Likewise.
9276         (expm1_test): Likewise.
9277         (fmod_test): Likewise.
9278         (gamma_test): Likewise.
9279         (hypot_test): Likewise.
9280         (j0_test): Likewise.
9281         (j1_test): Likewise.
9282         (jn_test): Likewise.
9283         (lgamma_test): Likewise.
9284         (log_test): Likewise.
9285         (log10_test): Likewise.
9286         (log1p_test): Likewise.
9287         (log2_test): Likewise.
9288         (logb_test_downward): Likewise.
9289         (pow_test): Likewise.
9290         (pow_test_tonearest): Likewise.
9291         (pow_test_towardzero): Likewise.
9292         (pow_test_downward): Likewise.
9293         (pow_test_upward): Likewise.
9294         (remainder_test): Likewise.
9295         (remquo_test): Likewise.
9296         (sin_test): Likewise.
9297         (sin_test_tonearest): Likewise.
9298         (sin_test_towardzero): Likewise.
9299         (sin_test_downward): Likewise.
9300         (sin_test_upward): Likewise.
9301         (sincos_test): Likewise.
9302         (sinh_test): Likewise.
9303         (sinh_test_tonearest): Likewise.
9304         (sinh_test_towardzero): Likewise.
9305         (sinh_test_downward): Likewise.
9306         (sinh_test_upward): Likewise.
9307         (sqrt_test): Likewise.
9308         (tan_test): Likewise.
9309         (tan_test_tonearest): Likewise.
9310         (tan_test_towardzero): Likewise.
9311         (tan_test_downward): Likewise.
9312         (tan_test_upward): Likewise.
9313         (tanh_test): Likewise.
9314         (tgamma_test): Likewise.
9315         (y0_test): Likewise.
9316         (y1_test): Likewise.
9317         (yn_test): Likewise.
9319         * math/gen-libm-test.pl (adjust_arg): Remove function.
9320         (special_function): Remove argument $in_func.  Only handle
9321         generating output for tables of tests, not inside functions.
9322         (parse_args): Likewise.
9323         (generate_testfile): Remove variable $in_func.  Update call to
9324         parse_args.
9325         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9326         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9327         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9328         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9329         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9330         (MAX_VALUE_INIT): Rename macro to max_value.
9331         (MIN_VALUE_INIT): Rename macro to min_value.
9332         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9333         (plus_zero): Remove variable.
9334         (minus_zero): Likewise.
9335         (plus_infty): Likewise.
9336         (minus_infty): Likewise.
9337         (qnan_value): Likewise.
9338         (max_value): Likewise.
9339         (min_value): Likewise.
9340         (min_subnorm_value): Likewise.
9342 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9344         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9345         uint64_t or uint32_t usage.
9346         * crypt/sha256-block.c: Likewise.
9347         * crypt/sha256-crypt.c: Likewise.
9348         * crypt/sha256.c: Likewise.
9349         * crypt/sha512-block.c: Likewise.
9350         * crypt/sha512-crypt.c: Likewise.
9351         * crypt/sha512.c: Likewise.
9352         * debug/backtrace-tst.c: Likewise.
9353         * debug/pcprofiledump.c: Likewise.
9354         * elf/cache.c: Likewise.
9355         * elf/dl-cache.c: Likewise.
9356         * elf/dl-misc.c: Likewise.
9357         * elf/dl-profile.c: Likewise.
9358         * elf/dl-support.c: Likewise.
9359         * elf/ldconfig.c: Likewise.
9360         * elf/sprof.c: Likewise.
9361         * iconv/dummy-repertoire.c: Likewise.
9362         * iconv/iconv_charmap.c: Likewise.
9363         * iconv/skeleton.c: Likewise.
9364         * iconvdata/8bit-generic.c: Likewise.
9365         * iconvdata/cp737.h: Likewise.
9366         * iconvdata/cp775.h: Likewise.
9367         * iconvdata/ibm1008.h: Likewise.
9368         * iconvdata/ibm1025.h: Likewise.
9369         * iconvdata/ibm1046.h: Likewise.
9370         * iconvdata/ibm1097.h: Likewise.
9371         * iconvdata/ibm1112.h: Likewise.
9372         * iconvdata/ibm1122.h: Likewise.
9373         * iconvdata/ibm1123.h: Likewise.
9374         * iconvdata/ibm1124.h: Likewise.
9375         * iconvdata/ibm1129.h: Likewise.
9376         * iconvdata/ibm1130.h: Likewise.
9377         * iconvdata/ibm1132.h: Likewise.
9378         * iconvdata/ibm1133.h: Likewise.
9379         * iconvdata/ibm1137.h: Likewise.
9380         * iconvdata/ibm1140.h: Likewise.
9381         * iconvdata/ibm1141.h: Likewise.
9382         * iconvdata/ibm1142.h: Likewise.
9383         * iconvdata/ibm1143.h: Likewise.
9384         * iconvdata/ibm1144.h: Likewise.
9385         * iconvdata/ibm1145.h: Likewise.
9386         * iconvdata/ibm1146.h: Likewise.
9387         * iconvdata/ibm1147.h: Likewise.
9388         * iconvdata/ibm1148.h: Likewise.
9389         * iconvdata/ibm1149.h: Likewise.
9390         * iconvdata/ibm1153.h: Likewise.
9391         * iconvdata/ibm1154.h: Likewise.
9392         * iconvdata/ibm1155.h: Likewise.
9393         * iconvdata/ibm1156.h: Likewise.
9394         * iconvdata/ibm1157.h: Likewise.
9395         * iconvdata/ibm1158.h: Likewise.
9396         * iconvdata/ibm1160.h: Likewise.
9397         * iconvdata/ibm1161.h: Likewise.
9398         * iconvdata/ibm1162.h: Likewise.
9399         * iconvdata/ibm1163.h: Likewise.
9400         * iconvdata/ibm1164.h: Likewise.
9401         * iconvdata/ibm1166.h: Likewise.
9402         * iconvdata/ibm1167.h: Likewise.
9403         * iconvdata/ibm12712.h: Likewise.
9404         * iconvdata/ibm1390.h: Likewise.
9405         * iconvdata/ibm1399.h: Likewise.
9406         * iconvdata/ibm16804.h: Likewise.
9407         * iconvdata/ibm4517.h: Likewise.
9408         * iconvdata/ibm4899.h: Likewise.
9409         * iconvdata/ibm4909.h: Likewise.
9410         * iconvdata/ibm4971.h: Likewise.
9411         * iconvdata/ibm5347.h: Likewise.
9412         * iconvdata/ibm803.h: Likewise.
9413         * iconvdata/ibm856.h: Likewise.
9414         * iconvdata/ibm901.h: Likewise.
9415         * iconvdata/ibm902.h: Likewise.
9416         * iconvdata/ibm9030.h: Likewise.
9417         * iconvdata/ibm9066.h: Likewise.
9418         * iconvdata/ibm921.h: Likewise.
9419         * iconvdata/ibm922.h: Likewise.
9420         * iconvdata/ibm9448.h: Likewise.
9421         * iconvdata/isiri-3342.h: Likewise.
9422         * iconvdata/jis0201.h: Likewise.
9423         * include/link.h: Likewise.
9424         * include/netdb.h: Likewise.
9425         * inet/check_native.c: Likewise.
9426         * inet/check_pf.c: Likewise.
9427         * inet/getipv4sourcefilter.c: Likewise.
9428         * inet/getnameinfo.c: Likewise.
9429         * inet/getsourcefilter.c: Likewise.
9430         * inet/htonl.c: Likewise.
9431         * inet/setipv4sourcefilter.c: Likewise.
9432         * inet/setsourcefilter.c: Likewise.
9433         * inet/test-inet6_opt.c: Likewise.
9434         * inet/tst-network.c: Likewise.
9435         * locale/C-collate.c: Likewise.
9436         * locale/C-ctype.c: Likewise.
9437         * locale/C-time.c: Likewise.
9438         * locale/C-translit.h: Likewise.
9439         * locale/loadarchive.c: Likewise.
9440         * locale/programs/3level.h: Likewise.
9441         * locale/programs/charmap.c: Likewise.
9442         * locale/programs/charmap.h: Likewise.
9443         * locale/programs/ld-address.c: Likewise.
9444         * locale/programs/ld-collate.c: Likewise.
9445         * locale/programs/ld-ctype.c: Likewise.
9446         * locale/programs/ld-identification.c: Likewise.
9447         * locale/programs/ld-measurement.c: Likewise.
9448         * locale/programs/ld-messages.c: Likewise.
9449         * locale/programs/ld-monetary.c: Likewise.
9450         * locale/programs/ld-name.c: Likewise.
9451         * locale/programs/ld-numeric.c: Likewise.
9452         * locale/programs/ld-paper.c: Likewise.
9453         * locale/programs/ld-telephone.c: Likewise.
9454         * locale/programs/ld-time.c: Likewise.
9455         * locale/programs/linereader.c: Likewise.
9456         * locale/programs/locale.c: Likewise.
9457         * locale/programs/locarchive.c: Likewise.
9458         * locale/programs/locfile.h: Likewise.
9459         * locale/programs/repertoire.c: Likewise.
9460         * locale/programs/simple-hash.c: Likewise.
9461         * locale/programs/simple-hash.h: Likewise.
9462         * malloc/memusage.c: Likewise.
9463         * malloc/memusagestat.c: Likewise.
9464         * nis/nis_defaults.c: Likewise.
9465         * nis/nis_hash.c: Likewise.
9466         * nis/nis_print.c: Likewise.
9467         * nis/nis_xdr.c: Likewise.
9468         * nscd/connections.c: Likewise.
9469         * nscd/hstcache.c: Likewise.
9470         * nscd/nscd_gethst_r.c: Likewise.
9471         * nscd/nscd_getserv_r.c: Likewise.
9472         * nscd/nscd_helper.c: Likewise.
9473         * nscd/servicescache.c: Likewise.
9474         * nss/makedb.c: Likewise.
9475         * nss/nss_db/db-XXX.c: Likewise.
9476         * nss/nss_db/db-initgroups.c: Likewise.
9477         * nss/nss_db/db-netgrp.c: Likewise.
9478         * nss/nss_files/files-network.c: Likewise.
9479         * nss/nss_files/files-parse.c: Likewise.
9480         * posix/bug-regex5.c: Likewise.
9481         * posix/fnmatch_loop.c: Likewise.
9482         * posix/regcomp.c: Likewise.
9483         * posix/regexec.c: Likewise.
9484         * posix/tst-rfc3484-2.c: Likewise.
9485         * posix/tst-rfc3484-3.c: Likewise.
9486         * posix/tst-rfc3484.c: Likewise.
9487         * resolv/nss_dns/dns-canon.c: Likewise.
9488         * resolv/nss_dns/dns-network.c: Likewise.
9489         * resolv/res_init.c: Likewise.
9490         * resolv/res_mkquery.c: Likewise.
9491         * resolv/tst-aton.c: Likewise.
9492         * stdlib/cxa_atexit.c: Likewise.
9493         * stdlib/cxa_finalize.c: Likewise.
9494         * stdlib/gen-fpioconst.c: Likewise.
9495         * stdlib/strtol_l.c: Likewise.
9496         * string/tst-endian.c: Likewise.
9497         * sunrpc/auth_des.c: Likewise.
9498         * sunrpc/clnt_udp.c: Likewise.
9499         * sunrpc/rtime.c: Likewise.
9500         * sunrpc/svcauth_des.c: Likewise.
9501         * sunrpc/xdr.c: Likewise.
9502         * sunrpc/xdr_intXX_t.c: Likewise.
9503         * sunrpc/xdr_rec.c: Likewise.
9504         * sysdeps/generic/ldconfig.h: Likewise.
9505         * sysdeps/generic/ldsodefs.h: Likewise.
9506         * sysdeps/generic/memusage.h: Likewise.
9507         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9508         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9509         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9510         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9511         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9512         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9513         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9514         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9515         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9516         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9517         * sysdeps/posix/getaddrinfo.c: Likewise.
9518         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9519         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9520         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9521         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9522         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9523         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9524         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9525         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9526         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9527         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9528         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9529         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9530         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9531         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9532         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9533         * sysdeps/x86_64/dl-tls.h: Likewise.
9534         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9535         * time/alt_digit.c: Likewise.
9536         * time/era.c: Likewise.
9537         * wcsmbs/tst-c16c32-1.c: Likewise.
9539 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9541         * math/libm-test.inc (struct test_sincos_data): New type.
9542         (RUN_TEST_LOOP_sincos): New macro.
9543         (sincos_test_data): New variable.
9544         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9546 2013-05-16  Richard Henderson  <rth@redhat.com>
9548         * math/atest-exp2.c (LIMB64): New macro.
9549         (CONSTSZ): New macro.
9550         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9551         (hexdig): Move ...
9552         (print_mpn_fp): ... to function scope.
9553         (read_mpn_hex): Remove.
9554         (get_log2): Remove.
9555         (exp2_mpn): Use mp_log2.
9556         (main): Use mp_exp1.
9558 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9560         * math/libm-test.inc: Remove comment about not testing "inexact"
9561         exceptions.
9562         (INEXACT_EXCEPTION): New macro.
9563         (NO_INEXACT_EXCEPTION): Likewise.
9564         (INVALID_EXCEPTION_OK): Update value.
9565         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9566         (OVERFLOW_EXCEPTION_OK): Likewise.
9567         (UNDERFLOW_EXCEPTION_OK): Likewise.
9568         (IGNORE_ZERO_INF_SIGN): Likewise.
9569         (ERRNO_UNCHANGED): Likewise.
9570         (ERRNO_EDOM): Likewise.
9571         (ERRNO_ERANGE): Likewise.
9572         (test_exceptions): Handle testing "inexact" exceptions.
9573         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9574         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9575         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9576         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9577         INEXACT_EXCEPTION.
9578         (rint_towardzero_test_data): Likewise.
9579         (rint_downward_test_data): Likewise.
9580         (rint_upward_test_data): Likewise.
9582         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9583         with OVERFLOW_EXCEPTION.
9584         (exp10_test_data): Likewise.
9585         (exp2_test_data): Likewise.
9586         (expm1_test_data): Likewise.
9587         (lgamma_test_data): Likewise.
9588         (pow_test_data): Likewise.
9589         (tgamma_test_data): Likewise.
9590         (yn_test_data): Remove duplicate test of overflow.
9592         * math/libm-test.inc (struct test_cc_c_data): New type.
9593         (RUN_TEST_LOOP_cc_c): New macro.
9594         (cpow_test_data): New variable.
9595         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9597         * math/libm-test.inc (struct test_f_L_data): New type.
9598         (RUN_TEST_LOOP_f_L): New macro.
9599         (llrint_test_data): New variable.
9600         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9601         (llrint_tonearest_test_data): New variable.
9602         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9603         (llrint_towardzero_test_data): New variable.
9604         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9605         (llrint_downward_test_data): New variable.
9606         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9607         (llrint_upward_test_data): New variable.
9608         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9609         (llround_test_data): New variable.
9610         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9612 2013-05-13  Peter Collingbourne  <pcc@google.com>
9614         * math/atest-exp2.c (get_log2): Remove const attribute.
9616 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9618         * math/libm-test.inc (struct test_f_l_data): New type.
9619         (RUN_TEST_LOOP_f_l): New macro.
9620         (lrint_test_data): New variable.
9621         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9622         (lrint_tonearest_test_data): New variable.
9623         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9624         (lrint_towardzero_test_data): New variable.
9625         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9626         (lrint_downward_test_data): New variable.
9627         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9628         (lrint_upward_test_data): New variable.
9629         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9630         (lround_test_data): New variable.
9631         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9633 2013-05-15  Peter Collingbourne  <pcc@google.com>
9635         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9636         (EXTRACT_WORDS64) Use where appropriate.
9637         (INSERT_WORDS64) Likewise.
9639         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9640         constraints with x constraints.
9641         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9643         * malloc/obstack.c (_obstack_compat): Add initializer.
9645 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9647         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9648         si_trapno and add si_addr_lsb to _sifields.sigfault.
9649         (si_trapno): Remove macro.
9650         (si_addr_lsb): Define new macro.
9651         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9653 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9655         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9656         instead of TEST_f_l.
9657         (llrint_test_tonearest): Likewise.
9658         (llrint_test_towardzero): Likewise.
9659         (llrint_test_downward): Likewise.
9660         (llrint_test_upward): Likewise.
9661         (llround_test): Likewise.
9663         * math/libm-test.inc (struct test_f_i_data): Add comment.
9664         (RUN_TEST_LOOP_f_b): New macro.
9665         (RUN_TEST_LOOP_f_b_tg): Likewise.
9666         (finite_test_data): New variable.
9667         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9668         (isfinite_test_data): New variable.
9669         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9670         (isinf_test_data): New variable.
9671         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9672         (isnan_test_data): New variable.
9673         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9674         (isnormal_test_data): New variable.
9675         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9676         (issignaling_test_data): New variable.
9677         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9678         (signbit_test_data): New variable.
9679         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9681         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9682         with INVALID_EXCEPTION.
9683         (acosh_test_data): Likewise.
9684         (asin_test_data): Likewise.
9685         (atanh_test_data): Likewise.
9686         (fmod_test_data): Likewise.
9687         (log_test_data): Likewise.
9688         (log10_test_data): Likewise.
9689         (log2_test_data): Likewise.
9690         (pow_test_data): Likewise.
9691         (sqrt_test_data): Likewise.
9692         (y0_test_data): Likewise.
9693         (y1_test_data): Likewise.
9694         (yn_test_data): Likewise.
9696         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9697         function contents.
9699         * math/libm-test.inc (struct test_ff_i_data): New type.
9700         (RUN_TEST_LOOP_ff_i_tg): New macro.
9701         (isgreater_test_data): New variable.
9702         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9703         (isgreaterequal_test_data): New variable.
9704         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9705         (isless_test_data): New variable.
9706         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9707         (islessequal_test_data): New variable.
9708         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9709         (islessgreater_test_data): New variable.
9710         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9711         (isunordered_test_data): New variable.
9712         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9714 2013-05-14  David S. Miller  <davem@davemloft.net>
9716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9718 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9720         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9722         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9723         extra_test to int.
9724         (struct test_f_i_data): Change type of max_ulp to int.
9726         * math/libm-test.inc (test_ffI_f1_data): New type.
9727         (RUN_TEST_LOOP_ffI_f1): New macro.
9728         (remquo_test_data): New variable.
9729         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9731         * setjmp/tst-setjmp-fp.c: New file.
9732         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9733         (link-libm): New variable.
9734         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9736         * math/libm-test.inc (struct test_f_i_data): New type.
9737         (RUN_TEST_LOOP_f_i): New macro.
9738         (RUN_TEST_LOOP_f_i_tg): Likewise.
9739         (fpclassify_test_data): New variable.
9740         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9741         (ilogb_test_data): New variable.
9742         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9744         * math/libm-test.inc (scalbln_test): Correct function name in END
9745         call.
9747         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9748         (RUN_TEST_LOOP_fI_f1): New macro.
9749         (frexp_test_data): New variable.
9750         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9752         * math/libm-test.inc (struct test_fF_f1_data): New type.
9753         (RUN_TEST_LOOP_fF_f1): New macro.
9754         (modf_test_data): New variable.
9755         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9757         * math/libm-test.inc (struct test_f_f1_data): New type.
9758         (RUN_TEST_LOOP_f_f1): New macro.
9759         (gamma_test_data): New variable.
9760         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9761         (lgamma_test_data): New variable.
9762         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9764 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9766         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9767         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9768         (main): Comment "tls" pseudo-hwcap.
9770 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9772         * math/libm-test.inc (struct test_fl_f_data): New type.
9773         (RUN_TEST_LOOP_fl_f): New variable.
9774         (scalbln_test_data): New variable.
9775         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9777         * math/libm-test.inc (struct test_fi_f_data): New type.
9778         (RUN_TEST_LOOP_fi_f): New macro.
9779         (ldexp_test_data): New variable.
9780         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9781         (scalbn_test_data): New variable.
9782         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9784         * math/libm-test.inc (struct test_c_f_data): New type.
9785         (RUN_TEST_LOOP_c_f): New macro.
9786         (cabs_test_data): New variable.
9787         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9788         (carg_test_data): New variable.
9789         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9790         (cimag_test_data): New variable.
9791         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9792         (creal_test_data): New variable.
9793         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9795         * math/libm-test.inc (struct test_if_f_data): New type.
9796         (RUN_TEST_LOOP_if_f): New macro.
9797         (jn_test_data): New variable.
9798         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9799         (yn_test_data): New variable.
9800         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9802         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9804 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9806         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9807         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9809 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9811         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9812         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9813         (bench-deps): Add bench-timing.h.
9814         * benchtests-bench-skeleton.c: Include bench-timing.h.
9815         (main): Use TIMING_* macros instead of clock_gettime.
9816         * benchtests/bench-timing.h: New file.
9818         [BZ #14582]
9819         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9820         Renamed from _LIB_VERSION.
9821         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9823 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9825         * math/libm-test.inc (struct test_fff_f_data): New type.
9826         (RUN_TEST_LOOP_fff_f): New macro.
9827         (fma_test_data): New variable.
9828         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9829         (fma_towardzero_test_data): New variable.
9830         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9831         (fma_downward_test_data): New variable.
9832         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9833         (fma_upward_test_data): New variable.
9834         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9836         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9837         (struct test_c_c_data): New type.
9838         (RUN_TEST_LOOP_c_c): New macro.
9839         (cacos_test_data): New variable.
9840         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9841         (cacosh_test_data): New variable.
9842         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9843         (casin_test_data): New variable.
9844         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9845         (casinh_test_data): New variable.
9846         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9847         (catan_test_data): New variable.
9848         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9849         (catanh_test_data): New variable.
9850         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9851         (ccos_test_data): New variable.
9852         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9853         (ccosh_test_data): New variable.
9854         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9855         (cexp_test_data): New variable.
9856         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9857         (clog_test_data): New variable.
9858         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9859         (clog10_test_data): New variable.
9860         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9861         (conj_test_data): New variable.
9862         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9863         (cproj_test_data): New variable.
9864         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9865         (csin_test_data): New variable.
9866         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9867         (csinh_test_data): New variable.
9868         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9869         (csqrt_test_data): New variable.
9870         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9871         (ctan_test_data): New variable.
9872         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9873         (ctan_tonearest_test_data): New variable.
9874         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9875         (ctan_towardzero_test_data): New variable.
9876         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9877         (ctan_downward_test_data): New variable.
9878         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9879         (ctan_upward_test_data): New variable.
9880         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9881         (ctanh_test_data): New variable.
9882         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9883         (ctanh_tonearest_test_data): New variable.
9884         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9885         (ctanh_towardzero_test_data): New variable.
9886         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9887         (ctanh_downward_test_data): New variable.
9888         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9889         (ctanh_upward_test_data): New variable.
9890         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9891         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9892         of BUILD_COMPLEX.
9894         * math/libm-test.inc (struct test_ff_f_data): New type.
9895         (struct test_ff_f_data_nexttoward): Likewise.
9896         (RUN_TEST_LOOP_2_f): New macro.
9897         (RUN_TEST_LOOP_ff_f): Likewise.
9898         (atan2_test_data): New variable.
9899         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9900         (copysign_test_data): New variable.
9901         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9902         (fdim_test_data): New variable.
9903         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9904         (fmax_test_data): New variable.
9905         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9906         (fmin_test_data): New variable.
9907         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9908         (fmod_test_data): New variable.
9909         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9910         (hypot_test_data): New variable.
9911         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9912         (nextafter_test_data): New variable.
9913         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9914         (nexttoward_test_data): New variable.
9915         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9916         (pow_test_data): New variable.
9917         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9918         (pow_tonearest_test_data): New variable.
9919         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9920         (pow_towardzero_test_data): New variable.
9921         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9922         (pow_downward_test_data): New variable.
9923         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9924         (pow_upward_test_data): New variable.
9925         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9926         (remainder_test_data): New variable.
9927         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9928         (scalb_test_data): New variable.
9929         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9930         * sysdeps/i386/fpu/libm-test-ulps: Update.
9932 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9934         * math/libm-test.inc (fma_test): Use max_value instead of local
9935         variable fltmax.
9936         (nextafter_test): Likewise.
9938         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9939         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9940         (acos_downward_test_data): New variable.
9941         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9942         (acos_upward_test_data): New variable.
9943         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9944         (acosh_test_data): New variable.
9945         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9946         (asin_test_data): New variable.
9947         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9948         (asin_tonearest_test_data): New variable.
9949         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9950         (asin_towardzero_test_data): New variable.
9951         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9952         (asin_downward_test_data): New variable.
9953         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9954         (asin_upward_test_data): New variable.
9955         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9956         (asinh_test_data): New variable.
9957         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9958         (atan_test_data): New variable.
9959         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9960         (atanh_test_data): New variable.
9961         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9962         (cbrt_test_data): New variable.
9963         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9964         (ceil_test_data): New variable.
9965         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9966         (cos_test_data): New variable.
9967         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9968         (cos_tonearest_test_data): New variable.
9969         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9970         (cos_towardzero_test_data): New variable.
9971         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9972         (cos_downward_test_data): New variable.
9973         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9974         (cos_upward_test_data): New variable.
9975         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9976         (cosh_test_data): New variable.
9977         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9978         (cosh_tonearest_test_data): New variable.
9979         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9980         (cosh_towardzero_test_data): New variable.
9981         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9982         (cosh_downward_test_data): New variable.
9983         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9984         (cosh_upward_test_data): New variable.
9985         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9986         (erf_test_data): New variable.
9987         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9988         (erfc_test_data): New variable.
9989         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9990         (exp_test_data): New variable.
9991         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9992         (exp_tonearest_test_data): New variable.
9993         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9994         (exp_towardzero_test_data): New variable.
9995         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9996         (exp_downward_test_data): New variable.
9997         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9998         (exp_upward_test_data): New variable.
9999         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10000         (exp10_test_data): New variable.
10001         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10002         (exp2_test_data): New variable.
10003         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10004         (expm1_test_data): New variable.
10005         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10006         (fabs_test_data): New variable.
10007         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10008         (floor_test_data): New variable.
10009         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10010         (j0_test_data): New variable.
10011         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10012         (j1_test_data): New variable.
10013         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10014         (log_test_data): New variable.
10015         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10016         (log10_test_data): New variable.
10017         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10018         (log1p_test_data): New variable.
10019         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10020         (log2_test_data): New variable.
10021         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10022         (logb_test_data): New variable.
10023         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10024         (logb_downward_test_data): New variable.
10025         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10026         (nearbyint_test_data): New variable.
10027         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10028         (rint_test_data): New variable.
10029         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10030         (rint_tonearest_test_data): New variable.
10031         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10032         (rint_towardzero_test_data): New variable.
10033         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10034         (rint_downward_test_data): New variable.
10035         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10036         (rint_upward_test_data): New variable.
10037         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10038         (round_test_data): New variable.
10039         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10040         (sin_test_data): New variable.
10041         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10042         (sin_tonearest_test_data): New variable.
10043         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10044         (sin_towardzero_test_data): New variable.
10045         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10046         (sin_downward_test_data): New variable.
10047         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10048         (sin_upward_test_data): New variable.
10049         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10050         (sinh_test_data): New variable.
10051         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10052         (sinh_tonearest_test_data): New variable.
10053         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10054         (sinh_towardzero_test_data): New variable.
10055         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10056         (sinh_downward_test_data): New variable.
10057         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10058         (sinh_upward_test_data): New variable.
10059         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10060         (sqrt_test_data): New variable.
10061         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10062         (tan_test_data): New variable.
10063         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10064         (tan_tonearest_test_data): New variable.
10065         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10066         (tan_towardzero_test_data): New variable.
10067         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10068         (tan_downward_test_data): New variable.
10069         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10070         (tan_upward_test_data): New variable.
10071         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10072         (tanh_test_data): New variable.
10073         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10074         (tgamma_test_data): New variable.
10075         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10076         (trunc_test_data): New variable.
10077         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10078         (y0_test_data): New variable.
10079         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10080         (y1_test_data): New variable.
10081         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10082         (significand_test_data): New variable.
10083         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10085 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10087         [BZ #12387]
10088         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10090 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10092         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10094 2013-05-10  Andreas Jaeger  <aj@suse.de>
10096         [BZ #15448]
10097         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10098         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10100 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10102         * math/gen-libm-test.pl (adjust_arg): New function.
10103         (special_functions): Handle generating output in both functions
10104         and arrays.
10105         (parse_args): Likewise.
10106         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10107         $in_func argument to parse_args.
10108         * math/libm-test.inc (struct test_f_f_data): New type.
10109         (IF_ROUND_INIT_): New macro.
10110         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10111         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10112         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10113         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10114         (ROUND_RESTORE_): Likewise.
10115         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10116         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10117         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10118         (ROUND_RESTORE_FE_UPWARD): Likewise.
10119         (RUN_TEST_LOOP_f_f): New macro.
10120         (acos_test_data): New variable.
10121         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10122         (acos_tonearest_test_data): New variable.
10123         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10125 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10127         * benchtests/bench-skeleton.c (startup): Fix coding style.
10129 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10131         [BZ #6809]
10132         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10133         negative infinity argument.
10134         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10135         negative infinity argument.
10136         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10137         negative infinity argument.
10138         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10139         domain errors.
10141 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10143         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10144         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10145         * iconv/iconv_prog.c (main): Likewise.
10146         * locale/programs/charmap-dir.c (charmap_readdir)
10147         (fopen_uncompressed): Likewise.
10148         * locale/programs/locfile.c (siblings_uncached)
10149         (write_locale_data): Use lstat64 instead of lstat.
10150         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10151         stat.
10153 2013-05-10  Andreas Jaeger  <aj@suse.de>
10155         [BZ #15395]
10156         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10157         localization.
10158         Include <locale.h>.
10160 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10162         * elf/dl-close.c (_dl_close_worker): Add comments.
10164 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10166         [BZ #15359]
10167         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10168         high part of pi/2.
10169         (__ieee754_rem_pio2l): Update comments.
10171         [BZ #15429]
10172         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10173         high part of pi/2.
10174         (__ieee754_rem_pio2l): Update comments.
10176         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10177         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10179         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10180         M_PI_4l.
10182         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10183         (M_PI_34_LOG10El): Likewise.
10184         (M_PI2_LOG10El): Likewise.
10185         (M_PI4_LOG10El): Likewise.
10186         (M_PI_LOG10El): Likewise.
10188 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10192 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10194         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10195         (MINUS_ZERO_INIT): Likewise.
10196         (PLUS_INFTY_INIT): Likewise.
10197         (MINUS_INFTY_INIT): Likewise.
10198         (QNAN_VALUE_INIT): Likewise.
10199         (MAX_VALUE_INIT): Likewise.
10200         (MIN_VALUE_INIT): Likewise.
10201         (MIN_SUBNORM_VALUE_INIT): Likewise.
10202         (plus_zero): Initialize with PLUS_ZERO_INIT.
10203         (minus_zero): Initialize with MINUS_ZERO_INIT.
10204         (plus_infty): Initialize with PLUS_INFTY_INIT.
10205         (minus_infty): Initialize with MINUS_INFTY_INIT.
10206         (qnan_value): Initialize with QNAN_VALUE_INIT.
10207         (max_value): Initialize with MAX_VALUE_INIT.
10208         (min_value): Initialize with MIN_VALUE_INIT.
10209         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10211         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10212         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10213         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10214         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10216         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10217         (RUN_TEST_2_f): Likewise.
10218         (RUN_TEST_ff_f): Likewise.
10219         (RUN_TEST_fi_f): Likewise.
10220         (RUN_TEST_fl_f): Likewise.
10221         (RUN_TEST_fff_f): Likewise.
10222         (RUN_TEST_c_f): Likewise.
10223         (RUN_TEST_f_f1): Likewise.
10224         (RUN_TEST_fF_f1): Likewise.
10225         (RUN_TEST_fI_f1): Likewise.
10226         (RUN_TEST_ffI_f1): Likewise.
10227         (RUN_TEST_c_c): Likewise.
10228         (RUN_TEST_cc_c): Likewise.
10229         (RUN_TEST_f_i): Likewise.
10230         (RUN_TEST_f_i_tg): Likewise.
10231         (RUN_TEST_ff_i_tg): Likewise.
10232         (RUN_TEST_f_b): Likewise.
10233         (RUN_TEST_f_b_tg): Likewise.
10234         (RUN_TEST_f_l): Likewise.
10235         (RUN_TEST_f_L): Likewise.
10236         (RUN_TEST_sincos): Likewise.
10237         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10238         whether to show exceptions.  Do not include ");\n" in return
10239         value.
10240         (special_functions): Output call to RUN_TEST_sincos instead of
10241         check_float calls.  Update calls to new_test.
10242         (parse_args): Output call to single RUN_TEST_* macro instead of
10243         check_* calls and other assignments.  Update calls to new_test.
10245         [BZ #2546]
10246         [BZ #2560]
10247         [BZ #5159]
10248         [BZ #15426]
10249         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10250         input to result for tgamma overflow.
10251         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10252         (gamma_coeff): New variable.
10253         (NCOEFF): New macro.
10254         (gamma_positive): New function.
10255         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10256         underflow here.  Use gamma_positive instead of exp (lgamma) for
10257         other arguments.
10258         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10259         (gamma_coeff): New variable.
10260         (NCOEFF): New macro.
10261         (gammaf_positive): New function.
10262         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10263         underflow here.  Use gamma_positive instead of exp (lgamma) for
10264         other arguments.
10265         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10266         (gamma_coeff): New variable.
10267         (NCOEFF): New macro.
10268         (gammal_positive): New function.
10269         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10270         underflow here.  Use gamma_positive instead of exp (lgamma) for
10271         other arguments.
10272         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10273         (gamma_coeff): New variable.
10274         (NCOEFF): New macro.
10275         (gammal_positive): New function.
10276         (__ieee754_gammal_r): Handle positive infinity, overflow and
10277         underflow here.  Handle NaN the same as positive infinity.  Remove
10278         check x < 0xffffffff for negative integers.  Use gamma_positive
10279         instead of exp (lgamma) for other arguments.
10280         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10281         (gamma_coeff): New variable.
10282         (NCOEFF): New macro.
10283         (gammal_positive): New function.
10284         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10285         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10286         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10287         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10288         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10289         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10290         * sysdeps/generic/math_private.h (__gamma_productf): New
10291         prototype.
10292         (__gamma_product): Likewise.
10293         (__gamma_productl): Likewise.
10294         * math/Makefile (libm-calls): Add gamma_product.
10295         * math/libm-test.inc (tgamma_test): Add more tests.
10296         * sysdeps/i386/fpu/libm-test-ulps: Update.
10297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10299 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10301         * benchtests/bench-skeleton.c (main): Preheat CPU.
10303 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10305         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10307 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10309         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10310         and _dl_skip_args_internal.
10312 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10314         * manual/message.texi (Message Translation): Talk about users.
10315         Message to key mapping impacts design.
10317 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10319         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10321         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10323         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10324         * sysdeps/wordsize-64/glob64.c: ... here.
10326         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10327         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10328         New macros.
10330         * debug/getlogin_r_chk.c: Moved to ...
10331         * login/getlogin_r_chk.c: ... here.
10332         * debug/Makefile (routines): Move getlogin_r_chk to ...
10333         * login/Makefile (routines): ... here.
10334         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10335         * login/Versions (libc: GLIBC_2.4): ... here.
10337         * io/poll.c (__poll): Renamed from poll.
10338         Add libc_hidden_def.
10339         (poll): Define as weak alias.
10341         * debug/ptsname_r_chk.c: Moved to ...
10342         * login/ptsname_r_chk.c: ... here.
10343         * debug/Makefile (routines): Move ptsname_r_chk to ...
10344         * login/Makefile (routines): ... here.
10345         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10346         * login/Versions (libc: GLIBC_2.4): ... here.
10348         * posix/getlogin.c: Moved to ...
10349         * login/getlogin.c: ... here.
10350         * posix/getlogin_r.c: Moved to ...
10351         * login/getlogin_r.c: ... here.
10352         * posix/getlogin_r.c: Moved to ...
10353         * login/getlogin_r.c: ... here.
10354         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10355         * login/Makefile (routines): ... here.
10356         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10357         * login/Versions (libc: GLIBC_2.0): ... here.
10359         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10360         (setrlimit): Define as weak alias.
10362         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10363         Call __ names for open, ftruncate, and close.
10364         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10365         (truncate): Define as weak alias.
10367 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10369         * math/gen-libm-test.pl (parse_args): Initialize x before each
10370         test of frexp, modf and remquo.
10372         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10373         test signgam value.
10375 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10377         [BZ #15418]
10378         [BZ #15419]
10379         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10380         internal tests.
10381         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10383 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10385         * elf/dl-writev.h: New file.
10386         * elf/dl-misc.c: Include it.
10387         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10388         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10390 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10392         * math/libm-test.inc (noXFails): Remove variable.
10393         (noXPasses): Likewise.
10394         (BUILD_COMPLEX_INT): Remove macro.
10395         (print_screen): Remove xfail argument.
10396         (print_screen_max_error): Likewise.
10397         (update_stats): Likewise.
10398         (print_max_error): Likewise.  Update calls to other affected
10399         functions.
10400         (print_complex_max_error): Likewise.
10401         (test_single_exception): Update calls to print_screen.
10402         (test_single_errno): Likewise.
10403         (check_float_internal): Remove xfail argument.  Update calls to
10404         other affected functions.
10405         (check_float): Likewise.
10406         (check_complex): Likewise.
10407         (check_int): Likewise.
10408         (check_long): Likewise.
10409         (check_bool): Likewise.
10410         (check_longlong): Likewise.
10411         (main): Don't print noXFails and noXPasses.
10412         * math/gen-libm-test.pl (top level): Don't mention expected
10413         failure handling in comment.
10414         (new_test): Don't handle expected failures.
10415         (parse_args): Don't mention expected failure handling in comment.
10416         (generate_testfile): Don't handle expected failures.
10417         (parse_ulps): Likewise.
10418         (print_ulps_file): Likewise.
10419         (get_failure): Remove function.
10420         (output_test): Don't handle expected failures.
10421         * make/README.libm-test: Don't mention expected failure handling.
10423         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10424         (minus_zero): Likewise.
10425         (plus_infty): Likewise.
10426         (minus_infty): Likewise.
10427         (qnan_value): Likewise.
10428         (max_value): Likewise.
10429         (min_value): Likewise.
10430         (min_subnorm_value): Likewise.
10431         (initialize): Do not initialize those variables dynamically.
10433 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10435         * io/open.c (__open_2): Moved to ...
10436         * io/open_2.c: ... this new file.
10437         * io/open64.c (__open64_2): Moved to ...
10438         * io/open64_2.c: ... this new file.
10439         * io/openat.c (__openat_2): Moved to ...
10440         * io/openat_2.c: ... this new file.
10441         * io/openat64.c (__openat64_2): Moved to ...
10442         * io/openat64_2.c: ... this new file.
10443         * io/Makefile (routines): Add them.
10444         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10445         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10446         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10447         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10448         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10449         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10450         (__openat64): Add hidden_ver.
10451         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10452         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10454         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10455         Separately conditionalize setting of GLRO(dl_sysinfo) so
10456         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10457         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10459 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10461         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10462         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10463         definition.
10464         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10465         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10466         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10467         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10468         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10470 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10472         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10473         test signgam value.
10475         * math/libm-test.inc (hypot_test): Do not use
10476         IGNORE_ZERO_INF_SIGN.
10478 2013-05-03  Andreas Jaeger  <aj@suse.de>
10480         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10481         Linux 3.9.
10482         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10483         (PF_MAX): Adjust for VSOCK change.
10485 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10489 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10491         [BZ #15264]
10492         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10493         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10494         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10496 2013-05-02  David S. Miller  <davem@davemloft.net>
10498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10500 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10502         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10504 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10506         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10508 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10510         [BZ #14952]
10511         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10512         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10513         Use __attribute__ ((__gnu_inline__)).
10514         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10515         Don't use __attribute__ ((__gnu_inline__)).
10517 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10519         [BZ #15423]
10520         * math/s_catan.c (__catan): Handle small real or imaginary part of
10521         input specially to avoid spurious underflow.
10522         * math/s_catanf.c (__catanf): Likewise.
10523         * math/s_catanh.c (__catanh): Likewise.
10524         * math/s_catanhf.c (__catanhf): Likewise.
10525         * math/s_catanhl.c (__catanhl): Likewise.
10526         * math/s_catanl.c (__catanl): Likewise.
10527         * math/libm-test.inc (catan_test): Add more tests.
10528         (catanh_test): Likewise.
10529         * sysdeps/i386/fpu/libm-test-ulps: Update.
10530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10532 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10536 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10538         [BZ #15416]
10539         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10540         accurately for denominator in atan2.
10541         * math/s_catanf.c (__catanf): Likewise.
10542         * math/s_catanh.c (__catanh): Likewise.
10543         * math/s_catanhf.c (__catanhf): Likewise.
10544         * math/s_catanhl.c (__catanhl): Likewise.
10545         * math/s_catanl.c (__catanl): Likewise.
10546         * math/libm-test.inc (catan_test): Add more tests.
10547         (catanh_test): Likewise.
10548         * sysdeps/i386/fpu/libm-test-ulps: Update.
10549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10551 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10553         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10555         * benchtests/Makefile (bench): Remove slow benchmarks.
10556         * benchtests/atan-inputs: Add slow benchmark inputs.
10557         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10558         (BENCH_FUNC): Accept variant offset.
10559         (VARIANT): Define.
10560         * benchtests/bench-skeleton.c (main): Run benchmark for each
10561         variant.
10562         * benchtests/cos-inputs: Add slow benchmark inputs.
10563         * benchtests/exp-inputs: Likewise.
10564         * benchtests/pow-inputs: Likewise.
10565         * benchtests/sin-inputs: Likewise.
10566         * benchtests/slowatan-inputs: Remove.
10567         * benchtests/slowatan.c: Remove.
10568         * benchtests/slowcos-inputs: Remove.
10569         * benchtests/slowcos.c: Remove.
10570         * benchtests/slowexp-inputs: Remove.
10571         * benchtests/slowexp.c: Remove.
10572         * benchtests/slowpow-inputs: Remove.
10573         * benchtests/slowpow.c: Remove.
10574         * benchtests/slowsin-inputs: Remove.
10575         * benchtests/slowsin.c: Remove.
10576         * benchtests/slowtan-inputs: Remove.
10577         * benchtests/slowtan.c: Remove.
10578         * benchtests/tan-inputs: Add slow benchmark inputs.
10579         * scripts/bench.pl: Parse comments and directives.
10581         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10582         in CPPFLAGS.
10583         ($(objpfx)bench-%.c): Remove *-ITER.
10584         * benchtests/bench-modf.c: Remove definition of ITER.
10585         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10586         (main): Loop for DURATION seconds instead of fixed number of
10587         iterations.
10588         * scripts/bench.pl: Don't expect iterations in parameters.
10590 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10592         * io/fchdir.c (__fchdir): Renamed from fchdir.
10593         (fchdir): Define as weak alias.
10595 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10597         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10598         (ERRNO_EDOM): Likewise.
10599         (ERRNO_ERANGE): Likewise.
10600         (noErrnoTests): New variable.
10601         (init_max_error): Set errno to 0.
10602         (test_single_errno): New function.
10603         (test_errno): Likewise.
10604         (check_float_internal): Call test_errno.  Set errno to 0.
10605         (check_complex): Refer to errno tests in comment.
10606         (check_int): Call test_errno.  Set errno to 0.
10607         (check_long): Likewise.
10608         (check_bool): Likewise.
10609         (check_longlong): Likewise.
10610         (cos_test): Use ERRNO_* flags for errno tests instead of
10611         check_int.
10612         (expm1_test): Likewise.
10613         (fmod_test): Likewise.
10614         (ilogb_test): Likewise.
10615         (lgamma_test): Likewise.
10616         (pow_test): Likewise.
10617         (remainder_test): Likewise.
10618         (sin_test): Likewise.
10619         (tan_test): Likewise.
10620         (yn_test): Likewise.
10621         (initialize): Set errno to 0.
10622         (main): Print number of errno tests.
10623         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10625 2013-04-29  Andreas Jaeger  <aj@suse.de>
10627         [BZ #15084]
10628         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10629         and RES_USEVC.
10631         [BZ #15085]
10632         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10633         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10634         unimplemented.
10636         [BZ #15380]
10637         * stdlib/random.c (__initstate): Return NULL if
10638         __initstate fails.
10640         [BZ #15086]
10641         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10642         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10643         RES_SNGLKUPREOP.
10645 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10649 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10651         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10652         of individual tests.
10653         (casin_test): Likewise.
10654         (casinh_test): Likewise.
10656 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10658         [BZ #15409]
10659         * math/s_catan.c (__catan): Handle arguments with large real or
10660         imaginary part separately without squaring.
10661         * math/s_catanf.c (__catanf): Likewise.
10662         * math/s_catanh.c (__catanh): Likewise.
10663         * math/s_catanhf.c (__catanhf): Likewise.
10664         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10665         and redefine.
10666         (__catanhl): Handle arguments with large real or imaginary part
10667         separately without squaring.
10668         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10669         and redefine.
10670         (__catanl): Handle arguments with large real or imaginary part
10671         separately without squaring.
10672         * math/libm-test.inc (catan_test): Add more tests.
10673         (catanh_test): Likewise.
10674         * sysdeps/i386/fpu/libm-test-ulps: Update.
10675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10677 2013-04-27  Andreas Jaeger  <aj@suse.de>
10679         [BZ #15007]
10680         * stdlib/stdlib.h: Update guards for qecvt.
10681         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10682         <stdlib.h>.
10684 2013-04-27  Allan McRae  <allan@archlinux.org>
10686         * sysdeps/i386/fpu/libm-test-ulps: Update.
10688 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10690         [BZ #15406]
10691         * math/s_catan.c: Include <float.h>.
10692         (__catan): Ensure underflow exception occurs for underflowed
10693         result.
10694         * math/s_catanf.c: Include <float.h>.
10695         (__catanf): Ensure underflow exception occurs for underflowed
10696         result.
10697         * math/s_catanh.c: Include <float.h>.
10698         (__catanh): Ensure underflow exception occurs for underflowed
10699         result.
10700         * math/s_catanhf.c: Include <float.h>.
10701         (__catanhf): Ensure underflow exception occurs for underflowed
10702         result.
10703         * math/s_catanhl.c: Include <float.h>.
10704         (__catanhl): Ensure underflow exception occurs for underflowed
10705         result.
10706         * math/s_catanl.c: Include <float.h>.
10707         (__catanl): Ensure underflow exception occurs for underflowed
10708         result.
10709         * math/libm-test.inc (catan_test): Add more tests.
10710         (catanh_test): Likewise.
10712         [BZ #15405]
10713         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10714         underflowed result.
10715         * math/s_ccoshf.c (__ccoshf): Likewise.
10716         * math/s_ccoshl.c (__ccoshl): Likewise.
10717         * math/s_csin.c (__csin): Likewise.
10718         * math/s_csinf.c (__csinf): Likewise.
10719         * math/s_csinh.c (__csinh): Likewise.
10720         * math/s_csinhf.c (__csinhf): Likewise.
10721         * math/s_csinhl.c (__csinhl): Likewise.
10722         * math/s_csinl.c (__csinl): Likewise.
10723         * math/libm-test.inc (ccos_test): Add more tests.
10724         (ccosh_test): Likewise.
10725         (csin_test): Likewise.
10726         (csinh_test): Likewise.
10728 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10730         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10731         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10732         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10733         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10734         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10735         powerpc/power5+/fpu folders.
10736         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10739 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10743 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10745         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10746         additions to variable.
10747         [$(config-machine) = x86_64] (modules-names): Likewise.
10748         ($(objpfx)tst-audit3): Remove dependency.
10749         ($(objpfx)tst-audit3.out): Likewise.
10750         ($(objpfx)tst-audit4): Likewise.
10751         ($(objpfx)tst-audit4.out): Likewise.
10752         ($(objpfx)tst-audit5): Likewise.
10753         ($(objpfx)tst-audit5.out): Likewise.
10754         ($(objpfx)tst-audit6): Likewise.
10755         ($(objpfx)tst-audit6.out): Likewise.
10756         ($(objpfx)tst-audit7): Likewise.
10757         ($(objpfx)tst-audit7.out): Likewise.
10758         (tst-audit3-ENV): Remove variable.
10759         (tst-audit4-ENV): Likewise.
10760         (tst-audit5-ENV): Likewise.
10761         (tst-audit6-ENV): Likewise.
10762         (tst-audit7-ENV): Likewise.
10763         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10764         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10765         addition to variable.
10766         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10767         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10768         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10769         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10770         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10771         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10772         tst-audit3, tst-audit4 and tst-audit5.
10773         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10774         tst-audit6 and tst-audit7.
10775         [$(subdir) = elf] (modules-names): Add audit modules for those
10776         tests.
10777         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10778         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10779         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10780         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10781         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10782         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10783         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10784         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10785         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10786         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10787         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10788         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10789         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10790         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10791         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10792         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10793         Likewise.
10794         [$(subdir) = elf && $(config-cflags-avx) = yes]
10795         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10796         [$(subdir) = elf && $(config-cflags-avx) = yes]
10797         (CFLAGS-tst-auditmod4a.c): Likewise.
10798         [$(subdir) = elf && $(config-cflags-avx) = yes]
10799         (CFLAGS-tst-auditmod4b.c): Likewise.
10800         [$(subdir) = elf && $(config-cflags-avx) = yes]
10801         (CFLAGS-tst-auditmod6b.c): Likewise.
10802         [$(subdir) = elf && $(config-cflags-avx) = yes]
10803         (CFLAGS-tst-auditmod6c.c): Likewise.
10804         [$(subdir) = elf && $(config-cflags-avx) = yes]
10805         (CFLAGS-tst-auditmod7b.c): Likewise.
10806         * elf/tst-audit3.c: Move to ...
10807         * sysdeps/x86_64/tst-audit3.c: ... here.
10808         * elf/tst-audit4.c: Move to ...
10809         * sysdeps/x86_64/tst-audit4.c: ... here.
10810         * elf/tst-audit5.c: Move to ...
10811         * sysdeps/x86_64/tst-audit5.c: ... here.
10812         * elf/tst-audit6.c: Move to ...
10813         * sysdeps/x86_64/tst-audit6.c: ... here.
10814         * elf/tst-audit7.c: Move to ...
10815         * sysdeps/x86_64/tst-audit7.c: ... here.
10816         * elf/tst-auditmod3a.c: Move to ...
10817         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10818         * elf/tst-auditmod3b.c: Move to ...
10819         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10820         * elf/tst-auditmod4a.c: Move to ...
10821         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10822         * elf/tst-auditmod4b.c: Move to ...
10823         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10824         * elf/tst-auditmod5a.c: Move to ...
10825         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10826         * elf/tst-auditmod5b.c: Move to ...
10827         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10828         * elf/tst-auditmod6a.c: Move to ...
10829         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10830         * elf/tst-auditmod6b.c: Move to ...
10831         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10832         * elf/tst-auditmod6c.c: Move to ...
10833         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10834         * elf/tst-auditmod7a.c: Move to ...
10835         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10836         * elf/tst-auditmod7b.c: Move to ...
10837         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10839 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10841         [BZ #15366]
10842         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10843         define unconditionally.
10844         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10845         define unconditionally.
10846         (INT8_C, INT16_C, etc.): Likewise.
10848 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10850         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10851         __ehdr_start with hidden visibility.
10853         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10855 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10857         * math/libm-test.inc (cos_test): Use accurate hex constants.
10858         (sincost_test): Likewise.
10860 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10862         * math/libm-test.inc (catan_test): Add more tests.
10863         (catanh_test): Likewise.
10865         * math/s_catanf.c (__catanf): Use suffixed floating-point
10866         constants.
10867         * math/s_catanhf.c (__catanhf): Likewise.
10868         * math/s_catanhl.c (__catanhl): Likewise.
10869         * math/s_catanl.c (__catanl): Likewise.
10871         [BZ #15394]
10872         * math/s_catan.c (__catan): Calculate imaginary part of result
10873         with log1p not log unless computing log of number close to 0.
10874         * math/s_catanf.c (__catanf): Likewise.
10875         * math/s_catanl.c (__catanl): Likewise.
10876         * math/s_catanh.c (__catanh): Calculate real part of result with
10877         log1p not log unless computing log of number close to 0.
10878         * math/s_catanhf.c (__catanhf): Likewise.
10879         * math/s_catanhl.c (__catanhl): Likewise.
10880         * math/libm-test.inc (catan_test): Add more tests.
10881         (catanh_test): Likewise.
10882         * sysdeps/i386/fpu/libm-test-ulps: Update.
10883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10885 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10887         * benchtests/Makefile: Mention files in which fast and slow
10888         paths of math functions are implemented.
10890 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10892         * sysdeps/posix/timespec_get.c: New file.
10894 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10896         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10897         POWER.
10898         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10899         for POWER.
10900         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10901         powerpc/power5/fpu folders.
10902         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10903         * benchtests/Makefile: Add modf testcase.
10904         * benchtests/bench-modf.c: New file: Benchmark test for mo
10906 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10908         [BZ #14888]
10909         * time/Makefile (tests): Add tst-strptime-whitespace.
10910         * time/strptime_l.c (get_number): Use ISSPACE.
10911         (__strptime_internal): Likewise.
10912         * time/tst-strptime-whitespace.c: New test case.
10914 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10916         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10917         member.
10918         (_nss_files_init): Set it here.
10920 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10922         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10923         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10924         unsigned.
10926 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10928         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10930 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10932         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10933         size just once.
10935 2013-04-21  David S. Miller  <davem@davemloft.net>
10937         * po/ru.po: Update Russion translation from translation project.
10939 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10941         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10942         and setfsgid.
10944 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10946         * configure.in: Remove i386 configure warning. Remove i386 case.
10947         * configure: Regenerate.
10948         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10949         Add example to error message.
10950         * sysdeps/i386/configure: Regenerate.
10952 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10954         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10955         slowtan.
10956         * benchtests/cos-inputs: New file.
10957         * benchtests/slowcos-inputs: New file.
10958         * benchtests/slowcos.c: New file.
10959         * benchtests/slowtan-inputs: New file.
10960         * benchtests/slowtan.c: New file.
10961         * benchtests/tan-inputs: New file.
10963 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10965         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10966         considered kosher.
10968 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10970         * benchtests/Makefile: Include cppflags-iterator.mk to add
10971         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10973         * Makefile.in (bench-clean): New target.
10974         * benchtests/Makefile (bench-clean): Likewise.
10976 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10978         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10980 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10982         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10984 2013-04-15  Andreas Schwab  <schwab@suse.de>
10986         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10987         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10988         * nscd/pwdcache.c (cache_addpw): Likewise.
10989         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10990         more than recsize.
10992 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10994         * benchtests/Makefile (bench): Write all output to
10995         bench-out.tmp together.
10997 2013-04-15  Andreas Schwab  <schwab@suse.de>
10999         * nscd/nscd.c (main): Don't fork again after closing files.
11001 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11003         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11005         * benchtests/Rules (bench-deps): Collect dependencies into a
11006         single variable.  Add Makefile to dependencies.
11007         ($(objpfx)bench-%.c): Depend on bench-deps.
11009 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11010             Xavier Roche  <roche+kml2@exalead.com>
11012         [BZ #15361]
11013         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11014         just that it's a file descriptor.
11015         * manual/llio.texi (Synchronizing AIO Operations): Update description
11016         for EBADF error from aio_fsync.
11018 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11020         * Rules (bench): Move target definition...
11021         * benchtests/Makefile: ... here.
11023 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11025         * math/libm-test.inc (cos_test): Fix PI/2 test.
11026         (sincos_test): Likewise.
11027         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11028         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11030 2013-04-11  Andreas Schwab  <schwab@suse.de>
11032         [BZ #13988]
11033         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11034         accept exponent character only when digits were seen.
11035         * stdio-common/Makefile (tests): Add bug26.
11036         * stdio-common/bug26.c: New file.
11038         [BZ #14293]
11039         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11040         non-freeable.
11042 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11044         * Makeconfig (rtld-prefix): Define built linker prefix.
11045         * Rules (run-bench): Use it.
11046         * math/Makefile (run-regen-ulps): Likewise.
11048         * Rules (bench): Remove eval.
11050 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11051             Roland McGrath  <roland@hack.frob.com>
11052             Ondrej Bilka  <neleai@seznam.cz>
11054         [BZ #15346]
11055         * time/getdate.c: Include ctype.h and alloca.h.
11056         (__getdate_r): Trim leading and trailing spaces of input.
11057         * time/tst-getdate.c (tests): Add tests with leading and
11058         trailing spaces.
11060 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11062         [BZ #14280]
11063         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11064         when computing value.
11066 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11068         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11069         Use testrun.sh to run libm tests.
11071         [BZ #15309]
11072         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11074 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11076         [BZ #15264]
11077         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11079 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11081         * Makefile.in (regen-ulps): New target.
11082         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11083         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11084         [ifneq (no,$(PERL)] (regen-ulps): New target.
11085         [ifeq (no,$(PERL)] (regen-ulps): New target.
11086         * math/libm-test.inc (ulps_file_name): Define.
11087         (output_dir): New variable.
11088         (options): Add "output-dir" option.
11089         (parse_opt): Handle 'o' case.
11090         (main): If output_dir is non-NULL use it as a prefix
11091         otherwise use "".
11092         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11094 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11096         [BZ #10060, #10062]
11097         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11098         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11099         fail configure if __sync_val_compare_and_swap is not inlined.
11100         * sysdeps/i386/configure: Regenerate.
11101         * configure.in: Build for i686 when configured for i386.
11102         * configure: Regenerate.
11103         * README: Remove i386 reference.
11105 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11107         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11108         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11110 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11112         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11113         (lmsnanval): New variables.
11114         (F): Add conversion tests.
11115         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11116         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11118         * stdio-common/tstdiomisc.c (F): Properly collect individual
11119         tests' results.
11121         [BZ #14686, #15336]
11122         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11123         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11124         Instead, use input NaN values or generate a qNaN by arithmetic
11125         operation.  Also fix bugs to comply with the standard.
11126         * math/libm-test.inc (remainder_test): Add more tests.
11128         [BZ #15335, #15342]
11129         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11130         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11131         input NaN values or generate a qNaN by arithmetic operation.
11133         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11134         unreachable code.
11136         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11137         definitions.
11139 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11141         [BZ #14478]
11142         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11143         underflowed result.
11144         * math/s_cexpf.c (__cexpf): Likewise.
11145         * math/s_cexpl.c (__cexpl): Likewise.
11146         * math/libm-test.inc (cexp_test): Add more tests.
11148 2013-04-03  Andreas Schwab  <schwab@suse.de>
11150         [BZ #15330]
11151         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11152         order arrays from heap if bigger than alloca cutoff.
11154 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11156         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11157         (SNAN_TESTS_double): Refer to GCC PR56831.
11158         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11159         GCC PR56828.
11161 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11163         * Rules (bench): Move bench.out after the run is complete.
11165         * Rules (bench): Echo currently running benchmark.
11167         * benchtests/Makefile (bench): Add atan and slowatan.
11168         * benchtests/atan-inputs: New file.
11169         * benchtests/slowatan-inputs: New file.
11170         * benchtests/slowatan.c: New file.
11172         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11173         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11174         its value.
11176         [BZ #15305]
11177         * sysdeps/unix/sysv/linux/kernel-features.h
11178         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11179         __ASSUME_XFS_RESTRICTED_CHOWN.
11180         * sysdeps/unix/sysv/linux/pathconf.c
11181         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11182         Save and restore errno.
11184 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11186         [BZ #15327]
11187         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11188         arguments using __kernel_casinh.
11189         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11190         arguments using __kernel_casinhf.
11191         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11192         arguments using __kernel_casinhl.
11193         * math/libm-test.inc (cacosh_test): Add more tests.
11194         * sysdeps/i386/fpu/libm-test-ulps: Update.
11195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11197 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11199         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11200         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11202         * bench/Makefile (bench): Add sin and slowsin.
11203         * benchtests/sin-inputs: New file.
11204         * benchtests/slowsin-inputs: New file.
11205         * benchtests/slowsin.c: New file.
11207         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11208         (bench): Add slowexp and slowpow.
11209         (exp-ITER): Increase iterations.
11210         (pow-ITER): Likewise.
11211         * benchtests/exp-inputs: Change input.
11212         * benchtests/pow-inputs: Likewise.
11213         * benchtests/slowexp-inputs: New file.
11214         * benchtests/slowexp.c: New file.
11215         * benchtests/slowpow-inputs: New file.
11216         * benchtests/slowpow.c: New file.
11218 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11220         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11221         instructions.
11222         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11223         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11224         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11225         * benchtests/Makefile: Add rint benchtest.
11226         * benchtests/rint-inputs: Input for rint benchtest.
11228 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11230         * Versions.def (libm): Add GLIBC_2.18.
11231         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11232         hidden libm prototypes.
11233         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11234         * math/Makefile (libm-calls): Add s_issignaling.
11235         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11236         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11237         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11238         declaration.
11239         * math/math.h [__USE_GNU] (issignaling): New macro.
11240         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11241         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11242         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11243         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11244         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11245         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11246         * manual/arith.texi (issignaling): New section.
11247         * manual/libm-err-tab.pl (@all_functions): Update comment.
11248         * math/gen-libm-test.pl (parse_args): Apply special handling for
11249         issignaling.
11250         * math/libm-test.inc (print_float, issignaling_test): New
11251         functions.
11252         (check_float_internal): Add issignaling checks.
11253         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11254         default definition.
11255         * sysdeps/powerpc/math-tests.h: New file.
11256         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11257         tests.
11258         * math/test-snan.c (TEST_FUNC): Likewise.
11260 2013-03-30  David S. Miller  <davem@davemloft.net>
11262         * po/de.po: Update from translation team.
11264 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11266         [BZ #10357]
11267         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11268         imaginary part less than 1.0 and real part less than 0.5
11269         specially.
11270         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11271         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11272         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11273         (cacos_test): Add more tests.
11274         (casin_test): Likewise.
11275         (casinh_test): Likewise.
11276         * sysdeps/i386/fpu/libm-test-ulps: Update.
11277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11279 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11281         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11282         ONE with its value.
11284         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11285         (__pow_mp): Replace ONE and MONE with their values.
11286         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11287         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11288         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11289         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11290         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11291         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11293         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11295         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11296         (__pow_mp): Replace ZERO and MZERO with their values.
11297         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11298         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11299         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11300         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11301         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11302         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11303         (__sqr): Likewise.
11305         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11307         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11309 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11311         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11312         Declare with __attribute__ ((weak)).
11313         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11314         Call __call_tls_dtors only if it's not NULL.
11316 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11318         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11319         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11320         magic __ehdr_start linker symbol if it's defined.
11321         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11322         them up here if it was already done.
11324         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11325         (_dl_aux_init): Use const in cast when setting it.
11326         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11327         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11328         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11330         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11331         Declare them here.
11332         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11333         * csu/libc-tls.c: Nor here.
11334         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11336         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11337         (__libc_message): Never call vsyslog.
11339 2013-03-28  Alan Modra  <amodra@gmail.com>
11341         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11342         Define as empty.
11343         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11344         Likewise.
11346 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11348         [BZ #15214]
11349         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11350         underflow.
11351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11353 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11355         [BZ #15304]
11356         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11357         Don't add gid passed as argument.
11359         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11361 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11363         [BZ #15307]
11364         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11365         imaginary part between 1.0 and 1.5 and real part less than 0.5
11366         specially.
11367         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11368         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11369         * math/libm-test.inc (cacos_test): Add more tests.
11370         (casin_test): Likewise.
11371         (casinh_test): Likewise.
11372         * sysdeps/i386/fpu/libm-test-ulps: Update.
11373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11375 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11377         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11378         constants.
11379         (norm): Likewise.
11380         (denorm): Likewise.
11381         (__dbl_mp): Likewise.
11382         (add_magnitudes): Likewise.
11383         (sub_magnitudes): Likewise.
11384         (__add): Likewise.
11385         (__sub): Likewise.
11386         (__mul): Likewise.
11387         (__sqr): Likewise.
11388         (__inv): Likewise.
11389         (__dvd): Likewise.
11391         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11392         commented code.
11393         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11394         (__dubcos): Likewise.
11395         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11396         (__ieee754_acos): Likewise.
11397         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11398         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11399         (__exp1): Likewise.
11400         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11401         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11402         (log1): Likewise.
11403         (my_log2): Likewise.
11404         (checkint): Likewise.
11405         * sysdeps/ieee754/dbl-64/e_remainder.c
11406         (__ieee754_remainder): Likewise.
11407         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11408         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11409         (bsloww): Likewise.
11410         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11412         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11413         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11414         MANTISSA_STORE_T to store computations on mantissa.  Use
11415         macros for rounding and division.
11416         (denorm): Likewise.
11417         (__dbl_mp): Likewise.
11418         (add_magnitudes): Likewise.
11419         (sub_magnitudes): Likewise.
11420         (__mul): Likewise.
11421         (__sqr): Likewise.
11422         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11423         powers of two in terms of TWOPOW macro.
11424         (mp_no): Make type of mantissa as MANTISSA_T.
11425         [!RADIXI]: Define RADIXI.
11426         [!TWO52]: Define TWO52.
11427         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11429 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11431         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11432         llroundl symbol when building for PPC32.
11434 2013-03-24  Mark H Weaver  <mhw@netris.org>
11436         * manual/arith.texi (Normalization Functions): Fix prototypes for
11437         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11439 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11441         [BZ #13889]
11442         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11443         high value to check if expl overflow.
11444         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11445         to check for underflow and overflow.
11446         * math/libm-test.inc: Add exp test.
11448 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11450         [BZ #11120]
11451         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11452         with NOT_IN_libc.
11454 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11456         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11457         symbol.
11459 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11461         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11462         wrap blocks consisting of several statements.
11464         * sysdeps/generic/math-tests.h: New file.
11465         * sysdeps/i386/fpu/math-tests.h: Likewise.
11466         * math/test-snan.c: Include it.
11467         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11469 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11471         [BZ #15285]
11472         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11473         (__ieee754_j0l): Do not improve calculations using cos of twice
11474         input for inputs above LDBL_MAX / 2.0L.
11475         (__ieee754_y0l): Likewise.
11476         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11477         (__ieee754_j1l): Do not improve calculations using cos of twice
11478         input for inputs above LDBL_MAX / 2.0L.
11479         (__ieee754_y1l): Likewise.
11480         * math/libm-test.inc (j0_test): Add another test.
11481         (j1_test): Likewise.
11482         (y0_test): Likewise.
11483         (y1_test): Likewise.
11484         * sysdeps/i386/fpu/libm-test-ulps: Update.
11486 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11488         * Rules ($(objpfx)bench-%.c): Include code from a C source
11489         file.
11491 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11493         [BZ #15287]
11494         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11495         imaginary part 1.0 and real part less than 0.5 specially.
11496         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11497         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11498         * math/libm-test.inc (cacos_test): Add more tests.
11499         (casin_test): Likewise.
11500         (casinh_test): Likewise.
11501         * sysdeps/i386/fpu/libm-test-ulps: Update.
11502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11504 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11506         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11507         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11509 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11511         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11512         * config.make.in (config-cflags-sse4): Remove variable.
11513         (config-cflags-avx): Likewise.
11514         (config-cflags-sse2avx): Likewise.
11515         (config-cflags-novzeroupper): Likewise.
11516         (config-asflags-i686): Likewise.
11517         (have-mfma4): Likewise.
11518         (have-as-vis3): Likewise.
11519         (MIG): Likewise.
11520         * configure.in (MIG): Do not AC_SUBST.
11521         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11522         (libc_cv_cc_sse4): Do not AC_SUBST.
11523         (libc_cv_cc_avx): Likewise.
11524         (libc_cv_cc_sse2avx): Likewise.
11525         (libc_cv_cc_novzeroupper): Likewise.
11526         (libc_cv_cc_fma4): Likewise.
11527         (libc_cv_as_i686): Likewise.
11528         (libc_cv_sparc_as_vis3): Likewise.
11529         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11530         LIBC_CONFIG_VAR.
11531         (config-asflags-i686): Likewise.
11532         (config-cflags-avx): Likewise.
11533         (config-cflags-sse2avx): Likewise.
11534         (have-mfma4): Likewise.
11535         (config-cflags-novzeroupper): Likewise.
11536         * sysdeps/mach/configure.in (MIG): Likewise.
11537         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11538         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11539         LIBC_CONFIG_VAR.
11540         (config-cflags-avx): Likewise.
11541         (config-cflags-sse2avx): Likewise.
11542         (have-mfma4): Likewise.
11543         (config-cflags-novzeroupper): Likewise.
11544         * configure: Regenerated.
11545         * sysdeps/i386/configure: Likewise.
11546         * sysdeps/mach/configure: Likewise.
11547         * sysdeps/sparc/configure: Likewise.
11548         * sysdeps/x86_64/configure: Likewise.
11550 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11552         [BZ #14812]
11553         * locale/programs/localedef.c (options): Put N_ translation marker
11554         on argument names, not just descriptions.
11556 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11558         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11560 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11562         [BZ #14176]
11563         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11565 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11567         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11568         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11569         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11570         [!BEFORE_ABORT] (before_abort): New function.
11571         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11572         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11573         (writev_for_fatal): New function.
11574         (WRITEV_FOR_FATAL): New macro; call that.
11575         (backtrace_and_maps): New function.
11576         (BEFORE_ABORT): New macro; call that.
11577         (struct str_list): Type removed.
11578         (__libc_message, __libc_fatal): Functions removed.
11579         Include <sysdeps/posix/libc_fatal.c> instead.
11581 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11583         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11584         constants.
11585         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11586         double constants.
11588 2013-03-19  Andreas Schwab  <schwab@suse.de>
11590         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11591         * sysdeps/gnu/configure: Regenerate.
11593         * configure.in: Substitute libc_cv_rtlddir.
11594         * configure: Regenerate.
11595         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11596         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11597         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11598         * elf/Makefile (install-others, CFLAGS-interp.c)
11599         (ldso_install, common-ldd-rewrite): Likewise.
11600         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11601         $(inst_slibdir)/$(rtld-installed-name).
11602         * scripts/rellns-sh: Add -p option.
11603         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11604         for source.
11606 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11608         * manual/nptl.texi: Renamed to ...
11609         * manual/threads.texi: ... this.
11610         * manual/Makefile (chapters): Update.
11612 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11614         [BZ #14812]
11615         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11616         on argument names, not just descriptions.
11617         * malloc/memusagestat.c (options): Likewise.
11618         * nss/getent.c (options): Likewise.
11620 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11622         [BZ #14812]
11623         * iconv/iconv_prog.c (options): Put N_ translation marker
11624         on argument names, not just descriptions.
11625         * iconv/iconvconfig.c (options): Likewise.
11627 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11629         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11630         implementation which is faster on all x86_64 architectures.
11631         Tested on AMD, Intel Nehalem, SNB, IVB.
11632         * sysdeps/x86_64/strnlen.S: Likewise.
11634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11635         Remove all multiarch strlen and strnlen versions.
11636         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11637         Remove strlen and strnlen related parts.
11639         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11640         Inline strlen part.
11641         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11643         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11644         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11645         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11646         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11647         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11648         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11650 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11652         * manual/memory.texi (Malloc Tunable Parameters):
11653         Sort parameters alphabetically. Add comments for missing entries.
11655 2013-03-17  David S. Miller  <davem@davemloft.net>
11657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11659 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11661         [BZ #15283]
11662         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11663         for arguments at most half maximum finite value.
11664         * math/libm-test.inc (j0_test): Add more tests.
11665         (j1_test): Likewise.
11666         (y0_test): Likewise.
11667         (y1_test): Likewise.
11668         * sysdeps/i386/fpu/libm-test-ulps: Update.
11669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11671         [BZ #14155]
11672         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11673         1 / x and functions P and Q for arguments above 0x1p256L.
11674         (__ieee754_y0l): Likewise.
11675         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11676         (__ieee754_y1l): Likewise.
11677         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11678         (j1_test): Likewise.
11679         (y0_test): Likewise.
11680         (y1_test): Likewise.
11682 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11684         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11685         variable.
11687 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11689         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11690         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11691         zero since it's initialized to EXEC_PAGESIZE.
11693         * sysdeps/unix/sysv/linux/ldsodefs.h
11694         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11695         * sysdeps/generic/ldsodefs.h: ... here.
11697 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11699         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11701         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11702         math/test-snan.c.
11703         * math/test-snan.c: Renamed from
11704         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11705         * math/Makefile (tests): Add test-snan.
11706         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11707         test-powerpc-snan.
11709         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11710         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11711         functions.
11712         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11713         __builtin_nan family of functions.
11714         * math/libm-test.inc (initialize): Initialize qnan_value with
11715         __builtin_nan family of functions.
11716         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11717         Remove variables.
11718         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11719         Remove functions.
11720         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11721         storage class.  Initialize qNaN_var and sNaN_var with
11722         __builtin_nan and __builtin_nans families of functions,
11723         respectively.
11725         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11726         (sqrt_test): Remove duplicate test with qNaN input.
11727         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11728         (round_test, signbit_test, significand_test): Note missing +/-Inf
11729         as well as qNaN tests.
11731         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11732         qNaN_var.  Fix a few strings, too.
11733         * math/libm-test.inc (nan_value): Rename to qnan_value.
11734         * math/gen-libm-test.pl (%beautify): Adjust to that.
11735         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11736         * math/test-misc.c (main): Likewise.
11737         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11738         to __qnan_bytes, and __qnan_union, respectively.
11739         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11740         Likewise.
11741         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11742         and lqnanval, respectively.
11743         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11744         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11745         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11746         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11748         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11749         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11750         doubles.
11752         * math/test-misc.c (main): Fix copy'n'pastos.
11753         * misc/tst-efgcvt.c (special): Likewise.
11755         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11756         Remove declarations.
11758 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11760         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11761         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11762         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11763         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11765 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11767         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11768         macro to return vdso values correctly in IFUNC implementations.
11769         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11770         Optimization by using IFUNC.
11772 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11773             Richard Henderson  <rth@redhat.com>
11774             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11776         * Makefile.in (bench): New target.
11777         * NEWS: Mention the benchmark framework.
11778         * Rules (bench): Likewise.
11779         (binaries-bench): Generate binaries for functions to
11780         benchmark.
11781         * benchtests/Makefile: New makefile for benchmark tests.
11782         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11783         programs.
11784         * benchtests/exp-inputs: New input file for EXP function.
11785         * benchtests/pow-inputs: New input file for POW function.
11786         * scripts/bench.pl: New script to generate source files for
11787         benchmark programs.
11789 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11791         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11792         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11793         computations on mantissa.  Use macros for rounding and
11794         division.
11795         (denorm): Likewise.
11796         (__dbl_mp): Likewise.
11797         (add_magnitudes): Likewise.
11798         (sub_magnitudes): Likewise.
11799         (__mul): Likewise.
11800         (__sqr): Likewise.
11801         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11802         powers of two in terms of TWOPOW macro.
11803         (mp_no): Make type of mantissa as MANTISSA_T.
11804         [!RADIXI]: Define RADIXI.
11805         [!TWO52]: Define TWO52.
11806         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11808         * manual/nptl.texi (cindex): Modify threads to pthreads.
11810 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11812         * sysdeps/x86_64/preconfigure: Regenerated.
11814 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11816         [BZ #14155]
11817         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11818         0x1p28 and above.
11819         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11820         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11821         0x1p28 and above.
11822         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11823         * math/libm-test.inc (j0_test): Do not allow one spurious
11824         underflow exception.
11825         (y1_test): Likewise.
11827 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11829         * manual/Makefile (chapters): Add nptl.
11830         * manual/debug.texi (Debugging Support): Add link to Threads
11831         chapter.
11832         * manual/nptl.texi: New file.
11834         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11836 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11838         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11839         for non-NULL pointer before the memory validity test. Pointed
11840         out by Holger Brunck <holger.brunck@keymile.com>.
11842 2013-03-13  Andreas Schwab  <schwab@suse.de>
11844         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11845         instead of .os.
11847 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11849         * timezone/zic.c: Update from tzcode 2013b.
11851 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11853         * manual/install.texi (Configuring and compiling):
11854         Mention i686 and i586.
11855         * INSTALL: Regenerate.
11857 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11859         * sysdeps/init_array/elf-init.c: New file.
11860         * csu/elf-init.c
11861         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11862         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11864         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11865         __gmon_start__ as global, but as static with a .preinit_array pointer.
11866         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11867         * sysdeps/init_array/crti.S: New file, empty except for comments.
11868         * sysdeps/init_array/crtn.S: Likewise.
11870 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11872         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11873         definining bcopy.
11874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11875         Remove Prefer_SSE_for_memop.
11876         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11877         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11878         HAS_PREFER_SSE_FOR_MEMOP.
11879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11880         memset-x86-64.
11881         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11882         Remove bzero, memset ifunc support.
11883         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11884         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11885         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11886         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11888 2013-03-11  Andreas Schwab  <schwab@suse.de>
11890         [BZ #15234]
11891         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11892         by SHLIB_COMPAT.
11893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11894         (GLIBC_2.16): Remove pthread_atfork.
11896 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11898         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11899         (ptestcases.h): Likewise.
11901 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11903         * Makeconfig ($(common-objpfx)config.status): Depend on
11904         sysdeps/*/preconfigure{,.in} too.
11906 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11908         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11909         (__free_hook): Use void * instead of __malloc_ptr_t.
11910         (__malloc_hook): Likewise.
11911         (__realloc_hook): Likewise.
11912         (__memalign_hook): Likewise.
11913         (__after_morecore_hook): Likewise.
11914         * malloc/arena.c (save_malloc_hook): Likewise.
11915         (save_free_hook): Likewise.
11916         * malloc/hooks.c (malloc_hook_ini): Likewise.
11917         (realloc_hook_ini): Likewise.
11918         (memalign_hook_ini): Likewise.
11919         * malloc/malloc.c (malloc_hook_ini): Likewise.
11920         (realloc_hook_ini): Likewise.
11921         (memalign_hook_ini): Likewise.
11922         (__free_hook): Likewise.
11923         (__malloc_hook): Likewise.
11924         (__realloc_hook): Likewise.
11925         (__memalign_hook): Likewise.
11926         (__libc_malloc): Likewise.
11927         (__libc_free): Likewise.
11928         (__libc_realloc): Likewise.
11929         (__libc_memalign): Likewise.
11930         (__libc_valloc): Likewise.
11931         (__libc_pvalloc): Likewise.
11932         (__libc_calloc): Likewise.
11933         (__posix_memalign): Likewise.
11934         * malloc/morecore.c (__sbrk): Likewise.
11935         (__default_morecore): Likewise.
11937         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11939         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11940         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11941         __malloc_ptrdiff_t.
11943         * malloc/malloc.h (__malloc_size_t): Remove macro.
11944         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11945         __malloc_size_t.
11946         (old_memalign_hook): Likewise.
11947         (old_realloc_hook): Likewise.
11948         (struct hdr): Likewise.
11949         (flood): Likewise.
11950         (mallochook): Likewise.
11951         (memalignhook): Likewise.
11952         (reallochook): Likewise.
11953         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11954         (tr_old_realloc_hook): Likewise.
11955         (tr_old_memalign_hook): Likewise.
11956         (tr_mallochook): Likewise.
11957         (tr_reallochook): Likewise.
11958         (tr_memalignhook): Likewise.
11960 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11962         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11963         default_ldbl_pack and using as default implementation.
11964         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11965         implementation.
11966         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11967         redundant definition.
11968         (ldbl_insert_mantissa): Likewise.
11969         (ldbl_canonicalize): Likewise.
11970         (ldbl_nearbyint): Likewise.
11971         (ldbl_pack): Rename to ldbl_pack_ppc.
11972         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11973         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11974         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11976 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11978         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11979         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11980         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11981         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11983         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11984         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11985         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11987 2013-03-07  Andreas Jaeger  <aj@suse.de>
11989         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11990         bits/mman-linux.h.
11992 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11994         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11995         Include mpa.h and declare __MPEXP.
11996         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11997         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11998         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11999         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12000         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12001         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12002         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12004         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12005         (__slowpow): Use long double EXPL and LOGL functions to
12006         compute POW.
12007         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12008         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12009         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12010         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12011         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12012         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12014         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12015         intermediate variable to calculate exponent.
12016         (__sqr): Likewise.
12017         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12018         Likewise.
12019         (__sqr): Likewise.
12021         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12022         [!NO__SQR]: Define __sqr.
12023         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12024         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12025         sysdeps/ieee754/dbl-64/mpa.c.
12026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12028         [BZ #12723]
12029         * posix/Makefile (tests): Add tst-pathconf.
12030         * posix/tst-pathconf.c: New test case.
12031         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12032         _PC_PIPE_BUF.
12033         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12035 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12037         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12039 2013-03-06  Andreas Jaeger  <aj@suse.de>
12041         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12042         definition via __MAP_ANONYMOUS.
12044         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12045         it's not part of Linux headers.
12047         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12048         (MAP_HUGE_MASK): Define.
12050         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12051         Define.
12052         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12053         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12054         Define.
12055         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12056         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12057         Define.
12058         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12059         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12060         Define.
12061         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12063         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12064         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12065         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12066         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12067         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12068         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12070         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12071         Handle f2fs.
12073         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12074         Handle f2fs and efivarfs.
12076         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12077         f2fs.
12079         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12080         (EFIVARFS_MAGIC): Add.
12081         (F2FS_LINK_MAX): Add.
12083 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12085         * stdio-common/vfprintf.c: Replace __builtin_expect with
12086         __glibc_unlikely.
12088 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12090         [BZ #13550]
12091         * sysdeps/generic/bp-sym.h: Remove file.
12092         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12093         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12094         <bp-sym.h> and <bp-asm.h>.
12095         (__longjmp): Don't use BP_SYM.
12096         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12097         and <bp-asm.h>.
12098         (memcpy): Don't use BP_SYM.
12099         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12100         <bp-sym.h> and <bp-asm.h>.
12101         (memcpy): Don't use BP_SYM.
12102         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12103         <bp-asm.h>.
12104         (memcpy): Don't use BP_SYM.
12105         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12106         <bp-asm.h>.
12107         (memset): Don't use BP_SYM.
12108         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12109         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12110         (__bzero): Don't use BP_SYM.
12111         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12112         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12113         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12114         <bp-sym.h> and <bp-asm.h>.
12115         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12116         pointers.
12117         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12118         <bp-sym.h> and <bp-asm.h>.
12119         (memcpy): Don't use BP_SYM.
12120         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12121         <bp-sym.h> and <bp-asm.h>.
12122         (memset): Don't use BP_SYM.
12123         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12124         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12125         (__bzero): Don't use BP_SYM.
12126         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12127         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12128         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12129         <bp-sym.h> and <bp-asm.h>.
12130         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12131         pointers.
12132         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12133         <bp-sym.h> and <bp-asm.h>.
12134         (memcpy): Don't use BP_SYM.
12135         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12136         <bp-sym.h> and <bp-asm.h>.
12137         (memset): Don't use BP_SYM.
12138         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12139         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12140         (__bzero): Don't use BP_SYM.
12141         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12142         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12143         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12144         <bp-sym.h> and <bp-asm.h>.
12145         (__memchr): Don't use BP_SYM.
12146         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12147         <bp-sym.h> and <bp-asm.h>.
12148         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12149         pointers.
12150         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12151         <bp-sym.h> and <bp-asm.h>.
12152         (memcpy): Don't use BP_SYM.
12153         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12154         <bp-sym.h> and <bp-asm.h>.
12155         (__mempcpy): Don't use BP_SYM.
12156         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12157         <bp-sym.h> and <bp-asm.h>.
12158         (__memrchr): Don't use BP_SYM.
12159         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12160         <bp-sym.h> and <bp-asm.h>.
12161         (memset): Don't use BP_SYM.
12162         (__bzero): Likewise.
12163         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12164         <bp-sym.h> and <bp-asm.h>.
12165         (__rawmemchr): Don't use BP_SYM.
12166         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12167         <bp-sym.h> and <bp-asm.h>.
12168         (__STRCMP): Don't use BP_SYM.
12169         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12170         <bp-sym.h> and <bp-asm.h>.
12171         (strchr): Don't use BP_SYM.
12172         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12173         <bp-sym.h> and <bp-asm.h>.
12174         (__strchrnul): Don't use BP_SYM.
12175         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12176         <bp-sym.h> and <bp-asm.h>.
12177         (strlen): Don't use BP_SYM.
12178         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12179         <bp-sym.h> and <bp-asm.h>.
12180         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12181         pointers.
12182         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12183         <bp-sym.h> and <bp-asm.h>.
12184         (__strnlen): Don't use BP_SYM.
12185         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12186         <bp-sym.h> and <bp-asm.h>.
12187         (__GI__setjmp): Don't use BP_SYM.
12188         (_setjmp): Likewise.
12189         (__sigsetjmp): Likewise.
12190         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12191         (L(start_addresses)): Don't use BP_SYM.
12192         (_start): Likewise.
12193         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12194         <bp-asm.h>.
12195         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12196         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12197         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12198         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12199         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12200         <bp-asm.h>.
12201         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12202         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12203         about bounded pointers.
12204         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12205         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12206         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12207         <bp-asm.h>.
12208         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12209         about bounded pointers.  Remove GKM FIXME comments.
12210         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12211         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12212         <bp-asm.h>.
12213         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12214         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12215         Remove GKM FIXME comments.
12216         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12217         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12218         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12219         <bp-asm.h>.
12220         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12221         about bounded pointers.  Remove GKM FIXME comment.
12222         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12223         and <bp-asm.h>.
12224         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12225         pointers.
12226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12227         <bp-sym.h> and <bp-asm.h>.
12228         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12230         <bp-sym.h> and <bp-asm.h>.
12231         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12232         comment.
12234 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12236         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12237         call free(NULL).
12239 2013-03-05  David S. Miller  <davem@davemloft.net>
12241         * po/es.po: Update from translation team.
12243 2013-03-05  Andreas Jaeger  <aj@suse.de>
12245         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12246         <bits/mman-linux.h>.
12247         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12248         is fine.
12249         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12250         <bits/mman-linux.h> to end of file.
12251         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12252         is fine.
12253         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12254         <bits/mman-linux.h> to end of file.
12255         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12256         is fine.
12257         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12258         <bits/mman-linux.h> to end of file.
12260         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12261         (MCL_CURRENT, MCL_FUTURE): Define here.
12263 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12265         [BZ #15232]
12266         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12267         attribute_hidden.
12268         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12270 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12272         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12273         fourth parameter needed for rt_sigprocmask syscall.
12274         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12275         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12276         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12277         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12278         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12279         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12281 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12283         [BZ #13550]
12284         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12285         comment about bounded pointers.
12286         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12287         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12289 2013-03-04  Andreas Jaeger  <aj@suse.de>
12291         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12292         common definitions.
12294         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12295         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12296         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12297         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12298         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12299         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12301 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12303         [BZ #15055]
12304         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12305         __ieee754_sqrl instead of __sqrl.
12307 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12309         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12310         * sysdeps/powerpc/fpu_control.h: ... here.
12311         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12312         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12313         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12314         * sysdeps/powerpc/bits/mathinline.h: ... here.
12316 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12318         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12319         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12320         to just [NEED_DL_SYSINFO_DSO].
12321         * elf/dl-support.c: Likewise.
12322         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12323         * elf/rtld.c (dl_main): Likewise.
12324         * elf/setup-vdso.h (setup_vdso): Likewise.
12325         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12326         * sysdeps/unix/sysv/linux/dl-sysdep.c
12327         (_dl_discover_osversion): Likewise.
12329 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12331         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12332         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12334 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12336         * NEWS: Mention libm performance improvements and non-x86 PI
12337         futex support.
12339         * csu/libc-start.c (__pthread_initialize_minimal): Change
12340         function arguments.
12341         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12343 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12345         [BZ #13550]
12346         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12347         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12348         <bp-sym.h> and <bp-asm.h>.
12349         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12350         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12351         and <bp-asm.h>.
12352         (memcpy): Don't use BP_SYM.
12353         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12354         <bp-asm.h>.
12355         (__mpn_add_n): Don't use BP_SYM.
12356         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12357         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12358         and <bp-asm.h>.
12359         (__mpn_addmul_1): Don't use BP_SYM.
12360         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12361         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12362         <bp-sym.h>.
12363         (_setjmp): Don't use BP_SYM.
12364         (__novmx_setjmp): Likewise.
12365         (__GI__setjmp): Likewise.
12366         (__vmx_setjmp): Likewise.
12367         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12368         <bp-sym.h>.
12369         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12370         (__bzero): Don't use BP_SYM.
12371         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12372         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12373         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12374         <bp-sym.h> and <bp-asm.h>.
12375         (memcpy): Don't use BP_SYM.
12376         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12377         <bp-sym.h> and <bp-asm.h>.
12378         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12379         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12380         <bp-sym.h> and <bp-asm.h>.
12381         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12382         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12383         <bp-asm.h>.
12384         (__mpn_lshift): Don't use BP_SYM.
12385         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12386         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12387         <bp-asm.h>.
12388         (memset): Don't use BP_SYM.
12389         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12390         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12391         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12392         <bp-asm.h>.
12393         (__mpn_mul_1): Don't use BP_SYM.
12394         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12395         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12396         <bp-sym.h> and <bp-asm.h>.
12397         (memcmp): Don't use BP_SYM.
12398         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12399         <bp-sym.h> and <bp-asm.h>.
12400         (memcpy): Don't use BP_SYM.
12401         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12402         <bp-sym.h> and <bp-asm.h>.
12403         (memset): Don't use BP_SYM.
12404         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12405         <bp-sym.h> and <bp-asm.h>.
12406         (strncmp): Don't use BP_SYM.
12407         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12408         <bp-sym.h> and <bp-asm.h>.
12409         (memcpy): Don't use BP_SYM.
12410         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12411         <bp-sym.h> and <bp-asm.h>.
12412         (memset): Don't use BP_SYM.
12413         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12414         <bp-sym.h> and <bp-asm.h>.
12415         (__memchr): Don't use BP_SYM.
12416         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12417         <bp-sym.h> and <bp-asm.h>.
12418         (memcmp): Don't use BP_SYM.
12419         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12420         <bp-sym.h> and <bp-asm.h>.
12421         (memcpy): Don't use BP_SYM.
12422         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12423         <bp-sym.h> and <bp-asm.h>.
12424         (__mempcpy): Don't use BP_SYM.
12425         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12426         <bp-sym.h> and <bp-asm.h>.
12427         (__memrchr): Don't use BP_SYM.
12428         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12429         <bp-sym.h> and <bp-asm.h>.
12430         (memset): Don't use BP_SYM.
12431         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12432         <bp-sym.h> and <bp-asm.h>.
12433         (__rawmemchr): Don't use BP_SYM.
12434         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12435         <bp-sym.h> and <bp-asm.h>.
12436         (__STRCMP): Don't use BP_SYM.
12437         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12438         <bp-sym.h> and <bp-asm.h>.
12439         (strchr): Don't use BP_SYM.
12440         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12441         <bp-sym.h> and <bp-asm.h>.
12442         (__strchrnul): Don't use BP_SYM.
12443         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12444         <bp-sym.h> and <bp-asm.h>.
12445         (strlen): Don't use BP_SYM.
12446         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12447         <bp-sym.h> and <bp-asm.h>.
12448         (strncmp): Don't use BP_SYM.
12449         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12450         <bp-sym.h> and <bp-asm.h>.
12451         (__strnlen): Don't use BP_SYM.
12452         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12453         <bp-asm.h>.
12454         (__mpn_rshift): Don't use BP_SYM.
12455         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12456         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12457         <bp-sym.h> and <bp-asm.h>.
12458         (__sigsetjmp): Don't use BP_SYM.
12459         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12460         (L(start_addresses)): Don't use BP_SYM.
12461         (_start): Likewise.
12462         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12463         <bp-asm.h>.
12464         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12465         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12466         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12467         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12468         <bp-asm.h>.
12469         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12470         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12471         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12472         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12473         <bp-asm.h>.
12474         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12475         comments.
12476         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12477         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12478         <bp-asm.h>.
12479         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12480         FIXME comments.
12481         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12482         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12483         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12484         <bp-asm.h>.
12485         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12486         comment.
12487         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12488         and <bp-asm.h>.
12489         (strncmp): Don't use BP_SYM,
12490         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12491         <bp-asm.h>.
12492         (__mpn_sub_n): Don't use BP_SYM.
12493         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12494         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12495         and <bp-asm.h>.
12496         (__mpn_submul_1): Don't use BP_SYM.
12497         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12499         <bp-sym.h> and <bp-asm.h>.
12500         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12502         <bp-sym.h> and <bp-asm.h>.
12503         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12504         comment.
12506 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12508         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12509         Use ZK to minimize writes to Z.
12510         (sub_magnitudes): Simplify code a bit.
12511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12512         Use ZK to minimize writes to Z.
12513         (sub_magnitudes): Simplify code a bit.
12515 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12517         * csu/gmon-start.c: Add special exception to license text.
12519 2013-02-27  Richard Henderson  <rth@redhat.com>
12521         * scripts/config.guess: Update from config.git.
12522         * scripts/config.sub: Likewise.
12524 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12526         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12528         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12530         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12532         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12534         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12536 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12538         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12539         [$(build-shared = yes].
12541 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12543         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12544         (__mul): Reduce iterations for calculating mantissa.
12546         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12547         MPTWO.
12548         (__mpranred): Likewise.
12550         [BZ #15160]
12551         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12552         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12554 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12556         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12557         Define __attribute__.
12559 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12561         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12562         unused.
12563         * posix/regex_internal.h (__attribute): Remove.
12564         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12565         (re_string_context_at): Likewise.
12566         (bitset_not): Use __attribute__ and mark function as possibly
12567         unused.
12568         (bitset_merge): Likewise.
12569         (bitset_mask): Likewise.
12570         (re_string_char_size_at): Likewise.
12571         (re_string_wchar_at): Likewise.
12572         (re_string_elem_size_at): Likewise.
12574 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12576         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12577         code.
12578         (cc32): Likewise.
12580         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12581         (__acr): Likewise.
12582         (__cpy): Likewise.
12583         (norm): Likewise.
12584         (denorm): Likewise.
12585         (__dbl_mp): Likewise.
12586         (add_magnitudes): Likewise.
12587         (sub_magnitudes): Likewise.
12588         (__mul): Likewise.
12589         (__inv): Likewise.
12591         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12592         style.
12594         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12595         style.
12597         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12598         code.
12600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12601         up changes with default code.
12602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12603         Likewise.
12605 2013-02-24  Allan McRae  <allan@archlinux.org>
12607         * manual/socket.texi (The Internet Namespace): Order menu items
12608         to match that in the file.
12610         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12611         node listing of the info page menu.
12613 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12615         [BZ #13550]
12616         * sysdeps/i386/bp-asm.h: Remove file.
12617         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12618         (PARMS): Do not use macros from bp-asm.h.
12619         (S1): Likewise.
12620         (S2): Likewise.
12621         (SIZE): Likewise.
12622         (__mpn_add_n): Do not use BP_SYM
12623         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12624         "bp-asm.h".
12625         (PARMS): Do not use macros from bp-asm.h.
12626         (S1): Likewise.
12627         (SIZE): Likewise.
12628         (__mpn_addmul_1): Do not use BP_SYM
12629         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12630         "bp-asm.h".
12631         (PARMS): Do not use macros from bp-asm.h.
12632         (SIGMSK): Likewise.
12633         (_setjmp): Likewise.  Do not use BP_SYM.
12634         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12635         "bp-asm.h".
12636         (PARMS): Do not use macros from bp-asm.h.
12637         (SIGMSK): Likewise.
12638         (setjmp): Likewise.  Do not use BP_SYM.
12639         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12640         "bp-asm.h".
12641         (PARMS): Do not use macros from bp-asm.h.
12642         (__frexp): Do not use BP_SYM.
12643         (frexp): Likewise.
12644         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12645         "bp-asm.h".
12646         (PARMS): Do not use macros from bp-asm.h.
12647         (__frexpf): Do not use BP_SYM.
12648         (frexpf): Likewise.
12649         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12650         "bp-asm.h".
12651         (PARMS): Do not use macros from bp-asm.h.
12652         (__frexpl): Do not use BP_SYM.
12653         (frexpl): Likewise.
12654         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12655         "bp-asm.h".
12656         (PARMS): Do not use macros from bp-asm.h.
12657         (__remquo): Do not use BP_SYM.
12658         (remquo): Likewise.
12659         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12660         "bp-asm.h".
12661         (PARMS): Do not use macros from bp-asm.h.
12662         (__remquof): Do not use BP_SYM.
12663         (remquof): Likewise.
12664         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12665         "bp-asm.h".
12666         (PARMS): Do not use macros from bp-asm.h.
12667         (__remquol): Do not use BP_SYM.
12668         (remquol): Likewise.
12669         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12670         "bp-asm.h".
12671         (PARMS): Do not use macros from bp-asm.h.
12672         (DEST): Likewise.
12673         (SRC): Likewise.
12674         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12675         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12676         "bp-asm.h".
12677         (PARMS): Do not use macros from bp-asm.h.
12678         (strlen): Do not use BP_SYM.
12679         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12680         "bp-asm.h".
12681         (PARMS): Do not use macros from bp-asm.h.
12682         (S1): Likewise.
12683         (S2): Likewise.
12684         (SIZE): Likewise.
12685         (__mpn_add_n): Do not use BP_SYM.
12686         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12687         "bp-asm.h".
12688         (PARMS): Do not use macros from bp-asm.h.
12689         (S1): Likewise.
12690         (SIZE): Likewise.
12691         (__mpn_addmul_1): Do not use BP_SYM.
12692         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12693         weak_alias.
12694         (bzero): Likewise.
12695         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12696         "bp-asm.h".
12697         (PARMS): Do not use macros from bp-asm.h.
12698         (S): Likewise.
12699         (SIZE): Likewise.
12700         (__mpn_lshift): Do not use BP_SYM.
12701         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12702         "bp-asm.h".
12703         (PARMS): Do not use macros from bp-asm.h.
12704         (DEST): Likewise.
12705         (SRC): Likewise.
12706         (LEN): Likewise.
12707         (memcpy): Likewise.  Do not use BP_SYM.
12708         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12709         libc_hidden_def and weak_alias.
12710         (mempcpy): Do not use BP_SYM in weak_alias.
12711         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12712         "bp-asm.h".
12713         (PARMS): Do not use macros from bp-asm.h.
12714         (DEST): Likewise.
12715         (LEN): Likewise.
12716         [!BZERO_P] (CHR): Likewise.
12717         (memset): Likewise.  Do not use BP_SYM.
12718         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12719         "bp-asm.h".
12720         (PARMS): Do not use macros from bp-asm.h.
12721         (S1): Likewise.
12722         (SIZE): Likewise.
12723         (__mpn_mul_1): Do not use BP_SYM.
12724         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12725         "bp-asm.h".
12726         (PARMS): Do not use macros from bp-asm.h.
12727         (S): Likewise.
12728         (SIZE): Likewise.
12729         (__mpn_rshift): Do not use BP_SYM.
12730         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12731         "bp-asm.h".
12732         (PARMS): Do not use macros from bp-asm.h.
12733         (STR): Likewise.
12734         (CHR): Likewise.
12735         (strchr): Likewise.  Do not use BP_SYM.
12736         (index): Do not use BP_SYM in weak_alias.
12737         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12738         "bp-asm.h".
12739         (PARMS): Do not use macros from bp-asm.h.
12740         (DEST): Likewise.
12741         (SRC): Likewise.
12742         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12743         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12744         "bp-asm.h".
12745         (PARMS): Do not use macros from bp-asm.h.
12746         (strlen): Do not use BP_SYM.
12747         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12748         "bp-asm.h".
12749         (PARMS): Do not use macros from bp-asm.h.
12750         (S1): Likewise.
12751         (S2): Likewise.
12752         (SIZE): Likewise.
12753         (__mpn_sub_n): Do not use BP_SYM.
12754         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12755         "bp-asm.h".
12756         (PARMS): Do not use macros from bp-asm.h.
12757         (S1): Likewise.
12758         (SIZE): Likewise.
12759         (__mpn_submul_1): Do not use BP_SYM.
12760         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12761         "bp-asm.h".
12762         (PARMS): Do not use macros from bp-asm.h.
12763         (S1): Likewise.
12764         (S2): Likewise.
12765         (SIZE): Likewise.
12766         (__mpn_add_n): Do not use BP_SYM.
12767         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12768         weak_alias.
12769         (bzero): Likewise.
12770         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12771         "bp-asm.h".
12772         (PARMS): Do not use macros from bp-asm.h.
12773         (BLK2): Likewise.
12774         (LEN): Likewise.
12775         (memcmp): Do not use BP_SYM.
12776         (bcmp): Do not use BP_SYM in weak_alias.
12777         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12778         "bp-asm.h".
12779         (PARMS): Do not use macros from bp-asm.h.
12780         (DEST): Likewise.
12781         (SRC): Likewise.
12782         (LEN): Likewise.
12783         (memcpy): Likewise.  Do not use BP_SYM.
12784         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12785         "bp-asm.h".
12786         (PARMS): Do not use macros from bp-asm.h.
12787         (DEST): Likewise.
12788         (SRC): Likewise.
12789         (LEN): Likewise.
12790         (memmove): Likewise.  Do not use BP_SYM.
12791         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12792         "bp-asm.h".
12793         (PARMS): Do not use macros from bp-asm.h.
12794         (DEST): Likewise.
12795         (SRC): Likewise.
12796         (LEN): Likewise.
12797         (__mempcpy): Likewise.  Do not use BP_SYM.
12798         (mempcpy): Do not use BP_SYM in weak_alias.
12799         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12800         "bp-asm.h".
12801         (PARMS): Do not use macros from bp-asm.h.
12802         (DEST): Likewise.
12803         (LEN): Likewise.
12804         [!BZERO_P] (CHR): Likewise.
12805         (memset): Likewise.  Do not use BP_SYM.
12806         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12807         "bp-asm.h".
12808         (PARMS): Do not use macros from bp-asm.h.
12809         (STR2): Likewise.
12810         (strcmp): Do not use BP_SYM.
12811         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12812         "bp-asm.h".
12813         (PARMS): Do not use macros from bp-asm.h.
12814         (STR): Likewise.
12815         (DELIM): Likewise.
12816         [USE_AS_STRTOK_R] (SAVE): Likewise.
12817         (FUNCTION): Likewise.  Do not use BP_SYM.
12818         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12819         aliases.
12820         (strtok_r): Likewise.
12821         (__GI___strtok_r): Likewise.
12822         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12823         (PARMS): Do not use macros from bp-asm.h.
12824         (S): Likewise.
12825         (SIZE): Likewise.
12826         (__mpn_lshift): Do not use BP_SYM.
12827         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12828         (PARMS): Do not use macros from bp-asm.h.
12829         (STR): Likewise.
12830         (CHR): Likewise.
12831         (__memchr): Do not use BP_SYM.
12832         (memchr): Do not use BP_SYM in weak_alias.
12833         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12834         (PARMS): Do not use macros from bp-asm.h.
12835         (BLK2): Likewise.
12836         (LEN): Likewise.
12837         (memcmp): Do not use BP_SYM.
12838         (bcmp): Do not use BP_SYM in weak_alias.
12839         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12840         (PARMS): Do not use macros from bp-asm.h.
12841         (S1): Likewise.
12842         (SIZE): Likewise.
12843         (__mpn_mul_1): Do not use BP_SYM.
12844         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12845         "bp-asm.h".
12846         (PARMS): Do not use macros from bp-asm.h.
12847         (STR): Likewise.
12848         (CHR): Likewise.
12849         (__rawmemchr): Do not use BP_SYM.
12850         (rawmemchr): Do not use BP_SYM in weak_alias.
12851         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12852         (PARMS): Do not use macros from bp-asm.h.
12853         (S): Likewise.
12854         (SIZE): Likewise.
12855         (__mpn_rshift): Do not use BP_SYM.
12856         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12857         (PARMS): Do not use macros from bp-asm.h.
12858         (SIGMSK): Likewise.
12859         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12860         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12861         (_start): Do not use BP_SYM.
12862         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12863         (PARMS): Do not use macros from bp-asm.h.
12864         (DEST): Likewise.
12865         (SRC): Likewise.
12866         (__stpcpy): Likewise.  Do not use BP_SYM.
12867         (stpcpy): Do not use BP_SYM in weak_alias.
12868         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12869         "bp-asm.h".
12870         (PARMS): Do not use macros from bp-asm.h.
12871         (DEST): Likewise.
12872         (SRC): Likewise.
12873         (LEN): Likewise.
12874         (__stpncpy): Likewise.  Do not use BP_SYM.
12875         (stpncpy): Do not use BP_SYM in weak_alias.
12876         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12877         (PARMS): Do not use macros from bp-asm.h.
12878         (STR): Likewise.
12879         (CHR): Likewise.
12880         (strchr): Likewise.  Do not use BP_SYM.
12881         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12882         "bp-asm.h".
12883         (PARMS): Do not use macros from bp-asm.h.
12884         (STR): Likewise.
12885         (CHR): Likewise.
12886         (__strchrnul): Likewise.  Do not use BP_SYM.
12887         (strchrnul): Do not use BP_SYM in weak_alias.
12888         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12889         "bp-asm.h".
12890         (PARMS): Do not use macros from bp-asm.h.
12891         (STOP): Likewise.
12892         (strcspn): Do not use BP_SYM.
12893         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12894         "bp-asm.h".
12895         (PARMS): Do not use macros from bp-asm.h.
12896         (STR): Likewise.
12897         (STOP): Likewise.
12898         (strpbrk): Likewise.  Do not use BP_SYM.
12899         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12900         "bp-asm.h".
12901         (PARMS): Do not use macros from bp-asm.h.
12902         (STR): Likewise.
12903         (CHR): Likewise.
12904         (strrchr): Likewise.  Do not use BP_SYM.
12905         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12906         (PARMS): Do not use macros from bp-asm.h.
12907         (SKIP): Likewise.
12908         (strspn): Do not use BP_SYM.
12909         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12910         (PARMS): Do not use macros from bp-asm.h.
12911         (STR): Likewise.
12912         (DELIM): Likewise.
12913         (SAVE): Likewise.
12914         (FUNCTION): Likewise.  Do not use BP_SYM.
12915         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12916         aliases.
12917         (strtok_r): Likewise.
12918         (__GI___strtok_r): Likewise.
12919         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12920         (PARMS): Do not use macros from bp-asm.h.
12921         (S1): Likewise.
12922         (S2): Likewise.
12923         (SIZE): Likewise.
12924         (__mpn_sub_n): Do not use BP_SYM.
12925         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12926         "bp-asm.h".
12927         (PARMS): Do not use macros from bp-asm.h.
12928         (S1): Likewise.
12929         (SIZE): Likewise.
12930         (__mpn_submul_1): Do not use BP_SYM.
12931         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12932         <bp-sym.h>.
12933         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12934         and <bp-asm.h>.
12935         (PARMS): Do not use macros from bp-asm.h.
12936         (FLAGS): Likewise.
12937         (PTID): Likewise.
12938         (TLS): Likewise.
12939         (CTID): Likewise.
12940         (__clone): Do not use BP_SYM.
12941         (clone): Do not use BP_SYM in weak_alias.
12942         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12943         and <bp-asm.h>.
12944         (PARMS): Do not use macros from bp-asm.h.
12945         (LEN): Likewise.
12946         (__mmap64): Do not use BP_SYM.
12947         (mmap64): Do not use BP_SYM in weak_alias.
12948         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12949         <bp-sym.h> and <bp-asm.h>.
12950         (PARMS): Do not use macros from bp-asm.h.
12951         (__posix_fadvise64_l64): Do not use BP_SYM.
12952         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12953         (PARMS): Do not use macros from bp-asm.h.
12954         (NSOPS): Likewise.
12955         (semtimedop): Do not use BP_SYM.
12956         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12957         and <bp-asm.h>.
12959 2013-02-21  Allan McRae  <allan@archlinux.org>
12961         * manual/message.texi (Charset conversion in gettext):
12962         Move @end statement to beginning of line.
12964 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12966         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12967         static.
12968         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12969         Likewise.
12971         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12972         (denorm): Likewise.
12973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12976 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12978         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12979         tail-call to the resolved function if pltexit isn't needed.
12981 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12983         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12984         or Y being zero as being unlikely.
12985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12986         Likewise.
12988 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12990         * manual/nss.texi (System Databases and Name Service Switch):
12991         Remove frobnicate @pxref.
12993 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12995         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12996         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12998 2013-02-20  Petr Machata  <pmachata@redhat.com>
13000         * elf/elf.h (R_ARM_TARGET1): New macro.
13001         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13002         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13003         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13004         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13005         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13006         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13007         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13008         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13009         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13010         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13011         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13012         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13013         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13014         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13015         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13016         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13017         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13018         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13019         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13020         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13021         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13022         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13023         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13024         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13025         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13026         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13027         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13028         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13029         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13030         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13031         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13032         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13033         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13034         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13035         (R_ARM_THM_GOT_BREL12): Likewise.
13036         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13037         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13038         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13039         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13040         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13041         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13042         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13043         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13044         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13046 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13048         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13049         __attribute_used__ to __attribute__ ((unused)).
13051 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13053         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13054         powerpc mpa.c.
13055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13056         comment formatting.
13057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13059 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13061         [BZ #13550]
13062         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13063         Remove macro.
13064         (ENTER): Remove both macro definitions.
13065         (LEAVE): Likewise.
13066         (CHECK_BOUNDS_LOW): Likewise.
13067         (CHECK_BOUNDS_HIGH): Likewise.
13068         (CHECK_BOUNDS_BOTH): Likewise.
13069         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13070         (RETURN_BOUNDED_POINTER): Likewise.
13071         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13072         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13073         (POP_ERRNO_LOCATION_RETURN): Likewise.
13074         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13075         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13076         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13077         macros.
13078         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13079         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13080         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13081         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13082         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13083         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13084         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13085         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13086         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13087         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13088         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13089         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13090         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13091         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13092         removed macros.
13093         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13094         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13095         macros.
13096         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13097         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13098         * sysdeps/i386/i586/memset.S (memset): Likewise.
13099         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13100         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13101         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13102         macros.
13103         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13104         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13105         Change uses of L(2) to L(out).
13106         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13107         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13108         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13109         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13110         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13111         removed macros.
13112         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13113         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13114         macros.
13115         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13116         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13117         (RETURN): Do not use macro LEAVE.
13118         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13119         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13120         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13121         * sysdeps/i386/i686/memset.S (memset): Likewise.
13122         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13123         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13124         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13125         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13126         Likewise.
13127         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13128         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13129         L(1_2) and L(1_3) into L(1).
13130         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13131         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13132         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13133         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13134         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13135         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13136         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13137         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13138         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13139         macros.
13140         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13141         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13142         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13143         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13144         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13145         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13146         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13147         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13148         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13149         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13150         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13151         * sysdeps/i386/strspn.S (strspn): Likewise.
13152         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13153         conditional code.
13154         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13155         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13156         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13157         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13158         L(1_3) into L(1_1).
13159         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13160         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13161         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13162         macros.
13163         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13165 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13167         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13168         macro.
13170 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13172         * math/atest-exp.c (exp_mpn): Remove ROUND.
13173         * math/atest-exp2.c (exp_mpn): Likewise.
13174         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13176         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13177         * stdlib/tst-tls-atexit-lib.c: Likewise.
13178         * stdlib/tst-tls-atexit.c: Likewise.
13180 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13182         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13183         and __attribute_alloc_size__.
13185 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13187         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13188         __attribute_alloc_size__.
13189         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13190         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13192 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13194         * include/programs/xmalloc.h: New file.
13195         * catgets/gencat.c: Include it.
13196         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13197         * elf/pldd.c: Likewise.
13198         * iconv/iconv_charmap.c: Likewise.
13199         * iconv/iconvconfig.c: Likewise.
13200         * iconv/strtab.c: Likewise.
13201         * locale/programs/locale.c: Likewise.
13202         * locale/programs/localedef.h: Likewise.
13203         * locale/programs/simple-hash.c: Likewise.
13204         * nscd/nscd.h: Likewise.
13205         * nss/makedb.c: Likewise.
13206         * sysdeps/generic/ldconfig.h: Likewise.
13208 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13210         * Versions.def: Add GLIBC_2.18.
13211         * include/link.h (struct link_map): New member l_tls_dtor_count.
13212         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13213         (__call_tls_dtors): Likewise.
13214         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13215         __cxa_thread_atexit_impl.
13216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13217         Likewise.
13218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13219         Likewise.
13220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13221         Likewise.
13222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13223         Likewise.
13224         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13226         Likewise.
13227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13228         Likewise.
13229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13231         Likewise.
13232         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13233         (tests): Add test case tst-tls-atexit.
13234         (modules-names): Add shared library for tst-tls-atexit.
13235         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13236         (GLIBC_PRIVATE): Add __call_tls_dtors.
13237         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13238         for libstdc++.
13239         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13240         * stdlib/tst-tls-atexit.c: New test case.
13241         * stdlib/tst-tls-atexit-lib.c: New test case.
13243         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13245         * elf/Versions (ld): Add _dl_find_dso_for_object.
13246         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13247         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13248         (dl_open_worker): Use _dl_find_dso_for_object.
13249         * elf/dl-sym.c (do_sym): Likewise.
13250         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13252 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13254         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13255         Syntactic changes only.
13256         (_dl_runtime_profile): Do a tail-call to the resolved function.
13258 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13260         [BZ #13550]
13261         * sysdeps/x86_64/bp-asm.h: Remove file.
13262         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13263         <bp-sym.h> and <bp-asm.h>.
13264         (__clone): Do not use BP_SYM.
13265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13266         <bp-sym.h> and <bp-asm.h>.
13267         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13268         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13269         "bp-asm.h".
13270         (_setjmp): Do not use BP_SYM.
13271         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13272         "bp-asm.h".
13273         (setjmp): Do not use BP_SYM.
13274         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13275         libc_hidden_def.
13276         (mempcpy): Do not use BP_SYM in weak_alias.
13277         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13278         "bp-asm.h".
13279         (strchr): Do not use BP_SYM.
13280         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13281         "bp-asm.h".
13282         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13283         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13284         (_start): Do not use BP_SYM.
13285         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13286         "bp-asm.h".
13287         (strcat): Do not use BP_SYM.
13288         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13289         "bp-asm.h".
13290         (STRCMP): Do not use BP_SYM.
13291         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13292         "bp-asm.h".
13293         (STRCPY): Do not use BP_SYM.
13294         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13295         "bp-asm.h".
13296         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13297         "bp-asm.h".
13298         (FUNCTION): Do not use BP_SYM.
13299         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13300         weak_alias.
13301         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13303 2013-02-17  Andreas Jaeger  <aj@suse.de>
13305         * time/Versions: Sort entries.
13306         * string/Versions: Likewise.
13307         * resolv/Versions: Likewise.
13308         * posix/Versions: Likewise.
13309         * iconv/Versions: Likewise.
13310         * elf/Versions: Likewise.
13311         * wcsmbs/Versions: Likewise.
13313 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13315         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13316         loop termination condition.
13318         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13319         variable to calculate EZ.
13320         (__sqr): Likewise.
13322         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13323         the lower precision input.
13325 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13327         [BZ #13550]
13328         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13329         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13330         (run-via-rtld-prefix): Do not handle %-bp tests.
13331         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13332         (all-object-suffixes): Remove .ob.
13333         (bppfx): Remove variable.
13334         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13335         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13336         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13337         [$(build-bounded) = yes] (libtype.ob): Likewise.
13338         * Makerules (elide-routines.ob): Remove variable.
13339         (do-tests-clean): Do not handle *-bp.out.
13340         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13341         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13342         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13343         (tests): Do not include $(tests-bp.out).
13344         (xtests): Do not include $(xtests-bp.out).
13345         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13346         [$(build-bounded) = yes] ($(addprefix
13347         $(objpfx),$(binaries-bounded))): Remove rule.
13348         ($(objpfx)%-bp.out): Remove rule.
13349         * config.make.in (build-bounded): Remove variable.
13350         * crypt/Makefile [$(build-bounded) = yes]
13351         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13352         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13353         append to variable.
13354         [$(build-bounded) = yes] (install-lib): Likewise.
13355         [$(build-bounded) = yes] (generated): Likewise.
13356         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13357         Remove rule.
13358         * intl/Makefile [$(build-bounded) = yes]
13359         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13360         * math/Makefile [$(build-bounded) = yes]
13361         ($(tests:%=$(objpfx)%-bp): Likewise.
13362         * misc/Makefile [$(build-bounded) = yes]
13363         ($(objpfx)tst-tsearch-bp): Likewise.
13364         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13365         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13366         Remove dependency.
13367         * string/Makefile (o-objects.ob): Remove variable.
13368         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13369         (CFLAGS-.ob): Remove variable.
13370         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13371         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13372         both definitions of variable.
13373         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13374         (ASFLAGS-.ob): Remove variable.
13376 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13378         [BZ #13550]
13379         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13380         Remove __BOUNDED_POINTERS__ from condition.
13381         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13382         * string/bits/string2.h [!__NO_STRING_INLINES &&
13383         !__BOUNDED_POINTERS__]: Likewise.
13384         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13385         Likewise.
13386         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13387         Remove conditional code.
13388         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13389         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13390         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13391         condition.
13393         [BZ #13550]
13394         * csu/libc-start.c: Do not include <bp-sym.h>.
13395         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13396         * elf/dl-open.c: Do not include <bp-sym.h>.
13397         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13398         * math/fegetenv.c: Do not include <bp-sym.h>.
13399         (fegetenv): Do not use BP_SYM in versioned symbols.
13400         * nptl/sysdeps/pthread/bits/libc-lockP.h
13401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13402         <bp-sym.h>.
13403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13404         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13406         (__pthread_mutex_destroy): Likewise.
13407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13408         (__pthread_mutex_lock): Likewise.
13409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13410         (__pthread_mutex_trylock): Likewise.
13411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13412         (__pthread_mutex_unlock): Likewise.
13413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13414         (__pthread_mutexattr_init): Likewise.
13415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13416         (__pthread_mutexattr_destroy): Likewise.
13417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13418         (__pthread_mutexattr_settype): Likewise.
13419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13420         (__pthread_rwlock_init): Likewise.
13421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13422         (__pthread_rwlock_destroy): Likewise.
13423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13424         (__pthread_rwlock_rdlock): Likewise.
13425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13426         (__pthread_rwlock_tryrdlock): Likewise.
13427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13428         (__pthread_rwlock_wrlock): Likewise.
13429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13430         (__pthread_rwlock_trywrlock): Likewise.
13431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13432         (__pthread_rwlock_unlock): Likewise.
13433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13434         (__pthread_key_create): Likewise.
13435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13436         (__pthread_setspecific): Likewise.
13437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13438         (__pthread_getspecific): Likewise.
13439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13440         Likewise.
13441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13442         (_pthread_cleanup_push_defer): Likewise.
13443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13444         (_pthread_cleanup_pop_restore): Likewise.
13445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13446         (pthread_setcancelstate): Likewise.
13447         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13448         <bp-sym.h>.
13449         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13450         (memchr): Do not use BP_SYM in weak_alias.
13451         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13452         (fegetenv): Do not use BP_SYM in versioned symbols.
13453         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13454         (fesetenv): Do not use BP_SYM in versioned symbols.
13455         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13456         (feupdateenv): Do not use BP_SYM in versioned symbols.
13457         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13458         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13459         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13460         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13461         (open64): Do not use BP_SYM in weak_alias.
13462         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13463         (fegetenv): Do not use BP_SYM in versioned symbols.
13464         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13465         (fesetenv): Do not use BP_SYM in versioned symbols.
13466         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13467         (feupdateenv): Do not use BP_SYM in versioned symbols.
13468         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13469         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13470         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13471         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13472         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13473         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13474         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13475         <bp-sym.h>.
13476         (__libc_start_main): Do not use BP_SYM.
13478 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13481         redundant return line.
13482         (norm): Likewise.
13483         (denorm): Likewise.
13484         (dbl_mp): Likewise.
13485         (sub_magnitudes): Likewise.
13486         (__add): Likewise.
13487         (__sub): Likewise.
13488         (__mul): Likewise.
13489         (__inv): Likewise.
13490         (__dvd): Likewise.
13491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13492         (norm): Likewise.
13493         (denorm): Likewise.
13494         (dbl_mp): Likewise.
13495         (sub_magnitudes): Likewise.
13496         (__add): Likewise.
13497         (__sub): Likewise.
13498         (__mul): Likewise.
13499         (__inv): Likewise.
13500         (__dvd): Likewise.
13502         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13503         instead of __mul.
13504         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13505         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13506         (cc32): Likewise.
13508         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13509         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13510         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13511         of __mul for squares.
13512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13513         function
13514         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13515         Likewise.
13516         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13517         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13519 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13521         [BZ #13550]
13522         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13523         code.
13524         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13525         prototype or function definition.  Rename ubp_* variables and
13526         parameters.  Remove argv definitions conditional on
13527         [__BOUNDED_POINTERS__].
13528         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13529         * elf/dl-runtime.c (_dl_fixup): Likewise.
13530         * include/set-hooks.h (RUN_HOOK): Likewise.
13531         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13532         definition.
13533         * string/strcpy.c (strcpy): Do not use __unbounded.
13534         * sysdeps/generic/frame.h (struct layout): Likewise.
13535         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13536         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13537         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13538         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13539         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13540         (__backtrace): Likewise.
13541         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13542         use __ptrvalue.
13543         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13544         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13545         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13546         Likewise.
13547         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13548         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13549         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13550         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13551         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13552         Do not use __unbounded.
13553         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13554         Rename __unboundedrlimits parameter to rlimits in prototype.
13555         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13556         Do not use __unbounded.
13557         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13558         not use __ptrvalue.
13559         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13560         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13561         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13562         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13563         __ptrvalue or __unbounded.
13564         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13565         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13566         use __unbounded.
13567         (__new_msgctl): Do not use __ptrvalue.
13568         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13569         __unbounded.
13570         (__libc_msgrcv): Do not use __ptrvalue.
13571         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13572         startup_info): Do not use __unbounded.
13573         (__libc_start_main): Likewise.  Rename ubp_* variables and
13574         parameters.  Remove argv definitions conditional on
13575         [__BOUNDED_POINTERS__].
13576         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13577         __ptrvalue.
13578         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13579         use __unbounded.
13580         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13581         or __ptrvalue.
13582         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13583         use __unbounded.
13584         (__new_shmctl): Do not use __ptrvalue.
13585         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13586         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13587         Likewise.
13588         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13589         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13590         (__libc_sigaction): Likewise.
13591         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13592         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13593         Likewise.
13594         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13596 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13598         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13600         * string/mempcpy.c: Implement by calling memcpy.
13602 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13606         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13607         evaluation.
13609         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13610         values in the mantissa.
13612         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13613         minimize writes to Z.
13614         (sub_magnitudes): Simplify code a bit.
13616 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13618         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13619         from the message.  The linker prefixes all warnings with that already.
13621 2013-02-12  Andreas Schwab  <schwab@suse.de>
13623         [BZ #15078]
13624         * posix/regexec.c (extend_buffers): Add parameter min_len.
13625         (check_matching): Pass minimum needed length.
13626         (clean_state_log_if_needed): Likewise.
13627         (get_subexp): Likewise.
13628         * posix/Makefile (tests): Add bug-regex34.
13629         (bug-regex34-ENV): Define.
13630         * posix/bug-regex34.c: New file.
13632         [BZ #11561]
13633         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13634         elements compare against the byte sequence of it, not its name.
13635         * posix/Makefile (tests): Add bug-regex35.
13636         (bug-regex35-ENV): Define.
13637         * posix/bug-regex35.c: New file.
13639 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13641         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13642         comment.
13643         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13644         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13645         (CHECK_EOL): Add undef.
13647 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13649         * bits/stdlib-bsearch.h: New file.
13650         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13651         * stdlib/stdlib.h: Likewise.
13653 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13655         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13656         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13657         declaration.
13658         * manual/search.texi (Array Search Function): Add missing const in
13659         lfind prototype.
13660         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13661         declaration to use rlim_t.
13662         (Basic Scheduling Functions): Remove erroneous const from
13663         sched_getparam prototype.  Remove erroneous * from
13664         sched_get_priority_max and sched_get_priority_min prototypes.
13665         (Resource Usage): Fix summary @comment on vtimes to refer to
13666         sys/vtimes.h rather than vtimes.h.
13667         Add missing *s in vtimes prototype.
13668         (Limits on Resources): Fix ulimit prototype to return long int.
13669         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13670         prototypes to use long int rather than double.
13671         (BSD Random): Fix initstate and setstate to use char *, not void *.
13672         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13673         prototype to make second argument 'struct aiocb64 *const[]'.
13674         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13675         (Status of AIO Operations): Remove erroneous const in aio_return and
13676         aio_return64 prototypes.
13677         (Synchronizing I/O): Fix sync prototype to return void.
13678         * manual/startup.texi (Suboptions): Remove an erroneous const in
13679         getsubopt prototype.
13680         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13681         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13682         use size_t rather than int.
13683         (Scanning All Users): Likewise for getpwent_r.
13684         (Setting Groups): Add missing const to setgroups prototype.
13685         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13686         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13687         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13688         'const void *' rather than 'const char *'.
13689         (Host Address Functions): Likewise for inet_ntop.
13690         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13691         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13692         ssize_t for return value.
13693         (Sending Data): Likewise for send, sendto, sendmsg.
13694         (Socket Option Functions): Add a missing const in setsockopt prototype.
13695         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13696         use wchar_t for the argument.
13697         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13698         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13699         take no arguments.
13700         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13701         double/float/long double for second argument.
13702         Fix return types of significand, significandf, significandl.
13703         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13704         argument in fchmod prototype.
13705         (File Owner): Use uid_t and gid_t in fchown prototype.
13706         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13707         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13708         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13709         use 'const struct dirent **' as argument types to CMP function pointer
13710         argument.
13711         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13712         (File Times): Fix summary magic @comment for struct utimbuf and utime
13713         to refer to utime.h, not time.h.
13714         * manual/string.texi (Argz Functions): Add missing const in
13715         argz_extract and argz_next prototypes.
13716         (Finding Tokens in a String): Likewise for basename.
13717         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13718         (Copying and Concatenation): Fix typo in wmemmove prototype.
13719         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13720         (Signal Stack): Remove erroneous const in sigstack prototype.
13721         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13722         prototype.
13723         (Simple Calendar Time): Likewise for stime.
13724         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13725         prototype.
13726         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13727         say sys/sysctl.h instead.
13728         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13729         and vsyslog prototypes.
13731 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13733         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13734         Remove.
13736 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13738         * misc/sys/mman.h: Fix typo in mremap comment.
13740 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13742         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13743         the '\0' terminator.
13745 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13747         [BZ #13550]
13748         * debug/segfault.c: Don't include <bp-checks.h>.
13749         * sysdeps/generic/bp-checks.h: Remove file.
13750         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13751         (__GETDENTS): Don't use CHECK_N.
13752         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13753         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13754         (__getgroups): Don't use CHECK_N.
13755         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13756         (setgroups): Don't use CHECK_N.
13757         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13758         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13759         (__libc_msgrcv): Don't use CHECK_N.
13760         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13761         (__libc_msgsnd): Don't use CHECK_N.
13762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13763         <bp-checks.h>.
13764         (__libc_pread): Don't use CHECK_N.
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13766         include <bp-checks.h>.
13767         (__libc_pread64): Don't use CHECK_N.
13768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13769         include <bp-checks.h>.
13770         (__libc_pwrite): Don't use CHECK_N.
13771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13772         include <bp-checks.h>.
13773         (__libc_pwrite64): Don't use CHECK_N.
13774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13775         <bp-checks.h>.
13776         (__libc_pread): Don't use CHECK_N.
13777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13778         include <bp-checks.h>.
13779         (__libc_pread64): Don't use CHECK_N.
13780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13781         include <bp-checks.h>.
13782         (__libc_pwrite): Don't use CHECK_N.
13783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13784         include <bp-checks.h>.
13785         (__libc_pwrite64): Don't use CHECK_N.
13786         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13787         (do_pread): Don't use CHECK_N.
13788         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13789         (do_pread64): Don't use CHECK_N.
13790         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13791         (do_pwrite): Don't use CHECK_N.
13792         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13793         (do_pwrite64): Don't use CHECK_N.
13794         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13795         (__libc_readv): Don't use CHECK_N.
13796         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13797         (semop): Don't use CHECK_N.
13798         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13799         <bp-checks.h>.
13800         (semtimedop): Don't use CHECK_N.
13801         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13802         (__libc_pread): Don't use CHECK_N.
13803         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13804         <bp-checks.h>.
13805         (__libc_pread64): Don't use CHECK_N.
13806         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13807         <bp-checks.h>.
13808         (__libc_pwrite): Don't use CHECK_N.
13809         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13810         <bp-checks.h>.
13811         (__libc_pwrite64): Don't use CHECK_N.
13812         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13813         <bp-checks.h>.
13814         (__libc_msgrcv): Don't use CHECK_N.
13815         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13816         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13817         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13818         (__libc_writev): Don't use CHECK_N.
13820 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13822         * string/strcpy.c: Removed unused variable.
13824         * Makeconfig (+sysdep-includes): Define with := rather than =.
13825         Use an existing include/ subdir of each sysdeps dir before it.
13827 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13829         * nscd/connection.c (register_traced_file): Comment function.
13830         [HAVE_INOTIFY] (union __inev): Define.
13831         [HAVE_INOTIFY] (inotify_check_files): New function.
13832         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13833         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13834         clear_db_cache.
13835         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13837 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13839         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13840         loaded if not already and that a failure is permanent.
13842 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13844         [BZ #15006]
13845         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13846         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13848 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13850         [BZ #13550]
13851         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13852         (CHECK_1_NULL_OK): Likewise.
13853         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13854         (__fxstat): Do not use CHECK_1.
13855         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13856         <bp-checks.h>.
13857         (___fxstat64): Do not use CHECK_1.
13858         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13859         <bp-checks.h>.
13860         (__fxstatat): Do not use CHECK_1.
13861         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13862         <bp-checks.h>.
13863         (__fxstatat64): Do not use CHECK_1.
13864         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13865         <bp-checks.h>.
13866         (__fxstat): Do not use CHECK_1.
13867         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13868         <bp-checks.h>.
13869         (__fxstatat): Do not use CHECK_1.
13870         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13871         <bp-checks.h>.
13872         (__getresgid): Do not use CHECK_1.
13873         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13874         <bp-checks.h>.
13875         (__getresuid): Do not use CHECK_1.
13876         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13877         <bp-checks.h>.
13878         (__lxstat): Do not use CHECK_1.
13879         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13880         <bp-checks.h>.
13881         (__old_msgctl): Do not use CHECK_1.
13882         (__new_msgctl): Likewise.
13883         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13884         <bp-checks.h>.
13885         (__new_setrlimit): Do not use CHECK_1.
13886         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13887         <bp-checks.h>.
13888         (__old_shmctl): Do not use CHECK_1.
13889         (__new_shmctl): Likewise.
13890         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13891         <bp-checks.h>.
13892         (__xstat): Do not use CHECK_1.
13893         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13894         (__lxstat): Do not use CHECK_1.
13895         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13896         <bp-checks.h>.
13897         (___lxstat64): Do not use CHECK_1.
13898         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13899         (__old_msgctl): Do not use CHECK_1.
13900         (__new_msgctl): Likewise.
13901         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13902         <bp-checks.h>.
13903         (__gettimeofday): Do not use CHECK_1.
13904         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13905         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13906         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13907         <bp-checks.h>.
13908         (__gettimeofday): Do not use CHECK_1.
13909         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13910         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13911         (__new_shmctl): Do not use CHECK_1.
13912         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13913         <bp-checks.h>.
13914         (do_sigtimedwait): Do not use CHECK_1.
13915         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13916         <bp-checks.h>.
13917         (do_sigwaitinfo): Do not use CHECK_1.
13918         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13919         <bp-checks.h>.
13920         (msgctl): Do not use CHECK_1.
13921         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13922         <bp-checks.h>.
13923         (shmctl): Do not use CHECK_1.
13924         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13925         (ustat): Do not use CHECK_1.
13926         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13927         <bp-checks.h>.
13928         (__fxstat): Do not use CHECK_1.
13929         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13930         <bp-checks.h>.
13931         (__fxstatat): Do not use CHECK_1.
13932         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13933         <bp-checks.h>.
13934         (__lxstat): Do not use CHECK_1.
13935         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13936         <bp-checks.h>.
13937         (__xstat): Do not use CHECK_1.
13938         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13939         (__xstat): Do not use CHECK_1.
13940         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13941         (___xstat64): Do not use CHECK_1.
13943         [BZ #13550]
13944         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13945         definitions.
13946         (CHECK_BOUNDS_HIGH): Likewise.
13947         * string/strcpy.c: Do not include <bp-checks.h>.
13948         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13950 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13952         * nscd/nscd-client.h (__nscd_drop_map_ref):
13953         Add __attribute__ ((unused)).
13954         * nis/nss-nisplus.h (niserr2nss): Likewise.
13956         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13957         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13959         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13960         Remove inline keyword.
13961         * include/rounding-mode.h (round_away): Likewise.
13962         * libio/wfileops.c (adjust_wide_data): Likewise.
13963         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13964         (__m128i_strloadu_tolower): Likewise.
13965         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13966         (__m128i_strloadu_tolower): Likewise.
13967         * time/mktime.c (ydhms_diff): Likewise.
13968         * locale/elem-hash.h (elem_hash): Likewise.
13969         * locale/setlocale.c (setdata): Likewise.
13970         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13971         (re_string_wchar_at): Likewise.
13972         (bitset_not, bitset_merge, bitset_mask): Likewise.
13973         [!(__GNUC__ > 3)] (inline): Remove macro.
13974         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13975         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13976         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13977         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13978         * string/memcmp.c (memcmp_bytes): Likewise.
13979         * locale/programs/locarchive.c (compute_hashval): Likewise.
13980         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13981         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13982         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13983         * nss/getent.c (print_rpc, print_protocols): Likewise.
13984         (print_passwd, print_group, print_aliases): Likewise.
13985         * nis/nss-nisplus.h (niserr2nss): Likewise.
13986         * nscd/connections.c (restart_p): Likewise.
13987         Change return type to bool.
13989 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13991         * Makeconfig (all-Depend-files): Add existing
13992         $(sorted-subdirs:=/Depend) files.
13993         (all-subdirs): Remove nss.
13994         * sysdeps/unix/inet/Subdirs: Add it here instead.
13995         * hesiod/Depend: New file.
13997         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13998         instead of calling alloca.
14000         * io/lseek.c (__lseek): Rename to __libc_lseek.
14001         Define __lseek as an alias.
14003         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14005 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14007         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14008         else clause and remove check for non-standard endianness.
14010 2013-02-04  David S. Miller  <davem@davemloft.net>
14012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14014 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14016         [BZ #13550]
14017         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14018         (__ubp_memchr): Remove prototype.
14019         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14020         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14021         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14022         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14023         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14024         Remove alias.
14025         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14026         (__ubp_memchr): Likewise.
14027         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14028         (__ubp_memchr): Likewise.
14029         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14030         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14031         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14032         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14033         CHECK_STRING.
14034         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14035         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14036         (__getcwd): Do not use CHECK_STRING.
14037         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14038         <bp-checks.h>.
14039         (__real_chown): Do not use CHECK_STRING.
14040         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14041         <bp-checks.h>.
14042         (fchownat): Do not use CHECK_STRING.
14043         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14044         CHECK_STRING.
14045         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14046         <bp-checks.h>.
14047         (__lchown): Do not use CHECK_STRING.
14048         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14049         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14050         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14051         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14053         include <bp-checks.h>.
14054         (truncate64): Do not use CHECK_STRING.
14055         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14056         <bp-checks.h>.
14057         (__real_chown): Do not use CHECK_STRING.
14058         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14059         <bp-checks.h>.
14060         (__lchown): Do not use CHECK_STRING.
14061         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14062         <bp-checks.h>.
14063         (__chown): Do not use CHECK_STRING.
14064         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14065         <bp-checks.h>.
14066         (truncate64): Do not use CHECK_STRING.
14067         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14068         Likewise.
14069         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14070         (__xmknod): Do not use CHECK_STRING.
14071         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14072         <bp-checks.h>.
14073         (__xmknodat): Do not use CHECK_STRING.
14074         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14075         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14077 2013-02-04  Andreas Schwab  <schwab@suse.de>
14079         [BZ #14142]
14080         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14081         * include/netdb.h: Likewise for h_errno.
14082         * elf/tst-stackguard1.c: Include <tls.h>.
14084 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14086         * elf/link.h (struct link_map): Extend the l_addr comment.
14087         * include/link.h (struct link_map): Likewise.
14089 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14091         [BZ #13550]
14092         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14093         (BOUNDED_1): Remove macro.
14094         * debug/backtrace.c: Don't include <bp-checks.h>.
14095         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14096         (__backtrace): Likewise.
14097         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14098         <bp-checks.h>.
14099         (__backtrace): Don't use BOUNDED_1.
14100         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14101         <bp-checks.h>.
14102         (__backtrace): Don't use BOUNDED_1.
14103         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14104         (__backtrace): Don't use BOUNDED_1.
14105         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14106         (shmat): Don't use BOUNDED_N.
14108 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14110         [BZ #13550]
14111         * sysdeps/generic/bp-start.h: Remove file.
14112         * csu/libc-start.c: Don't include <bp-start.h>.
14113         (LIBC_START_MAIN): Set up __environ directly instead of using
14114         INIT_ARGV_and_ENVIRON.
14115         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14116         <bp-start.h>.
14118         [BZ #13550]
14119         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14120         definitions.
14121         (CHECK_FCNTL): Likewise.
14122         (CHECK_N_PAGES): Likewise.
14124         [BZ #13550]
14125         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14126         definitions.
14127         (CHECK_SIGSET_NULL_OK): Likewise.
14128         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14129         <bp-checks.h>.
14130         (sigpending): Don't use CHECK_SIGSET.
14131         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14132         <bp-checks.h>.
14133         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14134         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14135         <bp-checks.h>.
14136         (do_sigsuspend): Don't use CHECK_SIGSET.
14137         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14138         use CHECK_SIGSET.
14139         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14140         (do_sigwait): Don't use CHECK_SIGSET.
14141         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14142         use CHECK_SIGSET.
14143         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14144         include <bp-checks.h>.
14145         (sigpending): Don't use CHECK_SIGSET.
14146         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14147         include <bp-checks.h>.
14148         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14149         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14150         <bp-checks.h>.
14151         (sigpending): Don't use CHECK_SIGSET.
14152         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14153         <bp-checks.h>.
14154         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14156         [BZ #13550]
14157         * sysdeps/generic/bp-semctl.h: Remove file.
14158         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14159         <bp-checks.h> and <bp-semctl.h>.
14160         (__old_semctl): Don't use CHECK_SEMCTL.
14161         (__new_semctl): Likewise.
14162         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14163         and <bp-semctl.h>.
14164         (__old_semctl): Don't use CHECK_SEMCTL.
14165         (__new_semctl): Likewise.
14166         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14167         <bp-checks.h> and <bp-semctl.h>.
14168         (__old_semctl): Don't use CHECK_SEMCTL.
14169         (__new_semctl): Likewise.
14170         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14171         <bp-checks.h> and <bp-semctl.h>.
14172         (semctl): Don't use CHECK_SEMCTL.
14174         [BZ #13550]
14175         * Makerules (elide-bp-thunks): Remove variable.
14176         (elide-routines.oS): Don't use $(elide-bp-thunks).
14177         (elide-routines.os): Likewise.
14178         (elide-routines.o): Likewise.
14179         (elide-routines.op): Likewise.
14180         (elide-routines.og): Likewise.
14181         (objects): Don't use $(bp-thunks).
14182         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14183         include.
14184         (common-generated): Do not add s-proto-bp.d.
14185         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14186         (int): Likewise.
14187         (typ): Likewise.
14188         Do not generate makefile rules for bounded-pointer thunks.
14189         * sysdeps/generic/bp-thunks.h: Remove file.
14190         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14191         * sysdeps/unix/s-proto-bp.S: Likewise.
14193         [BZ #15062]
14194         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14195         parts of result separately when argument is not close to line from
14196         -i to i and one part of argument is small.
14197         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14198         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14199         * math/libm-test.inc (cacos_test): Add more tests.
14200         (casin_test): Likewise.
14201         (casinh_test): Likewise.
14202         * sysdeps/i386/fpu/libm-test-ulps: Update.
14203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14205 2013-01-31  David S. Miller  <davem@davemloft.net>
14207         * po/de.po: Update from translation team.
14209 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14211         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14213 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14215         * configure.in (_AC_PROG_CC_C89): New definition.
14216         * configure: Regenerate.
14218         * configure.in (AC_PROG_CPP): New definition.
14219         * configure: Regenerate.
14221 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14223         * debug/tst-backtrace.h: New file.
14224         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14225         (ret): Remove variable.
14226         (x): Likewise.
14227         (FAIL): Remove macro.
14228         (NO_INLINE): Likewise.
14229         (fn1): Use match function instead of strstr.
14230         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14231         (ret): Remove variable.
14232         (x): Likewise.
14233         (FAIL): Remove macro.
14234         (NO_INLINE): Likewise.
14235         (fn): Use match function instead of strstr.
14236         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14237         (ret): Remove variable.
14238         (x): Likewise.
14239         (FAIL): Remove macro.
14240         (NO_INLINE): Likewise.
14241         (handle_signal): Use match function instead of strstr.
14242         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14243         (ret): Remove variable.
14244         (x): Likewise.
14245         (FAIL): Remove macro.
14246         (NO_INLINE): Likewise.
14247         (handle_signal): Use match function instead of strstr.
14249 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14251         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14253 2013-01-23  David S. Miller  <davem@davemloft.net>
14255         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14256         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14257         argument of CAS if possible.
14258         * sysdeps/sparc/sparc64/bits/atomic.h
14259         (__arch_compare_and_exchange_val_32_acq): Likewise.
14260         (__arch_compare_and_exchange_val_64_acq): Likewise.
14262 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14264         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14265         * sysdeps/posix/ulimit.c: ... this.
14266         Include <limits.h>.
14267         * sysdeps/unix/bsd/ulimit.c: Remove file.
14269 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14271         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14272         (LDFLAGS-tst-array5): Likewise.
14274 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14276         [BZ #15036]
14277         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14278         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14279         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14280         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14282 2013-01-21  David S. Miller  <davem@davemloft.net>
14284         * sysdeps/sparc/backtrace.c: New file.
14285         * sysdeps/sparc/sparc32/backtrace.h: New file.
14286         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14287         * sysdeps/sparc/sparc64/backtrace.h: New file.
14288         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14289         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14290         -funwind-tables.
14292 2013-01-21  Andreas Schwab  <schwab@suse.de>
14294         [BZ #15020]
14295         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14296         closed its stdout.
14298 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14300         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14301         "mpa2.h".
14302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14304 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14305             Mark Mitchell  <mark@codesourcery.com>
14306             Tom de Vries  <tom@codesourcery.com>
14307             Paul Pluzhnikov  <ppluzhnikov@google.com>
14309         * debug/tst-backtrace2.c: New file.
14310         * debug/tst-backtrace3.c: Likewise.
14311         * debug/tst-backtrace4.c: Likewise.
14312         * debug/tst-backtrace5.c: Likewise.
14313         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14314         (CFLAGS-tst-backtrace3.c): Likewise.
14315         (CFLAGS-tst-backtrace4.c): Likewise.
14316         (CFLAGS-tst-backtrace5.c): Likewise.
14317         (LDFLAGS-tst-backtrace2): Likewise.
14318         (LDFLAGS-tst-backtrace3): Likewise.
14319         (LDFLAGS-tst-backtrace4): Likewise.
14320         (LDFLAGS-tst-backtrace5): Likewise.
14321         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14322         tst-backtrace4 and tst-backtrace5.
14324 2013-01-18  Anton Blanchard  <anton@samba.org>
14325             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14327         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14328         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14329         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14330         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14332         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14333         "+r" and remove output regs list as redundant.  Add explicit inline
14334         asm to specify register of return val to work around compiler codegen
14335         bug.  Remove (int) cast on return value.  Add return type parameter to
14336         use in macro so that this macro does not truncate return value for
14337         64-bit values.
14338         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14339         pass to INTERNAL_VSYSCALL_NCS.
14340         (INLINE_VSYSCALL): Add 'long int' as return type to
14341         INTERNAL_VSYSCALL_NCS macro invocation.
14342         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14343         INTERNAL_VSYSCALL_NCS macro invocation.
14344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14346 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14348         [BZ #14496]
14349         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14350         Fix application of SIMD FP exception mask.
14352         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14353         mp_no from a power of two.
14354         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14355         __mpexp_twomm1.  Use __pow_mp.
14357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14358         multiplication.
14360 2013-01-17  David S. Miller  <davem@davemloft.net>
14362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14364 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14366         [BZ #15023]
14367         * include/complex.h: Condition contents on [!_COMPLEX_H].
14368         (__kernel_casinhf): New prototype.
14369         (__kernel_casinh): Likewise.
14370         (__kernel_casinhl): Likewise.
14371         * math/Makefile (libm_calls): Add k_casinh.
14372         * math/k_casinh.c: New file.
14373         * math/k_casinhf.c: Likewise.
14374         * math/k_casinhl.c: Likewise.
14375         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14376         finite nonzero arguments.
14377         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14378         finite nonzero arguments.
14379         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14380         finite nonzero arguments.
14381         * math/s_casinh.c: Do not include <float.h>.
14382         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14383         * math/s_casinhf.c: Do not include <float.h>.
14384         (__casinhf): Move code for finite nonzero arguments to
14385         k_casinhf.c.
14386         * math/s_casinhl.c: Do not include <float.h>.
14387         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14388         redefine.
14389         (__casinhl): Move code for finite nonzero arguments to
14390         k_casinhl.c.
14391         * math/libm-test.inc (cacos_test): Add more tests.
14392         * sysdeps/i386/fpu/libm-test-ulps: Update.
14393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14395 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14397         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14398         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14399         [!HAVE_MREMAP]: Remove [defined linux] case.
14400         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14402 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14404         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14406 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14408         * elf/elf.h (R_386_SIZE32): New relocation.
14409         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14410         R_386_SIZE32.
14411         (elf_machine_rela): Likewise.
14412         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14413         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14415 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14417         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14418         (FP_FAST_FMA): Do not define.
14419         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14420         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14421         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14422         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14423         !_SOFT_FLOAT]: Likewise.
14424         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14425         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14426         value.
14427         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14428         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14429         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14430         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14431         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14432         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14433         file.
14435 2013-01-16  Andreas Schwab  <schwab@suse.de>
14437         [BZ #14327]
14438         * include/stdlib.h (__mktemp): Add declaration.
14439         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14440         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14442 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14444         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14445         definitions.
14446         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14447         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14448         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14449         definitions here.
14450         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14451         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14452         definitions.
14453         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14454         and ONE.
14455         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14456         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14457         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14458         definitions.
14459         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14460         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14461         definitions.
14462         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14464         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14466 2013-01-15  David S. Miller  <davem@davemloft.net>
14468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14469         trunc{,f} to libm-sysdep_routes.
14470         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14472         file.
14473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14475         file.
14476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14477         file.
14478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14480         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14481         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14482         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14483         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14484         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14485         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14488         nearbyint{,f} to libm-sysdep_routes.
14489         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14491         New file.
14492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14493         file.
14494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14495         New file.
14496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14497         file.
14498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14500         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14501         file.
14502         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14503         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14504         file.
14505         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14506         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14507         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14509         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14510         libc_feholdexcept and libc_fesetenv.
14512 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14514         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14516 2013-01-14  David S. Miller  <davem@davemloft.net>
14518         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14519         (SPARC_ASM_VIS2_IFUNC): Likewise.
14520         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14522         use of 'siam' instruction.
14523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14524         Likewise.
14525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14526         Likewise.
14527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14528         Likewise.
14529         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14530         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14532         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14534         file.
14535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14536         file.
14537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14538         file.
14539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14540         file.
14541         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14542         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14543         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14544         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14546         new VIS2 routines.
14547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14550         Likewise.
14551         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14552         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14553         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14556         routines to libm-sysdep_routines.
14557         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14560         fdim/fdimf to libm-sysdep_routines.
14561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14562         file.
14563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14565         file.
14566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14569         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14570         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14571         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14572         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14574 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14576         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14577         to optimize copies.
14579         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14584         local variable MPTWO.
14585         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14586         Likewise.
14588 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14590         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14591         GLOB_NOESCAPE.
14593 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14595         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14597 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14599         * manual/pattern.texi (glob_t): Document gl_flags.
14600         (glob64_t): Likewise.
14602 2013-01-11  David S. Miller  <davem@davemloft.net>
14604         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14605         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14606         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14607         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14608         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14609         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14610         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14611         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14612         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14613         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14614         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14615         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14616         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14618         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14619         sparc V9 rather than using V8 code.
14620         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14621         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14623         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14624         Move to...
14625         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14626         Here.
14628 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14630         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14631         not in the main loop.
14632         * configure: Regenerated.
14634 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14636         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14637         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14638         to just #else.
14639         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14640         [!__GLIBC_HAVE_LONG_LONG] case.
14641         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14642         condition to just #else.
14643         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14644         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14645         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14646         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14647         unconditional.
14648         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14649         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14650         #elif condition to just #else.
14651         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14652         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14653         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14654         #elif condition to just #else.
14656 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14658         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14659         (EF_MIPS_ARCH_64): Fix value.
14660         (EF_MIPS_ARCH_32R2): New.
14661         (EF_MIPS_ARCH_64R2): New.
14663 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14665         * Makeconfig (+link-pie-before-libc): New.
14666         (+link-pie-after-libc): Likewise.
14667         (+link-pie-tests): Likewise.
14668         (+link-pie): Rewritten.
14669         (link-before-libc): Remove $(config-LDFLAGS).
14670         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14671         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14672         (config-LDFLAGS): Renamed to ...
14673         (rtld-LDFLAGS): This.
14674         (rtld-tests-LDFLAGS): New macro.
14675         (link-libc-rpath-link): Likewise.
14676         (link-libc-tests-rpath-link): Likewise.
14677         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14678         (link-libc): Prepand $(link-libc-rpath-link).
14679         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14680         (test-program-prefix): New macro.
14681         (test-via-rtld-prefix): Likewise.
14682         (test-program-cmd): Likewise.
14683         (host-test-program-cmd): Likewise.
14684         * Makefile ($(common-objpfx)testrun.sh): Replace
14685         $(run-program-prefix) with $(test-program-prefix).
14686         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14687         $(rtld-LDFLAGS).
14688         ($(common-objpfx)shlib.lds): Likewise.
14689         (build-module-helper): Likewise.
14690         ($(common-objpfx)format.lds): Likewise.
14691         * Rules (binaries-pie-tests): New.
14692         (binaries-pie-notests): Likewise.
14693         (binaries-pie): Rewritten.
14694         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14695         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14696         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14697         (make-test-out): Replace $(host-built-program-cmd) with
14698         $(host-test-program-cmd).
14699         * config.make.in (build-hardcoded-path-in-tests): New variable.
14700         * configure.in (--enable-hardcoded-path-in-tests): New configure
14701         option.
14702         (hardcoded_path_in_tests): New AC_SUBST.
14703         * configure: Regenerated.
14704         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14705         $(built-program-cmd) with $(test-program-cmd).
14706         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14707         (test_program_cmd): This.
14708         * elf/Makefile ($(objpfx)order.out): Run test with
14709         $(test-program-prefix).
14710         ($(objpfx)order2.out): Likewise.
14711         ($(objpfx)tst-initorder.out): Likewise.
14712         ($(objpfx)tst-initorder2.out): Likewise.
14713         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14714         $(test-program-cmd).
14715         ($(objpfx)tst-array1-static.out): Likewise.
14716         ($(objpfx)tst-array2.out): Likewise.
14717         ($(objpfx)tst-array3.out): Likewise.
14718         ($(objpfx)tst-array4.out): Likewise.
14719         ($(objpfx)tst-array5.out): Likewise.
14720         ($(objpfx)tst-array5-static.out): Likewise.
14721         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14722         $(test-program-cmd).
14723         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14724         $(run-program-prefix) with $(test-program-prefix).
14725         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14726         (test_program_prefix): This.
14727         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14728         $(run-program-prefix) with $(test-program-prefix).
14729         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14730         (test_program_prefix): This.
14731         * iconvdata/tst-tables.sh: Likewise.
14732         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14733         $(run-program-prefix) with $(test-program-prefix).
14734         ($(objpfx)tst-translit.out): Likewise.
14735         ($(objpfx)tst-gettext2.out): Likewise.
14736         ($(objpfx)tst-gettext4.out): Likewise.
14737         ($(objpfx)tst-gettext6.out): Likewise.
14738         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14739         (test_program_prefix): This.
14740         * intl/tst-gettext2.sh: Likewise.
14741         * intl/tst-gettext4.sh  Likewise.
14742         * intl/tst-gettext6.sh: Likewise.
14743         * intl/tst-translit.sh: Likewise.
14744         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14745         with $(test-program-cmd).
14746         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14747         $(run-program-prefix) with $(test-program-prefix).
14748         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14749         (test_program_prefix): This.
14750         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14751         $(run-program-prefix) with $(test-program-prefix).
14752         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14753         (test_program_prefix): This.
14754         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14755         * posix/Makefile ($(objpfx)globtest.out): Replace
14756         $(run-via-rtld-prefix) and $(test-wrapper) with
14757         $(test-program-prefix) and $(test-via-rtld-prefix).
14758         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14759         $(test-program-prefix).
14760         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14761         $(host-test-program-cmd).
14762         (tst-spawn-ARGS): Likewise.
14763         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14764         $(test-program-prefix).
14765         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14766         (test_via_rtld_prefix): This.
14767         (test_wrapper): Renamed to ...
14768         (test_program_prefix): This.
14769         (run_program_prefix): Replaced by test_program_prefix.
14770         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14771         (test_program_prefix): This.
14772         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14773         with $(host-test-program-cmd).
14774         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14775         $(run-program-prefix) with $(test-program-prefix).
14776         ($(objpfx)tst-printf.out): Likewise.
14777         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14778         $(test-program-cmd).
14779         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14780         (test_program_prefix): This.
14781         * stdio-common/tst-unbputc.sh: Likewise.
14782         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14783         $(run-program-prefix) with $(test-program-prefix).
14784         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14785         (test_program_prefix): This.
14786         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14787         $(built-program-cmd) with $(test-program-cmd).
14789 2013-01-11  Andreas Jaeger  <aj@suse.de>
14791         [BZ #15003]
14792         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14793         value. Sync with Linux 3.7.
14795 2013-01-10  David S. Miller  <davem@davemloft.net>
14797         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14798         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14799         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14801 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14803         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14804         never set.
14805         * configure: Regenerated.
14807 2013-01-10  David S. Miller  <davem@davemloft.net>
14809         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14810         sparc V9 rather than using V8 code.
14811         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14812         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14814 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14816         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14817         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14818         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14819         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14820         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14821         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14822         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14823         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14824         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14825         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14826         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14827         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14828         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14829         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14830         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14831         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14832         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14833         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14834         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14835         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14836         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14837         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14838         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14839         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14840         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14841         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14842         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14844 2013-01-10  David S. Miller  <davem@davemloft.net>
14846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14848 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14850         * posix/Makefile (tests-static): New variable.
14851         (tests): Add $(tests-static).
14852         (tst-exec-static-ARGS): New variable.
14853         (tst-spawn-static-ARGS): Likewise.
14854         * posix/tst-exec-static.c: New file.
14855         * posix/tst-spawn-static.c: Likewise.
14856         * posix/tst-exec.c: Support run directly.
14857         * posix/tst-spawn.c: Likewise.
14859 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14861         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14862         long.
14863         * math/bits/mathcalls.h (llrint): Likewise.
14864         (llround): Likewise.
14865         * stdlib/stdlib.h (struct drand48_data): Likewise.
14866         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14867         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14868         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14869         Likewise.
14870         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14871         Likewise.
14872         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14873         (elf_greg_t): Likewise.
14874         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14875         (__jmp_buf): Likewise.
14876         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14877         definitions.
14878         (llrint): Likewise, for all definitions.
14879         (llrintl): Likewise.
14881         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14882         Remove [__GNUC__] condition.
14883         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14884         condition to just [__USE_ISOC99].
14885         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14887 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14889         [BZ #14200]
14890         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14891         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14892         defined.
14893         (_POSIX_V6_ILP32_OFF32): Likewise.
14894         (_XBS5_ILP32_OFF32): Likewise.
14895         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14896         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14898 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14900         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14902         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14903         doubles __mpexp_twomm1.  Adjust usage.
14904         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14905         Remove.
14907 2013-01-10  Andreas Schwab  <schwab@suse.de>
14909         [BZ #14964]
14910         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14911         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14913 2013-01-09  David S. Miller  <davem@davemloft.net>
14915         [BZ #15003]
14916         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14917         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14918         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14919         TCP_FASTOPEN): Define.
14920         (tcp_repair_opt): New structure.
14921         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14922         enum values.
14923         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14924         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14925         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14926         (tcp_cookie_transactions): New structure.
14928 2013-01-09  Anton Blanchard  <anton@samba.org>
14930         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14931         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14932         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14933         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14935 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14937         * include/features.h (__USE_ANSI): Remove.
14939 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14941         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14943         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14945 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14947         * sysdeps/s390/fpu/libm-test-ulps: Update.
14949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14951         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14952         (__acr): Likewise.
14953         (__cpy): Likewise.
14954         (norm): Likewise.
14955         (denorm): Likewise.
14956         (__mp_dbl): Likewise.
14957         (__dbl_mp): Likewise.
14958         (add_magnitudes): Likewise.
14959         (sub_magnitudes): Likewise.
14960         (__add): Likewise.
14961         (__sub): Likewise.
14962         (__mul): Likewise.
14963         (__inv): Likewise.
14964         (__dvd): Likewise.
14965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14966         (__acr): Likewise.
14967         (__cpy): Likewise.
14968         (norm): Likewise.
14969         (denorm): Likewise.
14970         (__mp_dbl): Likewise.
14971         (__dbl_mp): Likewise.
14972         (add_magnitudes): Likewise.
14973         (sub_magnitudes): Likewise.
14974         (__add): Likewise.
14975         (__sub): Likewise.
14976         (__mul): Likewise.
14977         (__inv): Likewise.
14978         (__dvd): Likewise.
14979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14980         (__acr): Likewise.
14981         (__cpy): Likewise.
14982         (norm): Likewise.
14983         (denorm): Likewise.
14984         (__mp_dbl): Likewise.
14985         (__dbl_mp): Likewise.
14986         (add_magnitudes): Likewise.
14987         (sub_magnitudes): Likewise.
14988         (__add): Likewise.
14989         (__sub): Likewise.
14990         (__mul): Likewise.
14991         (__inv): Likewise.
14992         (__dvd): Likewise.
14994 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14996         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14997         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14998         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14999         2 && __USE_EXTERN_INLINES]: Likewise.
15001 2013-01-08  Andreas Jaeger  <aj@suse.de>
15003         [BZ# 14985]
15004         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15005         Remove.
15006         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15007         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15009 2013-01-07  Anton Blanchard  <anton@samba.org>
15011         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15012         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15013         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15014         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15015         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15016         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15017         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15018         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15020         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15021         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15022         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15023         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15024         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15025         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15026         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15027         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15028         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15029         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15030         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15031         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15032         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15033         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15034         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15035         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15036         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15037         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15038         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15039         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15040         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15041         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15043         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15044         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15045         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15046         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15047         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15048         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15049         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15050         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15051         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15052         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15053         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15055 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15057         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15058         (__MALLOC_PMT): Likewise.
15059         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15060         [__GNUC__], only on [_LIBC].
15061         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15062         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15063         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15064         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15065         forward declaration.
15066         (realloc_hook_ini): Likewise.
15067         (memalign_hook_ini): Likewise.
15068         (__libc_memalign): Do not use __MALLOC_PMT in variable
15069         declaration.
15070         (__libc_valloc): Likewise.
15071         (__libc_pvalloc): Likewise.
15072         (__libc_calloc): Likewise.
15073         (__posix_memalign): Likewise.
15075         [BZ #14996]
15076         * math/s_casinh.c: Include <float.h>.
15077         (__casinh): Do not do computation with squaring and square root
15078         for large arguments.
15079         * math/s_casinhf.c: Include <float.h>.
15080         (__casinhf): Do not do computation with squaring and square root
15081         for large arguments.
15082         * math/s_casinhl.c: Include <float.h>.
15083         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15084         (__casinhl): Do not do computation with squaring and square root
15085         for large arguments.
15086         * math/libm-test.inc (casin_test): Add more tests.
15087         (casinh_test): Likewise.
15088         * sysdeps/i386/fpu/libm-test-ulps: Update.
15089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15091 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15093         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15094         (__x86_64_raw_data_cache_size): Likewise.
15095         (__x86_64_data_cache_size_half): Likewise.
15096         (__x86_64_raw_data_cache_size_half): Likewise.
15097         (__x86_64_shared_cache_size): Likewise.
15098         (__x86_64_raw_shared_cache_size): Likewise.
15099         (__x86_64_shared_cache_size_half): Likewise.
15100         (__x86_64_raw_shared_cache_size_half): Likewise.
15101         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15102         to ...
15103         (__x86_data_cache_size): This.
15104         (__x86_64_raw_data_cache_size): Renamed to ...
15105         (__x86_raw_data_cache_size): This.
15106         (__x86_64_data_cache_size_half): Renamed to ...
15107         (__x86_data_cache_size_half): This.
15108         (__x86_64_raw_data_cache_size_half): Renamed to ...
15109         (__x86_raw_data_cache_size_half): This.
15110         (__x86_64_shared_cache_size): Renamed to ...
15111         (__x86_shared_cache_size): This.
15112         (__x86_64_raw_shared_cache_size): Renamed to ...
15113         (__x86_raw_shared_cache_size): This.
15114         (__x86_64_shared_cache_size_half): Renamed to ...
15115         (__x86_shared_cache_size_half): This.
15116         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15117         (__x86_raw_shared_cache_size_half): This.
15118         * sysdeps/x86_64/memcpy.S: Updated.
15119         * sysdeps/x86_64/memset.S: Likewise.
15120         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15121         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15122         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15124 2013-01-04  David S. Miller  <davem@davemloft.net>
15126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15128 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15130         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15131         1 to avoid redefinition warning.
15132         (__USE_GNU): Don't define.
15133         (init_signaling_nan): Protoize.
15135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15137 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15139         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15141         (__cpymn): Likewise.
15142         (norm): Remove commented code.
15143         (denorm): Likewise.
15144         (__mp_dbl): Likewise.
15145         (__inv): Likewise.
15146         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15147         (__cpymn): Likewise.
15148         (norm): Remove commented code.
15149         (denorm): Likewise.
15150         (__mp_dbl): Likewise.
15151         (__inv): Likewise.
15153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15154         mp_no value for 1.0 and 2.0.
15155         (norm): Use RADIXI instead of radixi.d.
15156         (denorm): Likewise.
15157         (__mul): Use 0.0 instead of zero.d.
15158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15159         mp_no value for 1.0 and 2.0.
15160         (norm): Use RADIXI instead of radixi.d.
15161         (denorm): Likewise.
15162         (__mul): Use 0.0 instead of zero.d.
15164 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15166         [BZ #14994]
15167         * math/s_casinh.c (__casinh): Reduce finite argument to first
15168         quadrant then set signs of results at the end.
15169         * math/s_casinhf.c (__casinhf): Likewise.
15170         * math/s_casinhl.c (__casinhl): Likewise.
15171         * math/libm-test.inc (casin_test): Add more tests.
15172         (casinh_test): Likewise.
15173         * sysdeps/i386/fpu/libm-test-ulps: Update.
15174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15176 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15178         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15180         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15182         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15183         declarations.
15184         (denorm): Likewise.
15185         (__mp_dbl): Likewise.
15186         (__inv): Likewise.
15188         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15189         and adjust the header comment.
15191         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15192         variable name from declaration.
15194 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15197         Initialize COMMON_CPUID_INDEX_7 element.
15198         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15199         (CPUID_RTM): Likewise.
15200         (HAS_RTM): Likewise.
15201         (COMMON_CPUID_INDEX_7): New enum.
15203 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15205         [BZ #14981]
15206         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15207         size is zero, record memory as freed.
15209 2013-01-03  Andreas Jaeger  <aj@suse.de>
15211         * po/ia.po: Add new Interlingua translation.
15213 2012-01-03  Allan McRae  <allan@archlinux.org>
15215         * locale/programs/localedef.c: Fix description of '--posix' flag.
15217 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15219         * NEWS: Update dates in second copyright notice.
15220         * README: Update copyright dates in example.
15221         * manual/libc.texinfo: Update copyright dates.
15222         * scripts/test-installation.pl: Update copyright date in --version
15223         output.
15225         * hurd/ctty-input.c: Fix copyright notice formatting.
15226         * hurd/ctty-output.c: Likewise.
15227         * hurd/dtable.c: Likewise.
15228         * hurd/hurd-raise.c: Likewise.
15229         * hurd/hurdprio.c: Likewise.
15230         * hurd/msgportdemux.c: Likewise.
15231         * misc/sys/file.h: Likewise.
15232         * misc/sys/ioctl.h: Likewise.
15233         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15234         * sysdeps/mach/hurd/chdir.c: Likewise.
15235         * sysdeps/mach/hurd/fchdir.c: Likewise.
15236         * sysdeps/mach/hurd/rename.c: Likewise.
15237         * sysdeps/mach/hurd/rmdir.c: Likewise.
15238         * sysdeps/mach/hurd/seekdir.c: Likewise.
15239         * sysdeps/mach/hurd/setsid.c: Likewise.
15240         * sysdeps/posix/wait3.c: Likewise.
15242         * All files with FSF copyright notices: Update copyright dates
15243         using scripts/update-copyrights.
15244         * intl/plural.c: Regenerated.
15245         * locale/programs/charmap-kw.h: Likewise.
15246         * locale/programs/locfile-kw.h: Likewise.
15248 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15250         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15251         four values.
15253         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15254         calculation loop and add branch prediction.
15256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15257         check access beyond bounds of m1np.
15259         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15260         MPTWO.
15261         (__inv): Remove local variable MPTWO to use the global
15262         constant.
15263         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15264         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15265         variable MPTWO.
15266         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15267         MP3HALFS static const.
15269 2013-01-01  David S. Miller  <davem@davemloft.net>
15271         * po/ca.po: Update from translation team.
15273 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15275         * scripts/update-copyrights: New file.
15276         * Makeconfig: Reformat copyright notice.
15277         * ctype/ctype.h: Likewise.
15278         * debug/swprintf_chk.c: Likewise.
15279         * elf/dl-cache.c: Likewise.
15280         * elf/dl-debug.c: Likewise.
15281         * elf/dl-object.c: Likewise.
15282         * grp/initgroups.c: Likewise.
15283         * hurd/Makefile: Likewise.
15284         * hurd/hurd/signal.h: Likewise.
15285         * hurd/hurdfault.c: Likewise.
15286         * hurd/hurdioctl.c: Likewise.
15287         * hurd/hurdlookup.c: Likewise.
15288         * hurd/intr-msg.c: Likewise.
15289         * iconv/gconv_open.c: Likewise.
15290         * libio/swprintf.c: Likewise.
15291         * locale/lc-ctype.c: Likewise.
15292         * locale/nl_langinfo.c: Likewise.
15293         * mach/Machrules: Likewise.
15294         * mach/Makefile: Likewise.
15295         * malloc/obstack.h: Likewise.
15296         * manual/Makefile: Likewise.
15297         * manual/tsort.awk: Likewise.
15298         * misc/bits/stab.def: Likewise.
15299         * nis/nis_print_group_entry.c: Likewise.
15300         * nis/nis_table.c: Likewise.
15301         * nis/nss_compat/compat-pwd.c: Likewise.
15302         * nis/nss_compat/compat-spwd.c: Likewise.
15303         * po/Makefile: Likewise.
15304         * posix/fnmatch.c: Likewise.
15305         * posix/regex.h: Likewise.
15306         * resolv/Makefile: Likewise.
15307         * resolv/nss_dns/dns-network.c: Likewise.
15308         * resolv/res_hconf.c: Likewise.
15309         * scripts/gen-sorted.awk: Likewise.
15310         * soft-fp/soft-fp.h: Likewise.
15311         * stdio-common/printf.h: Likewise.
15312         * stdlib/monetary.h: Likewise.
15313         * stdlib/random.c: Likewise.
15314         * stdlib/random_r.c: Likewise.
15315         * sysdeps/generic/Makefile: Likewise.
15316         * sysdeps/gnu/Makefile: Likewise.
15317         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15318         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15319         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15320         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15321         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15322         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15323         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15324         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15325         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15327         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15328         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15329         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15330         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15331         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15332         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15333         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15334         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15335         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15336         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15337         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15338         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15339         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15340         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15341         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15342         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15343         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15344         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15345         * sysdeps/mach/hurd/errnos.awk: Likewise.
15346         * sysdeps/mach/hurd/fork.c: Likewise.
15347         * sysdeps/mach/hurd/getcwd.c: Likewise.
15348         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15349         * sysdeps/mach/hurd/mmap.c: Likewise.
15350         * sysdeps/mach/hurd/utimes.c: Likewise.
15351         * sysdeps/mach/hurd/xmknod.c: Likewise.
15352         * sysdeps/posix/profil.c: Likewise.
15353         * sysdeps/posix/readdir_r.c: Likewise.
15354         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15355         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15356         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15357         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15358         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15359         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15360         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15361         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15363         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15364         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15365         * sysdeps/pthread/lio_listio.c: Likewise.
15366         * sysdeps/sparc/dl-procinfo.h: Likewise.
15367         * sysdeps/unix/i386/sysdep.S: Likewise.
15368         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15369         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15370         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15371         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15373         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15374         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15375         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15376         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15377         * sysdeps/wordsize-32/divdi3.c: Likewise.
15378         * time/sys/time.h: Likewise.
15379         * wcsmbs/Makefile: Likewise.
15381 2013-01-01  David S. Miller  <davem@davemloft.net>
15383         * po/fr.po: Update from translation team.
15385         * catgets/gencat.c: Update copyright year.
15386         * csu/version.c: Likewise.
15387         * debug/catchsegv.sh: Likewise.
15388         * debug/pcprofiledump.c: Likewise.
15389         * debug/xtrace.sh: Likewise.
15390         * elf/ldconfig.c: Likewise.
15391         * elf/ldd.bash.in: Likewise.
15392         * elf/pldd.c: Likewise.
15393         * elf/sotruss.ksh: Likewise.
15394         * elf/sprof.c: Likewise.
15395         * iconv/iconv_prog.c: Likewise.
15396         * iconv/iconvconfig.c: Likewise.
15397         * locale/programs/locale.c: Likewise.
15398         * locale/programs/localedef.c: Likewise.
15399         * login/programs/pt_chown.c: Likewise.
15400         * malloc/memusage.sh: Likewise.
15401         * malloc/memusagestat.c: Likewise.
15402         * malloc/mtrace.pl: Likewise.
15403         * nscd/nscd.c: Likewise.
15404         * nss/getent.c: Likewise.
15405         * nss/makedb.c: Likewise.
15406         * posix/getconf.c: Likewise.
15408 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15410         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15411         numbers.
15413 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15415         * math/bits/mathcalls.h (modf): Use __nonnull.
15417 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15419         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15420         (split): Use macro CN instead of the bare value.
15421         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15422         could be used.
15423         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15424         instead of the bare value.
15425         (power1): Likewise.
15427 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15429         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15430         __ATAN_TWOM.
15431         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15433         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15434         their values.
15435         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15436         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15437         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15438         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15440 2012-12-28  Andreas Jaeger  <aj@suse.de>
15442         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15443         values are from Linux 3.7.
15445         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15446         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15448 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15450         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15451         TRUE case.
15453         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15454         (norm): Likewise.
15455         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15456         variables with preprocessor constants.
15457         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15458         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15459         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15461 2012-12-27  Bruno Haible  <bruno@clisp.org>
15463         [BZ #14317]
15464         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15465         only if needed.
15467 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15469         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15470         and use variable directly.
15471         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15473         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15474         MPONE.
15475         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15476         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15477         variable MPONE.
15478         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15479         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15480         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15481         include directive.  Remove local variable MPONE.
15482         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15483         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15484         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15486 2012-12-25  David S. Miller  <davem@davemloft.net>
15488         * version.h (RELEASE): Set to "development".
15489         (VERSION): Set to "2.17.90".
15490         * NEWS: Add 2.18 section.
15492 2012-12-21  David S. Miller  <davem@davemloft.net>
15494         * po/hr.po: Update from translation team.
15496 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15498         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15500 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15502         * NEWS:  Mention new memcpy for MIPS.
15504 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15506         * manual/contrib.texi (Contributors): Spelling correction.
15508 2012-12-15  David S. Miller  <davem@davemloft.net>
15510         * po/ru.po: Update from translation team.
15512 2012-12-13  David S. Miller  <davem@davemloft.net>
15514         * NEWS: Mention IFUNC testsuite enhancements.
15516         * po/pl.po: Update from translation team.
15517         * po/bg.po: Likewise.
15519         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15520         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15522 2012-12-11  David S. Miller  <davem@davemloft.net>
15524         * po/sv.po: Update from translation team.
15526         * po/vi.po: Update from translation team.
15528         * po/cs.po: Update from translation team.
15530         * po/de.po: Update from translation team.
15531         * po/eo.po: Likewise.
15532         * po/nl.po: Likewise.
15534 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15536         [BZ #14246]
15537         * manual/argp.texi (Argp Helper Functions): Move node to follow
15538         Argp Parsing State.
15540         [BZ #14872]
15541         * manual/conf.texi (Limits on File System Capacity): Mention if
15542         terminating null is included in the max size.
15544 2012-12-10  Andreas Jaeger  <aj@suse.de>
15546         * po/cs.po: Update from translation team.
15548 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15550         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15551         void pointer and cast to uintptr_t.
15552         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15553         path.
15554         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15555         * sysdeps/s390/s390-64/memset.S: Likewise.
15557 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15559         [BZ #14833]
15560         * menual/message.texi (Message Translation): Fix typos.
15561         (Helper programs for gettext): Likewise.
15563 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15565         [BZ #14898]
15566         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15567         Change to -1.
15569 2012-12-07  David S. Miller  <davem@davemloft.net>
15571         * po/libc.pot: Update.
15573 2012-12-07  Richard Henderson  <rth@redhat.com>
15575         [BZ #10114]
15576         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15577         normal/normal case to before the switch.
15578         (_FP_DIV): Likewise.
15580 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15581             Mike Frysinger  <vapier@gentoo.org>
15583         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15584         check for __NR_fadvise64_64.
15586 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15588         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15589         0, not just to plain "0" as a statement.
15590         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15591         with cw.
15593 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15595         * NEWS: Use sourceware.org in Bugzilla URL.
15597 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15600         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15602         * stdio-common/tst-put-error.c (do_test): Add newline to the
15603         padded test to ensure flush.
15605 2012-12-05  Jeff Law  <law@redhat.com>
15607         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15609 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15611         * README: Don't refer to ports add-on as distributed separately.
15612         Mention AArch64 in list of systems supported in the ports add-on.
15614         * LICENSES: Add more non-FSF copyright and license notices.
15616         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15617         ((unused)).
15619         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15621         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15622         10000 as width of padded output.
15624 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15626         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15628         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15629         variable LX with __attribute__ ((unused)).
15630         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15631         Likewise.
15632         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15633         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15634         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15635         with __attribute__ ((unused)).
15637 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15639         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15641 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15643         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15644         (CFLAGS-nldbl-acos.c): New variable.
15645         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15646         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15647         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15648         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15649         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15650         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15651         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15652         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15653         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15654         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15655         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15656         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15657         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15658         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15659         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15660         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15661         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15662         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15663         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15664         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15665         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15666         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15667         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15668         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15669         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15670         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15671         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15672         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15673         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15674         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15675         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15676         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15677         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15678         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15679         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15680         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15681         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15682         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15683         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15684         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15685         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15686         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15687         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15688         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15689         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15690         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15691         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15692         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15693         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15694         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15695         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15696         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15697         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15698         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15699         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15700         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15701         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15702         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15703         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15704         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15705         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15706         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15707         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15708         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15709         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15710         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15711         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15712         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15713         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15714         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15715         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15716         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15717         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15718         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15719         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15720         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15721         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15722         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15723         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15724         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15725         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15726         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15727         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15728         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15729         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15730         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15731         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15732         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15733         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15734         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15735         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15736         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15737         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15738         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15739         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15740         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15741         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15744         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15746         [BZ #14914]
15747         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15748         whole low double instead of just low 47 bits when splitting values
15749         into two parts.
15751 2012-12-03  Allan McRae  <allan@archlinux.org>
15753         * manual/stdio.texi (Predefined Printf Handlers): Remove
15754         @hsep and @vsep usage.
15756 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15758         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15759         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15761 2012-12-03  Jeff Law  <law@redhat.com>
15763         * time/sys/time.h (settimeofday): Do not mark TV argument
15764         as __nonnull.
15766 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15768         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15769         when currently writing and seek to current position when not.
15770         * libio/Makefile (tests): Remove bug-fclose1.
15771         * libio/bug-fclose1.c: Delete.
15773 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15775         * manual/arith.texi (feenableexcept): Fix typo.
15776         (fedisableexcept): Likewise.
15778 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15780         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15781         second, differently-typed declaration, rather than a cast.
15783 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15785         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15786         * include/rpc/svc.h: ... here.
15788 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15790         [BZ #13013]
15791         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15792         depending n and resplen2 to catch cases where answer
15793         equals answerp2.
15795 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15797         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15798         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15800 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15802         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15804 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15806         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15808 2012-11-28  Jeff Law  <law@redhat.com>
15810         [BZ #13761]
15811         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15812         dataset_temporary.  Track alloca usage into alloca_used.
15813         If dataset is large allocate and release it via malloc/free.
15815 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15817         [BZ #14197]
15818         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15820 2012-11-28  David S. Miller  <davem@davemloft.net>
15822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15824 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15826         [BZ #14803]
15827         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15828         of pi/2 rounded to nearest to 64 bits.
15829         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15830         nearest to 64 bits.
15831         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15832         bits.
15834 2012-11-28  Jeff Law <law@redhat.com>
15835             Martin Osvald <mosvald@redhat.com>
15837         [BZ #14889]
15838         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15839         * sunrpc/svc.c: Include time.h.
15840         (__svc_accept_failed): New function.
15841         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15842         any reason other than EINTR, call __svc_accept_failed.
15843         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15844         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15846 2012-11-28  Andreas Schwab  <schwab@suse.de>
15848         * scripts/abilist.awk: Also handle indirect functions in .opd
15849         section.
15851 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15853         [BZ #13881]
15854         * sysdeps/x86/fpu/powl_helper.c: New file.
15855         * sysdeps/x86/fpu/Makefile: Likewise.
15856         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15857         (p3): New object.
15858         (__ieee754_powl): Use __powl_helper for finite arguments except
15859         integer exponents below 8.
15860         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15861         (p3): New object.
15862         (__ieee754_powl): Use __powl_helper for finite arguments except
15863         integer exponents below 8.
15864         * math/libm-test.inc (pow_test): Add more tests and enable some
15865         previously disabled tests.
15866         * sysdeps/i386/fpu/libm-test-ulps: Update.
15867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15869 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15870             Carlos O'Donell  <carlos_odonell@mentor.com>
15872         * nss/makedb.c (is_prime): Assert that input is odd and greater
15873         than 4.  Note that fact in a comment too.
15874         (next_prime): Add 4 to input.
15876 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15878         [BZ #11741]
15879         * libio/Makefile (tests): Add test case tst-fwrite-error.
15880         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15881         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15882         * libio/tst-fwrite-error.c: New test case.
15884 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15886         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15887         before casting to void *.
15888         * include/libc-internal.h (__pointer_type): New macro.
15889         (__integer_if_pointer_type_sub): Likewise.
15890         (__integer_if_pointer_type): Likewise.
15891         (cast_to_integer): Likewise.
15892         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15893         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15894         before casting to atomic64_t.
15895         (atomic_exchange_acq): Likewise.
15896         (__arch_exchange_and_add_body): Likewise.
15897         (__arch_add_body): Likewise.
15898         (atomic_add_negative): Likewise.
15899         (atomic_add_zero): Likewise.
15901 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15903         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15904         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15905         (add_fdes): Likewise.
15906         (linear_search_fdes): Likewise.
15907         (binary_search_unencoded_fdes): Likewise.
15909 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15911         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15913 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15915         * configure.in: Autodetect C++ header directories.
15916         * configure: Regenerated.
15918 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15920         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15922 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15926 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15928         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15929         LDBL_MANT_DIG == 106]: Disable some tests.
15930         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15931         Likewise.
15932         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15933         Likewise.
15935         [BZ #14871]
15936         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15937         input for small inputs.  Return +/- pi/2 for large inputs.
15938         * math/libm-test.inc (atan_test): Add more tests.
15940         * sysdeps/generic/unwind-dw2-fde-glibc.c
15941         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15942         __attribute__ ((unused)).
15944         [BZ #14645]
15945         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15946         x * y if x and y are nonzero and z is zero.
15948         [BZ #14811]
15949         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15950         nonzero exponents with absolute value below 0x1p-117 to +/-
15951         0x1p-117.
15953         [BZ #14869]
15954         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15955         up arguments below 2**-450, not just those below 2**-500.
15956         * math/libm-test.inc (hypot_test): Add another test.
15958         [BZ #14868]
15959         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15960         Return a+b for ratio over 2**120, not 2**60.
15961         * math/libm-test.inc (hypot_test): Add another test.
15963         * math/libm-test.inc (clog_test): Use
15964         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15965         (clog10_test): Likewise.
15967         [BZ #6778]
15968         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15970 2012-11-22  Andreas Schwab  <schwab@suse.de>
15972         * sysdeps/i386/fpu/libm-test-ulps: Update.
15974 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15976         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15977         printf output with newline.
15979 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15981         [BZ #14865]
15982         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15983         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15984         -z nodlopen, -z initfirst and -z execstack support.
15985         * configure: Regenerated.
15987         * elf/elf.h (DF_1_NODIRECT): New macro.
15988         (DF_1_IGNMULDEF): Likewise.
15989         (DF_1_NOKSYMS): Likewise.
15990         (DF_1_NOHDR): Likewise.
15991         (DF_1_EDITED): Likewise.
15992         (DF_1_NORELOC): Likewise.
15993         (DF_1_SYMINTPOSE): Likewise.
15994         (DF_1_GLOBAUDIT): Likewise.
15995         (DF_1_SINGLETON): Likewise.
15996         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15997         DT_1_SUPPORTED_MASK bits.
15998         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16000 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16002         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16004 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16006         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16007         macro.
16009         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16010         (sendmmsg): Move declarations...
16011         * socket/sys/socket.h: ... here.
16012         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16013         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16014         include it from...
16015         * socket/recvmmsg.c: ... this new file.
16016         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16017         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16018         definition of __sendmmsg hidden.
16019         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16020         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16021         Move ENOSYS stub into and include it from...
16022         * socket/sendmmsg.c: ... this new file.
16023         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16024         (sysdep_routines): Move recvmmsg and sendmmsg...
16025         * socket/Makefile (routines): ... here.
16026         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16027         (GLIBC_PRIVATE): Add __sendmmsg.
16028         * include/sys/socket.h (__sendmmsg): Add declarations.
16029         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16030         sendmmsg.
16032 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16034         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16035         variable I1 with __attribute__ ((unused)).
16036         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16038 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16040         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16041         DUMMY variables with __attribute__ ((unused)).
16043         * bits/byteswap.h: Include <bits/types.h>.
16044         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16046 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16048         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16049         string_t.  Do not manually set errno.
16050         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16051         length with __strnlen.  Make sure to both set errno and return it on
16052         failure.
16054 2012-11-19  David S. Miller  <davem@davemloft.net>
16056         With help from Joseph Myers.
16057         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16058         very large arguments properly.
16059         * math/libm-test.inc (atan_test): New tests.
16060         (atan2_test): New tests.
16061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16064 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16066         [BZ #14856]
16067         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16068         Define to 3.
16070         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16071         [POSIX] (EADDRNOTAVAIL): Likewise.
16072         [POSIX] (EAFNOSUPPORT): Likewise.
16073         [POSIX] (EALREADY): Likewise.
16074         [POSIX] (ECONNABORTED): Likewise.
16075         [POSIX] (ECONNREFUSED): Likewise.
16076         [POSIX] (ECONNRESET): Likewise.
16077         [POSIX] (EDESTADDRREQ): Likewise.
16078         [POSIX] (EDQUOT): Likewise.
16079         [POSIX] (EHOSTUNREACH): Likewise.
16080         [POSIX] (EIDRM): Likewise.
16081         [POSIX] (EISCONN): Likewise.
16082         [POSIX] (ELOOP): Likewise.
16083         [POSIX] (EMULTIHOP): Likewise.
16084         [POSIX] (ENETDOWN): Likewise.
16085         [POSIX] (ENETUNREACH): Likewise.
16086         [POSIX] (ENOBUFS): Likewise.
16087         [POSIX] (ENODATA): Likewise.
16088         [POSIX] (ENOLINK): Likewise.
16089         [POSIX] (ENOMSG): Likewise.
16090         [POSIX] (ENOPROTOOPT): Likewise.
16091         [POSIX] (ENOSR): Likewise.
16092         [POSIX] (ENOSTR): Likewise.
16093         [POSIX] (ENOTCONN): Likewise.
16094         [POSIX] (ENOTSOCK): Likewise.
16095         [POSIX] (EOPNOTSUPP): Likewise.
16096         [POSIX] (EOVERFLOW): Likewise.
16097         [POSIX] (EPROTO): Likewise.
16098         [POSIX] (EPROTONOSUPPORT): Likewise.
16099         [POSIX] (EPROTOTYPE): Likewise.
16100         [POSIX] (ESTALE): Likewise.
16101         [POSIX] (ETIME): Likewise.
16102         [POSIX] (ETXTBSY): Likewise.
16103         [POSIX] (EWOULDBLOCK): Likewise.
16104         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16105         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16106         [POSIX] (SEEK_CUR): Likewise.
16107         [POSIX] (SEEK_END): Likewise.
16108         [POSIX || UNIX98] (mode_t): Do not require.
16109         [POSIX] (off_t): Likewise.
16110         [POSIX] (pid_t): Likewise.
16111         [POSIX] (sys/stat.h): Do not allow header.
16112         [POSIX] (unistd.h): Likewise.
16113         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16114         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16115         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16116         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16117         require.
16118         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16119         sigevent): Specify elements.
16120         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16121         entry.
16122         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16123         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16125         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16126         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16127         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16128         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16129         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16130         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16131         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16132         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16133         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16134         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16135         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16136         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16137         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16138         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16139         Likewise.
16140         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16141         Likewise.
16142         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16143         Likewise.
16144         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16145         Likewise.
16146         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16147         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16148         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16149         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16150         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16151         Specify lower bound on value.
16152         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16153         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16154         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16155         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16156         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16157         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16158         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16159         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16160         value.
16161         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16162         as optional.
16163         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16164         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16165         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16166         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16167         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16168         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16169         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16170         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16171         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16172         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16173         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16174         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16175         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16176         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16177         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16178         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16179         entry.
16180         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16181         optional.
16182         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16183         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16184         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16185         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16186         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16187         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16188         Likewise.
16189         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16190         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16191         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16192         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16193         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16194         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16195         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16196         as optional.
16197         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16198         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16199         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16200         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16201         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16202         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16203         specify as optional.
16204         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16205         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16206         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16207         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16208         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16209         [XPG3] (NL_LANGMAX): Likewise.
16210         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16211         [POSIX || XPG3] (NL_NMAX): Likewise.
16212         [POSIX || XPG3] (NL_SETMAX): Likewise.
16213         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16214         [XPG3] (NZERO): Likewise.
16215         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16216         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16217         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16218         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16219         (REG_ERANGE): Expect.
16220         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16221         optional-constant.
16222         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16223         Use (void) in prototype.
16224         [POSIX] (*_t): Allow.
16225         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16226         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16227         (WRDE_BADVAL): Expect.
16229         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16230         expect.
16231         [XPG3 || XPG4] (O_RSYNC): Likewise.
16232         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16233         Likewise.
16234         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16235         [XPG3 || XPG4] (sigqueue): Likewise.
16236         [XPG3 || XPG4] (sigtimedwait): Likewise.
16237         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16238         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16239         [XPG3 || XPG4] (vsnprintf): Likewise.
16240         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16241         Likewise.
16242         [XPG3 || XPG4] (blksize_t): Likewise.
16243         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16244         Likewise.
16245         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16246         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16247         [XPG3 || XPG4] (struct itimerspec): Likewise.
16248         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16249         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16250         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16251         [XPG3 || XPG4] (clockid_t): Likewise.
16252         [XPG3 || XPG4] (timer_t): Likewise.
16253         [XPG3 || XPG4] (clock_getres): Likewise.
16254         [XPG3 || XPG4] (clock_gettime): Likewise.
16255         [XPG3 || XPG4] (clock_settime): Likewise.
16256         [XPG3 || XPG4] (nanosleep): Likewise.
16257         [XPG3 || XPG4] (timer_create): Likewise.
16258         [XPG3 || XPG4] (timer_delete): Likewise.
16259         [XPG3 || XPG4] (timer_gettime): Likewise.
16260         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16261         [XPG3 || XPG4] (timer_settime): Likewise.
16262         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16263         [XPG3 || XPG4] (getlogin_r): Likewise.
16264         [XPG3 || XPG4] (pread): Likewise.
16265         [XPG3 || XPG4] (pthread_atfork): Likewise.
16266         [XPG3 || XPG4] (pwrite): Likewise.
16268         [BZ #14835]
16269         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16270         <bits/siginfo.h>.
16272 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16274         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16275         finalizing MALLSTREAM.
16277         * sysdeps/mach/hurd/syncfs.c: New file.
16279 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16281         [BZ #14719]
16282         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16283         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16284         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16285         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16286         (_nss_dns_gethostbyname4_r): Likewise.
16287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16288         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16290 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16292         [BZ #13763]
16293         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16295 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16297         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16298         * elf/cache.c (print_entry): Print ",AArch64" for
16299         FLAG_AARCH64_LIB64
16301         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16302         * elf/cache.c (print_entry): Print ",hard-float" for
16303         FLAG_ARM_LIBHF.
16305 2012-11-18  David S. Miller  <davem@davemloft.net>
16307         With help from Joseph Myers.
16308         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16309         cutoff to 2**-13.
16310         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16311         cutoff to 2**-25.
16312         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16313         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16314         small.
16315         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16316         * math/libm-test.inc (y0_test): New tests.
16317         (y1_test): New tests.
16318         * sysdeps/i386/fpu/libm-test-ulps: Update.
16319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16322 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16324         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16325         64-bit targets.
16326         * configure: Regenerated.
16328 2012-11-17  David S. Miller  <davem@davemloft.net>
16330         [BZ #14811]
16331         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16332         nonzero exponents with absolute value below 0x1p-128 to +/-
16333         0x1p-128.
16335 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16337         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16339         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16341         * posix/getconf-speclist.c: New file.
16342         * posix/posix-envs.def: Likewise.
16343         * posix/confstr.c (START_ENV_GROUP): New macro.
16344         (END_ENV_GROUP): Likewise.
16345         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16346         (KNOWN_PRESENT_ENV_STRING): Likewise.
16347         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16348         (UNKNOWN_ENVIRONMENT): Likewise.
16349         (confstr): Include posix-envs.def instead of handling
16350         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16351         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16352         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16353         (END_ENV_GROUP): Likewise.
16354         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16355         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16356         (UNKNOWN_ENVIRONMENT): Likewise.
16357         (__sysconf): Include posix-envs.def instead of handling associated
16358         cases directly here.
16359         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16360         preprocessing getconf-speclist.c rather than running getconf or
16361         generating empty file.
16363 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16365         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16367 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16369         [BZ #14672]
16370         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16372 2012-11-16  David S. Miller  <davem@davemloft.net>
16374         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16375         smaller than LDBL_EPSILON/2.0L, just return xm1.
16377 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16379         * elf/tst-array1.c (init): Set constructor priority to 1000.
16380         (fini): Set destructor priority to 1000.
16381         * elf/tst-array2dep.c: Likewise.
16383 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16385         [BZ #11741]
16386         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16387         (_IO_new_file_xsputn): Also return EOF if none of the input
16388         data was written when overflow failed.
16389         * libio/iopadn.c (_IO_padn): Likewise.
16390         * libio/iowpadn.c (_IO_wpadn): Likewise.
16391         * stdio-common/tst-put-error.c: Add copyright notice.
16392         (do_test): Add case for printing padded string.
16393         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16394         _IO_padn returned error.
16395         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16396         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16397         return EOF.
16399 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16401         * libio/libioP.h: Add comment note that the references to C++
16402         bits are now obsolete.
16404 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16406         * math/libm-test.inc (check_complex): Use asprintf.
16408 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16410         * debug/pcprofiledump.c (print_version): Update copyright year.
16411         * malloc/memusagestat.c (print_version): Likewise.
16413 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16415         [BZ #14831]
16416         * elf/Makefile (tests): Add tst-audit8.
16417         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16418         ($(objpfx)tst-audit8.out): New target.
16419         (tst-audit8-ENV): New variable.
16420         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16421         audit if l_reloc_result is NULL.
16422         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16423         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16424         * elf/tst-audit8.c: New file.
16426 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16428         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16429         * misc/Makefile (CFLAGS-select.c): Define.
16430         * posix/Makefile (CFLAGS-pause.c): Define.
16432 2012-11-13  David S. Miller  <davem@davemloft.net>
16434         * crypt/Makefile: Move test targets after toplevel Rules
16435         inclusion.  Grab any necessary sysdep routines when linking.
16436         * crypt/md5.c (md5_process_block): Remove define, we will always
16437         name it __md5_process_block.
16438         (md5_finish_ctx): Update md5_process_block call.
16439         (md5_stream): Likewise.
16440         (md5_process_bytes): Likewise.
16441         (md5_process_block): Rename to __md5_process_block and move to ...
16442         * crypt/md5-block.c: ... here.
16443         * crypt/sha256.c (sha256_process_block): Move to ...
16444         * crypt/sha256-block.c: ... here.
16445         * crypt/sha512.c (sha512_process_block): Move to ...
16446         * crypt/sha512-block.c: ... here.
16447         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16448         path.
16449         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16450         * sysdeps/sparc/sparc64/multiarch/Makefile
16451         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16452         crypt subdir.
16453         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16454         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16455         multiarch changes.
16456         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16457         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16458         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16459         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16460         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16461         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16462         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16463         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16464         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16465         file.
16466         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16467         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16468         file.
16469         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16471 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16473         * timezone/tzselect.ksh: Update from tzcode git revision
16474         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16475         * timezone/zdump.c: Likewise.
16476         * timezone/zic.c: Likewise.
16477         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16478         in TZVERSION setting, not $(PKGVERSION).
16479         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16480         REPORT_BUGS_TO settings.
16482         [BZ #14838]
16483         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16484         macro.
16486 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16488         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16489         detection to immediately after _FP_ROUND().
16490         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16491         bits are 0.
16493 2012-11-11  David S. Miller  <davem@davemloft.net>
16495         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16496         inttypes.h
16497         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16498         __close rather than their public counterparts.
16500 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16502         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16503         file.
16504         [UNIX98] (sem_timedwait): Do not expect.
16505         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16506         [XPG4 || UNIX98] (sockatmark): Do not expect.
16507         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16508         (clock_getcpuclockid): Do not expect.
16509         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16510         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16511         Do not expect.
16512         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16513         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16514         [UNIX98] (vwscanf): Likewise.
16515         [UNIX98] (vswscanf): Likewise.
16517 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16519         * timezone/version.h: Remove file.
16520         * timezone/README: Do not refer to version.h.
16521         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16522         $(objpfx)version.h.
16523         ($(objpfx)zdump.o): Likewise.
16524         ($(objpfx)version.h): New target.
16526         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16527         2012i.
16528         * timezone/README: Don't mention modification to tzselect.ksh.
16529         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16530         work on unmodified tzselect.ksh.  Substitute version numbers in
16531         tzselect.ksh.
16533         * Makefile (format-me): Remove.
16534         (INSTALL): Adjust indentation.  Use commands directly instead of
16535         using $(format-me).
16537         * aclocal.m4 (ACX_PKGVERSION): New macro.
16538         (ACX_BUGURL): Likewise.
16539         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16540         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16541         (REPORT_BUGS_TO): Likewise.
16542         * configure: Regenerated.
16543         * config.h.in (PKGVERSION): New macro.
16544         (REPORT_BUGS_TO): Likewise.
16545         * config.make.in (PKGVERSION): New variable.
16546         (PKGVERSION_TEXI): Likewise.
16547         (REPORT_BUGS_TO): Likewise.
16548         (REPORT_BUGS_TEXI): Likewise.
16549         * Makefile (format-me): Use -I$(common-objpfx)manual.
16550         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16551         ($(common-objpfx)manual/%): New target.
16552         (manual/%): Remove target.
16553         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16554         (print_version): Use PKGVERSION.
16555         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16556         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16557         and REPORT_BUGS_TO.
16558         ($(objpfx)xtrace): Likewise.
16559         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16560         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16561         (print_version): Use PKGVERSION.
16562         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16563         (do_version): Use PKGVERSION.
16564         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16565         REPORT_BUGS_TO.
16566         (common-ldd-rewrite): Likewise.
16567         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16568         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16569         (print_version): Use PKGVERSION.
16570         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16571         * elf/pldd.c (argp_program_bug_address): Remove variable.
16572         (more_help): New function.
16573         (argp): Use more_help.
16574         (print_version): Use PKGVERSION.
16575         * elf/sln.c (main): Use PKGVERSION.
16576         (usage): Use REPORT_BUGS_TO.
16577         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16578         (top level): Use PKGVERSION.
16579         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16580         (print_version): Use PKGVERSION.
16581         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16582         (print_version): Use PKGVERSION.
16583         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16584         (print_version): Use PKGVERSION.
16585         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16586         (print_version): Use PKGVERSION.
16587         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16588         (print_version): Use PKGVERSION.
16589         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16590         (print_version): Use PKGVERSION.
16591         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16592         and BUGURL.
16593         ($(objpfx)memusage): Likewise.
16594         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16595         (do_version): Use PKGVERSION.
16596         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16597         (print_version): Use PKGVERSION.
16598         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16599         ($PKGVERSION): New variable.
16600         ($REPORT_BUGS_TO): Likewise.
16601         (usage): Use $REPORT_BUGS_TO.
16602         (top level): Use $PKGVERSION.
16603         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16604         ($(objpfx)pkgvers.texi): New rule.
16605         ($(objpfx)stamp-pkgvers): Likewise.
16606         * manual/install.texi: Include pkgvers.texi.
16607         (--with-pkgversion): Document new configure option.
16608         (--with-bugurl): Likewise.
16609         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16610         than necessarily for this particular distribution.  Use
16611         REPORT_BUGS_TO for where to report bugs.
16612         * INSTALL: Regenerated.
16613         * manual/libc.texinfo: Include pkgvers.texi.
16614         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16615         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16616         (print_version): Use PKGVERSION.
16617         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16618         (print_version): Use PKGVERSION.
16619         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16620         (print_version): Use PKGVERSION.
16621         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16622         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16623         macro.
16624         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16625         (print_version): Use PKGVERSION.
16626         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16627         (print_version): Use PKGVERSION.
16628         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16629         and PKGVERSION.
16631         * timezone/checktab.awk: Update from tzcode 2012i.
16632         * timezone/ialloc.c: Likewise.
16633         * timezone/private.h: Likewise.
16634         * timezone/scheck.c: Likewise.
16635         * timezone/tzfile.h: Likewise.
16636         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16637         (TZVERSION): Hardcode tzcode version number.
16638         * timezone/zdump.c: Update from tzcode 2012i.
16639         * timezone/zic.c: Likewise.
16640         * timezone/version.h: New file.
16641         * timezone/README: Describe version.h.  Update upstream location.
16643         [BZ #14824]
16644         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16645         (mktemp): Enable declaration.
16646         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16647         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16648         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16649         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16650         Likewise.
16651         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16652         Likewise.
16653         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16654         Likewise.
16655         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16656         Likewise.
16657         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16658         Likewise.
16659         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16660         Likewise.
16662         [BZ #14821]
16663         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16664         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16665         for copies of such integer values.
16666         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16667         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16669 2012-11-09  Andreas Jaeger  <aj@suse.de>
16671         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16672         definitions and declarations that are provided by
16673         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16675 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16677         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16678         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16679         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16680         definition.
16682 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16684         * elf/elf.h: Update comment before AArch64 relocations.
16686 2012-11-07  David S. Miller  <davem@davemloft.net>
16688         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16689         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16690         (__start_context): Declare.
16691         (__makecontext_ret): Delete.
16692         (__makecontext): Hook up __start_context instead of
16693         __makecontext_ret.
16694         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16695         (sysdep_routines): Add __start_context when in stdlib.
16697 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16699         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16700         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16701         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16702         hardcoded "nm".
16703         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16704         (READELF): New variable.  Use it instead of hardcoded "readelf".
16706 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16708         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16709         * sysdeps/x86/Makefile: Here.
16710         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16711         * sysdeps/x86/tst-xmmymm.sh: This.
16713 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16715         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16716         expectations.
16717         [UNIX98] (pthread_barrier_t): Do not expect.
16718         [UNIX98] (pthread_barrierattr_t): Likewise.
16719         [UNIX98] (pthread_spinlock_t): Likewise.
16720         [UNIX98] (pthread_barrier_destroy): Likewise.
16721         [UNIX98] (pthread_barrier_init): Likewise.
16722         [UNIX98] (pthread_barrier_wait): Likewise.
16723         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16724         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16725         [UNIX98] (pthread_barrierattr_init): Likewise.
16726         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16727         [UNIX98] (pthread_getcpuclockid): Likewise.
16728         [UNIX98] (pthread_mutex_timedlock): Likewise.
16729         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16730         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16731         [UNIX98] (pthread_sigmask): Likewise.
16732         [UNIX98] (pthread_spin_destroy): Likewise.
16733         [UNIX98] (pthread_spin_init): Likewise.
16734         [UNIX98] (pthread_spin_lock): Likewise.
16735         [UNIX98] (pthread_spin_trylock): Likewise.
16736         [UNIX98] (pthread_spin_unlock): Likewise.
16737         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16738         Do not expect.
16739         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16740         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16741         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16742         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16743         [XPG3 || XPG4] (pthread_key_t): Likewise.
16744         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16745         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16746         [XPG3 || XPG4] (pthread_once_t): Likewise.
16747         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16748         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16749         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16750         [XPG3 || XPG4] (pthread_t): Likewise.
16752         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16753         not expect.
16754         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16756         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16757         Change function return type to int.
16759         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16760         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16761         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16762         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16763         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16764         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16765         [!POSIX] (posix_madvise): Likewise.
16766         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16767         && !UNIX98].
16768         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16769         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16770         (mode_t): Likewise.
16771         (posix_mem_offset): Likewise.
16772         (posix_typed_mem_get_info): Likewise.
16773         (posix_typed_mem_open): Likewise.
16775         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16776         Change condition to [XOPEN2K8].
16778         * conform/conformtest.pl: Preprocess allow-header data with -x c
16779         instead of from stdin.
16780         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16781         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16782         [C99-based standards] (cerfc): Likewise.
16783         [C99-based standards] (cexp2): Likewise.
16784         [C99-based standards] (cexpm1): Likewise.
16785         [C99-based standards] (clog10): Likewise.
16786         [C99-based standards] (clog1p): Likewise.
16787         [C99-based standards] (clog2): Likewise.
16788         [C99-based standards] (clgamma): Likewise.
16789         [C99-based standards] (ctgamma): Likewise.
16790         [C99-based standards] (cerff): Likewise.
16791         [C99-based standards] (cerfcf): Likewise.
16792         [C99-based standards] (cexp2f): Likewise.
16793         [C99-based standards] (cexpm1f): Likewise.
16794         [C99-based standards] (clog10f): Likewise.
16795         [C99-based standards] (clog1pf): Likewise.
16796         [C99-based standards] (clog2f): Likewise.
16797         [C99-based standards] (clgammaf): Likewise.
16798         [C99-based standards] (ctgammaf): Likewise.
16799         [C99-based standards] (cerfl): Likewise.
16800         [C99-based standards] (cerfcl): Likewise.
16801         [C99-based standards] (cexp2l): Likewise.
16802         [C99-based standards] (cexpm1l): Likewise.
16803         [C99-based standards] (clog10l): Likewise.
16804         [C99-based standards] (clog1pl): Likewise.
16805         [C99-based standards] (clog2l): Likewise.
16806         [C99-based standards] (clgammal): Likewise.
16807         [C99-based standards] (ctgammal): Likewise.
16808         * conform/data/inttypes.h-data [C99-based standards]: Include
16809         stdint.h-data.  Remove all expectations for stdint.h contents.
16810         [C99-based standards] (PRI*): Do not allow.
16811         [C99-based standards] (SCN*): Likewise.
16812         [C99-based standards] (*_t): Likewise.
16813         [C99-based-standards] (PRId8): Expect macro.
16814         [C99-based-standards] (PRIi8): Likewise.
16815         [C99-based-standards] (PRIo8): Likewise.
16816         [C99-based-standards] (PRIu8): Likewise.
16817         [C99-based-standards] (PRIx8): Likewise.
16818         [C99-based-standards] (PRIX8): Likewise.
16819         [C99-based-standards] (SCNd8): Likewise.
16820         [C99-based-standards] (SCNi8): Likewise.
16821         [C99-based-standards] (SCNo8): Likewise.
16822         [C99-based-standards] (SCNu8): Likewise.
16823         [C99-based-standards] (SCNx8): Likewise.
16824         [C99-based-standards] (PRIdLEAST8): Likewise.
16825         [C99-based-standards] (PRIiLEAST8): Likewise.
16826         [C99-based-standards] (PRIoLEAST8): Likewise.
16827         [C99-based-standards] (PRIuLEAST8): Likewise.
16828         [C99-based-standards] (PRIxLEAST8): Likewise.
16829         [C99-based-standards] (PRIXLEAST8): Likewise.
16830         [C99-based-standards] (SCNdLEAST8): Likewise.
16831         [C99-based-standards] (SCNiLEAST8): Likewise.
16832         [C99-based-standards] (SCNoLEAST8): Likewise.
16833         [C99-based-standards] (SCNuLEAST8): Likewise.
16834         [C99-based-standards] (SCNxLEAST8): Likewise.
16835         [C99-based-standards] (PRIdFAST8): Likewise.
16836         [C99-based-standards] (PRIiFAST8): Likewise.
16837         [C99-based-standards] (PRIoFAST8): Likewise.
16838         [C99-based-standards] (PRIuFAST8): Likewise.
16839         [C99-based-standards] (PRIxFAST8): Likewise.
16840         [C99-based-standards] (PRIXFAST8): Likewise.
16841         [C99-based-standards] (SCNdFAST8): Likewise.
16842         [C99-based-standards] (SCNiFAST8): Likewise.
16843         [C99-based-standards] (SCNoFAST8): Likewise.
16844         [C99-based-standards] (SCNuFAST8): Likewise.
16845         [C99-based-standards] (SCNxFAST8): Likewise.
16846         [C99-based-standards] (PRId16): Likewise.
16847         [C99-based-standards] (PRIi16): Likewise.
16848         [C99-based-standards] (PRIo16): Likewise.
16849         [C99-based-standards] (PRIu16): Likewise.
16850         [C99-based-standards] (PRIx16): Likewise.
16851         [C99-based-standards] (PRIX16): Likewise.
16852         [C99-based-standards] (SCNd16): Likewise.
16853         [C99-based-standards] (SCNi16): Likewise.
16854         [C99-based-standards] (SCNo16): Likewise.
16855         [C99-based-standards] (SCNu16): Likewise.
16856         [C99-based-standards] (SCNx16): Likewise.
16857         [C99-based-standards] (PRIdLEAST16): Likewise.
16858         [C99-based-standards] (PRIiLEAST16): Likewise.
16859         [C99-based-standards] (PRIoLEAST16): Likewise.
16860         [C99-based-standards] (PRIuLEAST16): Likewise.
16861         [C99-based-standards] (PRIxLEAST16): Likewise.
16862         [C99-based-standards] (PRIXLEAST16): Likewise.
16863         [C99-based-standards] (SCNdLEAST16): Likewise.
16864         [C99-based-standards] (SCNiLEAST16): Likewise.
16865         [C99-based-standards] (SCNoLEAST16): Likewise.
16866         [C99-based-standards] (SCNuLEAST16): Likewise.
16867         [C99-based-standards] (SCNxLEAST16): Likewise.
16868         [C99-based-standards] (PRIdFAST16): Likewise.
16869         [C99-based-standards] (PRIiFAST16): Likewise.
16870         [C99-based-standards] (PRIoFAST16): Likewise.
16871         [C99-based-standards] (PRIuFAST16): Likewise.
16872         [C99-based-standards] (PRIxFAST16): Likewise.
16873         [C99-based-standards] (PRIXFAST16): Likewise.
16874         [C99-based-standards] (SCNdFAST16): Likewise.
16875         [C99-based-standards] (SCNiFAST16): Likewise.
16876         [C99-based-standards] (SCNoFAST16): Likewise.
16877         [C99-based-standards] (SCNuFAST16): Likewise.
16878         [C99-based-standards] (SCNxFAST16): Likewise.
16879         [C99-based-standards] (PRId32): Likewise.
16880         [C99-based-standards] (PRIi32): Likewise.
16881         [C99-based-standards] (PRIo32): Likewise.
16882         [C99-based-standards] (PRIu32): Likewise.
16883         [C99-based-standards] (PRIx32): Likewise.
16884         [C99-based-standards] (PRIX32): Likewise.
16885         [C99-based-standards] (SCNd32): Likewise.
16886         [C99-based-standards] (SCNi32): Likewise.
16887         [C99-based-standards] (SCNo32): Likewise.
16888         [C99-based-standards] (SCNu32): Likewise.
16889         [C99-based-standards] (SCNx32): Likewise.
16890         [C99-based-standards] (PRIdLEAST32): Likewise.
16891         [C99-based-standards] (PRIiLEAST32): Likewise.
16892         [C99-based-standards] (PRIoLEAST32): Likewise.
16893         [C99-based-standards] (PRIuLEAST32): Likewise.
16894         [C99-based-standards] (PRIxLEAST32): Likewise.
16895         [C99-based-standards] (PRIXLEAST32): Likewise.
16896         [C99-based-standards] (SCNdLEAST32): Likewise.
16897         [C99-based-standards] (SCNiLEAST32): Likewise.
16898         [C99-based-standards] (SCNoLEAST32): Likewise.
16899         [C99-based-standards] (SCNuLEAST32): Likewise.
16900         [C99-based-standards] (SCNxLEAST32): Likewise.
16901         [C99-based-standards] (PRIdFAST32): Likewise.
16902         [C99-based-standards] (PRIiFAST32): Likewise.
16903         [C99-based-standards] (PRIoFAST32): Likewise.
16904         [C99-based-standards] (PRIuFAST32): Likewise.
16905         [C99-based-standards] (PRIxFAST32): Likewise.
16906         [C99-based-standards] (PRIXFAST32): Likewise.
16907         [C99-based-standards] (SCNdFAST32): Likewise.
16908         [C99-based-standards] (SCNiFAST32): Likewise.
16909         [C99-based-standards] (SCNoFAST32): Likewise.
16910         [C99-based-standards] (SCNuFAST32): Likewise.
16911         [C99-based-standards] (SCNxFAST32): Likewise.
16912         [C99-based-standards] (PRId64): Likewise.
16913         [C99-based-standards] (PRIi64): Likewise.
16914         [C99-based-standards] (PRIo64): Likewise.
16915         [C99-based-standards] (PRIu64): Likewise.
16916         [C99-based-standards] (PRIx64): Likewise.
16917         [C99-based-standards] (PRIX64): Likewise.
16918         [C99-based-standards] (SCNd64): Likewise.
16919         [C99-based-standards] (SCNi64): Likewise.
16920         [C99-based-standards] (SCNo64): Likewise.
16921         [C99-based-standards] (SCNu64): Likewise.
16922         [C99-based-standards] (SCNx64): Likewise.
16923         [C99-based-standards] (PRIdLEAST64): Likewise.
16924         [C99-based-standards] (PRIiLEAST64): Likewise.
16925         [C99-based-standards] (PRIoLEAST64): Likewise.
16926         [C99-based-standards] (PRIuLEAST64): Likewise.
16927         [C99-based-standards] (PRIxLEAST64): Likewise.
16928         [C99-based-standards] (PRIXLEAST64): Likewise.
16929         [C99-based-standards] (SCNdLEAST64): Likewise.
16930         [C99-based-standards] (SCNiLEAST64): Likewise.
16931         [C99-based-standards] (SCNoLEAST64): Likewise.
16932         [C99-based-standards] (SCNuLEAST64): Likewise.
16933         [C99-based-standards] (SCNxLEAST64): Likewise.
16934         [C99-based-standards] (PRIdFAST64): Likewise.
16935         [C99-based-standards] (PRIiFAST64): Likewise.
16936         [C99-based-standards] (PRIoFAST64): Likewise.
16937         [C99-based-standards] (PRIuFAST64): Likewise.
16938         [C99-based-standards] (PRIxFAST64): Likewise.
16939         [C99-based-standards] (PRIXFAST64): Likewise.
16940         [C99-based-standards] (SCNdFAST64): Likewise.
16941         [C99-based-standards] (SCNiFAST64): Likewise.
16942         [C99-based-standards] (SCNoFAST64): Likewise.
16943         [C99-based-standards] (SCNuFAST64): Likewise.
16944         [C99-based-standards] (SCNxFAST64): Likewise.
16945         [C99-based-standards] (PRIdMAX): Likewise.
16946         [C99-based-standards] (PRIiMAX): Likewise.
16947         [C99-based-standards] (PRIoMAX): Likewise.
16948         [C99-based-standards] (PRIuMAX): Likewise.
16949         [C99-based-standards] (PRIxMAX): Likewise.
16950         [C99-based-standards] (PRIXMAX): Likewise.
16951         [C99-based-standards] (SCNdMAX): Likewise.
16952         [C99-based-standards] (SCNiMAX): Likewise.
16953         [C99-based-standards] (SCNoMAX): Likewise.
16954         [C99-based-standards] (SCNuMAX): Likewise.
16955         [C99-based-standards] (SCNxMAX): Likewise.
16956         [C99-based-standards] (PRIdPTR): Likewise.
16957         [C99-based-standards] (PRIiPTR): Likewise.
16958         [C99-based-standards] (PRIoPTR): Likewise.
16959         [C99-based-standards] (PRIuPTR): Likewise.
16960         [C99-based-standards] (PRIxPTR): Likewise.
16961         [C99-based-standards] (PRIXPTR): Likewise.
16962         [C99-based-standards] (SCNdPTR): Likewise.
16963         [C99-based-standards] (SCNiPTR): Likewise.
16964         [C99-based-standards] (SCNoPTR): Likewise.
16965         [C99-based-standards] (SCNuPTR): Likewise.
16966         [C99-based-standards] (SCNxPTR): Likewise.
16967         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16968         allow.
16969         * conform/data/stdint.h-data: Update comments to clarify
16970         requirements.
16971         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16972         type.
16973         [C99-based standards] (INT8_MAX): Likewise.
16974         [C99-based standards] (INT16_MIN): Likewise.
16975         [C99-based standards] (INT16_MAX): Likewise.
16976         [C99-based standards] (INT32_MIN): Likewise.
16977         [C99-based standards] (INT32_MAX): Likewise.
16978         [C99-based standards] (INT64_MIN): Likewise.
16979         [C99-based standards] (INT64_MAX): Likewise.
16980         [C99-based standards] (UINT8_MAX): Likewise.
16981         [C99-based standards] (UINT16_MAX): Likewise.
16982         [C99-based standards] (UINT32_MAX): Likewise.
16983         [C99-based standards] (UINT64_MAX): Likewise.
16984         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16985         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16986         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16987         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16988         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16989         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16990         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16991         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16992         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16993         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16994         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16995         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16996         [C99-based standards] (INT_FAST8_MIN): Likewise.
16997         [C99-based standards] (INT_FAST8_MAX): Likewise.
16998         [C99-based standards] (INT_FAST16_MIN): Likewise.
16999         [C99-based standards] (INT_FAST16_MAX): Likewise.
17000         [C99-based standards] (INT_FAST32_MIN): Likewise.
17001         [C99-based standards] (INT_FAST32_MAX): Likewise.
17002         [C99-based standards] (INT_FAST64_MIN): Likewise.
17003         [C99-based standards] (INT_FAST64_MAX): Likewise.
17004         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17005         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17006         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17007         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17008         [C99-based standards] (INTPTR_MIN): Likewise.
17009         [C99-based standards] (INTPTR_MAX): Likewise.
17010         [C99-based standards] (UINTPTR_MAX): Likewise.
17011         [C99-based standards] (INTMAX_MIN): Likewise.
17012         [C99-based standards] (INTMAX_MAX): Likewise.
17013         [C99-based standards] (UINTMAX_MAX): Likewise.
17014         [C99-based standards] (PTRDIFF_MIN): Likewise.
17015         [C99-based standards] (PTRDIFF_MAX): Likewise.
17016         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17017         [C99-based standards] (SIZE_MAX): Likewise.
17018         [C99-based standards] (WCHAR_MAX): Likewise.
17019         [C99-based standards] (WINT_MAX): Likewise.
17020         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17021         constraint on value.
17022         [C99-based standards] (WCHAR_MIN): Likewise.
17023         [C99-based standards] (WINT_MIN): Likewise.
17024         [C99-based standards] (*_t): Allow.
17025         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17026         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17027         Include math.h-data and complex.h-data.  Remove all expectations
17028         of math.h and complex.h contents.
17029         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17030         at end of line.
17031         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17032         (struct tm): Expect tag.
17033         [C99-based-standards] (wcstof): Expect function.
17034         [C99-based-standards] (wcstold): Likewise.
17035         [C99-based-standards] (wcstoll): Likewise.
17036         [C99-based-standards] (wcstoull): Likewise.
17037         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17038         macro-int-constant.  Specify type.
17039         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17040         constraint on value.
17041         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17042         Specify type.
17043         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17044         Specify value.
17045         [ISO C standards]: Do not allow headers.
17046         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17047         wcs[abcdefghijklmnopqrstuvwxyz]*.
17048         [ISO C standards] (*_t): Do not allow.
17049         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17050         Expect function.
17051         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17052         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17053         Specify type.
17054         [ISO C standards]: Do not allow headers.
17055         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17056         is[abcdefghijklmnopqrstuvwxyz]*.
17057         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17058         to[abcdefghijklmnopqrstuvwxyz]*.
17059         [ISO C standards] (*_t): Do not allow.
17060         * conform/data/stdalign.h-data: New file.
17061         * conform/data/stdbool.h-data: Likewise.
17062         * conform/data/stdnoreturn.h-data: Likewise.
17064 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17066         [BZ #14815]
17067         * manual/filesys.texi (Directory Entries): Typo fix.
17068         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17070 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17072         * elf/elf.h (EM_AARCH64): New macro.
17073         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17074         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17075         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17076         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17077         (R_AARCH64_TLSDESC): Likewise.
17078         (NT_ARM_TLS): Likewise.
17079         (NT_ARM_HW_BREAK): Likewise.
17080         (NT_ARM_HW_WATCH): Likewise.
17082 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17084         [BZ #14811]
17085         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17086         (__ieee754_powl): Saturate nonzero exponents with absolute value
17087         below 0x1p-79 to +/- 0x1p-79.
17088         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17089         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17090         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17091         nonzero exponents with absolute value below 0x1p-32 to +/-
17092         0x1p-32.
17093         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17094         (__ieee754_powl): Saturate nonzero exponents with absolute value
17095         below 0x1p-79 to +/- 0x1p-79.
17096         * math/libm-test.inc (pow_test): Add more tests.
17098 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17100         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17101         _dl_s390_cap_flags with kernel. Increase string length.
17102         (_dl_s390_platforms): Add z196 and zEC12.
17104 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17106         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17107         Change XOPEN21K to XOPEN2K.
17109 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17111         * string/memmove.c: Use memcpy when possible.
17113 2012-11-06  Andreas Jaeger  <aj@suse.de>
17115         * po/eo.po: Update from translation team.
17117 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17119         [BZ #14793]
17120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17121         exponent and small x and y exponents, scale x or y up.  Increase
17122         by 2 the exponent used in scaling up.
17123         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17124         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17125         * math/libm-test.inc (fma_test): Add more tests.
17126         (fma_test_towardzero): Likewise.
17127         (fma_test_downward): Likewise.
17128         (fma_test_upward): Likewise.
17130 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17132         [BZ #14805]
17133         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17134         fenv_t *.
17136         [BZ #14801]
17137         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17138         namespace for names of struct fields.
17139         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17140         fenv_t fields.
17141         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17142         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17144 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17146         [BZ #3665]
17147         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17149 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17151         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17152         PTR_DEMANGLE.
17154         [BZ #5246]
17155         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17156         PTR_DEMANGLE.
17158 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17160         [BZ #14797]
17161         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17162         definitely overflow as x * y not x * y + z.
17163         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17164         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17165         * math/libm-test.inc (fma_test): Add more tests.
17166         (fma_test_towardzero): Likewise.
17167         (fma_test_downward): Likewise.
17168         (fma_test_upward): Likewise.
17170 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17172         [BZ #157]
17174         * include/stub-tag.h: Remove file.
17175         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17176         '#include' of it.
17177         * manual/maint.texi (Porting): Don't reference it.
17178         * Makerules ($(objpfx)stubs): Likewise.
17179         * dirent/closedir.c: Don't include <stub-tag.h>.
17180         * dirent/dirfd.c: Likewise.
17181         * dirent/fdopendir.c: Likewise.
17182         * dirent/getdents.c: Likewise.
17183         * dirent/getdents64.c: Likewise.
17184         * dirent/opendir.c: Likewise.
17185         * dirent/readdir.c: Likewise.
17186         * dirent/readdir64.c: Likewise.
17187         * dirent/readdir64_r.c: Likewise.
17188         * dirent/readdir_r.c: Likewise.
17189         * dirent/rewinddir.c: Likewise.
17190         * dirent/seekdir.c: Likewise.
17191         * dirent/telldir.c: Likewise.
17192         * gmon/profil.c: Likewise.
17193         * grp/setgroups.c: Likewise.
17194         * inet/if_index.c: Likewise.
17195         * io/access.c: Likewise.
17196         * io/chdir.c: Likewise.
17197         * io/chmod.c: Likewise.
17198         * io/chown.c: Likewise.
17199         * io/close.c: Likewise.
17200         * io/dup.c: Likewise.
17201         * io/dup2.c: Likewise.
17202         * io/dup3.c: Likewise.
17203         * io/euidaccess.c: Likewise.
17204         * io/faccessat.c: Likewise.
17205         * io/fchdir.c: Likewise.
17206         * io/fchmod.c: Likewise.
17207         * io/fchmodat.c: Likewise.
17208         * io/fchown.c: Likewise.
17209         * io/fchownat.c: Likewise.
17210         * io/fcntl.c: Likewise.
17211         * io/flock.c: Likewise.
17212         * io/fstatfs.c: Likewise.
17213         * io/fstatfs64.c: Likewise.
17214         * io/fstatvfs.c: Likewise.
17215         * io/fstatvfs64.c: Likewise.
17216         * io/futimens.c: Likewise.
17217         * io/fxstat.c: Likewise.
17218         * io/fxstat64.c: Likewise.
17219         * io/fxstatat.c: Likewise.
17220         * io/fxstatat64.c: Likewise.
17221         * io/getcwd.c: Likewise.
17222         * io/isatty.c: Likewise.
17223         * io/lchmod.c: Likewise.
17224         * io/lchown.c: Likewise.
17225         * io/link.c: Likewise.
17226         * io/linkat.c: Likewise.
17227         * io/lseek.c: Likewise.
17228         * io/lseek64.c: Likewise.
17229         * io/lxstat64.c: Likewise.
17230         * io/mkdir.c: Likewise.
17231         * io/mkdirat.c: Likewise.
17232         * io/mkfifo.c: Likewise.
17233         * io/mkfifoat.c: Likewise.
17234         * io/open.c: Likewise.
17235         * io/open64.c: Likewise.
17236         * io/openat.c: Likewise.
17237         * io/openat64.c: Likewise.
17238         * io/pipe.c: Likewise.
17239         * io/pipe2.c: Likewise.
17240         * io/poll.c: Likewise.
17241         * io/posix_fadvise.c: Likewise.
17242         * io/posix_fadvise64.c: Likewise.
17243         * io/posix_fallocate.c: Likewise.
17244         * io/posix_fallocate64.c: Likewise.
17245         * io/read.c: Likewise.
17246         * io/readlink.c: Likewise.
17247         * io/readlinkat.c: Likewise.
17248         * io/rmdir.c: Likewise.
17249         * io/sendfile.c: Likewise.
17250         * io/sendfile64.c: Likewise.
17251         * io/statfs.c: Likewise.
17252         * io/statfs64.c: Likewise.
17253         * io/statvfs.c: Likewise.
17254         * io/statvfs64.c: Likewise.
17255         * io/symlink.c: Likewise.
17256         * io/symlinkat.c: Likewise.
17257         * io/ttyname.c: Likewise.
17258         * io/ttyname_r.c: Likewise.
17259         * io/umask.c: Likewise.
17260         * io/unlink.c: Likewise.
17261         * io/unlinkat.c: Likewise.
17262         * io/utime.c: Likewise.
17263         * io/utimensat.c: Likewise.
17264         * io/write.c: Likewise.
17265         * io/xmknod.c: Likewise.
17266         * io/xmknodat.c: Likewise.
17267         * io/xstat.c: Likewise.
17268         * io/xstat64.c: Likewise.
17269         * login/getpt.c: Likewise.
17270         * login/grantpt.c: Likewise.
17271         * login/unlockpt.c: Likewise.
17272         * math/e_acoshl.c: Likewise.
17273         * math/e_acosl.c: Likewise.
17274         * math/e_asinl.c: Likewise.
17275         * math/e_atan2l.c: Likewise.
17276         * math/e_atanhl.c: Likewise.
17277         * math/e_coshl.c: Likewise.
17278         * math/e_expl.c: Likewise.
17279         * math/e_fmodl.c: Likewise.
17280         * math/e_gammal_r.c: Likewise.
17281         * math/e_hypotl.c: Likewise.
17282         * math/e_j0l.c: Likewise.
17283         * math/e_j1l.c: Likewise.
17284         * math/e_jnl.c: Likewise.
17285         * math/e_lgammal_r.c: Likewise.
17286         * math/e_log10l.c: Likewise.
17287         * math/e_log2l.c: Likewise.
17288         * math/e_logl.c: Likewise.
17289         * math/e_powl.c: Likewise.
17290         * math/e_rem_pio2l.c: Likewise.
17291         * math/e_sinhl.c: Likewise.
17292         * math/e_sqrtl.c: Likewise.
17293         * math/fclrexcpt.c: Likewise.
17294         * math/fedisblxcpt.c: Likewise.
17295         * math/feenablxcpt.c: Likewise.
17296         * math/fegetenv.c: Likewise.
17297         * math/fegetexcept.c: Likewise.
17298         * math/fegetround.c: Likewise.
17299         * math/feholdexcpt.c: Likewise.
17300         * math/fesetenv.c: Likewise.
17301         * math/fesetround.c: Likewise.
17302         * math/feupdateenv.c: Likewise.
17303         * math/fgetexcptflg.c: Likewise.
17304         * math/fraiseexcpt.c: Likewise.
17305         * math/fsetexcptflg.c: Likewise.
17306         * math/ftestexcept.c: Likewise.
17307         * math/k_cosl.c: Likewise.
17308         * math/k_rem_pio2l.c: Likewise.
17309         * math/k_sinl.c: Likewise.
17310         * math/k_tanl.c: Likewise.
17311         * math/s_asinhl.c: Likewise.
17312         * math/s_atanl.c: Likewise.
17313         * math/s_cbrtl.c: Likewise.
17314         * math/s_erfl.c: Likewise.
17315         * math/s_expm1l.c: Likewise.
17316         * math/s_log1pl.c: Likewise.
17317         * math/s_tanhl.c: Likewise.
17318         * misc/acct.c: Likewise.
17319         * misc/brk.c: Likewise.
17320         * misc/chflags.c: Likewise.
17321         * misc/chroot.c: Likewise.
17322         * misc/fchflags.c: Likewise.
17323         * misc/fgetxattr.c: Likewise.
17324         * misc/flistxattr.c: Likewise.
17325         * misc/fremovexattr.c: Likewise.
17326         * misc/fsetxattr.c: Likewise.
17327         * misc/fsync.c: Likewise.
17328         * misc/ftruncate.c: Likewise.
17329         * misc/futimes.c: Likewise.
17330         * misc/futimesat.c: Likewise.
17331         * misc/getdomain.c: Likewise.
17332         * misc/getdtsz.c: Likewise.
17333         * misc/gethostid.c: Likewise.
17334         * misc/gethostname.c: Likewise.
17335         * misc/getloadavg.c: Likewise.
17336         * misc/getpagesize.c: Likewise.
17337         * misc/getsysstats.c: Likewise.
17338         * misc/getxattr.c: Likewise.
17339         * misc/gtty.c: Likewise.
17340         * misc/ioctl.c: Likewise.
17341         * misc/lgetxattr.c: Likewise.
17342         * misc/listxattr.c: Likewise.
17343         * misc/llistxattr.c: Likewise.
17344         * misc/lremovexattr.c: Likewise.
17345         * misc/lsetxattr.c: Likewise.
17346         * misc/lutimes.c: Likewise.
17347         * misc/madvise.c: Likewise.
17348         * misc/mincore.c: Likewise.
17349         * misc/mlock.c: Likewise.
17350         * misc/mlockall.c: Likewise.
17351         * misc/mmap.c: Likewise.
17352         * misc/mprotect.c: Likewise.
17353         * misc/msync.c: Likewise.
17354         * misc/munlock.c: Likewise.
17355         * misc/munlockall.c: Likewise.
17356         * misc/munmap.c: Likewise.
17357         * misc/preadv.c: Likewise.
17358         * misc/preadv64.c: Likewise.
17359         * misc/ptrace.c: Likewise.
17360         * misc/pwritev.c: Likewise.
17361         * misc/pwritev64.c: Likewise.
17362         * misc/readv.c: Likewise.
17363         * misc/reboot.c: Likewise.
17364         * misc/remap_file_pages.c: Likewise.
17365         * misc/removexattr.c: Likewise.
17366         * misc/revoke.c: Likewise.
17367         * misc/select.c: Likewise.
17368         * misc/setdomain.c: Likewise.
17369         * misc/setegid.c: Likewise.
17370         * misc/seteuid.c: Likewise.
17371         * misc/sethostid.c: Likewise.
17372         * misc/sethostname.c: Likewise.
17373         * misc/setregid.c: Likewise.
17374         * misc/setreuid.c: Likewise.
17375         * misc/setxattr.c: Likewise.
17376         * misc/sstk.c: Likewise.
17377         * misc/stty.c: Likewise.
17378         * misc/swapoff.c: Likewise.
17379         * misc/swapon.c: Likewise.
17380         * misc/sync.c: Likewise.
17381         * misc/syncfs.c: Likewise.
17382         * misc/syscall.c: Likewise.
17383         * misc/truncate.c: Likewise.
17384         * misc/ualarm.c: Likewise.
17385         * misc/usleep.c: Likewise.
17386         * misc/ustat.c: Likewise.
17387         * misc/utimes.c: Likewise.
17388         * misc/vhangup.c: Likewise.
17389         * misc/writev.c: Likewise.
17390         * posix/_exit.c: Likewise.
17391         * posix/alarm.c: Likewise.
17392         * posix/execve.c: Likewise.
17393         * posix/fexecve.c: Likewise.
17394         * posix/fork.c: Likewise.
17395         * posix/fpathconf.c: Likewise.
17396         * posix/getaddrinfo.c: Likewise.
17397         * posix/getegid.c: Likewise.
17398         * posix/geteuid.c: Likewise.
17399         * posix/getgid.c: Likewise.
17400         * posix/getgroups.c: Likewise.
17401         * posix/getlogin.c: Likewise.
17402         * posix/getlogin_r.c: Likewise.
17403         * posix/getpgid.c: Likewise.
17404         * posix/getpid.c: Likewise.
17405         * posix/getppid.c: Likewise.
17406         * posix/getresgid.c: Likewise.
17407         * posix/getresuid.c: Likewise.
17408         * posix/getsid.c: Likewise.
17409         * posix/getuid.c: Likewise.
17410         * posix/glob64.c: Likewise.
17411         * posix/nanosleep.c: Likewise.
17412         * posix/pathconf.c: Likewise.
17413         * posix/pause.c: Likewise.
17414         * posix/posix_madvise.c: Likewise.
17415         * posix/pread.c: Likewise.
17416         * posix/pread64.c: Likewise.
17417         * posix/pwrite.c: Likewise.
17418         * posix/pwrite64.c: Likewise.
17419         * posix/sched_getaffinity.c: Likewise.
17420         * posix/sched_getp.c: Likewise.
17421         * posix/sched_gets.c: Likewise.
17422         * posix/sched_primax.c: Likewise.
17423         * posix/sched_primin.c: Likewise.
17424         * posix/sched_rr_gi.c: Likewise.
17425         * posix/sched_setaffinity.c: Likewise.
17426         * posix/sched_setp.c: Likewise.
17427         * posix/sched_sets.c: Likewise.
17428         * posix/sched_yield.c: Likewise.
17429         * posix/setgid.c: Likewise.
17430         * posix/setlogin.c: Likewise.
17431         * posix/setpgid.c: Likewise.
17432         * posix/setresgid.c: Likewise.
17433         * posix/setresuid.c: Likewise.
17434         * posix/setsid.c: Likewise.
17435         * posix/setuid.c: Likewise.
17436         * posix/sleep.c: Likewise.
17437         * posix/spawni.c: Likewise.
17438         * posix/sysconf.c: Likewise.
17439         * posix/times.c: Likewise.
17440         * posix/wait.c: Likewise.
17441         * posix/wait3.c: Likewise.
17442         * posix/wait4.c: Likewise.
17443         * posix/waitpid.c: Likewise.
17444         * resolv/gai_sigqueue.c: Likewise.
17445         * resource/getpriority.c: Likewise.
17446         * resource/getrlimit.c: Likewise.
17447         * resource/getrusage.c: Likewise.
17448         * resource/nice.c: Likewise.
17449         * resource/setpriority.c: Likewise.
17450         * resource/setrlimit.c: Likewise.
17451         * resource/ulimit.c: Likewise.
17452         * rt/aio_cancel.c: Likewise.
17453         * rt/aio_fsync.c: Likewise.
17454         * rt/aio_read.c: Likewise.
17455         * rt/aio_sigqueue.c: Likewise.
17456         * rt/aio_suspend.c: Likewise.
17457         * rt/aio_write.c: Likewise.
17458         * rt/clock_getres.c: Likewise.
17459         * rt/clock_gettime.c: Likewise.
17460         * rt/clock_nanosleep.c: Likewise.
17461         * rt/clock_settime.c: Likewise.
17462         * rt/lio_listio.c: Likewise.
17463         * rt/mq_close.c: Likewise.
17464         * rt/mq_getattr.c: Likewise.
17465         * rt/mq_notify.c: Likewise.
17466         * rt/mq_open.c: Likewise.
17467         * rt/mq_receive.c: Likewise.
17468         * rt/mq_send.c: Likewise.
17469         * rt/mq_setattr.c: Likewise.
17470         * rt/mq_timedreceive.c: Likewise.
17471         * rt/mq_timedsend.c: Likewise.
17472         * rt/mq_unlink.c: Likewise.
17473         * rt/shm_open.c: Likewise.
17474         * rt/shm_unlink.c: Likewise.
17475         * rt/timer_create.c: Likewise.
17476         * rt/timer_delete.c: Likewise.
17477         * rt/timer_getoverr.c: Likewise.
17478         * rt/timer_gettime.c: Likewise.
17479         * rt/timer_settime.c: Likewise.
17480         * setjmp/__longjmp.c: Likewise.
17481         * setjmp/setjmp.c: Likewise.
17482         * signal/kill.c: Likewise.
17483         * signal/killpg.c: Likewise.
17484         * signal/raise.c: Likewise.
17485         * signal/sigaction.c: Likewise.
17486         * signal/sigaltstack.c: Likewise.
17487         * signal/sigblock.c: Likewise.
17488         * signal/sigignore.c: Likewise.
17489         * signal/sigintr.c: Likewise.
17490         * signal/signal.c: Likewise.
17491         * signal/sigpause.c: Likewise.
17492         * signal/sigpending.c: Likewise.
17493         * signal/sigqueue.c: Likewise.
17494         * signal/sigreturn.c: Likewise.
17495         * signal/sigset.c: Likewise.
17496         * signal/sigsetmask.c: Likewise.
17497         * signal/sigstack.c: Likewise.
17498         * signal/sigsuspend.c: Likewise.
17499         * signal/sigtimedwait.c: Likewise.
17500         * signal/sigvec.c: Likewise.
17501         * signal/sigwait.c: Likewise.
17502         * signal/sigwaitinfo.c: Likewise.
17503         * signal/sysv_signal.c: Likewise.
17504         * socket/accept.c: Likewise.
17505         * socket/accept4.c: Likewise.
17506         * socket/bind.c: Likewise.
17507         * socket/connect.c: Likewise.
17508         * socket/getpeername.c: Likewise.
17509         * socket/getsockname.c: Likewise.
17510         * socket/getsockopt.c: Likewise.
17511         * socket/isfdtype.c: Likewise.
17512         * socket/listen.c: Likewise.
17513         * socket/recv.c: Likewise.
17514         * socket/recvfrom.c: Likewise.
17515         * socket/recvmsg.c: Likewise.
17516         * socket/send.c: Likewise.
17517         * socket/sendmsg.c: Likewise.
17518         * socket/sendto.c: Likewise.
17519         * socket/setsockopt.c: Likewise.
17520         * socket/shutdown.c: Likewise.
17521         * socket/sockatmark.c: Likewise.
17522         * socket/socket.c: Likewise.
17523         * socket/socketpair.c: Likewise.
17524         * stdio-common/ctermid.c: Likewise.
17525         * stdio-common/cuserid.c: Likewise.
17526         * stdio-common/remove.c: Likewise.
17527         * stdio-common/rename.c: Likewise.
17528         * stdio-common/renameat.c: Likewise.
17529         * stdio-common/tempname.c: Likewise.
17530         * stdlib/getcontext.c: Likewise.
17531         * stdlib/makecontext.c: Likewise.
17532         * stdlib/setcontext.c: Likewise.
17533         * stdlib/swapcontext.c: Likewise.
17534         * stdlib/system.c: Likewise.
17535         * streams/fattach.c: Likewise.
17536         * streams/fdetach.c: Likewise.
17537         * streams/getmsg.c: Likewise.
17538         * streams/getpmsg.c: Likewise.
17539         * streams/putmsg.c: Likewise.
17540         * streams/putpmsg.c: Likewise.
17541         * sysdeps/unix/bsd/getpt.c: Likewise.
17542         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17543         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17544         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17546         Likewise.
17547         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17548         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17549         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17550         * sysvipc/msgctl.c: Likewise.
17551         * sysvipc/msgget.c: Likewise.
17552         * sysvipc/msgrcv.c: Likewise.
17553         * sysvipc/msgsnd.c: Likewise.
17554         * sysvipc/semctl.c: Likewise.
17555         * sysvipc/semget.c: Likewise.
17556         * sysvipc/semop.c: Likewise.
17557         * sysvipc/semtimedop.c: Likewise.
17558         * sysvipc/shmat.c: Likewise.
17559         * sysvipc/shmctl.c: Likewise.
17560         * sysvipc/shmdt.c: Likewise.
17561         * sysvipc/shmget.c: Likewise.
17562         * termios/tcdrain.c: Likewise.
17563         * termios/tcflow.c: Likewise.
17564         * termios/tcflush.c: Likewise.
17565         * termios/tcgetattr.c: Likewise.
17566         * termios/tcgetpgrp.c: Likewise.
17567         * termios/tcsendbrk.c: Likewise.
17568         * termios/tcsetattr.c: Likewise.
17569         * termios/tcsetpgrp.c: Likewise.
17570         * time/adjtime.c: Likewise.
17571         * time/clock.c: Likewise.
17572         * time/getitimer.c: Likewise.
17573         * time/gettimeofday.c: Likewise.
17574         * time/setitimer.c: Likewise.
17575         * time/settimeofday.c: Likewise.
17576         * time/stime.c: Likewise.
17577         * time/time.c: Likewise.
17579 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17581         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17582         /usr/old/bin.
17584         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17585         instead of spaces.
17586         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17588 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17590         [BZ #14796]
17591         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17592         FE_TONEAREST before applying Dekker multiplication and Knuth
17593         addition.  Clear inexact exceptions and check for exact zero
17594         results afterwards.
17595         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17596         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17597         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17598         * math/libm-test.inc (fma_test): Add more tests.
17599         (fma_test_towardzero): Likewise.
17600         (fma_test_downward): Likewise.
17601         (fma_test_upward): Likewise.
17602         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17603         function.
17604         (libc_fesetround): New macro.
17605         (libc_fesetroundf): Likewise.
17606         (libc_fesetroundl): Likewise.
17607         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17608         function.
17609         (libc_fesetround_387): Likewise.
17610         (libc_fesetroundf): New macro.
17611         (libc_fesetround): Likewise.
17612         (libc_fesetroundl): Likewise.
17613         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17614         function.
17615         (libc_fesetroundf): New macro.
17616         (libc_fesetround): Likewise.
17617         (libc_fesetroundl): Likewise.
17618         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17619         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17620         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17621         libm_hidden_ver.
17622         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17623         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17624         libm_hidden_def.
17625         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17626         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17627         libm_hidden_ver.
17628         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17629         libm_hidden_def.
17631         [BZ #3439]
17632         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17633         integer constant usable in #if and use that to give value to enum
17634         constant.
17635         (FE_DIVBYZERO): Likewise.
17636         (FE_UNDERFLOW): Likewise.
17637         (FE_OVERFLOW): Likewise.
17638         (FE_INVALID): Likewise.
17639         (FE_INVALID_SNAN): Likewise.
17640         (FE_INVALID_ISI): Likewise.
17641         (FE_INVALID_IDI): Likewise.
17642         (FE_INVALID_ZDZ): Likewise.
17643         (FE_INVALID_IMZ): Likewise.
17644         (FE_INVALID_COMPARE): Likewise.
17645         (FE_INVALID_SOFTWARE): Likewise.
17646         (FE_INVALID_SQRT): Likewise.
17647         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17648         (FE_TONEAREST): Likewise.
17649         (FE_TOWARDZERO): Likewise.
17650         (FE_UPWARD): Likewise.
17651         (FE_DOWNWARD): Likewise.
17652         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17653         (FE_DIVBYZERO): Likewise.
17654         (FE_OVERFLOW): Likewise.
17655         (FE_UNDERFLOW): Likewise.
17656         (FE_INEXACT): Likewise.
17657         (FE_TONEAREST): Likewise.
17658         (FE_DOWNWARD): Likewise.
17659         (FE_UPWARD): Likewise.
17660         (FE_TOWARDZERO): Likewise.
17661         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17662         (FE_UNDERFLOW): Likewise.
17663         (FE_OVERFLOW): Likewise.
17664         (FE_DIVBYZERO): Likewise.
17665         (FE_INVALID): Likewise.
17666         (FE_TONEAREST): Likewise.
17667         (FE_TOWARDZERO): Likewise.
17668         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17669         (FE_OVERFLOW): Likewise.
17670         (FE_UNDERFLOW): Likewise.
17671         (FE_DIVBYZERO): Likewise.
17672         (FE_INEXACT): Likewise.
17673         (FE_TONEAREST): Likewise.
17674         (FE_TOWARDZERO): Likewise.
17675         (FE_UPWARD): Likewise.
17676         (FE_DOWNWARD): Likewise.
17677         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17678         (FE_DIVBYZERO): Likewise.
17679         (FE_OVERFLOW): Likewise.
17680         (FE_UNDERFLOW): Likewise.
17681         (FE_INEXACT): Likewise.
17682         (FE_TONEAREST): Likewise.
17683         (FE_DOWNWARD): Likewise.
17684         (FE_UPWARD): Likewise.
17685         (FE_TOWARDZERO): Likewise.
17687 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17689         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17691 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17693         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17694         commands.  Quote $PWD.
17695         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17696         -x" by "export".
17697         (remove_newlines): Remove.
17699 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17701         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17702         * stdlib/stdlib.h (atof): Moved to ...
17703         * include/bits/stdlib-float.h: Here.  New file.
17704         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17705         * stdlib/bits/stdlib-float.h: New file.
17706         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17707         -mno-sse -mno-mmx.
17708         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17709         <xmmintrin.h>.
17711 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17713         * conform/conformtest.pl (@headers): Add fenv.h.
17714         * conform/data/fenv.h-data: New file.
17715         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17716         include of <math/fenv.h>.
17718         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17719         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17720         && !UNIX98].  Enables tests for XOPEN2K8.
17721         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17722         POSIX2008]: Likewise.
17724         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17725         (struct rusage): Do not expect type or its members.
17727         [BZ #3439]
17728         * math/math.h (FP_NAN): Define macro to integer constant usable in
17729         #if and use that to give value to enum constant.
17730         (FP_INFINITE): Likewise.
17731         (FP_ZERO): Likewise.
17732         (FP_SUBNORMAL): Likewise.
17733         (FP_NORMAL): Likewise.
17735 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17737         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17738         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17739         arguments.
17741 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17743         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17744         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17745         autoconf-time if not.
17746         * configure.in: Remove AC_PREREQ.
17748 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17750         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17751         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17752         of the internal implementation.
17754 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17756         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17757         except include of <misc/sys/syslog.h>.
17759 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17762         function returns with a NULL context exit with zero.
17764 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17766         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17768 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17770         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17771         (run_program_cmd): This.
17772         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17773         (tst_langinfo): New variable.  Use it.
17775 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17777         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17778         floating point opcodes.
17780 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17782         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17783         variable.
17785         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17787         * sysdeps/mach/hurd/powerpc: Remove directory.
17788         * sysdeps/mach/powerpc: Likewise.
17790 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17792         * scripts/check-local-headers.sh: Ignore c++ headers.
17794 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17796         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17797         __libc_cleanup_region_start argument.
17799 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17801         [BZ #14784]
17802         [BZ #14785]
17803         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17804         x * y using scaling, not as x * y + z.
17805         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17806         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17807         * math/libm-test.inc (fma_test): Add more tests.
17808         (fma_test_towardzero): Likewise.
17809         (fma_test_downward): Likewise.
17810         (fma_test_upward): Likewise.
17812 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17814         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17816 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17818         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17819         New variable.
17821 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17823         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17825 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17828         Fix sort order.
17829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17830         Likewise.
17832 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17835         Fix the order of the list for glibc 2.17.
17836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17837         Likewise.
17839 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17843 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17845         [BZ #14610]
17846         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17847         for low part of x being zero before using __atanl (y).
17848         * math/libm-test.inc (atan2_test): Add another test.
17850         * manual/install.texi (Configuring and compiling): Document
17851         general use of test-wrapper and test-wrapper-env.
17852         * INSTALL: Regenerated.
17854         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17855         (__fma): Do not extract and scale down low bits on after-rounding
17856         systems when result rounded to normal precision would have normal
17857         exponent.
17858         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17859         (__fmal): Do not extract and scale down low bits on after-rounding
17860         systems when result rounded to normal precision would have normal
17861         exponent.
17862         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17863         (__fmal): Do not extract and scale down low bits on after-rounding
17864         systems when result rounded to normal precision would have normal
17865         exponent.
17866         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17867         macro.
17868         (fma_test): Add more tests.
17869         (fma_test_towardzero): Likewise.
17870         (fma_test_downward): Likewise.
17871         (fma_test_upward): Likewise.
17873 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17875         * sysdeps/i386/tininess.h: Renamed to ...
17876         * sysdeps/x86/tininess.h: This.
17877         * sysdeps/x86_64/tininess.h: Removed.
17879 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17881         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17882         input.  Use $(build-program-cmd).
17883         ($(objpfx)tst-array1-static.out): Likewise.
17884         ($(objpfx)tst-array2.out): Likewise.
17885         ($(objpfx)tst-array3.out): Likewise.
17886         ($(objpfx)tst-array4.out): Likewise.
17887         ($(objpfx)tst-array5.out): Likewise.
17888         ($(objpfx)tst-array5-static.out): Likewise.
17890 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17892         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17893         if defined.
17895         * nss/nsswitch.h (nss_interface_function): Provide new
17896         macro for use with NSS functions.
17897         * grp/initgroups.c: Use new macro.
17898         * nss/getXXbyYY.c: Likewise.
17899         * nss/getXXbyYY_r.c: Likewise.
17900         * nss/getXXent.c: Likewise.
17901         * nss/getXXent_r.c: Likewise.
17902         * sysdeps/posix/getaddrinfo.c: Likewise.
17904 2012-10-30  Andreas Jaeger  <aj@suse.de>
17906         * po/ru.po: Update Russion translation from translation project.
17908 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17910         [BZ #14152]
17911         [BZ #14783]
17912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17913         result and shift together with sticky bit instead of replicating
17914         round-to-nearest rounding.
17915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17916         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17917         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17918         missing underflow exceptions.
17919         (fma_test_towardzero): Add more tests.
17920         (fma_test_downward): Likewise.
17921         (fma_test_upward): Likewise.
17923         [BZ #14047]
17924         * sysdeps/generic/tininess.h: New file.
17925         * sysdeps/i386/tininess.h: Likewise.
17926         * sysdeps/sh/tininess.h: Likewise.
17927         * sysdeps/x86_64/tininess.h: Likewise.
17928         * stdlib/tst-strtod-underflow.c: Likewise.
17929         * stdlib/tst-tininess.c: Likewise.
17930         * stdlib/strtod_l.c: Include <tininess.h>.
17931         (round_and_return): Do not set errno for exact underflow cases.
17932         Force an underflow exception when setting errno for underflow.
17933         Determine underflow based on rounding to normal precision if
17934         TININESS_AFTER_ROUNDING.
17935         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17936         ERANGE for exact underflow cases.
17937         * stdlib/Makefile (tests): Add tst-tininess and
17938         tst-strtod-underflow.
17939         ($(objpfx)tst-tininess): Use $(link-libm).
17940         ($(objpfx)tst-strtod-underflow): Likewise.
17942 2012-10-30  Andreas Jaeger  <aj@suse.de>
17944         [BZ#14767]
17945         * elf/Makefile (tests): Remove conditional for have-initfini-array
17946         since this is now always required and the variable does not exist
17947         anymore.
17948         (tests-static): Likewise.
17949         (modules-names): Likewise.
17951         * po/eo.po: Add Esperanto translation from translation project.
17953         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17954         merged with constructor/destructor.
17955         (init_array): Likewise.
17956         * elf/tst-array2dep.c (fini_array): Likewise.
17957         (init_array): Likewise.
17959 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17961         * manual/message.texi: Delete @cartouche tags.
17963 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17965         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17966         EOPNOTSUPP.
17967         * sysdeps/mach/hurd/fsync.c: Likewise.
17969         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17970         [_POSIX_REALTIME_SIGNALS]: Change condition to
17971         [_POSIX_REALTIME_SIGNALS > 0].
17973 2012-10-27  Andreas Jaeger  <aj@suse.de>
17975         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17976         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17977         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17978         [__WORDSIZE != 64]: Likewise.
17980 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17982         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17983         *  iconvdata/tst-tables.sh: Likewise.
17985 2012-10-25  David S. Miller  <davem@davemloft.net>
17987         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17988         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17989         of strtoull.
17991         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17992         ifunc-impl-list.c
17993         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17994         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17995         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17996         file.
17998 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18000         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18001         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18002         __getdirentries.
18004 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18005             Jim Blandy  <jimb@codesourcery.com>
18007         * scripts/cross-test-ssh.sh: New file.
18008         * manual/install.texi (Configuring and compiling): Document use of
18009         cross-test-ssh.sh.
18010         * INSTALL: Regenerated.
18012 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18014         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18015         EOPNOTSUPP.
18017 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18019         * Makeconfig (run-program-prefix): Fix comment.
18021 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18022             Jim Blandy  <jimb@codesourcery.com>
18024         * Makeconfig (test-wrapper): New variable,
18025         (test-wrapper-env): Likewise.
18026         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18027         (run-built-tests): Define to yes.
18028         (run-program-prefix): Use $(test-wrapper).
18029         (built-program-cmd): Likewise.
18030         * Rules (make-test-out): Use $(test-wrapper-env) and
18031         $(host-built-program-cmd).
18032         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18033         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18034         tst-pathopt.sh.
18035         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18036         $(test-wrapper-env) to tst-rtld-load-self.sh.
18037         ($(objpfx)order2.out): Use $(test-wrapper).
18038         ($(objpfx)tst-initorder.out): Likewise.
18039         ($(objpfx)tst-initorder2.out): Likewise.
18040         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18041         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18042         (test_wrapper_env): New variable.  Use it to run ld.so.
18043         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18044         Use it to run ld.so.
18045         (test_wrapper_env): Likewise.
18046         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18047         $(test-wrapper) to run-iconv-test.sh.
18048         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18049         (ICONV): Use $test_wrapper.
18050         * posix/Makefile ($(objpfx)globtest.out): Pass
18051         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18052         globtest.sh, not $(run-program-prefix).
18053         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18054         (test_wrapper): Likewise.
18055         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18056         set together with run_via_rtld_prefix.
18057         (run_program_prefix): Define in terms of test_wrapper and
18058         run_via_rtld_prefix.
18060 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18062         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18063         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18064         Targets removed.
18066         [BZ #14743]
18067         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18068         Declare __clock_getres, __clock_gettime, __clock_settime,
18069         __clock_nanosleep, and __clock_getcpuclockid.
18070         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18071         Remove librt_hidden_def (clock_gettime).
18072         * sysdeps/unix/clock_gettime.c: Likewise.
18073         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18074         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18075         * rt/clock_getres.c: Define __clock_getres as an alias.
18076         * sysdeps/posix/clock_getres.c: Likewise.
18077         * rt/clock_settime.c: Define __clock_settime as an alias.
18078         * sysdeps/unix/clock_settime.c: Likewise.
18079         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18080         * sysdeps/unix/clock_nanosleep.c: Likewise.
18081         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18082         * rt/clock-compat.c: New file.
18083         * rt/Makefile (librt-routines): Add clock-compat and move
18084         $(clock-routines) to ...
18085         (routines): ... here, new variable.
18086         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18087         Don't add get_clockfreq here.
18088         * rt/Versions (libc: GLIBC_2.17): New version set.
18089         Add clock_* symbols here.
18090         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18091         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18092         (GLIBC_2.17): Add clock_* symbols.
18093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18095         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18097         Likewise.
18098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18099         Likewise.
18100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18104         * NEWS: Mention the move.
18106         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18107         Use __open, __read, __close rather than their public counterparts.
18108         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18109         (__get_clockfreq_via_cpuinfo): Likewise.
18110         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18111         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18113         * config.h.in (HAVE_IFUNC): New #undef.
18114         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18115         was successful.
18116         * configure: Regenerated.
18118 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18120         * configure.in: Move READELF check to start of file.
18121         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18122         libc_cv_asm_gnu_indirect_function in the process.
18123         * configure: Regenerated.
18125 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18127         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18128         send the output to /dev/null.
18129         (libc_cv_cc_with_libunwind): Likewise.
18130         (libc_cv_as_noexecstack): Likewise.
18131         * configure: Regenerate.
18133 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18135         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18137         * posix/globtest.sh (TMPDIR): Do not set.
18138         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18139         (testout): Likewise.
18141 2012-10-24  Andreas Jaeger  <aj@suse.de>
18143         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18144         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18145         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18146         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18147         posix_fadvise64, posix_fallocate64.
18149         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18150         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18151         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18152         Likewise.
18153         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18154         Likewise.
18155         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18157         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18158         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18159         <bits/fcntl-linux.h>.
18160         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18162         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18163         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18164         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18165         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18166         [__WORDSIZE != 64]: Likewise.
18168 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18170         * Makeconfig (run-built-tests): New variable.
18171         * Rules [$(cross-compiling) = yes]: Change condition to
18172         [$(run-built-tests) = no].
18173         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18174         to [$(run-built-tests) = yes].
18175         * elf/Makefile [$(cross-compiling) = no]: Likewise
18176         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18177         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18178         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18179         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18180         * io/Makefile [$(cross-compiling) = no]: Likewise.
18181         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18182         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18183         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18184         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18185         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18186         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18187         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18188         * string/Makefile [$(cross-compiling) = no]: Likewise.
18190         * posix/Makefile ($(objpfx)globtest.out): Pass
18191         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18192         $(rtld-installed-name).
18193         * posix/globtest.sh (elf_objpfx): Remove variable.
18194         (rtld_installed_name): Likewise.
18195         (library_path): Likewise.
18196         (run_program_prefix): New variable.  Use for running globtest
18197         binary.
18199 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18200             Joseph Myers  <joseph@codesourcery.com>
18202         * Makeconfig (host-built-program-cmd): New variable.
18203         * elf/Makefile (tst-stackguard1-ARGS): Use
18204         $(host-built-program-cmd).
18205         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18206         (tst-spawn-ARGS): Likewise.
18207         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18209 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18210             Jim Blandy  <jimb@codesourcery.com>
18212         * Makeconfig (run-via-rtld-prefix): New variable.
18213         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18214         (built-program-cmd): Likewise.
18216 2012-10-22  Andreas Jaeger  <aj@suse.de>
18218         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18219         __O_RSYNC if it exists, otherwise to O_SYNC.
18221 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18222             Joseph Myers  <joseph@codesourcery.com>
18224         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18225         /dev/null.
18226         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18227         from /dev/null
18228         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18229         /dev/null.
18231 2012-10-22  Andreas Jaeger  <aj@suse.de>
18233         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18234         Define always.
18235         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18237         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18238         bits/fcntl-linux.h.
18240         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18241         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18243         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18244         to __O_LARGEFILE.
18245         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18246         to __O_LARGEFILE.
18248 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18249             Joseph Myers  <joseph@codesourcery.com>
18251         * config.make.in (NM): New variable.
18253 2012-10-21  Andreas Jaeger  <aj@suse.de>
18255         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18256         definitions and declarations that are provided by
18257         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18259 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18261         [BZ #14683]
18262         * elf/Makefile (tests-static): Add tst-leaks1-static.
18263         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18264         ($(objpfx)tst-leaks1-static): New rule.
18265         ($(objpfx)tst-leaks1-static-mem): Likewise.
18266         (tst-leaks1-static-ENV): New macro.
18267         * elf/dl-open.c (dl_open_worker): Check the main application
18268         only if SHARED is defined.
18269         * elf/tst-leaks1-static.c: New file.
18271 2012-10-20  Andreas Jaeger  <aj@suse.de>
18273         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18274         generic values for Linux.
18275         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18276         and declarations that are provided by <bits/fcntl-linux.h> and
18277         include <bits/fcntl-linux.h>.
18278         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18279         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18281 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18283         * io/fcntl.h: Move include of <bits/types.h> to the top and
18284         include it unconditionally.
18286 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18288         * wcsmbs/Makefile (tests-ifunc): New variable.
18289         (tests): Add $(tests-ifunc).
18290         * wcsmbs/test-wcschr-ifunc.c: New file.
18291         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18292         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18293         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18294         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18295         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18297         * string/Makefile (tests-ifunc): New variable.
18298         (tests): Add $(tests-ifunc).
18299         * string/test-memccpy.c (TEST_NAME): New macro.
18300         * string/test-memchr.c (TEST_NAME): Likewise.
18301         * string/test-memcmp.c (TEST_NAME): Likewise.
18302         * string/test-memcpy.c (TEST_NAME): Likewise.
18303         * string/test-memmem.c (TEST_NAME): Likewise.
18304         * string/test-memmove.c (TEST_NAME): Likewise.
18305         * string/test-memset.c (TEST_NAME): Likewise.
18306         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18307         * string/test-stpcpy.c (TEST_NAME): Likewise.
18308         * string/test-stpncpy.c (TEST_NAME): Likewise.
18309         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18310         * string/test-strcasestr.c (TEST_NAME): Likewise.
18311         * string/test-strcat.c (TEST_NAME): Likewise.
18312         * string/test-strchr.c (TEST_NAME): Likewise.
18313         * string/test-strcmp.c(TEST_NAME): Likewise.
18314         * string/test-strcpy.c (TEST_NAME): Likewise.
18315         * string/test-strcspn.c (TEST_NAME): Likewise.
18316         * string/test-strlen.c (TEST_NAME): Likewise.
18317         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18318         * string/test-strncmp.c (TEST_NAME): Likewise.
18319         * string/test-strncpy.c (TEST_NAME): Likewise.
18320         * string/test-strnlen.c (TEST_NAME): Likewise.
18321         * string/test-strpbrk.c (TEST_NAME): Likewise.
18322         * string/test-strrchr.c (TEST_NAME): Likewise.
18323         * string/test-strspn.c (TEST_NAME): Likewise.
18324         * string/test-strstr.c (TEST_NAME): Likewise.
18325         * string/test-bcopy-ifunc.c: New file.
18326         * string/test-bzero-ifunc.c: Likewise.
18327         * string/test-memccpy-ifunc.c: Likewise.
18328         * string/test-memchr-ifunc.c: Likewise.
18329         * string/test-memcmp-ifunc.c: Likewise.
18330         * string/test-memcpy-ifunc.c: Likewise.
18331         * string/test-memmem-ifunc.c: Likewise.
18332         * string/test-memmove-ifunc.c: Likewise.
18333         * string/test-mempcpy-ifunc.c: Likewise.
18334         * string/test-memset-ifunc.c: Likewise.
18335         * string/test-rawmemchr-ifunc.c: Likewise.
18336         * string/test-stpcpy-ifunc.c: Likewise.
18337         * string/test-stpncpy-ifunc.c: Likewise.
18338         * string/test-strcasecmp-ifunc.c: Likewise.
18339         * string/test-strcasestr-ifunc.c: Likewise.
18340         * string/test-strcat-ifunc.c: Likewise.
18341         * string/test-strchr-ifunc.c: Likewise.
18342         * string/test-strchrnul-ifunc.c: Likewise.
18343         * string/test-strcmp-ifunc.c: Likewise.
18344         * string/test-strcpy-ifunc.c: Likewise.
18345         * string/test-strcspn-ifunc.c: Likewise.
18346         * string/test-strlen-ifunc.c: Likewise.
18347         * string/test-strncasecmp-ifunc.c: Likewise.
18348         * string/test-strncat-ifunc.c: Likewise.
18349         * string/test-strncmp-ifunc.c: Likewise.
18350         * string/test-strncpy-ifunc.c: Likewise.
18351         * string/test-strnlen-ifunc.c: Likewise.
18352         * string/test-strpbrk-ifunc.c: Likewise.
18353         * string/test-strrchr-ifunc.c: Likewise.
18354         * string/test-strspn-ifunc.c: Likewise.
18355         * string/test-strstr-ifunc.c: Likewise.
18357         * debug/Makefile (tests-ifunc): New variable.
18358         (tests): Add $(tests-ifunc).
18359         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18360         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18361         * debug/test-stpcpy_chk-ifunc.c: New file.
18362         * debug/test-strcpy_chk-ifunc.c: Likewise.
18364 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18366         [BZ #13601]
18367         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18368         header is not read in.
18370 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18372         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18373         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18374         directly.  Pass built executable to script as
18375         $(built-program-cmd).
18376         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18377         $testprogram without using LD_LIBRARY_PATH and $ldso.
18379         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18380         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18381         $(rtld-installed-name).
18382         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18383         (rtld_installed_name): Likewise.
18384         (library_path): Likewise.
18385         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18386         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18387         $(run-program-prefix) to tst-tables.sh.
18388         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18389         it to run tst-table-from and tst-table-to.
18390         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18391         Pass it to tst-table.sh.
18392         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18393         $(run-program-prefix) to tst-gettext.sh.
18394         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18395         tst-translit.sh.
18396         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18397         tst-gettext2.sh.
18398         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18399         to run tst-gettext.
18400         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18401         to run tst-gettext2.
18402         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18403         to run tst-translit.
18404         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18405         $(run-program-prefix) to tst-mtrace.sh.
18406         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18407         to run tst-mtrace.
18408         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18409         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18410         $(rtld-installed-name).
18411         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18412         (rtld_installed_name): Likewise.
18413         (run_program_prefix): New variable.  Use it to run wordexp-test.
18415         * Makeconfig (ARCH): Remove all definitions.
18416         (machine): Likewise.
18417         [ARCH]: Remove conditional code.
18418         [!objdir]: Give error.
18419         [!objdir] (objpfx): Remove.
18420         [!objdir] (common-objpfx): Likewise.
18421         [!objdir] (common-objdir): Likewise.
18422         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18423         AC_CONFIG_FILES call.
18424         * configure: Regenerated.
18426         [BZ #13888]
18427         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18428         or TMPDIR.
18429         (testout): Likewise.
18431         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18432         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18433         $(rtld-installed-name).
18434         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18435         (rtld_installed_name): Likwise.
18436         (runit): Remove function.
18437         (run_getconf): New variable,  Use it for running getconf binary.
18439 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18441         [BZ #14716]
18442         * string/test-memmem.c (check_result): New function.
18443         (do_one_test): Use it.
18444         (check1): New function.
18445         (test_main): Use it.
18447 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18449         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18451 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18453         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18454         (_G_LSEEK64): Likewise.
18455         (_G_MMAP64): Likewise.
18456         (_G_FSTAT64): Likewise.
18457         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18458         (_G_LSEEK64): Likewise.
18459         (_G_MMAP64): Likewise.
18460         (_G_FSTAT64): Likewise.
18461         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18462         unconditional.  Call __mmap64 directly.
18463         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18464         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18465         __lseek64 directly.
18466         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18467         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18468         __mmap64 directly.
18469         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18470         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18471         __lseek64 directly.
18472         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18473         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18474         __lseek64 directly.
18475         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18476         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18477         __lseek64 directly.
18478         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18479         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18480         __fxstat64 directly.
18481         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18482         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18483         unconditional.
18484         (freopen64) [!_G_OPEN64]: Remove conditional code.
18485         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18486         unconditional.
18487         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18488         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18489         unconditional.
18490         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18491         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18492         unconditional.
18493         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18494         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18495         unconditional.
18496         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18497         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18498         unconditional.
18499         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18500         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18501         unconditional.
18502         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18503         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18504         unconditional.
18505         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18507 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18509         [BZ #12140]
18510         * manual/memory.texi (Malloc Tunable Parameters): Add note
18511         about free list pointers overwriting some perturb bytes.
18512         Wording suggested by Roland McGrath.
18514 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18516         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18517         (lgamma_test): Likewise.
18518         (tgamma_test): Likewise.
18520 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18522         [BZ #14700]
18523         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18524         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18526 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18528         * NEWS: Mention BZ #14716.
18529         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18530         when removing AVAILABLE1_USES_J macro.
18532 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18534         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18535         (__bswap_64): __uint64_t for unsigned 64-bit int.
18537 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18539         * include/string.h (memmem): Declare libc hidden alias.
18540         * string/memmem.c (memmem): Define libc hidden alias.
18541         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18542         __read, __close instead of open, read, close.
18544 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18547         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18548         global and hidden.
18549         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18550         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18551         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18552         Likewise.
18553         (__rawmemchr_sse2): Likewise.
18554         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18555         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18556         (__strchr_sse2): Likewise.
18557         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18558         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18559         (__strcasecmp_sse2): Likewise.
18560         (__strncasecmp_sse2): Likewise.
18561         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18562         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18563         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18564         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18565         (__strrchr_sse2): Likewise.
18566         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18567         ifunc-impl-list.c.
18568         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18569         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18570         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18571         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18572         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18573         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18574         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18575         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18576         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18577         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18578         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18579         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18580         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18581         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18582         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18583         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18584         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18585         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18586         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18587         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18588         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18589         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18590         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18591         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18592         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18593         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18594         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18595         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18596         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18597         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18599         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18600         global and hidden.
18601         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18602         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18603         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18604         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18605         Likewise.
18606         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18607         Likewise.
18608         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18609         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18610         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18611         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18612         ifunc-impl-list.c.
18613         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18614         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18615         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18616         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18617         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18618         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18619         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18620         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18621         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18622         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18623         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18624         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18625         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18626         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18627         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18628         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18629         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18630         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18631         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18632         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18633         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18634         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18635         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18636         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18637         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18638         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18639         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18640         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18641         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18642         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18643         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18644         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18645         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18646         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18647         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18648         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18649         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18650         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18651         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18652         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18653         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18655         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18656         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18657         * include/ifunc-impl-list.h: New file.
18658         * misc/ifunc-impl-list.c: Likewise.
18659         * misc/Makefile (routines): Add ifunc-impl-list.
18660         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18661         * string/test-string.h: Include <ifunc-impl-list.h>.
18662         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18663         impl_array): New variables.
18664         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18665         are defined.
18666         (test_init): Call __libc_ifunc_impl_list to initialize
18667         func_list if TEST_IFUNC and TEST_NAME are defined.
18669         * string/Makefile (strop-tests): Add bcopy and bzero.
18670         * string/test-bcopy.c: New file.
18671         * string/test-bzero.c: Likewise.
18672         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18673         defined.
18674         * string/test-memset.c: Support bzero test if TEST_BZERO is
18675         defined.
18676         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18677         __libc_memmove.
18678         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18679         __libc_memset.
18680         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18681         of memset.
18683 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18685         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18686         * configure: Regenerated.
18688         * Makeconfig (+link-static-before-libc): Don't include
18689         $(link-static-libc).
18691         * libio/libio.h (_IO_pos_t): Remove.
18693 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18695         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18696         McGrath.
18698 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18700         * crypt/crypt-entry.c: Include fips-private.h.
18701         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18702         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18703         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18704         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18706 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18708         * crypt/crypt-private.h: Include stdbool.h.
18709         (_ufc_setup_salt_r): Return bool.
18710         * crypt/crypt-entry.c: Include errno.h.
18711         (__crypt_r): Return NULL with EINVAL for bad salt.
18712         * crypt/crypt_util.c (bad_for_salt): New.
18713         (_ufc_setup_salt_r): Check that salt is long enough and within
18714         the specified alphabet.
18715         * crypt/badsalttest.c: New file.
18716         * crypt/Makefile (tests): Add it.
18717         ($(objpfx)badsalttest): New.
18719 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18721         * NEWS: Add entry for BZ #14602.
18723 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18725         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18726         type-generic.
18727         * math/libm-test.inc: Update comment listing what functions and
18728         macros are tested.
18729         (isgreater_test): New function.
18730         (isgreaterequal_test): Likewise.
18731         (isless_test): Likewise.
18732         (islessequal_test): Likewise.
18733         (islessgreater_test): Likewise.
18734         (isunordered_test): Likewise.
18735         (main): Call the new functions.
18737 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18739         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18740         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18741         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18742         * sysdeps/i386/configure: Regenerated.
18743         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18744         * sysdeps/mach/configure: Regenerated.
18745         * sysdeps/mach/hurd/configure: Regenerated.
18746         * sysdeps/powerpc/configure: Regenerated.
18747         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18748         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18749         * sysdeps/s390/s390-32/configure: Regenerated.
18750         * sysdeps/s390/s390-64/configure: Regenerated.
18751         * sysdeps/sh/configure: Regenerated.
18752         * sysdeps/sparc/configure: Regenerated.
18753         * sysdeps/unix/sysv/linux/configure: Regenerated.
18754         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18755         * sysdeps/x86_64/configure: Regenerated.
18757         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18758         defined.  Don't check if MAP is NULL.
18760 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18762         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18763         (_G_stat64): Likewise.
18764         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18765         (_G_stat64): Likewise.
18766         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18767         instead of struct _G_stat64.
18768         * libio/fileops.c (mmap_remap_check): Likewise.
18769         (decide_maybe_mmap): Likewise.
18770         (_IO_new_file_seekoff): Likewise.
18771         (_IO_file_stat): Likewise.
18772         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18773         _G_off64_t.
18774         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18775         instead of struct _G_stat64.
18776         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18778 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18780         [BZ #14602]
18781         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18782         Replace with ...
18783         (CHECK_EOL): New macro.
18784         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18785         CHECK_EOL.
18786         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18787         Replace with CHECK_EOL.
18788         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18789         Replace with CHECK_EOL.
18791 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18793         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18794         type-generic.
18795         * math/libm-test.inc: Update comment listing what functions and
18796         macros are tested.
18797         (finite_test): New function.
18798         (isinf_test): Likewise.
18799         (isnan_test): Likewise.
18800         (fpclassify_test): Test subnormal input.
18801         (isfinite_test): Likewise.
18802         (isnormal_test): Likewise.
18803         (main): Call the new functions.
18805 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18807         [BZ #14660]
18808         * Makerules (%.dynsym): Force C locale when running
18809         $(OBJDUMP) --dynamic-syms.
18811 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18813         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18814         <stdint.h>.
18816 2012-10-06  David S. Miller  <davem@davemloft.net>
18818         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18819         upper 32-bits of the length value in %o2 since we use branch-on-register
18820         tests which consider the entire 64-bit register.
18822 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18824         * string/test-strstr.c (check2): Add a test for page boundary.
18826 2012-10-05  David S. Miller  <davem@davemloft.net>
18828         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18829         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18830         file.
18831         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18832         sysdep_routines.
18833         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18834         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18835         and bzero when HWCAP_SPARC_CRYPTO is present.
18837 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18839         [BZ #14602]
18840         * string/test-strstr.c (check2): New function.
18841         (test_main): Call check2.
18843         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18844         and bug-strchr1.
18845         * string/bug-strcasestr1.c (do_test): Moved to ...
18846         * string/test-strcasestr.c (check1): Here.  New function.
18847         (do_one_test): Break out result checking code into ...
18848         (check_result): This.  New function.
18849         (do_one_test): Call check_result.
18850         (test_main): Call check1.
18851         * string/bug-strchr1.c (do_test): Moved to ...
18852         * string/test-strchr.c (check1): Here.  New function.
18853         (do_one_test): Break out result checking code into ...
18854         (check_result): This.  New function.
18855         (do_one_test): Call check_result.
18856         (test_main): Call check1.
18857         * string/bug-strstr1.c (main): Moved to ...
18858         * string/test-strstr.c (check1): Here.  New function.
18859         (do_one_test): Break out result checking code into ...
18860         (check_result): This.  New function.
18861         (do_one_test): Call check_result.
18862         (test_main): Call check1.
18863         * string/bug-strcasestr1.c: Removed.
18864         * string/bug-strchr1.c: Likewise.
18865         * string/bug-strstr1.c: Likewise.
18867         * elf/Makefile (dl-routines): Add hwcaps.
18868         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18869         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18870         (_dl_important_hwcaps): Moved to ...
18871         * elf/dl-hwcaps.c: Here.  New file.
18872         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18874         [BZ #14557]
18875         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18876         if IS_IN_rtld isn't defined.
18878         * elf/dl-support.c (_dl_sysinfo_map): New.
18879         Include "get-dynamic-info.h" and "setup-vdso.h".
18880         (_dl_non_dynamic_init): Call setup_vdso.
18881         * elf/dynamic-link.h: Don't include <assert.h>.
18882         (elf_get_dynamic_info): Moved to ...
18883         * elf/get-dynamic-info.h: Here.  New file.
18884         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18885         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18886         * elf/setup-vdso.h: Here.  New file.
18887         * elf/rtld.c: Include "setup-vdso.h".
18888         (dl_main): Call setup_vdso.
18890 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18892         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18893         creal in comment listing functions tested.  List finite, isinf,
18894         isnan, isless, islessequal, isgreater, isgreaterequal,
18895         islessgreater, isunordered, lgamma_r and pow10 as functions and
18896         macros not tested.  Mention which functions not tested are aliases
18897         for other functions.  Fix typo.  Note that signs of NaNs are not
18898         tested.
18900         * scripts/config.guess: Update from config.git.
18901         * scripts/config.sub: Likewise.
18903 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18905         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18906         * misc/madvise.c (madvise): Renamed to __madvise.
18907         Make madvise a weak alias.
18908         * include/sys/mman.h: Declare __madvise.
18909         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18910         * sysdeps/unix/syscalls.list
18911         (madvise): Make __madvise the strong name, and madvise a weak alias.
18912         * sysdeps/unix/sysv/linux/syscalls.list
18913         (madvise, mmap): Remove redundant entries.
18914         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18915         * malloc/malloc.c (mtrim): Likewise.
18916         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18918 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18920         * sysdeps/mach/hurd/dl-cache.c: File removed.
18921         * config.h.in (USE_LDCONFIG): New #undef.
18922         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18923         * configure: Regenerated.
18924         * elf/Makefile (dl-routines): Add dl-cache only under
18925         [$(use-ldconfig) = yes].
18926         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18927         cache on [USE_LDCONFIG].
18928         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18929         [USE_LDCONFIG].
18930         * elf/rtld.c (dl_main): Likewise.
18932 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18934         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18935         _SC_LEVEL4_CACHE_LINESIZE.
18937 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18939         * sysdeps/unix/bsd/confstr.h: File removed.
18941 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18943         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18944         sys/sdt-config.h.
18946 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18948         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18949         Make 'mapoff' field ElfW(Off) rather than off_t.
18951 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18953         * nscd/Makefile: Remove nscd-cflags and all its users.
18954         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18955         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18957         [BZ #10631]
18958         * malloc.c (malloc_printerr): Clarify error message.
18960 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18962         [BZ #14648]
18963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18964         Set bit_FMA_Usable if FMA is supported.
18965         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18966         macro.
18967         (bit_FMA4_Usable): Updated.
18968         (index_FMA_Usable): New macro.
18969         (CPUID_FMA): Likewise
18970         (HAS_FMA): Defined with bit_FMA_Usable.
18972 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18974         * bits/types.h (__swblk_t): Type removed.
18975         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18976         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18977         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18978         (__SWBLK_T_TYPE): Likewise.
18979         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18980         (__SWBLK_T_TYPE): Likewise.
18981         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18982         (__SWBLK_T_TYPE): Likewise.
18983         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18984         (__SWBLK_T_TYPE): Likewise.
18986 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18987             Honza Horak <hhorak@redhat.com>
18989         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18990         (xdr_mapname): Use YPMAXMAP as maxsize.
18991         (xdr_peername): Use YPMAXPEER as maxsize.
18992         (xdr_keydat): Use YPAXRECORD as maxsize.
18993         (xdr_valdat): Use YPMAXRECORD as maxsize.
18995 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18997         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18999         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19000         * csu/init-first.c: ... here.
19001         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19002         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19003         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19004         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19005         * sysdeps/i386/init-first.c: File removed.
19006         * sysdeps/sh/init-first.c: File removed.
19008 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19010         [BZ #14645]
19011         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19012         if x * y might underflow to zero and z is zero.
19013         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19014         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19015         * math/libm-test.inc (min_subnorm_value): New variable.
19016         (fma_test): Add more tests.
19017         (fma_test_towardzero): Likewise.
19018         (fma_test_downward): Likewise
19019         (fma_test_upward): Likewise.
19020         (initialize): Set min_subnorm_value.
19022 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19024         [BZ #14638]
19025         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19026         0 + 0.
19027         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19028         mode for addition resulting in exact zero.
19029         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19031         exact 0 + 0.
19032         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19033         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19034         * math/libm-test.inc (fma_test): Add more tests.
19035         (fma_test_towardzero): New function.
19036         (fma_test_downward): Likewise.
19037         (fma_test_upward): Likewise.
19038         (main): Call the new functions.
19040 2012-09-28  David S. Miller  <davem@davemloft.net>
19042         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19044 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19046         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19047         instead of SIGALRM.
19049         * sysdeps/gnu/_G_config.h: Moved to ...
19050         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19051         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19052         * sysdeps/generic/_G_config.h: ... here.
19054         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19056         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19058         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19059         Conditionalize target on [libnss_test1.so-version].
19061         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19063         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19064         (elfobjdir): Move out of conditionals.
19066         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19067         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19068         (__nss_lookup_function): Conditionalize label remove_from_tree on
19069         [!DO_STATIC_NSS || SHARED], matching its only use.
19071 2012-09-28  David S. Miller  <davem@davemloft.net>
19073         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19074         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19075         file.
19076         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19077         sysdep_routines.
19078         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19079         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19080         when HWCAP_SPARC_CRYPTO is present.
19082 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19084         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19086 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19088         [BZ #6530]
19089         * stdio-common/vfprintf.c (process_string_arg): Revert
19090         2000-07-22 change.
19092 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19094         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19095         for testcase.
19096         * stdio-common/tst-sprintf.c: Include <locale.h>
19097         (main): Test sprintf's handling of incomplete multibyte
19098         characters.
19100 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19102         * elf/dl-runtime.c (VERSYMIDX): Removed.
19103         * elf/dl-version.c (VERSYMIDX): Likewise.
19104         * elf/do-rel.h (VERSYMIDX): Likewise.
19105         (VALIDX): Likewise.
19106         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19107         * elf/rtld.c (VALIDX): Likewise.
19108         (ADDRIDX): Likewise.
19109         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19110         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19111         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19112         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19113         (VALIDX): Likewise.
19114         (ADDRIDX): Likewise.
19116 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19118         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19120 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19122         [BZ #11438]
19123         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19124         to global scope.
19125         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19126         addresses are in the same scope as 192.0.2/24.
19127         * posix/gai.conf: Document new scope table defaults.
19129 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19131         [BZ #5298]
19132         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19133         for ftell.  Compute offsets from write pointers instead.
19134         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19136 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19138         [BZ #14543]
19139         * libio/Makefile (tests): New test case tst-fseek.
19140         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19141         combination works in wide mode.
19142         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19143         state when the external buffer state changes.
19145 2012-09-27  David S. Miller  <davem@davemloft.net>
19147         [BZ #14376]
19148         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19149         pass reloc->r_addend in as the 'high' argument to
19150         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19154 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19156         * rt/tst-aio2.c: Include <pthread.h>.
19157         * rt/tst-aio3.c: Likewise.
19159 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19161         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19163 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19165         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19166         contents on [SHARED].
19168 2012-09-26  Marek Polacek  <polacek@redhat.com>
19170         [BZ #14530]
19171         [BZ #13741]
19172         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19173         for C++ and GCC <4.3 as well as for non GCC compilers.
19175 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19177         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19179 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19181         * Makefile.in (all, install): Declare with .PHONY.
19182         Reported by Michael Hope <michael.hope@linaro.org>.
19184 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19186         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19187         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19188         system header.
19189         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19190         Likewise.
19191         (sydep_routines): Add the new and the internal functions.
19192         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19193         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19195         (GLIBC_2.17): Add the new function.
19196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19197         (GLIBC_2.17): Likewise.
19198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19199         (GLIBC_2.17): Likewise.
19200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19201         (GLIBC_2.17): Likewise.
19202         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19204 2012-09-25  Alan Modra  <amodra@gmail.com>
19206         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19207         Add release barrier before setting once_control to say
19208         initialisation is done.  Add hints on lwarx.  Use macro in
19209         place of isync.
19210         (clear_once_control): Add release barrier.
19212 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19214         [BZ #13629]
19215         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19216         specially.
19217         * math/s_clog10.c (__clog10): Likewise.
19218         * math/s_clog10f.c (__clog10f): Likewise.
19219         * math/s_clog10l.c (__clog10l): Likewise.
19220         * math/s_clogf.c (__clogf): Likewise.
19221         * math/s_clogl.c (__clogl): Likewise.
19222         * math/Makefile (libm-calls): Add x2y2m1.
19223         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19224         (__x2y2m1): Likewise.
19225         (__x2y2m1l): Likewise.
19226         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19227         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19228         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19229         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19230         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19231         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19232         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19233         * sysdeps/i386/fpu/libm-test-ulps: Update.
19234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19236         [BZ #14621]
19237         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19238         int as type of variable DEPTH.
19239         (glob): Use size_t instead of int as type of variables NEWCOUNT
19240         and OLD_PATHC.
19242 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19244         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19245         Add s_sincosf-sse2.
19246         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19247         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19248         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19249         macros for using routine as __sincosf_ia32.
19250         Use macro for function declaration and weak_alias.
19251         * sysdeps/i386/fpu/libm-test-ulps: Update.
19253         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19256         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19257         subnormal argument.
19258         * math/s_cexpf.c (__cexpf): Likewise.
19259         * math/s_csinf.c (__csinf): Likewise.
19260         * math/s_csinhf.c (__csinhf): Likewise.
19261         * math/s_ctanf.c (__ctanf): Likewise.
19262         * math/s_ctanhf.c (__ctanhf): Likewise.
19263         * math/s_ccosh.c (__ccoshf): Likewise.
19264         * math/s_cexp.c (__cexpl): Likewise.
19265         * math/s_csin.c (__csin): Likewise.
19266         * math/s_csinh.c (__csinh): Likewise.
19267         * math/s_ctan.c (__ctan): Likewise.
19268         * math/s_ctanh.c (ctanh): Likewise.
19269         * math/s_ccoshl.c (__ccoshl): Likewise.
19270         * math/s_cexpl.c (__cexpl): Likewise.
19271         * math/s_csinl.c (__csinl): Likewise.
19272         * math/s_csinhl.c (__csinhl): Likewise.
19273         * math/s_ctanl.c (__ctanl): Likewise.
19274         * math/s_ctanhl.c (__ctanhl): Likewise.
19276 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19278         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19279         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19280         (_IO_off_t): Define to __off_t, not _G_off_t.
19281         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19282         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19283         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19284         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19285         type of __dummy and __dummy2 fields.
19286         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19287         (_G_ssize_t): Likewise.
19288         (_G_off_t): Likewise.
19289         (_G_pid_t): Likewise.
19290         (_G_uid_t): Likewise.
19291         (_G_wchar_t): Likewise.
19292         (_G_wint_t): Likewise.
19293         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19294         (_G_ssize_t): Likewise.
19295         (_G_off_t): Likewise.
19296         (_G_pid_t): Likewise.
19297         (_G_uid_t): Likewise.
19298         (_G_wchar_t): Likewise.
19299         (_G_wint_t): Likewise.
19300         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19301         (_G_ssize_t): Likewise.
19302         (_G_off_t): Likewise.
19303         (_G_pid_t): Likewise.
19304         (_G_uid_t): Likewise.
19305         (_G_wchar_t): Likewise.
19306         (_G_wint_t): Likewise.
19308 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19310         * malloc/arena.c: Include malloc-sysdep.h.
19311         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19312         is sufficient to shrink the heap or an unmap is needed.
19313         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19314         new function check_may_shrink_heap.
19315         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19316         new function check_may_shrink_heap.
19318 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19320         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19321         comments.
19323 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19325         * catgets/test-gencat.sh: Add "set -e".
19326         * elf/tst-pathopt.sh: Likewise.
19327         * grp/tst_fgetgrent.sh: Likewise.
19328         * iconvdata/run-iconv-test.sh: Likewise.
19329         * intl/tst-gettext.sh: Likewise.
19330         * intl/tst-gettext2.sh: Likewise.
19331         * intl/tst-gettext4.sh: Likewise.
19332         * intl/tst-gettext6.sh: Likewise.
19333         * intl/tst-translit.sh: Likewise.
19334         * io/ftwtest-sh: Likewise.
19335         * libio/test-freopen.sh: Likewise.
19336         * malloc/tst-mtrace.sh: Likewise.
19337         * posix/globtest.sh: Likewise.
19338         * posix/tst-getconf.sh: Likewise.
19339         * posix/wordexp-tst.sh: Likewise.
19340         * stdio-common/tst-printf.sh: Likewise.
19341         * stdio-common/tst-unbputc.sh: Likewise.
19342         * stdlib/tst-fmtmsg.sh: Likewise.
19343         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19344         * catgets/Makefile: Do not specify -e option when running
19345         testsuite shell scripts.
19346         * elf/Makefile: Likewise.
19347         * grp/Makefile: Likewise.
19348         * iconvdata/Makefile: Likewise.
19349         * intl/Makefile: Likewise.
19350         * io/Makefile: Likewise.
19351         * libio/Makefile: Likewise.
19352         * malloc/Makefile: Likewise.
19353         * posix/Makefile: Likewise.
19354         * stdio-common/Makefile: Likewise.
19355         * stdlib/Makefile: Likewise.
19356         * sysdeps/x86_64/Makefile: Likewise.
19358         * io/ftwtest-sh: Add copyright header.
19359         * posix/globtest.sh: Likewise.
19360         * posix/tst-getconf.sh: Likewise.
19361         * posix/wordexp-tst.sh: Likewise.
19362         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19364 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19366         [BZ #13679]
19367         * Makeconfig (+link): Defined as $(+link-static) if
19368         $(build-shared) isn't yes.
19369         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19370         isn't yes.
19371         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19373         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19375         [BZ #14562]
19376         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19377         new chunk size with MALLOC_ALIGN_MASK.
19379 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19381         [BZ #5044]
19382         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19383         <rounding-mode.h>.
19384         (__printf_fphex): Determine rounding using get_rounding_mode and
19385         round_away.
19386         * stdio-common/tst-printf-round.c (struct hex_test): New
19387         structure.
19388         (hex_tests): New variable.
19389         (test_hex_in_one_mode): New function.
19390         (do_test): Also run tests for hex float output.
19392 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19394         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19395         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19396         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19397         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19398         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19399         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19400         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19401         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19403 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19405         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19406         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19407         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19408         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19410 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19412         [BZ #14579]
19413         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19414         mode only.
19415         * elf/tst-rtld-load-self.sh: New test.
19416         * elf/Makefile: Run it.
19418 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19420         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19421         (tst-writev-ENV): Remove.
19422         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19424 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19426         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19428 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19430         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19431         unconditional.
19432         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19433         Likewise.
19434         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19435         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19436         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19437         Likewise.
19439 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19441         [BZ #14587]
19442         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19443         * config.make.in (have-cpp-asm-debuginfo): Removed.
19444         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19445         * configure: Regenerated.
19447 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19449         [BZ #5044]
19450         * stdio-common/printf_fp.c: Include <stdbool.h> and
19451         <rounding-mode.h>.
19452         (___printf_fp): Determine rounding using get_rounding_mode and
19453         round_away.
19454         * stdio-common/tst-printf-round.c: New file.
19455         * stdio-common/Makefile (tests): Add tst-printf-round.
19456         (link-libm): New variable.
19457         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19459 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19461         [BZ #14576]
19462         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19463         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19464         Likewise.
19465         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19466         Likewise.
19468 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19470         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19471         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19472         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19473         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19475 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19477         [BZ #14518]
19478         * include/rounding-mode.h: New file.
19479         * sysdeps/generic/get-rounding-mode.h: Likewise.
19480         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19481         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19482         (MAX_VALUE): New macro.
19483         (MIN_VALUE): Likewise.
19484         (overflow_value): New function.
19485         (underflow_value): Likewise.
19486         (round_and_return): Use overflow_value and underflow_value to
19487         determine return values in overflow and underflow cases.  Use
19488         round_away to determine rounding depending on rounding mode.
19489         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19490         determine return values in overflow and underflow cases.
19491         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19492         (struct test_results): New structure.
19493         (struct test): Use struct test_results to store expected results
19494         for all rounding modes.
19495         (TEST): Include expected results for all rounding modes.
19496         (test_in_one_mode): New function.
19497         (do_test): Use test_in_one_mode to compute and check results.
19498         Check results for all rounding modes.
19499         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19500         $(link-libm).
19502 2012-12-09  Allan McRae  <allan@archlinux.org>
19504         * sysdeps/i386/fpu/libm-test-ulps: Update
19506 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19508         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19509         (_G_int32_t): Likewise.
19510         (_G_uint16_t): Likewise.
19511         (_G_uint32_t): Likewise.
19512         (_G_HAVE_BOOL): Likewise.
19513         (_G_HAVE_ATEXIT): Likewise.
19514         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19515         (_G_HAVE_IO_FILE_OPEN): Likewise.
19516         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19517         (_G_int32_t): Likewise.
19518         (_G_uint16_t): Likewise.
19519         (_G_uint32_t): Likewise.
19520         (_G_HAVE_BOOL): Likewise.
19521         (_G_HAVE_ATEXIT): Likewise.
19522         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19523         (_G_HAVE_IO_FILE_OPEN): Likewise.
19524         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19525         (_G_int32_t): Likewise.
19526         (_G_uint16_t): Likewise.
19527         (_G_uint32_t): Likewise.
19528         (_G_HAVE_BOOL): Likewise.
19529         (_G_HAVE_ATEXIT): Likewise.
19530         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19531         (_G_HAVE_IO_FILE_OPEN): Likewise.
19533 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19535         * csu/libc-tls.c: Update copyright years.
19537 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19539         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19540         [!_G_USING_THUNKS]: Remove conditional code.
19541         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19542         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19544         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19545         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19546         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19547         (_G_VTABLE_LABEL_PREFIX): Likewise.
19548         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19549         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19550         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19551         (_G_VTABLE_LABEL_PREFIX): Likewise.
19552         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19553         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19554         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19555         (_G_VTABLE_LABEL_PREFIX): Likewise.
19556         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19558 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19560         * libio/Makefile: Include ../Makeconfig before tests.
19561         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19562         only if $(build-shared) is yes.
19564         * iconv/gconv_db.c: Update copyright years.
19566 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19568         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19569         unwind info if defined PIC. Fix special cases description.
19570         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19572         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19573         DP_HI_MASK entry.
19574         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19576 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19578         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19580         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19581         is NULL.
19583         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19584         (LDLIBS-tst-chk4): This.
19585         (LDFLAGS-tst-chk5): Renamed to ...
19586         (LDLIBS-tst-chk5): This.
19587         (LDFLAGS-tst-chk6): Renamed to ...
19588         (LDLIBS-tst-chk6): This.
19589         (LDFLAGS-tst-lfschk4): Renamed to ...
19590         (LDLIBS-tst-lfschk4): This.
19591         (LDFLAGS-tst-lfschk5): Renamed to ...
19592         (LDLIBS-tst-lfschk5): This.
19593         (LDFLAGS-tst-lfschk6): Renamed to ...
19594         (LDLIBS-tst-lfschk6): This.
19596         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19597         on $(common-objpfx)soversions.mk.
19599 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19601         [BZ #10014]
19602         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19603         example host name.
19605 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19607         * malloc/arena.c (arena_get_retry): New function that gets
19608         another arena for the caller to try its request on.
19609         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19610         current arena cannot fulfill the request.
19611         (__libc_memalign): Likewise.
19612         (__libc_memalign): Likewise.
19613         (__libc_pvalloc): Likewise.
19614         (__libc_calloc): Likewise.
19616 2012-09-05  John Tobey  <john.tobey@gmail.com>
19618         [BZ #13542]
19619         * manual/arith.texi (Operations on Complex): Fix description
19620         of carg branch cut.
19622 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19624         [BZ #10014]
19625         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19626         host name.
19628         [BZ #10038]
19629         * manual/memory.texi (Memory): Make order of menu items match
19630         order of sections.
19632 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19634         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19635         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19636         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19638 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19640         * csu/libc-tls.c (static_dtv): Renamed to ...
19641         (_dl_static_dtv): This.  Make it global.
19642         (_dl_initial_dtv): Removed.
19643         (__libc_setup_tls): Updated.
19644         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19645         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19646         DL_INITIAL_DTV.
19648 2012-09-06  Petr Machata  <pmachata@redhat.com>
19650         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19651         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19652         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19653         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19655 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19657         [BZ #14545]
19658         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19659         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19660         freeing dtv[-1].
19662 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19664         [BZ #14544]
19665         * Makeconfig (link-static-before-libc): Replace $(+prector)
19666         with $(+prectorT).
19667         (link-static-after-libc): Replace $(+postctor) with
19668         $(+postctorT).
19669         (link-bounded): Replace $(+prector)/$(+postctor) with
19670         $(+prectorT)/$(+postctorT).
19671         (+prectorT): New macro.
19672         (+postctorT): Likewise.
19674 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19676         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19677         (round_str): Handle values above the maximum for IBM long double
19678         as inexact.
19679         * stdlib/tst-strtod-round.c (tests): Regenerated.
19681 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19683         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19684         assembler flag.
19685         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19686         zarch_nohighgprs around the zarch optimized routines.
19687         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19688         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19689         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19690         for zarch.
19692 2012-09-05  David S. Miller  <davem@davemloft.net>
19694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19696         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19697         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19698         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19699         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19700         entries.
19702 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19704         * malloc/arena.c: Fold copyright years.
19705         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19707 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19709         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19711 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19713         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19715 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19717         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19718         change internal state upon failure.
19720 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19722         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19723         * malloc/memusage.c (mmap): Likewise.
19724         (mmap64, mremap): Likewise.  Adjust name in comment.
19726 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19728         * libio/fileops.c: Fix typos in comments.
19729         * libio/oldfileops.c: Likewise.
19730         * libio/wfileops.c: Likewise.
19732 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19734         [BZ #1349]
19735         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19736         (tst-malloc-usable-ENV): Set environment for test case.
19737         * malloc/hooks.c (malloc_check_get_size): New function to get
19738         requested size.
19739         * malloc/malloc.c (musable): Use malloc_check_get_size.
19740         * malloc/tst-malloc-usable.c: New test case.
19742 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19744         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19746 2012-09-05  Allan McRae  <allan@archlinux.org>
19748         [BZ #13966]
19749         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19750         determine header location.
19751         * configure: Regenerated.
19753 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19755         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19756         float format.
19757         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19758         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19759         format.
19760         (test): Regenerate.
19762 2012-09-04  David S. Miller  <davem@davemloft.net>
19764         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19765         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19766         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19768 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19770         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19771         failures.
19773         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19775 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19777         [BZ #9914]
19778         * libio/iogetdelim.c: Include <limits.h>.
19779         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19780         + len + 1 would overflow.
19782 2012-09-03  Andreas Jaeger  <aj@suse.de>
19784         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19785         * sysdeps/i386/fpu/libm-test-ulps: Update.
19787 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19789         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19790         Add s_sinf-sse2, s_conf-sse2.
19792         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19793         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19794         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19795         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19797         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19798         for using routine as __sinf_ia32.
19799         Use macro for function declaration and weak_alias.
19800         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19801         for using routine as __cosf_ia32.
19802         Use macro for function declaration and weak_alias.
19804         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19805         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19807         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19808         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19809         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19811         * math/libm-test.inc (cos_test): Add more test cases.
19812         (sin_test): Likewise.
19813         (sincos_test): Likewise.
19815 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19817         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19818         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19819         hidden.
19820         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19822 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19824         [BZ #14538]
19825         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19826         first element of the GOT.
19827         (elf_machine_load_address): Return the difference between
19828         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19830 2012-09-01  Allan McRae  <allan@archlinux.org>
19832         [BZ #13412]
19833         * configure.in (AWK): Require gawk version 3.0 or later.
19834         * configure: Regenerated.
19836 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19838         * sysdeps/unix/sysv/linux/kernel-features.h
19839         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19840         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19841         [__NR_clock_getres]: Make code unconditional.
19842         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19843         (clock_getcpuclockid): Remove code left unreachable by removal of
19844         conditionals.
19845         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19846         code unconditional.
19847         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19848         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19849         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19850         Make code unconditional.
19851         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19852         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19853         * sysdeps/unix/sysv/linux/clock_settime.c
19854         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19855         conditional code.
19856         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19857         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19859 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19861         [BZ #14476]
19862         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19863         scripts/test-installation.pl.
19865         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19866         and $ld_so_version if it is set.
19868 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19870         [BZ #14516]
19871         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19872         failure if reading from procfs failed.
19873         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19875 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19877         * sysdeps/unix/sysv/linux/kernel-features.h
19878         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19879         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19880         Remove conditional code.
19881         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19882         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19883         Remove conditional code.
19884         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19885         * sysdeps/unix/sysv/linux/i386/fxstat.c
19886         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19887         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19888         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19889         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19890         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19891         * sysdeps/unix/sysv/linux/i386/lxstat.c
19892         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19893         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19894         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19895         Remove conditional code.
19896         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19897         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19898         Remove conditional code.
19899         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19900         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19901         <kernel-features.h>.
19902         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19903         Remove.
19904         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19905         Remove conditional code.
19906         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19907         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19908         Remove conditional.
19910 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19912         [BZ #5400]
19913         * NEWS: Add fixed bug number.
19915 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19917         [BZ #14519]
19918         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19919         underflowing exponent in case of negative sign.
19920         * stdlib/tst-strtod-round-data: Add more tests.
19921         * stdlib/tst-strtod-round.c (tests): Regenerated.
19923         [BZ #3479]
19924         * stdlib/strtod_l.c (NDIG): Remove.
19925         (HEXNDIG): Likewise.
19926         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19927         smallest representable value.
19928         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19929         lie within an exact representation of 1/2 ulp of the result.
19930         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19931         unconditionally.
19932         (TENS_P9_IDX): Define unconditionally.
19933         (TENS_P9_SIZE): Likewise.
19934         (TENS_P10_IDX): Likewise.
19935         (TENS_P10_SIZE): Likewise.
19936         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19937         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19938         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19939         entries for 10^2^13 and 10^2^14.
19940         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19941         (TENS_P13_IDX): Define.
19942         (TENS_P13_SIZE): Likewise.
19943         (TENS_P14_IDX): Likewise.
19944         (TENS_P14_SIZE): Likewise.
19945         (_fpioconst_pow10): Change array size to
19946         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19947         unconditional.
19948         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19949         1024]: Add entries for 10^2^13 and 10^2^14.
19950         [LAST_POW10 > _LAST_POW10]: Remove #error.
19951         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19952         (_fpioconst_pow10): Change array size to
19953         FPIOCONST_POW10_ARRAY_SIZE.
19954         * stdlib/gen-fpioconst.c: New file.
19955         * stdlib/gen-tst-strtod-round.c: Likewise.
19956         * stdlib/tst-strtod-round-data: Likewise.
19957         * stdlib/tst-strtod-round.c: Likewise.
19958         * stdlib/Makefile (tests): Add tst-strtod-round.
19960         [BZ #14459]
19961         * stdlib/strtod_l.c: Include <stdint.h>.
19962         (NDEBUG): Do not define.
19963         (round_and_return): Change EXPONENT parameter to type intmax_t.
19964         Rearrange calculations to avoid internal overflow possibilities.
19965         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19966         Rearrange calculations to avoid internal overflow possibilities.
19967         Assert that number fits inside MPNSIZE limbs.
19968         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19969         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19970         calculations and add assertions to avoid internal overflow
19971         possibilities.  Add casts to avoid signed/unsigned operations.
19972         * stdlib/tst-strtod-overflow.c: New file.
19973         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19975 2012-08-25  Marek Polacek  <polacek@redhat.com>
19977         * time/time.h: Fix some typos in comments.
19979 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19981         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19982         * posix/tst-rfc3484-2.c: Likewise.
19983         * posix/tst-rfc3484-3.c: Likewise.
19985 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19987         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19988         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19990 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19992         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19993         #include of fxstatat64.c.
19995 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19997         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19998         * shadow/getspent_r.c: Likewise.
19999         * shadow/getspnam.c: Likewise.
20000         * shadow/getspnam_r.c: Likewise.
20001         * gshadow/getsgent.c: Likewise.
20002         * gshadow/getsgent_r.c: Likewise.
20003         * gshadow/getsgnam.c: Likewise.
20004         * gshadow/getsgnam_r.c: Likewise.
20005         * inet/getnetbyad.c: Likewise.
20006         * inet/getnetbyad_r.c: Likewise.
20007         * inet/getnetbynm.c: Likewise.
20008         * inet/getnetbynm_r.c: Likewise.
20009         * inet/getnetent.c: Likewise.
20010         * inet/getnetent_r.c: Likewise.
20011         * inet/getproto.c: Likewise.
20012         * inet/getproto_r.c: Likewise.
20013         * inet/getprtent.c: Likewise.
20014         * inet/getprtent_r.c: Likewise.
20015         * inet/getprtname.c: Likewise.
20016         * inet/getprtname_r.c: Likewise.
20017         * inet/getrpcbyname.c: Likewise.
20018         * inet/getrpcbyname_r.c: Likewise.
20019         * inet/getrpcbynumber.c: Likewise.
20020         * inet/getrpcbynumber_r.c: Likewise.
20021         * inet/getrpcent.c: Likewise.
20022         * inet/getrpcent_r.c: Likewise.
20023         * inet/getaliasent.c: Likewise.
20024         * inet/getaliasent_r.c: Likewise.
20025         * inet/getaliasname.c: Likewise.
20026         * inet/getaliasname_r.c: Likewise.
20027         * nscd/getgrgid_r.c: Likewise.
20028         * nscd/getgrnam_r.c: Likewise.
20029         * nscd/gethstbyad_r.c: Likewise.
20030         * nscd/gethstbynm3_r.c: Likewise.
20031         * nscd/getpwnam_r.c: Likewise.
20032         * nscd/getpwuid_r.c: Likewise.
20033         * nscd/getsrvbynm_r.c: Likewise.
20034         * nscd/getsrvbypt_r.c: Likewise.
20035         * nscd/gai.c: Likewise.
20037         * configure.in (build_nscd): New substituted variable, set
20038         by --disable-build-nscd and defaults to $use_nscd.
20039         * configure: Regenerated.
20040         * config.make.in (build-nscd): New substituted variable.
20041         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20042         Change conditional to require [$(build-nscd) = yes] as well.
20043         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20045         [BZ# 13696]
20046         * configure.in (use_nscd): New substituted variable, set by
20047         --disable-nscd.  If enabled, define USE_NSCD.
20048         * configure: Regenerated.
20049         * config.h.in: Add USE_NSCD.
20050         * config.make.in (use-nscd): New substituted variable.
20051         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20052         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20053         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20054         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20055         (CFLAGS-getgrnam_r.c): Likewise.
20056         (CFLAGS-initgroups.c): Likewise.
20057         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20058         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20059         Variables removed.
20060         * inet/getnetgrent_r.c
20061         (nscd_setnetgrent): New function, broken out of ...
20062         (setnetgrent): ... here.  Call it.
20063         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20064         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20065         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20066         * nscd/Makefile (routines, aux): Move definitions after include of
20067         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20068         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20069         Conditionalize on [USE_NSCD].
20070         (is_nscd, nscd_init_cb): Likewise.
20071         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20072         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20073         * nss/nss_db/db-init.c: Likewise.
20074         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20075         [USE_NSCD].
20076         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20077         (make_request): Use it.
20078         (cache_valid_p): New function.
20079         (__check_pf): Use it.
20080         * NEWS: Add item for --disable-nscd.
20082 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20084         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20085         to support sed >= 4.2.1-20-ga9bf076.
20086         * configure: Regenerated.
20088 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20090         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20091         Conditionalize whole body on [IREL].
20093 2012-08-22  Jeff Law <law@redhat.com>
20095         [BZ #14505]
20096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20097         if the family is PF_UNSPEC.
20099 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20101         * Makerules (lib-version): Rename from V.
20102         (install-lib-nosubdir): Change V to lib-version.
20104 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20106         [BZ #14252]
20107         * powerpc32/power6/wcschr.c: New file.
20108         * powerpc32/power6/wcscpy.c: New file.
20109         * powerpc32/power6/wcsrchr.c: New file.
20110         * powerpc64/power6/wcschr.c: New file.
20111         * powerpc64/power6/wcscpy.c: New file.
20112         * powerpc64/power6/wcsrchr.c: New file.
20114 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20116         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20117         (two_way_short_needle): Use it.
20118         * string/strstr.c (AVAILABLE1_USES_J): Define.
20119         * string/strcasestr.c: Likewise.
20121         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20122         array references.
20123         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20125         [BZ #11607]
20126         * NEWS: Add an entry.
20127         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20128         define their defaults.
20129         (two_way_short_needle): Detect end-of-string on-the-fly.
20130         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20131         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20132         * string/bug-strcasestr1.c: New test.
20133         * string/Makefile: Run it.
20135 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20137         [BZ #11607]
20138         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20139         the first character.
20141 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20143         * csu/elf-init.c (__libc_csu_irel): Function removed.
20144         * csu/libc-start.c (apply_irel): New function.
20145         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20147 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20149         * sysdeps/unix/sysv/linux/kernel-features.h
20150         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20151         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20152         <kernel-features.h>.
20153         [__NR_fadvise64_64]: Make code unconditional.
20154         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20155         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20156         !__NR_fadvise64_64)]: Likewise.
20157         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20158         !__NR_fadvise64_64))]: Likewise.
20159         [__NR_fadvise64]: Make code unconditional.
20160         [!__NR_fadvise64]: Remove conditional code.
20161         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20162         <kernel-features.h>.
20163         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20164         unconditional.
20165         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20166         conditional code.
20167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20168         not include <kernel-features.h>.
20169         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20170         unconditional.
20171         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20172         conditional code.
20173         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20174         include <kernel-features.h>.
20175         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20176         unconditional.
20177         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20178         conditional code.
20180 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20182         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20183         slight instruction rearrangements per scrollpipe analysis.
20184         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20186 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20188         * manual/syslog.texi (syslog; vsyslog, closelog):
20189         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20190         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20192         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20193         DSOCAPS to match condition on defining it.
20195 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20197         * sysdeps/unix/sysv/linux/kernel-features.h
20198         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20200         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20201         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20203         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20204         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20206         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20207         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20209         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20210         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20212         * sysdeps/unix/sysv/linux/kernel-features.h
20213         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20214         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20215         unconditional.
20216         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20217         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20218         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20219         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20220         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20221         Make code unconditional.
20222         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20223         (__mmap64) [!__NR_mmap2]: Likewise.
20224         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20225         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20226         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20227         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20228         [__NR_mmap2]: Make code unconditional.
20229         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20230         (__mmap64) [!__NR_mmap2]: Likewise.
20232 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20234         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20236 2012-08-18  Andreas Jaeger  <aj@suse.de>
20238         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20240 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20242         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20243         * include/unistd.h (__have_sock_cloexec): Likewise.
20244         (__have_pipe2): Likewise.
20245         (__have_dup3): Likewise.
20247 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20249         [BZ #9685]
20250         * include/unistd.h (__have_pipe2): Change define into an extern int.
20251         (__have_dup3): Likewise.
20252         * socket/have_sock_cloexec.c: Include fcntl.h.
20253         (__have_pipe2): New variable.
20254         (__have_dup3): Likewise.
20256 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20258         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20260 2012-08-17  Marek Polacek  <polacek@redhat.com>
20262         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20263         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20265 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20267         * configure.in: Add AC_SUBST for sysheaders.
20268         * configure: Regenerated.
20269         * config.make.in (sysheaders): New substituted variable.
20271         * sysdeps/unix/mkfifo.c: Moved ...
20272         * sysdeps/posix/mkfifo.c: ... here.
20273         * sysdeps/unix/mkfifoat.c: Moved ...
20274         * sysdeps/posix/mkfifoat.c: ... here.
20276         * sysdeps/unix/utime.c: Moved ...
20277         * sysdeps/posix/utime.c: ... here.
20279         * sysdeps/unix/time.c: Moved ...
20280         * sysdeps/posix/time.c: ... here.
20281         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20282         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20284         * sysdeps/unix/nice.c: Moved ...
20285         * sysdeps/posix/nice.c: ... here.
20287         * sysdeps/unix/alarm.c: Moved ...
20288         * sysdeps/posix/alarm.c: ... here.
20290         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20292 2012-08-17  Jeff Law <law@redhat.com>
20294         * intl/Makefile (codeset_mo): New variable.
20295         ($(codeset_mo)): New target.
20296         (tst-codeset.out): Depend on that.  Remove explicit rule.
20297         (tst-gettext3.out, tst-gettext5.out): Likewise.
20298         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20299         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20300         * intl/tst-codeset.sh: Remove.
20301         * intl/tst-gettext3.sh: Likewise.
20302         * intl/tst-gettext5.sh: Likewise.
20304 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20306         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20307         * sysdeps/unix/syscalls.list: ... here.
20309         * sysdeps/posix/getaddrinfo.c
20310         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20311         (gaiconf_init, gaiconf_reload): Use them.
20312         [!_STATBUF_ST_NSEC]
20313         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20314         Define using time_t rather than struct timespec.
20316         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20317         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20318         Macros removed.
20319         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20320         [!NO_THREADS].
20321         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20322         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20323         Likewise.
20325         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20326         __libc_cleanup_push argument.
20328         * bits/param.h: New file.
20329         * misc/sys/param.h: New file.
20330         * include/sys/param.h: New file.
20331         * misc/Makefile (headers): Add bits/param.h.
20332         * sysdeps/generic/sys/param.h: File removed.
20333         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20334         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20335         * sysdeps/mach/hurd/bits/param.h: New file.
20336         * sysdeps/mach/hurd/sys/param.h: File removed.
20338         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20339         last change.
20341         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20342         [_IO_MTSAFE_IO].
20343         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20344         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20345         New macros.
20347         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20348         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20349         rather than -D_IO_MTSAFE_IO conditionally.
20350         * stdio-common/Makefile (CPPFLAGS): Likewise.
20351         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20352         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20353         Use $(libio-mtsafe).
20354         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20355         of -D_IO_MTSAFE_IO.
20356         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20357         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20358         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20359         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20360         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20361         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20362         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20363         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20364         (CFLAGS-fread_u_chk.c): Likewise.
20365         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20366         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20367         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20368         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20369         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20370         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20371         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20372         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20373         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20375         * libio/Makefile: Test [$(libc-reentrant) = yes]
20376         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20378         * Makeconfig
20379         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20380         * sysdeps/pthread/configure: File removed.
20381         * sysdeps/pthread/Makeconfig: New file.
20382         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20383         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20385 2012-08-16  Gary Benson  <gbenson@redhat.com>
20387         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20388         unmapping the first object in a namespace.
20390 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20392         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20393         (__internal_setnetgrent): ... this.  Add internal_function to
20394         definition.  Add libc_hidden_def.
20395         (setnetgrent): Update caller.
20396         (internal_endnetgrent): Renamed to ...
20397         (__internal_endnetgrent): ... this.  Add internal_function to
20398         definition.  Add libc_hidden_def.
20399         (endnetgrent): Update caller.
20400         (internal_getnetgrent_r): Renamed to ...
20401         (__internal_getnetgrent_r): ... this.  Add internal_function to
20402         definition.  Add libc_hidden_def.
20403         (__getnetgrent_r): Update caller.
20404         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20406 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20408         * stdlib/longlong.h: Update from GCC.
20410 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20412         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20413         on _QL, which is set by umul_ppmm but never used.
20414         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20415         variables, which are set by GMP macros but never used.
20416         * stdio-common/_itowa.c (_itowa): Likewise.
20417         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20418         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20420 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20422         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20423         struct La_sh_regs is not constant.
20424         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20425         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20426         and struct La_sparc64_regs are not constant.
20428 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20430         * sysdeps/unix/sysv/linux/kernel-features.h
20431         (__ASSUME_POSIX_TIMERS): Remove.
20432         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20433         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20434         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20435         Make code unconditional.
20436         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20437         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20438         Make code unconditional.
20439         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20440         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20441         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20442         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20443         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20444         Make code unconditional.
20445         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20446         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20447         (__libc_missing_posix_timers): Remove.
20449 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20451         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20452         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20454         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20456         * elf/dl-sym.c: Include <stdlib.h>.
20458         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20459         constants, which avoids warnings in 32-bit builds.
20461         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20462         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20464         * misc/lseek.c: File moved to ...
20465         * io/lseek.c: ... here.
20467         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20469         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20470         shifting LEN more than 31 bits at once.
20472 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20474         [BZ #14195]
20475         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20476         segmentation fault for a case of two empty input strings.
20477         * string/test-strncasecmp.c (check1): Renamed to...
20478         (bz12205): ...this.
20479         (bz14195): Add new testcase for two empty input strings and N > 0.
20480         (test_main): Call new testcase, adapt for renamed function.
20482 2012-08-15  Andreas Jaeger  <aj@suse.de>
20484         [BZ #14090]
20485         * crypt/md5test2.c: New test, based on test supplied by Serge
20486         Belyshev <belyshev@depni.sinp.msu.ru>.
20487         * crypt/Makefile (xtests): Add md5test-giant..
20488         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20490 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20492         [BZ #14090]
20493         * crypt/md5.c (md5_process_block): Don't assume the buffer
20494         length is less than 2**32.
20495         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20496         length is less than 2**64.
20498 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20500         * string/str-two-way.h: Include <sys/param.h>.
20501         (MAX): Macro removed.
20503         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20504         Move #define and #undef of memmove to just before and after
20505         including <string.h>.
20507         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20508         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20509         and after including <string.h>.  Move declarations of
20510         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20511         to before #include "string/memmove.c".
20513         * include/dirent.h: Declare __getdirentries.
20515         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20516         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20518 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20520         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20521         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20522         * sysdeps/i386/configure: Regenerated.
20523         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20524         STABS_CURRENT_FILE, and STABS_FUN.
20525         (END): Remove call to STABS_FUN_END.
20526         (STABS_CURRENT_FILE1): Delete.
20527         (STABS_CURRENT_FILE): Likewise.
20528         (STABS_FUN): Likewise.
20529         (STABS_FUN_END): Likewise.
20530         (STABS_FUN2): Likewise.
20531         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20532         * sysdeps/x86_64/configure: Regenerated.
20534 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20536         * elf/dl-open.c: Include <atomic.h>.
20537         * elf/dl-lookup.c: Likewise.
20539 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20541         * sysdeps/unix/sysv/linux/kernel-features.h
20542         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20543         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20544         unconditionally.
20545         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20546         unconditionally.
20547         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20548         condition on __ASSUME_CLONE_THREAD_FLAGS.
20550 2012-08-14  Andreas Jaeger  <aj@suse.de>
20552         * sysdeps/i386/fpu/libm-test-ulps: Update.
20554 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20556         * include/atomic.h (atomic_exchange_and_add): Split into ...
20557         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20558         New atomic macros.
20560 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20564 2012-08-13  Jeff Law <law@redhat.com>
20566         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20567         null byte in the output string.
20569 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20571         * sysdeps/unix/sysv/linux/kernel-features.h
20572         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20573         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20574         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20575         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20576         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20577         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20578         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20580 2012-08-09  Jeff Law <law@redhat.com>
20582         [BZ #13939]
20583         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20584         When avoid_arena is set, don't retry in the that arena.  Pick the
20585         next one, whatever it might be.
20586         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20587         (arena_lock): Pass in new parameter to arena_get2.
20588         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20589         arena_get2.
20590         (__libc_malloc): Unify retrying after main arena failure with
20591         __libc_memalign version.
20592         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20594 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20596         [BZ #14166]
20597         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20598         to __redirect_strstr.
20599         (__strstr_sse42): Use typeof __redirect_strstr.
20600         (__strstr_ia32): Likewise.
20601         (__libc_strstr): New prototype.
20602         (strstr): Renamed to ...
20603         (__libc_strstr): This.
20604         (strstr): New strong alias of __libc_strstr.
20605         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20606         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20607         __redirect_time.
20608         Include <time.h>.
20609         (__libc_time): New prototype.
20610         (time_ifunc): Replace time with __libc_time.
20611         (time): New strong alias and hidden definition of __libc_time.
20612         (__GI_time): Remove strong alias.
20613         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20614         Include <stddef.h>.
20615         (memmove): Redefined to __redirect_memmove.
20616         (__memmove_sse2): Use typeof __redirect_memmove.
20617         (__memmove_ssse3): Likewise.
20618         (__memmove_ssse3_back): Likewise.
20619         (__libc_memmove): New prototype.
20620         (memmove): Renamed to ...
20621         (__libc_memmove): This.
20622         (memmove): New strong alias of __libc_memmove.
20624 2012-08-08  Mark Salter  <msalter@redhat.com>
20626         * elf/elf.h
20627         (R_MN10300_TLS_GD): Define.
20628         (R_MN10300_TLS_LD): Likewise.
20629         (R_MN10300_TLS_LDO): Likewise.
20630         (R_MN10300_TLS_GOTIE): Likewise.
20631         (R_MN10300_TLS_IE): Likewise.
20632         (R_MN10300_TLS_LE): Likewise.
20633         (R_MN10300_TLS_DTPMOD): Likewise.
20634         (R_MN10300_TLS_DTPOFF): Likewise.
20635         (R_MN10300_TLS_TPOFF): Likewise.
20636         (R_MN10300_SYM_DIFF): Likewise.
20637         (R_MN10300_ALIGN): Likewise.
20638         (R_MN10300_NUM): Update.
20640 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20642         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20643         Remove.
20645 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20647         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20649         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20650         sysdeps/unix -> sysdeps/posix move.
20651         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20653 2012-08-07      Allan McRae     <allan@archlinux.org>
20655         [BZ #14303]
20656         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20657         (SUNOS_CPP): Likewise.
20658         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20659         not found.
20660         (open_input): Call CPP using execvp.
20662 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20664         * sysdeps/unix/sysv/linux/kernel-features.h
20665         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20666         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20667         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20668         (__ASSUME_WAITID_SYSCALL): Likewise.
20669         * sysdeps/unix/sysv/linux/dl-execstack.c
20670         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20671         code unconditional.
20672         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20673         conditional code.
20674         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20675         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20676         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20677         code.
20678         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20679         unconditional.
20680         [__ASSUME_WAITID_SYSCALL]: Likewise.
20681         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20683 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20685         * sysdeps/unix/closedir.c: Renamed to ...
20686         * sysdeps/posix/closedir.c: ... here.
20687         * sysdeps/unix/dirfd.c: Renamed to ...
20688         * sysdeps/posix/dirfd.c: ... here.
20689         * sysdeps/unix/dirstream.h: Renamed to ...
20690         * sysdeps/posix/dirstream.h: ... here.
20691         * sysdeps/unix/fdopendir.c: Renamed to ...
20692         * sysdeps/posix/fdopendir.c: ... here.
20693         * sysdeps/unix/opendir.c: Renamed to ...
20694         * sysdeps/posix/opendir.c: ... here.
20695         * sysdeps/unix/readdir.c: Renamed to ...
20696         * sysdeps/posix/readdir.c: ... here.
20697         * sysdeps/unix/readdir_r.c: Renamed to ...
20698         * sysdeps/posix/readdir_r.c: ... here.
20699         * sysdeps/unix/rewinddir.c: Renamed to ...
20700         * sysdeps/posix/rewinddir.c: ... here.
20701         * sysdeps/unix/seekdir.c: Renamed to ...
20702         * sysdeps/posix/seekdir.c: ... here.
20703         * sysdeps/unix/telldir.c: Renamed to ...
20704         * sysdeps/posix/telldir.c: ... here.
20705         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20706         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20707         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20708         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20710         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20711         * bits/fcntl.h: ... here.
20713         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20714         not 0.
20715         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20716         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20717         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20718         (struct flock): Move l_start, l_len to the beginning.
20719         Use __pid_t for l_pid.
20720         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20721         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20722         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20723         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20724         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20725         [__USE_LARGEFILE64] (struct flock64): New type.
20726         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20728         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20729         * bits/dirent.h: ... here.
20731         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20732         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20734 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20736         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20737         Change from 2.6.0 to 2.6.16.
20738         * sysdeps/unix/sysv/linux/configure: Regenerated.
20739         * sysdeps/unix/sysv/linux/kernel-features.h
20740         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20741         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20742         version.
20743         (__ASSUME_UTIMES): Likewise.
20744         (__ASSUME_CLONE_STOPPED): Remove.
20745         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20746         architectures, not kernel version.
20747         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20748         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20749         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20750         (__ASSUME_WAITID_SYSCALL): Likewise.
20751         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20752         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20753         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20754         refer to older versions.
20756 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20758         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20759         Define alphasort64 as an alias.
20760         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20761         Define versionsort64 as an alias.
20762         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20763         Define scandir64 as an alias.
20764         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20765         Define scandirat64 as an alias.
20766         * dirent/alphasort64.c (alphasort64):
20767         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20768         * dirent/versionsort64.c: Likewise.
20769         * dirent/scandir64.c: Likewise.
20770         * dirent/scandirat64.c: Likewise.
20771         * sysdeps/wordsize-64/alphasort.c: File removed.
20772         * sysdeps/wordsize-64/alphasort64.c: File removed.
20773         * sysdeps/wordsize-64/scandir.c: File removed.
20774         * sysdeps/wordsize-64/scandir64.c: File removed.
20775         * sysdeps/wordsize-64/scandirat.c: File removed.
20776         * sysdeps/wordsize-64/scandirat64.c: File removed.
20777         * sysdeps/wordsize-64/versionsort.c: File removed.
20778         * sysdeps/wordsize-64/versionsort64.c: File removed.
20779         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20780         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20781         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20782         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20783         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20784         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20785         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20786         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20788         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20789         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20790         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20791         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20792         [defined __arch64__ || defined __sparcv9]
20793         (__INO_T_MATCHES_INO64_T): New macro.
20794         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20795         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20796         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20797         * sysdeps/unix/sysv/linux/bits/dirent.h
20798         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20799         (_DIRENT_MATCHES_DIRENT64): New macro.
20801         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20802         Define lockf64 as an alias.
20803         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20804         Define fseeko64 as an alias.
20805         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20806         Define ftello64 as an alias.
20807         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20808         Define _IO_fgetpos64 and fgetpos64 as aliases.
20809         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20810         Define _IO_fsetpos64 and fsetpos64 as aliases.
20811         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20812         Conditionalize body on this.
20813         * libio/fseeko64.c: Likewise.
20814         * libio/ftello64.c: Likewise.
20815         * libio/iofgetpos64.c: Likewise.
20816         * libio/iofsetpos64.c: Likewise.
20817         * sysdeps/wordsize-64/lockf.c: File removed.
20818         * sysdeps/wordsize-64/lockf64.c: File removed.
20819         * sysdeps/wordsize-64/fseeko.c: File removed.
20820         * sysdeps/wordsize-64/fseeko64.c: File removed.
20821         * sysdeps/wordsize-64/ftello.c: File removed.
20822         * sysdeps/wordsize-64/ftello64.c: File removed.
20823         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20824         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20825         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20826         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20827         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20828         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20829         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20830         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20831         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20832         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20833         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20834         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20835         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20836         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20838         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20839         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20840         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20841         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20842         [defined __arch64__ || defined __sparcv9]
20843         (__OFF_T_MATCHES_OFF64_T): New macro.
20844         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20845         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20846         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20847         (__OFF_T_MATCHES_OFF64_T): New macro.
20849 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20851         * stdlib/secure-getenv.c (__secure_getenv): Replace
20852         GLIBC_2_16 with GLIBC_2_17.
20854 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20856         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20857         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20859 2012-08-03  David S. Miller  <davem@davemloft.net>
20861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20863 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20865         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20866         Remove.
20867         (__ASSUME_CORRECT_SI_PID): Likewise.
20868         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20869         (__ASSUME_TMPFS_NAME): Likewise.
20870         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20871         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20872         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20873         (HAVE_AUX_SECURE): Make definition unconditional.
20874         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20875         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20877 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20879         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20880         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20881         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20882         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20883         __eloop_threshold instead of SYMLOOP_MAX.
20885         * sysdeps/generic/eloop-threshold.h: New file.
20886         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20887         of MAXSYMLINKS.
20888         * elf/chroot_canon.c (chroot_canon): Likewise.
20890 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20892         [BZ #13717]
20893         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20894         Change to 2.6.0 everywhere.
20895         * sysdeps/unix/sysv/linux/configure: Regenerated.
20896         * sysdeps/unix/sysv/linux/kernel-features.h
20897         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20898         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20899         kernel versions.
20900         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20901         (__ASSUME_FUTEX_REQUEUE): Remove.
20902         (__ASSUME_STATFS64): Define unconditionally.
20903         (__ASSUME_AT_SECURE): Likewise.
20904         (__ASSUME_CORRECT_SI_PID): Likewise.
20905         (__ASSUME_TGKILL): Define without depending on kernel version for
20906         i386.
20907         (__ASSUME_UTIMES): Likewise.
20908         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20909         kernel version.
20910         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20911         (__ASSUME_TMPFS_NAME): Likewise.
20912         * README: Update reference to Linux kernel versions.
20914 2012-08-02  Marek Polacek  <polacek@redhat.com>
20916         [BZ# 14150]
20917         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20918         libc_cv_asm_type_prefix with %.
20919         * configure: Regenerated.
20920         * include/libc-symbols.h: Remove comment about
20921         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20922         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20923         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20924         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20925         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20926         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20927         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20928         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20929         * elf/tst-unique2mod1.c: Likewise.
20930         * elf/tst-unique1mod2.c: Likewise.
20931         * elf/tst-unique1mod1.c: Likewise.
20932         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20933         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20934         Replace ASM_TYPE_DIRECTIVE with .type.
20935         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20936         * sysdeps/i386/sysdep.h: Likewise.
20937         * sysdeps/x86_64/sysdep.h: Likewise.
20938         * sysdeps/sh/sysdep.h: Likewise.
20939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20940         Do not define ASM_TYPE_DIRECTIVE.
20941         * sysdeps/powerpc/sysdep.h: Likewise.
20942         * sysdeps/powerpc/powerpc32/sysdep.h:
20943         Replace ASM_TYPE_DIRECTIVE with .type.
20944         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20945         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20946         * sysdeps/i386/fpu/e_powf.S: Likewise.
20947         * sysdeps/i386/fpu/e_expl.S: Likewise.
20948         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20949         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20950         * sysdeps/i386/fpu/e_pow.S: Likewise.
20951         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20952         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20953         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20954         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20955         * sysdeps/i386/fpu/e_log2.S: Likewise.
20956         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20957         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20958         * sysdeps/i386/fpu/e_powl.S: Likewise.
20959         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20960         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20961         * sysdeps/i386/fpu/e_logl.S: Likewise.
20962         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20963         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20964         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20965         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20966         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20967         * sysdeps/i386/fpu/e_log.S: Likewise.
20968         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20969         * sysdeps/i386/fpu/e_logf.S: Likewise.
20970         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20971         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20972         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20973         * sysdeps/i386/fpu/e_log10.S: Likewise.
20974         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20975         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20976         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20977         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20978         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20979         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20980         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20981         * sysdeps/i386/i686/strtok.S: Likewise.
20982         * sysdeps/i386/i386-mcount.S: Likewise.
20983         * sysdeps/i386/strtok.S: Likewise.
20984         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20985         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20986         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20987         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20988         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20989         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20990         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20991         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20992         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20993         * sysdeps/x86_64/_mcount.S: Likewise.
20994         * sysdeps/x86_64/strtok.S: Likewise.
20995         * sysdeps/sh/_mcount.S: Likewise.
20997 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20999         * libio/iofopen.c: Include <fcntl.h>.
21000         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21001         (_IO_fopen64, fopen64): Define as aliases.
21002         * libio/iofopen64.c: Include <fcntl.h>.
21003         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21004         Conditionalize body on this.
21005         * sysdeps/wordsize-64/iofopen.c: File removed.
21006         * sysdeps/wordsize-64/iofopen64.c: File removed.
21008 2012-08-01  Marek Polacek  <polacek@redhat.com>
21010         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21011         Use dlfcn directly instead of a variable.
21012         (binfmt-subdir): Do not define.
21013         (dlfcn): Likewise.
21015 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21017         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21018         Remove all definitions.
21019         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21020         <kernel-features.h>.
21021         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21022         (miss_F_GETOWN_EX): Remove all definitions.
21023         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21024         macro definition.
21025         [!__ASSUME_FCNTL64]: Remove conditional code.
21026         [__ASSUME_FCNTL64]: Make code unconditional.
21027         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21028         <kernel-features.h>.
21029         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21030         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21031         (lockf64) [__NR_fcntl64]: Make code unconditional.
21032         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21034         * sysdeps/unix/sysv/linux/kernel-features.h
21035         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21036         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21037         Make code unconditional.
21038         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21039         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21041         [__NR_vfork]: Make code unconditional.
21042         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21043         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21045         [__NR_vfork]: Make code unconditional.
21046         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21047         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21049 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21051         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21052         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21054         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21055         Define mkstemp64 as an alias.
21056         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21057         Define mkstemps64 as an alias.
21058         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21059         Define mkostemp64 as an alias.
21060         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21061         Define mkostemps64 as an alias.
21062         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21063         Conditionalize body on this.
21064         * misc/mkostemp64.c: Likewise.
21065         * misc/mkostemps64.c: Likewise.
21066         * misc/mkstemps64.c: Likewise.
21067         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21068         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21069         * sysdeps/wordsize-64/mkostemp.c: File removed.
21070         * sysdeps/wordsize-64/mkstemp.c: File removed.
21071         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21072         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21073         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21074         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21076         [BZ #14138]
21077         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21078         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21079         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21080         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21082         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21083         compat_symbol macros from <shlib-compat.h> rather than the underlying
21084         default_symbol_version and symbol_version macros, so that DEFAULT
21085         lines in shlib-versions are respected.
21086         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21088 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21090         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21091         Declare with warn_unused_result.
21092         (setgid, setregid, setegid, setresgid): Likewise.
21093         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21094         Likewise.
21095         * WUR-REPORT: Remove set*id functions.
21097 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21099         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21101 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21103         [BZ #10191]
21104         * include/sys/socket.h (__libc_accept, __libc_accept4):
21105         Add attribute_hidden.
21106         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21108         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21109         use of PTR_MANGLE.
21110         * inet/getnetgrent_r.c (setup): Likewise.
21112         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21114 2012-07-31  David S. Miller  <davem@davemloft.net>
21116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21118 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21120         [BZ #13629]
21121         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21122         value between 1.0 and 2.0 and smaller part has absolute value less
21123         than 1.0.
21124         * math/s_clog10.c (__clog10): Likewise.
21125         * math/s_clog10f.c (__clog10f): Likewise.
21126         * math/s_clog10l.c (__clog10l): Likewise.
21127         * math/s_clogf.c (__clogf): Likewise.
21128         * math/s_clogl.c (__clogl): Likewise.
21129         * math/libm-test.inc (clog_test): Add more tests.
21130         (clog10_test): Likewise.
21131         * sysdeps/i386/fpu/libm-test-ulps: Update.
21132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21134 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21136         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21137         Exit with zero in case no suitable GID is found, and write a
21138         message to standard error.
21140 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21142         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21143         rather than to 1.
21144         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21145         (MAXPATHLEN): Removed.
21146         (NOGROUP, NODEV): New macros.
21147         (setbit, clrbit, isset, isclr): New macros.
21148         (howmany, roundup, powerof2): New macros.
21149         (DEV_BSIZE): New macro.
21151         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21152         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21154         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21155         definition on [!__NO_LONG_DOUBLE_MATH].
21157         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21158         PTR_MANGLE and PTR_DEMANGLE.
21160         * socket/accept4.c (accept4): Rename to __libc_accept4.
21161         Define accept4 as a weak alias.
21163         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21164         on [_DIRENT_HAVE_D_TYPE].
21165         * io/ftw.c (ftw_dir): Likewise.
21167         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21169         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21171         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21172         Use the BSD numbers rather than the arbitrary ones we had.
21173         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21174         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21175         (SIGXCPU, SIGXFSZ): New macros.
21176         (_NSIG): Now 32.
21178         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21179         initializer on [_LIBC_REENTRANT].
21181         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21182         definitions inside [_POSIX_MAPPED_FILES].
21184         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21186         * dirent/opendir.c: Include <fcntl.h>.
21188         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21189         (__libc_getspecific): Likewise.
21190         (__libc_key_create): Likewise.
21192         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21193         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21194         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21195         (tmpfile64): Define as alias.
21196         * sysdeps/wordsize-64/tmpfile.c: File removed.
21197         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21198         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21199         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21201         * stdio-common/vfscanf.c: Include <stdbool.h>.
21202         * nss/makedb.c: Likewise.
21203         * stdio-common/_i18n_number.h: Likewise.
21204         * argp/argp-help.c: Likewise.
21205         * posix/wordexp.c: Likewise.
21206         * sysdeps/posix/spawni.c: Likewise.
21207         * nss/nss_files/files-initgroups.c: Likewise.
21208         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21209         * nss/nss_files/files-initgroups.c: Likewise.
21210         * nss/nss_db/db-netgrp.c: Likewise.
21211         * nss/nss_db/db-initgroups.c: Likewise.
21212         * io/fchmodat.c: Include <sys/stat.h>.
21214         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21215         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21217         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21218         [HAVE_MMAP].
21220         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21221         Add multiple inclusion protection.
21223 2012-07-27  David S. Miller  <davem@davemloft.net>
21225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21227 2012-07-27  Gary Benson  <gbenson@redhat.com>
21229         [BZ #14298]
21230         * elf/rtld.c: Include <stap-probe.h>.
21231         (dl_main): Added static probes "init_start" and "init_complete".
21232         * elf/dl-load.c: Include <stap-probe.h>.
21233         (lose): Take new parameter "nsid".
21234         Added static probe "map_failed".
21235         (_dl_map_object_from_fd): Pass namespace id to lose.
21236         Added static probe "map_start".
21237         (open_verify): Pass namespace id to lose.
21238         * elf/dl-open.c: Include <stap-probe.h>.
21239         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21240         and "reloc_complete".
21241         * elf/dl-close.c: Include <stap-probe.h>.
21242         (_dl_close_worker): Added static probes "unmap_start" and
21243         "unmap_complete".
21244         * elf/rtld-debugger-interface.txt: New file documenting the above.
21246 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21248         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21249         rather than a string variable.
21250         * sunrpc/rpc_main.c (h_output): Likewise.
21251         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21253 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21255         * inet/check_native.c: New file.
21257 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21259         [BZ #13629]
21260         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21261         if larger part has absolute value 1.0.
21262         * math/s_clog10.c (__clog10): Likewise.
21263         * math/s_clog10f.c (__clog10f): Likewise.
21264         * math/s_clog10l.c (__clog10l): Likewise.
21265         * math/s_clogf.c (__clogf): Likewise.
21266         * math/s_clogl.c (__clogl): Likewise.
21267         * math/libm-test.inc (clog_test): Add more tests.
21268         (clog10_test): Likewise.
21269         * sysdeps/i386/fpu/libm-test-ulps: Update.
21270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21272         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21273         (pltexit): Likewise.
21274         (La_regs): Likewise.
21275         (La_retval): Likewise.
21276         (int_retval): Likewise.
21277         Update #error for removed macros to refer only to definitions in
21278         tst-audit.h.
21279         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21280         macro.
21281         (pltexit): Likewise.
21282         (La_regs): Likewise.
21283         (La_retval): Likewise.
21284         (int_retval): Likewise.
21285         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21286         macro.
21287         (pltexit): Likewise.
21288         (La_regs): Likewise.
21289         (La_retval): Likewise.
21290         (int_retval): Likewise.
21291         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21292         macro.
21293         (pltexit): Likewise.
21294         (La_regs): Likewise.
21295         (La_retval): Likewise.
21296         (int_retval): Likewise.
21297         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21298         macro.
21299         (pltexit): Likewise.
21300         (La_regs): Likewise.
21301         (La_retval): Likewise.
21302         (int_retval): Likewise.
21303         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21304         macro.
21305         (pltexit): Likewise.
21306         (La_regs): Likewise.
21307         (La_retval): Likewise.
21308         (int_retval): Likewise.
21309         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21310         macro.
21311         (pltexit): Likewise.
21312         (La_regs): Likewise.
21313         (La_retval): Likewise.
21314         (int_retval): Likewise.
21315         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21316         macro definitions in tst-audit.h.
21317         * sysdeps/i386/tst-audit.h: New file.
21318         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21319         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21320         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21321         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21322         * sysdeps/sh/tst-audit.h: Likewise.
21323         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21324         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21325         * sysdeps/x86_64/tst-audit.h: Likewise.
21327 2012-07-26  Andreas Jaeger  <aj@suse.de>
21329         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21330         ptrace.
21332         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21333         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21334         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21335         PTRACE_O_MASK.
21336         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21337         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21338         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21340         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21341         value.
21343         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21344         _sigsys.
21345         (si_call_addr, si_syscall, si_arch): Define new macro.
21346         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21347         _sigsys.
21348         (si_call_addr, si_syscall, si_arch): Define new marcro.
21349         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21350         _sigsys.
21351         (si_call_addr, si_syscall, si_arch): Define new macro.
21352         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21353         _sigsys.
21354         (si_call_addr, si_syscall, si_arch): Define new macro.
21356 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21358         [BZ #13717]
21359         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21360         Change to 2.4.21 where previously 2.4.1.
21361         * sysdeps/unix/sysv/linux/configure: Regenerated.
21362         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21363         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21364         Linux kernel version.
21365         (__ASSUME_STD_AUXV): Remove.
21366         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21367         kernel version.
21368         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21369         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21370         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21371         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21372         (__ASSUME_NETLINK_SUPPORT): Likewise.
21373         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21374         (__no_netlink_support): Remove conditional definition.
21375         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21376         Remove.
21377         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21378         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21379         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21380         (if_nameindex_ioctl): Remove.
21381         (if_nameindex_netlink): Do not handle __no_netlink_support.
21382         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21383         code.
21384         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21385         Remove conditional code.
21386         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21387         code.
21388         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21389         unconditional.
21390         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21391         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21392         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21393         Remove.
21394         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21395         [!__ASSUME_STD_AUXV]: Remove conditional code.
21396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21397         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21398         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21400         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21401         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21402         code.
21403         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21405         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21406         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21407         conditional code.
21408         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21410         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21411         code.
21412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21413         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21414         conditional code.
21415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21416         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21417         code unconditional.
21418         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21419         conditional code.
21420         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21421         unconditional.
21422         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21423         conditional code.
21424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21425         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21426         unconditional.
21427         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21428         conditional code.
21429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21430         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21431         code unconditional.
21432         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21433         conditional code.
21434         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21435         unconditional.
21436         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21437         conditional code.
21438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21439         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21440         code unconditional.
21441         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21442         conditional code.
21443         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21444         unconditional.
21445         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21446         conditional code.
21448 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21450         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21451         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21452         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21453         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21454         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21455         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21456         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21457         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21458         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21459         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21460         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21461         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21462         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21463         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21464         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21465         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21466         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21467         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21468         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21470         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21471         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21472         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21474 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21476         * Versions.def: Add GLIBC_2.17.
21477         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21478         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21479         Introduce __libc_secure_getenv.
21480         * stdlib/Versions (2.17): Add secure_getenv
21481         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21482         * stdlib/secure-getenv.c: Rename __secure_getenv to
21483         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21484         symbol __secure_getenv for GLIBC_2.0.
21485         * stdlib/tst-secure-getenv.c: New.
21486         * stdlib/Makefile (tests): Add testcase.
21487         * manual/startup.texi (Environment Access): Document
21488         secure_getenv.
21489         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21490         __libc_secure_getenv.
21491         * inet/ruserpass.c (ruserpass): Likewise.
21492         * malloc/mtrace.c (mtrace): Likewise.
21493         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21494         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21495         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21496         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21497         HAVE_SECURE_GETENV.
21498         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21499         __secure_getenv to __libc_secure_getenv.
21500         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21502         Likewise.
21503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21504         Likewise.
21505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21507         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21513 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21515         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21516         (struct La_i86_retval): Likewise.
21517         (struct La_x86_64_regs): Likewise.
21518         (struct La_x86_64_retval): Likewise.
21519         (struct La_x32_regs): Likewise.
21520         (struct La_x32_retval): Likewise.
21521         (struct La_ppc32_regs): Likewise.
21522         (struct La_ppc32_retval): Likewise.
21523         (struct La_ppc64_regs): Likewise.
21524         (struct La_ppc64_retval): Likewise.
21525         (struct La_sh_regs): Likewise.
21526         (struct La_sh_retval): Likewise.
21527         (struct La_s390_32_regs): Likewise.
21528         (struct La_s390_32_retval): Likewise.
21529         (struct La_s390_64_regs): Likewise.
21530         (struct La_s390_64_retval): Likewise.
21531         (struct La_sparc32_regs): Likewise.
21532         (struct La_sparc32_retval): Likewise.
21533         (struct La_sparc64_regs): Likewise.
21534         (struct La_sparc64_retval): Likewise.
21535         (struct audit_ifaces): Remove architecture-specific pltenter and
21536         pltexit members.
21537         * sysdeps/i386/ldsodefs.h: New file.
21538         * sysdeps/powerpc/ldsodefs.h: Likewise.
21539         * sysdeps/s390/ldsodefs.h: Likewise.
21540         * sysdeps/sh/ldsodefs.h: Likewise.
21541         * sysdeps/sparc/ldsodefs.h: Likewise.
21542         * sysdeps/x86_64/ldsodefs.h: Likewise.
21544 2012-07-25  Marek Polacek  <polacek@redhat.com>
21546         [BZ #6808]
21547         * math/libm-test.inc (yn_test): Add another test.
21548         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21549         to ERANGE when the result is +-Inf.
21550         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21551         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21552         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21553         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21555 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21557         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21558         equal to 0.
21559         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21560         clock_t.
21561         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21563 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21565         * configure.in <sysdeps resolving>: Correct printing
21566         Implies_before.
21567         * configure: Regenerate.
21569 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21571         * math/w_ilogb.c: Include <limits.h>.
21572         * math/w_ilogbl.c: Likewise.
21574 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21576         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21577         va_copy.  Document allowing for unavailable va_copy only as
21578         pre-C99 compatibility.
21579         * manual/string.texi (Copying and Concatenation): Use va_copy
21580         instead of __va_copy in concat example.
21582 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21584         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21585         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21586         it if not null.
21588         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21589         with O_NOLINK passed to __file_name_lookup.
21591         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21592         with O_NOLINK passed to __file_name_lookup.
21594         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21595         negative N or less than NGIDS.
21597         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21598         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21599         enough.  Use memcpy instead of strncpy.
21601 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21603         * elf/Makefile (check-data): Remove.
21604         (localplt.data): New vpath directive.
21605         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21606         instead of $(check-data).
21607         * scripts/data/localplt-generic.data: Move to ...
21608         * sysdeps/generic/localplt.data: ... here.
21609         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21610         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21611         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21613         ... here.
21614         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21616         ... here.
21617         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21619         ... here.
21620         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21622         ... here.
21623         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21625         ... here.
21626         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21628         ... here.
21630 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21632         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21633         PPC32 and PPC64 files.
21634         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21635         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21637 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21639         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21640         __makecontext_ret to ...
21641         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21642         ... here and call exit if uc_link is NULL.  New file.
21643         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21644         __makecontext_ret.S.
21645         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21646         __makecontext_ret to ...
21647         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21648         ... here and call exit if uc_link is NULL.  New file.
21649         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21650         __makecontext_ret.S.
21652 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21654         * elf/elf.h (R_390_IRELATIVE): New definition.
21655         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21656         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21657         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21658         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21659         (elf_machine_lazy_rel): Likewise.
21660         * sysdeps/s390/dl-irel.h: New file.
21661         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21662         * sysdeps/s390/s390-64/memset.S: New asm code.
21663         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21664         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21665         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21666         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21667         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21668         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21669         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21670         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21671         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21672         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21673         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21674         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21675         * sysdeps/s390/s390-32/memset.S: New asm code.
21676         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21678 2012-07-17  Marek Polacek  <polacek@redhat.com>
21680         [BZ #14349]
21681         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21682         * sysdeps/s390/s390-64/configure.in: Likewise.
21683         * sysdeps/sparc/configure.in: Likewise.
21684         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21685         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21686         * sysdeps/i386/configure.in: Likewise.
21687         * sysdeps/x86_64/configure.in: Likewise.
21688         * sysdeps/sh/configure.in: Likewise.
21689         * sysdeps/s390/s390-32/configure: Regenerated.
21690         * sysdeps/s390/s390-64/configure: Likewise.
21691         * sysdeps/x86_64/configure: Likewise.
21692         * sysdeps/sh/configure: Likewise.
21693         * sysdeps/powerpc/powerpc64/configure: Likewise.
21694         * sysdeps/powerpc/powerpc32/configure: Likewise.
21695         * sysdeps/sparc/configure: Likwise.
21696         * sysdeps/i386/configure: Likewise.
21698         * elf/dl-open.c: Comment fixes.
21700 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21702         * Makefile [CXX] (check-data): Remove.
21703         [CXX] (c++-types.data): New vpath directive.
21704         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21705         vpath.  Do not allow for C++ type data being missing.
21706         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21707         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21708         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21709         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21710         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21711         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21712         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21714         ... here.
21715         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21717         ... here.
21718         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21720         ... here.
21721         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21723         ... here.
21724         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21726         ... here.
21727         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21729         ... here.
21730         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21732         ... here.
21733         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21736         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21737         definitions to architecture-specific files.
21738         (TLS_IE): Likewise.
21739         (TLS_LD): Likewise.
21740         (TLS_GD): Likewise.
21741         * sysdeps/i386/tls-macros.h: New file.
21742         * sysdeps/powerpc/tls-macros.h: Likewise.
21743         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21744         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21745         * sysdeps/sh/tls-macros.h: Likewise.
21746         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21747         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21748         * sysdeps/x86_64/tls-macros.h: Likewise.
21750 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21752         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21753         zero value for regular exit case.
21755         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21756         (__start_context): Preserve zero value for regular exit case.
21758 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21759             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21761         * manual/setjmp.texi (setcontext): Clarify normal process
21762         termination when uc_link is the null pointer.
21763         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21764         exit call.
21766 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21768         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21769         preprocessor.  Test for each exception mask separately.
21771 2012-07-16  Andreas Jaeger  <aj@suse.de>
21773         * po/ru.po: Update from translation team.
21775 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21777         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21778         equal to 0.
21779         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21780         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21781         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21782         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21783         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21785 2012-07-13  Andreas Jaeger  <aj@suse.de>
21787         * po/fr.po: Update from translation team.
21789 2012-07-12  Marek Polacek  <polacek@redhat.com>
21791         [BZ #14173]
21792         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21793         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21794         loop condition.
21796 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21798         [BZ #13717]
21799         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21800         Change to 2.4.1 where previously 2.4.0.
21801         * sysdeps/unix/sysv/linux/configure: Regenerated.
21802         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21803         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21804         version.
21805         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21806         (__ASSUME_AT_CLKTCK): Remove.
21807         (__ASSUME_AT_PAGESIZE): Likewise.
21808         (__ASSUME_AT_XID): Likewise.
21809         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21810         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21811         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21812         unconditionally.
21813         (HAVE_AUX_PAGESIZE): Likewise.
21814         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21815         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21816         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21818 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21820         [BZ #14307]
21821         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21822         the temporary buffer used to invoke __gethostbyname2_r,
21823         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21824         host_data / struct gaih_addrtuple.
21825         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21826         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21827         header file nss/nsswitch.h.
21828         * nss/nsswitch.h (global scope): Add definition of implementation
21829         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21830         resolv/nss_dns/dns-host.c).
21832 2012-07-11  Andreas Jaeger  <aj@suse.de>
21834         * po/fr.po: Update from translation team.
21836         * po/sv.po: Update from translation team
21837         * po/fr.po: Another update from translation team.
21839 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21841         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21842         for subnormals or multiply small sinh result by itself.
21843         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21846 2012-07-11  David S. Miller  <davem@davemloft.net>
21848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21850 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21852         [BZ #14347]
21853         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21854         (INTERNAL_MARK): Shift it here.
21856 2012-07-10  Marek Polacek  <polacek@redhat.com>
21858         [BZ #14151]
21859         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21860         libc_cv_asm_global_directive with .globl.
21861         * configure: Regenerated.
21862         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21863         with .globl.
21864         * sysdeps/i386/configure: Regenerated.
21865         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21866         with .globl.
21867         * sysdeps/x86_64/configure: Regenerated.
21868         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21869         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21870         * elf/tst-unique2mod2.c: Likewise.
21871         * elf/tst-unique2mod1.c: Likewise.
21872         * elf/tst-unique1mod2.c: Likewise.
21873         * elf/tst-unique1mod1.c: Likewise.
21874         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21875         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21876         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21877         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21878         * sysdeps/mach/sysdep.h: Likewise.
21879         * sysdeps/i386/sysdep.h: Likewise.
21880         * sysdeps/i386/i386-mcount.S: Likewise.
21881         * sysdeps/x86_64/_mcount.S: Likewise.
21882         * sysdeps/x86_64/sysdep.h: Likewise.
21883         * sysdeps/sh/_mcount.S: Likewise.
21884         * sysdeps/sh/sysdep.h: Likewise.
21885         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21886         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21887         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21888         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21889         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21890         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21891         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21892         * locale/localeinfo.h: Likewise.
21893         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21894         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21896 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21898         [BZ #14336]
21899         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21900         system".
21901         * manual/message.texi (The Uniforum approach): Likewise.
21902         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21903         (glibc iconv Implementation): Likewise.
21905 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21907         [BZ #14337]
21908         * math/s_clog.c (__clog): Avoid scaling a value down where that
21909         could result in underflow.
21910         * math/s_clog10.c (__clog10): Likewise.
21911         * math/s_clog10f.c (__clog10f): Likewise.
21912         * math/s_clog10l.c (__clog10l): Likewise.
21913         * math/s_clogf.c (__clogf): Likewise.
21914         * math/s_clogl.c (__clogl): Likewise.
21915         * math/libm-test.inc (clog_test): Add more tests.
21916         (clog10_test): Likewise.
21917         * sysdeps/i386/fpu/libm-test-ulps: Update.
21918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21920 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21922         [BZ #14283]
21923         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21924         by 7 not 8 to examine high bit of fractional part.
21926         [BZ #14042]
21927         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21928         for call to __mcount_internal.
21929         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21930         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21931         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21933 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21935         [BZ #14154]
21936         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21937         approximation for values within 0x1p-13f of an odd multiple of
21938         pi/4.
21939         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21940         exception.  Add more tests.
21941         * sysdeps/i386/fpu/libm-test-ulps: Update.
21943         [BZ #6778]
21944         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21945         inputs and return -1 for them.  Do not check for +Inf in case not
21946         reachable for +Inf.
21947         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21948         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21949         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21950         and return -1 for them.  Do not check for +Inf in case not
21951         reachable for +Inf.
21952         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21953         define.
21954         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21955         and return -1 for them.  Do not check for +Inf in case not
21956         reachable for +Inf.
21957         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21958         spurious underflow.
21959         * sysdeps/i386/fpu/libm-test-ulps: Update.
21960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21962 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21964         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21966 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21968         [BZ #14157]
21969         [BZ #14331]
21970         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21971         could result in spurious underflow.  Scale down values above
21972         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21973         * math/s_csqrtf.c (__csqrtf): Likewise.
21974         * math/s_csqrtl.c (__csqrtl): Likewise.
21975         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21976         spurious underflow.
21977         * sysdeps/i386/fpu/libm-test-ulps: Update.
21978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21980 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21982         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21983         xopen-msg.sed.
21984         * catgets/xopen-msg.awk: New file.
21985         * catgets/xopen-msg.sed: Removed.
21987         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21988         po2text.sed.
21989         * intl/po2test.awk: New file.
21990         * intl/po2test.sed: Removed.
21992 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21994         [BZ #14328]
21995         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21996         or multiply small sinh result by itself.
21997         * math/s_ctanf.c (__ctanf): Likewise.
21998         * math/s_ctanh.c (__ctanh): Likewise.
21999         * math/s_ctanhf.c (__ctanhf): Likewise.
22000         * math/s_ctanhl.c (__ctanhl): Likewise.
22001         * math/s_ctanl.c (__ctanl): Likewise.
22002         * math/libm-test.inc (ctan_test_tonearest): New function.
22003         (ctan_test_towardzero): Likewise.
22004         (ctan_test_downward): Likewise.
22005         (ctan_test_upward): Likewise.
22006         (ctanh_test_tonearest): Likewise.
22007         (ctanh_test_towardzero): Likewise.
22008         (ctanh_test_downward): Likewise.
22009         (ctanh_test_upward): Likewise.
22010         (main): Call these new functions.
22011         * sysdeps/i386/fpu/libm-test-ulps: Update.
22012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22014 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22016         * .gitignore: Delete /ports entry.
22018 2012-07-03  Andreas Jaeger  <aj@suse.de>
22020         * po/bg.po: Update from translation team.
22021         * po/cs.po: Likewise.
22022         * po/de.po: Likewise.
22023         * po/hr.po: Likewise.
22024         * po/nl.pl: Likewise.
22025         * po/pl.po: Likewise.
22026         * po/vi.po: Likewise.
22028 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22030         * Makeconfig [!+link] (+link-before-libc): New variable.
22031         [!+link] (+link-after-libc): Likewise.
22032         [!+link] (+link-tests): Likewise.
22033         [!+link] (+link): Define in terms of $(+link-before-libc) and
22034         $(+link-after-libc).
22035         [!+link-static] (+link-static-before-libc): New variable.
22036         [!+link-static] (+link-static-after-libc): Likewise.
22037         [!+link-static] (+link-static-tests): Likewise.
22038         [!+link-static] (+link-static): Define in terms of
22039         $(+link-static-before-libc) and $(+link-static-after-libc).
22040         [build-shared] (link-libc-before-gnulib): New variable.
22041         [build-shared] (link-libc-tests): Likewise.
22042         [build-shared] (link-libc): Define in terms of
22043         $(link-libc-before-gnulib).
22044         [!build-shared] (link-libc-tests): New variable.
22045         (link-libc-static-tests): New variable.
22046         [!gnulib] (gnulib-arch): New variable.
22047         [!gnulib] (gnulib-tests): Likewise.
22048         [!gnulib] (static-gnulib-arch): Likewise.
22049         [!gnulib] (static-gnulib-tests): Likewise.
22050         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22051         Define with "=" instead of ":=".
22052         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22053         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22054         * Rules (binaries-all-notests): New variable.
22055         (binaries-all-tests): Likewise.
22056         (binaries-static-notests): Likewise.
22057         (binaries-static-tests): Likewise.
22058         (binaries-all): Define using $(binaries-all-notests) and
22059         $(binaries-all-tests).
22060         (binaries-static): Define using $(binaries-static-notests) and
22061         $(binaries-static-tests).
22062         (binaries-shared-tests): New variable.
22063         (binaries-shared-notests): Likewise.
22064         (binaries-shared): Remove variable.
22065         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22066         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22067         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22068         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22069         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22070         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22071         * elf/Makefile (sln-modules): New variable.
22072         (extra-objs): Add $(sln-modules:=.o).
22073         (ldconfig-modules): Add static-stubs.
22074         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22075         * elf/static-stubs.c: New file.
22077         [BZ #14283]
22078         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22079         by 7 not 8 to examine high bit of fractional part.  Use volatile
22080         variables when splitting into final array of floats if
22081         __FLT_EVAL_METHOD__ != 0.
22082         * math/libm-test.inc (cos_test): Add another test.
22083         (sin_test): Likewise.
22084         * sysdeps/i386/fpu/libm-test-ulps: Update.
22086         [BZ #14273]
22087         * math/libm-test.inc (cosh_test): Add more tests.
22089         * version.h (RELEASE): Set to "development".
22090         (VERSION): Set to "2.16.90".
22092 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22094         * NEWS: Update copyright. Remove last-updated date.
22095         Mention math library bug fixes and timezone data changes.
22096         * README: Mention GNU/Hurd, x32, and HPPA support status.
22098 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22100         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22102 2012-06-27  Andreas Jaeger  <aj@suse.de>
22104         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22106 2012-06-25  Andreas Jaeger  <aj@suse.de>
22108         * sysdeps/s390/fpu/libm-test-ulps: Update.
22110 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22111             Thomas Schwinge  <thomas@codesourcery.com>
22113         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22114         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22115         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22116         fanotify_mark.
22118 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22120         * sysdeps/mach/start.c: Remove file.
22121         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22122         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22123         * sysdeps/sh/init-first.c: Likewise.
22125         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22126         registers for frame unwinding purposes, add CFI directives.
22127         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22128         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22129         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22130         Likewise.
22132         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22133         __fortify_fail returning.
22134         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22136         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22137         sysdeps/sh/____longjmp_chk.S.
22138         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22139         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22140         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22141         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22143         * sysdeps/sh/abort-instr.h: New file.
22144         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22145         process in case exit returns.
22147         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22148         initialize the GOT register before use.
22150         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22151         calculation of ARGC > 4.
22153         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22154         meaningful names to some local labels.
22156 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22157             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22159         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22160         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22161         (__arch_compare_and_exchange_val_16_acq): Likewise.
22162         (__arch_compare_and_exchange_val_32_acq): Likewise.
22163         (atomic_exchange_and_add): Fix gUSA sequence.
22164         (atomic_add): Likewise.
22165         (atomic_add_negative): Likewise.
22166         (atomic_add_zero): Likewise.
22167         (atomic_bit_test_set): Likewise.
22169 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22171         [BZ #13579]
22172         * include/link.h (struct link_map): Add l_free_initfini.
22173         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22174         l_initfini.
22175         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22176         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22177         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22178         set.
22180 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22182         * configure.in: Use AC_LANG_SOURCE.
22183         * configure: Regenerate.
22185 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22187         * configure.in (libc_cv_localstatedir): New substituted variable.
22188         * configure: Regenerated.
22189         * config.make.in (localstatedir): New variable, substituted from
22190         libc_cv_localstatedir.
22191         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22192         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22193         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22194         * sysdeps/gnu/configure: Regenerated.
22196 2012-06-21  Jeff Law  <law@redhat.com>
22198         [BZ #14277]
22199         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22200         free.  Simplify list management for _LIBC case.
22202 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22204         [BZ #14273]
22205         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22206         Clear sign bit of 64-bit integer value before comparing against
22207         overflow value.
22209         * sysdeps/mach/configure: Regenerated.
22211 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22213         [BZ #14278]
22214         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22216 2012-06-21  Jeff Law  <law@redhat.com>
22218         [BZ #13882]
22219         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22220         uint16_t for elements in the "seen" array to avoid char overflows.
22221         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22222         * elf/dl-open.c (dl_open_worker): Likewise.
22224 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22226         * scripts/list-sources.sh: Scan PORTS for translations.
22227         * po/libc.pot: Regenerated.
22229 2012-06-21  Andreas Jaeger  <aj@suse.de>
22231         [BZ #12194]
22232         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22233         warning.
22234         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22235         * bits/byteswap-16.h (__bswap_16): Likewise.
22236         * bits/byteswap.h (__bswap_constant_16): Likewise.
22238 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22240         [BZ #14117]
22241         * sysdeps/i386/fpu_control.h: Removed.
22242         * sysdeps/x86_64/fpu_control.h: Moved to ...
22243         * sysdeps/x86/fpu_control.h: Here.
22245         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22246         (_FPU_SETCW): Likewise.
22248 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22250         [BZ #14117]
22251         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22252         * sysdeps/x86/fpu/bits/mathinline.h: This.
22253         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22255         [BZ #14050]
22256         [BZ #14117]
22257         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22258         functions if __x86_64__ is defined.
22260 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22262         * string/endian.h: Add !__ASSEMBLER__ condition for including
22263         conversion interfaces.
22265 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22267         [BZ #14241]
22268         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22269         of ABS(x) in calculating zero to negative powers other than odd
22270         integers.
22271         * math/libm-test.inc (pow_test): Add more tests.
22273 2012-06-15  Andreas Jaeger  <aj@suse.de>
22275         * manual/contrib.texi (Contributors): Update entry of Liubov
22276         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22277         Machado Filho.
22279 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22281         * string/string.h: Add __wur to GNU version of strerror_r.
22283 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22285         [BZ #14229]
22286         * string/Makefile (tests): Add tst-strtok_r.
22287         * string/tst-strtok_r.c: New file.
22288         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22289         RAX_LP/RDX_LP on SAVE_PTR.
22291 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22293         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22295 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22297         * libm_test.inc (csqrt_test): Allow more spurious underflow
22298         exceptions.
22299         (j0_test): Likewise.
22300         (j1_test): Likewise.
22301         (y0_test): Likewise.
22302         (y1_test): Likewise.
22304 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22306         * po/Makefile (libc.pot): Use UTF-8 charset.
22308 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22310         [BZ #14210]
22311         Suppress sign-conversion warning from FD_SET.
22312         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22313         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22314         not unsigned long int.
22315         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22317 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22319         [BZ #14050]
22320         [BZ #14117]
22321         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22322         __extern_always_inline instead of __extern_inline.
22323         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22324         (__signbit): Likewise.
22325         (__signbitl): Support C++ namespace.
22326         (lrintf): New inline function.
22327         (lrint): Likewise.
22328         (llrintf): Likewise.
22329         (llrint): Likewise.
22330         (fmaxf): Likewise.
22331         (fmax): Likewise.
22332         (fminf): Likewise.
22333         (fmin): Likewise.
22334         (rint): Likewise.
22335         (rintf): Likewise.
22336         (ceil): Likewise.
22337         (ceilf): Likewise.
22338         (floor): Likewise.
22339         (floorf): Likewise.
22340         (nearbyint): Likewise.
22341         (nearbyintf): Likewise.
22343 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22345         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22346         non-default versions.
22348 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22350         [BZ #14218]
22351         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22353 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22355         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22356         (FE_UPWARD, FE_DOWNWARD): Don't define.
22357         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22358         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22360         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22361         reading it.
22362         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22363         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22365 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22367         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22368         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22369         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22370         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22372 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22374         [BZ #14117]
22375         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22376         * sysdeps/i386/fpu/Implies: New file.
22377         * sysdeps/x86_64/fpu/Implies: Likewise.
22378         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22379         * sysdeps/x86/fpu/bits/fenv.h: This.
22381         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22382         __SSE_MATH__.
22384 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22386         [BZ #14134]
22387         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22388         character 0xffff that matches the last element of the
22389         conversion table.
22391 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22393         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22394         fmodl commit.
22396 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22398         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22399         values higher than 25.6283.
22401 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22403         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22404         subnormal exponent extraction and add some __builtin_expect.
22405         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22406         Fix for subnormal mantissa calculation.
22408 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22410         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22411         cpu2 is -1 and errno is not ENOSYS.
22413 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22415         [BZ #14117]
22416         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22417         * sysdeps/x86/bits/string.h: This.
22418         * sysdeps/x86_64/bits/string.h: Removed.
22420         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22421         if not compiling for x86-64, but compiling for >= i486.
22423         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22424         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22426         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22427         New macro from Linux kernel 3.4.0.
22428         (FP_XSTATE_MAGIC2): Likewise.
22429         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22430         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22431         (struct _fpx_sw_bytes): New struct.
22432         (struct _xsave_hdr): Likewise.
22433         (struct _ymmh_state): Likewise.
22434         (struct _xstate): Likewise.
22436         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22437         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22438         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22439         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22440         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22441         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22443         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22444         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22445         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22446         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22447         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22448         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22450 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22452         [BZ #13743]
22453         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22454         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22455         (sysdep_headers): Include sys/platform/ppc.h.
22456         * sysdeps/powerpc/test-gettimebase.c: Test for
22457         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22458         * manual/Makefile (appendices): Include platform.texi.
22459         * manual/contrib.texi (Contributors): Update @node pointers.
22460         * manual/maint.texi (Maintenance): Likewise.
22461         (Platform): New node.
22462         * manual/platform.texi: New file.  Document the new features.
22464 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22465             Jakub Jelinek  <jakub@redhat.com>
22467         [BZ #14188]
22468         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22469         where __builtin_expect is unavailable.
22471 2012-06-03  David S. Miller  <davem@davemloft.net>
22473         * stdlib/longlong.h: Updated from GCC.
22475 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22477         [BZ #14042]
22478         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22479         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22480         __mcount_internal.
22481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22482         (GLIBC_2.16): Likewise.
22484 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22486         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22488 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22491         (default-abi): New variable.
22492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22493         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22494         variable.
22495         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22496         Likewise.
22497         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22498         Likewise.
22499         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22500         Likewise.
22502         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22503         definition.  Document in comment.
22505 2012-06-01  David S. Miller  <davem@davemloft.net>
22507         * stdlib/longlong.h: Updated from GCC.
22509 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22511         [BZ #14117]
22512         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22513         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22514         sys/debugreg.h sys/io.h here.
22515         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22516         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22517         sys/io.h.
22518         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22519         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22520         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22521         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22522         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22523         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22525         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22526         Define only if __x86_64__ is defined.
22528 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22530         [BZ #14048]
22531         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22532         Use int64_t for variable i.
22533         * math/libm-test.inc (fmod_test): Add more tests.
22535         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22536         z computation is not scheduled after fetestexcept.
22537         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22538         Use math_force_eval instead of asm to ensure calculation scheduled
22539         before exception test.
22540         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22541         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22543 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22546         computation is not scheduled after fetestexcept.
22548 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22550         [BZ #14117]
22551         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22552         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22554 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22556         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22557         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22559 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22561         [BZ #14117]
22562         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22563         <bits/wordsize.h>.
22564         (__WCHAR_MIN): Support __WORDSIZE == 64.
22565         (__WCHAR_MAX): Likewise.
22567         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22568         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22570         [BZ #14183]
22571         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22572         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22574         [BZ #14117]
22575         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22576         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22578         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22579         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22581         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22582         Defined to 1 if __x86_64__ isn't defined.
22583         (_STAT_VER_LINUX_OLD): New.
22584         (st_atime): Remove duplicate.
22585         (st_mtime): Likewise.
22586         (st_ctime): Likewise.
22588 2012-05-31  David S. Miller  <davem@davemloft.net>
22590         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22591         entries.
22593 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22595         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22596         gen-libm-test.pl.
22598         [BZ #14132]
22599         * elf/dl-reloc.c: Include <_itoa.h>.
22600         (_dl_reloc_bad_type): Remove use of INTUSE.
22601         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22602         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22603         * stdio-common/psiginfo.c (psiginfo): Likewise.
22604         * stdio-common/psignal.c (psignal): Likewise.
22605         * string/strsignal.c (strsignal): Likewise.
22606         * include/signal.h (_sys_siglist): Declare hidden proto.
22607         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22608         INTVARDEF with libc_hidden_data_def.
22609         * stdio-common/itoa-udigits.c: Likewise.
22610         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22611         (_itoa_lower_digits_internal): Remove declaration.
22612         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22613         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22614         (_sys_sigabbrev_internal): Remove aliases.
22615         (_sys_siglist): Define hidden alias.
22617 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22619         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22620         bits/sysctl.h.
22622 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22624         [BZ #14117]
22625         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22626         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22628         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22629         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22630         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22631         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22632         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22633         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22635         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22636         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22637         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22639         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22640         with __addr.
22641         (insw): Likewise.
22642         (insl): Likewise.
22643         (outsb): Likewise.
22644         (outsw): Likewise.
22645         (outsl): Likewise.
22647         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22648         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22649         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22651         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22652         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22653         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22654         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22655         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22656         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22658         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22659         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22661         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22662         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22664         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22665         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22666         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22668         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22669         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22670         to ...
22671         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22673         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22674         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22675         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22677         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22678         for x86-64.
22679         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22681 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22683         * math/math.h (M_El): Use two more decimal places.
22684         (M_LOG2El): Likewise.
22685         (M_LOG10El): Likewise.
22686         (M_LN2l): Likewise.
22687         (M_LN10l): Likewise.
22688         (M_PIl): Likewise.
22689         (M_PI_2l): Likewise.
22690         (M_PI_4l): Likewise.
22691         (M_1_PIl): Likewise.
22692         (M_2_PIl): Likewise.
22693         (M_2_SQRTPIl): Likewise.
22694         (M_SQRT2l): Likewise.
22695         (M_SQRT1_2l): Likewise.
22697 2012-05-31  David S. Miller  <davem@davemloft.net>
22699         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22700         values between float registers.
22701         * sysdeps/sparc/sparc64/memset.S: Likewise.
22702         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22704 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22706         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22707         -D_FORTIFY_SOURCE=1.
22708         (CPPFLAGS-tst-longjmp_chk.c): Define.
22709         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22710         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22711         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22712         CFLAGS-tst-wchar-h.c.
22714 2012-05-31  Marek Polacek  <polacek@redhat.com>
22716         [BZ #14132]
22717         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22718         __endmntent_internal): Remove declaration.
22719         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22720         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22721         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22723 2012-05-30  David S. Miller  <davem@davemloft.net>
22725         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22726         (___Q_simulate_exceptions): Use real FP ops rather than writing
22727         into the %fsr.
22728         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22729         Likewise.
22731 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22733         [BZ #14117]
22734         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22735         * sysdeps/x86/bits/xtitypes.h: This.
22737         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22738         * sysdeps/x86/bits/wordsize.h: This.
22740         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22741         * sysdeps/x86/bits/huge_vall.h: This.
22743         * sysdeps/i386/bits/select.h: Removed.
22744         * sysdeps/x86_64/bits/select.h: Renamed to ...
22745         * sysdeps/x86/bits/select.h: This.
22747         * sysdeps/i386/bits/setjmp.h: Removed.
22748         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22749         * sysdeps/x86/bits/setjmp.h: This.
22751         * sysdeps/i386/bits/mathdef.h: Removed.
22752         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22753         * sysdeps/x86/bits/mathdef.h: This.
22755 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22757         [BZ #14132]
22758         * include/sys/socket.h (__connect_internal)
22759         (__libc_sa_len_internal): Remove declaration.
22760         (__connect, __libc_sa_len): Declare hidden_proto.
22761         (SA_LEN): Remove use of INTUSE.
22762         * socket/connect.c: Add libc_hidden_def.
22763         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22764         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22765         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22766         alias.
22767         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22768         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22769         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22770         of adding _internal alias.
22772 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22774         [BZ #14117]
22775         * sysdeps/i386/bits/link.h: Removed.
22776         * sysdeps/i386/bits/linkmap.h: Likewise.
22777         * sysdeps/x86_64/bits/link.h: Renamed to ...
22778         * sysdeps/x86/bits/link.h: This.
22779         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22780         * sysdeps/x86/bits/linkmap.h: This.
22782         * sysdeps/i386/bits/endian.h: Removed.
22783         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22784         * sysdeps/x86/bits/endian.h: This.
22786         * sysdeps/i386/bits/byteswap.h: Removed.
22787         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22788         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22789         * sysdeps/x86/bits/byteswap.h: This.
22790         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22791         * sysdeps/x86/bits/byteswap-16.h: This.
22792         * sysdeps/i386/Implies: Add x86.
22793         * sysdeps/x86_64/Implies: Likewise.
22795 2012-05-30  David S. Miller  <davem@davemloft.net>
22797         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22798         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22799         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22800         (FP_TRAPPING_EXCEPTIONS): Define.
22801         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22802         (FP_TRAPPING_EXCEPTIONS): Define.
22803         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22804         subnormals only when inexact has been signalled or underflow
22805         exceptions are enabled.
22806         (_FP_PACK_CANONICAL): Likewise.
22808 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22810         [BZ #14183]
22811         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22812         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22814 2012-05-30  Richard Henderson  <rth@twiddle.net>
22816         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22817         with #ifndef NOT_IN_libc.
22819         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22820         marked to avoid plt entry.
22822 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22824         [BZ #14112]
22825         * Makeconfig (default-abi): New macro.
22826         (abi-includes): Likewise.
22827         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22828         $(abi-$(default-abi)-lib-soname) for soname if defined.
22829         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22830         abi-variants.
22831         * Makefile (installed-stubs): Likewise.
22832         * include/stubs-biarch.h: Removed.
22833         * scripts/lib-names.awk: Only handle one library at a time.
22834         * scripts/soversions.awk: Remove WORDSIZE support.
22835         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22836         entries.
22837         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22838         Removed.
22839         (syscall-list-default-condition): Likewise.
22840         (syscall-list-default-condition): Likewise.
22841         (syscall-list-includes): Likewise.
22842         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22843         syscall-list-* with abi-*.  Handle undefined abi-variants.
22844         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22845         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22846         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22847         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22848         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22849         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22850         Removed.
22851         (syscall-list-32-options): Likewise.
22852         (syscall-list-32-condition): Likewise.
22853         (syscall-list-64-options): Likewise.
22854         (syscall-list-64-condition): Likewise.
22855         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22856         macro.
22857         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22858         Renamed to ...
22859         (abi-*): This.
22860         (abi-64-ld-soname): New macro.
22861         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22862         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22863         Renamed to ...
22864         (abi-*): This.
22865         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22866         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22868 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22870         * sysdeps/unix/sysv/linux/kernel-features.h
22871         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22872         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22873         include <kernel-features.h>.
22874         [!__NR_ftruncate64]: Remove conditional code.
22875         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22876         [__NR_ftruncate64]: Make code unconditional.
22877         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22878         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22879         include <kernel-features.h>.
22880         [!__NR_ftruncate64]: Remove conditional code.
22881         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22882         [__NR_ftruncate64]: Make code unconditional.
22883         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22885         include <kernel-features.h>.
22886         [!__NR_ftruncate64]: Remove conditional code.
22887         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22888         [__NR_ftruncate64]: Make code unconditional.
22889         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22891         include <kernel-features.h>.
22892         [!__NR_ftruncate64]: Remove conditional code.
22893         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22894         [__NR_ftruncate64]: Make code unconditional.
22895         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22897         * configure.in (libc_cv_fpie): Weaken to a compile test using
22898         LIBC_TRY_CC_OPTION.
22899         * configure: Regenerated.
22901 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22907         Refreshed.
22908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22914         Refreshed.
22916 2012-05-27  David S. Miller  <davem@davemloft.net>
22918         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22919         (___Q_zero): New.
22920         (__Q_simulate_exceptions): Return void.  Change to simulate
22921         exceptions by writing into the %fsr.
22922         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22923         (__Qp_handle_exceptions): Likewise.
22924         (numbers): Delete.
22925         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22926         __Qp_handle_exceptions.
22927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22928         __Qp_handle_exceptions.
22929         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22930         as unused and give dummy FP_RND_NEAREST initializer.
22931         (FP_INHIBIT_RESULTS): Define.
22932         (___Q_simulate_exceptions): Update declaration.
22933         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22934         formatting.
22935         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22936         as unused and give dummy FP_RND_NEAREST initializer.
22937         (__Qp_handle_exceptions): Update declaration.
22938         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22939         formatting.
22941 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22943         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22944         the temporary FPU control word.
22945         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22946         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22947         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22948         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22949         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22950         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22951         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22952         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22953         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22954         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22955         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22957 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22959         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22960         fields.
22962 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22964         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22965         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22966         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22967         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22968         Likewise.
22969         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22970         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22971         Likewise.
22973 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22975         * po/h.po: Update from translation team.
22977 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22979         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22981         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22982         handling of denormals.
22983         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22984         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22985         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22986         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22987         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22988         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22989         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22990         Likewise.
22992 2012-05-26  Marek Polacek  <polacek@redhat.com>
22994         [BZ #14152]
22995         * math/libm-test.inc (fma_test): Don't always expect underflow
22996         exception.
22998 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23000         [BZ #12416]
23001         * elf/tst-execstack.c: Include stackinfo.h.
23002         (do_test): Adjust test case to ensure that pthread_getattr_np
23003         behaviour remains the same after marking stack executable.
23005 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23007         * sysdeps/unix/sysv/linux/kernel-features.h
23008         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23009         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23010         kernel-features.h.
23011         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23012         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23013         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23014         kernel-features.h.
23015         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23016         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23018 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23020         * configure.in: Define the default includes to being none.
23021         * configure: Regenerated.
23023 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23025         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23026         * sysdeps/x86_64/setjmp.S: Likewise.
23027         * sysdeps/i386/bsd-setjmp.S: Likewise.
23028         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23029         * sysdeps/i386/setjmp.S: Likewise.
23030         * sysdeps/i386/__longjmp.S: Likewise.
23031         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23032         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23034         * include/stap-probe.h: New file.
23035         * configure.in: Handle --enable-systemtap.
23036         * configure: Regenerated.
23037         * config.h.in (USE_STAP_PROBE): New #undef.
23038         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23039         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23040         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23042 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23044         [BZ #13717]
23045         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23046         to 2.4.0 where earlier.
23047         * sysdeps/unix/sysv/linux/configure: Regenerated.
23048         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23049         <kernel-features.h>.
23050         [__ASSUME_32BITUIDS]: Make code unconditional.
23051         [!__ASSUME_32BITUIDS]: Remove conditional code.
23052         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23053         <kernel-features.h>.
23054         [__ASSUME_32BITUIDS]: Make code unconditional.
23055         [!__ASSUME_32BITUIDS]: Remove conditional code.
23056         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23057         [__ASSUME_32BITUIDS]: Make code unconditional.
23058         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23059         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23060         <kernel-features.h>.
23061         [__ASSUME_32BITUIDS]: Make code unconditional.
23062         [!__ASSUME_32BITUIDS]: Remove conditional code.
23063         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23064         <kernel-features.h>.
23065         [__ASSUME_32BITUIDS]: Make code unconditional.
23066         [!__ASSUME_32BITUIDS]: Remove conditional code.
23067         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23068         <kernel-features.h>.
23069         [__ASSUME_32BITUIDS]: Make code unconditional.
23070         [!__ASSUME_32BITUIDS]: Remove conditional code.
23071         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23072         <kernel-features.h>.
23073         [__ASSUME_32BITUIDS]: Make code unconditional.
23074         [!__ASSUME_32BITUIDS]: Remove conditional code.
23075         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23076         <kernel-features.h>.
23077         [__ASSUME_32BITUIDS]: Make code unconditional.
23078         [!__ASSUME_32BITUIDS]: Remove conditional code.
23079         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23080         <kernel-features.h>.
23081         [__ASSUME_32BITUIDS]: Make code unconditional.
23082         [!__ASSUME_32BITUIDS]: Remove conditional code.
23083         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23084         <kernel-features.h>.
23085         [__ASSUME_32BITUIDS]: Make code unconditional.
23086         [!__ASSUME_32BITUIDS]: Remove conditional code.
23087         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23088         <kernel-features.h>.
23089         [__ASSUME_32BITUIDS]: Make code unconditional.
23090         [!__ASSUME_32BITUIDS]: Remove conditional code.
23091         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23092         <kernel-features.h>.
23093         [__ASSUME_32BITUIDS]: Make code unconditional.
23094         [!__ASSUME_32BITUIDS]: Remove conditional code.
23095         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23096         <kernel-features.h>.
23097         [__ASSUME_32BITUIDS]: Make code unconditional.
23098         [!__ASSUME_32BITUIDS]: Remove conditional code.
23099         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23100         <kernel-features.h>.
23101         [__NR_setresgid] (__setresgid): Do not declare.
23102         [__ASSUME_32BITUIDS]: Make code unconditional.
23103         [!__ASSUME_32BITUIDS]: Remove conditional code.
23104         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23105         <kernel-features.h>.
23106         [__NR_setresuid] (__setresuid): Do not declare.
23107         [__ASSUME_32BITUIDS]: Make code unconditional.
23108         [!__ASSUME_32BITUIDS]: Remove conditional code.
23109         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23110         <kernel-features.h>.
23111         [__ASSUME_32BITUIDS]: Make code unconditional.
23112         [!__ASSUME_32BITUIDS]: Remove conditional code.
23113         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23114         <kernel-features.h>.
23115         [__ASSUME_32BITUIDS]: Make code unconditional.
23116         [!__ASSUME_32BITUIDS]: Remove conditional code.
23117         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23118         <kernel-features.h>.
23119         [__ASSUME_32BITUIDS]: Make code unconditional.
23120         [!__ASSUME_32BITUIDS]: Remove conditional code.
23121         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23122         <kernel-features.h>.
23123         [__ASSUME_32BITUIDS]: Make code unconditional.
23124         [!__ASSUME_32BITUIDS]: Remove conditional code.
23125         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23126         <kernel-features.h>.
23127         [__ASSUME_32BITUIDS]: Make code unconditional.
23128         [!__ASSUME_32BITUIDS]: Remove conditional code.
23129         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23130         <kernel-features.h>.
23131         [__ASSUME_32BITUIDS]: Make code unconditional.
23132         [!__ASSUME_32BITUIDS]: Remove conditional code.
23133         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23134         <kernel-features.h>.
23135         [__ASSUME_32BITUIDS]: Make code unconditional.
23136         [!__ASSUME_32BITUIDS]: Remove conditional code.
23137         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23138         <kernel-features.h>.
23139         [__ASSUME_32BITUIDS]: Make code unconditional.
23140         [!__ASSUME_32BITUIDS]: Remove conditional code.
23141         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23142         <kernel-features.h>.
23143         [__ASSUME_32BITUIDS]: Make code unconditional.
23144         [!__ASSUME_32BITUIDS]: Remove conditional code.
23145         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23146         <kernel-features.h>.
23147         [__ASSUME_32BITUIDS]: Make code unconditional.
23148         [!__ASSUME_32BITUIDS]: Remove conditional code.
23149         * sysdeps/unix/sysv/linux/kernel-features.h
23150         (__ASSUME_SETRESUID_SYSCALL): Remove.
23151         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23152         (__ASSUME_32BITUIDS): Likewise.
23153         (__ASSUME_LDT_WORKS): Likewise.
23154         (__ASSUME_O_DIRECTORY): Likewise.
23155         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23156         architecture but not kernel version.
23157         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23158         (__ASSUME_MMAP2_SYSCALL): Likewise.
23159         (__ASSUME_STAT64_SYSCALL): Likewise.
23160         (__ASSUME_IPC64): Likewise.
23161         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23162         <kernel-features.h>.
23163         [__ASSUME_32BITUIDS]: Make code unconditional.
23164         [!__ASSUME_32BITUIDS]: Remove conditional code.
23165         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23166         <kernel-features.h>.
23167         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23168         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23169         132096]: Remove conditional code.
23170         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23171         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23172         <kernel-features.h>.
23173         [__ASSUME_32BITUIDS]: Make code unconditional.
23174         [!__ASSUME_32BITUIDS]: Remove conditional code.
23175         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23176         <kernel-features.h>.
23177         [__ASSUME_32BITUIDS]: Make code unconditional.
23178         [!__ASSUME_32BITUIDS]: Remove conditional code.
23179         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23180         <kernel-features.h>.
23181         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23182         unconditional.
23183         (__setresgid): Do not declare.
23184         [__ASSUME_32BITUIDS]: Make code unconditional.
23185         [!__ASSUME_32BITUIDS]: Remove conditional code.
23186         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23187         <kernel-features.h>.
23188         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23189         unconditional.
23190         (__setresuid): Do not declare.
23191         [__ASSUME_32BITUIDS]: Make code unconditional.
23192         [!__ASSUME_32BITUIDS]: Remove conditional code.
23193         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23194         <kernel-features.h>.
23195         [__ASSUME_32BITUIDS]: Make code unconditional.
23196         [!__ASSUME_32BITUIDS]: Remove conditional code.
23197         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23198         <kernel-features.h>.
23199         [__ASSUME_32BITUIDS]: Make code unconditional.
23200         [!__ASSUME_32BITUIDS]: Remove conditional code.
23202 2012-05-25  Richard Henderson  <rth@twiddle.net>
23204         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23205         dl_hwcap to ifunc resolver.
23206         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23207         elf_ifunc_invoke.
23208         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23209         dl_hwcap to ifunc resolver.
23210         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23212 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23214         [BZ #14153]
23215         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23216         for |x| <= 2**-26, not 2**-57.
23217         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23218         exception.
23220 2012-05-24  Jeff Law  <law@redhat.com>
23222         * stdio-common/Makefile (tests): Add bug25.
23223         * stdio-common/bug25.c: New test.
23225 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23227         [BZ #13576]
23228         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23229         multiple of MALLOC_ALIGNMENT in size.
23230         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23232 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23234         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23235         Require >= 256.
23236         (FILENAME_MAX): Use macro-int-constant.
23237         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23238         (_IOFBF): Use macro-int-constant.
23239         (_IOLBF): Likewise.
23240         (_IONBF): Likewise.
23241         (SEEK_CUR): Likewise.
23242         (SEEK_END): Likewise.
23243         (SEEK_SET): Likewise.
23244         (TMP_MAX): Likewise.
23245         (EOF): Use macro-int-constant.  Require < 0.
23246         (NULL): Use macro-constant.  Require == 0.
23247         (stdin): Require type to be FILE *.
23248         (stdout): Likewise.
23249         (stderr): Likewise.
23250         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23251         macro-int-constant.
23252         (EXIT_SUCCESS): Likewise.
23253         (NULL): Use macro-constant.  Require == 0.
23254         (RAND_MAX): Use macro-int-constant.
23255         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23256         [C99-based standards] (strtof): Require function.
23257         [C99-based standards] (strtold): Likewise.
23258         [C99-based standards] (strtoll): Likewise.
23259         [C99-based standards] (strtoull): Likewise.
23260         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23261         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23262         [ISO || ISO99 || ISO11] (math.h): Likewise.
23263         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23264         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23265         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23267 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23269         [BZ #14132]
23270         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23271         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23272         * intl/dgettext.c (DCGETTEXT): Likewise.
23273         * intl/gettext.c (DCGETTEXT): Likewise.
23274         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23275         * posix/regex_internal.h (gettext): Likewise.
23276         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23277         Remove declaration.
23278         * include/argz.h (__argz_count_internal)
23279         (__argz_stringify_internal): Remove declaration.
23280         (__argz_count, __argz_stringify): Declare hidden proto.
23281         * intl/dcgettext.c: Remove use of INTDEF.
23282         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23283         * string/argz-stringify.c: Likewise.
23284         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23285         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23286         Declare hidden proto.
23287         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23288         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23289         Declare hidden proto.
23290         * include/stdio.h (__asprintf_internal): Don't declare.
23291         (__asprintf): Don't define as macro.  Declare hidden proto.
23292         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23293         (__fsetlocking): Declare hidden proto.
23294         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23295         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23296         hidden proto.
23297         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23298         (_IO_setlinebuf): Remove use of INTUSE.
23299         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23300         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23301         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23302         Remove declaration.
23303         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23304         (_IO_do_flush): Remove use of INTUSE.
23305         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23306         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23307         (_IO_adjust_column, _IO_least_wmarker)
23308         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23309         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23310         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23311         (_IO_default_doallocate, _IO_wdefault_doallocate)
23312         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23313         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23314         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23315         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23316         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23317         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23318         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23319         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23320         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23321         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23322         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23323         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23324         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23325         proto.
23326         (_IO_flush_all_internal, _IO_adjust_column_internal)
23327         (_IO_default_uflow_internal, _IO_default_finish_internal)
23328         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23329         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23330         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23331         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23332         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23333         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23334         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23335         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23336         (_IO_file_close_internal, _IO_file_close_it_internal)
23337         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23338         (_IO_file_init_internal, _IO_file_attach_internal)
23339         (_IO_file_fopen_internal, _IO_file_read_internal)
23340         (_IO_file_sync_internal, _IO_file_seek_internal)
23341         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23342         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23343         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23344         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23345         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23346         (_IO_list_all_internal, _IO_link_in_internal)
23347         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23348         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23349         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23350         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23351         (_IO_do_write_internal, _IO_padn_internal)
23352         (_IO_getline_info_internal, _IO_getline_internal)
23353         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23354         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23355         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23356         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23357         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23358         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23359         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23360         with libc_hidden_ver, remove use of INTUSE.
23361         * libio/genops.c: Likewise.
23362         * libio/freopen.c: Likewise.
23363         * libio/freopen64.c: Likewise.
23364         * libio/iofclose.c: Likewise.
23365         * libio/iofdopen.c: Likewise.
23366         * libio/iofflush.c: Likewise.
23367         * libio/iofflush_u.c: Likewise.
23368         * libio/iofgets.c: Likewise.
23369         * libio/iofgets_u.c: Likewise.
23370         * libio/iofopen.c: Likewise.
23371         * libio/iofopncook.c: Likewise.
23372         * libio/iofread.c: Likewise.
23373         * libio/iofread_u.c: Likewise.
23374         * libio/ioftell.c: Likewise.
23375         * libio/iofwrite.c: Likewise.
23376         * libio/iogetline.c: Likewise.
23377         * libio/iogets.c: Likewise.
23378         * libio/iogetwline.c: Likewise.
23379         * libio/iopadn.c: Likewise.
23380         * libio/iopopen.c: Likewise.
23381         * libio/ioseekoff.c: Likewise.
23382         * libio/ioseekpos.c: Likewise.
23383         * libio/iosetbuffer.c: Likewise.
23384         * libio/iosetvbuf.c: Likewise.
23385         * libio/ioungetc.c: Likewise.
23386         * libio/ioungetwc.c: Likewise.
23387         * libio/iovdprintf.c: Likewise.
23388         * libio/iovsprintf.c: Likewise.
23389         * libio/iovsscanf.c: Likewise.
23390         * libio/memstream.c: Likewise.
23391         * libio/obprintf.c: Likewise.
23392         * libio/oldfileops.c: Likewise.
23393         * libio/oldiofclose.c: Likewise.
23394         * libio/oldiofdopen.c: Likewise.
23395         * libio/oldiofopen.c: Likewise.
23396         * libio/oldiopopen.c: Likewise.
23397         * libio/oldstdfiles.c: Likewise.
23398         * libio/putc.c: Likewise.
23399         * libio/setbuf.c: Likewise.
23400         * libio/setlinebuf.c: Likewise.
23401         * libio/stdfiles.c: Likewise.
23402         * libio/strops.c: Likewise.
23403         * libio/vasprintf.c: Likewise.
23404         * libio/vscanf.c: Likewise.
23405         * libio/vsnprintf.c: Likewise.
23406         * libio/vswprintf.c: Likewise.
23407         * libio/wfiledoalloc.c: Likewise.
23408         * libio/wfileops.c: Likewise.
23409         * libio/wgenops.c: Likewise.
23410         * libio/wmemstream.c: Likewise.
23411         * libio/wstrops.c: Likewise.
23412         * libio/__fpurge.c: Likewise.
23413         * libio/__fsetlocking.c: Likewise.
23414         * assert/assert.c: Likewise.
23415         * debug/fgets_chk.c: Likewise.
23416         * debug/fgets_u_chk.c: Likewise.
23417         * debug/fread_chk.c: Likewise.
23418         * debug/fread_u_chk.c: Likewise.
23419         * debug/gets_chk.c: Likewise.
23420         * debug/obprintf_chk.c: Likewise.
23421         * debug/vasprintf_chk.c: Likewise.
23422         * debug/vdprintf_chk.c: Likewise.
23423         * debug/vsnprintf_chk.c: Likewise.
23424         * debug/vsprintf_chk.c: Likewise.
23425         * malloc/mtrace.c: Likewise.
23426         * misc/error.c: Likewise.
23427         * misc/syslog.c: Likewise.
23428         * stdio-common/asprintf.c: Likewise.
23429         * stdio-common/fxprintf.c: Likewise.
23430         * stdio-common/getw.c: Likewise.
23431         * stdio-common/isoc99_fscanf.c: Likewise.
23432         * stdio-common/isoc99_scanf.c: Likewise.
23433         * stdio-common/isoc99_vfscanf.c: Likewise.
23434         * stdio-common/isoc99_vscanf.c: Likewise.
23435         * stdio-common/isoc99_vsscanf.c: Likewise.
23436         * stdio-common/printf-prs.c: Likewise.
23437         * stdio-common/printf_fp.c: Likewise.
23438         * stdio-common/printf_fphex.c: Likewise.
23439         * stdio-common/printf_size.c: Likewise.
23440         * stdio-common/putw.c: Likewise.
23441         * stdio-common/scanf.c: Likewise.
23442         * stdio-common/sprintf.c: Likewise.
23443         * stdio-common/tmpfile.c: Likewise.
23444         * stdio-common/vfprintf.c: Likewise.
23445         * stdio-common/vfscanf.c: Likewise.
23446         * stdlib/strfmon_l.c: Likewise.
23447         * sunrpc/openchild.c: Likewise.
23448         * sunrpc/xdr_stdio.c: Likewise.
23449         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23450         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23452 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23454         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23456         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23457         in the third column, to generate for the shared library an IFUNC
23458         that uses _dl_vdso_vsym.
23459         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23460         * Makeconfig (object-suffixes-noshared): New variable.
23462         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23463         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23464         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23465         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23467         [BZ #14132]
23468         * include/sys/time.h (__gettimeofday): Remove macro.
23469         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23470         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23471         Remove INTDEF.
23472         (__gettimeofday): Add libc_hidden_def.
23473         (gettimeofday): Add libc_hidden_weak.
23474         * sysdeps/mach/gettimeofday.c: Likewise.
23475         * sysdeps/posix/gettimeofday.c: Likewise.
23476         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23477         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23478         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23479         (__gettimeofday_internal): Remove strong_alias.
23480         (__gettimeofday): Add libc_hidden_def.
23481         (gettimeofday): Add libc_hidden_weak.
23482         * sysdeps/unix/syscalls.list (gettimeofday):
23483         Remove __gettimeofday_internal alias.
23485 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23486             H.J. Lu  <hongjiu.lu@intel.com>
23488         [BZ #12495]
23489         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23490         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23491         (largebin_index_32_big): New.
23492         (largebin_index): Use it for 16-byte alignment.
23493         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23494         correction with front_misalign.
23496 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23499         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23500         Likewise.
23501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23502         Likewise.
23503         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23504         Likewise.
23505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23506         Likewise.
23507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23508         Likewise.
23509         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23510         Likewise.
23511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23512         Likewise.
23513         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23514         Likewise.
23515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23516         Likewise.
23517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23518         Likewise.
23519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23520         Likewise.
23521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23522         Likewise.
23524         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23525         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23527 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23529         [BZ #10846]
23530         [BZ #14036]
23531         * math/libm-test.inc (exp_test): Add test from bug 14036.
23532         (pow_test): Add test from bug 10846.
23534         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23535         and other flags.
23536         (special_function): Do not include flags in test name.
23537         (parse_args): Likewise.
23538         * sysdeps/i386/fpu/libm-test-ulps: Update.
23539         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23540         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23541         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23544         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23545         exceptions.
23546         * math/libm-test.inc ("Philosophy"): Update comment about
23547         exception testing.
23548         (UNDERFLOW_EXCEPTION): New macro.
23549         (UNDERFLOW_EXCEPTION_OK): Likewise.
23550         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23551         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23552         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23553         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23554         (INVALID_EXCEPTION_OK): Update value.
23555         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23556         (OVERFLOW_EXCEPTION_OK): Likewise.
23557         (IGNORE_ZERO_INF_SIGN): Likewise.
23558         (test_exceptions): Handle underflow exceptions.
23559         (acos_test): Update for underflow exception expectations.
23560         (cexp_test): Likewise.
23561         (clog_test): Likewise.
23562         (clog10_test): Likewise.
23563         (csqrt_test): Likewise.
23564         (ctan_test): Likewise.
23565         (ctanh_test): Likewise.
23566         (exp_test): Likewise.
23567         (exp10_test): Likewise.
23568         (exp2_test): Likewise.
23569         (expm1_test): Likewise.
23570         (fma_test): Likewise.
23571         (j0_test): Likewise.
23572         (jn_test): Likewise.
23573         (nexttoward_test): Likewise.
23574         (pow_test): Likewise.
23575         (scalbn_test): Likewise.
23576         (scalbln_test): Likewise.
23577         (tan_test): Likewise.
23578         (y1_test): Likewise.
23579         * sysdeps/i386/fpu/libm-test-ulps: Update.
23580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23582 2012-05-23  David S. Miller  <davem@davemloft.net>
23584         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23585         (__libc_sigaction): Remove unused local variables.
23587 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23589         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23591 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23593         mktime: avoid signed integer overflow
23594         * time/mktime.c (__mktime_internal): Do not mishandle the case
23595         where diff == INT_MIN.
23597         mktime: simplify computation of average
23598         * time/mktime.c (ranged_convert): Use new time_t_avg function
23599         instead of rolling our own (probably-slower) code.
23601         mktime: do not assume signed right shift propagates sign bit
23602         * time/mktime.c (isdst_differ): New static function.
23603         (__mktime_internal): No need to normalize tm_isdst now.
23604         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23605         tm_isdst values.
23607         mktime: merge another wrapv change from gnulib
23608         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23609         from some compilers.
23611         mktime: remove incorrect attempt at unusual arithmetics
23612         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23613         The code didn't really work on such machines anyway.
23614         (TYPE_MINIMUM): Assume two's complement.
23615         (twos_complement_arithmetic): Verify that long_int and time_t
23616         are two's complement (or unsigned, in the latter case).
23618         mktime: check signed shifts on long_int and time_t, too
23619         * time/mktime.c (SHR): Check that shifts work as desired
23620         on the types long_int and time_t too, as SHR is used on
23621         such types.
23623         mktime: do not assume 'long' is wide enough
23624         * time/mktime.c (verify): Move decl up.
23625         (long_int): New type.
23626         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23627         to remove assumption in the code that 'long' is wide enough to
23628         store year values.  This assumption is not true on x32 and on
23629         some non-glibc platforms.
23631         mktime: merge wrapv change from gnulib
23632         * time/mktime.c (WRAPV): New macro.
23633         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23634         (guess_time_tm, __mktime_internal): Do not assume that signed
23635         integer overflow wraps around; modern compilers generate code
23636         where this assumption is no longer valid.
23638 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23640         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23641         Replace "jmp L(pseudo_end)" with "ret".
23642         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23643         Likewise.
23645 2012-05-23  Andreas Jaeger  <aj@suse.de>
23647         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23648         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23650 2012-05-23  Andreas Jaeger  <aj@suse.de>
23651             Maximilian Attems  <max@stro.at>
23653         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23654         New macros.
23656 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23658         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23659         code so that pseudo_end is just ret and the stack pointer is
23660         correct also for static library in error case.
23662 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23664         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23665         move to syscalls.list.
23666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23671         * manual/install.texi (Running make install): Do not mention Linux
23672         kernel version for which pt_chown is not needed.
23673         (Linux): Do not mention problems with nscd with 2.0 kernels.
23674         * INSTALL: Regenerated.
23676 2012-05-23  Andreas Jaeger  <aj@suse.de>
23678         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23679         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23680         macro.
23681         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23682         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23683         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23684         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23685         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23686         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23687         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23688         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23689         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23690         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23691         * sysdeps/unix/sysv/linux/bits/in.h
23692         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23694 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23696         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23697         (PREPARE_VERSION): Just use assert instead, it will be elided
23698         under [NDEBUG] anyway.
23700 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23702         * sysdeps/unix/sysv/linux/Makefile: Include
23703         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23704         (sysdep_routines): Remove sysctl.
23705         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23706         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23707         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23708         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23709         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23711 2012-05-22  Andreas Jaeger  <aj@suse.de>
23713         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23714         that pseudo_end is just ret and the stack pointer is correct also
23715         for static library in error case.
23717 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23719         [BZ #14122]
23720         * nss/nsswitch.c (defconfig_entries): New variable.
23721         (__nss_database_lookup): Don't leak defconfig entries.
23722         (nss_parse_service_list): Don't leak on error paths.
23723         (free_database_entries): New function.
23724         (free_defconfig): New function.
23725         (free_mem): Move common code to free_database_entries.
23727 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23729         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23730         Add arch_prctl.
23731         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23733         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23734         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23735         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23736         New macro.
23737         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23738         (INTERNAL_SYSCALL_TYPES): Likewise.
23739         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23740         (LOAD_REGS_TYPES_[1-6]): Likewise.
23741         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23742         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23744 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23746         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23747         copysignl for GLIBC_2_0.
23748         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23749         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23751         logbl for GLIBC_2_0.
23752         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23753         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23755 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23757         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23758         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23760         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23761         Use "neg %eax".
23763         * time/mktime.c: Update copyright years.
23765 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23767         mktime: merge comment-quoting-style change from gnulib
23768         * time/mktime.c: Quote 'like this' in comments.
23769         The GNU coding standards suggest that we no longer quote `like this',
23770         as "`" and "'" are typically rendered asymmetrically nowadays.
23771         The typical gnulib style is to quote 'like this' when quoting
23772         code, and "like this" when quoting English.
23774         * time/mktime.c (compile-command): Add "-I.".
23776         mktime: merge mktime-internal.h change from gnulib
23777         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23779         mktime: merge time_r change from gnulib
23780         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23782         mktime: merge DEBUG change from gnulib
23783         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23784         case system <time.h> has a #define.
23786         mktime: merge <sys/types.h> change from gnulib
23787         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23788         since <time.t> is now guaranteed to define time_t.
23790         mktime: merge HAVE_CONFIG_H change from gnulib
23791         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23793 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23795         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23796         Use "neg %eax".
23798         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23799         __rlim_t cast.
23800         (struct rusage): Use anonymous union to pad each field to
23801         __syscall_slong_t.
23803 2012-05-21  David S. Miller  <davem@davemloft.net>
23805         * Makefules (o-iterator): Remove .s cases.
23806         (compile-command.s): Delete.
23807         (COMPILE.s): Delete.
23808         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23810 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23812         * configure.in (libc_cv_predef_stack_protector): Only consider
23813         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23814         * configure: Regenerated.
23816 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23818         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23819         New macro.  Use R*LP on int and pointer.
23820         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23821         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23822         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23823         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23825         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23826         [__WORDSIZE_TIME64_COMPAT32] instead of
23827         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23828         (struct utmp): Likewise.
23829         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23830         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23831         Renamed to ...
23832         (__WORDSIZE_TIME64_COMPAT32): This.
23833         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23834         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23835         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23836         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23837         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23838         (__WORDSIZE_TIME64_COMPAT32): New macro.
23840 2012-05-21  Andreas Jaeger  <aj@suse.de>
23842         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23843         only if [SHARED]. Add prototype for __wcschr_ia32.
23845 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23847         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23848         of %rbp unmolested in the jmp_buf while mangling the low bits.
23849         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23850         unmolested high bits of %rbp while demangling the low bits.
23851         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23853 2012-05-21  Andreas Jaeger  <aj@suse.de>
23855         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23856         * sunrpc/svc_simple.c: Use it for registerrpc.
23857         * sunrpc/xcrypt.c: Use it for passwd2des.
23859         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23861 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23863         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23864         Don't define if [__SYSCALL_WORDSIZE != 32].
23865         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23866         New macro.
23868 2012-05-21  Bruno Haible  <bruno@clisp.org>
23869             Andreas Jaeger  <aj@suse.de>
23871         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23872         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23873         inptr and inend for must_buffer_ch.
23874         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23875         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23876         * stdio-common/Makefile (tests): Remove bug15.
23877         (bug15-ENV): Remove macro.
23878         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23879         anymore.
23881 2012-05-19  Andreas Jaeger  <aj@suse.de>
23882             Roland McGrath  <roland@hack.frob.com>
23884         * manual/contrib.texi: Completely rewritten. It contains now an
23885         alphabetical list of contributors and their contributions.
23887 2012-05-21  Richard Henderson  <rth@twiddle.net>
23889         * misc/getauxval.c (__getauxval): Use unsigned long int.
23890         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23891         (getauxval): Use unsigned long int.
23893 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23895         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23897 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23899         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23900         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23901         __alignof__ (long double).
23903 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23907 2012-05-20  Richard Henderson  <rth@twiddle.net>
23909         * misc/getauxval.c: New file.
23910         * misc/sys/auxv.h: New file.
23911         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23912         (routines): Add getauxval.
23913         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23914         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23915         * elf/dl-sysdep.c (_dl_auxv): Remove.
23916         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23917         * elf/dl-support.c (_dl_auxv): New variable.
23918         (_dl_aux_init): Initialize it.
23919         * manual/startup.texi (Auxiliary Vector): New node.
23920         * sysdeps/generic/bits/hwcap.h: New file.
23921         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23922         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23923         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23924         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23925         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23926         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23928         Update.
23929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23932         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23938 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23942 2012-05-19  David S. Miller  <davem@davemloft.net>
23944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23946 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23948         [BZ #14123]
23949         * math/s_ccosh.c: Include <float.h>
23950         (__ccosh): Avoid internal overflow calculating sinh and cosh
23951         values before multiplying by sin and cos values.
23952         * math/s_ccoshf.c: Likewise.
23953         * math/s_ccoshl.c: Likewise.
23954         * math/s_csin.c: Likewise.
23955         * math/s_csinf.c: Likewise.
23956         * math/s_csinl.c: Likewise.
23957         * math/s_csinh.c: Likewise.
23958         * math/s_csinhf.c: Likewise.
23959         * math/s_csinhl.c: Likewise.
23960         * math/libm-test.inc (ccos_test): Add more tests.
23961         (ccosh_test): Likewise.
23962         (csin_test): Likewise.
23963         (csinh_test): Likewise.
23964         * sysdeps/i386/fpu/libm-test-ulps: Update.
23965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23967 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23969         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23970         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23972         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23974 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23976         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23977         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23978         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23979         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23980         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23981         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23982         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23983         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23984         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23985         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23986         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23987         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23988         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23989         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23990         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23991         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23992         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23993         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23994         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23995         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23996         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23997         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23998         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23999         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24000         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24001         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24002         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24003         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24004         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24005         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24006         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24008 2012-05-18  Andreas Jaeger  <aj@suse.de>
24010         * csu/.gitignore: Delete.
24012 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24014         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24015         (timex): Use __syscall_slong_t.
24017 2012-05-18  Andreas Jaeger  <aj@suse.de>
24018             Carlos O'Donell  <carlos_odonell@mentor.com>
24020         * manual/install.texi (Configuring and compiling): Update
24021         description about files modified in the source directory.
24022         * INSTALL: Regenerated.
24024 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24026         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24027         value.  Use "or" to set return value to -1.
24028         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24029         negate return value.
24031 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24033         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24034         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24035         failure if the compiler has Graphite support disabled.
24036         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24037         Likewise.
24038         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24039         CFLAGS-memmove.c): Likewise.
24040         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24041         Likewise.
24043 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24045         * sysdeps/x86_64/x32/_itoa.h: New file.
24047         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24048         getdents system call only if kernel and user dirents have the
24049         same d_ino and d_off.
24051         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24052         LLONG_MAX != LONG_MAX.
24053         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24054         (_fitoa_word): Likewise.
24056         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24057         years.
24058         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24059         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24060         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24062         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24063         include <bits/wordsize.h>.  Check __x86_64__ instead of
24064         __WORDSIZE.
24065         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24066         if __x86_64__ is defined.  Use anonymous union on fpstate.
24068         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24069         anonymous union.
24071 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24073         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24074         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24075         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24076         Refer to _rtld_local_ro instead of _rtld_global_ro.
24077         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24078         Likewise.
24079         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24080         Likewise.
24081         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24082         Likewise.
24083         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24084         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24085         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24087         * sysdeps/powerpc/powerpc32/dl-machine.c
24088         (__elf_machine_runtime_setup) [PROF]: Don't reference
24089         _dl_prof_resolve.
24091 2012-05-18  Andreas Jaeger  <aj@suse.de>
24093         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24094         function only available for GCCs before 3.4 since GCC 3.4
24095         introduced a builtin.
24096         (lrint): Likewise.
24097         (llrintf): Likewise.
24098         (llrint): Likewise.
24099         (fmaxf): Likewise.
24100         (fmax): Likewise.
24101         (fminf): Likewise.
24102         (fmin): Likewise.
24103         (rint): Likewise.
24104         (rintf): Likewise.
24105         (nearbyint): Likewise.
24106         (nearbyintf): Likewise.
24107         (ceil): Likewise.
24108         (ceilf): Likewise.
24109         (floor): Likewise.
24110         (floorf): Likewise.
24112 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24114         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24115         on both fields and cast pointer to __syscall_ulong_t.
24117         * bits/types.h (__fsword_t): New type.
24118         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24119         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24120         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24121         (__FSWORD_T_TYPE): Likewise.
24122         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24123         (__FSWORD_T_TYPE): Likewise.
24124         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24125         (__FSWORD_T_TYPE): Likewise.
24126         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24127         (__FSWORD_T_TYPE): Likewise.
24128         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24129         __SWORD_TYPE with __fsword_t.
24130         (statfs64): Likewise.
24132 2012-05-17  David S. Miller  <davem@davemloft.net>
24134         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24136 2012-05-17  Andreas Jaeger  <aj@suse.de>
24138         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24139         warning.
24141 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24143         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24145 2012-05-17  Andreas Jaeger  <aj@suse.de>
24147         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24148         when it is used.
24150 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24152         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24154 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24156         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24157         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24159 2012-05-17  Andreas Jaeger  <aj@suse.de>
24160             Carlos O'Donell  <carlos_odonell@mentor.com>
24162         [BZ #14059]
24163         * sysdeps/x86_64/multiarch/init-arch.h
24164         (bit_YMM_Usable): Rename to...
24165         (bit_AVX_Usable): ... this.
24166         (bit_FMA4_Usable): New macro.
24167         (bit_XMM_state): New macro.
24168         (bit_YMM_state): New macro.
24169         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24170         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24171         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24172         (CPUID_OSXSAVE): New macro.
24173         (CPUID_AVX): New macro.
24174         (CPUID_FMA4): New macro.
24175         (index_YMM_Usable): Rename to...
24176         (index_AVX_Usable): ... this.
24177         (HAS_AVX): Use HAS_ARCH_FEATURE.
24178         (HAS_FMA4): Likewise.
24179         (HAS_YMM_USABLE): Remove.
24180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24181         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24182         are present.
24183         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24184         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24185         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24186         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24187         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24189 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24191         * math/libm-test.c: Support platforms without multiple rounding modes.
24192         * math/bug-nextafter.c: Support platforms without FP exceptions.
24193         * math/bug-nexttoward.c: Likewise.
24194         * math/test-fenv.c: Likewise.
24195         * math/test-misc.c: Likewise.
24196         * stdlib/bug-getcontext.c: Likewise.
24198 2012-05-17  Andreas Jaeger  <aj@suse.de>
24200         * manual/examples/search.c (critter_cmp): Change signature to
24201         avoid warnings.
24202         * manual/string.texi (Collation Functions): Likewise.
24204 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24206         * bits/types.h: Fold copyright years.
24207         * bits/typesizes.h: Likewise.
24208         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24209         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24210         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24211         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24212         * time/time.h: Likewise.
24214 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24216         [BZ #208]
24217         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24218         in instead of returning them.  Return void.
24219         (__libc_mallinfo): Accumulate over all arenas.
24220         (__malloc_stats): Adjust for change in int_mallinfo interface.
24222 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24224         [BZ #10375]
24225         * configure.in (NM): Add AC_CHECK_TOOL for it.
24226         (libc_extra_cflags): New substituted variable.
24227         Check for -fstack-protector being used implicitly.
24228         * configure: Regenerated.
24229         * config.make.in (config-extra-cflags): New variable,
24230         gets @libc_extra_cflags@.
24231         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24233         [BZ #10375]
24234         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24235         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24236         * configure: Regenerated.
24237         * config.make.in (CPPUNDEFS): New substituted variable.
24238         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24239         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24240         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24242 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24244         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24245         (mq_attr): Use __syscall_slong_t.
24247 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24249         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24250         Check __x86_64__ instead of __WORDSIZE.
24251         (_STAT_VER_LINUX): Likewise.
24252         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24253         __syscall_ulong_t and __syscall_slong_t.
24254         (stat64): Likewise.
24256 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24258         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24260 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24262         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24264 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24266         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24267         __syscall_ulong_t.
24269         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24270         include <bits/wordsize.h>.  Check __x86_64__ instead of
24271         __WORDSIZE.
24272         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24273         defined.
24274         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24276         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24277         include <bits/wordsize.h>.  Check __x86_64__ instead of
24278         __WORDSIZE.
24279         (user_regs_struct): Use "__extension__ unsigned long long"
24280         instead of "unsigned long" if __x86_64__ is defined.
24281         (user): Likewise.  Pad after pointer field if __ILP32__ is
24282         defined.
24284 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24286         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24287         versions 5 to 9.
24288         * configure: Regenerated.
24289         * manual/install.texi (texinfo): Increase version requirement to
24290         4.5 or later.
24291         * INSTALL: Regenerated.
24293         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24295 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24297         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24299         * sysdeps/x86_64/x32/ffs.c: New file.
24301         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24302         __syscall_ulong_t.
24303         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24304         defined.  Use __syscall_ulong_t.
24305         (shminfo): Use __syscall_ulong_t.
24306         (shm_info): Likewise.
24308         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24309         __syscall_ulong_t.
24311         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24312         <bits/wordsize.h>.
24313         (msgqnum_t): Use __syscall_ulong_t.
24314         (msglen_t): Likewise.
24315         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24316         __syscall_ulong_t.
24318         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24319         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24321         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24323         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24324         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24326         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24327         __syscall_slong_t.
24329         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24330         include <bits/wordsize.h>.  Check __x86_64__ instead of
24331         __WORDSIZE.
24333         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24334         "unsigned long long int" if __x86_64__ is defined.
24335         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24337         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24338         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24339         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24341         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24342         <stdint.h>.
24343         (GET_PC): Cast to uintptr_t first.
24344         (GET_FRAME): Likewise.
24345         (GET_STACK): Likewise.
24347         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24348         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24349         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24350         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24351         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24352         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24353         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24354         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24355         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24356         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24357         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24358         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24359         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24360         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24361         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24362         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24363         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24364         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24365         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24366         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24367         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24368         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24369         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24370         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24371         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24372         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24373         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24374         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24375         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24377 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24379         * Makerules (+depfiles): Also collect depfiles from .oS in
24380         $(extra-objs).
24381         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24382         .oS, $(libnldbl-routines)).
24384         * Makerules (native-compile-mkdep-flags): Define.
24385         * sunrpc/Makefile (extra-objs): Add $(addprefix
24386         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24387         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24388         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24389         calling $(make-target-directory).
24391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24393         * bits/types.h (__snseconds_t): Removed.
24394         * time/time.h (struct timespec): Replace __snseconds_t with
24395         __syscall_slong_t.
24396         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24397         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24398         Likewise.
24399         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24400         (__SNSECONDS_T_TYPE): Likewise.
24401         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24402         (__SNSECONDS_T_TYPE): Likewise.
24403         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24404         (__SNSECONDS_T_TYPE): Likewise.
24406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24408         * sysdeps/mach/hurd/bits/typesizes.h
24409         (__SYSCALL_SLONG_TYPE): New macro.
24410         (__SYSCALL_ULONG_TYPE): Likewise.
24412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24414         * bits/types.h (__syscall_slong_t): New type.
24415         (__syscall_ulong_t): Likewise.
24417         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24418         (__SYSCALL_ULONG_TYPE): Likewise.
24419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24420         (__SYSCALL_SLONG_TYPE): Likewise.
24421         (__SYSCALL_ULONG_TYPE): Likewise.
24422         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24423         (__SYSCALL_SLONG_TYPE): Likewise.
24424         (__SYSCALL_ULONG_TYPE): Likewise.
24425         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24426         (__SYSCALL_SLONG_TYPE): Likewise.
24427         (__SYSCALL_ULONG_TYPE): Likewise.
24429 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24431         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24432         Add sigaltstack-offsets.sym.
24433         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24434         <sigaltstack-offsets.h>.
24435         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24436         longjmp_msg pointer.
24437         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24438         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24439         signal stack.
24440         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24442 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24444         * elf/stackguard-macros.h: Remove file.
24445         * sysdeps/generic/stackguard-macros.h: New file.
24446         * sysdeps/i386/stackguard-macros.h: Likewise.
24447         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24448         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24449         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24450         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24451         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24452         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24453         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24454         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24455         <elf/stackguard-macros.h>.
24457         [BZ #14109]
24458         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24459         __aligned__ in attribute.
24460         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24461         (gregset_t): Likewise.
24463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24465         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24466         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24467         * sysdeps/x86_64/x32/Implies-after: New file.
24469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24471         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24472         and access return value for _dl_profile_fixup.  Use R10_LP to
24473         load frame size.
24475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24477         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24481         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24482         * sysdeps/x86_64/x32/sysdep.h: New file.
24484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24486         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24487         * sysdeps/x86_64/setjmp.S: Likewise.
24489 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24491         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24492         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24493         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24494         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24495         remove unused global constant.
24497 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24499         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24500         include of <not-cancel.h>.
24502 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24504         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24506 2012-05-15  Jeff Law  <law@redhat.com>
24507             Andreas Jaeger  <aj@suse.de>
24509         [BZ #13594]
24510         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24511         out from...
24512         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24513         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24514         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24515         code changing __hst_map_handle.map.
24517 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24519         * configure.in (sysnames): Look for Implies-before and Implies-after
24520         files.
24521         * configure: Regenerated.
24523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24525         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24526         8-byte data alignment with LP_SIZE alignment.
24528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24530         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24531         into R10_LP.
24533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24535         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24539         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24540         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24541         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24542         Likewise.
24543         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24547         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24548         (stackinfo_sub_sp): Likewise.
24550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24552         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24553         RAX_LP.
24555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24557         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24558         into R*_LP.
24560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24562         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24563         sizes into R*_LP.
24565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24567         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24569 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24571         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24572         into R11_LP and load __x86_64_shared_cache_size_half into
24573         R8_LP.
24575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24577         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24578         R8_LP.
24580 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24582         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24583         logb for POWER7.
24584         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24585         logbf for POWER7.
24586         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24587         logbl for POWER7.
24588         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24589         powerpc32/power7/fpu/s_logb.c via #include.
24590         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24591         powerpc32/power7/fpu/s_logbf.c via #include.
24592         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24593         powerpc32/power7/fpu/s_logbl.c via #include.
24595 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24597         * README.libm: Remove file.
24599 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24601         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24602         count for x32.  Use R*_LP and omit operand-size suffix.
24604 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24606         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24607         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24608         * sysdeps/x86_64/x32/shlib-versions: New file.
24610 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24612         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24613         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24614         Use _dl_fatal_printf instead.
24616 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24618         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24619         set if not set by the user.  Do not allow for being unset.
24620         * sysdeps/unix/sysv/linux/configure: Regenerated.
24622 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24624         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24625         the `q' suffix from lea and replace .quad with ASM_ADDR.
24627 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24629         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24630         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24631         instead of $17.
24632         (PTR_DEMANGLE): Likewise.
24634 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24636         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24637         (LP_OP): Likewise.
24638         (ASM_ADDR): Likewise.
24639         (RAX_LP): Likewise.
24640         (RBP_LP): Likewise.
24641         (RBX_LP): Likewise.
24642         (RCX_LP): Likewise.
24643         (RDI_LP): Likewise.
24644         (RSI_LP): Likewise.
24645         (RSP_LP): Likewise.
24646         (R8_LP): Likewise.
24647         (R9_LP): Likewise.
24648         (R10_LP): Likewise.
24649         (R10_LP): Likewise.
24650         (R11_LP): Likewise.
24651         (R12_LP): Likewise.
24652         (R13_LP): Likewise.
24653         (R14_LP): Likewise.
24654         (R15_LP): Likewise.
24656 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24658         * sysdeps/x86_64/x32/dl-machine.h: New file.
24660 2012-05-14  Andreas Jaeger  <aj@suse.de>
24662         * manual/Makefile (subdir): Remove export of subdir.
24663         (all): Remove target.
24664         (.PHONY): Remove all from list.
24665         (mkinstalldirs): Remove.
24666         (.PHONY): Remove installdirs from list.
24667         ($(inst_infodir)/libc.info): Use make-target-directory.
24668         (installdirs): Remove.
24669         (subdir_%): Remove.
24670         (glibc-targets): Remove.
24671         (lib): Remove.
24672         (stubs): Remove.
24673         ($(objpfx)stubs ../po/manual.pot): Remove.
24674         ($(objpfx)stamp%): Remove.
24675         (make-target-directory): Remove.
24676         (subdir_install): Remove.
24677         (routines): Remove.
24678         (aux): Remove.
24679         (sources): Remove.
24680         (objects): Remove.
24681         (headers): Remove.
24683         [BZ #13750]
24684         * manual/.gitignore: Remove, it's not needed anymore.
24685         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24686         all files in it.
24687         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24688         directory.
24689         (texis): Renamed to $(objpfx)texis.
24690         (texis-path): New, contains path to generated files.
24691         (chapters.%): Use texis-path for complete path, add extra argument
24692         libc-texinfo.sh.
24693         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24694         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24695         (summary,texi, stamp-summary): Use complete path of
24696         files. Generate files in build dir.
24697         (dir-add.texi): Build in build dir.
24698         (libm-err.texi,stamp-libm-err): Likewise.
24699         (version.texi, stamp-version): Likewise.
24700         (.%c.texi): Likewise.
24701         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24702         (mostlyclean): Remove target.
24703         (realclean): Remove target.
24704         (generated): Add new variable with contents from mostlyclean and
24705         realclean, remove entries duplicated in common-mostlyclean, add
24706         stamp-libm-err and stamp-version.
24707         (generated-dirs): Add libc directory.
24708         ($(inst_infodir)/libc.info): Install files from build dir.
24710         * manual/install.texi (Configuring and compiling): Adjust since
24711         the info files are not part of the tar ball anymore.
24713 2012-05-14  Andreas Jaeger  <aj@suse.de>
24715         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24716         variable.
24718 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24720         [BZ #13717]
24721         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24722         to 2.2.0 where earlier.
24723         * sysdeps/unix/sysv/linux/configure: Regenerated.
24724         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24725         Remove conditional code.
24726         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24727         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24728         Remove conditional code.
24729         [!__NR_lchown]: Likewise.
24730         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24731         [__NR_lchown]: Likewise.
24732         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24733         comment referencing __ASSUME_LCHOWN_SYSCALL.
24734         * sysdeps/unix/sysv/linux/i386/sigaction.c
24735         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24736         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24737         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24738         Remove conditional code.
24739         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24740         (__protocol_available): Remove #if 0 code.
24741         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24742         conditional code.
24743         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24744         * sysdeps/unix/sysv/linux/kernel-features.h
24745         (__ASSUME_GETCWD_SYSCALL): Don't define.
24746         (__ASSUME_REALTIME_SIGNALS): Likewise.
24747         (__ASSUME_PREAD_SYSCALL): Likewise.
24748         (__ASSUME_PWRITE_SYSCALL): Likewise.
24749         (__ASSUME_POLL_SYSCALL): Likewise.
24750         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24751         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24752         non-SPARC.
24753         (__ASSUME_SIOCGIFNAME): Don't define.
24754         (__ASSUME_MSG_NOSIGNAL): Likewise.
24755         (__ASSUME_SENDFILE): Define unconditionally.
24756         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24757         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24758         conditional code.
24759         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24760         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24761         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24762         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24763         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24764         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24765         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24767         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24768         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24770         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24771         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24773         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24774         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24776         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24777         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24779         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24780         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24782         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24783         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24785         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24786         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24788         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24789         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24790         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24791         Remove conditional code.
24792         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24793         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24794         Remove conditional code.
24795         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24796         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24797         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24798         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24799         Remove conditional code.
24800         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24801         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24802         Remove conditional code.
24803         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24804         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24805         Remove conditional code.
24806         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24807         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24808         Remove conditional code.
24809         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24810         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24811         Remove conditional code.
24812         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24813         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24814         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24815         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24816         * sysdeps/unix/sysv/linux/sigaction.c
24817         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24818         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24819         * sysdeps/unix/sysv/linux/sigpending.c
24820         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24821         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24822         * sysdeps/unix/sysv/linux/sigprocmask.c
24823         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24824         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24825         * sysdeps/unix/sysv/linux/sigsuspend.c
24826         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24827         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24828         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24829         (__libc_missing_rt_sigs): Remove.
24830         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24831         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24832         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24833         Remove conditional code.
24834         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24835         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24836         return 1.
24837         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24838         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24839         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24840         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24842 2012-05-14  Andreas Jaeger  <aj@suse.de>
24844         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24845         it's not used in glibc.
24846         (__coshm1): Likewise.
24847         (__acosh1p): Likewise.
24848         (__sgn): Likewise.
24850         * manual/string.texi (Copying and Concatenation): Add missing
24851         variable in concat example.
24852         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24854 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24856         [BZ #14103]
24857         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24858         __builtin_clzl with __builtin_clzll.
24860 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24862         [BZ #14104]
24863         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24864         libc_freeres_ptr.
24866 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24868         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24869         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24870         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24871         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24873 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24875         * NEWS: Update ia64 info.
24877 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24879         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24880         used as bcopy.
24882 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24884         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24885         * sysdeps/unix/syscalls.list (dup3): Likewise.
24886         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24887         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24889 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24891         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24892         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24894 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24896         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24897         thread pointer.
24898         (TLS_IE): Use mov/add instead of movq/addq to load thread
24899         pointer.
24900         (TLS_GD_PREFIX): New.
24901         (TLS_GD): Use it.
24903 2012-05-11  David S. Miller  <davem@davemloft.net>
24905         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24906         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24907         (_FPU_SETCW): Likewise.
24909 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24911         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24912         is 32-byte aligned.
24914 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24916         [BZ #11837]
24917         * iconvdata/gb18030.c: Update tables.
24918         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24919         characters specially.
24920         (BODY for TO_LOOP): Add encoding of missing ranges.
24922 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24924         [BZ #13673]
24925         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24926         * sysdeps/mach/hurd/dup3.c: Likewise.
24927         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24928         * sysdeps/powerpc/memmove.c:: Likewise.
24930 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24932         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24933         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24935 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24937         * elf/elf.h (R_X86_64_RELATIVE64): New.
24938         (R_X86_64_NUM): Updated.
24939         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24940         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24941         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24942         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24943         tst-quad1pie tst-quad2pie
24944         (modules-names): Add tst-quadmod1 tst-quadmod2.
24945         ($(objpfx)tst-quad1): New dependency.
24946         ($(objpfx)tst-quad2): Likewise.
24947         ($(objpfx)tst-quad1pie): Likewise.
24948         ($(objpfx)tst-quad2pie): Likewise.
24949         * sysdeps/x86_64/tst-quad1.c: New file.
24950         * sysdeps/x86_64/tst-quad1pie.c: New file.
24951         * sysdeps/x86_64/tst-quad2.c: Likewise.
24952         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24953         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24954         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24955         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24956         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24960         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24961         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24962         * streams/stropts.h (t_scalar_t): Define type.
24964         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24965         (_PATH_PRESERVE): Set to "/var/lib".
24966         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24968         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24969         instead of int.
24971         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24972         if __dir_mkfile succeeded.
24974         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24975         checking for _hurd_dtablesize.  Unlock it right after having
24976         finished _hurd_dtable allocation.
24978 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24980         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24981         * sysdeps/mach/hurd/configure: Regenerated.
24982         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24983         special-casing to...
24984         * sysdeps/gnu/configure.in: ... this new file.
24985         * sysdeps/unix/sysv/linux/configure: Regenerated.
24986         * sysdeps/gnu/configure: New generated file.
24988         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24989         for Linux: use nsec instead of usec, as well as:
24990         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24991         members of type struct timespec.
24992         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24993         New macros.
24994         (struct stat64): Likewise.
24995         (_STATBUF_ST_NSEC): New macro.
24996         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24998         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24999         __strtoul_internal rather than strtoul.
25001 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25003         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25004         and reject them.
25006 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25008         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25009         which preserves existing values.
25010         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25012 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25014         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25015         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25016         greater than FD_SETSIZE.
25018 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25020         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25021         allocated, call __vm_protect to finish enabling the existing space, and
25022         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25023         allocate the remainder.
25025 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25027         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25028         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25030 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25032         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25033         sysdeps/mach/hurd/readlink.c.
25035         * posix/tst-sysconf.c (posix_options): Only use
25036         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25037         _POSIX_SYNCHRONIZED_IO when they are defined
25038         * sysdeps/mach/hurd/bits/posix_opt.h:
25039         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25040         (_XOPEN_REALTIME): Undefine macro.
25041         (_XOPEN_REALTIME_THREADS): Undefine macro.
25042         (_XOPEN_SHM): Undefine macro.
25043         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25044         macro to -1.
25045         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25046         macro to -1.
25047         (_POSIX_ASYNC_IO): Undefine macro.
25048         (_POSIX_PRIORITIZED_IO): Undefine macro.
25049         (_POSIX_SPIN_LOCKS): Define macro to -1.
25051         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25052         SA_NODEFER, SA_RESETHAND.
25053         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25054         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25055         F_DUPFD_CLOEXEC.
25057 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25059         * elf/Makefile (pldd-modules): Define unconditionally.
25061 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25063         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25065 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25067         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25068         Return ENOENT when name is empty.
25069         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25071 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25073         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25075         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25077 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25079         Fix mlock in all cases except non-readable pages.
25080         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25081         instead of VM_PROT_ALL as parameter to __vm_wire function.
25083         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25084         (__mkdir): When path is `/', just fail with EEXIST.
25085         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25087 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25089         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25090         <sys/uio.h> (for writev).
25091         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25092         and <sys/param.h> (for MIN).
25094 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25096         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25097         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25098         if interrupted.
25100 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25102         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25103         Depend on against $(link-rpcuserlibs).
25105 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25107         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25108         (__libc_stack_end): Do not use attribute_relro.
25109         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25110         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25111         to libthread-provided value.
25112         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25113         attribute_relro.
25115 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25117         [BZ #3748]
25118         * bits/libc-lock.h (__libc_once_get): New macro.
25119         * sysdeps/mach/bits/libc-lock.h: Likewise.
25120         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25121         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25122         instead of using implementation details.
25124         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25125         * libio/freopen.c: Likewise.
25126         * libio/freopen64.c: Likewise.
25127         * misc/syslog.c: Likewise.
25128         * nscd/connections.c: Likewise.
25129         * nscd/netgroupcache.c: Likewise.
25130         * sysdeps/posix/getcwd.c: Likewise.
25132 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25134         * math/w_ilogbf.c: Add #include <limits.h>.
25136 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25138         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25139         path instead of returning without unlocking.
25141         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25142         immediate-write ioctls.
25143         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25145 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25147         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25148         __builtin_frame_address instead of making assumptions about the
25149         location of the return address relative to DATA.  Force early load of
25150         the return address.
25151         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25152         __builtin_frame_address.
25154         dup3 for GNU Hurd.
25155         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25156         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25157         implement dup3 and do some further code clean-ups.
25158         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25159         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25163         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25165         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25166         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25167         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25168         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25169         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25170         d->port.lock.
25172         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25173         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25174         when handler == SIG_ERR, not when handler != SIG_ERR.
25176 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25178         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25179         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25180         definitions.
25182         accept4 for GNU Hurd.
25183         * include/sys/socket.h (__libc_accept4): New prototype.
25184         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25185         to implement __libc_accept4.
25186         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25187         __libc_accept4.
25188         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25190         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25191         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25192         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25193         signal-defines.sym.
25195 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25197         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25199 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25201         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25202         assertion on O_CLOEXEC flag.
25203         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25204         * hurd/intern-fd.c: Likewise.
25205         * hurd/port2fd.c: Likewise.
25207 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25209         [BZ #3906]
25210         * bits/in.h (IPV6_PKTINFO): Define new macro.
25211         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25213 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25215         [BZ #13954]
25216         [BZ #13955]
25217         [BZ #13956]
25218         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25219         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25220         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25221         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25222         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25223         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25224         * math/libm-test.inc (logb_test) : Additional logb tests.
25226 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25227             Andreas Jaeger  <aj@suse.de>
25229         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25230         * configure: Regenerated.
25231         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25232         * config.make.in (link-obsolete-rpc): New substituted variable.
25233         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25234         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25235         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25236         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25237         so that libc.a contains the symbols.
25238         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25239         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25240         * sunrpc/auth_none.c: Likewise.
25241         * sunrpc/auth_unix.c: Likewise.
25242         * sunrpc/authdes_prot.c: Likewise.
25243         * sunrpc/authuxprot.c: Likewise.
25244         * sunrpc/clnt_gen.c: Likewise.
25245         * sunrpc/clnt_perr.c: Likewise.
25246         * sunrpc/clnt_raw.c: Likewise.
25247         * sunrpc/clnt_simp.c: Likewise.
25248         * sunrpc/clnt_tcp.c: Likewise.
25249         * sunrpc/clnt_udp.c: Likewise.
25250         * sunrpc/clnt_unix.c: Likewise.
25251         * sunrpc/des_crypt.c: Likewise.
25252         * sunrpc/des_soft.c: Likewise.
25253         * sunrpc/get_myaddr.c: Likewise.
25254         * sunrpc/key_call.c: Likewise.
25255         * sunrpc/key_prot.c: Likewise.
25256         * sunrpc/netname.c: Likewise.
25257         * sunrpc/pm_getmaps.c: Likewise.
25258         * sunrpc/pm_getport.c: Likewise.
25259         * sunrpc/pmap_clnt.c: Likewise.
25260         * sunrpc/pmap_prot.c: Likewise.
25261         * sunrpc/pmap_prot2.c: Likewise.
25262         * sunrpc/pmap_rmt.c: Likewise.
25263         * sunrpc/publickey.c: Likewise.
25264         * sunrpc/rpc_cmsg.c: Likewise.
25265         * sunrpc/rpc_common.c: Likewise.
25266         * sunrpc/rpc_dtable.c: Likewise.
25267         * sunrpc/rpc_prot.c: Likewise.
25268         * sunrpc/rpc_thread.c: Likewise.
25269         * sunrpc/rtime.c: Likewise.
25270         * sunrpc/svc.c: Likewise.
25271         * sunrpc/svc_auth.c: Likewise.
25272         * sunrpc/svc_raw.c: Likewise.
25273         * sunrpc/svc_run.c: Likewise.
25274         * sunrpc/svc_tcp.c: Likewise.
25275         * sunrpc/svc_udp.c: Likewise.
25276         * sunrpc/svc_unix.c: Likewise.
25277         * sunrpc/svcauth_des.c: Likewise.
25278         * sunrpc/xcrypt.c: Likewise.
25279         * sunrpc/xdr.c: Likewise.
25280         * sunrpc/xdr_array.c: Likewise.
25281         * sunrpc/xdr_float.c: Likewise.
25282         * sunrpc/xdr_intXX_t.c: Likewise.
25283         * sunrpc/xdr_mem.c: Likewise.
25284         * sunrpc/xdr_rec.c: Likewise.
25285         * sunrpc/xdr_ref.c: Likewise.
25286         * sunrpc/xdr_sizeof.c: Likewise.
25287         * sunrpc/xdr_stdio.c: Likewise.
25289 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25291         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25292         change.  Update copyright years.
25294 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25296         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25298 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25299             Joseph Myers  <joseph@codesourcery.com>
25300             Paul Pluzhnikov  <ppluzhnikov@google.com>
25302         [BZ #14012]
25303         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25304         requiring rpcgen.
25305         [cross-compiling] (extra-libs): Likewise.
25306         [cross-compiling] (extra-libs-others): Likewise.
25307         [cross-compiling] (librpcsvc-routines): Likewise.
25308         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25309         [cross-compiling] (omit-deps): Likewise.
25310         (sunrpc-CPPFLAGS): New variable.
25311         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25312         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25313         (cross-rpcgen-objs): New variable.
25314         (extra-objs): Append $(cross-rpcgen-objs).
25315         ($(cross-rpcgen-objs)): New rule.
25316         ($(objpfx)cross-rpcgen): Likewise.
25317         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25318         comment.
25319         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25320         ($(objpfx)x%.stmp): Likewise.
25321         * sunrpc/proto.h [IS_IN_build] (_): Define.
25322         [IS_IN_build] (_libc_intl_domainname): Likewise.
25324 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25327         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25328         and R_X86_64_TPOFF64.
25330 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25332         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25333         sysdeps/unix/sysv/syscalls.list.
25334         (stime): Likewise.
25335         (utime): Likewise.
25336         * sysdeps/unix/sysv/syscalls.list: Remove file.
25338 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25340         [BZ #3440]
25341         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25342         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25343         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25344         (__LC_IDENTIFICATION): Make these macros useful in #if
25345         expressions, as required by C99.
25347 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25349         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25350         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25351         after this.
25353 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25355         * stdlib/longlong.h: Updated from GCC.
25357 2012-05-09  Andreas Jaeger  <aj@suse.de>
25359         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25360         default is first entry.
25361         (run_mode): Set type.
25362         (main): Remove informal message about syslog.
25363         (options): Fix typo.
25365         [BZ #14053]
25366         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25367         to asm.
25368         (lrint): Likewise.
25369         (llrintf): Likewise.
25370         (llrint): Likewise.
25371         (rint): Likewise.
25372         (rintf): Likewise.
25373         (nearbyint): Likewise.
25374         (nearbyintf): Likewise.
25376 2012-05-09  Andreas Jaeger  <aj@suse.de>
25377             Pedro Alves  <palves@redhat.com>
25379         * nscd/nscd.c (run_mode): Use enum.
25380         (main): Cleanup coding style issue.
25382 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25383             Andreas Jaeger  <aj@suse.de>
25385         * nscd/nscd.c (go_background): Replaced with...
25386         (run_mode): ... this.
25387         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25388         (options): Add -F --foreground.
25389         (main): Implement it.
25390         (parse_opt): Parse it.
25392 2012-05-09  Andreas Jaeger  <aj@suse.de>
25394         [BZ #14083]
25395         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25396         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25397         -Wconversion warning.
25398         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25399         Likewise.
25401 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25403         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25404         == 0.
25405         (LC_ALL): Use macro-int-constant.
25406         (LC_COLLATE): Likewise.
25407         (LC_CTYPE): Likewise.
25408         (LC_MESSAGES): Likewise.
25409         (LC_MONETARY): Likewise.
25410         (LC_NUMERIC): Likewise.
25411         (LC_TIME): Likewise.
25412         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25413         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25414         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25415         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25416         Specify type.
25417         [C99-based standards] (float_t): Expect type.
25418         [C99-based standards] (double_t): Expect type.
25419         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25420         type.
25421         [C99-based standards] (HUGE_VALL): Likewise.
25422         [C99-based standards] (INFINITY): Likewise.
25423         [C99-based standards] (NAN): Likewise.
25424         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25425         [C99-based standards] (FP_NAN): Likewise.
25426         [C99-based standards] (FP_NORMAL): Likewise.
25427         [C99-based standards] (FP_SUBNORMAL): Likewise.
25428         [C99-based standards] (FP_ZERO): Likewise.
25429         [C99-based standards] (FP_FAST_FMA): Use
25430         optional-macro-int-constant.  Specify type.  Require == 1.
25431         [C99-based standards] (FP_FAST_FMAF): Likewise.
25432         [C99-based standards] (FP_FAST_FMAL): Likewise.
25433         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25434         [C99-based standards] (FP_ILOGBNAN): Likewise.
25435         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25436         Specify type.
25437         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25438         [C99-based standards] (math_errhandling): Specify type.
25439         [ISO99 || ISO11] (signgam): Do not allow.
25440         [non-C99-based standards] (copysignf): Do not allow.
25441         [non-C99-based standards] (exp2f): Likewise.
25442         [non-C99-based standards] (log2f): Likewise.
25443         [non-C99-based standards] (modff): Allow.
25444         [non-C99-based standards] (erff): Do not allow.
25445         [non-C99-based standards] (erfcf): Likewise.
25446         [non-C99-based standards] (gammaf): Likewise.
25447         [non-C99-based standards] (hypotf): Likewise.
25448         [non-C99-based standards] (j0f): Likewise.
25449         [non-C99-based standards] (j1f): Likewise.
25450         [non-C99-based standards] (jnf): Likewise.
25451         [non-C99-based standards] (lgammaf): Likewise.
25452         [non-C99-based standards] (tgammaf): Likewise.
25453         [non-C99-based standards] (y0f): Likewise.
25454         [non-C99-based standards] (y1f): Likewise.
25455         [non-C99-based standards] (ynf): Likewise.
25456         [non-C99-based standards] (isnanf): Likewise.
25457         [non-C99-based standards] (acoshf): Likewise.
25458         [non-C99-based standards] (asinhf): Likewise.
25459         [non-C99-based standards] (atanhf): Likewise.
25460         [non-C99-based standards] (cbrtf): Likewise.
25461         [non-C99-based standards] (expm1f): Likewise.
25462         [non-C99-based standards] (ilogbf): Likewise.
25463         [non-C99-based standards] (log1pf): Likewise.
25464         [non-C99-based standards] (logbf): Likewise.
25465         [non-C99-based standards] (nextafterf): Likewise.
25466         [non-C99-based standards] (remainderf): Likewise.
25467         [non-C99-based standards] (rintf): Likewise.
25468         [non-C99-based standards] (scalbf): Likewise.
25469         [non-C99-based standards] (copysignl): Likewise.
25470         [non-C99-based standards] (exp2l): Likewise.
25471         [non-C99-based standards] (log2l): Likewise.
25472         [non-C99-based standards] (modfl): Allow.
25473         [non-C99-based standards] (erfl): Do not allow.
25474         [non-C99-based standards] (erfcl): Likewise.
25475         [non-C99-based standards] (gammal): Likewise.
25476         [non-C99-based standards] (hypotl): Likewise.
25477         [non-C99-based standards] (j0l): Likewise.
25478         [non-C99-based standards] (j1l): Likewise.
25479         [non-C99-based standards] (jnl): Likewise.
25480         [non-C99-based standards] (lgammal): Likewise.
25481         [non-C99-based standards] (tgammal): Likewise.
25482         [non-C99-based standards] (y0l): Likewise.
25483         [non-C99-based standards] (y1l): Likewise.
25484         [non-C99-based standards] (ynl): Likewise.
25485         [non-C99-based standards] (isnanl): Likewise.
25486         [non-C99-based standards] (acoshl): Likewise.
25487         [non-C99-based standards] (asinhl): Likewise.
25488         [non-C99-based standards] (atanhl): Likewise.
25489         [non-C99-based standards] (cbrtl): Likewise.
25490         [non-C99-based standards] (expm1l): Likewise.
25491         [non-C99-based standards] (ilogbl): Likewise.
25492         [non-C99-based standards] (log1pl): Likewise.
25493         [non-C99-based standards] (logbl): Likewise.
25494         [non-C99-based standards] (nextafterl): Likewise.
25495         [non-C99-based standards] (remainderl): Likewise.
25496         [non-C99-based standards] (rintl): Likewise.
25497         [non-C99-based standards] (scalbl): Likewise.
25498         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25499         [non-C99-based standards] (FP_*): Do not allow.
25500         [C99-based standards] (FP_*): Change to
25501         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25502         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25503         allow.
25504         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25505         (SIG_ERR): Likewise.
25506         [X/Open-based standards] (SIG_HOLD): Likewise.
25507         (SIG_IGN): Likewise.
25508         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25509         positive value.
25510         (SIGFPE): Likewise.
25511         (SIGILL): Likewise.
25512         (SIGINT): Likewise.
25513         (SIGSEGV): Likewise.
25514         (SIGTER): Likewise.
25515         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25516         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25517         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25518         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25519         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25520         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25521         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25522         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25523         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25524         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25525         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25526         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25527         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25528         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25529         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25530         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25531         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25532         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25533         [X/Open-based standards] (SIGTRAP): Likewise.
25534         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25535         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25536         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25537         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25538         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25539         allow.
25541 2012-05-08  Ian Wienand  <ianw@vmware.com>
25543         [BZ #14080]
25544         * time/tzset.c (__tzset_parse_tz): Update default rules for
25545         daylight time changes in the Energy Policy Act of 2005.
25547 2012-05-09  Andreas Jaeger  <aj@suse.de>
25549         [BZ #13983]
25550         * elf/ldconfig.c (parse_conf): Change string to make clear that
25551         ldconfig only issued a warning if ld.so.conf does not exist.
25553 2012-05-08  David S. Miller  <davem@davemloft.net>
25555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25556         movxtod instead of popping the value on the stack.
25558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25560 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25562         * config.h.in: Add HAVE_ARM_PCS_VFP.
25564 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25566         [BZ #13979]
25567         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25568         checking but the checks are disabled for any reason.
25570 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25572         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25573         and ELF64_R_TYPE with ELFW(R_TYPE).
25575 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25577         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25578         (ulimit): Likewise.
25580         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25581         (settimeofday): Likewise.
25583 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25585         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25586         a struct th_u2 inside the union, and move tu_block/tu_code into
25587         a new th_u3 union of tu_block/tu_code inside of that.  Move
25588         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25589         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25590         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25591         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25592         (th_stuff): Change to th_u1.tu_stuff.
25593         (th_data): Define.
25594         (th_msg): Change to th_u1.th_u2.tu_data.
25596 2012-05-07  David S. Miller  <davem@davemloft.net>
25598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25600         [BZ #14074]
25601         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25602         (SETUP_PIC_REG): Use it.
25603         (SETUP_PIC_REG_LEAF): Use it.
25605 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25607         [BZ #13885]
25608         [BZ #13923]
25609         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25610         USE_AS_EXPM1L.
25611         (EXPL_FINITE): Likewise.
25612         (FLDLOG): Likewise.
25613         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25614         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25615         e_expl.S.
25616         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25617         USE_AS_EXPM1L.
25618         (EXPL_FINITE): Likewise.
25619         (FLDLOG): Likewise.
25620         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25621         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25622         e_expl.S.
25623         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25624         test of -max_value argument for long double.
25625         * sysdeps/i386/fpu/libm-test-ulps: Update.
25626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25628 2012-05-06  David S. Miller  <davem@davemloft.net>
25630         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25631         quad soft-float symbols whose references which are compiler
25632         generated.
25633         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25635 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25637         [BZ #13884]
25638         [BZ #13914]
25639         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25640         USE_AS_EXP10L.
25641         (EXPL_FINITE): Likewise.
25642         (FLDLOG): Likewise.
25643         (c0): Likewise.
25644         (c1): Likewise.
25645         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25646         Adjust comments for base varying.
25647         (__expl_finite): Change alias to EXPL_FINITE.
25648         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25649         e_expl.S.
25650         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25651         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25652         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25653         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25654         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25655         USE_AS_EXP10L.
25656         (EXPL_FINITE): Likewise.
25657         (FLDLOG): Likewise.
25658         (c0): Likewise.
25659         (c1): Likewise.
25660         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25661         Adjust comments for base varying.
25662         (__expl_finite): Change alias to EXPL_FINITE.
25663         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25664         tests for bugs.
25665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25667         [BZ #14064]
25668         * math/libm-test.inc (check_float_internal): Correct ulp
25669         calculation for subnormal expected results.
25671 2012-05-06  Andreas Jaeger  <aj@suse.de>
25673         * Makeconfig (+math-flags): New, set to -frounding-math.
25674         (+cflags): Add +math-flags so that all of glibc gets compiled with
25675         it.
25677         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25679 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25681         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25682         Disable one test.
25684         [BZ #13787]
25685         [BZ #13922]
25686         [BZ #14036]
25687         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25688         (__ieee754_expl): Allow for and saturate large arguments.
25689         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25690         (u_threshold): Likewise.
25691         (__exp): Call __ieee754_exp before checking for overflow and
25692         underflow.
25693         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25694         (u_threshold): Likewise.
25695         (__expf): Call __ieee754_expf before checking for overflow and
25696         underflow.
25697         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25698         (u_threshold): Likewise.
25699         (__expl): Call __ieee754_expl before checking for overflow and
25700         underflow.
25701         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25702         (__ieee754_expl): Allow for and saturate large arguments.
25703         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25704         missing overflow exception on overflow.
25705         (expm1_test): Do not allow missing overflow exception on overflow.
25707         * sysdeps/i386/fpu/e_expl.c: Move to ...
25708         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25709         rather than using inline asm.
25710         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25711         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25712         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25714         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25715         (nice): Likewise.
25716         (poll): Likewise.
25717         (signal): Likewise.
25718         (time): Likewise.
25719         (times): Likewise.
25721 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25723         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25724         sysdeps/unix/common/syscalls.list.
25725         (fchmod): Likewise.
25726         (fchown): Likewise.
25727         (ftruncate): Likewise.
25728         (getrusage): Likewise.
25729         (gettimeofday): Likewise.
25730         (setpgid): Likewise.
25731         (setregid): Likewise.
25732         (setreuid): Likewise.
25733         (sigaction): Likewise.
25734         (truncate): Likewise.
25735         (vhangup): Likewise.
25736         * sysdeps/unix/common/syscalls.list: Remove file.
25737         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25738         * sysdeps/unix/sysv/linux/Implies: Likewise.
25740 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25742         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25744         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25745         Moved to ...
25746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25747         Here.
25748         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25749         to ...
25750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25751         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25752         to ...
25753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25754         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25755         to ...
25756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25757         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25758         to ...
25759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25760         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25761         to ...
25762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25763         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25764         to ...
25765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25766         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25767         to ...
25768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25769         Here.
25770         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25771         to ...
25772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25773         Here.
25774         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25775         to ...
25776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25777         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25778         Moved to ...
25779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25780         Here.
25781         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25782         to ...
25783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25785 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25787         * sysdeps/unix/common/bits/dirent.h: Remove file.
25788         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25790         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25791         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25792         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25793         * sysdeps/unix/bsd/isatty.c: Likewise.
25794         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25795         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25796         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25798 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25800         [BZ #13563]
25801         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25802         long double comparison inaccuracies.
25803         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25806 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25808         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25809         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25811 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25813         [BZ #14049]
25814         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25815         nonzero digits before rounding a hex value.
25816         * stdlib/tst-strtod.c (tests): Add another test.
25818 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25820         * sysdeps/s390/fpu/libm-test-ulps: Update.
25822 2012-05-03  Andreas Jaeger  <aj@suse.de>
25824         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25825         does not get optimized out.
25826         (malloc_opt_barrier): New.
25828 2012-05-03  Andreas Jaeger  <aj@suse.de>
25829             Roland McGrath  <roland@hack.frob.com>
25831         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25832         intermediate file deletion.
25833         (generated): Add .symlist files.
25835 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25837         [BZ #13775]
25838         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25839         Redirect under this condition.
25840         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25841         [__USE_GNU] (__dprintf_chk): Not under this condition.
25842         [__USE_GNU] (__vdprintf_chk): Likewise.
25843         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25844         under this condition.
25845         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25846         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25847         [__USE_XOPEN2K8] (vdprintf): Likewise.
25848         [__USE_GNU] (__dprintf_chk): Not under this condition.
25849         [__USE_GNU] (__vdprintf_chk): Likewise.
25850         [__USE_GNU] (dprintf): Likewise.
25851         [__USE_GNU] (vdprintf): Likewise.
25853 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25855         * elf/Makefile (common-generated): Set this instead of generated for
25856         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25857         $(all-built-dso)-derived lists.
25859 2012-05-03  Andreas Jaeger  <aj@suse.de>
25861         * sysdeps/i386/fpu/libm-test-ulps: Update.
25863         * FAQ: Removed.
25864         * FAQ.in: Likewise.
25865         * scripts/gen-FAQ.pl: Likewise.
25866         * manual/install.texi (Installation): Point to online location of
25867         FAQ.
25868         * Makefile (files-for-dist): Remove FAQ.
25869         (FAQ): Remove.
25871 2012-05-02  Allan McRae  <allan@archlinux.org>
25873         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25874         (LDFLAGS-reldepmod5.so): Likewise.
25875         (LDFLAGS-reldep6mod1.so): Likewise.
25876         (LDFLAGS-reldep6mod4.so): Likewise.
25877         (LDFLAGS-reldep8mod3.so): Likewise.
25878         (LDFLAGS-unload4mod1.so): Likewise.
25879         (LDFLAGS-unload4mod2.so): Likewise.
25880         (LDFLAGS-tst-initorder): Likewise.
25881         (LDFLAGS-tst-initordera2.so): Likewise.
25882         (LDFLAGS-tst-initordera3.so): Likewise.
25883         (LDFLAGS-tst-initordera4.so): Likewise.
25884         (LDFLAGS-tst-initorderb2.so): Likewise.
25885         (LDFLAGS-noload): Likewise.
25886         (LDFLAGS-next): Likewise.
25887         (LDFLAGS-order2mod1.so): Likewise.
25888         (LDFLAGS-order2mod2.so): Likewise.
25889         (LDFLAGS-tst-initorder2): Likewise.
25890         (LDFLAGS-tst-initorder2a.so): Likewise.
25891         (LDFLAGS-tst-initorder2b.so): Likewise.
25892         (LDFLAGS-tst-initorder2c.so): Likewise.
25893         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25895 2012-05-02  David S. Miller  <davem@davemloft.net>
25897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25899 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25901         [BZ #14055]
25902         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25904 2012-05-02  Andreas Jaeger  <aj@suse.de>
25906         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25907         since we manipulate rounding mode.
25908         (CPPFLAGS-test-idouble.c): Likewise.
25909         (CPPFLAGS-test-ifloat.c): Likewise.
25910         (CFLAGS-test-ldouble.c): Likewise.
25911         (CFLAGS-test-double.c): Likewise.
25912         (CFLAGS-test-float.c): Likewise.
25913         (CFLAGS-test-misc.c): Likewise.
25914         (CFLAGS-test-test-fenv.c): Likewise.
25916 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25918         [BZ #2550]
25919         [BZ #2570]
25920         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25921         comparisons to determine direction to adjust input.
25923 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25925         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25926         output to the target.
25928         * scripts/localplt.awk: New file.
25929         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25930         (check-localplt-CFLAGS): Variable removed.
25931         ($(all-built-dso:=.jmprel)): New static pattern rule.
25932         (generated): Add those targets.
25933         (localplt-built-dso): New variable.
25934         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25936         * elf/check-localplt.c: File removed.
25938         * scripts/check-execstack.awk: New file.
25939         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25940         (check-execstack-CFLAGS): Variable removed.
25941         ($(objpfx)check-execstack.h): Target removed.
25942         ($(objpfx)execstack-default): New target.
25943         (generated): Add that instead of check-execstack.h.
25944         ($(all-built-dso:=.phdr)): New static pattern rule.
25945         (generated): Add those targets.
25946         * elf/check-execstack.c: File removed.
25948         * scripts/check-textrel.awk: New file.
25949         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25950         (check-textrel-CFLAGS): Variable removed.
25951         (all-built-dso): Use := to define.o
25952         ($(all-built-dso:=.dyn)): New static pattern rule.
25953         (generated): Add those targets.
25954         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25955         * config.make.in (READELF): New substituted variable.
25956         * elf/check-textrel.c: File removed.
25958 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25960         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25961         allow.
25962         * conform/data/ctype.h-data [C99-based standards] (isblank):
25963         Expect function.
25964         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25965         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25966         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25967         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25968         Specify type.  Require positive value.
25969         (EILSEQ): Likewise.
25970         (ERANGE): Likewise.
25971         [ISO || POSIX] (EILSEQ): Do not expect.
25972         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25973         Specify type.  Require positive value.
25974         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25975         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25976         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25977         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25978         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25979         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25980         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25981         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25982         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25983         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25984         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25985         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25986         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25987         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25988         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25989         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25990         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25991         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25992         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25993         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25994         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25995         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25996         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25997         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25998         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25999         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26000         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26001         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26002         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26003         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26004         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26005         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26006         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26007         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26008         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26009         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26010         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26011         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26012         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26013         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26014         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26015         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26016         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26017         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26018         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26019         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26020         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26021         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26022         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26023         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26024         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26025         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26026         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26027         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26028         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26029         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26030         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26031         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26032         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26033         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26034         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26035         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26036         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26037         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26038         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26039         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26040         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26041         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26042         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26043         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26044         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26045         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26046         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26047         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26048         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26049         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26050         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26051         Require >= 2.
26052         (FLT_ROUNDS): Expect as macro, not constant.
26053         (FLT_MANT_DIG): Use macro-int-constant.
26054         (DBL_MANT_DIG): Likewise.
26055         (LDBL_MANT_DIG): Likewise.
26056         (FLT_DIG): Likewise.
26057         (DBL_DIG): Likewise.
26058         (LDBL_DIG): Likewise.
26059         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26060         (DBL_MIN_EXP): Likewise.
26061         (LDBL_MIN_EXP): Likewise.
26062         (FLT_MAX_EXP): Use macro-int-constant.
26063         (DBL_MAX_EXP): Likewise.
26064         (LDBL_MAX_EXP): Likewise.
26065         (FLT_MAX_10_EXP): Likewise.
26066         (DBL_MAX_10_EXP): Likewise.
26067         (LDBL_MAX_10_EXP): Likewise.
26068         (FLT_MAX): Use macro-constant.
26069         (DBL_MAX): Likewise.
26070         (LDBL_MAX): Likewise.
26071         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26072         (DBL_EPSILON): Likewise.
26073         (LDBL_EPSILON): Likewise.
26074         (FLT_MIN): Likewise.
26075         (DBL_MIN): Likewise.
26076         (LDBL_MIN): Likewise.
26077         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26078         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26079         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26080         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26081         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26082         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26083         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26084         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26085         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26086         [ISO11] (FLT_TRUE_MIN): Likewise.
26087         [ISO11] (LDBL_TRUE_MIN): Likewise.
26088         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26089         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26090         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26091         (SCHAR_MAX): Likewise.
26092         (UCHAR_MAX): Likewise.
26093         (CHAR_MIN): Likewise.
26094         (CHAR_MAX): Likewise.
26095         (MB_LEN_MAX): Use macro-int-constant.
26096         (SHRT_MIN): Use macro-int-constant.  Specify type.
26097         (SHRT_MAX): Likewise.
26098         (USHRT_MAX): Likewise.
26099         (INT_MAX): Likewise.
26100         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26101         bound negative.
26102         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26103         bound with "U".
26104         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26105         bound with "L".
26106         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26107         bound negative.  Suffix upper bound with "L".
26108         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26109         bound with "UL".
26110         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26111         Specify type.
26112         [C99-based standards] (LLONG_MAX): Likewise.
26113         [C99-based standards] (ULLONG_MAX): Likewise.
26114         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26115         == 0.
26116         [ISO11] (max_align_t): Require type.
26117         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26119         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26120         from $CFLAGS, without defining away __attribute__ calls.
26121         (checknamespace): Use $CFLAGS_namespace.
26123         * conform/conformtest.pl (@keywords): Only include C99 keywords
26124         for standards based on C99 or C11.
26126         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26127         Disable tests.
26128         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26129         UNIX98]: Likewise.
26131         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26132         usability of symbols in #if.
26134         * conform/conformtest.pl: If macro or constant types start
26135         "promoted:", expect the symbol to be of the following type
26136         promoted by the integer promotions.
26138         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26139         in one place.  Also handle "macro-constant".
26141         * conform/conformtest.pl: Only accept expected macro values with
26142         "==".  Parse all "macro" lines in one place.
26143         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26145         * conform/conformtest.pl: Handle braced types on "constant" lines
26146         instead of handling "typed-constant".
26147         * conform/data/signal.h-data: Use "constant" instead of
26148         "typed-constant".
26150         * conform/conformtest.pl: Handle "optional-" at start of lines in
26151         one place rather than duplicating several cases.  Handle each
26152         format of "macro" line with initial "optional-".
26154         * conform/conformtest.pl: Only accept expected constant or
26155         optional-constant values with "==".  Parse all "constant" lines in
26156         one place.  Parse all "optional-constant" lines in one place.
26157         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26158         * conform/data/fmtmsg.h-data: Likewise.
26159         * conform/data/netinet/in.h-data: Likewise.
26160         * conform/data/tar.h-data: Likewise.
26161         * conform/data/limits.h-data: Use "==" form on "constant" and
26162         "optional-constant" lines.
26164         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26165         Use -std=c99 for XOPEN2K.
26166         (@knownproblems): Remove.
26167         (newtoken): Don't check %isknown.
26169         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26170         Do not expect macro.
26171         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26172         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26173         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26174         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26175         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26176         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26177         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26178         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26179         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26180         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26181         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26182         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26183         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26184         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26185         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26186         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26187         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26188         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26189         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26190         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26191         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26192         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26193         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26194         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26195         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26196         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26197         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26198         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26199         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26200         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26201         [XPG3] (acosh): Likewise.
26202         [XPG3] (asinh): Likewise.
26203         [XPG3] (atanh): Likewise.
26204         [XPG3] (cbrt): Likewise.
26205         [XPG3] (expm1): Likewise.
26206         [XPG3] (ilogb): Likewise.
26207         [XPG3] (log1p): Likewise.
26208         [XPG3] (logb): Likewise.
26209         [XPG3] (nextafter): Likewise.
26210         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26211         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26212         [XPG3] (remainder): Likewise.
26213         [XPG3] (rint): Likewise.
26214         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26215         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26216         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26217         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26218         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26219         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26220         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26221         [UNIX98 || XOPEN2K] (scalb): Expect.
26222         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26223         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26224         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26225         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26226         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26227         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26228         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26229         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26230         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26231         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26232         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26233         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26234         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26235         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26236         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26237         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26238         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26239         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26240         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26241         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26242         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26243         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26244         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26245         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26246         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26247         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26248         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26249         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26250         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26251         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26252         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26253         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26254         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26255         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26256         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26257         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26258         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26259         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26260         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26261         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26262         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26263         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26264         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26265         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26266         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26267         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26268         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26269         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26270         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26271         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26272         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26273         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26274         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26275         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26276         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26277         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26278         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26279         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26280         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26281         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26282         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26283         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26284         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26285         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26286         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26287         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26288         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26289         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26290         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26291         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26292         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26293         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26294         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26295         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26296         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26297         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26298         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26299         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26300         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26301         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26302         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26303         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26304         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26305         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26306         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26307         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26308         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26309         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26310         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26311         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26312         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26313         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26314         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26315         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26316         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26317         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26318         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26319         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26320         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26321         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26322         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26323         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26324         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26325         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26326         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26327         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26328         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26329         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26330         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26331         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26332         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26333         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26334         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26335         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26336         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26337         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26338         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26339         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26340         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26341         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26342         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26343         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26344         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26345         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26346         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26347         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26348         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26349         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26350         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26351         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26352         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26353         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26354         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26355         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26356         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26357         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26358         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26360         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26361         _XOPEN_SOURCE_EXTENDED for XPG4.
26363         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26365         * Makeconfig (localtime): Remove variable.
26366         (inst_localtime-file): Likewise.
26368 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26371         Update.
26372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26373         Update.
26374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26375         Update.
26376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26377         Update.
26378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26379         Update.
26380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26381         Update.
26382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26383         Update.
26384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26385         Update.
26386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26387         Update.
26389 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26391         [BZ #2550]
26392         [BZ #2570]
26393         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26394         comparisons to determine direction to adjust input.
26395         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26396         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26397         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26398         Likewise.
26399         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26400         Likewise.
26401         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26402         Likewise.
26403         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26404         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26405         Likewise.
26406         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26407         Likewise.
26408         * math/libm-test.inc (nexttoward_test): Add more tests.
26410 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26412         [BZ #14040]
26413         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26414         in version GLIBC_2.1, not GLIBC_2.0.
26415         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26416         Likewise.
26418 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26420         [BZ #13942]
26421         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26422         (1 - x) * (1 + x).
26423         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26424         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26425         * math/libm-test.inc (acos_test): Add more tests.
26426         (asin_test): Likewise.
26427         * sysdeps/i386/fpu/libm-test-ulps: Update.
26428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26430         [BZ #14034]
26431         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26432         of square root.
26433         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26434         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26435         * math/libm-test.inc (acos_test_tonearest): New function.
26436         (acos_test_towardzero): Likewise.
26437         (acos_test_downward): Likewise.
26438         (acos_test_upward): Likewise.
26439         (asin_test_tonearest): Likewise.
26440         (asin_test_towardzero): Likewise.
26441         (asin_test_downward): Likewise.
26442         (asin_test_upward): Likewise.
26443         (main): Call the new functions.
26444         * sysdeps/i386/fpu/libm-test-ulps: Update.
26445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26447         [BZ #13884]
26448         [BZ #13924]
26449         * math/e_exp10.c: Include <float.h>.
26450         (__ieee754_exp10): Handle underflow here rather than multiplying
26451         large negative argument by M_LN10.
26452         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26453         of __ieee754_expf.
26454         * math/e_exp10l.c: Include <float.h>.
26455         (__ieee754_exp10l): Handle underflow here rather than multiplying
26456         large negative argument by M_LN10l.
26457         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26458         spurious overflow exception on underflow.
26460 2012-04-29  Marek Polacek  <polacek@redhat.com>
26462         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26463         (__fortify_function): New macro.
26464         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26465         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26466         __extern_always_inline.
26467         * libio/bits/stdio2.h: Likewise.
26468         * libio/bits/stdio.h: Likewise.
26469         * string/string.h: Likewise.
26470         * string/bits/string3.h: Likewise.
26471         * include/stdio.h: Likewise.
26472         * stdlib/bits/stdlib.h: Likewise.
26473         * stdlib/stdlib.h: Likewise.
26474         * rt/bits/mqueue2.h: Likewise.
26475         * rt/mqueue.h: Likewise.
26476         * posix/bits/unistd.h: Likewise.
26477         * posix/unistd.h: Likewise.
26478         * io/bits/poll2.h: Likewise.
26479         * io/bits/fcntl2.h: Likewise.
26480         * io/fcntl.h: Likewise.
26481         * io/sys/poll.h: Likewise.
26482         * misc/bits/syslog.h: Likewise.
26483         * misc/bits/syslog-ldbl.h: Likewise.
26484         * misc/sys/syslog.h: Likewise.
26485         * socket/bits/socket2.h: Likewise.
26486         * socket/sys/socket.h: Likewise.
26487         * debug/tst-chk1.c: Likewise.
26488         * wcsmbs/bits/wchar2.h: Likewise.
26489         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26490         * wcsmbs/wchar.h: Likewise.
26492 2012-04-29  Andreas Jaeger  <aj@suse.de>
26494         * Makerules (tests): Remove enable-check-abi protection.
26495         (check-abi-warn): Remove.
26496         (check-abi-%): Remove check-abi-warn usage.
26498         * configure.in: Remove check-abi configure option.
26499         * configure: Regenerated.
26500         * config.make.in (enable-check-abi): Remove.
26502 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26504         [BZ #14033]
26505         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26506         double functions to double *_finite functions.
26508         [BZ #13941]
26509         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26510         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26511         LDBL_MIN_EXP.
26512         * stdio-common/Makefile (tests): Add tst-sprintf3.
26513         * stdio-common/tst-sprintf3.c: New file.
26515         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26516         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26518 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26520         * conform/conformtest.pl: Remove duplicate typed-constant
26521         handling.
26523 2012-04-28  David S. Miller  <davem@davemloft.net>
26525         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26526         (check-abi-%): Remove AWK script prerequisite and explicit
26527         abilist directory.
26528         (check-abi): Rewrite to just diff the symlist with the abilist.
26529         (config-tls, config-abi-config): Delete, no longer used.
26530         (update-abi-%): Remove AWK script and explicit abilist directory.
26531         (update-abi): Rewrite to simply compare and conditionally copy the
26532         symlist and the sysdep abilist file.  Remove update-abi-config
26533         checks.
26534         * abilist/ld.abilist: Remove.
26535         * abilist/libBrokenLocale.abilist: Remove.
26536         * abilist/libanl.abilist: Remove.
26537         * abilist/libcrypt.abilist: Remove.
26538         * abilist/libdl.abilist: Remove.
26539         * abilist/librt.abilist: Remove.
26540         * abilist/libthread_db.abilist: Remove.
26541         * abilist/libutil.abilist: Remove.
26542         * scripts/extract-abilist.awk: Remove.
26543         * scripts/merge-abilist.awk: Remove.
26544         * sysdeps/generic/libcidn.abilist: New file.
26545         * sysdeps/generic/libnss_compat.abilist: New file.
26546         * sysdeps/generic/libnss_db.abilist: New file.
26547         * sysdeps/generic/libnss_dns.abilist: New file.
26548         * sysdeps/generic/libnss_files.abilist: New file.
26549         * sysdeps/generic/libnss_hesiod.abilist: New file.
26550         * sysdeps/generic/libnss_nis.abilist: New file.
26551         * sysdeps/generic/libnss_nisplus.abilist: New file.
26552         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26553         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26554         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26555         file.
26556         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26557         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26558         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26559         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26560         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26561         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26562         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26563         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26564         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26565         file.
26566         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26567         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26568         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26569         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26570         file.
26571         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26572         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26573         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26574         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26575         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26576         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26577         file.
26578         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26579         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26580         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26581         file.
26582         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26583         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26584         New file.
26585         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26586         New file.
26587         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26588         New file.
26589         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26590         New file.
26591         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26592         New file.
26593         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26594         New file.
26595         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26596         New file.
26597         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26598         New file.
26599         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26600         New file.
26601         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26602         New file.
26603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26604         New file.
26605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26606         New file.
26607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26608         New file.
26609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26610         file.
26611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26612         New file.
26613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26614         New file.
26615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26616         file.
26617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26618         New file.
26619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26620         New file.
26621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26622         file.
26623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26624         New file.
26625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26626         New file.
26627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26628         New file.
26629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26630         New file.
26631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26632         New file.
26633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26634         New file.
26635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26637         file.
26638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26639         New file.
26640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26641         file.
26642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26643         file.
26644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26645         file.
26646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26647         file.
26648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26649         file.
26650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26651         New file.
26652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26653         file.
26654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26655         file.
26656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26657         New file.
26658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26659         file.
26660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26662         file.
26663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26664         New file.
26665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26666         file.
26667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26668         file.
26669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26670         file.
26671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26672         file.
26673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26674         file.
26675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26676         New file.
26677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26678         file.
26679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26680         file.
26681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26682         New file.
26683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26684         file.
26685         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26686         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26687         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26688         file.
26689         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26690         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26691         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26692         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26693         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26694         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26695         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26696         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26697         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26698         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26701         file.
26702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26703         New file.
26704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26705         file.
26706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26707         file.
26708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26709         file.
26710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26711         file.
26712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26713         file.
26714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26715         New file.
26716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26717         New file.
26718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26719         file.
26720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26721         New file.
26722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26723         file.
26724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26726         file.
26727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26728         New file.
26729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26730         file.
26731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26732         file.
26733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26734         file.
26735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26736         file.
26737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26738         file.
26739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26740         New file.
26741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26742         New file.
26743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26744         file.
26745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26746         New file.
26747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26748         file.
26750 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26752         * conform/conformtest.pl: Fix typo in handling typed-constant from
26753         allow-header.
26755 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26757         * README: Cut down references to pre-2.6 Linux kernels and
26758         Linuxthreads.  Update lists of configurations in libc and ports
26759         and sort alphabetically.  Say "or newer" with Linux kernel version
26760         requirements.
26762         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26764 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26766         [BZ #887]
26767         * math/libm-test.inc (logb_test_downward): New test to expose
26768         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26769         rounding mode.
26771 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26773         [BZ #14027]
26774         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26775         to be done.
26776         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26777         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26779 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26781         * sysdeps/unix/i386/brk.S: Remove file.
26782         * sysdeps/unix/i386/dl-brk.S: Likewise.
26783         * sysdeps/unix/i386/pipe.S: Likewise.
26784         * sysdeps/unix/i386/sigreturn.S: Likewise.
26785         * sysdeps/unix/i386/syscall.S: Likewise.
26786         * sysdeps/unix/i386/vfork.S: Likewise.
26787         * sysdeps/unix/i386/wait.S: Likewise.
26789         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26790         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26792         * configure.in (arm*-none*): Do not allow without
26793         --enable-hacker-mode.
26794         (netbsd*): Remove case setting base_os.
26795         (386bsd*): Likewise.
26796         (freebsd*): Likewise.
26797         (bsdi*): Likewise.
26798         (osf*): Likewise.
26799         (sunos*): Likewise.
26800         (ultrix*): Likewise.
26801         (newsos*): Likewise.
26802         (dynix*): Likewise.
26803         (*bsd*): Likewise.
26804         (sysv*): Likewise.
26805         (isc*): Likewise.
26806         (esix*): Likewise.
26807         (sco*): Likewise.
26808         (minix*): Likewise.
26809         (irix4*): Likewise.
26810         (irix6*): Likewise.
26811         (solaris[2-9]*): Likewise.
26812         (none): Likewise.
26813         * configure: Regenerated.
26815 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26817         [BZ #11521]
26818         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26819         overflow or cancellation in calculating denominator.
26820         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26821         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26822         down expression to avoid unexpected rounding in newer GCCs.
26823         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26825 2012-04-26  David S. Miller  <davem@davemloft.net>
26827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26828         long-double compat symbols.
26829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26843 2012-04-25  David S. Miller  <davem@davemloft.net>
26845         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26846         HWCAP_* values only after the memory barriers have been defined.
26847         (atomic_full_barrier): Define.
26848         (atomic_read_barrier): Define.
26849         (atomic_write_barrier): Define.
26851 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26853         * shlib-versions: Add libgcc_s version information.
26854         * sysdeps/generic/libgcc_s.h: Remove.
26855         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26856         libgcc_s.h.
26857         * sysdeps/gnu/unwind-resume.c: Likewise.
26858         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26860 2012-04-25  David S. Miller  <davem@davemloft.net>
26862         * sysdeps/unix/sparc/brk.S: Delete.
26863         * sysdeps/unix/sparc/dl-brk.S: Delete.
26864         * sysdeps/unix/sparc/pipe.S: Delete.
26865         * sysdeps/unix/sparc/sysdep.S: Delete.
26866         * sysdeps/unix/sparc/sysdep.h: Delete.
26867         * sysdeps/unix/sparc/vfork.S: Delete.
26868         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26869         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26870         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26871         ret_ERRVAL, r0, r1, MOVE): Define.
26872         (JUMPTARGET): Remove.
26873         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26874         sysdeps/unix/sparc/sysdep.h
26875         (ENTRY, END): Remove.
26876         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26878 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26880         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26881         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26882         -DIS_IN_build.
26884         * timezone/README: Update upstream location and email address for
26885         tzcode and tzdata.
26886         * timezone/zdump.c: Update from tzcode 2012b.
26887         * timezone/zic.c: Likewise.
26889         * configure.in (libc_cv_as_needed): Remove test.
26890         * configure: Regenerated.
26891         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26892         conditional definition.
26893         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26894         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26895         * config.make.in (have-as-needed): Remove variable.
26897 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26898             Paul Pluzhnikov  <ppluzhnikov@google.com>
26900         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26901         strings correctly.
26903 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26905         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26906         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26907         * sysdeps/sh/strlen.S: Likewise.
26909 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26911         * sysdeps/unix/fork.S: Remove file.
26912         * sysdeps/unix/i386/fork.S: Likewise.
26913         * sysdeps/unix/sparc/fork.S: Likewise.
26915         * sysdeps/unix/system.c: Remove file.
26916         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26918         * sysdeps/unix/getegid.S: Remove file.
26919         * sysdeps/unix/geteuid.S: Likewise.
26921 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26923         * scripts/check-localplt.awk: New file.
26924         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26925         of diff.
26926         * scripts/data/localplt-generic.data: Add a comment.
26928         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26929         NODE when __dir_mkfile failed.
26930         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26931         Reported by Ludovic Courtès <ludo@gnu.org>.
26933 2012-04-24  Andreas Jaeger  <aj@suse.de>
26935         * Makerules (common-clean): Also remove gen-as-const-headers
26936         files.
26938 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26940         * Makerules (native-compile): Do not change working directory for
26941         build.  Use $(OUTPUT_OPTION) in command.
26942         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26944 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26946         [BZ #13886]
26947         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26948         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26949         * math/libm-test.inc (floor_test): Add more tests.
26950         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26952 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26954         * sysdeps/unix/getdents.c: Remove file.
26955         * sysdeps/unix/sysv/getdents.c: Likewise.
26956         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26958         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26959         sysdeps/unix/mman/syscalls.list.
26960         (mmap): Likewise.
26961         (mprotect): Likewise.
26962         (msync): Likewise.
26963         (munmap): Likewise.
26964         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26965         * sysdeps/unix/mman/syscalls.list: Remove.
26966         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26968         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26969         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26970         * configure: Regenerated.
26971         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26972         $(libgcc_s_suffix).
26973         * config.make.in (libgcc_s_suffix): Remove variable.
26975 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26977         * sysdeps/unix/sysv/gethostname.c: Move to ...
26978         * sysdeps/posix/gethostname.c: ... here.
26980         * sysdeps/unix/execve.S: Remove file.
26982         * sysdeps/unix/_exit.S: Remove file.
26984 2012-04-23  Andreas Jaeger  <aj@suse.de>
26986         [BZ #13739]
26987         * manual/Makefile: Remove make dist support, there's no
26988         need for a stand-alone documentation tar ball.
26989         (TEXI2DVI): Define always, it's not in Makeconfig.
26990         (dist): Removed.
26991         (tar-it): Removed.
26992         (edition): Removed.
26993         (glibc-doc-$(edition).tar): Removed
26994         (%.Z): Removed.
26995         (%.gz): Removed.
26996         (%.uu): Removed.
26997         (ETAGS): Remove, it's in Makeconfig.
26998         (move-if-change): Remove, it's in Makeconfig.
27000 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27002         [BZ #13970]
27003         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27004         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27005         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27006         (strtod_l, strtof_l, strtold_l): Remove __wur.
27007         It is not necessarily an error to ignore strtol's return value.
27008         One can reliably look at the stored endptr to decide whether
27009         the number had valid syntax.
27011 2012-04-21  Andreas Jaeger  <aj@suse.de>
27013         [BZ #13739]
27014         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27016 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27018         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27019         * sysdeps/unix/sysv/Versions: Remove file.
27021 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27023         [BZ #13927]
27024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27026 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27028         [BZ #7064]
27029         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27030         version from __vm86.
27032 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27034         * sysdeps/unix/common/lxstat.c: Remove file.
27035         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27037         * sysdeps/unix/sysv/Makefile: Remove file.
27039         * sysdeps/unix/sysv/direct.h: Remove file.
27041         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27042         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27043         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27044         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27045         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27046         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27047         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27049         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27051         * sysdeps/unix/xmknod.c: Remove file.
27052         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27054         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27056         * sysdeps/unix/sysv/i386/time.S: Remove file.
27058         * sysdeps/unix/fxstat.c: Remove file.
27059         * sysdeps/unix/xstat.c: Likewise.
27060         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27062         * sysdeps/unix/sysv/sigaction.c: Remove file.
27064         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27065         (sysdep_headers): Remove variable.
27066         [termio.h not in sysdep_headers] (generated): Likewise.
27067         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27068         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27069         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27070         * sysdeps/unix/sysv/tcflow.c: Likewise.
27071         * sysdeps/unix/sysv/tcflush.c: Likewise.
27072         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27073         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27074         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27075         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27076         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27078         * sysdeps/unix/siglist.c: Remove file.
27080         * sysdeps/unix/getppid.S: Remove file.
27082         * sysdeps/unix/mkdir.c: Remove file.
27083         * sysdeps/unix/rmdir.c: Likewise.
27085 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27087         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27088         ERR_MAX value.
27089         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27090         errlist-compat value.
27092 2012-04-18  David S. Miller  <davem@davemloft.net>
27094         * sysdeps/generic/memcopy.h (reg_char): Delete.
27095         * debug/strcat_chk.c: Use char, not reg_char.
27096         * debug/strcpy_chk.c: Likewise.
27097         * debug/strncat_chk.c: Likewise.
27098         * debug/strncpy_chk.c: Likewise.
27099         * string/memchr.c: Likewise.
27100         * string/memrchr.c: Likewise.
27101         * string/rawmemchr.c: Likewise.
27102         * string/strcat.c: Likewise.
27103         * string/strchr.c: Likewise.
27104         * string/strchrnul.c: Likewise.
27105         * string/strcmp.c: Likewise.
27106         * string/strcpy.c: Likewise.
27107         * string/strncat.c: Likewise.
27108         * string/strncmp.c: Likewise.
27109         * string/strncpy.c: Likewise.
27111 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27113         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27114         __builtin_memcopy is called when src and dest ranges are known to not
27115         overlap.
27117 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27119         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27120         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27121         fwd_align_merge macro call.
27122         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27123         bwd_align_merge macro call.
27124         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27126 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27128         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27129         bwd_align_merge macros.
27130         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27131         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27132         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27134 2012-04-18  David S. Miller  <davem@davemloft.net>
27136         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27138 2012-04-18  Andreas Jaeger  <aj@suse.de>
27140         [BZ# 6794]
27141         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27142         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27143         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27145         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27146         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27147         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27149         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27150         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27151         Adjust for changed ldbl-128 files.
27153         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27154         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27155         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27157 2012-04-17  David S. Miller  <davem@davemloft.net>
27159         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27161 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27163         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27164         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27165         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27166         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27167         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27168         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27170 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27172         [BZ #6794]
27173         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27174         * math/libm-test.inc: Add ilogb errno and exception tests.
27175         * math/w_ilogb.c: New file: ilogb wrapper.
27176         * math/w_ilogbf.c: New file: ilogbf wrapper.
27177         * math/w_ilogbl.c: New file: ilogbl wrapper.
27178         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27179         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27180         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27181         exception being thrown with 0.0 as argument.
27182         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27183         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27184         exception being thrown with 0.0 as argument.
27185         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27186         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27187         exception being thrown with 0.0 as argument.
27188         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27189         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27190         exception being thrown with 0.0 as argument.
27191         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27192         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27193         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27194         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27195         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27196         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27197         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27198         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27199         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27201 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27203         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27204         with altivec.
27206 2012-04-16  Marek Polacek  <polacek@redhat.com>
27208         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27210 2012-04-16  Marek Polacek  <polacek@redhat.com>
27212         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27213         operands of fdivp instruction.
27215 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27217         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27218         * elf/tst-auditmod3b.c: Likewise.
27219         * elf/tst-auditmod4b.c: Likewise.
27220         * elf/tst-auditmod5b.c: Likewise.
27221         * elf/tst-auditmod6b.c: Likewise.
27222         * elf/tst-auditmod6c.c: Likewise.
27223         * elf/tst-auditmod7b.c: Likewise.
27224         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27225         * sysdeps/x86_64/preconfigure.in: Likewise.
27226         * sysdeps/x86_64/preconfigure: Regenerated.
27228 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27230         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27231         __ILP32__.
27233 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27235         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27236         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27238 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27240         [BZ #13973]
27241         * locale/iso-639.def: Fix gl language name. Spotted by
27242         Yaron Shahrabani.
27244 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27246         [BZ #2074]
27247         * libio/libio.h (__io_write_fn): Update comment.
27249 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27251         [BZ #2074]
27252         * stdio.texi (Hook Functions): The user provided writer function
27253         is not allowed to return -1.
27255 2012-04-11  David S. Miller  <davem@davemloft.net>
27257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27259 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27261         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27262         Add a leading slash to rtkaio.
27264 2012-04-11  Jim Meyering  <meyering@redhat.com>
27266         [BZ #11959]
27267         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27268         It is not necessarily an error to ignore fwrite's return
27269         value.  One can reliably use ferror to test for errors after
27270         the fact.
27272 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27274         * bits/types.h (__snseconds_t): New type.
27275         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27277         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27278         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27279         (__SNSECONDS_T_TYPE): Likewise.
27280         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27281         (__SNSECONDS_T_TYPE): Likewise.
27282         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27283         (__SNSECONDS_T_TYPE): Likewise.
27285 2012-04-10  Andreas Jaeger  <aj@suse.de>
27287         [BZ #2636]
27288         * manual/time.texi (Processor Time): Return type of times is
27289         elapsed real time since an arbitrary point in the past.
27290         (CPU Time): Move CLK_TCK from here...
27291         (Processor Time): ...to here.  Correct description.
27292         * manual/conf.texi (Constants for Sysconf): Correct description of
27293         _SC_CLK_TCK.
27295 2012-04-10  David S. Miller  <davem@davemloft.net>
27297         [BZ #13967]
27298         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27299         where the is a gap between DT_REL(A) and DT_JMPREL.
27301 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27303         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27304         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27305         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27307 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27309         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27310         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27311         (dl_main): Handle --inhibit-cache.
27312         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27313         _dl_inhibit_cache.
27314         * elf/dl-load.c (_dl_map_object): Use it.
27315         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27317 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27319         [BZ #13872]
27320         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27321         (__ieee754_powl): Saturate large exponents rather than testing for
27322         overflow of y*log2(x).
27323         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27324         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27325         exceptions.
27327         [BZ #11521]
27328         * math/s_ctan.c: Include <float.h>.
27329         (__ctan): Avoid internal overflow or cancellation in calculating
27330         denominator.
27331         * math/s_ctanf.c: Likewise.
27332         * math/s_ctanl.c: Likewise.
27333         * math/s_ctanh.c: Likewise.
27334         * math/s_ctanhf.c: Likewise.
27335         * math/s_ctanhl.c: Likewise.
27336         * math/libm-test.inc (ctan_test): Add more tests.
27337         (ctanh_test): Likewise.
27338         * sysdeps/i386/fpu/libm-test-ulps: Update.
27339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27341 2012-04-09  Andreas Jaeger  <aj@suse.de>
27343         [BZ #6894]
27344         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27345         is an optional BSD extension.
27347         [BZ #10254]
27348         * manual/stdio.texi (Opening Streams): Document additional fopen
27349         parameters.
27351 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27353         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27354         %eax without telling the compiler.
27356 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27358         [BZ # 13963]
27359         * manual/install.texi: Use sourceware.org.
27361 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27363         [BZ #13873]
27364         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27365         (__ieee754_pow): Generate overflow and underflow using huge*huge
27366         and tiny*tiny rather than just returning constant infinity or zero
27367         for large exponents.
27368         * math/libm-test.inc (pow_test): Require overflow exceptions for
27369         applicable cases of large exponents.
27371         [BZ #706]
27372         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27373         (__ieee754_pow): Use iterative multiplication algorithm only for
27374         integer exponents with absolute value below 1024.  Check for odd
27375         integer exponents when using algorithm for real exponents.
27376         * math/libm-test.inc (pow_test): Add more tests.
27377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27379 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27381         [BZ #13705]
27382         * math/libm-test.inc (exp_test): Do not allow overflow exception
27383         on underflow test.
27385 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27387         [BZ #13705]
27388         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27389         instead of __kernel_standard_f.
27391 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27393         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27394         * sysdeps/x86_64/memset_chk.S: Likewise.
27396 2012-04-08  Andreas Jaeger  <aj@suse.de>
27398         [BZ #10153]
27399         * manual/startup.texi (Environment Access): Describe return value
27400         for putenv and setenv.
27402         [BZ #6895]
27403         * manual/filesys.texi (Directory Entries): Add description for
27404         DT_LNK.
27406         [BZ #6890]
27407         * manual/filesys.texi (Directory Entries): Clarify that it's file
27408         system not operating system in the description of DT_UNKNOWN.
27410         [BZ #6578]
27411         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27413 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27415         [BZ #6649]
27416         * manual/llio.texi (Opening and Closing Files): Add cross
27417         reference to explain mode argument.
27419 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27421         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27422         * sysdeps/x86_64/memset_chk.S: Likewise.
27424 2012-04-07  David S. Miller  <davem@davemloft.net>
27426         * elf/elf.h (R_SPARC_WDISP10): Define.
27427         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27428         R_SPARC_SIZE32.
27429         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27430         R_SPARC_SIZE64 and R_SPARC_H34.
27432 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27434         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27435         conditions and remove no longer applicable assertion.
27437 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27439         * bits/byteswap.h: Include <features.h>.
27440         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27441         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27443 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27445         * bits/byteswap.h (__bswap_16): Removed.
27446         Include <bits/byteswap-16.h> to get __bswap_16.
27447         * sysdeps/i386/bits/byteswap.h: Likewise.
27448         * sysdeps/s390/bits/byteswap.h: Likewise.
27449         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27450         * bits/byteswap-16.h: New file.
27451         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27452         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27453         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27454         * string/Makefile (headers): Add bits/byteswap-16.h.
27456 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27458         [BZ #13895]
27459         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27460         extra indirection.
27461         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27462         * nss/tst-nss-static.c: New.
27464 2012-04-06  Robert Millan  <rmh@gnu.org>
27466         [BZ #6486]
27467         * manual/llio.texi (File Position Primitive): lseek
27468         refers to WHENCE when it really means OFFSET.
27470 2012-04-06  Andreas Jaeger  <aj@suse.de>
27472         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27473         strncmp declarations.
27475         * abilist/libc.abilist: Add __poll and __ppoll.
27477 2012-04-05  David S. Miller  <davem@davemloft.net>
27479         * scripts/check-local-headers.sh: Accept a host triplet in the
27480         path matched by the exclude regexp.
27482         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27483         definition.
27484         * sysdeps/powerpc/powerpc32/dl-machine.h
27485         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27486         * sysdeps/s390/s390-32/dl-machine.h
27487         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27488         * sysdeps/sparc/sparc32/dl-machine.h
27489         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27490         * sysdeps/sparc/sparc64/dl-machine.h
27491         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27493         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27494         lazy binding.
27495         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27496         undefined symbol errors.
27498         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27499         DT_NEEDED entries.
27501 2012-04-05  Michael Matz  <matz@suse.de>
27503         [BZ #13592]
27504         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27506 2012-04-05  Andreas Jaeger  <aj@suse.de>
27508         [BZ #13908]
27509         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27510         comment.
27512 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27514         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27515         which ROUND is no valid rounding mode.
27517 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27519         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27520         read again.
27521         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27523 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27525         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27526         an exception using FPU order intentionally.
27528 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27530         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27531         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27532         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27533         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27535 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27537         [BZ #12340]
27538         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27539         EINVAL when BUFLEN is too smal.
27541 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27543         [BZ #13553]
27544         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27545         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27547 2012-04-03  Andreas Jaeger  <aj@suse.de>
27549         [BZ #13938]
27550         * manual/setjmp.texi (System V contexts): Fix sentence.
27552         [BZ #13926]
27553         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27554         New macro for this case.
27555         [!__GNUC__] (__bswap_64): New inline function for this case.
27556         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27557         * bits/byteswap.h: Likewise.
27558         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27559         ull, guard with __GLIBC_HAVE_LONG_LONG.
27561         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27562         __GLIBC_HAVE_LONG_LONG.
27564         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27565         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27567 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27569         [BZ #13691]
27570         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27571         inptr and inend, rather than using last_ch.
27573 2012-04-02  David S. Miller  <davem@davemloft.net>
27575         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27576         * stdio-common/printf-parse.h (read_int): Change return type to
27577         'int', return -1 on INT_MAX overflow.
27578         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27579         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27580         overflows INT_MAX.  Check for overflow of in-format-string precision
27581         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27582         SIZE_MAX not INT_MAX for integer overflow test.
27583         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27584         skip the construct in the format string but do not record anything.
27585         * stdio-common/bug22.c: Adjust to test both width/prevision
27586         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27587         explicitly for proper errno values.
27589 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27591         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27592         CHAR_MAX.
27593         * string/test-strcmp.c [! WIDE]: Likewise.
27594         * time/tst-mktime2.c: Likewise for INT_MAX.
27595         * string/test-string.h: #include <sys/param.h> for MIN.
27597         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27598         * sysdeps/i386/init-first.c (init): Likewise.
27599         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27600         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27601         * sysdeps/sh/init-first.c (init): Likewise.
27603 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27605         * po/ru.po: Update from translation team.
27606         * po/vi.po: Likewise.
27608 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27610         * resolv/nss_dns/dns-host.c: Merge copyright years.
27612 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27614         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27615         Optimize memcpy with prefetch if
27616         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27617         src, dst pointers have unequal 16 byte alignments.
27619 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27621         [BZ #13928]
27622         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27623         from a CNAME entry and return the minimum ttl for the query.
27624         (gaih_getanswer_slice): Likewise.
27626 2012-03-30  Jeff Law  <law@redhat.com>
27628         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27629         due to long keys.
27630         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27631         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27633         * resolv/nss_dns/dns-host.c: Update copyright year.
27635 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27637         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27638         requests to save a system call.  Fix check that all bytes are sent.
27640         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27641         comments for sendmmsg.
27643 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27645         [BZ #13691]
27646         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27647         with only 1 character between 0x0041 and 0x01b0.
27648         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27649         * wcsmbs/tst-mbsnrtowcs.c: New file.
27651 2012-03-29  David S. Miller  <davem@davemloft.net>
27653         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27654         small copies by hand.
27656 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27658         [BZ #13761]
27659         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27660         _nss_compat_initgroups_dyn): Fall back to malloc/free
27661         for large group memberships.
27663 2012-03-28  David S. Miller  <davem@davemloft.net>
27665         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27666         that branches into memcpy.
27667         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27668         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27669         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27670         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27671         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27672         bits.
27673         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27674         implementation too.
27675         * sysdeps/sparc/mempcpy.S: New file.
27677         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27678         the IFUNC routine in the libc case.
27679         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27681         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27682         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27683         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27684         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27685         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27686         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27687         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27688         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27690         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27691         loop to 256 bytes instead of 64 bytes and fix test signedness.
27693         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27694         * sysdeps/sparc/sparc32/Makefile: rather than here...
27695         * sysdeps/sparc/sparc64/Makefile: and here.
27697 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27699         * malloc/mallocbug.c: Avoid warnings about unused variables.
27701 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27703         [BZ #13760]
27704         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27705         in the right place. Discard and retry query if response is
27706         larger than input buffer size.
27708 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27710         [BZ #369]
27711         [BZ #2678]
27712         [BZ #3866]
27713         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27714         x for large integer exponent.
27715         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27716         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27717         sign of result as needed afterwards.
27718         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27719         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27720         result for underflowing pow the same as for overflow.
27721         (__kernel_standard_l): Handle powl overflow and underflow here
27722         rather than calling __kernel_standard.
27723         * math/libm-test.inc (pow_test): Add more tests.
27725         [BZ #3868]
27726         [BZ #13879]
27727         [BZ #13910]
27728         [BZ #13911]
27729         [BZ #13912]
27730         [BZ #13913]
27731         [BZ #13915]
27732         [BZ #13916]
27733         [BZ #13917]
27734         [BZ #13918]
27735         [BZ #13919]
27736         [BZ #13920]
27737         [BZ #13921]
27738         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27739         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27740         (__kernel_standard_l): New function.
27741         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27742         __kernel_standard.
27743         * math/w_acosl.c (__acosl): Likewise.
27744         * math/w_asinl.c (__asinl): Likewise.
27745         * math/w_atan2l.c (__atan2l): Likewise.
27746         * math/w_atanhl.c (__atanhl): Likewise.
27747         * math/w_coshl.c (__coshl): Likewise.
27748         * math/w_exp10l.c (__exp10l): Likewise.
27749         * math/w_exp2l.c (__exp2l): Likewise.
27750         * math/w_fmodl.c (__fmodl): Likewise.
27751         * math/w_hypotl.c (__hypotl): Likewise.
27752         * math/w_j0l.c (__j0l, __y0l): Likewise.
27753         * math/w_j1l.c (__j1l, __y1l): Likewise.
27754         * math/w_jnl.c (__jnl, __ynl): Likewise.
27755         * math/w_lgammal.c (__lgammal): Likewise.
27756         * math/w_log10l.c (__log10l): Likewise.
27757         * math/w_log2l.c (__log2l): Likewise.
27758         * math/w_logl.c (__logl): Likewise.
27759         * math/w_powl.c (__powl): Likewise.
27760         * math/w_remainderl.c (__remainderl): Likewise.
27761         * math/w_scalbl.c (sysv_scalbl): Likewise.
27762         * math/w_sinhl.c (__sinhl): Likewise.
27763         * math/w_sqrtl.c (__sqrtl): Likewise.
27764         * math/w_tgammal.c (__tgammal): Likewise.
27765         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27766         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27767         * math/libm-test.inc (acos_test): Add more tests.
27768         (acosh_test): Likewise.
27769         (asin_test): Likewise.
27770         (atanh_test): Likewise.
27771         (exp_test): Likewise.
27772         (exp10_test): Likewise.
27773         (exp2_test): Likewise.
27774         (expm1_test): Likewise.
27775         (lgamma_test): Likewise.
27776         (log_test): Likewise.
27777         (log10_test): Likewise.
27778         (log1p_test): Likewise.
27779         (log2_test): Likewise.
27780         (pow_test): Do not allow some spurious overflow exceptions.
27781         (sqrt_test): Add more tests.
27782         (tgamma_test): Likewise.
27783         (y0_test): Likewise.
27784         (y1_test): Likewise.
27785         (yn_test): Likewise.
27787 2012-03-27  Anton Blanchard  <anton@samba.org>
27789         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27790         MAP_HUGETLB.
27791         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27792         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27793         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27795 2012-03-27  David S. Miller  <davem@davemloft.net>
27797         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27799         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27800         have-as-vis3 check.
27802 2012-03-27  Andreas Jaeger  <aj@suse.de>
27804         * sysdeps/x86_64/elf/configure.in: Moved to ...
27805         * sysdeps/x86_64/configure.in: ... here.
27806         * sysdeps/x86_64/elf/start.S: Moved to ...
27807         * sysdeps/x86_64/start.S: ... here.
27808         * sysdeps/x86_64/elf/configure: Delete.
27810         * sysdeps/x86_64/configure.in: Merge contents from
27811         sysdeps/i386/configure.in (without i686 check).
27813         * sysdeps/i386/elf/Versions: Merge into ...
27814         * sysdeps/i386/Versions: ... this.
27815         * sysdeps/i386/elf/Versions: Delete file.
27816         * sysdeps/i386/elf/start.S: Moved to ...
27817         * sysdeps/i386/start.S: ...here.
27818         * sysdeps/i386/elf/configure.in: Merge into...
27819         * sysdeps/i386/configure.in: ...here.
27820         * sysdeps/i386/elf/configure.in: Delete file.
27821         * sysdeps/i386/elf/configure: Delete file.
27823         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27824         * debug/backtracesyms.c: ... here.
27825         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27826         * debug/backtracesymsfd.c: ... here.
27827         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27828         * sysdeps/generic/ifunc-sel.h: ... here.
27830         * sysdeps/unix/i386/start.c: Delete file.
27831         * sysdeps/unix/sparc/start.c: Delete file.
27832         * sysdeps/unix/start.c: Delete file.
27834         * sysdeps/sh/elf/configure.in: Moved to ...
27835         * sysdeps/sh/configure.in: ... here.
27836         * sysdeps/sh/elf/start.S: Moved to ...
27837         * sysdeps/sh/start.S: ... here.
27838         * sysdeps/sh/elf/configure: Delete file.
27840         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27841         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27842         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27843         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27844         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27845         * sysdeps/powerpc/powerpc64/start.S: here.
27846         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27847         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27848         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27849         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27850         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27852         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27853         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27854         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27855         * sysdeps/powerpc/powerpc32/start.S: ... here.
27856         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27857         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27858         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27860         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27861         * sysdeps/powerpc/ifunc-sel.h: ... here.
27862         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27863         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27865         * sysdeps/sparc/elf/configure.in: Moved to ...
27866         * sysdeps/sparc/configure.in: ... here.
27867         * sysdeps/sparc/elf/configure: Delete file.
27868         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27869         * sysdeps/sparc/sparc32/start.S: ... here.
27870         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27871         * sysdeps/sparc/sparc64/start.S: ... here.
27872         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27873         * sysdeps/sparc/sparc32/Makefile: ... this.
27874         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27875         * sysdeps/sparc/sparc64/Makefile: ... this.
27877         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27878         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27879         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27880         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27881         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27882         * sysdeps/s390/s390-32/setjmp.S: ... here.
27883         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27884         * sysdeps/s390/s390-32/configure.in: ... here.
27885         * sysdeps/s390/s390-32/elf/configure: Delete file.
27886         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27887         * sysdeps/s390/s390-32/start.S: ... here.
27889         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27890         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27891         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27892         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27893         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27894         * sysdeps/s390/s390-64/setjmp.S: ... here.
27895         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27896         * sysdeps/s390/s390-64/configure.in: ... here
27897         * sysdeps/s390/s390-64/elf/configure: Delete file.
27898         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27899         * sysdeps/s390/s390-64/start.S: ... here.
27900         * sysdeps/s390/s390-64/elf/configure: Delete.
27902         * configure.in: Remove support for elf directories in sysdeps.
27904         * configure: Regenerated.
27905         * sysdeps/i386/configure: Regenerated.
27906         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27907         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27908         * sysdeps/s390/s390-32/configure: Regenerated.
27909         * sysdeps/s390/s390-64/configure: Regenerated.
27910         * sysdeps/sh/configure: Regenerated.
27911         * sysdeps/sparc/configure: Regenerated.
27912         * sysdeps/x86_64/configure: Regenerated.
27914 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27918         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27919         denormal result into account.
27921 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27923         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27924         Reported by Allan McRae <allan@archlinux.org>.
27926 2012-03-23  Jeff Law  <law@redhat.com>
27928         * nss/getnssent.c (__nss_getent): Fix typo.
27930 2012-03-23  David S. Miller  <davem@davemloft.net>
27932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27934 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27936         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27937         to pad to uint64_t for each field.
27938         (dl_tls_index): Replace unsigned long with uint64_t.
27940 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27941         Paul Pluzhnikov  <ppluzhnikov@google.com>
27943         [BZ #6528]
27944         * grp/Makefile (otherlibs): Don't set it.
27945         * inet/Makefile (otherlibs): Likewise.
27946         * login/Makefile (otherlibs): Likewise.
27947         * nscd/Makefile (otherlibs): Likewise.
27948         * posix/Makefile (otherlibs): Likewise.
27949         * pwd/Makefile (otherlibs): Likewise.
27950         * rt/Makefile (otherlibs): Likewise.
27951         * sunrpc/Makefile (otherlibs): Likewise.
27952         * nss/Makefile (otherlibs): Likewise.
27953         Add libnss_files to routines and static-only-routines.
27954         ($(objpfx)getent): Remove rule.
27955         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27956         static-only-routines.
27958 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27960         [BZ #13892]
27961         * math/s_cexp.c: Include <float.h>.
27962         (__cexp): Handle exp result overflowing not necessarily
27963         overflowing both real and imaginary parts of result.
27964         * math/s_cexpf.c: Likewise.
27965         * math/s_cexpl.c: Likewise.
27966         * math/libm-test.inc (cexp_test): Add more tests.
27967         * sysdeps/i386/fpu/libm-test-ulps: Update.
27968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27970 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27972         * include/link.h (ELFW): New macro.
27973         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27974         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27976 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27978         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27979         with uint64_t.
27981 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27983         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27984         declaration.
27985         (struct La_x32_retval): Likewise.
27987 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27989         * sysdeps/x86_64/preconfigure.in: New file.
27990         * sysdeps/x86_64/preconfigure: New generated file.
27992 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27994         [BZ #13824]
27995         * math/e_exp2l.c: Include <float.h>.
27996         (__ieee754_exp2l): Handle overflow and underflow cases
27997         separately.  Only pass fractional part of argument to
27998         __ieee754_expl.
27999         * math/libm-test.inc (exp2_test): Add more tests.
28001         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28002         negating x to take absolute value.
28003         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28004         Likewise.
28005         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28006         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28007         Likewise.
28008         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28009         computing low part if x was negated.
28010         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28012 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28014         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28015         la_x32_gnu_pltexit.
28016         (pltexit): Cast int_retval to ptrdiff_t.
28017         * elf/tst-auditmod3b.c: Likewise.
28018         * elf/tst-auditmod4b.c: Likewise.
28019         * elf/tst-auditmod5b.c: Likewise.
28020         * elf/tst-auditmod6b.c: Likewise.
28021         * elf/tst-auditmod6c.c: Likewise.
28022         * elf/tst-auditmod7b.c: Likewise.
28024         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28025         and x32_gnu_pltexit.
28027         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28028         __ELF_NATIVE_CLASS.
28029         (La_x32_regs): New macro.
28030         (La_x32_retval): Likewise.
28031         (la_x32_gnu_pltenter): New function prototype.
28032         (la_x32_gnu_pltexit): Likewise.
28034 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28036         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28037         exponent.
28039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28041         * configure.in (libc_cv_cc_nofma): Check for option to disable
28042         generation of FMA instructions.
28043         * configure: Regenerate.
28044         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28045         * sysdeps/ieee754/dbl-64/Makefile: New file.
28046         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28047         Remove brandred-fma4.
28048         (CFLAGS-brandred-fma4.c): Remove.
28049         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28050         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28051         define.
28052         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28053         define.
28055 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28057         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28058         LLONG_MAX != LONG_MAX.
28059         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28060         (_fitoa_word): Likewise.
28061         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28062         LLONG_MAX != LONG_MAX.
28063         * stdio-common/_itowa.h: Include <_itoa.h>.
28064         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28065         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28066         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28067         only if not defined.
28068         (_ITOA_WORD_TYPE): Likewise.
28069         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28070         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28072 2012-03-21  David S. Miller  <davem@davemloft.net>
28074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28076 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28078         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28079         of x86_64 when setting libc_cv_slibdir, libdir and
28080         libc_cv_localedir.
28081         * sysdeps/unix/sysv/linux/configure: Regenerated.
28083 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28085         * manual/lang.texi (Old Varargs): Remove section.
28086         (How Variadic): Update menu.
28087         (va_start): Do not mention varargs.h.
28089 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28090             Joseph Myers  <joseph@codesourcery.com>
28092         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28093         link test.
28094         * configure: Regenerated.
28096 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28098         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28099         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28100         conformtest.pl
28102 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28104         * NOTES: Remove.
28105         * Makefile (files-for-dist): Remove NOTES.
28106         (NOTES): Remove rule.
28107         * README: Don't refer to NOTES.
28108         * manual/creature.texi: Don't include macros.texi.
28109         * manual/intro.texi (creature.texi): Remove comment referring to
28110         NOTES.
28112         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28113         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28114         * configure: Regenerated.
28115         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28116         LIBC_TRY_CC_OPTION.
28117         (libc_cv_as_i686): Likewise.
28118         (libc_cv_cc_avx): Likewise.
28119         (libc_cv_cc_sse2avx): Likewise.
28120         (libc_cv_cc_fma4): Likewise.
28121         (libc_cv_cc_novzeroupper): Likewise.
28122         * sysdeps/i386/configure: Regenerated.
28124         [BZ #13883]
28125         * sysdeps/i386/fpu/s_cexp.S: Remove.
28126         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28127         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28128         * math/libm-test.inc (cexp_test): Add more tests.
28129         * sysdeps/i386/fpu/libm-test-ulps: Update.
28130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28132 2012-03-21  Allan McRae  <allan@archlinux.org>
28134         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28136 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28138         [BZ #13871]
28139         * math/w_exp2.c: Do not include <float.h>.
28140         (o_threshold, u_threshold): Remove.
28141         (__exp2): Calculate result before checking finiteness and calling
28142         __kernel_standard.
28143         * math/w_exp2f.c: Likewise.
28144         * math/w_exp2l.c: Likewise.
28145         * math/libm-test.inc (exp2_test): Require overflow exception for
28146         1e6 input.
28148         [BZ #3866]
28149         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28150         range of signed 64-bit integers before using fistpll.  Remove
28151         checks for whether integers fit in mantissa bits.
28152         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28153         the range of signed 32-bit integers before using fistpl.  Remove
28154         checks for whether integers fit in mantissa bits.
28155         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28156         (__ieee754_powl): Test for y outside the range of signed 64-bit
28157         integers before using fistpll.  Reduce 64-bit values to 63-bit
28158         ones as needed.
28159         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28160         divide-by-zero is raised for zero to large negative powers.
28161         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28162         (__ieee754_powl): Test for y outside the range of signed 64-bit
28163         integers before using fistpll.  Reduce 64-bit values to 63-bit
28164         ones as needed.
28165         * math/libm-test.inc (pow_test): Add more tests.
28167 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28169         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28170         <stdio-common/_itoa.h>.
28171         * debug/segfault.c: Likewise.
28172         * elf/dl-cache.c: Likewise.
28173         * elf/dl-minimal.c: Likewise.
28174         * elf/dl-misc.c: Likewise.
28175         * elf/dl-sysdep.c: Likewise.
28176         * elf/dl-version.c: Likewise.
28177         * elf/rtld.c: Likewise.
28178         * hurd/hurdsock.c: Likewise.
28179         * hurd/lookup-retry.c: Likewise.
28180         * malloc/malloc.c: Likewise.
28181         * malloc/mtrace.c: Likewise.
28182         * nscd/nscd_getgr_r.c: Likewise.
28183         * nscd/nscd_getpw_r.c: Likewise.
28184         * nscd/nscd_getserv_r.c: Likewise.
28185         * posix/getopt_init.c: Likewise.
28186         * posix/wordexp.c: Likewise.
28187         * stdio-common/_itoa.c: Likewise.
28188         * stdio-common/printf_fphex.c: Likewise.
28189         * stdio-common/vfprintf.c: Likewise.
28190         * string/_strerror.c: Likewise.
28191         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28192         * sysdeps/i386/i686/hp-timing.h: Likewise.
28193         * sysdeps/mach/_strerror.c: Likewise.
28194         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28195         * sysdeps/mach/hurd/sethostid.c: Likewise.
28196         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28197         * sysdeps/mach/xpg-strerror.c: Likewise.
28198         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28199         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28200         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28201         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28202         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28203         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28204         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28205         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28206         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28207         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28208         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28209         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28210         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28211         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28212         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28213         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28214         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28215         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28216         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28217         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28218         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28220         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28222         * stdio-common/_itoa.h: Moved to ...
28223         * sysdeps/generic/_itoa.h: Here.
28225         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28227         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28228         instead of "_itoa.h" and "_itowa.h".
28229         * stdio-common/vfprintf.: Likewise.
28231 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28233         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28234         <bits/wordsize.h>.
28235         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28236         (__signbit): Likwise.
28237         (llrintf): Likwise.
28238         (llrint): Likwise.
28240 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28242         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28243         __WORDSIZE != 64.
28245 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28247         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28248         OVERFLOW_EXCEPTION_OK.
28249         * math/libm-test.inc ("Philosophy"): Update comment about
28250         exception testing.
28251         (OVERFLOW_EXCEPTION): Define.
28252         (OVERFLOW_EXCEPTION_OK): Likewise.
28253         (INVALID_EXCEPTION_OK): Renumber.
28254         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28255         (IGNORE_ZERO_INF_SIGN): Likewise.
28256         (test_exceptions): Handle FE_OVERFLOW.
28257         (exp10_test): Expect overflow exceptions.
28258         (exp2_test): Likewise.
28259         (expm1_test): Likewise.
28260         (nextafter_test): Likewise.
28261         (pow_test): Likewise.
28262         (scalbn_test): Likewise.
28263         (scalbln_test): Likewise.
28265 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28267         * sysdeps/x86_64/bits/atomic.h
28268         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28269         64bit integer.
28270         (atomic_exchange_acq): Likewise.
28271         (__arch_exchange_and_add_body): Likewise.
28272         (__arch_add_body): Likewise.
28273         (atomic_add_negative): Likewise.
28274         (atomic_add_zero): Likewise.
28276 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28278         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28279         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28281 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28283         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28284         Check __x86_64__ instead of __WORDSIZE.
28286 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28288         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28290 2012-03-19  David S. Miller  <davem@davemloft.net>
28292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28294         * sysdeps/sparc/fpu/fenv_private.h: New file.
28295         * sysdeps/sparc/fpu/math_private.h: Use it.
28296         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28297         Remove.
28298         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28299         (libc_feholdexcept_setroundl): Remove.
28300         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28301         Remove.
28302         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28303         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28305 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28307         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28308         int64_t instead of long int.
28309         (INSERT_WORDS64): Likwise.
28311 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28313         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28314         _Unwind_GetCFA return to _Unwind_Ptr first.
28316 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28318         [BZ #13629]
28319         * math/s_clog.c: Include <float.h>.
28320         (__clog): Scale large or subnormal inputs.
28321         * math/s_clogf.c: Likewise.
28322         * math/s_clogl.c: Likewise.
28323         * math/s_clog10.c: Include <float.h>.
28324         (M_LOG10_2): Define.
28325         (__clog10): Scale large or subnormal inputs.
28326         * math/s_clog10f.c: Likewise.
28327         * math/s_clog10l.c: Likewise.
28328         * math/libm-test.inc (clog_test): Add more tests.
28329         (clog10_test): Likewise.
28330         * sysdeps/i386/fpu/libm-test-ulps: Update.
28331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28333         [BZ #11451]
28334         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28335         x and y.
28336         * math/libm-test.inc (atan2_test): Add another test.
28338         * Makerules (common-objdir-compile): Remove.
28339         * sysdeps/unix/Makefile (config-generated): Do not add
28340         $(unix-generated) to variable.
28341         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28342         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28343         Remove rule.
28344         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28345         Likewise.
28346         [generic bits/local_lim.h] (before-compile): Do not append to
28347         variable.
28348         [generic bits/local_lim.h] (common-generated): Likewise.
28349         [generic sys/param.h] (before-compile): Do not append to variable.
28350         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28351         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28352         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28353         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28354         include.
28355         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28356         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28357         [generic sys/param.h] ($(addprefix
28358         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28359         [generic sys/param.h] (common-generated): Do not append to
28360         variable.
28361         [generic sys/param.h] (sysdep_headers): Likewise.
28362         [generic bits/errno.h] (before-compile): Do not append to
28363         variable.
28364         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28365         rule.
28366         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28367         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28368         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28369         [generic bits/errno.h] (common-generated): Do not append to
28370         variable.
28371         [generic bits/ioctls.h] (before-compile): Do not append to
28372         variable.
28373         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28374         rule.
28375         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28376         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28377         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28378         rule.
28379         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28380         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28381         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28382         [generic bits/ioctls.h] (common-generated): Do not append to
28383         variable.
28384         [generic sys/syscall.h] (syscall.h): Remove variable.
28385         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28386         rule.
28387         [generic sys/syscall.h] (before-compile): Do not append to
28388         variable.
28389         [generic sys/syscall.h] (common-generated): Likewise.
28390         * sysdeps/unix/errnos-tmpl.c: Remove file.
28391         * sysdeps/unix/errnos.awk: Likewise.
28392         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28393         * sysdeps/unix/ioctls.awk: Likewise.
28394         * sysdeps/unix/mk-local_lim.c: Likewise.
28395         * sysdeps/unix/snarf-ioctls: Likewise.
28397 2012-03-19  Richard Henderson  <rth@twiddle.net>
28399         * sysdeps/i386/fpu/fenv_private.h: New file.
28400         * sysdeps/i386/fpu/math_private.h: Use it.
28401         (math_opt_barrier, math_force_eval): Remove.
28402         (libc_feholdexcept_setround_53bit): Remove.
28403         (libc_feupdateenv_53bit): Remove.
28404         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28405         (math_opt_barrier, math_force_eval): Remove.
28406         (libc_feholdexcept): Remove.
28407         (libc_feholdexcept_setround): Remove.
28408         (libc_fetestexcept, libc_fesetenv): Remove.
28409         (libc_feupdateenv_test): Remove.
28410         (libc_feupdateenv, libc_feholdsetround): Remove.
28411         (libc_feresetround): Remove.
28413         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28414         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28416         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28417         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28418         (libc_feupdateenv_testl): New.
28419         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28420         (libc_feupdateenv_testf): New.
28421         (libc_feupdateenv): Use libc_feupdateenv_test.
28422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28423         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28425         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28426         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28427         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28428         (libc_feresetround_noex): New.
28429         (libc_feresetround_noexf): New.
28430         (libc_feresetround_noexl): New.
28431         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28432         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28433         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28434         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28435         SET_RESTORE_ROUND.
28436         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28437         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28438         (__cos): Likewise.
28439         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28440         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28441         SET_RESTORE_ROUND_NOEX.
28442         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28443         SET_RESTORE_ROUND_NOEXF.
28444         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28445         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28446         (libc_feholdsetroundf): New.
28447         (libc_feresetround, libc_feresetroundf): New.
28449         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28450         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28451         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28453         * sysdeps/generic/math_private.h: Include <fenv.h>.
28454         (default_libc_feholdexcept): New.
28455         (default_libc_feholdexcept_setround): New.
28456         (default_libc_fesetenv, default_libc_feupdateenv): New.
28457         (libc_feholdexcept): Only define if undefined.
28458         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28459         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28460         (libc_feholdexcept_setroundl): Likewise.
28461         (libc_feholdexcept_setround_53bit): Likewise.
28462         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28463         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28464         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28465         (libc_feupdateenv_53bit): Likewise.
28466         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28467         (libc_feholdexcept): Convert from macro to inline function.
28468         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28469         (libc_fesetenv, libc_feupdateenv): Likewise.
28471         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28472         not previously defined.
28473         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28474         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28475         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28476         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28477         * sysdeps/ieee754/flt-32/math_private.h: New file.
28478         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28479         math_private.h below SET_FLOAT_WORD.
28480         (__isnan, __isinf_ns, __finite): Remove.
28481         (__isnanf, __isinf_nsf, __finitef): Remove.
28483 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28487 2012-03-17  David S. Miller  <davem@davemloft.net>
28489         [BZ #6471]
28490         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28491         for 2.16.
28493 2012-03-16  David S. Miller  <davem@davemloft.net>
28495         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28496         warnings.
28498         [BZ #6471]
28499         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28500         properly.
28501         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28502         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28503         sysdep_routines when subdir is sysvipc.
28504         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28505         __getshmlba helper.
28507         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28509 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28511         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28512         [__LP64__].
28514 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28516         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28517         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28518         (__lround): Renamed to ...
28519         (__llround): This.  Replace long int with long long int.
28520         Define lround functions as aliases of llround functions.
28521         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28523 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28525         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28526         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28527         adresses to uintptr_t.  Replace "long int" and "unsigned long
28528         int" with "greg_t" on va_arg.
28530 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28532         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28533         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28535         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28536         Move e_machine check before EI_CLASS check.  Handle x32
28537         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28538         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28539         SKIP_EM_IA_64 and include
28540         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28542         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28543         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28544         (add_system_dir): New macro.
28546         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28547         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28549 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28551         [BZ #2551]
28552         [BZ #2552]
28553         [BZ #2553]
28554         [BZ #2554]
28555         [BZ #2562]
28556         [BZ #2563]
28557         [BZ #2565]
28558         [BZ #2566]
28559         [BZ #2576]
28560         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28561         (y0): Likewise.
28562         * math/w_j0f.c (j0f): Likewise.
28563         (y0f): Likewise.
28564         * math/w_j0l.c (__j0l): Likewise.
28565         (__y0l): Likewise.
28566         * math/w_j1.c (j1): Likewise.
28567         (y1): Likewise.
28568         * math/w_j1f.c (j1f): Likewise.
28569         (y1f): Likewise.
28570         * math/w_j1l.c (__j1l): Likewise.
28571         (__y1l): Likewise.
28572         * math/w_jn.c (jn): Likewise.
28573         (yn): Likewise.
28574         * math/w_jnf.c (jnf): Likewise.
28575         (ynf): Likewise.
28576         * math/w_jnl.c (__jnl): Likewise.
28577         (__ynl): Likewise.
28578         * math/libm-test.inc (j0_test): Add more tests.
28579         (j1_test): Likewise.
28580         (jn_test): Likewise.  Add trailing semicolon to existing test.
28581         (y0_test): Likewise.
28582         (y1_test): Likewise.
28583         * sysdeps/i386/fpu/libm-test-ulps: Update.
28584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28586         [BZ #13851]
28587         [BZ #13854]
28588         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28589         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28590         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28591         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28592         (__tanl): Set errno for infinite argument.
28593         * sysdeps/i386/fpu/mptan.c: Remove.
28594         * sysdeps/i386/fpu/s_tan.S: Likewise.
28595         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28596         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28597         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28598         * math/libm-test.inc (tan_test): Add more tests and enable more
28599         tests for double and long double.
28600         * sysdeps/i386/fpu/libm-test-ulps: Update.
28601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28603 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28605         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28606         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28608 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28610         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28611         * configure.in: Use it for both main tree and add-ons.
28612         * configure: Regenerated.
28614 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28616         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28618 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28620         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28621         in comment.
28623         [BZ #13851]
28624         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28625         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28627         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28629         infinite argument.
28630         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28631         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28632         != 0 for prec == 2.
28633         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28634         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28635         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28636         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28637         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28638         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28639         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28640         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28641         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28642         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28643         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28644         * math/libm-test.inc (cos_test): Add more tests and enable more
28645         tests for long double.
28646         (sin_test): Likewise.
28647         (sincos_test): Likewise.
28648         * sysdeps/i386/fpu/libm-test-ulps: Update.
28649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28651 2012-03-16  David S. Miller  <davem@davemloft.net>
28653         * sysdeps/sparc/fpu/math_private.h: New file.
28655 2012-03-15  David S. Miller  <davem@davemloft.net>
28657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28658         file.
28659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28661         file.
28662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28663         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28666         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28667         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28668         sysdep routines.
28669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28671         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28672         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28674         * sysdeps/sparc/sparc-ifunc.h: New file.
28675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28676         sparc-ifunc.h
28677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28679         Likewise.
28680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28681         Likewise.
28682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28686         Likewise.
28687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28692         Likewise.
28693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28694         Likewise.
28695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28701         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28702         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28703         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28704         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28707         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28709         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28710         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28711         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28712         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28713         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28714         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28715         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28716         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28717         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28718         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28720 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28722         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28723         scaling.
28724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28726 2012-03-15  Andreas Jaeger  <aj@suse.de>
28728         [BZ #13852]
28729         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28730         ieee754/flt-32 implementation for sin, cos and sincos.
28731         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28732         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28733         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28734         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28735         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28736         ieee754/flt-32 implementation for tan.
28738         * math/libm-test.inc (cos_test): Enable some large input tests for
28739         float as well
28740         (sin_test): Likewise.
28741         (sincos_test): Likewise.
28742         (tan_test): Add tests for large input.
28744         * sysdeps/i386/fpu/libm-test-ulps: Update.
28746 2012-03-15  Andreas Jaeger  <aj@suse.de>
28748         [BZ #13658]
28749         * math/libm-test.inc (cos_test): Add more test cases.
28750         (sin_test): Likewise.
28751         (sincos_test): Likewise.
28753 2012-03-15  Andreas Jaeger  <aj@suse.de>
28755         [BZ #13837]
28756         * math/libm-test.inc (cos_test): Add a test case for large input
28757         value.
28758         (sin_test): Likewise.
28759         (sincos_test): Likewise.
28761 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28762         Joseph Myers  <joseph@codesourcery.com>
28764         [BZ #13658]
28765         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28766         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28767         * sysdeps/i386/fpu/branred.c: Likewise.
28768         * sysdeps/i386/fpu/dosincos.c: Likewise.
28769         * sysdeps/i386/fpu/mpa.c: Likewise.
28770         * sysdeps/i386/fpu/s_cos.S: Likewise.
28771         * sysdeps/i386/fpu/s_sin.S: Likewise.
28772         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28773         * sysdeps/i386/fpu/sincos32.c: Likewise.
28775         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28776         Define.
28777         (libc_feupdateenv_53bit): Define.
28778         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28779         Define.
28780         (libc_feupdateenv_53bit): Define.
28782         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28783         53 bit (without extend i386 double precision).
28785         * math/libm-test.inc (sincos_test): Add tests for large input.
28786         (sin): Likewise.
28787         (cos): Likewise.
28789         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28791 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28795 2012-03-15  David S. Miller  <davem@davemloft.net>
28797         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28798         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28799         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28800         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28805         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28813         file.
28814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28816         file.
28817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28819         file.
28820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28822         file.
28823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28824         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28825         fmin/fmax sysdep routines.
28826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28828 2012-03-14  David S. Miller  <davem@davemloft.net>
28830         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28832         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28834         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28835         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28836         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28837         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28838         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28839         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28840         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28842         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28843         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28844         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28845         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28846         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28847         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28848         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28849         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28850         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28851         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28852         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28853         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28854         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28855         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28856         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28857         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28858         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28859         routines.
28860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28861         file.
28862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28864         file.
28865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28867         file.
28868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28870         file.
28871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28873         file.
28874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28876         file.
28877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28878         file.
28879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28880         file.
28881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28882         file.
28883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28884         New file.
28885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28886         file.
28887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28888         file.
28889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28891         file.
28892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28894         file.
28895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28897         file.
28898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28900         VIS3 routines.
28902         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28903         New file.
28905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28907         * sysdeps/sparc/configure.in: New file.
28908         * sysdeps/sparc/configure: Generate.
28909         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28910         * configure: Regenerate.
28911         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28912         * config.make.in (have-as-vis3): New.
28913         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28914         available use -Av9d instead of -Av9a.
28915         * sysdeps/sparc/sparc64/Makefile: Likewise.
28916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28918         New file.
28919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28920         file.
28921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28922         New file.
28923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28924         file.
28925         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28926         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28927         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28928         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28929         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28931         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28932         fzeros/fnegs to load 0x80000000 into a float register instead of
28933         using the stack.
28934         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28936 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28938         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28939         bits/syscall.h.
28940         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28941         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28942         ($(inst_includedir)/bits/syscall.h): Remove rule.
28943         ($(objpfx)bits/syscall.d): Include instead of
28944         $(objpfx)syscall-list.d.
28945         (generated): Change syscall-list.h and syscall-list.d to
28946         bits/syscall.h and bits/syscall.d.
28948 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28950         [BZ #13846]
28951         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28953 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28955         [BZ #13841]
28956         * math/s_csqrt.c: Include <float.h>.
28957         (__csqrt): Scale large or subnormal inputs.
28958         * math/s_csqrtf.c: Likewise.
28959         * math/s_csqrtl.c: Likewise.
28960         * math/libm-test.inc (csqrt_test): Add more tests.
28961         * sysdeps/i386/fpu/libm-test-ulps: Update.
28962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28964         [BZ #13840]
28965         * math/libm-test.inc (hypot_test): Add more tests.
28967 2012-03-13  David S. Miller  <davem@davemloft.net>
28969         [BZ #13840]
28970         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28971         double-precision for the calculation instead of scaling.
28973 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28975         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28976         manipulate bits before adding and subtracting TWO52[sx].
28977         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28978         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28979         Likewise.
28980         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28982 2012-03-13  David S. Miller  <davem@davemloft.net>
28984         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28985         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28987         rtld-global-offsets.h
28988         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28990         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28991         large parameters.
28993         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28995         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28996         'err' in the ifdef scope in which it is actually used.
28998         * nss/nss_db/db-init.c: Include string.h
29000 2012-03-12  David S. Miller  <davem@davemloft.net>
29002         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29003         masking out of the most significant byte of random value used.
29004         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29005         Fix coding style in previous change.
29007         * sysdeps/unix/sysv/linux/kernel-features.h
29008         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29009         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29010         expression.
29011         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29012         later.
29014 2012-03-11  David S. Miller  <davem@davemloft.net>
29016         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29017         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29018         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29019         for 'resultvar' otherwise things get truncated on 64-bit.
29021         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29022         Fix masking out of the most significant byte of random value used.
29024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29026 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29030 2012-03-09  David S. Miller  <davem@davemloft.net>
29032         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29033         variables with appropriate CPP guards.
29034         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29035         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29036         on resulting framesize and the management of the outregs buffer for pltexit.
29037         Preserve floating point return values across _dl_call_pltexit call.
29038         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29039         framesize and the management of the outregs buffer for pltexit.
29040         Preserve floating point return values across _dl_call_pltexit
29041         call.
29042         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29043         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29044         (print_exit): Fix format string for return register value.
29046 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29048         * sunrpc/Makefile (others): Add rpcgen.
29049         ($(objpfx)rpcgen): Remove special build rule and dependency on
29050         libc.
29051         * sunrpc/rpcgen.c: New file.
29053 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29055         [BZ #13673]
29056         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29057         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29058         * sysdeps/i386/crti.S: Likewise.
29059         * sysdeps/i386/crtn.S: Likewise.
29060         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29061         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29062         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29063         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29064         * sysdeps/sh/crti.S: Likewise.
29065         * sysdeps/sh/crtn.S: Likewise.
29066         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29068         [BZ #13673]
29069         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29070         with URL.
29071         * locale/programs/locfile-kw.gperf: Likewise.
29072         * locale/programs/charmap-kw.h: Regenerated.
29073         * locale/programs/locfile-kw.h: Likewise.
29075         [BZ #13673]
29076         * intl/plural.y: Replace FSF snail mail address with URL.
29077         * intl/plural.c: Regenerated.
29079 2012-03-09  Richard Henderson  <rth@twiddle.net>
29081         * include/math_private.h: Remove file.
29082         * math/math_private.h: Move file ...
29083         * sysdeps/generic/math_private.h: ... here.
29085         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29086         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29087         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29089         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29090         and <math_private.h>.
29091         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29092         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29093         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29094         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29095         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29096         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29097         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29098         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29099         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29100         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29101         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29102         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29103         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29104         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29105         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29106         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29107         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29108         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29109         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29110         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29111         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29112         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29113         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29114         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29115         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29116         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29117         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29118         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29119         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29120         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29121         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29122         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29123         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29124         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29125         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29126         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29127         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29128         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29129         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29130         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29131         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29132         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29133         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29134         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29135         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29136         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29137         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29138         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29139         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29140         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29141         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29142         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29143         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29144         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29145         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29146         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29147         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29148         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29149         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29150         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29151         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29152         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29153         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29154         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29155         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29156         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29157         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29158         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29159         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29160         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29161         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29162         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29163         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29164         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29165         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29166         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29167         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29168         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29169         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29170         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29171         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29172         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29173         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29174         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29175         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29176         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29177         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29178         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29179         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29180         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29181         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29182         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29183         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29184         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29185         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29186         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29187         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29188         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29189         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29190         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29191         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29192         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29193         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29194         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29195         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29196         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29197         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29198         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29199         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29200         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29201         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29202         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29203         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29204         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29205         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29206         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29207         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29208         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29209         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29210         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29211         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29212         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29213         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29214         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29215         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29216         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29217         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29218         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29219         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29220         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29221         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29222         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29223         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29224         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29225         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29226         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29227         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29228         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29229         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29230         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29231         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29232         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29233         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29234         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29235         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29236         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29237         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29238         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29239         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29240         * sysdeps/ieee754/k_standard.c: Likewise.
29241         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29242         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29243         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29244         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29245         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29246         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29247         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29248         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29249         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29250         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29251         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29252         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29253         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29254         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29255         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29256         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29257         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29258         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29259         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29260         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29261         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29262         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29263         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29264         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29265         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29266         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29267         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29268         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29269         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29270         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29271         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29272         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29273         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29274         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29275         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29276         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29277         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29278         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29279         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29280         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29281         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29282         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29283         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29284         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29285         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29286         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29287         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29288         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29289         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29290         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29291         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29292         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29293         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29294         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29295         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29296         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29297         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29298         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29299         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29300         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29301         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29302         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29303         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29304         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29305         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29306         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29307         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29308         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29309         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29310         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29311         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29312         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29313         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29314         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29315         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29316         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29317         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29318         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29319         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29320         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29321         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29322         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29323         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29324         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29325         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29326         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29327         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29328         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29329         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29330         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29331         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29332         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29333         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29334         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29335         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29336         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29337         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29338         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29339         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29340         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29341         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29342         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29343         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29344         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29345         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29346         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29347         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29348         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29349         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29350         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29351         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29352         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29353         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29354         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29355         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29356         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29357         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29358         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29359         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29360         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29361         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29362         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29363         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29364         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29365         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29366         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29367         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29368         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29369         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29370         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29371         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29372         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29373         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29374         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29375         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29376         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29377         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29378         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29379         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29380         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29381         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29382         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29383         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29384         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29385         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29386         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29387         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29388         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29389         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29390         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29391         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29392         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29393         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29394         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29395         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29396         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29397         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29398         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29399         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29400         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29401         * sysdeps/ieee754/s_lib_version.c: Likewise.
29402         * sysdeps/ieee754/s_matherr.c: Likewise.
29403         * sysdeps/ieee754/s_signgam.c: Likewise.
29404         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29405         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29406         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29407         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29408         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29409         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29410         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29411         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29412         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29413         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29414         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29415         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29416         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29417         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29418         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29419         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29420         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29421         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29422         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29423         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29424         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29426 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29428         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29429         * sunrpc/rpc_main.c: Likewise.
29430         * sunrpc/rpc_svcout.c: Likewise.
29432 2012-03-09  David S. Miller  <davem@davemloft.net>
29434         * include/math_private.h: New file.
29436 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29438         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29439         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29440         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29441         from <bits/socket_type.h>.
29442         (enum __socket_type): Don't define here.
29443         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29445         bits/socket_type.h.
29447         [BZ #13566]
29448         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29449         checking __USE_GNU.
29451         * Makerules ($(inst_includedir)/%.h): New rule.
29452         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29453         (install-others): Remove variable setting.
29454         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29456 2012-03-08  Richard Henderson  <rth@twiddle.net>
29458         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29459         from macro to inline function; merge with the
29460         !__LIBC_INTERNAL_MATH_INLINES version.
29461         (__ieee754_sqrtf): Likewise.
29463         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29464         to inline function.
29465         (__rintf, __floor, __floorf): Likewise.
29467         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29468         macro to inline function.
29469         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29471         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29472         not <math/math_private.h>.
29474 2012-03-08  David S. Miller  <davem@davemloft.net>
29476         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29477         copyright year.
29478         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29480 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29482         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29483         normalization.
29484         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29485         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29487 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29489         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29490         be defined individually, they must be defined as a block.  Define
29491         S for printing a string instead of hidint the different by using a
29492         macro for adding the 'l'.
29493         * stdio-common/tst-fphex-wide.c: Adjust.
29495 2012-03-07  Marek Polacek  <polacek@redhat.com>
29497         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29499 2012-03-08  Marek Polacek  <polacek@redhat.com>
29501         [BZ #13806]
29502         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29503         * stdio-common/tst-fphex.c: Define a few macros to make the
29504         test reusable.  Use them.
29505         * stdio-common/tst-fphex-wide.c: New file.
29507 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29509         [BZ #6911]
29510         * manual/macros.texi (gnusystems): New macro.
29511         (nongnusystems): Likewise.
29512         (gnulinuxhurdsystems): Likewise.
29513         (gnuhurdsystems): Likewise..
29514         (gnulinuxsystems): Likewise.
29515         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29516         variants of the GNU system, not "GNU system".
29517         * manual/conf.texi: Likewise.
29518         * manual/errno.texi: Likewise.  Update example of errno macro
29519         expansion.
29520         * manual/filesys.texi: Likewise.
29521         (getumask): Document as specific to GNU/Hurd.
29522         * manual/install.texi: Likewise.  Reword some references to
29523         GNU/Linux.
29524         * manual/intro.texi: Likewise.
29525         * manual/io.texi: Likewise.
29526         (File Name Portability): Detail which constraints are inapplicable
29527         to all GNU systems and which are only inapplicable to GNU/Hurd.
29528         * manual/job.texi: Likewise.
29529         * manual/llio.texi: Likewise.
29530         (O_NOCTTY): Document as present on GNU/Linux.
29531         * manual/maint.texi: Likewise.
29532         * manual/memory.texi: Likewise.
29533         * manual/pattern.texi: Likewise.
29534         * manual/pipe.texi: Likewise.
29535         * manual/process.texi: Likewise.
29536         * manual/resource.texi: Likewise.
29537         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29538         child on GNU/Hurd.
29539         * manual/setjmp.texi: Likewise.
29540         * manual/signal.texi: Likewise.
29541         * manual/startup.texi: Likewise.
29542         * manual/stdio.texi: Likewise.
29543         * manual/terminal.texi: Likewise.
29544         (ONLCR): Document as POSIX.
29545         (OXTABS): Document availability on GNU/Linux as XTABS.
29546         (ONOEOT): Document availability separately from other bits.
29547         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29548         * manual/time.texi: Likewise.
29549         * manual/users.texi: Likewise.
29550         * INSTALL: Regenerated.
29551         * sysdeps/gnu/errlist.c: Regenerated.
29553         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29554         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29555         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29556         puts.
29557         * configure: Regenerated.
29559 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29561         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29562         default includes instead of AC_HEADER_CHECK.
29563         * sysdeps/i386/configure: Regenerated.
29565         [BZ #10716]
29566         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29567         * math/s_cacoshf.c (__cacoshf): Likewise.
29568         * math/s_cacoshl.c (__cacoshl): Likewise.
29569         * math/s_casinh.c (__casinh): Set signs of result from argument.
29570         * math/s_casinhf.c (__casinhf): Likewise.
29571         * math/s_casinhl.c (__casinhl): Likewise.
29572         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29573         (casinh_test): Add more tests.
29574         * sysdeps/i386/fpu/libm-test-ulps: Update.
29575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29577 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29579         * po/zh_TW.po: Update from translation team.
29581         * login/Makefile (distribute): Remove variable.
29582         * catgets/Makefile: Likewise.
29583         * mach/Makefile: Likewise.
29584         * malloc/Makefile: Likewise.
29585         * misc/Makefile: Likewise.
29586         * iconv/Makefile: Likewise.
29587         * nscd/Makefile: Likewise.
29588         * hurd/Makefile: Likewise.
29589         * manual/Makefile: Likewise.
29590         * locale/Makefile: Likewise.
29591         * intl/Makefile: Likewise.
29592         * conform/Makefile: Likewise.
29593         * nss/Makefile: Likewise.
29594         * time/Makefile: Likewise.
29595         * soft-fp/Makefile: Likewise.
29596         * dirent/Makefile: Likewise.
29597         * gmon/Makefile: Likewise.
29598         * po/Makefile: Likewise.
29599         * rt/Makefile: Likewise.
29600         * socket/Makefile: Likewise.
29601         * math/Makefile: Likewise.
29602         * signal/Makefile: Likewise.
29603         * debug/Makefile: Likewise.
29604         * elf/Makefile: Likewise.
29605         * timezone/Makefile: Likewise.
29606         * stdlib/Makefile: Likewise.
29607         * iconvdata/Makefile: Likewise.
29608         * sunrpc/Makefile: Likewise.
29609         * io/Makefile: Likewise.
29610         * argp/Makefile: Likewise.
29611         * inet/Makefile: Likewise.
29612         * hesiod/Makefile: Likewise.
29613         * grp/Makefile: Likewise.
29614         * csu/Makefile: Likewise.
29615         * wctype/Makefile: Likewise.
29616         * crypt/Makefile: Likewise.
29617         * libio/Makefile: Likewise.
29618         * string/Makefile: Likewise.
29619         * nis/Makefile: Likewise.
29620         * resolv/Makefile: Likewise.
29621         * stdio-common/Makefile: Likewise.
29622         * wcsmbs/Makefile: Likewise.
29623         * dlfcn/Makefile: Likewise.
29624         * posix/Makefile: Likewise.
29626         [BZ #6959]
29627         * timezone/Makefile: Don't install timezone files, just the programs
29628         and scripts.
29630 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29632         * nss/databases.def: Add missing gshadow entry.
29634         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29636 2012-03-06  Marek Polacek  <polacek@redhat.com>
29638         [BZ #13726]
29639         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29640         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29641         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29642         * stdio-common/tst-long-dbl-fphex.c: New file.
29644 2012-03-06  David S. Miller  <davem@davemloft.net>
29646         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29647         (set_obp_int): New function.
29648         (get_obp_int): New function.
29649         (__get_clockfreq_via_dev_openprom): Likewise.
29650         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29651         Avoid unused variable warnings on 'val' and use builtin_expect.
29652         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29653         __builtin_expect.
29654         (INLINE_CLONE_SYSCALL): Likewise.
29656 2012-03-05  David S. Miller  <davem@davemloft.net>
29658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29660 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29664         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29665         only for |x| >= 40.
29666         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29668 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29670         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29671         Replace gettimeofday with __vdso_gettimeofday.
29673         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29674         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29675         __vdso_clock_gettime and __vdso_getcpu.
29677         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29678         time with __vdso_time.
29680 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29682         * manual/lang.texi (size_t): Note types to which size_t may be
29683         equivalent with the GNU C Library, but do not describe when
29684         differences between them are significant.
29686 2012-03-05  Andreas Jaeger  <aj@suse.de>
29688         * sysdeps/i386/fpu/libm-test-ulps: Update.
29690 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29692         [BZ #3976]
29693         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29694         (__ieee754_pow): Save and restore rounding mode and use
29695         round-to-nearest for main computations.
29696         * math/libm-test.inc (pow_test_tonearest): New function.
29697         (pow_test_towardzero): Likewise.
29698         (pow_test_downward): Likewise.
29699         (pow_test_upward): Likewise.
29700         (main): Call the new functions.
29701         * sysdeps/i386/fpu/libm-test-ulps: Update.
29702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29704         [BZ #3976]
29705         * math/libm-test.inc (cosh_test_tonearest): New function.
29706         (cosh_test_towardzero): Likewise.
29707         (cosh_test_downward): Likewise.
29708         (cosh_test_upward): Likewise.
29709         (sinh_test_tonearest): Likewise.
29710         (sinh_test_towardzero): Likewise.
29711         (sinh_test_downward): Likewise.
29712         (sinh_test_upward): Likewise.
29713         (main): Call the new functions.
29714         * sysdeps/i386/fpu/libm-test-ulps: Update.
29715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29717 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29719         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29720         default stack guard is set in last bytes.
29721         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29723 2012-03-05  Kees Cook  <keescook@chromium.org>
29725         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29727         [BZ #13656]
29728         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29729         possibly allocate from heap instead of stack.
29730         * stdio-common/bug-vfprintf-nargs.c: New file.
29731         * stdio-common/Makefile (tests): Add nargs overflow test.
29733 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29737 2012-03-03  Marek Polacek  <polacek@redhat.com>
29739         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29740         * math/math_private.h: Likewise.
29741         * stdlib/tst-strtod.c: Likewise.
29742         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29743         * sysdeps/x86_64/bits/atomic.h: Likewise.
29745 2012-03-02  David S. Miller  <davem@davemloft.net>
29747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29751         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29752         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29753         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29754         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29756 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29758         [BZ #13792]
29759         * manual/examples/README: New file, says the example source files
29760         can be used under GPL>=2.
29761         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29762         line containing just "*/".
29763         * manual/examples/add.c: Add copyright header (GPL>=2).
29764         * manual/examples/argp-ex1.c: Likewise.
29765         * manual/examples/argp-ex2.c: Likewise.
29766         * manual/examples/argp-ex3.c: Likewise.
29767         * manual/examples/argp-ex4.c: Likewise.
29768         * manual/examples/atexit.c: Likewise.
29769         * manual/examples/db.c: Likewise.
29770         * manual/examples/dir.c: Likewise.
29771         * manual/examples/dir2.c: Likewise.
29772         * manual/examples/execinfo.c: Likewise.
29773         * manual/examples/filecli.c: Likewise.
29774         * manual/examples/filesrv.c: Likewise.
29775         * manual/examples/fmtmsgexpl.c: Likewise.
29776         * manual/examples/genpass.c: Likewise.
29777         * manual/examples/inetcli.c: Likewise.
29778         * manual/examples/inetsrv.c: Likewise.
29779         * manual/examples/isockad.c: Likewise.
29780         * manual/examples/longopt.c: Likewise.
29781         * manual/examples/memopen.c: Likewise.
29782         * manual/examples/memstrm.c: Likewise.
29783         * manual/examples/mkfsock.c: Likewise.
29784         * manual/examples/mkisock.c: Likewise.
29785         * manual/examples/mygetpass.c: Likewise.
29786         * manual/examples/pipe.c: Likewise.
29787         * manual/examples/popen.c: Likewise.
29788         * manual/examples/rprintf.c: Likewise.
29789         * manual/examples/search.c: Likewise.
29790         * manual/examples/select.c: Likewise.
29791         * manual/examples/setjmp.c: Likewise.
29792         * manual/examples/sigh1.c: Likewise.
29793         * manual/examples/sigusr.c: Likewise.
29794         * manual/examples/stpcpy.c: Likewise.
29795         * manual/examples/strdupa.c: Likewise.
29796         * manual/examples/strftim.c: Likewise.
29797         * manual/examples/strncat.c: Likewise.
29798         * manual/examples/subopt.c: Likewise.
29799         * manual/examples/swapcontext.c: Likewise.
29800         * manual/examples/termios.c: Likewise.
29801         * manual/examples/testopt.c: Likewise.
29802         * manual/examples/testpass.c: Likewise.
29803         * manual/examples/timeval_subtract.c: Likewise.
29805         [BZ #13792]
29806         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29807         function to ...
29808         * manual/timeval_subtract.c.texi: ... here, new file.
29810 2012-03-02  David S. Miller  <davem@davemloft.net>
29812         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29814 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29816         [BZ #3976]
29817         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29818         (__sin): Save and restore rounding mode and use round-to-nearest
29819         for all computations.
29820         (__cos): Save and restore rounding mode and use round-to-nearest
29821         for all computations.
29822         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29823         <fenv.h>.
29824         (tan): Save and restore rounding mode and use round-to-nearest for
29825         all computations.
29826         * math/libm-test.inc (cos_test_tonearest): New function.
29827         (cos_test_towardzero): Likewise.
29828         (cos_test_downward): Likewise.
29829         (cos_test_upward): Likewise.
29830         (sin_test_tonearest): Likewise.
29831         (sin_test_towardzero): Likewise.
29832         (sin_test_downward): Likewise.
29833         (sin_test_upward): Likewise.
29834         (tan_test_tonearest): Likewise.
29835         (tan_test_towardzero): Likewise.
29836         (tan_test_downward): Likewise.
29837         (tan_test_upward): Likewise.
29838         (main): Call the new functions.
29839         * sysdeps/i386/fpu/libm-test-ulps: Update.
29840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29842         [BZ #10135]
29843         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29844         small n, then large n, before computing and testing k+n.
29845         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29846         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29847         Likewise.
29848         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29849         Likewise.
29850         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29851         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29852         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29853         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29854         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29855         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29856         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29857         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29858         * math/libm-test.inc (scalbn_test): Add more tests.
29859         (scalbln_test): Likewise.
29861         * manual/filesys.texi (mode_t): Describe constraints on size and
29862         signedness, not exact equivalence to a particular type.
29863         (ino_t): Likewise.
29864         (ino64_t): Likewise.
29865         (dev_t): Likewise.
29866         (nlink_t): Likewise.
29867         (blkcnt_t): Likewise.
29868         (blkcnt64_t): Likewise.
29869         * manual/llio.texi (off_t): Likewise.
29871         [BZ #3976]
29872         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29873         (__ieee754_exp): Save and restore rounding mode and use
29874         round-to-nearest for all computations.
29875         * math/libm-test.inc (exp_test_tonearest): New function.
29876         (exp_test_towardzero): Likewise.
29877         (exp_test_downward): Likewise.
29878         (exp_test_upward): Likewise.
29879         (main): Call the new functions.
29880         * sysdeps/i386/fpu/libm-test-ulps: Update.
29881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29883 2012-03-01  Chris Demetriou  <cgd@google.com>
29885         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29886         have predictable order.
29888 2012-03-01  David S. Miller  <davem@davemloft.net>
29890         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29892         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29893         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29894         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29895         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29897         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29898         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29899         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29901         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29902         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29903         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29904         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29905         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29909         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29910         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29911         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29913         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29914         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29915         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29916         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29917         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29918         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29919         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29920         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29921         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29922         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29923         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29924         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29925         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29926         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29927         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29928         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29929         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29930         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29931         * sysdeps/sparc/elf/configure: Regenerated.
29933 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29935         * configure.in (AS, LD): Require binutils 2.20 or later.
29936         * configure: Regenerated.
29937         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29938         as required minimum version.
29939         * INSTALL: Regenerated.
29941         [BZ #2541]
29942         [BZ #4108]
29943         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29944         before squaring exponent.
29945         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29946         bottom long double and 27 bits of top long double before squaring
29947         exponent.
29948         * math/libm-test.inc (erfc_test): Add more tests.
29949         * sysdeps/i386/fpu/libm-test-ulps: Update.
29950         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29953 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29955         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29956         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29957         containing bit-fields.
29958         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29959         * soft-fp/single.h (_FP_UNION_S): Likewise.
29960         * soft-fp/double.h (_FP_UNION_D): Likewise.
29962 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29964         [BZ #13786]
29965         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29966         not include ../strcmp.S.
29967         [USE_AS_STRNCASECMP_L]: Likewise.
29968         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29969         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29970         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29971         (__strncasecmp_l_ia32): Define as alias to
29972         __strncasecmp_l_nonascii.
29974         [BZ #5794]
29975         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29976         * sysdeps/i386/fpu/libm-test-ulps: Update.
29977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29979         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29982 2012-02-29  Jeff Law  <law@redhat.com>
29984         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29985         out of bounds read.
29987 2012-02-29  Marek Polacek  <polacek@redhat.com>
29989         [BZ #13706]
29990         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29991         * elf/Makefile: Add rules to run tst-unused-dep.out.
29993 2012-02-28  David S. Miller  <davem@davemloft.net>
29995         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29996         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29997         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29998         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29999         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30000         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30002 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30004         * math/libm-test.inc (llround_test): Move one test from
30005         lround_test.  Use TEST_f_L in moved test.
30006         (lround_test): Move misplaced test to llround_test.  Add testcase
30007         from bug 2561.
30009 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30011         * sysdeps/x86_64/fpu/e_expf.S: New file.
30012         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30014 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30016         [BZ #13637]
30017         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30018         of remain_len that may cause incomplete multi-byte character and
30019         false match.
30020         * posix/bug-regex33.c: New file.
30021         * posix/Makefile (tests): Add bug-regex33.
30023 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30025         * manual/macros.texi: New file.
30026         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30027         * manual/libc.texinfo: Include macros.texi.
30028         * manual/creatute.texi: Likewise.
30029         * manual/install.texi: Likewise.
30030         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30031         @glibcadj{} in references to the GNU C Library.
30032         * manual/charset.texi: Likewise.
30033         * manual/conf.texi: Likewise.
30034         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30035         when not using those macros.
30036         * manual/creature.texi: Likewise.
30037         * manual/crypt.texi: Likewise.
30038         * manual/errno.texi: Likewise.
30039         * manual/filesys.texi: Likewise.
30040         * manual/header.texi: Likewise.
30041         * manual/install.texi: Likewise.
30042         * manual/intro.texi: Likewise.
30043         * manual/io.texi: Likewise.
30044         * manual/job.texi: Likewise.
30045         * manual/lang.texi: Likewise.
30046         * manual/libc.texiinfo: Likewise.
30047         * manual/llio.texi: Likewise.
30048         * manual/locale.texi: Likewise.
30049         * manual/maint.texi: Likewise.
30050         * manual/math.texi: Likewise.
30051         * manual/memory.texi: Likewise.
30052         * manual/message.texi: Likewise.
30053         * manual/nss.texi: Likewise.
30054         * manual/pattern.texi: Likewise.
30055         * manual/process.texi: Likewise.
30056         * manual/resource.texi: Likewise.
30057         * manual/search.texi: Likewise.
30058         * manual/setjmp.texi: Likewise.
30059         * manual/signal.texi: Likewise.
30060         * manual/socket.texi: Likewise.
30061         * manual/startup.texi: Likewise.
30062         * manual/stdio.texi: Likewise.
30063         * manual/string.texi: Likewise.
30064         * manual/sysinfo.texi: Likewise.
30065         * manual/syslog.texi: Likewise.
30066         * manual/terminal.texi: Likewise.
30067         * manual/time.texi: Likewise.
30068         * manual/users.texi: Likewise.
30069         * INSTALL: Regenerated.
30070         * NOTES: Regenerated.
30071         * sysdeps/gnu/errlist.c: Regenerated.
30073 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30075         * include/dirent.h: Include <dirstream.h> before
30076         <dirent/dirent.h>.
30078 2012-02-28  David S. Miller  <davem@davemloft.net>
30080         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30081         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30082         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30083         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30085 2012-02-27  David S. Miller  <davem@davemloft.net>
30087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30089         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30090         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30093         frame pointer instead of stack pointer relative arg slot.
30094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30095         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30096         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30098 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30100         [BZ #3992]
30101         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30103 2012-02-27  David S. Miller  <davem@davemloft.net>
30105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30109         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30110         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30111         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30112         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30114 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30116         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30117         later.  Allow versions 5-9.
30118         * configure: Regenerated.
30119         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30120         required minimum version and 4.6 as recommended version.  Do not
30121         mention bugs in GCC 2.7 and 2.8.
30122         * INSTALL: Regenerated.
30124 2012-02-27  David S. Miller  <davem@davemloft.net>
30126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30130         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30131         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30132         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30133         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30135         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30136         manipulate bits before adding and subtracting TWO112[sx].
30137         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30139 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30141         [BZ #13775]
30142         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30143         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30144         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30145         being in POSIX, because they are in 1003.1-2008.
30147         * rt/tst-aio.c: Include <fcntl.h>.
30148         * rt/tst-aio7.c: Likewise.
30149         * rt/tst-aio64.c: Likewise.
30151         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30153 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30155         * manual/install.texi (--with-headers): Describe headers as
30156         interface headers, not private headers.
30157         (Specific advice for GNU/Linux systems): Describe use of headers
30158         from "make headers_install", not private headers from older
30159         kernels.
30160         * INSTALL: Regenerated.
30161         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30162         Change to 2.6.19.
30163         * sysdeps/unix/sysv/linux/configure: Regenerated.
30165         * manual/llio.texi (fclean): Remove documentation.
30167         * manual/Makefile (libc-texi-generated): New variable.  Include
30168         version.texi.
30169         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30170         $(libc-texi-generated), not duplicated list of files.
30171         (version.texi, stamp-version): New rules.
30172         (realclean): Remove $(libc-texi-generated), not individual files
30173         from that list.  Do not remove dir-add.texinfo.
30174         * manual/libc.texinfo: Comment out uses of edition numbers and
30175         references to printed manual.  Remove last-updated dates.
30176         (EDITION): Comment out.
30177         (ISBN): Likewise.
30178         (VERSION, UPDATED): Remove.
30179         (version.texi): Include.
30181 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30183         * sysdeps/posix/spawni.c: Include <signal.h>.
30184         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30185         * sysdeps/pthread/aio_fsync.c: Likewise.
30187 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30189         * conform/Makefile (tests): Run only when not cross-compiling and
30190         when fast-check is not defined.
30192         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30193         * conform/data/limits.h-data: Fixes for POSIX2008.
30194         * conform/run-conformtest.sh: Run all tests.
30195         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30196         headers.
30197         * include/bits/dlfcn.h: Likewise.
30198         * include/langinfo.h: Likewise.
30199         * include/monetary.h: Likewise.
30200         * include/sys/poll.h: Likewise.
30202         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30203         for __USE_GNU.
30204         * posix/spawn.h: Define __need_sigset_t.
30205         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30206         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30207         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30208         to get sigevent_t only.
30209         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30210         only for __USE_GNU.
30211         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30212         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30213         process_vm_writev only for __USE_GNU.
30214         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30216         * conform/Makefile: For now ignore errors from run-conformtest.
30217         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30218         POSIX to avoid namespace pollution.  Don't prepend headers.
30219         * conform/data/aio.h-data: Fixes for POSIX testing.
30220         * conform/data/fcntl.h-data: Likewise.
30221         * conform/data/glob.h-data: Likewise.
30222         * conform/data/grp.h-data: Likewise.
30223         * conform/data/pthread.h-data: Likewise.
30224         * conform/data/pwd.h-data: Likewise.
30225         * conform/data/signal.h-data: Likewise.
30226         * conform/data/spawn.h-data: Likewise.
30227         * conform/data/stdio.h-data: Likewise.
30228         * conform/data/stdlib.h-data: Likewise.
30229         * conform/data/stropts.h-data: Likewise.
30230         * conform/data/sys/mman.h-data: Likewise.
30231         * conform/data/sys/stat.h-data: Likewise.
30232         * conform/data/sys/types.h-data: Likewise.
30233         * conform/data/sys/wait.h-data: Likewise.
30234         * conform/data/time.h-data: Likewise.
30235         * conform/data/unistd.h-data: Likewise.
30236         * conform/data/utime.h-data: Likewise.
30238         * io/sys/stat.h: fchmod was always in POSIX.
30239         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30240         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30241         * rt/aio.h: Define __need_timespec before including <time.h>.
30242         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30243         struct.  Add forward declaration of pthread_attr_t and use it in
30244         sigevent.
30245         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30246         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30247         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30248         always remove CLK_TCK definition.
30250 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30252         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30254 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30256         * conform/run-conformtest.sh: New file.
30257         * conform/Makefile: Run run-conformtest for tests.
30258         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30259         support.
30261         * conform/data/uchar.h-data: New file.
30262         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30263         * conform/data/arpa/inet.h-data: Likewise.
30264         * conform/data/assert.h-data: Likewise.
30265         * conform/data/complex.h-data: Likewise.
30266         * conform/data/cpio.h-data: Likewise.
30267         * conform/data/ctype.h-data: Likewise.
30268         * conform/data/dirent.h-data: Likewise.
30269         * conform/data/dlfcn.h-data: Likewise.
30270         * conform/data/errno.h-data: Likewise.
30271         * conform/data/fcntl.h-data: Likewise.
30272         * conform/data/float.h-data: Likewise.
30273         * conform/data/fmtmsg.h-data: Likewise.
30274         * conform/data/fnmatch.h-data: Likewise.
30275         * conform/data/ftw.h-data: Likewise.
30276         * conform/data/glob.h-data: Likewise.
30277         * conform/data/grp.h-data: Likewise.
30278         * conform/data/iconv.h-data: Likewise.
30279         * conform/data/inttypes.h-data: Likewise.
30280         * conform/data/langinfo.h-data: Likewise.
30281         * conform/data/libgen.h-data: Likewise.
30282         * conform/data/limits.h-data: Likewise.
30283         * conform/data/locale.h-data: Likewise.
30284         * conform/data/math.h-data: Likewise.
30285         * conform/data/monetary.h-data: Likewise.
30286         * conform/data/mqueue.h-data: Likewise.
30287         * conform/data/ndbm.h-data: Likewise.
30288         * conform/data/net/if.h-data: Likewise.
30289         * conform/data/netdb.h-data: Likewise.
30290         * conform/data/netinet/in.h-data: Likewise.
30291         * conform/data/nl_types.h-data: Likewise.
30292         * conform/data/poll.h-data: Likewise.
30293         * conform/data/pthread.h-data: Likewise.
30294         * conform/data/pwd.h-data: Likewise.
30295         * conform/data/regex.h-data: Likewise.
30296         * conform/data/sched.h-data: Likewise.
30297         * conform/data/search.h-data: Likewise.
30298         * conform/data/semaphore.h-data: Likewise.
30299         * conform/data/setjmp.h-data: Likewise.
30300         * conform/data/signal.h-data: Likewise.
30301         * conform/data/spawn.h-data: Likewise.
30302         * conform/data/stdarg.h-data: Likewise.
30303         * conform/data/stdio.h-data: Likewise.
30304         * conform/data/stdlib.h-data: Likewise.
30305         * conform/data/string.h-data: Likewise.
30306         * conform/data/strings.h-data: Likewise.
30307         * conform/data/stropts.h-data: Likewise.
30308         * conform/data/sys/ipc.h-data: Likewise.
30309         * conform/data/sys/mman.h-data: Likewise.
30310         * conform/data/sys/msg.h-data: Likewise.
30311         * conform/data/sys/resource.h-data: Likewise.
30312         * conform/data/sys/select.h-data: Likewise.
30313         * conform/data/sys/sem.h-data: Likewise.
30314         * conform/data/sys/shm.h-data: Likewise.
30315         * conform/data/sys/socket.h-data: Likewise.
30316         * conform/data/sys/stat.h-data: Likewise.
30317         * conform/data/sys/statvfs.h-data: Likewise.
30318         * conform/data/sys/time.h-data: Likewise.
30319         * conform/data/sys/timeb.h-data: Likewise.
30320         * conform/data/sys/times.h-data: Likewise.
30321         * conform/data/sys/types.h-data: Likewise.
30322         * conform/data/sys/uio.h-data: Likewise.
30323         * conform/data/sys/un.h-data: Likewise.
30324         * conform/data/sys/utsname.h-data: Likewise.
30325         * conform/data/sys/wait.h-data: Likewise.
30326         * conform/data/syslog.h-data: Likewise.
30327         * conform/data/tar.h-data: Likewise.
30328         * conform/data/termios.h-data: Likewise.
30329         * conform/data/utime.h-data: Likewise.
30330         * conform/data/utmpx.h-data: Likewise.
30331         * conform/data/varargs.h-data: Likewise.
30332         * conform/data/wchar.h-data: Likewise.
30333         * conform/data/wctype.h-data: Likewise.
30334         * conform/data/wordexp.h-data: Likewise.
30336         * include/stropts.h: New file.
30337         * include/uchar.h: New file.
30338         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30339         * include/assert.h: Likewise.
30340         * include/ctype.h: Likewise.
30341         * include/dirent.h: Likewise.
30342         * include/dlfcn.h: Likewise.
30343         * include/fcntl.h: Likewise.
30344         * include/fnmatch.h: Likewise.
30345         * include/glob.h: Likewise.
30346         * include/grp.h: Likewise.
30347         * include/libio.h: Likewise.
30348         * include/locale.h: Likewise.
30349         * include/math.h: Likewise.
30350         * include/net/if.h: Likewise.
30351         * include/netdb.h: Likewise.
30352         * include/netinet/in.h: Likewise.
30353         * include/pthread.h: Likewise.
30354         * include/pwd.h: Likewise.
30355         * include/regex.h: Likewise.
30356         * include/sched.h: Likewise.
30357         * include/search.h: Likewise.
30358         * include/setjmp.h: Likewise.
30359         * include/signal.h: Likewise.
30360         * include/stdio.h: Likewise.
30361         * include/stdlib.h: Likewise.
30362         * include/string.h: Likewise.
30363         * include/sys/cdefs.h: Likewise.
30364         * include/sys/mman.h: Likewise.
30365         * include/sys/msg.h: Likewise.
30366         * include/sys/resource.h: Likewise.
30367         * include/sys/select.h: Likewise.
30368         * include/sys/socket.h: Likewise.
30369         * include/sys/stat.h: Likewise.
30370         * include/sys/statvfs.h: Likewise.
30371         * include/sys/time.h: Likewise.
30372         * include/sys/times.h: Likewise.
30373         * include/sys/uio.h: Likewise.
30374         * include/sys/utsname.h: Likewise.
30375         * include/sys/wait.h: Likewise.
30376         * include/termios.h: Likewise.
30377         * include/time.h: Likewise.
30378         * include/ulimit.h: Likewise.
30379         * include/unistd.h: Likewise.
30380         * include/utime.h: Likewise.
30381         * include/wchar.h: Likewise.
30382         * include/wctype.h: Likewise.
30383         * include/wordexp.h: Likewise.
30385         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30387         * time/time.h: TIME_UTC must be a macro.
30388         Make timespec_get available for ISO C11 only as well.
30390 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30392         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30393         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30395 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30397         * configure.in: Use -o not -a in test for unsupported multi-arch.
30399 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30401         * manual/texinfo.tex: Update to version 2012-01-19.16.
30403 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30405         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30407 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30409         [BZ #13738]
30410         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30411         * manual/fdl-1.3.texi: New file.
30412         * manual/fdl-1.1.texi: File removed.
30414         [BZ #13738]
30415         * manual/libc.texinfo (FDL_VERSION): New @set.
30416         Use it for mention of FDL in cover text.
30417         (Documentation License): Use it in @include file name.
30419 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30420             Roland McGrath  <roland@hack.frob.com>
30422         [BZ #5461]
30423         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30424         not LONG_LONG_MAX and LONG_LONG_MIN.
30425         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30426         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30427         name.
30428         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30430 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30432         [BZ #2547]
30433         [BZ #11365]
30434         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30435         manipulate bits before adding and subtracting TWO23[sx].
30436         * math/libm-test.inc (nearbyint_test): Add more tests.
30438 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30440         [BZ #2548]
30441         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30442         bits before adding and subtracting TWO23[sx].
30443         * math/libm-test.inc (rint_test): Add more tests.
30444         (rint_test_tonearest): Likewise.
30445         (rint_test_towardzero): Likewise.
30446         (rint_test_downward): Likewise.
30447         (rint_test_upward: Likewise.
30449 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30451         [BZ #10110]
30452         * include/stdc-predef.h: New file.  Extracted from features.h.
30453         * include/features.h: Include stdc-predef.h.
30454         * Makefile (headers): Add stdc-predef.h.
30455         * CONFORMANCE (Compiler limitations): Update.
30457 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30459         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30461 2012-02-21  David S. Miller  <davem@davemloft.net>
30463         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30464         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30466 2012-02-20  David S. Miller  <davem@davemloft.net>
30468         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30469         using a normal save/restore sequence, rather than allocating a
30470         dummy stack frame just to store a frame pointer and restore.
30471         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30473 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30475         * manual/install.texi: Fix stray word in line-wrapped comment.
30477 2012-02-20  David S. Miller  <davem@davemloft.net>
30479         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30480         both binutils and gcc support GOTDATA.
30482         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30483         "rd %pc" in the PIC register setup sequences.
30485         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30486         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30487         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30488         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30489         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30490         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30491         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30492         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30494         (SYSCALL_ERROR_HANDLER): Likewise.
30495         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30496         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30497         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30498         (SYSCALL_ERROR_HANDLER): Likewise.
30500         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30501         (HAVE_GCC_GOTDATA): New.
30502         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30503         relocation support in both binutils and gcc.
30504         * sysdeps/sparc/elf/configure: Regenerate.
30506         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30507         * sysdeps/sparc/sparc32/elf/configure: Delete.
30508         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30509         * sysdeps/sparc/sparc64/elf/configure: Delete.
30510         * sysdeps/sparc/elf/configure.in: New file.
30511         * sysdeps/sparc/elf/configure: Generate.
30513         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30514         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30515         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30516         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30517         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30519 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30521         * manual/install.texi: Do not mention specific glibc version
30522         numbers.
30523         * manual/libc.texinfo (VERSION, UPDATED): Update.
30524         (@copying): Use @copyright{} and range of years.
30526 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30528         [BZ #13695]
30529         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30530         [crti.S not in sysdirs] (generated): Do not append.
30531         [crti.S not in sysdirs] (omit-deps): Likewise.
30532         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30533         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30534         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30535         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30536         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30537         Likewise.
30538         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30539         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30540         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30541         * csu/defs.awk: Remove file.
30542         * sysdeps/generic/initfini.c: Likewise.
30543         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30544         variable.
30545         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30546         Likewise.
30548 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30550         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30551         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30552         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30553         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30554         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30555         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30556         <bits/epoll.h>.
30557         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30558         (__EPOLL_PACKED): Define to empty if not defined by
30559         <bits/epoll.h>.
30560         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30562         bits/epoll.h.
30564 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30566         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30567         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30568         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30569         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30570         <bits/timerfd.h>.
30571         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30572         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30573         bits/timerfd.h.
30575 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30577         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30578         in C locale.
30579         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30580         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30581         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30584 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30586         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30587         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30589 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30591         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30592         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30593         defined.
30594         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30595         Likewise.
30596         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30597         entry for 2.16.
30599 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30601         * math/w_acos.c: Use non-signaling floating-point comparisons.
30602         * math/w_acosf.c: Likewise.
30603         * math/w_acosh.c: Likewise.
30604         * math/w_acoshf.c: Likewise.
30605         * math/w_acoshl.c: Likewise.
30606         * math/w_acosl.c: Likewise.
30607         * math/w_asin.c: Likewise.
30608         * math/w_asinf.c: Likewise.
30609         * math/w_asinl.c: Likewise.
30610         * math/w_atanh.c: Likewise.
30611         * math/w_atanhf.c: Likewise.
30612         * math/w_atanhl.c: Likewise.
30613         * math/w_exp2.c: Likewise.
30614         * math/w_exp2f.c: Likewise.
30615         * math/w_exp2l.c: Likewise.
30616         * math/w_j0.c: Likewise.
30617         * math/w_j0f.c: Likewise.
30618         * math/w_j0l.c: Likewise.
30619         * math/w_j1.c: Likewise.
30620         * math/w_j1f.c: Likewise.
30621         * math/w_j1l.c: Likewise.
30622         * math/w_jn.c: Likewise.
30623         * math/w_jnf.c: Likewise.
30624         * math/w_log.c: Likewise.
30625         * math/w_log10.c: Likewise.
30626         * math/w_log10f.c: Likewise.
30627         * math/w_log10l.c: Likewise.
30628         * math/w_log2.c: Likewise.
30629         * math/w_log2f.c: Likewise.
30630         * math/w_log2l.c: Likewise.
30631         * math/w_logf.c: Likewise.
30632         * math/w_logl.c: Likewise.
30633         * math/w_sqrt.c: Likewise.
30634         * math/w_sqrtf.c: Likewise.
30635         * math/w_sqrtl.c: Likewise.
30636         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30637         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30638         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30639         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30640         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30642 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30644         [BZ #9739]
30645         * manual/string.texi (strnlen): Use correct parameter name in
30646         equivalent expression.
30648 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30650         [BZ #11174]
30651         * manual/users.texi (seteuid): Consistently use neweuid for
30652         argument name.
30654 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30656         [BZ #13704]
30657         * manual/nss.texi (Services in the NSS configuration): Correct
30658         list of services in example configuration file.
30660 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30662         [BZ #11322]
30663         * manual/arith.texi: Remove statements about negative zero
30664         behaving identically to zero.
30666 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30668         [BZ #5993]
30669         * manual/install.texi: Do not document upgrading from libc5.
30671 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30673         [BZ #4596]
30674         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30676 2012-02-18  David S. Miller  <davem@davemloft.net>
30678         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30679         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30680         %o7 across the call.
30681         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30682         instead.
30683         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30684         SETUP_PIC_REG_LEAF.
30685         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30686         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30687         * sysdeps/sparc/crtn.S: Likewise.
30689 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30691         * aout/Makefile: Remove.
30693 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30695         [BZ #13058]
30696         * manual/examples/argp-ex1.c (main): Format definition in GNU
30697         style.
30698         * manual/examples/argp-ex2.c (main): Likewise.
30699         * manual/examples/argp-ex3.c (main): Likewise.
30700         * manual/examples/argp-ex4.c (main): Likewise.
30701         * manual/examples/longopt.c (main): Use new-style prototype
30702         definition.
30703         * manual/examples/strncat.c (main): Specify return type and use
30704         (void) for arguments.
30705         * manual/examples/subopt.c (main): Use char **argv argument.
30707 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30709         [BZ #5077]
30710         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30711         rounding modes.
30713 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30715         [BZ #6907]
30716         * manual/string.texi (strchr): Change when strchrnul is
30717         recommended.
30719 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30721         [BZ #174]
30722         * manual/locale.texi (setlocale): Document LOCPATH.
30724 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30726         [BZ #10210]
30727         * manual/process.texi (execle): Move @dots{} before last argument.
30729 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30731         [BZ #12047]
30732         * manual/charset.texi (Generic Charset Conversion): Fix typo
30733         (LC_TYPE -> LC_CTYPE).
30735 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30737         [BZ #5805]
30738         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30739         (scalbnf): Likewise.
30740         (scalbnl): Likewise.
30741         (scalbln): Likewise.
30742         (scalblnf): Likewise.
30743         (scalblnl): Likewise.
30744         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30745         (vwarnx): Likewise.
30746         (verr): Likewise.
30747         (verrx): Likewise.
30748         * manual/filesys.texi (telldir): Use braces around return type.
30749         * manual/llio.texi (mmap): Add space after comma.
30750         (mmap64): Likewise.
30751         * manual/math.texi (jn): Use @var{} on parameter names.
30752         (jnf): Likewise.
30753         (jnl): Likewise.
30754         (yn): Likewise.
30755         (ynf): Likewise.
30756         (ynl): Likewise.
30757         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30758         line.
30759         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30760         "...".
30761         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30762         (sched_get_priority_max): Likewise.
30763         * manual/signal.texi (sigvec): Add space after comma.
30764         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30765         names.
30766         (if_indextoname): Likewise.
30767         (if_freenameindex): Likewise.
30768         (sendto): Use ',' instead of '.' in prototype.
30769         * manual/startup.texi (syscall): Use @dots{} instead of literal
30770         "...".
30771         * manual/stdio.texi (__fpending): Separate initial words of
30772         paragraph from @deftypefun line.
30773         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30774         "...".
30775         (vsyslog): Use @var{} on parameter names.
30776         * manual/terminal.texi (stty): Use @var{} on parameter names.
30777         * manual/users.texi (getutmp): Use @var{} on parameter names.
30778         (getutmpx): Likewise.
30780 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30782         [BZ #6884]
30783         * manual/stdio.texi (fopen): Fix typos in description of
30784         ",ccs=STRING".
30786 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30788         [BZ #4026]
30789         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30790         get clock_id definition.
30792 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30794         [BZ #4822]
30795         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30796         (madvise): Cast every argument to void on its own.
30798 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30800         [BZ #9902]
30801         * manual/startup.texi (Exit Status): Fix typo.
30803 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30805         [BZ #10140]
30806         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30807         * manual/examples/argp-ex2.c: Likewise.
30808         * manual/examples/argp-ex3.c: Likewise.
30810 2012-02-16  Richard Henderson  <rth@redhat.com>
30812         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30813         * sysdeps/s390/s390-32/initfini.c: Remove.
30814         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30815         * sysdeps/s390/s390-64/initfini.c: Remove.
30817 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30819         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30820         compiler output for sysdeps/generic/initfini.c.
30821         * sysdeps/sh/elf/initfini.c: Remove file.
30823 2012-02-16  David S. Miller  <davem@davemloft.net>
30825         [BZ #11494]
30826         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30828         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30829         * sysdeps/sparc/crti.S: New file.
30830         * sysdeps/sparc/crtn.S: New file.
30831         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30832         * sysdeps/sparc/sparc64/Makefile: Likewise.
30834 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30836         [BZ #3335]
30837         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30839 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30841         [BZ #4822]
30842         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30844         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30845         (write, read, close): Likewise.
30846         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30848 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30850         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30851         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30852         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30853         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30854         <bits/signalfd.h>.
30855         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30857         bits/signalfd.h.
30859 2012-02-14  Marek Polacek  <polacek@redhat.com>
30861         * sysdeps/x86_64/crti.S: New file.
30862         * sysdeps/x86_64/crtn.S: New file.
30863         * sysdeps/x86_64/elf/initfini.c: Remove file.
30865 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30867         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30868         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30869         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30870         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30871         <bits/inotify.h>.
30872         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30873         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30874         bits/inotify.h.
30876 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30878         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30879         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30880         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30881         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30882         <bits/eventfd.h>.
30883         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30884         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30885         bits/eventfd.h.
30887 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30889         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30890         __feraiseexcept instead of feraiseexcept.
30892         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30893         nanosleep invocations.
30894         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30895         strings, and add error checking for a nanosleep invocations.
30897 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30899         Replace FSF snail mail address with URLs, as per GNU coding standards.
30900         Most of the snail mail addresses were wrong anyway, and omitting
30901         them makes the source code easier to maintain.  Almost all of the
30902         changes are to license notices and to locale LC_IDENTIFICATION
30903         addresses, except for this one:
30904         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30905         not its snail mail address.
30907 2012-02-09  Richard Henderson  <rth@twiddle.net>
30909         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30910         of kernel-features.h.
30912         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30914 2012-02-08  Marek Polacek  <polacek@redhat.com>
30916         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30917         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30918         * sysdeps/gnu/_G_config.h: Likewise.
30919         * sysdeps/generic/_G_config.h: Likewise.
30921 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30923         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30924         tests.
30925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30927         * sysdeps/powerpc/powerpc32/crti.S: New file.
30928         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30929         * sysdeps/powerpc/powerpc64/crti.S: New file.
30930         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30932         * Makeconfig (have-initfini): Don't set.
30933         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30934         * configure.in (nopic_initfini): Don't substitute.
30935         * config.h.in (HAVE_INITFINI): Don't #undef.
30936         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30937         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30939 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30941         Support crti.S and crtn.S provided directly by architectures.
30942         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30943         [crti.S in sysdirs] (omit-deps): Likewise.
30944         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30945         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30946         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30947         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30948         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30949         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30950         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30951         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30952         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30953         compiler output for sysdeps/generic/initfini.c.
30954         * sysdeps/i386/elf/Makefile: Remove file.
30955         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30957 2012-02-07  Marek Polacek  <polacek@redhat.com>
30959         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30960         * sysdeps/gnu/_G_config.h: Likewise.
30961         * sysdeps/mach/hurd/_G_config.h: Likewise.
30963 2012-02-07  Marek Polacek  <polacek@redhat.com>
30965         * math/Makefile (tests): Add tst-CMPLX2.
30966         * math/tst-CMPLX2.c: New file.
30968 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30970         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30972         * math/libm-test.inc (jn_test): Add missing L suffix.
30974 2012-02-06  Marek Polacek  <polacek@redhat.com>
30976         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30977         * sysdeps/i386/fpu/e_powf.S: Likewise.
30978         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30979         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30980         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30981         * sysdeps/i386/fpu/e_pow.S: Likewise.
30982         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30983         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30984         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30985         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30986         * sysdeps/i386/fpu/e_log2.S: Likewise.
30987         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30988         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30989         * sysdeps/i386/fpu/e_powl.S: Likewise.
30990         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30991         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30992         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30993         * sysdeps/i386/fpu/e_logl.S: Likewise.
30994         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30995         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30996         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30997         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30998         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30999         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31000         * sysdeps/i386/fpu/e_log.S: Likewise.
31001         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31002         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31003         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31004         * sysdeps/i386/fpu/e_logf.S: Likewise.
31005         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31006         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31007         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31008         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31009         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31010         * sysdeps/i386/fpu/e_log10.S: Likewise.
31011         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31012         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31013         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31014         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31015         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31016         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31017         * sysdeps/i386/asm-syntax.h: Likewise.
31018         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31019         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31020         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31021         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31022         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31023         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31024         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31025         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31026         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31027         * sysdeps/powerpc/sysdep.h: Likewise.
31028         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31029         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31031 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31033         [BZ #411]
31034         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31036 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31038         * sysdeps/i386/sysdep.h: Include <features.h>.
31039         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31040         version.
31042 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31044         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31045         Define.
31046         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31047         LOAD_PIC_REG_STR.
31049 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31051         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31052         (SETUP_PIC_REG): Use GET_PC_THUNK.
31053         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31054         macro.
31056 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31058         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31059         for non-PIC compilation.
31060         (SETUP_PIC_REG): Add .p2align directive.
31061         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31062         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31063         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31064         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31065         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31066         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31067         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31068         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31069         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31070         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31071         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31072         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31073         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31074         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31075         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31076         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31077         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31078         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31079         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31080         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31081         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31082         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31083         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31084         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31085         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31087         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31088         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31089         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31090         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31091         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31092         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31093         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31094         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31095         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31096         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31097         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31098         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31099         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31100         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31101         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31103 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31105         * math/tst-CMPLX.c: Include <stdio.h>.
31107 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31109         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31110         float.
31111         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31112         * sysdeps/sparc/bits/mathdef.h: Likewise.
31114 2012-01-31  Marek Polacek  <polacek@redhat.com>
31116         * libio/libio.h: Don't define _PARAMS.
31117         * locale/programs/config.h: Don't define PARAMS.
31118         * stdlib/strtol_l.c: Likewise.
31119         (__strtol_l): Remove PARAMS from the prototype.
31121 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31123         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31124         names.  Just use the correct names.  Remove unnecessary wrapper
31125         functions.
31126         * malloc/arena.c: Likewise.
31127         * malloc/hooks.c: Likewise.
31129         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31130         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31131         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31133 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31135         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31136         into tail calls.
31137         (update_get_addr): New function.
31138         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31139         GET_ADDR_MODULE parameter.
31141 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31143         * crypt/cert.c: Remove __STDC__ conditionals.
31144         * crypt/crypt-entry.c: Likewise.
31145         * crypt/crypt_util.c: Likewise.
31146         * libio/filedoalloc.c: Likewise.
31147         * libio/fileops.c: Likewise.
31148         * libio/genops.c: Likewise.
31149         * libio/iofclose.c: Likewise.
31150         * libio/iofdopen.c: Likewise.
31151         * libio/iofopen.c: Likewise.
31152         * libio/iofopen64.c: Likewise.
31153         * libio/iogetdelim.c: Likewise.
31154         * libio/iopopen.c: Likewise.
31155         * libio/obprintf.c: Likewise.
31156         * libio/oldfileops.c: Likewise.
31157         * libio/oldiofclose.c: Likewise.
31158         * libio/oldiofdopen.c: Likewise.
31159         * libio/oldiofopen.c: Likewise.
31160         * libio/oldiopopen.c: Likewise.
31161         * libio/wfiledoalloc.c: Likewise.
31162         * libio/wgenops.c: Likewise.
31163         * locale/programs/xmalloc.c: Likewise.
31164         * misc/syslog.c: Likewise.
31165         * stdio-common/xbug.c: Likewise.
31166         * string/memchr.c: Likewise.
31167         * string/memcmp.c: Likewise.
31168         * string/memrchr.c: Likewise.
31169         * string/rawmemchr.c: Likewise.
31170         * sysdeps/posix/getcwd.c: Likewise.
31171         * time/strftime_l.c: Likewise.
31173 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31175         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31176         * config.make.in (config-cflags-sse2avx): Define.
31177         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31178         Fix typo.
31180 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31182         * scripts/config.guess: Update from upstream config git repository.
31183         * scripts/config.sub: Likewise.
31185 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31187         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31188         (EM_NUM): Update.
31189         (R_TILEPRO_*, R_TILEGX_*): New macros.
31191         * scripts/firstversions.awk: Fix bug in version range handling.
31193         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31195         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31197         * include/sys/epoll.h: New file.
31198         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31199         libc_hidden_def.
31201 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31203         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31204         Avoid unnecessary __WORDSIZE == 64 test.
31205         (fmaxf): Use VEX format if possible.
31206         (fmax): Likewise.
31207         (fminf): Likewise.
31208         (fmin): Likewise.
31210         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31211         * math/math_private.h: Remove libc_fegetround* and
31212         libc_fesetround*.
31213         * sysdeps/i386/configure.in: Check for -msse2avx.
31214         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31215         also if SSE2AVX is defined.
31216         Remove libc_fegetround* and libc_fesetround*.
31217         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31218         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31219         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31220         of HAS_YMM_USABLE.
31221         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31222         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31223         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31224         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31225         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31227         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31229 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31231         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31232         size is not set.
31233         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31235 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31237         [BZ #13618]
31238         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31239         relocation.
31240         * Makeconfig (libm): Define.
31241         * elf/Makefile: Add rules to build and run tst-relsort1.
31242         * elf/tst-relsort1.c: New file.
31243         * elf/tst-relsort1mod1.c: New file.
31244         * elf/tst-relsort1mod2.c: New file.
31246 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31248         * math/s_ldexp.c: Remove __STDC__ conditionals.
31249         * math/s_ldexpf.c: Likewise.
31250         * math/s_ldexpl.c: Likewise.
31251         * math/s_nextafter.c: Likewise.
31252         * math/s_nexttowardf.c: Likewise.
31253         * math/s_significand.c: Likewise.
31254         * math/s_significandf.c: Likewise.
31255         * math/s_significandl.c: Likewise.
31256         * math/w_jnl.c: Likewise.
31257         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31258         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31259         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31260         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31261         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31262         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31263         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31264         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31265         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31266         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31267         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31268         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31269         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31270         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31271         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31272         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31273         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31274         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31275         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31276         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31277         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31278         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31279         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31280         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31281         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31282         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31283         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31284         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31285         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31286         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31287         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31288         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31289         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31290         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31291         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31292         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31293         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31294         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31295         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31296         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31297         * sysdeps/ieee754/k_standard.c: Likewise.
31298         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31299         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31300         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31301         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31302         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31303         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31304         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31305         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31306         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31307         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31308         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31309         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31310         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31311         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31312         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31313         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31314         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31315         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31316         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31317         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31318         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31319         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31320         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31321         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31322         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31323         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31324         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31325         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31326         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31327         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31328         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31329         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31330         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31331         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31332         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31333         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31334         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31335         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31336         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31337         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31338         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31339         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31340         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31341         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31342         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31343         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31344         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31345         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31346         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31347         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31348         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31349         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31350         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31351         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31352         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31353         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31354         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31355         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31356         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31357         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31358         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31359         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31360         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31361         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31362         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31363         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31364         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31365         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31366         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31367         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31368         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31369         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31370         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31371         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31372         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31373         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31374         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31375         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31376         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31377         * sysdeps/ieee754/s_matherr.c: Likewise.
31378         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31379         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31380         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31381         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31383 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31385         * crypt/md5.h: Remove __STDC__ conditionals.
31386         * libio/libioP.h: Likewise.
31387         * locale/programs/config.h: Likewise.
31388         * sysdeps/generic/sysdep.h: Likewise.
31389         * sysdeps/i386/asm-syntax.h: Likewise.
31390         * sysdeps/s390/asm-syntax.h: Likewise.
31391         * sysdeps/unix/sysdep.h: Likewise.
31392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31395 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31397         * libio/libio.h: Remove __STDC__ conditionals.
31398         * malloc/obstack.h: Likewise.
31399         * math/complex.h: Likewise.
31400         * math/math.h: Likewise.
31401         * sysdeps/generic/_G_config.h: Likewise.
31402         * sysdeps/gnu/_G_config.h: Likewise.
31403         * sysdeps/mach/hurd/_G_config.h: Likewise.
31404         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31405         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31406         * sysdeps/sparc/bits/mathdef.h: Likewise.
31408 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31410         [BZ #13583]
31411         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31412         Clean up HAS_* macros.
31413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31414         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31415         possible.
31416         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31417         HAS_AVX.
31418         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31419         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31420         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31421         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31422         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31424 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31426         * elf/tst-unique3.cc (gets): Remove declaration.
31427         * elf/tst-unique3lib.cc (gets): Likewise.
31428         * elf/tst-unique3lib2.cc (gets): Likewise.
31429         * elf/tst-unique4.cc (gets): Likewise.
31431 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31433         * include/stdio.h: Add C++ protection.  Add gets declarations and
31434         definitions.
31435         * debug/tst-chk1.c: Don't declare gets here.
31436         * stdio-common/tst-gets.c: Likewise.
31438 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31440         * posix/glob: Remove directory.
31442 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31444         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31446 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31448         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31449         of the non-standard EPFNOSUPPORT.
31451 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31453         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31454         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31455         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31457 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31459         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31461 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31463         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31464         transient errors.
31465         * nscd/grpcache.c (cache_addgr): Likewise.
31466         * nscd/hstcache.c (cache_addhst): Likewise.
31467         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31468         * nscd/pwdcache.c (cache_addpw): Likewise.
31469         * nscd/servicescache.c (cache_addserv): Likewise.
31471 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31473         * malloc/malloc.c: Various cleanups.
31474         * malloc/hooks.c: Likewise.
31476         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31477         * stdlib/bug-fmtmsg1.c: New file.
31479         * stdlib/fmtmsg.c (init): Add missing unlock.
31480         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31482 2012-01-12  Marek Polacek  <polacek@redhat.com>
31484         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31485         and _GNU_SOURCE.
31487 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31489         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31490         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31491         macro to ensure uniqueness of label name.
31492         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31493         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31495 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31497         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31499         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31500         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31501         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31502         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31504 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31506         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31508         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31509         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31510         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31512         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31514         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31515         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31516         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31517         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31519         * math/bits/math-finite.h: Add ldexp support.
31521 2012-01-10  Marek Polacek  <polacek@redhat.com>
31523         * locale/programs/localedef.h (show_archive_content): Add noreturn
31524         attribute.
31526 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31528         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31530 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31532         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31534         * io/Makefile (headers): Add bits/poll2.h.
31536 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31539         typo #include statement.
31541 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31543         * include/sys/cdefs.h: Define __attribute_alloc_size.
31544         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31545         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31546         * elf/pldd.c: Likewise.
31547         * iconv/iconv_charmap.c: Likewise.
31548         * iconv/iconvconfig.c: Likewise.
31549         * iconv/strtab.c: Likewise.
31550         * locale/programs/locale.c: Likewise.
31551         * locale/programs/localedef.h: Likewise.
31552         * locale/programs/simple-hash.c: Likewise.
31553         * nscd/nscd.h: Likewise.
31554         * nss/makedb.c: Likewise.
31555         * sysdeps/generic/ldconfig.h: Likewise.
31556         * locale/programs/localedef.c: Remove xmalloc prototype.
31557         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31559 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31561         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31562         appropriate.
31564 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31566         * math/Makefile (tests): Add tst-CMPLX.
31567         * math/tst-CMPLX.c: New file.
31569         * math/complex.h (CMPLXL): Fix typo.
31571         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31572         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31573         GLIBC_2.16.
31574         * debug/tst-chk1.c: Add poll and ppoll tests.
31575         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31576         * include/sys/poll.h: Add hidden proto for ppoll.
31577         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31578         * sysdeps/mach/hurd/ppoll.c: Likewise.
31579         * io/ppoll.c: Likewise.
31580         * debug/poll_chk.c: New file.
31581         * debug/ppoll_chk.c: New file.
31582         * include/bits/poll2.h: New file.
31583         * io/bits/poll2.h: New file.
31585         [BZ #1350]
31586         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31588         * configure.in: static is always set to yes.  Remove.
31589         * config.make.in: Don't set build-static.
31590         * Makeconfig: Remove use of build-static.
31591         * dlfcn/Makefile: Likewise.
31592         * elf/Makefile: Likewise.
31593         * math/Makefile: Likewise.
31594         * misc/Makefile: Likewise.
31595         * nptl/Makefile: Likewise.
31596         * sysdeps/mach/hurd/Makefile: Likewise.
31598         * configure.in: PWD_P is not used anymore.
31599         * config.make.in: Remove PWD_P entry.
31601         * configure.in: Remove last remnants of RANLIB.
31602         No need to check for signed size_t anymore.
31603         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31604         and IA-64.
31605         Remove __builtin_expect test because we require at least gcc 3.4.
31606         * aclocal.m4: Likewise.
31608         * wcsmbs/mbrtoc16.c: Implement using towc function.
31609         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31610         * wcsmbs/wcsmbsload.c: Likewise.
31611         * iconv/gconv_simple.c: Likewise.
31612         * iconv/gconv_int.h: Likewise.
31613         * iconv/gconv_builtin.h: Likewise.
31614         * iconv/iconv_prog.c: Remove CHAR16 handling.
31616         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31618         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31620         * configure.in: Remove --with-elf and --enable-bounded options.
31621         Dont set base_machine for ia64.  More non-ELF conditions removed.
31622         Remove testing and setting of leading underscore information.
31623         * config.make.in (build-bounded): Set to no.
31624         * config.h.in: Remove NO_UNDERSCORES entry.
31625         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31626         them.
31627         * csu/start.c: Remove !NO_UNDERSCORE code.
31628         * locale/localeinfo.h: Likewise.
31629         * sysdeps/generic/machine-gmon.h: Likewise.
31630         * sysdeps/generic/sysdep.h: Likewise.
31631         * sysdeps/i386/sysdep.h: Likewise.
31632         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31633         * sysdeps/mach/sysdep.h: Likewise.
31634         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31635         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31636         * sysdeps/sh/sysdep.h: Likewise.
31637         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31638         * sysdeps/unix/i386/sysdep.S: Likewise.
31639         * sysdeps/unix/sparc/start.c: Likewise.
31640         * sysdeps/unix/sparc/sysdep.S: Likewise.
31641         * sysdeps/unix/sparc/sysdep.h: Likewise.
31642         * sysdeps/unix/start.c: Likewise.
31643         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31644         * sysdeps/x86_64/sysdep.h: Likewise.
31646 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31648         [BZ #13553]
31649         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31650         for non-gcc.
31651         * argp/argp-fmtstream.h: Use const instead __const.
31652         * argp/argp.h: Likewise.
31653         * assert/assert.h: Likewise.
31654         * bits/fenv.h: Likewise.
31655         * bits/sched.h: Likewise.
31656         * bits/sigset.h: Likewise.
31657         * bits/sigthread.h: Likewise.
31658         * catgets/nl_types.h: Likewise.
31659         * conform/data/pthread.h-data: Likewise.
31660         * crypt/crypt-private.h: Likewise.
31661         * crypt/crypt.h: Likewise.
31662         * crypt/crypt_util.c: Likewise.
31663         * ctype/ctype.h: Likewise.
31664         * debug/execinfo.h: Likewise.
31665         * debug/mbsnrtowcs_chk.c: Likewise.
31666         * debug/mbsrtowcs_chk.c: Likewise.
31667         * debug/wcsnrtombs_chk.c: Likewise.
31668         * debug/wcsrtombs_chk.c: Likewise.
31669         * debug/wcstombs_chk.c: Likewise.
31670         * dirent/dirent.h: Likewise.
31671         * dlfcn/dlfcn.h: Likewise.
31672         * elf/neededtest4.c: Likewise.
31673         * grp/grp.h: Likewise.
31674         * gshadow/gshadow.h: Likewise.
31675         * iconv/gconv.h: Likewise.
31676         * iconv/gconv_int.h: Likewise.
31677         * iconv/gconv_simple.c: Likewise.
31678         * iconv/iconv.h: Likewise.
31679         * iconv/loop.c: Likewise.
31680         * iconv/skeleton.c: Likewise.
31681         * include/aio.h: Likewise.
31682         * include/aliases.h: Likewise.
31683         * include/argz.h: Likewise.
31684         * include/arpa/inet.h: Likewise.
31685         * include/assert.h: Likewise.
31686         * include/dirent.h: Likewise.
31687         * include/dlfcn.h: Likewise.
31688         * include/execinfo.h: Likewise.
31689         * include/fcntl.h: Likewise.
31690         * include/fenv.h: Likewise.
31691         * include/glob.h: Likewise.
31692         * include/grp.h: Likewise.
31693         * include/libintl.h: Likewise.
31694         * include/mntent.h: Likewise.
31695         * include/netdb.h: Likewise.
31696         * include/pwd.h: Likewise.
31697         * include/rpc/netdb.h: Likewise.
31698         * include/sched.h: Likewise.
31699         * include/search.h: Likewise.
31700         * include/shadow.h: Likewise.
31701         * include/signal.h: Likewise.
31702         * include/stdio.h: Likewise.
31703         * include/stdlib.h: Likewise.
31704         * include/string.h: Likewise.
31705         * include/sys/socket.h: Likewise.
31706         * include/sys/stat.h: Likewise.
31707         * include/sys/statfs.h: Likewise.
31708         * include/sys/statvfs.h: Likewise.
31709         * include/sys/syslog.h: Likewise.
31710         * include/sys/time.h: Likewise.
31711         * include/sys/uio.h: Likewise.
31712         * include/time.h: Likewise.
31713         * include/unistd.h: Likewise.
31714         * include/utmp.h: Likewise.
31715         * include/wchar.h: Likewise.
31716         * include/wctype.h: Likewise.
31717         * inet/aliases.h: Likewise.
31718         * inet/arpa/inet.h: Likewise.
31719         * inet/netinet/ether.h: Likewise.
31720         * inet/netinet/in.h: Likewise.
31721         * intl/libintl.h: Likewise.
31722         * io/bits/fcntl2.h: Likewise.
31723         * io/fcntl.h: Likewise.
31724         * io/ftw.h: Likewise.
31725         * io/sys/poll.h: Likewise.
31726         * io/sys/stat.h: Likewise.
31727         * io/sys/statfs.h: Likewise.
31728         * io/sys/statvfs.h: Likewise.
31729         * io/utime.h: Likewise.
31730         * libio/bits/stdio.h: Likewise.
31731         * libio/bits/stdio2.h: Likewise.
31732         * libio/libio.h: Likewise.
31733         * libio/libioP.h: Likewise.
31734         * libio/stdio.h: Likewise.
31735         * locale/lc-ctype.c: Likewise.
31736         * locale/locale.h: Likewise.
31737         * login/utmp.h: Likewise.
31738         * malloc/arena.c: Likewise.
31739         * malloc/malloc.c: Likewise.
31740         * malloc/malloc.h: Likewise.
31741         * malloc/mcheck.c: Likewise.
31742         * malloc/mtrace.c: Likewise.
31743         * math/bits/mathcalls.h: Likewise.
31744         * math/fenv.h: Likewise.
31745         * math/math_private.h: Likewise.
31746         * misc/bits/error.h: Likewise.
31747         * misc/bits/syslog.h: Likewise.
31748         * misc/err.h: Likewise.
31749         * misc/error.h: Likewise.
31750         * misc/fstab.h: Likewise.
31751         * misc/mntent.h: Likewise.
31752         * misc/regexp.h: Likewise.
31753         * misc/search.h: Likewise.
31754         * misc/sgtty.h: Likewise.
31755         * misc/sys/mman.h: Likewise.
31756         * misc/sys/syslog.h: Likewise.
31757         * misc/sys/uio.h: Likewise.
31758         * misc/sys/xattr.h: Likewise.
31759         * misc/ttyent.h: Likewise.
31760         * nis/rpcsvc/ypclnt.h: Likewise.
31761         * nss/nss.h: Likewise.
31762         * posix/bits/unistd.h: Likewise.
31763         * posix/fnmatch.h: Likewise.
31764         * posix/glob.h: Likewise.
31765         * posix/sched.h: Likewise.
31766         * posix/spawn.h: Likewise.
31767         * posix/sys/wait.h: Likewise.
31768         * posix/unistd.h: Likewise.
31769         * posix/wordexp.h: Likewise.
31770         * pwd/pwd.h: Likewise.
31771         * resolv/netdb.h: Likewise.
31772         * resource/sys/resource.h: Likewise.
31773         * rt/aio.h: Likewise.
31774         * rt/bits/mqueue2.h: Likewise.
31775         * rt/mqueue.h: Likewise.
31776         * shadow/shadow.h: Likewise.
31777         * signal/signal.h: Likewise.
31778         * socket/send.c: Likewise.
31779         * socket/sendto.c: Likewise.
31780         * socket/sys/socket.h: Likewise.
31781         * stdio-common/printf.h: Likewise.
31782         * stdlib/bits/stdlib.h: Likewise.
31783         * stdlib/fmtmsg.h: Likewise.
31784         * stdlib/monetary.h: Likewise.
31785         * stdlib/stdlib.h: Likewise.
31786         * stdlib/ucontext.h: Likewise.
31787         * streams/stropts.h: Likewise.
31788         * string/argz.h: Likewise.
31789         * string/bits/string2.h: Likewise.
31790         * string/string.h: Likewise.
31791         * string/strings.h: Likewise.
31792         * sunrpc/rpc/auth.h: Likewise.
31793         * sunrpc/rpc/auth_des.h: Likewise.
31794         * sunrpc/rpc/clnt.h: Likewise.
31795         * sunrpc/rpc/netdb.h: Likewise.
31796         * sunrpc/rpc/pmap_clnt.h: Likewise.
31797         * sunrpc/rpc/xdr.h: Likewise.
31798         * sysdeps/generic/inttypes.h: Likewise.
31799         * sysdeps/generic/net/if.h: Likewise.
31800         * sysdeps/generic/sys/swap.h: Likewise.
31801         * sysdeps/gnu/net/if.h: Likewise.
31802         * sysdeps/gnu/utmpx.h: Likewise.
31803         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31804         * sysdeps/i386/i486/bits/string.h: Likewise.
31805         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31806         * sysdeps/s390/bits/string.h: Likewise.
31807         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31808         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31809         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31810         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31811         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31812         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31813         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31814         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31815         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31816         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31817         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31818         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31819         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31820         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31821         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31822         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31823         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31824         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31825         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31826         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31827         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31828         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31829         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31830         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31831         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31832         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31833         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31834         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31835         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31836         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31837         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31838         * sysvipc/sys/ipc.h: Likewise.
31839         * sysvipc/sys/msg.h: Likewise.
31840         * sysvipc/sys/sem.h: Likewise.
31841         * sysvipc/sys/shm.h: Likewise.
31842         * termios/termios.h: Likewise.
31843         * time/sys/time.h: Likewise.
31844         * time/time.h: Likewise.
31845         * wcsmbs/bits/wchar2.h: Likewise.
31846         * wcsmbs/uchar.h: Likewise.
31847         * wcsmbs/wchar.h: Likewise.
31848         * wctype/wctype.h: Likewise.
31850         [BZ #13551]
31851         * Makeconfig: Remove all but ELF support including AIX support.
31852         * Makerules: Likewise.
31853         * config.h.in: Likewise.
31854         * config.make.in: Likewise.
31855         * configure: Likewise.
31856         * configure.in: Likewise.
31857         * csu/Makefile: Likewise.
31858         * csu/version.c: Likewise.
31859         * debug/Makefile: Likewise.
31860         * dlfcn/Makefile: Likewise.
31861         * elf/Makefile: Likewise.
31862         * extra-lib.mk: Likewise.
31863         * iconv/Makefile: Likewise.
31864         * include/libc-symbols.h: Likewise.
31865         * include/shlib-compat.h: Likewise.
31866         * resolv/Makefile: Likewise.
31867         * resolv/res_libc.c: Likewise.
31868         * rt/Makefile: Likewise.
31869         * sysdeps/i386/asm-syntax.h: Likewise.
31870         * sysdeps/i386/sysdep.h: Likewise.
31871         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31872         * sysdeps/mach/sysdep.h: Likewise.
31873         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31874         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31875         * sysdeps/s390/asm-syntax.h: Likewise.
31876         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31877         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31878         * sysdeps/sh/sysdep.h: Likewise.
31879         * sysdeps/unix/sparc/sysdep.h: Likewise.
31880         * sysdeps/wordsize-32/divdi3.c: Likewise.
31881         * sysdeps/x86_64/sysdep.h: Likewise.
31883         * argp/Versions: Remove _argp_unlock_xxx.
31885         [BZ #13559]
31886         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31887         * abilist/libBrokenLocale.abilist: Likewise.
31888         * abilist/libanl.abilist: Likewise.
31889         * abilist/libc.abilist: Likewise.
31890         * abilist/libcrypt.abilist: Likewise.
31891         * abilist/libdl.abilist: Likewise.
31892         * abilist/libm.abilist: Likewise.
31893         * abilist/libnsl.abilist: Likewise.
31894         * abilist/libpthread.abilist: Likewise.
31895         * abilist/libresolv.abilist: Likewise.
31896         * abilist/librt.abilist: Likewise.
31897         * abilist/libthread_db.abilist: Likewise.
31898         * abilist/libutil.abilist: Likewise.
31899         * abilist/libnss_db.abilist: New file.
31901         * scripts/abilist.awk: Add support for indirect functions.
31903         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31905         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31907         * shlib-versions: Remove entries for ports architectures.
31909         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31910         files in ports.
31911         * elf/stackguard-macros.h: Remove support for IA-64.
31912         * elf/tst-auditmod1.c: Likewise.
31913         * sysdeps/generic/ldsodefs.h: Likewise.
31915         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31916         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31917         configure files.
31919         [BZ #13552]
31920         * configure.in: Remove --enable-omitfp support.
31921         * FAQ.in: Adjust.
31922         * config.make.in: Likewise.
31923         * Makeconfig: Likewise.
31924         * manual/install.texi: Likewise.
31926         In case anyone cares, the IA-64 architecture could move to ports.
31927         * sysdeps/ia64/*: Removed.
31928         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31929         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31931         [BZ #13555]
31932         * configure.in: Remove entries for unsupported architectures.
31934         [BZ #13533]
31935         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31936         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31937         routines.
31938         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31939         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31940         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31941         fall back to using wcrtomb.
31942         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31943         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31944         renaming.
31945         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31946         * wcsmbs/tst-c16c32-1.c: New file.
31948         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31949         local variable.
31951         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31953         * elf/tst-unique3.cc: Add explicit declaration of gets.
31954         * elf/tst-unique3lib.cc: Likewise.
31955         * elf/tst-unique3lib2.cc: Likewise.
31956         * elf/tst-unique4.cc: Likewise.
31958         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31960 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31962         [BZ #13566]
31963         * assert/assert.h (static_assert): Don't define for C++.
31964         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31965         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31967 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31969         * iconv/loop.c (single loop): Fix assertion in storing of
31970         remaining bytes.
31972         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31974 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31976         * posix/getconf.c: Update copyright year.
31977         * nss/getent.c: Likewise.
31978         * nss/makedb.c: Likewise.
31979         * iconv/iconvconfig.c: Likewise.
31980         * iconv/iconv_prog.c: Likewise.
31981         * elf/ldconfig.c: Likewise.
31982         * elf/pldd.c: Likewise.
31983         * elf/sotruss.ksh: Likewise.
31984         * catgets/gencat.c: Likewise.
31985         * csu/version.c: Likewise.
31986         * elf/ldd.bash.in: Likewise.
31987         * elf/sprof.c (print_version): Likewise.
31988         * locale/programs/locale.c: Likewise.
31989         * locale/programs/localedef.c: Likewise.
31990         * login/programs/pt_chown.c: Likewise.
31991         * nscd/nscd.c (print_version): Likewise.
31992         * debug/xtrace.sh: Likewise.
31993         * malloc/memusage.sh: Likewise.
31994         * malloc/mtrace.pl: Likewise.
31995         * debug/catchsegv.sh: Likewise.
31997 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31999         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32000         pure attribute.
32002 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32004         [BZ #13533]
32005         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32006         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32007         transformations.
32008         * iconv/gconv_int.h: Likewise.
32009         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32010         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32011         from libc for GLIBC_2.16.
32012         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32013         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32014         * wcsmbs/uchar.h: Really define mbstate_t.
32015         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32016         * wcsmbs/c16rtomb.c: New file.
32017         * wcsmbs/mbrtoc16.c: New file.
32018         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32019         for C/POSIX locale.
32020         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32021         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32023         * wcsmbs/wchar.h: Add missing __restrict.
32025 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32027         [BZ #13532]
32028         * time/Makefile (routines): Add timespec_get.
32029         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32030         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32031         timespec for ISO C11.
32032         * time/timespec_get.c: New file.
32033         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32034         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32036         [BZ #13531]
32037         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32038         * stdlib/stdlib.h: Declare aligned_alloc.
32039         * Versions.def: Add GLIBC_2.16 for libc.
32040         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32042         [BZ 13527]
32043         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32044         ISO C11.
32046         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32047         code.
32049         [BZ #13528]
32050         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32052         [BZ #13529]
32053         * assert/assert.h (static_assert): Define.
32055         * version.h: Update for 2.16 development version.
32057         [BZ #13526]
32058         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32059         _ISOC11_SOURCE.
32061         * version.h (RELEASE): Bump for 2.15 release.
32062         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32064         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32065         Patch by Marek Polacek <mpolacek@redhat.com>.
32067         * bits/byteswap.h: Protect long long constants with __extension__.
32068         * sysdeps/i386/bits/byteswap.h: Likewise.
32069         * sysdeps/ia64/bits/byteswap.h: Likewise.
32070         * sysdeps/s390/bits/byteswap.h: Likewise.
32071         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32073 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32075         [BZ #13540]
32076         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32077         destination buffer.
32078         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32080 2011-12-23  Marek Polacek  <polacek@redhat.com>
32082         * elf/dl-addr.c (determine_info): Add inline keyword.
32083         * elf/tst-auditmod4b.c (check_avx): Likewise.
32084         * elf/tst-auditmod6b.c (check_avx): Likewise.
32085         * elf/tst-auditmod6c.c (check_avx): Likewise.
32086         * elf/tst-auditmod7b.c (check_avx): Likewise.
32088 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32090         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32091         !__SSE_MATH__.
32093 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32095         [BZ #13540]
32096         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32097         processing for last bytes.
32099 2011-08-06  Bruno Haible  <bruno@clisp.org>
32101         [BZ #13061]
32102         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32103         U+0385, not to U+1FEE.
32105         [BZ #13062]
32106         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32107         entry for U+00A5 U+0301.
32109 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32111         [BZ #13166]
32112         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32113         buffer for the output is too small.
32115         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32116         optimization.
32118         [BZ #13185]
32119         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32120         SSE flags if possible.
32122 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32124         [BZ #13540]
32125         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32126         processing for last bytes.
32128 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32130         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32131         (syscall-list-default-options, syscall-list-default-condition)
32132         (syscall-list-includes): Define.
32133         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32134         list of ABIs and options and #if conditions for each ABI.  Do not
32135         handle common syscalls between ABIs specially.
32136         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32137         Remove.
32138         (syscall-list-variants, syscall-list-32bit-options)
32139         (syscall-list-32bit-condition, syscall-list-64bit-options)
32140         (syscall-list-64bit-condition): Define.
32141         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32142         (syscall-list-variants, syscall-list-32bit-options)
32143         (syscall-list-32bit-condition, syscall-list-64bit-options)
32144         (syscall-list-64bit-condition): Define.
32145         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32146         Remove.
32147         (syscall-list-variants, syscall-list-32bit-options)
32148         (syscall-list-32bit-condition, syscall-list-64bit-options)
32149         (syscall-list-64bit-condition): Define.
32150         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32151         Remove.
32152         (syscall-list-variants, syscall-list-32bit-options)
32153         (syscall-list-32bit-condition, syscall-list-64bit-options)
32154         (syscall-list-64bit-condition): Define.
32156 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32158         * locale/iso-639.def: Add brx entry.
32160         [BZ #13328]
32161         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32162         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32164         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32165         __feraiseexcept_renamed.
32167 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32169         [BZ #13538]
32170         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32171         EPOLLET with unsigned values.
32172         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32173         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32175         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32176         to large cancellation.
32177         * math/s_cacoshf.c: Likewise.
32178         * math/s_cacoshl.c: Likewise.
32180 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32182         [BZ #13305]
32183         [BZ #12786]
32184         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32185         * math/s_cacoshf.c: Likewise.
32186         * math/s_cacoshl.c: Likewise.
32188 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32190         [BZ #13439]
32191         * iconv/gconv.h: Define __GCONV_SWAP.
32192         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32193         * iconvdata/utf-16.c: Likewise.
32194         * iconvdata/utf-32.c: Likewise.
32196 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32198         [BZ #13524]
32199         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32200         numerator after shifting it by one limb.
32202 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32204         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32205         under [__USE_EXTERN_INLINES].
32207 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32209         [BZ #13446]
32210         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32212 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32214         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32215         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32216         optimized code.
32217         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32218         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32219         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32220         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32221         for strncasecmp/strncasecmp_l compilation.
32222         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32223         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32225 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32227         [BZ #13484]
32228         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32229         of __asm__.
32231 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32233         [BZ #13506]
32234         * time/tzfile.c (__tzfile_read): Check values from file header.
32236 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32238         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32239         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32240         * powerpc/powerpc32/dl-start.S: Likewise.
32241         * powerpc/powerpc32/elf/start.S: Likewise.
32242         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32243         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32244         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32245         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32246         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32247         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32248         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32249         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32250         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32251         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32252         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32253         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32254         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32255         * powerpc/powerpc32/memset.S: Likewise.
32256         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32257         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32258         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32259         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32260         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32261         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32262         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32263         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32264         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32265         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32266         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32267         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32268         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32270 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32272         * math/libm-test.inc: Added more nearbyint tests.
32273         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32274         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32275         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32276         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32278 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32280         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32281         FD_CLOEXEC.
32283 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32285         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32286         Add wcscpy-ssse3 wcscpy-c.
32287         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32288         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32289         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32290         * sysdeps/x86_64/wcschr.S: New file.
32291         * sysdeps/x86_64/wcsrchr.S: New file.
32292         * string/test-strcmp.c: Remove checking of wcscmp function for
32293         wrong alignments.
32294         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32295         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32296         wcsrchr-sse2 wcsrchr-c.
32297         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32298         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32299         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32300         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32301         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32302         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32303         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32304         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32305         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32306         * wcsmbc/wcschr.c (WCSCHR): New macro.
32308 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32310         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32311         * wcsmbs/test-wcsrchr.c: New file.
32312         * string/test-strrchr.c: Add wcsrchr support.
32313         (WIDE): New macro.
32314         * wcsmbs/test-wcscpy.c: New file.
32315         * string/test-strcpy.c: Add wcscpy support.
32316         (WIDE): New macro.
32318 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32320         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32321         the inner loop.
32323 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32325         [BZ #13472]
32326         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32328 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32330         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32331         Minor optimizations.
32333         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32334         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32335         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32337 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32339         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32340         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32341         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32342         for gcc to avoid warnings.
32343         * inet/Makefile (tests): Add tst-checks.
32344         * inet/tst-checks.c: New file.
32346         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32347         warning.
32349         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32350         __wmemcmp_sse2.
32352         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32353         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32355         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32357 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32359         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32360         problem.
32362         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32364 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32366         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32367         conditional on GCC version.
32368         (__arch_compare_and_exchange_val_8_acq)
32369         (__arch_compare_and_exchange_val_16_acq)
32370         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32371         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32372         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32374 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32376         * sysdeps/sh/backtrace.c: New file.
32378 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32380         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32381         parenthesis.
32383 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32385         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32386         falling back to utime.
32388 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32390         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32391         expectations for float.
32393 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32395         * locale/weight.h (findidx): Add parameter len.
32396         * locale/weightwc.h (findidx): Likewise.
32397         * posix/fnmatch_loop.c (FCT): Adjust caller.
32398         * posix/regcomp.c (build_equiv_class): Likewise.
32399         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32400         * posix/regexec.c (check_node_accept_bytes): Likewise.
32401         * string/strcoll_l.c (STRCOLL): Likewise.
32402         * string/strxfrm_l.c (STRXFRM): Likewise.
32404 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32406         * Makefile.in: Remove CVSOPT handling.
32407         * configure.in: Remove use of AC_REVISION.
32408         * iconvdata/Makefile (distribute): No need to filter out CVS.
32409         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32410         handling.
32412 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32415         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32416         [USE_AS_STRNCASECMP_L]: Likewise.
32417         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32418         NO_TLS_DIRECT_SEG_REFS.
32419         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32420         Fix argument offsets for non-PIC.
32421         [USE_AS_STRNCASECMP_L]: Likewise.
32422         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32423         NO_TLS_DIRECT_SEG_REFS.
32425 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32427         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32428         O_CLOEXEC.
32429         * locale/loadlocale.c (_nl_load_locale): Likewise.
32431 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32433         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32434         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32435         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32436         (SYSCALL_GETTIME): Set errno on error.
32438         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32439         count references to noai6ai_cached.
32441 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32443         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32445         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32446         FD_CLOEXEC for /proc/self/maps.
32448         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32449         FD_CLOEXEC for /proc/meminfo.
32451         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32452         gai.conf.
32454         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32455         FD_CLOEXEC for given file.
32457         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32459         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32460         FD_CLOEXEC for /etc/hosts.
32461         (_gethtent): Likewise.
32463         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32465         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32466         cancellation and set FD_CLOEXEC for /etc/netgroup.
32468         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32469         reading /etc/publickey.
32471         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32472         allow cancellation when reading /etc/group.
32474         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32475         cancellation.
32476         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32478         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32479         when using data file.
32481         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32483         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32484         (write_nis_obj): Use "c" and "e" in fopen.
32486         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32488         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32490         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32492         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32494         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32495         locale.alias.
32497         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32499         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32501         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32503         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32504         file parsing and set FD_CLOEXEC.
32506 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32508         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32510 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32512         * malloc/arena.c (arena_get2): Don't call reused_arena when
32513         _int_new_arena failed.
32515 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32517         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32518         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32519         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32520         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32521         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32522         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32523         to compile strcasecmp and strncasecmp.
32524         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32525         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32527         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32529 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32531         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32532         locale-defines.sym to gen-as-const-headers.
32533         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32534         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32535         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32536         to compile strcasecmp and strncasecmp.
32537         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32538         strcasecmp_l and strncasecmp_l.
32539         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32540         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32541         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32542         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32543         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32544         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32545         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32546         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32547         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32548         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32549         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32551 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32553         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32554         result of SYSDEP_GETTIME_CPU to retval.
32555         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32556         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32558         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32559         variable.
32561         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32562         mantissa words.
32563         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32565         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32566         from unused variable.
32568         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32569         DWARF definitions.
32570         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32571         for assembling.
32573         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32574         over namespaces.
32576         * sunrpc/rpc_prot.c (rejected): Fix case value.
32578         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32579         unsigned long long int to avoid warnings in shift.
32581         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32582         of use of trans.
32583         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32584         variable tmp.
32586         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32587         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32588         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32590         * nis/nis_table.c (nis_list): Use variable of correct type for
32591         result of __follow_path call.
32593 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32595         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32596         of math functions ceil, trunc, floor, round, and sqrt, when
32597         avaliable on the platform.
32598         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32599         name clash.
32600         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32601         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32602         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32604 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32606         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32607         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32609 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32611         * include/unistd.h: Fix __readlink return type.
32612         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32614 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32616         * stdlib/ucontext.h: Undo last change for makecontext.
32618 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32620         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32622         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32623         * setjmp/setjmp.h: Mark functions as non-leaf.
32624         * setjmp/bits/setjmp2.h: Likewise.
32625         * stdlib/ucontext.h: Likewise.
32627 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32629         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32630         (reused_arena): Don't check arena limit.
32631         (arena_get2): Atomically check arena limit.
32633 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32635         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32636         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32638         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32639         instructions.
32641 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32643         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32644         handler when locking.
32646         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32647         Fix size of allocated buffer.
32649 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32651         [BZ #10103]
32652         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32653         declarations for long double functions.
32654         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32656         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32658 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32660         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32661         installed.
32663         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32664         is disabled.
32666 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32668         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32670 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32672         * include/alloca.h (stackinfo_alloca_round): Define.
32673         (extend_alloca): Use it.
32674         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32675         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32676         here.
32678         * scripts/check-local-headers.sh: Ignore libaudit.h.
32680         * nscd/Makefile (extra-objs): Make recursively expanded.
32682 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32684         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32685         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32687         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32688         * posix/tst-rfc3484-2.c: Likewise.
32689         * posix/tst-rfc3484-3.c: Likewise.
32691         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32692         process_vm_writev.
32693         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32694         process_vm_writev.
32695         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32696         process_vm_writev from libc using GLIBC_2.15 version.
32698         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32700 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32702         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32703         stack usage.
32705 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32707         [BZ #13367]
32708         * nss/getent.c (initgroups_keys): Show error message in case no group
32709         names are given.
32711         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32712         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32713         __bump_nl_timestamp.
32714         * nscd/connections (nscd_init): When host database is served open
32715         netlink socket and request notification about configuration changes.
32716         (main_loop_poll): Track netlink file descriptor and bump timestamp
32717         in case data becomes available.
32718         (main_loop_epoll): Likewise.
32719         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32720         (database_pers_head): Add extra_data fileds.
32721         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32722         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32723         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32724         Adjust caller.
32725         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32726         in6ai data, call __free_in6ai.
32727         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32728         Add -DHAVE_NETLINK.
32729         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32730         interface information.  Reuse previous data if netlink timestamp
32731         is not changed.
32732         (__bump_nl_timestamp): New function.
32733         (__free_in6ai): New function.
32735 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32737         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32738         close_not_cancel_no_status here.
32739         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32741 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32743         [BZ #13276]
32744         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32745         return value.
32747         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32748         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32749         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32751 2011-07-03  Andreas Jaeger  <aj@suse.de>
32753         [BZ #10709]
32754         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32755         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32756         * math/libm-test.inc (sin_test): Add test case.
32758 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32760         [BZ #13337]
32761         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32762         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32764         * elf/chroot_canon.c (chroot_canon): Cleanups.
32766         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32768         [BZ #13335]
32769         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32770         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32772         * string/test-strchr.c: Make usable for strchrnul testing.
32773         * string/test-strchrnul.c: New file.
32774         * string/Makefile (strop-tests): Add strchrnul.
32776         * po/it.po: Update from translation team.
32777         * po/es.po: Likewise.
32779 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32781         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32782         the three constants needed as parameters.  Drop the others.
32783         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32784         __m128i_strloadu_tolower.
32785         Create and initialize variable zero and use it in all the places
32786         where _mm_setzero_si128 was used.
32788         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32789         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32790         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32791         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32792         anymore.
32793         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32794         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32795         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32796         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32797         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32798         __mpranred, __mptan.
32799         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32800         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32801         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32802         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32803         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32804         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32805         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32806         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32807         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32809 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32811         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32812         redefine if SHARED.
32813         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32815         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32816         wide char related routines to wcsmbs subdir.
32818 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32820         [BZ #13344]
32821         * misc/sys/cdefs.h (__THROWNL): Define.
32822         * posix/unistd.h: Use __THREADNL instead of __THREAD
32823         for memory synchronization functions.
32825 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32827         [BZ #13349]
32828         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32829         doesn't exist.
32830         * manual/stdio.texi (Obstack Streams): Node removed.
32832 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32834         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32835         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32836         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32838         * math/math_private.h (math_force_eval): Allow non-addressable
32839         arguments.
32840         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32842 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32844         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32845         file is not needed.
32847         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32848         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32849         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32850         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32851         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32852         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32853         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32854         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32855         Add AVX variants.
32856         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32857         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32858         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32859         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32860         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32861         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32862         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32863         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32864         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32865         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32866         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32867         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32868         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32869         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32870         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32871         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32872         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32873         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32874         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32876         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32877         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32879         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32880         place.  Use VEX encoding when compiling for AVX.
32882 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32884         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32885         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32887         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32889 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32891         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32892         useless if() expression.
32893         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32894         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32895         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32896         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32897         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32898         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32899         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32900         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32901         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32902         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32903         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32904         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32905         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32906         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32907         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32908         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32909         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32910         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32911         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32913         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32915 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32917         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32918         condition.
32919         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32921 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32923         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32924         .text section.  Avoid duplicate constants.
32925         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32926         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32927         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32929         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32930         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32931         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32932         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32933         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32934         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32935         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32936         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32937         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32938         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32939         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32940         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32941         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32942         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32943         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32944         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32945         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32946         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32947         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32948         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32949         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32950         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32951         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32952         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32953         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32954         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32955         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32956         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32957         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32958         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32959         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32960         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32961         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32962         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32963         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32964         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32965         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32966         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32967         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32968         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32969         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32971 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32973         * sysdeps/x86_64/dla.h: Move to ...
32974         * sysdeps/x86_64/fpu/dla.h: ...here.
32975         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32976         situations.  Use __builtin_fma only for gcc 4.6 and up.
32978         * config.make.in: Add have-mfma4 entry.
32979         * configure.in: Substitute libc_cv_cc_fma4.
32980         * math/Makefile (dbl-only-routines): Add sincostab.
32981         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32982         Use __sincostab not sincos.
32983         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32984         name is a macro.
32985         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32986         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32987         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32988         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32989         using __copysign.
32990         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32991         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32992         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32993         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32994         and __inv.
32995         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32996         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32997         __copysign.
32998         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32999         define aliases when function name is a macro.
33000         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33001         sysdeps/ieee754/dbl-64/sincos.tbl.
33002         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33003         fma4-enabled routines.
33004         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33005         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33006         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33007         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33008         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33009         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33010         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33011         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33012         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33013         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33014         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33015         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33016         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33017         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33018         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33019         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33020         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33021         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33022         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33023         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33024         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33025         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33026         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33027         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33028         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33029         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33030         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33031         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33032         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33033         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33035         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33036         rename.
33037         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33038         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33039         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33040         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33041         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33042         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33043         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33044         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33046 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33048         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33050 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33052         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33054         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33055         prediction.
33056         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33058         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33059         Remove unused variable magic_bits.
33060         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33062         * string/strnlen.c: Define and use STRNLEN macro.
33063         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33064         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33065         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33066         * wcsmbs/wcslen.c: Define and use WCSLEN.
33067         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33068         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33069         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33070         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33071         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33072         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33073         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33075 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33078         strnlen-sse2-no-bsf.
33079         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33080         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33081         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33082         Add strnlen support.
33083         (USE_AS_STRNLEN): New macro.
33084         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33085         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33086         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33087         * sysdeps/x86_64/wcslen.S: New file.
33089 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33091         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33092         XMM-moves are used for copying on small sizes.
33094 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33096         * wcsmbs/Makefile (strop-tests): Add wcschr.
33097         * wcsmbs/test-wcschr.c: New file.
33098         * string/test-strchr.c: Update.
33099         Add wcschr support.
33100         (WIDE): New macro.
33102 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33104         * wcsmbs/Makefile (strop-tests): Add wcslen.
33105         * wcsmbs/test-wcslen.c: New file.
33106         * string/test-strlen.c: Update.
33107         Add wcslen support.
33108         (WIDE): New macro.
33110 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33112         * po/it.po: Update from translation team.
33114 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33116         * sysdeps/x86_64/wcscmp.S: Update.
33117         Fix wrong comparison semantics.
33118         wcscmp shall use signed comparison not unsigned.
33119         Don't use substraction to avoid overflow bug.
33120         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33121         * wcsmbc/wcscmp.c: Likewise.
33122         * string/test-strcmp.c: Likewise.
33123         Add new tests to check cases with negative values.
33125 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33127         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33128         * sysdeps/x86_64/dla.h: ...here.  New file.
33129         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33130         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33131         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33132         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33133         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33134         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33135         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33136         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33137         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33139 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33141         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33142         __ynl_finite aliases.
33144 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33148         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33149         define DLA_FMA.
33150         [DLA_FMA] (EMULV): Use DLA_FMA.
33151         [DLA_FMA] (MUL12): Use EMULV.
33152         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33153         that are not needed.
33154         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33155         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33156         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33157         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33158         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33159         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33160         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33162 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33164         * math/s_nan.c: Undef __nan.
33165         * math/s_nanf.c: Undef __nanf.
33166         * math/s_nanl.c: Undef __nanl.
33167         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33168         "math_private.h".
33170 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33172         * math/s_catan.c: Add branch predictions.
33173         * math/s_catanf.c: Likewise.
33174         * math/s_catanh.c: Likewise.
33175         * math/s_catanhf.c: Likewise.
33176         * math/s_catanhl.c: Likewise.
33177         * math/s_catanl.c: Likewise.
33178         * math/s_cexp.c: Likewise.
33179         * math/s_cexpf.c: Likewise.
33180         * math/s_cexpl.c: Likewise.
33181         * math/s_clog.c: Likewise.
33182         * math/s_clog10.c: Likewise.
33183         * math/s_clog10f.c: Likewise.
33184         * math/s_clog10l.c: Likewise.
33185         * math/s_clogf.c: Likewise.
33186         * math/s_clogl.c: Likewise.
33187         * math/s_csqrt.c: Likewise.
33188         * math/s_csqrtf.c: Likewise.
33189         * math/s_csqrtl.c: Likewise.
33190         * math/s_ctanf.c: Likewise.
33191         * math/s_ctanh.c: Likewise.
33192         * math/s_ctanhf.c: Likewise.
33193         * math/s_ctanhl.c: Likewise.
33194         * math/s_ctanl.c: Likewise.
33196         * math/math_private.h: Define __nan, __nanf, __nanl.
33197         * math/s_cacosh.c: Include <math_private.h>.
33198         * math/s_cacoshl.c: Likewise.
33199         * math/s_casinh.c: Likewise.
33200         * math/s_casinhf.c: Likewise.
33201         * math/s_casinhl.c: Likewise.
33202         * math/s_ccos.c: Rely entire on ccosh.
33203         * math/s_ccosf.c: Rely entire on ccoshf.
33204         * math/s_ccosl.c: Rely entirely on ccoshl.
33205         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33206         Remove tests for FE_INVALID.
33207         * math/s_ccoshf.c: Likewise.
33208         * math/s_ccoshl.c: Likewise.
33209         * math/s_csin.c: Likewise.
33210         * math/s_csinf.c: Likewise.
33211         * math/s_csinh.c Likewise.
33212         * math/s_csinhf.c: Likewise.
33213         * math/s_csinhl.c: Likewise.
33214         * math/s_csinl.c: Likewise.
33215         * math/s_ctan.c: Likewise.
33216         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33217         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33218         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33220 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33223         compilation problems.
33225         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33226         __builtin_expect.
33228 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33230         * sysdeps/i386/configure.in: Test for -mfma4 option.
33231         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33232         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33233         COMMON_CPUID_INDEX_80000001.
33234         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33235         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33236         use it if FMA3 is not supported.
33237         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33239         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33240         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33242 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33244         [BZ #12892]
33245         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33246         it would create a cycle with a link time dependency.
33248 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33250         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33251         instruction.
33252         * string/Makefile (strop-tests): Add rawmemchr.
33253         * string/test-rawmemchr.c: New file.
33255         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33256         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33257         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33258         when compiling str{,n}casecmp and when AVX is available.  Hook up
33259         new optimized code in initializers.
33261 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33263         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33264         __feraiseexcept instead of feraiseexcept.
33266 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33268         * math/math_private.h: Define defaults for libc_fetestexcept and
33269         libc_feupdateenv.
33270         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33271         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33272         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33273         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33274         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33275         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33276         libc_fetestexcept and libc_feupdateenv.
33278         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33279         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33280         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33281         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33282         libc_feholdexcept_setround.
33284         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33285         Add s_nearbyint-c and s_nearbyintf-c.
33286         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33287         nearbyintf inlines.
33288         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33289         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33290         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33291         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33293         * math/math_private.h: Define defaults for libc_fegetround,
33294         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33295         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33296         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33297         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33298         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33299         standard functions.
33300         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33301         Remove comments and hacks for old compiler versions.
33302         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33303         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33304         libc_feholdexceptl.
33306 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33308         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33309         (__feraiseexcept_renamed): Add __NTH.
33310         (feraiseexcept): Add __NTH.  Rename local variables to fix
33311         namespace violations.
33313 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33315         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33317         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33319         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33320         recently added interfaces.
33321         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33323         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33324         about macro parameter expansion.
33326         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33327         __NO_MATH_INLINES is defined.  Cleanups.
33329         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33330         and __floorf is target has SSE4.1.
33331         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33332         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33333         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33334         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33336         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33337         name.
33338         (floorf): Likewise.
33340         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33342 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33344         * misc/sys/cdefs.h: Fix last change.
33346         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33347         database lookup.
33349 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33351         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33353         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33354         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33355         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33356         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33357         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33358         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33359         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33360         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33361         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33362         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33363         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33364         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33365         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33366         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33367         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33368         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33369         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33370         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33371         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33372         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33373         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33374         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33376         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33377         ceil, ceilf, floor, floorf.
33379         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33380         Perform IRELATIVE relocations last.
33382         * elf/do-rel.h: Add another parameter nrelative, replacing the
33383         local variable with the same name.  Change name of the function
33384         to end in Rel or Rela (uppercase).
33385         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33386         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33387         elf_dynamic_do_##reloc function.
33389 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33391         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33392         is sufficient, at least on modern CPUs.
33394         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33396         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33397         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33399         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33400         __expl_finite.
33401         * math/bits/math-finite.h: Add entries for exp.
33402         * math/e_expl.c: Add __*_finite alias.
33403         * sysdeps/i386/fpu/e_exp.S: Likewise.
33404         * sysdeps/i386/fpu/e_expf.S: Likewise.
33405         * sysdeps/i386/fpu/e_expl.c: Likewise.
33406         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33407         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33408         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33409         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33410         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33411         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33412         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33414         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33415         is sufficient, at least on modern CPUs.
33417         * ctype/ctype-info.c (__ctype_init): Define.
33418         * include/ctype.h (__ctype_init): Declare.
33419         (__ctype_b_loc): The variable is always initialized.
33420         (__ctype_toupper_loc): Likewise.
33421         (__ctype_tolower_loc): Likewise.
33422         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33423         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33425 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33427         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33429         * configure.in: Also look in $cxxmachine/include for C++ system
33430         headers.
33432 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33434         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33435         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33436         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33437         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33438         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33439         (USE_AS_WMEMCMP): New macro.
33440         Fixing indents.
33441         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33442         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33443         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33444         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33446         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33447         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33448         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33449         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33450         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33451         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33452         (USE_AS_WMEMCMP): New macro.
33453         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33454         * sysdeps/string/test-memcmp.c: Update.
33455         Fix simple_wmemcmp.
33456         Add new tests.
33457         * wcsmbs/wmemcmp.c: Update.
33458         (WMEMCMP): New macro.
33459         Fix overflow bug.
33461 2011-10-12  Andreas Jaeger  <aj@suse.de>
33463         [BZ #13268]
33464         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33466 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33468         * libio/iofwide.c (do_length): Avoid warning.
33470         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33472 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33474         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33476         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33477         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33478         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33479         * sysdeps/i386/i686/fpu/e_log.S: New file.
33480         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33481         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33483         * ctype/ctype.h: Add support for inlined isXXX functions when
33484         compiling C++ code.
33486 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33488         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33490         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33492 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33494         [BZ #13291]
33495         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33497 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33499         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33500         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33501         feraiseexcept.
33503         * sysdeps/x86_64/memrchr.S: Check for zero size.
33505         * string/stratcliff.c: Add memrchr tests.
33507 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33509         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33510         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33511         rawmemchr-sse2 rawmemchr-sse2-bsf.
33512         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33513         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33514         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33515         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33516         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33517         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33518         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33519         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33520         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33521         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33522         * string/memrchr.c (MEMRCHR): New macro.
33524 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33526         Add integration with gcc's -ffinite-math-only and optimize wrapper
33527         functions in libm.
33528         * Versions.def: Define GLIBC_2.15 version for libm.
33529         * math/Makefile (headers): Add bits/math-finite.h.
33530         * math/bits/math-finite.h: New file.
33531         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33532         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33533         * math/e_acoshl.c: Add __*_finite alias.
33534         * math/e_acosl.c: Likewise.
33535         * math/e_asinl.c: Likewise.
33536         * math/e_atan2l.c: Likewise.
33537         * math/e_atanhl.c: Likewise.
33538         * math/e_coshl.c: Likewise.
33539         * math/e_exp10.c: Likewise.
33540         * math/e_exp10f.c: Likewise.
33541         * math/e_exp10l.c: Likewise.
33542         * math/e_exp2l.c: Likewise.
33543         * math/e_fmodl.c: Likewise.
33544         * math/e_gammal_r.c: Likewise.
33545         * math/e_hypotl.c: Likewise.
33546         * math/e_j0l.c: Likewise.
33547         * math/e_j1l.c: Likewise.
33548         * math/e_jnl.c: Likewise.
33549         * math/e_lgammal_r.c: Likewise.
33550         * math/e_log10l.c: Likewise.
33551         * math/e_log2l.c: Likewise.
33552         * math/e_logl.c: Likewise.
33553         * math/e_powl.c: Likewise.
33554         * math/e_sinhl.c: Likewise.
33555         * math/e_sqrtl.c: Likewise.
33556         * math/e_scalb.c: Completely rewritten and optimized.
33557         * math/e_scalbf.c: Likewise.
33558         * math/e_scalbl.c: Likewise.
33559         * math/w_acos.c: Likewise.
33560         * math/w_acosf.c: Likewise.
33561         * math/w_acosl.c: Likewise.
33562         * math/w_acosh.c: Likewise.
33563         * math/w_acoshf.c: Likewise.
33564         * math/w_acoshl.c: Likewise.
33565         * math/w_asin.c: Likewise.
33566         * math/w_asinf.c: Likewise.
33567         * math/w_asinl.c: Likewise.
33568         * math/w_atan2.c: Likewise.
33569         * math/w_atan2f.c: Likewise.
33570         * math/w_atan2l.c: Likewise.
33571         * math/w_atanh.c: Likewise.
33572         * math/w_atanhf.c: Likewise.
33573         * math/w_atanhl.c: Likewise.
33574         * math/w_exp10.c: Likewise.
33575         * math/w_exp10f.c: Likewise.
33576         * math/w_exp10l.c: Likewise.
33577         * math/w_fmod.c: Likewise.
33578         * math/w_fmodf.c: Likewise.
33579         * math/w_fmodl.c: Likewise.
33580         * math/w_j0.c: Likewise.
33581         * math/w_j0f.c: Likewise.
33582         * math/w_j0l.c: Likewise.
33583         * math/w_j1.c: Likewise.
33584         * math/w_j1f.c: Likewise.
33585         * math/w_j1l.c: Likewise.
33586         * math/w_jn.c: Likewise.
33587         * math/w_jnf.c: Likewise.
33588         * math/w_log.c: Likewise.
33589         * math/w_logf.c: Likewise.
33590         * math/w_logl.c: Likewise.
33591         * math/w_log10.c: Likewise.
33592         * math/w_log10f.c: Likewise.
33593         * math/w_log10l.c: Likewise.
33594         * math/w_log2.c: Likewise.
33595         * math/w_log2f.c: Likewise.
33596         * math/w_log2l.c: Likewise.
33597         * math/w_pow.c: Likewise.
33598         * math/w_powf.c: Likewise.
33599         * math/w_powl.c: Likewise.
33600         * math/w_remainder.c: Likewise.
33601         * math/w_remainderf.c: Likewise.
33602         * math/w_remainderl.c: Likewise.
33603         * math/w_scalb.c: Likewise.
33604         * math/w_scalbf.c: Likewise.
33605         * math/w_scalbl.c: Likewise.
33606         * math/w_sqrt.c: Likewise.
33607         * math/w_sqrtf.c: Likewise.
33608         * math/w_sqrtl.c: Likewise.
33609         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33610         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33611         used.
33612         * math/math_private.h: Declare __kernel_standard_f.
33613         * math/w_cosh.c: Remove cruft and optimize a bit.
33614         * math/w_coshf.c: Likewise.
33615         * math/w_coshl.c: Likewise.
33616         * math/w_exp2.c: Likewise.
33617         * math/w_exp2f.c: Likewise.
33618         * math/w_exp2l.c: Likewise.
33619         * math/w_hypot.c: Likewise.
33620         * math/w_hypotf.c: Likewise.
33621         * math/w_hypotl.c: Likewise.
33622         * math/w_lgamma.c: Likewise.
33623         * math/w_lgamma_r.c: Likewise.
33624         * math/w_lgammaf.c: Likewise.
33625         * math/w_lgammaf_r.c: Likewise.
33626         * math/w_lgammal.c: Likewise.
33627         * math/w_lgammal_r.c: Likewise.
33628         * math/w_sinh.c: Likewise.
33629         * math/w_sinhf.c: Likewise.
33630         * math/w_sinhl.c: Likewise.
33631         * math/w_tgamma.c: Likewise.
33632         * math/w_tgammaf.c: Likewise.
33633         * math/w_tgammal.c: Likewise.
33634         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33635         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33636         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33637         Minor optimizations.  Pretty printing.  Remove cruft.
33638         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33639         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33640         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33641         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33642         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33643         * sysdeps/i386/fpu/e_asin.S: Likewise.
33644         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33645         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33646         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33647         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33648         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33649         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33650         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33651         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33652         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33653         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33654         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33655         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33656         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33657         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33658         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33659         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33660         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33661         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33662         * sysdeps/i386/fpu/e_log.S: Likewise.
33663         * sysdeps/i386/fpu/e_log10.S: Likewise.
33664         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33665         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33666         * sysdeps/i386/fpu/e_log2.S: Likewise.
33667         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33668         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33669         * sysdeps/i386/fpu/e_logf.S: Likewise.
33670         * sysdeps/i386/fpu/e_logl.S: Likewise.
33671         * sysdeps/i386/fpu/e_pow.S: Likewise.
33672         * sysdeps/i386/fpu/e_powf.S: Likewise.
33673         * sysdeps/i386/fpu/e_powl.S: Likewise.
33674         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33675         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33676         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33677         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33678         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33679         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33680         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33681         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33682         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33683         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33684         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33685         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33686         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33687         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33688         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33689         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33690         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33691         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33692         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33693         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33694         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33695         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33696         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33697         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33698         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33699         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33700         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33701         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33702         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33703         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33704         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33705         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33706         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33707         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33708         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33709         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33710         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33711         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33712         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33713         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33714         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33715         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33716         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33717         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33718         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33719         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33720         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33721         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33722         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33723         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33724         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33725         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33726         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33727         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33728         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33729         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33730         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33731         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33732         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33733         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33734         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33735         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33736         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33737         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33738         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33739         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33740         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33741         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33742         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33743         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33744         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33745         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33746         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33747         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33748         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33749         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33750         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33751         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33752         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33753         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33754         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33755         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33756         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33757         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33758         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33759         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33760         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33761         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33762         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33763         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33764         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33765         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33766         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33767         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33768         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33769         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33770         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33771         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33772         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33773         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33774         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33775         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33776         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33777         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33778         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33779         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33780         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33781         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33782         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33783         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33784         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33785         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33786         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33787         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33788         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33789         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33790         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33791         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33792         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33793         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33794         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33795         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33796         (__isnanf): Likewise.
33797         (__isinf_ns): Likewise.
33798         (__isinf_nsf): Likewise.
33799         (__finite): Likewise.
33800         (__finitef): Likewise.
33801         (__ieee754_sqrt): Define as macro.
33802         (__ieee754_sqrtf): Define as macro.
33803         (__ieee754_sqrtl): Define as macro.
33804         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33805         inlined copy.
33806         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33807         __FINITE_MATH_ONLY__ consistent.
33808         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33810 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33812         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33813         of rawmemchr.
33815         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33817 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33819         * po/ja.po: Update from translation team.
33821 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33823         * locale/programs/locarchive.c (prepare_address_space): New function.
33824         (create_archive, enlarge_archive, open_archive): Use it.
33826         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33827         inside [SHARED], where it is used.
33829         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33831         * nss/getent.c (netgroup_keys): Remove unused variable.
33832         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33834 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33836         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33837         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33838         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33839         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33840         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33841         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33842         * math/Makefile (libm-calls): Add s_isinf_ns.
33843         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33844         * math/multc3.c: Likewise.
33845         * math/s_casin.c: Likewise.
33846         * math/s_casinf.c: Likewise.
33847         * math/s_casinl.c: Likewise.
33848         * math/s_ccos.c: Likewise.
33849         * math/s_ccosf.c: Likewise.
33850         * math/s_ccosl.c: Likewise.
33851         * math/s_ctan.c: Likewise.
33852         * math/s_ctanf.c: Likewise.
33853         * math/s_ctanh.c: Likewise.
33854         * math/s_ctanhf.c: Likewise.
33855         * math/s_ctanhl.c: Likewise.
33856         * math/s_ctanl.c: Likewise.
33857         * math/w_fmod.c: Likewise.
33858         * math/w_fmodf.c: Likewise.
33859         * math/w_fmodl.c: Likewise.
33860         * math/w_remainder.c: Likewise.
33861         * math/w_remainderf.c: Likewise.
33862         * math/w_remainderl.c: Likewise.
33863         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33864         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33865         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33866         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33867         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33868         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33869         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33870         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33872         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33873         of the number.
33874         * stdio-common/printf_fphex.c: Likewise.
33875         * stdio-common/printf_size.c: Likewise.
33877         * math/e_exp10.c: Include math_private.h using <...> not "...".
33878         * math/e_exp10f.c: Likewise.
33879         * math/e_exp10l.c: Likewise.
33880         * math/e_exp2l.c: Likewise.
33881         * math/e_j0l.c: Likewise.
33882         * math/e_j1l.c: Likewise.
33883         * math/e_jnl.c: Likewise.
33884         * math/e_lgammal_r.c: Likewise.
33885         * math/e_rem_pio2l.c: Likewise.
33886         * math/e_scalb.c: Likewise.
33887         * math/e_scalbf.c: Likewise.
33888         * math/e_scalbl.c: Likewise.
33889         * math/k_cosl.c: Likewise.
33890         * math/k_sinl.c: Likewise.
33891         * math/k_tanl.c: Likewise.
33892         * math/s_cacoshf.c: Likewise.
33893         * math/s_catan.c: Likewise.
33894         * math/s_catanf.c: Likewise.
33895         * math/s_catanh.c: Likewise.
33896         * math/s_catanhf.c: Likewise.
33897         * math/s_catanhl.c: Likewise.
33898         * math/s_catanl.c: Likewise.
33899         * math/s_ccosh.c: Likewise.
33900         * math/s_ccoshf.c: Likewise.
33901         * math/s_ccoshl.c: Likewise.
33902         * math/s_cexp.c: Likewise.
33903         * math/s_cexpf.c: Likewise.
33904         * math/s_cexpl.c: Likewise.
33905         * math/s_clog.c: Likewise.
33906         * math/s_clog10.c: Likewise.
33907         * math/s_clog10f.c: Likewise.
33908         * math/s_clog10l.c: Likewise.
33909         * math/s_clogf.c: Likewise.
33910         * math/s_clogl.c: Likewise.
33911         * math/s_csin.c: Likewise.
33912         * math/s_csinf.c: Likewise.
33913         * math/s_csinh.c: Likewise.
33914         * math/s_csinhf.c: Likewise.
33915         * math/s_csinhl.c: Likewise.
33916         * math/s_csinl.c: Likewise.
33917         * math/s_csqrt.c: Likewise.
33918         * math/s_csqrtf.c: Likewise.
33919         * math/s_csqrtl.c: Likewise.
33920         * math/s_ctan.c: Likewise.
33921         * math/s_ctanf.c: Likewise.
33922         * math/s_ctanh.c: Likewise.
33923         * math/s_ctanhf.c: Likewise.
33924         * math/s_ctanhl.c: Likewise.
33925         * math/s_ctanl.c: Likewise.
33926         * math/s_ldexp.c: Likewise.
33927         * math/s_ldexpf.c: Likewise.
33928         * math/s_ldexpl.c: Likewise.
33929         * math/s_significand.c: Likewise.
33930         * math/s_significandf.c: Likewise.
33931         * math/s_significandl.c: Likewise.
33932         * math/w_acos.c: Likewise.
33933         * math/w_acosf.c: Likewise.
33934         * math/w_acosh.c: Likewise.
33935         * math/w_acoshf.c: Likewise.
33936         * math/w_acoshl.c: Likewise.
33937         * math/w_acosl.c: Likewise.
33938         * math/w_asin.c: Likewise.
33939         * math/w_asinf.c: Likewise.
33940         * math/w_asinl.c: Likewise.
33941         * math/w_atan2.c: Likewise.
33942         * math/w_atan2f.c: Likewise.
33943         * math/w_atan2l.c: Likewise.
33944         * math/w_atanh.c: Likewise.
33945         * math/w_atanhf.c: Likewise.
33946         * math/w_atanhl.c: Likewise.
33947         * math/w_cosh.c: Likewise.
33948         * math/w_coshf.c: Likewise.
33949         * math/w_coshl.c: Likewise.
33950         * math/w_dremf.c: Likewise.
33951         * math/w_exp10.c: Likewise.
33952         * math/w_exp10f.c: Likewise.
33953         * math/w_exp10l.c: Likewise.
33954         * math/w_exp2.c: Likewise.
33955         * math/w_exp2f.c: Likewise.
33956         * math/w_fmod.c: Likewise.
33957         * math/w_fmodf.c: Likewise.
33958         * math/w_fmodl.c: Likewise.
33959         * math/w_hypot.c: Likewise.
33960         * math/w_hypotf.c: Likewise.
33961         * math/w_hypotl.c: Likewise.
33962         * math/w_j0.c: Likewise.
33963         * math/w_j0f.c: Likewise.
33964         * math/w_j0l.c: Likewise.
33965         * math/w_j1.c: Likewise.
33966         * math/w_j1f.c: Likewise.
33967         * math/w_j1l.c: Likewise.
33968         * math/w_jn.c: Likewise.
33969         * math/w_jnf.c: Likewise.
33970         * math/w_jnl.c: Likewise.
33971         * math/w_lgamma.c: Likewise.
33972         * math/w_lgamma_r.c: Likewise.
33973         * math/w_lgammaf.c: Likewise.
33974         * math/w_lgammaf_r.c: Likewise.
33975         * math/w_lgammal.c: Likewise.
33976         * math/w_lgammal_r.c: Likewise.
33977         * math/w_log.c: Likewise.
33978         * math/w_log10.c: Likewise.
33979         * math/w_log10f.c: Likewise.
33980         * math/w_log10l.c: Likewise.
33981         * math/w_log2.c: Likewise.
33982         * math/w_log2f.c: Likewise.
33983         * math/w_log2l.c: Likewise.
33984         * math/w_logf.c: Likewise.
33985         * math/w_logl.c: Likewise.
33986         * math/w_pow.c: Likewise.
33987         * math/w_powf.c: Likewise.
33988         * math/w_powl.c: Likewise.
33989         * math/w_remainder.c: Likewise.
33990         * math/w_remainderf.c: Likewise.
33991         * math/w_remainderl.c: Likewise.
33992         * math/w_scalb.c: Likewise.
33993         * math/w_scalbf.c: Likewise.
33994         * math/w_scalbl.c: Likewise.
33995         * math/w_sinh.c: Likewise.
33996         * math/w_sinhf.c: Likewise.
33997         * math/w_sinhl.c: Likewise.
33998         * math/w_sqrt.c: Likewise.
33999         * math/w_sqrtf.c: Likewise.
34000         * math/w_sqrtl.c: Likewise.
34001         * math/w_tgamma.c: Likewise.
34002         * math/w_tgammaf.c: Likewise.
34003         * math/w_tgammal.c: Likewise.
34005         * po/ja.po: Update from translation team.
34007 2011-09-29  Andreas Jaeger  <aj@suse.de>
34009         [BZ #13179]
34010         * sunrpc/netname.c (netname2host): Fix logic.
34012         [BZ #6779]
34013         [BZ #6783]
34014         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34015         correctly.
34016         * math/w_remainder.c (__remainder): Likewise.
34017         * math/w_remainderf.c (__remainderf): Likewise.
34018         * math/libm-test.inc (remainder_test): Add test cases.
34020 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34022         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34023         sdiv_qrnnd.
34025 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34027         * string/test-memcmp.c: Avoid unncessary #defines.
34028         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34030 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34032         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34033         Use new sse2 version for core i3 - i7 as it's faster
34034         than sse42 version.
34035         (bit_Prefer_PMINUB_for_stringop): New.
34036         * sysdeps/x86_64/rawmemchr.S: Update.
34037         Replace with faster SSE2 version.
34038         * sysdeps/x86_64/memrchr.S: New file.
34039         * sysdeps/x86_64/memchr.S: Update.
34040         Replace with faster SSE2 version.
34042 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34044         * elf/dl-load.c (lose): Add cast to avoid warning.
34046 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34048         * po/ca.po: Update from translation team.
34050         * inet/getnetgrent_r.c: Hook up nscd.
34051         * nscd/Makefile (routines): Add nscd_netgroup.
34052         (nscd-modules): Add netgroupcache.
34053         (CFLAGS-netgroupcache.c): Define.
34054         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34055         (cache_search): Add const to second parameter.
34056         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34057         INNETGR.
34058         (dbs): Add netgrdb entry.
34059         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34060         (verify_persistent_db): Handle netgrdb.
34061         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34062         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34063         GETFDNETGR.
34064         (netgroup_response_header): Define.
34065         (innetgroup_response_header): Define.
34066         (datahead): Add netgroup_response_header and innetgroup_response_header
34067         elements.
34068         * nscd/nscd.conf: Add entries for netgroup cache.
34069         * nscd/nscd.h (dbtype): Add netgrdb.
34070         (_PATH_NSCD_NETGROUP_DB): Define.
34071         (netgroup_iov_disabled): Declare.
34072         (xmalloc, xcalloc, xrealloc): Move declarations here.
34073         (cache_search): Adjust prototype.
34074         Add netgroup-related prototypes.
34075         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34076         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34077         (__nscd_innetgr): Declare.
34078         * nscd/selinux.c (perms): Use access_vector_t as element type and
34079         add netgroup-related initializers.
34080         * nscd/netgroupcache.c: New file.
34081         * nscd/nscd_netgroup.c: New file.
34082         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34083         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34084         For four parameters use innetgr.
34085         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34086         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34087         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34088         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34090         * nscd/connections.c (register_traced_file): Don't register file
34091         for disabled databases.
34093 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34095         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34097         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34098         from tree and freeing node.
34100 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34102         * nss/nsswitch.c (__nss_database_lookup): Handle
34103         nss_parse_service_list out of memory case.
34105 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34107         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34108         out of memory case.
34110 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34112         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34113         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34114         pass it down.
34115         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34116         elf_machine_rela, elf_machine_lazy_rel.
34117         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34118         (ELF_DYNAMIC_DO_REL): Likewise.
34119         (ELF_DYNAMIC_DO_RELA): Likewise.
34120         (ELF_DYNAMIC_RELOCATE): Likewise.
34121         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34122         to ELF_DYNAMIC_DO_REL.
34123         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34124         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34125         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34126         elf_machine_rela.
34127         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34128         skip_ifunc, don't call ifunc function if non-zero.
34129         (elf_machine_rela): Likewise.
34130         (elf_machine_lazy_rel): Likewise.
34131         (elf_machine_lazy_rela): Likewise.
34132         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34133         (elf_machine_lazy_rel): Likewise.
34134         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34135         Likewise.
34136         (elf_machine_lazy_rel): Likewise.
34137         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34138         Likewise.
34139         (elf_machine_lazy_rel): Likewise.
34140         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34141         (elf_machine_lazy_rel): Likewise.
34142         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34143         (elf_machine_lazy_rel): Likewise.
34144         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34145         (elf_machine_lazy_rel): Likewise.
34146         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34147         (elf_machine_lazy_rel): Likewise.
34148         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34149         (elf_machine_lazy_rel): Likewise.
34150         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34151         (elf_machine_lazy_rel): Likewise.
34153 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34155         * nss/nss_files/files-init.c (_nss_files_init): Use static
34156         initialization for all the *_traced_file variables.
34158 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34160         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34162 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34164         [BZ #13226]
34165         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34167 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34169         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34170         Reread the line before reparsing it.
34172 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34174         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34176 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34177             Maxim Kuvyrkov  <maxim@codesourcery.com>
34178             Joseph Myers  <joseph@codesourcery.com>
34180         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34181         if needed for __stack_chk_guard.
34183 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34185         * sysdeps/posix/spawni.c (script_execute): Always define it.
34186         It will be optimized away if unused.
34187         (maybe_script_execute): New function.
34188         (__spawni): Call it.
34190         * Makerules: Don't include tls.make.
34191         (config-tls): Always set to thread.
34192         * tls.make.c: File removed.
34194 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34196         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34197         * config.make.in (CPPFLAGS-config): New substituted variable.
34199 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34201         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34203         [BZ #13192]
34204         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34205         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34207 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34209         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34210         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34211         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34212         (CALL_FAIL): Likewise.
34213         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34214         (CALL_FAIL): Macro removed.
34215         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34217 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34219         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34220         for __FINITE_MATH_ONLY__ == 1.
34222 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34224         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34225         __ieee754_sqrt instead of sqrt.
34226         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34227         __ieee754_sqrtf instead of sqrtf.
34228         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34229         __floorf instead of floorf.
34230         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34231         __floorf, __truncf instead of floorf, truncf.
34233 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34235         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34237         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34238         __extern_always_inline.
34239         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34240         32-bit.
34242 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34244         * elf/rtld.c (dl_main): Also relocate in dependency order when
34245         doing symbol dependency testing.
34247 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34249         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34250         Always define `refsym'.
34252 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34254         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34255         (__FD_ELT): Renamed from __FDELT.
34256         * misc/bits/select2.h (__FD_ELT): Likewise.
34257         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34258         __FD_MASK instead of __FDELT, __FDMASK.
34259         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34260         Likewise.
34261         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34262         Likewise.
34264         * elf/Makefile (gen-ldd): Fix pattern.
34266         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34267         (init_tls): Likewise.
34269 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34271         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34273 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34275         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34276         `struct cmsghdr *' instead of `void *'.
34277         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34278         Likewise.
34280 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34282         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34283         if non-absolute.
34284         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34285         ldd_rewrite_script.
34287 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34289         * configure.in: Remove --with-tls option.
34290         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34291         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34292         out in case it is missing.
34293         * sysdeps/ia64/elf/configure.in: Likewise.
34294         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34295         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34296         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34297         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34298         * sysdeps/sh/elf/configure.in: Likewise.
34299         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34300         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34301         * sysdeps/x86_64/elf/configure.in: Likewise.
34302         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34303         * sysdeps/mach/hurd/tls.h: Likewise.
34305         [BZ #13067]
34306         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34308         [BZ #13090]
34309         * configure.in: Fix use of AC_INIT.
34311         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34313 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34315         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34316         __set_errno.
34317         * malloc/hooks.c: Likewise.
34319         [BZ #11929]
34320         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34321         variables statically.
34322         (narenas): Initialize.
34323         (list_lock): Initialize.
34324         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34325         initializtion of main_arena and list_lock.  Small cleanups.
34326         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34327         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34328         Add initializers to main_arena and mp_.
34329         (malloc_state): Remove pagesize member.  Change all users to use
34330         GLRO(dl_pagesize).
34332         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34333         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34334         is always initialized.
34336         * malloc/malloc.c: Removed unused configurations and dead code.
34337         * malloc/arena.c: Likewise.
34338         * malloc/hooks.c: Likewise.
34339         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34341         * include/tls.h: Removed.  USE___THREAD must always be defined.
34342         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34343         * elf/dl-libc.c: Likewise.
34344         * elf/dl-tsd.c: Likewise.
34345         * include/errno.h: Likewise.
34346         * include/netdb.h: Likewise.
34347         * include/resolv.h: Likewise.
34348         * inet/herrno-loc.c: Likewise.
34349         * inet/herrno.c: Likewise.
34350         * malloc/arena.c: Likewise.
34351         * malloc/hooks.c: Likewise.
34352         * malloc/malloc.c: Likewise.
34353         * resolv/res-state.c: Likewise.
34354         * resolv/res_libc.c: Likewise.
34355         * sysdeps/i386/dl-machine.h: Likewise.
34356         * sysdeps/ia64/dl-machine.h: Likewise.
34357         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34358         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34359         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34360         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34361         * sysdeps/sh/dl-machine.h: Likewise.
34362         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34363         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34364         * sysdeps/unix/i386/sysdep.S: Likewise.
34365         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34366         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34367         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34368         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34369         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34370         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34371         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34372         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34373         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34375         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34376         * sysdeps/x86_64/dl-machine.h: Likewise.
34377         * tls.make.c: Likewise.
34379         * configure.in: Remove --with-__thread option.  Make tests for
34380         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34381         tls_model attribute fail if no support is available.  Remove
34382         USE_IN_LIBIO.
34383         * Makeconfig: Adjust for dropped configure option.  All features are
34384         now mandatory.
34385         * Makerules: Likewise.
34386         * Versions.def: Likewise.
34387         * argp/argp-fmtstream.c: Likewise.
34388         * argp/argp-fmtstream.h: Likewise.
34389         * argp/argp-help.c: Likewise.
34390         * assert/assert.c: Likewise.
34391         * config.h.in: Likewise.
34392         * config.make.in: Likewise.
34393         * configure: Likewise.
34394         * configure.in: Likewise.
34395         * csu/Versions: Likewise.
34396         * csu/init.c: Likewise.
34397         * elf/tst-audit2.c: Likewise.
34398         * elf/tst-tls10.c: Likewise.
34399         * elf/tst-tls10.h: Likewise.
34400         * elf/tst-tls11.c: Likewise.
34401         * elf/tst-tls12.c: Likewise.
34402         * elf/tst-tls14.c: Likewise.
34403         * elf/tst-tlsmod11.c: Likewise.
34404         * elf/tst-tlsmod12.c: Likewise.
34405         * elf/tst-tlsmod13.c: Likewise.
34406         * elf/tst-tlsmod13a.c: Likewise.
34407         * elf/tst-tlsmod14a.c: Likewise.
34408         * elf/tst-tlsmod15b.c: Likewise.
34409         * elf/tst-tlsmod16a.c: Likewise.
34410         * elf/tst-tlsmod16b.c: Likewise.
34411         * elf/tst-tlsmod7.c: Likewise.
34412         * elf/tst-tlsmod8.c: Likewise.
34413         * elf/tst-tlsmod9.c: Likewise.
34414         * gmon/gmon.c: Likewise.
34415         * grp/fgetgrent_r.c: Likewise.
34416         * grp/putgrent.c: Likewise.
34417         * hurd/fopenport.c: Likewise.
34418         * include/libc-symbols.h: Likewise.
34419         * include/tls.h: Likewise.
34420         * intl/gettextP.h: Likewise.
34421         * intl/loadinfo.h: Likewise.
34422         * locale/global-locale.c: Likewise.
34423         * locale/localeinfo.h: Likewise.
34424         * mach/devstream.c: Likewise.
34425         * malloc/arena.c: Likewise.
34426         * malloc/set-freeres.c: Likewise.
34427         * misc/err.c: Likewise.
34428         * misc/getttyent.c: Likewise.
34429         * misc/mntent_r.c: Likewise.
34430         * posix/getopt.c: Likewise.
34431         * posix/wordexp.c: Likewise.
34432         * pwd/fgetpwent_r.c: Likewise.
34433         * resolv/Versions: Likewise.
34434         * resolv/res_hconf.c: Likewise.
34435         * shadow/fgetspent_r.c: Likewise.
34436         * shadow/putspent.c: Likewise.
34437         * stdio-common/printf_fphex.c: Likewise.
34438         * stdio-common/tmpfile.c: Likewise.
34439         * stdlib/abort.c: Likewise.
34440         * stdlib/fmtmsg.c: Likewise.
34441         * sunrpc/auth_unix.c: Likewise.
34442         * sunrpc/clnt_perr.c: Likewise.
34443         * sunrpc/clnt_tcp.c: Likewise.
34444         * sunrpc/clnt_udp.c: Likewise.
34445         * sunrpc/clnt_unix.c: Likewise.
34446         * sunrpc/openchild.c: Likewise.
34447         * sunrpc/svc_simple.c: Likewise.
34448         * sunrpc/svc_tcp.c: Likewise.
34449         * sunrpc/svc_udp.c: Likewise.
34450         * sunrpc/svc_unix.c: Likewise.
34451         * sunrpc/xdr.c: Likewise.
34452         * sunrpc/xdr_array.c: Likewise.
34453         * sunrpc/xdr_rec.c: Likewise.
34454         * sunrpc/xdr_ref.c: Likewise.
34455         * sunrpc/xdr_stdio.c: Likewise.
34457 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34459         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34461 2011-07-03  Andreas Jaeger  <aj@suse.de>
34463         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34464         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34465         regenerate with gen-libm-tests.pl.
34467 2010-05-12  Petr Baudis  <pasky@suse.cz>
34469         [BZ #11589]
34470         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34471         around j0() zero points by switching to j1().
34472         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34473         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34474         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34475         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34477 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34479         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34480         instead of 0.
34481         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34482         instead of 0.
34483         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34484         Patch in part by Pavel Roskin <proski@gnu.org>.
34486         [BZ #13138]
34487         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34488         realloc.
34489         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34490         Free memory block if necessary.
34492         [BZ #12847]
34493         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34494         be NULL.  Don't lock in this case.
34496 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34498         * elf/elf.h (ELFOSABI_GNU): New macro.
34499         (ELFOSABI_LINUX): Define to that.
34501 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34503         * string/strncat.c (strncat): Undef the symbol in case it has been
34504         defined in bits/string.h.
34506 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34508         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34510         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34511         link map.
34513 2011-08-17  Andreas Jaeger  <aj@suse.de>
34515         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34517 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34518             Ian Lance Taylor  <iant@google.com>
34520         * math/libm-test.inc (lround_test): New testcase.
34521         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34523 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34525         * Makefile: Remove support for automatic cvs check-ins.
34526         * Makerules: Likewise.
34527         * config.make.in: Likewise.
34528         * configure.in: Likewise.
34529         * intl/Makefile: Likewise.
34530         * locale/Makefile: Likewise.
34531         * po/Makefile: Likewise.
34532         * posix/Makefile: Likewise.
34533         * sysdeps/gnu/Makefile: Likewise.
34534         * sysdeps/mach/hurd/Makefile: Likewise.
34535         * sysdeps/sparc/sparc32/Makefile: Likewise.
34537         [BZ #13118]
34538         * posix/Makefile (bug-regex32-ENV): Define.
34539         Patch by John Stanley <jpsinthemix@verizon.net>.
34541         * misc/Makefile (headers): Add bits/select2.h.
34542         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34543         * misc/bits/select2.h: New file.
34544         * include/bits/select2.h: New file.
34545         * debug/Makefile (routines): Add fdelt_chk.
34546         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34547         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34548         FD_ISSET.
34549         * debug/fdelt_chk.c: New file.
34551         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34552         * wcsmbs/test-wmemcmp.c: Likewise.
34553         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34554         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34556 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34558         * string/Makefile (strop-tests): Add memcmp.
34559         * string/test-wmemcmp.c: New file.
34560         * string/test-memcmp.c: Add wmemcmp support.
34562 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34564         [BZ #13153]
34565         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34566         2011-07-19 change.
34568         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34569         garbage value in a __mach_port_mod_refs call in the cases of the
34570         task-self and thread-self ports.
34572 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34574         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34576 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34578         * elf/dl-load.c (lose): Check for non-null L.
34580 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34582         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34584         * elf/dl-libc.c (dlerror_run): Pass back error code from
34585         dl_catch_error.
34587         [BZ #13123]
34588         * elf/dl-load.c (lose): Free l_origin if it is valid.
34590         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34591         names.
34592         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34593         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34594         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34595         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34596         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34597         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34599 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34601         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34602         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34603         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34604         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34605         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34606         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34607         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34608         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34609         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34610         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34612 2011-08-15  Alan Modra  <amodra@gmail.com>
34614         [BZ #13092]
34615         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34616         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34617         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34618         ppc_mcount to static-only-routines.
34619         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34620         __mcount_internal.
34621         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34622         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34624 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34626         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34627         for finite and infinity parameters.
34629 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34631         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34632         and add nop instructions for throughput optimization.
34633         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34635 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34637         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34638         aligned copy for power7 with vector-scalar instructions.
34639         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34641 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34643         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34644         AVX check.
34646 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34648         [BZ #13144]
34649         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34650         last change.
34652 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34654         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34655         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34656         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34657         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34658         clock_gettime.
34660 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34662         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34663         Forgot to demangle the pointer.
34665         * sysdeps/i386/sysdep.h: Define atom_text_section.
34666         * sysdeps/x86_64/sysdep.h: Likewise.
34667         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34668         section with atom_text_section.
34669         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34670         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34671         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34672         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34673         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34675         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34676         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34677         already be defined.  Change to take two parameters and don't assign
34678         result to variable.  Adjust all users.
34679         Define INTERNAL_GETTIME if not already defined.
34680         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34681         call.
34682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34683         HAVE_CLOCK_GETTIME_VSYSCALL.
34684         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34686         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34687         gettimeofday vsyscall, just use time.
34689 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34691         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34692         <errno.h>.
34694 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34696         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34697         syscall on x86-64.
34698         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34699         syscall.
34700         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34701         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34702         syscall if possible.
34704 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34706         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34707         e_ident.  Don't pass to find_mapsXX.
34708         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34710 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34713         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34714         * sysdeps/x86_64/multiarch/strchr.S: Update.
34715         Check bit_slow_BSF bit.
34716         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34717         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34718         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34720 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34722         [BZ #13134]
34723         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34724         before glibc 2.15.
34725         (tryshell): Define.
34726         (__spawni): Change last parameter to be flag.  Test
34727         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34728         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34729         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34730         * posix/spawni.c: Likewise.
34731         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34732         * posix/spawnp.c: Likewise.  Change normal version to use
34733         SPAWN_XFLAGS_USE_PATH.
34734         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34735         SPAWN_XFLAGS_TRY_SHELL.
34737         [BZ #13150]
34738         * posix/glob.h: Remove gcc 1.x support.
34740         [BZ #13068]
34741         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34743 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34745         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34746         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34747         strrchr-sse2-bsf
34748         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34749         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34750         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34751         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34752         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34753         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34755 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34757         * sysdeps/x86_64/wcscmp.S: New file.
34759         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34760         wcscmp-c wcscmp-sse2
34761         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34762         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34763         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34764         * wcsmbs/wcscmp.c: Allow renaming.
34766 2011-09-05  David S. Miller  <davem@davemloft.net>
34768         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34769         stack slot, rather than the struct return pointer slot.
34770         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34771         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34773         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34775 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34777         * po/ja.po: Update from translation team.
34779         [BZ #13144]
34780         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34781         kernel in 64-bit binaries.
34783 2011-09-01  David S. Miller  <davem@davemloft.net>
34785         * elf/elf.h (HWCAP_SPARC_*): Move to..
34786         * sysdeps/sparc/sysdep.h: this new file and add new values.
34787         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34788         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34789         _DL_HWCAP_COUNT to 24.
34790         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34791         entries.
34792         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34793         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34794         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34795         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34796         instead of magic constants.
34797         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34799 2011-08-31  David S. Miller  <davem@davemloft.net>
34801         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34802         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34803         Reimplement to do errno handling inline.
34804         (SYSCALL_ERROR_HANDLER): New macro.
34805         (__SYSCALL_STRING): Do not do errno handling in asm.
34806         (__CLONE_SYSCALL_STRING): Delete.
34807         (__INTERNAL_SYSCALL_STRING): Delete.
34808         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34809         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34810         (PSEUDO): Reimplement to do errno handling inline.
34811         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34812         (SYSCALL_ERROR_HANDLER): New macro.
34813         (__SYSCALL_STRING): Do not do errno handling in asm.
34814         (__CLONE_SYSCALL_STRING): Delete.
34815         (__INTERNAL_SYSCALL_STRING): Delete.
34816         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34817         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34818         i386.
34819         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34820         (inline_syscall*): Add 'err' argument.
34821         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34822         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34823         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34824         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34826         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34827         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34829 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34831         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34833 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34835         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34836         directive.
34838 2011-08-24  David S. Miller  <davem@davemloft.net>
34840         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34842 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34844         * elf/Makefile: Add rules to build and run unload8 test.
34845         * elf/unload8.c: New file.
34846         * elf/unload8mod1.c: New file.
34847         * elf/unload8mod1x.c: New file.
34848         * elf/unload8mod2.c: New file.
34849         * elf/unload8mod3.c: New file.
34851         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34852         it wasn't used.
34854 2011-08-23  David S. Miller  <davem@davemloft.net>
34856         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34857         subtract stack bias.
34858         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34859         %sp not %fp in calculations.
34860         (_JMPBUF_UNWINDS_ADJ): Likewise.
34862         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34863         (aio_suspend): Call it to force an exception region around the
34864         AIO_MISC_WAIT() invocation.
34866 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34868         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34869         backslash.
34871 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34873         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34874         protection macro.
34875         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34876         and <dl-machine.h>.
34877         (Elf64_FuncDesc): Remove.
34879 2011-08-22  David S. Miller  <davem@davemloft.net>
34881         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34882         sigaltstack check, add missing cfi directives.
34883         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34884         missing cfi directives, and sigaltstack handling.
34886 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34888         [BZ #11724]
34889         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34890         object is seen twice.
34891         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34893         * elf/Makefile (distribute): Add tst-initorder2.c.
34894         (tests): Add tst-initorder2.
34895         (modules-names): Add tst-initorder2a tst-initorder2b
34896         tst-initorder2c tst-initorder2d.  Add rules to build them.
34897         ($(objpfx)tst-initorder2.out): New rule.
34898         * elf/tst-initorder2.c: New file.
34899         * elf/tst-initorder2.exp: New file.
34901 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34903         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34905         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34906         dependencies back to end of function.
34908         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34909         $(elfobjdir)/ld.so.
34911 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34913         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34914         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34915         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34916         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34917         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34918         of __vdso_gettimeofday.
34919         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34920         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34921         attribute_hidden.
34922         (_libc_vdso_platform_setup): Remove initialization of
34923         __vdso_gettimeofday and __vdso_time.
34925 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34927         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34928         and fgetc_unlocked.
34929         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34930         getc_unlocked.
34932         * elf/dl-open.c (add_to_global): Report additions to the global scope
34933         for LD_DEBUG=scopes.
34934         (dl_open_worker): Also print scope of newly loaded dependencies.
34935         (_dl_show_scope): Indicate if there is no scope.
34937         [BZ #13114]
34938         * stdio-common/Makefile (tests): Add bug24.
34939         * stdio-common/bug24.c: New file.
34941 2011-08-19  Andreas Jaeger  <aj@suse.de>
34943         [BZ #13114]
34944         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34945         non-existant file when using close-on-exec mode.
34947 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34949         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34950         the very first instruction.
34952         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34953         the CFI state in the end.
34954         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34955         inclusion of dl-trampoline.h.
34956         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34958 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34960         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34961         expectations for long double.
34963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34964         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34966 2011-08-14  David S. Miller  <davem@davemloft.net>
34968         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34969         artificual limit depends upon the system page size.
34971 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34973         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34974         * resolv/Makefile: Define CFLAGS-libresolv.
34976 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34978         * nss/makedb.c (compute_tables): Make variables used in nested
34979         function static.
34981 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34983         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34984         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34985         if buffer was too small.
34987         * elf/pldd.c (main): Attach to all threads in the process.
34988         Rewrite /proc handling to use *at functions.
34990 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34992         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34993         specifies first scope to show.
34994         (dl_open_worker): Update callers.  Move printing scope of new
34995         object to before the relocation.
34996         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34997         * sysdeps/generic/ldsodefs.h: Update declaration.
34999         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35000         string for the scope number.
35002 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35004         * nscd/servicescache.c (cache_addserv): Make sure written is always
35005         initialized.
35007 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35009         * sysdeps/i386/i486/bits/atomic.h
35010         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35011         statement expression, so as to suppress "set but not used" warning.
35012         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35014         * string/strncat.c (STRNCAT): Use prototype definition.
35016         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35017         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35018         -Iprograms here.
35019         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35020         (localedef-modules): Add localedef.
35021         (locale-modules): Add locale.
35023         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35024         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35025         to avoid a warning.
35027 2011-08-14  David S. Miller  <davem@davemloft.net>
35029         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35030         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35032 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35034         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35035         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35036         * elf/rtld.c (dl_main): Set l_name of vDSO.
35037         Call _dl_show_scope when DL_DEBUG_SCOPES.
35038         (process_dl_debug): Recognize scopes flag and also set it for all.
35039         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35040         Declare _dl_show_scope.
35042         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35043         (do_dlopen): Pass caller_dlopen to dl_open.
35044         (__libc_dlopen_mode): Initialize caller_dlopen.
35046         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35047         of libc.  Make tolower call locale-independent.  Optimize a bit by
35048         using isdigit instead of isalnum.
35049         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35051 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35053         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35054         was a dependency or dynamically loaded.
35056 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35058         * intl/l10nflist.c: Allow architecture-specific pop function.
35059         * sysdeps/x86_64/l10nflist.c: New file.
35061         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35062         classification.
35064 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35066         * include/dirent.h: Add libc_hidden_proto for scandirat and
35067         scandirat64.  Don't declare __scandirat64.
35068         * dirent/scandirat.c: Add libc_hidden_def.
35069         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35070         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35072 2011-08-10  David S. Miller  <davem@davemloft.net>
35074         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35075         enum.
35076         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35077         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35078         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35080 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35082         * Versions.def [libc]: Add GLIBC_2.15.
35083         * dirent/Makefile (routines): Add scandirat and scandirat64.
35084         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35085         GLIBC_2.15.
35086         * dirent/dirent.h: Declare scandirat and scandirat64.
35087         * dirent/scandirat.c: New file.
35088         * dirent/scandirat64.c: New file.
35089         * sysdeps/wordsize-64/scandirat.c: New file.
35090         * sysdeps/wordsize-64/scandirat64.c: New file.
35091         * dirent/opendir.c: Define opendirat.
35092         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35093         using scandirat.
35094         * dirent/scandir64.c: Adjust for scandir.c change.
35095         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35096         __scandirat64, and __scandir_cancel_handler.
35097         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35098         additional parameter and use openat instead of open (outside of ld.so).
35099         Add new __opendir as wrapper around __opendirat.
35100         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35101         here without requiring old scandirat implementation.
35103 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35105         * dirent/scandir.c (cancel_handler): Renamed to
35106         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35107         defined.  Adjust users.
35108         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35109         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35111 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35113         * string/test-string.h (IMPL): Use __STRING to expand name and then
35114         stringify it.
35116         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35117         of cleanups.
35119 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35121         * string/Makefile: Update.
35122         (strop-tests): Append strncat.
35123         * string/test-wcscmp.c: New file.
35124         New comprehensive test for wcscmp.
35125         * string/test-strcmp.c: Update.
35126         (WIDE): New define.
35128 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35130         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35131         line.
35133 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35136         encoding to ACE if AI_IDN.
35138 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35140         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35141         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35143 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35145         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35146         Fix overflow bug in strncat.
35147         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35149         * string/test-strncat.c: Update.
35150         Add new tests for checking overflow bugs.
35152 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35154         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35155         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35156         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35157         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35158         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35159         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35160         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35161         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35162         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35164         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35165         (USE_AS_STRCAT): Define.
35166         Add strcat and strncat support.
35167         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35169 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35171         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35172         __n bigger than INT_MAX+1.
35173         (__strncmp_g): Likewise.
35175 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35177         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35178         * libio/stido.h: Likewise.
35180         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35181         (AF_NFC): Define.
35182         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35183         (AF_NFC): Define.
35185         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35186         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35187         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35188         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35189         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35191         [BZ #13021]
35192         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35193         installed.
35195         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35196         typo.
35197         (_dl_x86_64_save_sse): Likewise.
35199 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35201         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35202         OSXSAVE.
35203         (_dl_x86_64_save_sse): Likewise.
35205         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35207         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35209 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35211         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35212         change.
35213         (_dl_x86_64_save_sse): Use correct AVX check.
35215 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35217         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35218         bug in strncpy/strncat.
35219         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35221 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35223         * string/tester.c (test_strcat): Add tests for different alignments
35224         of source and destination.
35225         (test_strncat): Likewise.
35227 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35229         [BZ #12852]
35230         * posix/glob.c (glob): Check passed in values before using them in
35231         expressions to avoid some overflows.
35232         (glob_in_dir): Likewise.
35234         [BZ #13007]
35235         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35236         check for AVX enablement so that we don't crash with old kernels and
35237         new hardware.
35238         * elf/tst-audit4.c: Add same checks here.
35239         * elf/tst-audit6.c: Likewise.
35241         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35243 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35245         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35247 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35249         * po/cs.po: Update from translation team.
35250         * po/bg.po: Likewise.
35252 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35254         * misc/sys/cdefs.h: Add support for const attribute.
35255         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35256         to gnu_dev_{major,minor,makedev} functions.
35258 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35260         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35262 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35264         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35265         strlen results.
35267 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35269         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35270         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35271         register in order to avoid conflicts with the soft frame pointer
35272         being held in r11 when necessary.
35273         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35274         (INTERNAL_VSYSCALL_NCS): Likewise.
35276 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35278         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35279         * elf/dl-fini.c (_dl_fini): Adjust caller.
35280         * elf/dl-close.c (_dl_close_worker): Likewise.
35281         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35283 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35285         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35286         "aux_cache->nlibs < 0".
35288         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35289         in the reload-count case.
35291 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35294         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35295         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35296         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35297         * sysdeps/x86_64/multiarch/strcat.S: New file.
35298         * sysdeps/x86_64/multiarch/strncat.S: New file.
35299         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35300         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35301         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35302         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35303         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35304         (USE_AS_STRCAT): Define.
35305         Add strcat and strncat support.
35306         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35307         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35308         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35309         * string/strncat.c: Update.
35310         (USE_AS_STRNCAT): Define.
35311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35312         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35313         and i7.
35314         * sysdeps/x86_64/multiarch/init-arch.h
35315         (bit_Prefer_PMINUB_for_stringop): New.
35316         (index_Prefer_PMINUB_for_stringop): Likewise.
35317         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35318         bit_Prefer_PMINUB_for_stringop.
35320 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35322         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35323         buffer64.
35324         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35325         of casting of buffer.
35326         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35327         buffer32 and buffer64.
35328         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35329         writes instead of casting of buffer.
35330         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35331         buffer32.
35332         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35333         casting of buffer.
35335 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35337         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35339 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35341         * nscd/nscd.c (termination_handler): Don't do anything for a database
35342         if it has not yet been initialized.
35344 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35346         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35348 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35350         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35352 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35354         * po/nl.po: Update from translation team.
35355         * po/sv.po: Likewise.
35357 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35359         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35360         now disallowed by GCC.
35362         * configure.in (use-default-link): Default to yes if a test -shared
35363         link meets our qualifications.
35364         * configure: Regenerated.
35366         * config.make.in (output-format): New variable.
35367         * configure.in: Check for ld --print-output-format support.
35368         * configure: Regenerated.
35369         * Makerules ($(common-objpfx)format.lds)
35370         [$(output-format) != unknown]: Just use $(output-format),
35371         instead of the linker-script munging.
35373 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35375         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35376         of $(common-objpfx)shlib.lds.
35377         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35379         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35380         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35382         * configure.in (-z relro check): Adjust test code to add a large
35383         writable data section after it.
35384         * configure: Regenerated.
35386 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35388         * configure.in (-z relro check): Fix test code to make the variable
35389         truly const.
35390         * configure: Regenerated.
35392 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35394         * nscd/nscd.h (struct traced_file): Define.
35395         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35396         elements.  Add traced_files.
35397         (inotify_fd): Declare.
35398         (register_traced_file): Declare.
35399         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35400         (inotify_fd): Export.
35401         (resolv_conf_descr): Remove.
35402         (nscd_init): Move inotify descriptor creation to main.
35403         Don't register files for notification here.
35404         (register_traced_file): New function.
35405         (invalidate_cache): Don't use reset_res to determine whether to call
35406         res_init, go through the list of registered files.
35407         (main_loop_poll): The inotify descriptors are now stored in the
35408         structures for the traced files.
35409         (main_loop_epoll): Likewise
35410         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35411         to __nss_disable_nscd.
35412         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35413         for a database anymore.  Check the records for all the registered
35414         files instead.
35415         * nss/Makefile (libnss_files-routines): Add files-init.
35416         (libnss_db-routines): Add db-init.
35417         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35418         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35419         * nss/nss_db/db-init.c: New file.
35420         * nss/nss_files/files-init.c: New file.
35421         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35422         __nss_lookup_function.
35423         (__nss_lookup_function): Call nss_load_library.
35424         (nss_load_all_libraries): New function.
35425         (__nss_disable_nscd): Take parameter with callback function for files
35426         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35427         used for the cached services.
35428         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35429         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35430         options for features to all the files in nscd.
35432         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35434 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35436         * csu/elf-init.c (__libc_csu_init): Comment typo.
35438 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35440         * po/pl.po: Update from translation team.
35441         * po/ja.po: Likewise.
35442         * po/ru.po: Likewise.
35443         * po/ko.po: Likewise.
35444         * po/fr.po: Likewise.
35446 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35448         * configure.in (.ctors/.dtors header and trailer check):
35449         Use an empirical test on a built program.
35450         * configure: Regenerated.
35452         * configure.in (-z relro check): Use an empirical test on a built DSO.
35453         Detect, but do not require, on ia64.
35454         * configure: Regenerated.
35456         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35457         Update tests that use readelf to use $READELF instead.
35458         * configure: Regenerated.
35460 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35462         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35463         if the result is not used.
35465 2011-07-05  Andreas Jaeger  <aj@suse.de>
35467         [BZ#9696]
35468         * stdlib/tst-strtod.c: Add testcase.
35470 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35472         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35473         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35474         The latter has a higher limit.  Take additional parameter to pass to
35475         the new function.
35476         (__pathconf): Pass file to __statfs_link_max.
35477         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35478         __statfs_link_max.
35479         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35480         __statfs_link_max.
35482         [BZ #12868]
35483         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35484         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35485         Handle Lustre.
35486         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35487         (__statfs_filesize_max): Likewise.
35488         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35490 2011-07-05  Andreas Jaeger  <aj@suse.de>
35492         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35494 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35496         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35497         `status' variable.
35498         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35499         Likewise.
35501 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35503         * Makefile (strop-tests): Add strncat.
35504         * string/test-strncat.c: New file.
35506 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35508         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35510 2011-06-21  Andreas Jaeger  <aj@suse.de>
35512         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35513         Copy rule from iconvdata/Makefile.
35515 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35517         [BZ #12922]
35518         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35519         but no long options are defined, just return 'W'.
35521 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35523         [BZ #9696]
35524         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35526 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35528         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35529         netgroups to read.
35530         (innetgr): Likewise.
35532 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35534         * config.make.in (install_root): Default to $(DESTDIR).
35536 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35538         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35540 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35542         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35544         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35545         containing directory rather than embedding absolute directory names.
35547         * scripts/check-local-headers.sh: Rewritten using awk.
35548         Match by word, not by line.  Print error messages for matches.
35549         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35551         * Makerules [shlib-lds-flags empty]:
35552         ($(common-objpfx)libc_pic.opts): New target.
35553         ($(common-objpfx)libc_pic.os.clean): New target.
35554         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35556         * config.make.in (OBJCOPY): New variable.
35557         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35558         * configure: Regenerated.
35560         * config.make.in (use-default-link): New variable.
35561         * configure.in (use_default_link): Grok --with-default-link to set it.
35562         * configure: Regenerated.
35563         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35564         (shlib-lds, shlib-lds-flags): Define to empty.
35566         * Makerules (shlib-lds): New variable.
35567         (shlib-lds-flags): New variable.
35568         (build-shlib, build-moduile, build-module-asneeded): Use it.
35569         ($(common-objpfx)libc.so): Use $(shlib-lds).
35570         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35571         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35573         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35574         DT_FLAGS/DT_FLAGS_1 with zero flags.
35576         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35577         linker script munging.
35579 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35581         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35582         as 128-bit value.
35583         * crypt/sha512.c (sha512_process_block): Perform total addition using
35584         128-bit if possible.
35585         (__sha512_finish_ctx): Likewise.
35586         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35587         as 64-bit value.
35588         * crypt/sha256.c (SWAP64): Define.
35589         (sha256_process_block): Perform total addition using 64-bit if
35590         possible.
35591         (__sha256_finish_ctx): Likewise.
35593 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35595         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35596         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35597         * nscd/hstcache.c (cache_addhst): Likewise.
35598         * nscd/grpcache.c (cache_addgr): Likewise.
35599         * nscd/aicache.c (addhstaiX): Likewise
35600         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35602 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35604         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35605         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35606         * nscd/hstcache.c (cache_addhst): Likewise.
35607         * nscd/grpcache.c (cache_addgr): Likewise.
35608         * nscd/aicache.c (addhstaiX): Likewise
35610 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35612         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35613         domain only when needed.
35615 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35618         is always restored.
35620 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35622         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35623         are re-adding the entry.
35624         * nscd/servicescache.c (cache_addserv): Likewise.
35626 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35628         * sysdeps/generic/dl-irel.h: fix protection against multiple
35629         inclusions.
35630         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35632 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35634         [BZ #12935]
35635         * malloc/memusage.sh: Fix quoting in message.
35636         * debug/xtrace.sh: Likewise.
35638         * configure.in: Remove support for --experimental-malloc option, make
35639         it the default.
35640         * config.make.in: Likewise.
35641         * malloc/Makefile: Likewise.
35643 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35645         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35646         two-byte characters.
35648 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35650         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35651         AC_CACHE_CHECK invocation.
35652         * configure: Regenerated.
35654         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35656 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35658         [BZ #12350]
35659         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35660         bit from old_res_options.
35662         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35664         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35665         value type for setfct.
35667 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35669         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35670         __gettimeofday instead of gettimeofday.
35672 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35674         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35676 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35678         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35680         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35681         info.
35683 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35686         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35687         strcpy-sse2-unaligned strncpy-sse2-unaligned
35688         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35689         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35690         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35691         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35692         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35693         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35694         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35695         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35696         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35697         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35698         (STRCPY): Support SSE2 and SSSE3 versions.
35700 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35702         [BZ #12874]
35703         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35704         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35705         kernels which artificially limit size of requests.
35707 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35709         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35710         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35711         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35712         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35713         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35714         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35715         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35716         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35717         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35718         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35719         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35720         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35721         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35722         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35723         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35725         Enable unaligned load optimization for Intel Core i3, i5 and i7
35726         processors.
35727         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35728         Define.
35729         (index_Fast_Unaligned_Load): Define.
35730         (HAS_FAST_UNALIGNED_LOAD): Define.
35732 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35734         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35736 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35738         [BZ #12907]
35739         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35740         until it is clear that the information is realy needed.
35741         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35743 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35747 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35749         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35750         /sys/devices/system/cpu/online if it is usable.
35752         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35753         reading the information from the /proc filesystem to once a second.
35755 2011-06-21  Andreas Jaeger  <aj@suse.de>
35757         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35758         NULL after inclusion of kernel headers.
35760 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35762         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35763         calls to internal_setent.
35765         [BZ #12885]
35766         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35767         addresses using gethostbyname4_r ignore IPv4 addresses.
35769         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35770         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35772         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35774 2011-06-20  David S. Miller  <davem@davemloft.net>
35776         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35777         inclusions.
35778         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35780         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35781         (elf_irel): Use it.
35782         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35783         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35784         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35785         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35786         * sysdeps/x86_64/dl-irel.h: Likewise.
35788         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35789         * elf/dl-sym.c: Likewise.
35791 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35793         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35794         need to dereference resplen2.
35796 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35798         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35800 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35802         * Makeconfig: Define vardbdir and inst_vardbdir.
35803         * nss/Makefile: Add rules to install db-Makefile.
35805         * nss/nss_db/db-XXX.c: Cleanup.
35807         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35808         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35809         GLIBC_PRIVATE.
35810         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35811         * nss/makedb.c: Implement -g option to specify that value strings
35812         are generated and should not be added to table iterated over for
35813         get*ent calls.
35814         * nss/nss_db/db-initgroups.c: New file.
35816         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35817         interface.
35819         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35820         (internal_getgrouplist): Adjust to name change.
35821         Update use_initgroups_entry if this is not the first call.
35822         * nss/databases.def: Add initgroups entry.
35824         * nss/makedb.c (compute_tables): Check result of multiple hash table
35825         sizes to minimize maximum chain length.
35827 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35829         * Versions.def: Add entry for libnss_db.
35830         * shlib-versions: Likewise.
35831         * nss/Makefile: Add rules to build libnss_db.
35832         * nss/Versions: Add libnss_db information.  Organize libnss_files
35833         entries better.
35834         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35835         makedb progra.  Some minor improvements to generate smaller files.
35836         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35837         here from...
35838         * nss/makedb.c: ...here.
35839         Improve database format to be smaller and require less memory at
35840         runtime.
35841         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35842         db anymore.
35843         * nss/nss_db/db-netgrp.c: Likewise.
35844         * nss/nss_db/db-open.c: Likewise.
35845         * nss/nss_files/flies-XXX.x: Adjust comments.
35846         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35847         * nss/nss_files/files-grp.c: Likewise.
35848         * nss/nss_files/files-hosts.c: Likewise.
35849         * nss/nss_files/files-network.c: Likewise.
35850         * nss/nss_files/files-proto.c: Likewise.
35851         * nss/nss_files/files-pwd.c: Likewise.
35852         * nss/nss_files/files-rpc.c: Likewise.
35853         * nss/nss_files/files-service.c: Likewise.
35854         * nss/nss_files/files-sgrp.c: Likewise.
35855         * nss/nss_files/files-spwd.c: Likewise.
35856         * nss/nss_db/db-alias.c: Removed.
35857         * nss/nss_db/dummy-db.h: Removed.
35859 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35861         * nss/makedb.c: Rewritten to not use database library.
35862         * nss/Makefile: Update to build new makedb program.
35864 2011-06-14  Andreas Jaeger  <aj@suse.de>
35866         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35867         memset declaration.
35869 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35872         tmpbuf.
35874 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35876         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35877         * elf/Makefile ($(objpfx)ld.so): Likewise.
35879         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35880         Don't list ld.so twice in dependencies.
35882         * posix/bug-regex31.c: Include <stdlib.h>.
35884         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35886         * nis/nss_compat/compat-spwd.c
35887         (getspent_next_nss_netgr): Remove unused variable.
35888         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35890         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35891         nonmembers" output to use the right array.
35893         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35895         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35897         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35898         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35899         * catgets/gencat.c (read_input_file): Likewise.
35900         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35902         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35903         variable definition inside #if's controlling its use.
35905         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35907         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35909         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35911         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35912         unreachable code.
35914         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35916         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35917         * configure: Regenerated.
35919         * Makerules: Revert last change.
35920         * elf/Makefile: Likewise.
35922 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35924         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35925         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35926         (reloc-link): Likewise.
35928 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35930         * elf/Makefile: Add rules to build pldd.
35931         * elf/pldd.c: New file.
35932         * elf/pldd-xx.c: New file.
35934 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35936         * version.h: Update for 2.15 development version.
35938 2011-06-07  David S. Miller  <davem@davemloft.net>
35940         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35941         ifuncs.
35942         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35943         elf_machine_lazy_rel): Likewise.
35944         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35945         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35946         elf_machine_lazy_rel): Likewise.
35947         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35948         dl_hwcap via passed in argument.
35949         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35950         Likewise.
35952 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35954         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35956 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35958         [BZ #12849]
35959         * manual/fdl-1.1.texi: New file, verbatim from:
35960         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35961         * manual/lgpl-2.1.texi: New file, verbatim from:
35962         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35963         * manual/Makefile (licenses): New variable, list those new file names.
35964         (texis): Use it.
35965         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35967         * manual/fdl.texi: File removed.
35968         * manual/lesser.texi: File removed.
35969         * manual/libc.texinfo (Copying, Documentation License):
35970         Use new @include file names, put @appendix directive before @include.
35972 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35974         [BZ #12841]
35975         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35976         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35977         (mq_open): Add __NTH.
35979 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35982         Assume Intel Core i3/i5/i7 processor if AVX is available.
35984 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35986         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35987         typo.
35989 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35991         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35992         memory.  Use alloca_account.  Fix memory leak when retrying.
35994 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35996         * version.h (RELEASE): Bump for 2.14 release.
35997         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35999         * config.make.in (RANLIB): Remove entry.
36001 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36003         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36004         (libc.pot): Work around missing support for .ksh extension in xgettext.
36006         [BZ #12684]
36007         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36008         if both request failed.
36009         (send_dg): In case of server errors clear resplen or *resplen2.
36011         [BZ #12454]
36012         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36013         when there are multiple maps.
36014         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36015         (_dl_fini): Remove test here.
36017         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36019 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36021         [BZ #12350]
36022         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36023         bit from old_res_options.
36024         (gaih_inet): Likewise.
36026         [BZ #11099]
36027         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36028         as signed.
36030         * resolv/res_init.c (res_setoptions): Make the code more compact.
36032         [BZ #11558]
36033         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36034         set RES_USEVC.
36036         [BZ #11634]
36037         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36039         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36041         [BZ #11781]
36042         * malloc/malloc.h: Declare malloc hook variables as volatile.
36044         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36045         in last patch.
36047         [BZ #11799]
36048         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36049         raise in the comment.
36050         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36051         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36052         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36054 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36056         [BZ #12811]
36057         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36058         grow the buffers more if it already has to be sufficient.
36059         (build_wcs_upper_buffer): Likewise.
36060         * posix/regexec.c (check_matching): Likewise.
36061         (clean_state_log_if_needed): Likewise.
36062         (extend_buffers): Don't enlarge buffers beyond size of the input
36063         buffer.
36064         Patches mostly by Emil Wojak <emil@wojak.eu>.
36065         * posix/bug-regex32.c: New file.
36066         * posix/Makefile (tests): Add bug-regex32.
36068         * locale/findlocale.c (_nl_find_locale): Return right away if
36069         _nl_explode_name failed.
36070         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36072         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36074         * debug/xtrace.sh: Unify messages.
36075         * malloc/memusage.sh: Likewise.
36077         [BZ #12813]
36078         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36079         time symbol from vDSO.  Substitute with vsyscall if not available.
36080         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36081         __vdso_time.
36083         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36084         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36085         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36086         Add sendmmsg and internal_sendmmsg.
36087         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36088         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36089         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36091         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36092         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36093         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36095 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36097         [BZ #12813]
36098         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36099         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36100         available.
36101         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36102         __vdso_getcpu.
36104         [BZ #12814]
36105         * iconvdata/Makefile (tests): Add bug-iconv9.
36106         * iconvdata/bug-iconv9.c: New file.
36108 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36110         [BZ #12814]
36111         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36113 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36115         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36116         (struct user_regs_struct): Change intcs field back to cs.
36118 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36120         * po/ja.po: Update from translation team.
36122 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36124         [BZ #12795]
36125         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36126         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36128 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36130         * stdlib/longlong.h: Update from GCC.
36132 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36134         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36135         parameter name.
36136         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36137         Add parameter name.
36138         (__sysconf): Pass it down.
36140 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36142         [BZ #12671]
36143         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36144         some situations.
36145         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36146         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36147         add in in __libc_use_alloca calls.  Adjust callers.
36148         (glob): Use malloc in some situations.
36150         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36151         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36152         pltexit.
36154 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36156         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36157         and CLOCK_BOOTTIME_ALARM.
36159         [BZ #12782]
36160         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36161         is returned.
36163         * string/_strerror.c (__strerror_r): Print negative errors as signed
36164         numbers.
36166         [BZ #12777]
36167         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36168         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36169         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36171         * configure.in: Fix typo in redirection and correct removal of test
36172         files in two cases.
36174         [BZ #12788]
36175         * locale/setlocale.c (new_composite_name): Fix test to check for
36176         identical name of all categories.
36178         [BZ #12792]
36179         * libio/filedoalloc.c (local_isatty): New function.
36180         (_IO_file_doallocate): Use local_isatty.
36181         * stdio-common/perror.c (perror): In case a new stream is used
36182         forward the stream error.
36183         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36184         error flag.
36186 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36188         [BZ #11869]
36189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36190         alloca.
36191         * include/alloca.h (extend_alloca_account): Define.
36193         [BZ #11857]
36194         * posix/regex.h: Fix comments with documentation of user-accessible
36195         fields after compilation and describe correct free'ing of pattern
36196         after re_compile_pattern.
36197         Patch by Reuben Thomas <rrt@sc3d.org>.
36199 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36201         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36202         and -mno-altivec to prevent the compiler from using Altivec and/or
36203         VSX instructions when the corresponding registers are not available.
36205 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36207         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36209 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36211         * libio/freopen.c (freopen): Use __dup2, not dup2.
36212         * libio/freopen64.c (freopen64): Likewise.
36214 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36216         [BZ #12775]
36217         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36218         * math/Makefile (tests): Add test-powl.
36219         (CFLAGS-test-powl.c): Define.
36220         * math/test-powl.c: New file.
36222 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36224         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36226 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36228         [BZ #11837]
36229         * iconvdata/gb18030.c: Update to GB18020-2005.
36231 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36233         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36234         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36235         Patch by Aharon Robbins <arnold@skeeve.com>.
36237         [BZ #11892]
36238         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36239         on the stack.
36241         [BZ #11895]
36242         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36243         through underflows.
36245         [BZ #12766]
36246         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36247         point to strings before performing equality test for error_one_per_line
36248         mode.
36250         [BZ #11697]
36251         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36253         [BZ #11820]
36254         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36255         (struct user_fpregs_struct): Avoid __uint*_t types.
36257         [BZ #6420]
36258         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36259         symbol info.  Use it instead of calling _dl_addr locally.
36260         (lock_and_info): New function.
36261         (tr_freehook): Call lock_and_info and pass symbol info as additional
36262         parameter to tr_where.
36263         (tr_mallochook): Likewise.
36264         (tr_reallochook): Likewise.
36265         (tr_memalignhook): Likewise.
36267         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36268         used and couldn't be at all thread-safe.
36270 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36272         * libio/freopen.c (freopen): Don't close old file descriptor
36273         before the new one is opened.  Instead dup the new file descriptor
36274         to the old one after the new stream is created.
36275         * libio/freopen64.c (freopen64): Likewise.
36276         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36277         * libio/fileops.c (_IO_new_file_close_it): Handle new
36278         _IO_FLAGS2_NOCLOSE flag.
36279         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36280         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36281         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36282         _IO_FLAGS2_NOCLOSE flag.
36283         * include/unistd.h: Add hidden_proto for dup3.
36284         Define __have_dup3.
36285         * io/dup3.c: Define hidden symbol.
36286         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36288         [BZ #7101]
36289         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36290         when an incomplete long option is used.
36291         * posix/tst-getopt_long1.c: New file.
36292         * posix/Makefile (tests): Add tst-getopt_long1.
36294         [BZ #10138]
36295         * scripts/config.guess: Update from autoconf-2.68.
36296         * scripts/config.sub: Likewise.
36298         [BZ #10157]
36299         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36300         tests into ...
36301         (has_cpuclock): ...this.  New function.
36302         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36303         macro here based on has_cpuclock code.
36305         [BZ #10149]
36306         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36307         First byte (not low byte) is now always NUL.
36308         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36310         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36311         Use non-cancelable interfaces.
36313         [BZ #9809]
36314         * locale/iso-639.def: Add entry for Sorani.
36316         [BZ #11901]
36317         * include/stdlib.h: Move include protection to the right place.
36318         Define abort_msg_s.  Declare __abort_msg with it.
36319         * stdlib/abort.c (__abort_msg): Adjust type.
36320         * assert/assert.c (__assert_fail_base): New function.  Majority
36321         of code from __assert_fail.  Allocate memory for __abort_msg with
36322         mmap.
36323         (__assert_fail): Now call __assert_fail_base.
36324         * assert/assert-perr.c: Remove bulk of implementation.  Use
36325         __assert_fail_base.
36326         * include/assert.hL Declare __assert_fail_base.
36327         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36328         mmap.
36329         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36331 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36333         [BZ #11952]
36334         [BZ #12453]
36335         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36336         until all modules are registered in the DTV.
36337         * elf/Makefile: Add rules to build and run tst-tls19.
36338         * elf/tst-tls19.c: New file.
36339         * elf/tst-tls19mod1.c: New file.
36340         * elf/tst-tls19mod2.c: New file.
36341         * elf/tst-tls19mod3.c: New file.
36342         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36344         [BZ #12083]
36345         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36346         correctly.
36348         [BZ #12601]
36349         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36350         two-byte sequence errors.
36351         * iconvdata/Makefile (tests): Add bug-iconv8.
36352         * iconvdata/bug-iconv8.c: New file.
36354         [BZ #12626]
36355         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36356         buf2 definition.
36358         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36360         [BZ #12432]
36361         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36362         (dummy_getcfa): New function.
36363         (init): Get _Unwind_GetCFA address, use dummy if not found.
36364         (backtrace_helper): In recursion check, also check whether CFA changes.
36365         (__backtrace): Completely initialize arg.
36367         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36368         storing incomplete byte sequence in state object.  Avoid testing for
36369         guaranteed too small input if we know there is enough data available.
36371 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36373         * Makeconfig (+link-pie): Indent.
36374         * Rules (binaries-pie): Define if $(have-fpie) and
36375         $(build-shared).
36376         (binaries-shared): Also filter out $(binaries-pie).
36377         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36378         * nscd/Makefile (others-pie): Add nscd.
36379         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36380         ($(objpfx)nscd): Remove command override.
36381         * login/Makefile (others-pie): Add pt_chown.
36382         ($(objpfx)pt_chown): Remove command override.
36383         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36384         remove command overrides.
36386 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36388         * libio/tst_putwc.c: Fix error messages.
36390         [BZ #12724]
36391         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36392         currently writing and seek to current position when not.
36393         * libio/Makefile (tests): Add bug-fclose1.
36394         * libio/bug-fclose1.c: New file.
36396 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36398         [BZ #12511]
36399         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36400         don't set DF_1_NODELETE here.
36401         (do_lookup_x): When entering new entry test for copy relocation
36402         and if necessary set DF_1_NODELETE flag.
36403         * elf/tst-unique4.cc: New file.
36404         * elf/tst-unique4.h: New file.
36405         * elf/tst-unique4lib.cc: New file.
36406         * elf/Makefile: Add rules to build and run tst-unique4.
36407         Patch by Piotr Bury <pbury@goahead.com>.
36409 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36411         [BZ #12052]
36412         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36414         [BZ #12625]
36415         * misc/mntent_r.c (addmntent): Flush the stream after the output
36417         [BZ #12393]
36418         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36419         (is_trusted_path_normalize): Skip initial colon.  Append slash
36420         to empty buffer.  Duplicate is_trusted_path code but allow
36421         constructed patch to be prefix.
36422         (is_dst): Allow $ORIGIN followed by /.
36423         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36424         Correct testing of result of is_trusted_path_normalize
36425         (decompose_rpath): Fix warning.
36427 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36429         [BZ #11257]
36430         * grp/initgroups.c (internal_getgrouplist): When we found the service
36431         list through the initgroups entry in nsswitch.conf do not always
36432         continue on a successful lookup.  Don't always use the
36433         __nss_group_database value if it is set.
36434         * nss/nsswitch.conf (initgroups): Change action for successful db
36435         lookup to continue for compatibility.
36437 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36439         [BZ #11532]
36440         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36441         and CP774 modules.
36442         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36443         and CP774 modules.
36444         * iconvdata/tst-tables.sh: Likewise.
36445         * iconvdata/cp770.c: New file.
36446         * iconvdata/cp771.c: New file.
36447         * iconvdata/cp772.c: New file.
36448         * iconvdata/cp773.c: New file.
36449         * iconvdata/cp774.c: New file.
36450         * iconvdata/testdata/CP770: New file.
36451         * iconvdata/testdata/CP770..UTF8: New file.
36452         * iconvdata/testdata/CP771: New file.
36453         * iconvdata/testdata/CP771..UTF8: New file.
36454         * iconvdata/testdata/CP772: New file.
36455         * iconvdata/testdata/CP772..UTF8: New file.
36456         * iconvdata/testdata/CP773: New file.
36457         * iconvdata/testdata/CP773..UTF8: New file.
36458         * iconvdata/testdata/CP774: New file.
36459         * iconvdata/testdata/CP774..UTF8: New file.
36461         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36462         END CHARMAP line.
36463         * iconvdata/gen-8bit-gap.sh: Likewise.
36464         * iconvdata/gen-8bit.sh: Likewise.
36466         * locale/iso-639.def: Add ary entry.
36468         [BZ #11258]
36469         * locale/C-translit.h.in: Add U20A1 transliteration.
36471         [BZ #12178]
36472         * locale/iso-639.def: Add wae entry.
36473         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36475         [BZ #12545]
36476         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36477         for n.
36479         [BZ #12711]
36480         * locale/C-translit.h.in: Add entry for U20B9.
36481         Patch by pravin.d.s@gmail.com.
36483 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36485         [BZ #12713]
36486         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36487         ENAMETOOLONG use generic getcwd.
36488         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36489         in rtld.  Use *stat64.
36490         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36491         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36492         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36493         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36494         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36495         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36496         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36497         __fstatat64 macros.
36498         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36499         * dirent/rewinddir.c: Add libc_hidden_def.
36500         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36501         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36503         * include/dirent.h (__alloc_dir): Add flags parameter.
36504         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36505         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36506         __alloc_dir.
36507         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36508         from fdopendir if O_CLOEXEC is already set.
36510 2011-03-15  Alan Modra  <amodra@gmail.com>
36512         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36513         l_tls_firstbyte_offset non-zero.  Save padding offset in
36514         l_tls_firstbyte_offset for later use.
36515         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36516         freeing static tls block.
36518 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36520         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36521         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36522         being defined by the kernel headers.
36524 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36526         [BZ #12734]
36527         * resolv/resolv.h: Define RES_NOTLDQUERY.
36528         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36529         no-tld-query and set RES_NOTLDQUERY.
36530         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36531         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36532         modern BIND to search name as TLD unless forbidden.
36534 2011-05-07  Petr Baudis  <pasky@suse.cz>
36535             Ulrich Drepper  <drepper@gmail.com>
36537         [BZ #12393]
36538         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36539         (is_trusted_path): ...to here.
36540         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36541         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36542         using is_trusted_path_normalize() in setuid scripts.
36544 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36546         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36547         __BEGIN/__END_DECLS.
36549 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36551         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36552         NSS_STATUS_NOTFOUND if no record was found.
36554 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36556         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36557         (headers-not-in-tirpc): Remove rpc/netdb.h
36558         * resolv/netdb.h: Revert last change.
36560 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36562         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36563         circular dependency between libgcc.a and libc.a.
36565 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36567         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36568         * nis/Makefile: Don't install rpcsvc/*.
36569         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36570         instead of <rpc/types.h>.
36571         (MAXHOSTNAMELEN): Define.
36573 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36575         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36577 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36579         [BZ #12714]
36580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36581         gethostbyname4_r when IPv6 results are possible.
36583 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36585         [BZ #12723]
36586         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36587         _PC_PIPE_BUF handling.
36589 2011-04-30  Bruno Haible  <bruno@clisp.org>
36591         [BZ #12717]
36592         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36593         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36594         to 'int'.
36595         * inet/getnameinfo.c (getnameinfo): Likewise.
36597 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36599         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36600         to groups setting in database lookup.
36601         * nss/nsswitch.conf: Add initgroups entry.
36603 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36605         [BZ #12685]
36606         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36607         mode string.
36608         Patch by Eric Blake <eblake@redhat.com>.
36610 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36612         * sunrpc/Makefile (need-export-routines): Add svc_run.
36613         (routines): Remove svc_run.
36614         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36615         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36616         * sunrpc/svc_run.c (svc_run): Likewise.
36617         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36619 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36621         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36622         problem in reallocation in last patch.
36624 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36626         * sunrpc/Makefile: Move inclusion of Rules.
36628 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36630         * nss/nss_files/files-initgroups.c: New file.
36631         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36632         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36633         _nss_files_initgroups_dyn.
36635 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36637         * elf/elf.h (R_ARM_IRELATIVE): Define.
36639 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36641         * po/ru.po: Update from translation team.
36643 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36645         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36646         dependencies.
36648 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36650         [BZ #12653]
36651         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36652         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36653         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36654         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36655         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36657 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36659         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36660         differing bytes.
36661         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36662         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36663         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36665 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36667         [BZ #12420]
36668         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36669         storing it.
36670         * stdlib/bug-getcontext.c: New file.
36671         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36673 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36675         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36676         instructions into .machine "z9-109".
36677         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36678         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36680 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36682         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36683         between environment variables and auxiliary vector.
36685 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36687         * Makefile: Add rules to build linkobj/libc.so.
36688         * include/libc-symbols.h: Define libc_hidden_nolink.
36689         * include/rpc/auth.h: Mark functions which are to be hidden.
36690         * include/rpc/auth_des.h: Likewise.
36691         * include/rpc/auth_unix.h: Likewise.
36692         * include/rpc/clnt.h: Likewise.
36693         * include/rpc/des_crypt.h: Likewise.
36694         * include/rpc/key_prot.h: Likewise.
36695         * include/rpc/pmap_clnt.h: Likewise.
36696         * include/rpc/pmap_prot.h: Likewise.
36697         * include/rpc/pmap_rmt.h: Likewise.
36698         * include/rpc/rpc_msg.h: Likewise.
36699         * include/rpc/svc.h: Likewise.
36700         * include/rpc/svc_auth.h: Likewise.
36701         * include/rpc/xdr.h: Likewise.
36702         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36703         * nss/Makefile: Likewise.
36704         * sunrpc/Makefile: Don't install headers.  Build library with normal
36705         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36706         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36707         for the compat linking library.  Remove use of INTDEF/INTUSE.
36708         * sunrpc/auth_none.c: Likewise.
36709         * sunrpc/auth_unix.c: Likewise.
36710         * sunrpc/authdes_prot.c: Likewise.
36711         * sunrpc/authuxprot.c: Likewise.
36712         * sunrpc/clnt_gen.c: Likewise.
36713         * sunrpc/clnt_perr.c: Likewise.
36714         * sunrpc/clnt_raw.c: Likewise.
36715         * sunrpc/clnt_simp.c: Likewise.
36716         * sunrpc/clnt_tcp.c: Likewise.
36717         * sunrpc/clnt_udp.c: Likewise.
36718         * sunrpc/clnt_unix.c: Likewise.
36719         * sunrpc/des_crypt.c: Likewise.
36720         * sunrpc/des_soft.c: Likewise.
36721         * sunrpc/get_myaddr.c: Likewise.
36722         * sunrpc/key_call.c: Likewise.
36723         * sunrpc/key_prot.c: Likewise.
36724         * sunrpc/netname.c: Likewise.
36725         * sunrpc/pm_getmaps.c: Likewise.
36726         * sunrpc/pm_getport.c: Likewise.
36727         * sunrpc/pmap_clnt.c: Likewise.
36728         * sunrpc/pmap_prot.c: Likewise.
36729         * sunrpc/pmap_prot2.c: Likewise.
36730         * sunrpc/pmap_rmt.c: Likewise.
36731         * sunrpc/publickey.c: Likewise.
36732         * sunrpc/rpc_cmsg.c: Likewise.
36733         * sunrpc/rpc_common.c: Likewise.
36734         * sunrpc/rpc_dtable.c: Likewise.
36735         * sunrpc/rpc_prot.c: Likewise.
36736         * sunrpc/rpc_thread.c: Likewise.
36737         * sunrpc/rtime.c: Likewise.
36738         * sunrpc/svc.c: Likewise.
36739         * sunrpc/svc_auth.c: Likewise.
36740         * sunrpc/svc_authux.c: Likewise.
36741         * sunrpc/svc_raw.c: Likewise.
36742         * sunrpc/svc_run.c: Likewise.
36743         * sunrpc/svc_simple.c: Likewise.
36744         * sunrpc/svc_tcp.c: Likewise.
36745         * sunrpc/svc_udp.c: Likewise.
36746         * sunrpc/svc_unix.c: Likewise.
36747         * sunrpc/svcauth_des.c: Likewise.
36748         * sunrpc/xcrypt.c: Likewise.
36749         * sunrpc/xdr.c: Likewise.
36750         * sunrpc/xdr_array.c: Likewise.
36751         * sunrpc/xdr_float.c: Likewise.
36752         * sunrpc/xdr_intXX_t.c: Likewise.
36753         * sunrpc/xdr_mem.c: Likewise.
36754         * sunrpc/xdr_rec.c: Likewise.
36755         * sunrpc/xdr_ref.c: Likewise.
36756         * sunrpc/xdr_sizeof.c: Likewise.
36757         * sunrpc/xdr_stdio.c: Likewise.
36759 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36761         [BZ #12650]
36762         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36763         * sysdeps/ia64/dl-tls.h: Likewise.
36764         * sysdeps/powerpc/dl-tls.h: Likewise.
36765         * sysdeps/s390/dl-tls.h: Likewise.
36766         * sysdeps/sh/dl-tls.h: Likewise.
36767         * sysdeps/sparc/dl-tls.h: Likewise.
36768         * sysdeps/x86_64/dl-tls.h: Likewise.
36769         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36771 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36773         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36774         rpath element also skip the following colon.
36775         (expand_dynamic_string_token): Add is_path parameter and pass
36776         down to DL_DST_REQUIRED and _dl_dst_substitute.
36777         (decompose_rpath): Call expand_dynamic_string_token with
36778         non-zero is_path.  Ignore empty rpaths.
36779         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36780         with zero is_path.
36782 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36785         Make cancelable.
36787 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36789         [BZ #12655]
36790         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36791         Patch by Filipe David Manana <fdmanana@apache.org>.
36793 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36795         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36796         Maintain aligned stack.
36797         (CHECK_RSP): Remove unused macro.
36799 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36801         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36802         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36804 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36806         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36808         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36810 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36812         [BZ #12518]
36813         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36814         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36815         * sysdeps/x86_64/memmove.c: New file.
36816         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36817         (memcpy): Renamed to ...
36818         (__new_memcpy): This.
36819         (memcpy): Provide GLIBC_2_14 memcpy.
36820         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36821         (memcpy): Provide GLIBC_2_2_5 memcpy.
36823 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36825         [BZ #12631]
36826         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36828 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36830         * misc/syncfs.c: New file.
36831         * misc/Makefile (routines): Add syncfs.
36832         * posix/unistd.h: Declare syncfs.
36833         * sysdeps/unix/syscalls.list: Add syncfs.
36835 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36837         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36838         open_by_handle_at.
36839         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36840         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36841         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36842         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36844         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36845         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36847 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36849         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36850         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36851         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36852         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36853         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36855         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36857         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36858         sync_file_range.c with -fexceptions.
36859         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36860         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36861         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36862         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36863         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36864         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36865         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36866         sync_file_range as cancellation point
36867         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36868         now a wrapper around __call_sync_file_range with cancellation handling.
36869         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36870         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36871         function name to __call_sync_file_range.
36872         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36873         Add call_sync_file_range.
36875 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36878         bits/timex.h.
36880 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36882         * iconv/iconv.h: Fix typo in comment.
36883         * io/fcntl.h: Likewise.
36884         * libio/stdio.h: Likewise.
36885         * posix/spawn.h: Likewise.
36886         * posix/unistd.h: Likewise.
36887         * stdlib/stdlib.h: Likewise.
36888         * time/time.h: Likewise.
36889         * wcsmbs/wchar.h: Likewise.
36891         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36892         open_by_handle): Add.
36893         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36894         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36895         Augment a few comments.
36896         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36897         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36898         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36899         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36900         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36901         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36902         open_by_handle.
36904         * io/fcntl.h (AT_EMPTY_PATH): Define.
36906 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36908         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36909         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36910         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36911         to...
36912         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36913         * Versions.def: Add GLIBC_2.14.
36914         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36915         Export.
36917 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36919         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36920         round counter.
36921         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36923 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36925         [BZ #12597]
36926         * string/test-strncmp.c (do_page_test): New function.
36927         (check2): Likewise.
36928         (test_main): Call check2.
36929         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36931 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36933         [BZ #12587]
36934         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36935         Handle cache information in CPU leaf 4.
36936         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36938 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36940         [BZ #12583]
36941         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36942         character representation.
36943         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36945 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36947         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36948         END(__isnan) to END(__isnanf) to match function entry point/label
36949         EALIGN(__isnanf,...).
36951 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36953         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36955 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36957         [BZ #12510]
36958         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36959         copy from the symbol referenced in the relocation to initialize the
36960         used variable.
36961         Patch by Piotr Bury <pbury@goahead.com>.
36962         * elf/Makefile: Add rules to build and tst-unique3.
36963         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36964         * elf/tst-unique3.cc: New file.
36965         * elf/tst-unique3.h: New file.
36966         * elf/tst-unique3lib.cc: New file.
36967         * elf/tst-unique3lib2.cc: New file.
36969         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36971 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36973         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36974         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36975         to _start.
36977 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36979         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36980         to-be-loaded object along a path to loader is ld.so.
36982 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36983             Ulrich Drepper  <drepper@gmail.com>
36985         * sysdeps/x86_64/memset.S: After aligning destination, code
36986         branches to different locations depending on the value of
36987         misalignment, when multiarch is enabled. Fix this.
36989 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36991         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36992         Set _x86_64_preferred_memory_instruction for AMD processsors.
36993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36994         Set bit_Prefer_SSE_for_memop for AMD processors.
36996 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36998         * libio/fmemopen.c (fmemopen): Optimize a bit.
37000 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37002         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37004 2011-03-03  Roland McGrath  <roland@redhat.com>
37006         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37008 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37010         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37011         __bzero_ultra1 instead of __memset_ultra1.
37013 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37014             Ulrich Drepper  <drepper@gmail.com>
37016         [BZ #12509]
37017         * include/link.h (struct link_map): Add l_orig_initfini.
37018         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37019         returning unsuccessfully.
37020         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37021         close of a file loaded at startup, restore the original l_initfini
37022         list.
37023         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37024         list, store the pointer.
37025         * elf/Makefile ($(objpfx)noload-mem): New rule.
37026         (noload-ENV): Define.
37027         (tests): Add $(objpfx)noload-mem.
37028         * elf/noload.c: Include <memcheck.h>.
37029         (main): Call mtrace.  Close all opened handles.
37031 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37033         [BZ #12454]
37034         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37035         dependencies are missing.
37037 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37039         Fix __if_freereq crash: Unlike the generic version which uses free,
37040         Hurd needs munmap.
37041         * sysdeps/mach/hurd/ifreq.h: New file.
37043 2011-01-27  Petr Baudis  <pasky@suse.cz>
37044             Ulrich Drepper  <drepper@gmail.com>
37046         [BZ 12445]#
37047         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37048         to extend_alloca().
37049         * stdio-common/bug23.c: New file.
37050         * stdio-common/Makefile (tests): Add bug23.
37052 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37053             Ulrich Drepper  <drepper@gmail.com>
37055         [BZ #12489]
37056         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37057         before performing relro protection.  At old place add assertion
37058         to make sure nothing changed.
37060 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37061             Glauber de Oliveira Costa  <glommer@gmail.com>
37063         * elf/elf.h: Add new ARM TLS relocs.
37065 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37068         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37069         cast from r3.
37070         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37071         'tests' variable.
37072         * sysdeps/wordsize-64/tst-writev.c: New file.
37074 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37076         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37077         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37078         insns in _dl_start to prevent a TOC reference before relocs are
37079         resolved.
37081 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37083         [BZ #12469]
37084         * Makeconfig: Remove RANLIB definition.
37085         * Makerules: Don't use RANLIB.
37086         * aclocal.m4: Remove ranlib test.
37087         * configure.in: No need to check for ranlib.
37088         * elf/rtld-Rules: Don't use RANLIB.
37090 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37092         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37093         protection macro.
37094         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37095         inclusion protection macro.
37097         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37098         SIGRTMIN and SIGRTMAX and print information in that case only when
37099         SIGRTMIN is defined.
37101 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37103         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37104         arginfo fn returning -1.
37106         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37107         and thousands string is zero terminated.
37109 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37111         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37112         sysdeps/unix/sysv/linux/bits/socket.h.
37114 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37116         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37117         (__CPU_COUNT): Remove old macros.
37118         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37119         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37120         (__CPU_ALLOC, __CPU_FREE): Add macros.
37121         (__sched_cpualloc, __sched_cpufree): Add declarations.
37123 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37125         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37126         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37127         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37128         (readdhstai): Return value of addhstaiX call.
37129         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37130         (addgrbyX): Return value returned by cache_addgr.
37131         (readdgrbyname): Return value returned by addgrbyX.
37132         (readdgrbygid): Likewise.
37133         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37134         (addpwbyX): Return value returned by cache_addpw.
37135         (readdpwbyname): Return value returned by addhstbyX.
37136         (readdpwbyuid): Likewise.
37137         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37138         (addservbyX): Return value returned by cache_addserv.
37139         (readdservbyname): Return value returned by addservbyX:
37140         (readdservbyport): Likewise.
37141         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37142         (addhstbyX): Return value returned by cache_addhst.
37143         (readdhstbyname): Return value returned by addhstbyX.
37144         (readdhstbyaddr): Likewise.
37145         (readdhstbynamev6): Likewise.
37146         (readdhstbyaddrv6): Likewise.
37147         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37148         (readdinitgroups): Return value returned by addinitgroupsX.
37149         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37150         (prune_cache): Keep track of timeout value of re-added entries.
37151         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37152         * nscd/nscd.h: Adjust prototypes of readd* functions.
37154 2011-02-04  Roland McGrath  <roland@redhat.com>
37156         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37157         (nis_stats): Likewise.
37158         * nis/nis_modify.c (nis_modify): Likewise.
37159         * nis/nis_remove.c (nis_remove): Likewise.
37160         * nis/nis_add.c (nis_add): Likewise.
37162         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37164         * posix/fnmatch_loop.c: Add some consts.
37166         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37168 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37170         [BZ #12460]
37171         * config.make.in (config-cflags-novzeroupper): Define.
37172         * configure.in: Substitute libc_cv_cc_novzeroupper.
37173         * elf/Makefile (AVX-CFLAGS): Define.
37174         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37175         (CFLAGS-tst-auditmod4a.c): Likewise.
37176         (CFLAGS-tst-auditmod4b.c): Likewise.
37177         (CFLAGS-tst-auditmod6b.c): Likewise.
37178         (CFLAGS-tst-auditmod6c.c): Likewise.
37179         (CFLAGS-tst-auditmod7b.c): Likewise.
37180         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37182 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37184         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37185         function to the callback.
37186         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37188 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37190         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37191         of errno.
37193 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37195         [BZ #11724]
37196         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37197         of constructors.
37198         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37199         of destructors.
37200         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37202         [BZ #11724]
37203         * elf/Makefile: Add rules to build and run new test.
37204         * elf/tst-initorder.c: New file.
37205         * elf/tst-initorder.exp: New file.
37206         * elf/tst-initordera1.c: New file.
37207         * elf/tst-initordera2.c: New file.
37208         * elf/tst-initordera3.c: New file.
37209         * elf/tst-initordera4.c: New file.
37210         * elf/tst-initorderb1.c: New file.
37211         * elf/tst-initorderb2.c: New file.
37212         * elf/tst-order-a1.c: New file.
37213         * elf/tst-order-a2.c: New file.
37214         * elf/tst-order-a3.c: New file.
37215         * elf/tst-order-a4.c: New file.
37216         * elf/tst-order-b1.c: New file.
37217         * elf/tst-order-b2.c: New file.
37218         * elf/tst-order-main.c: New file.
37219         New test case by George Gensure <werkt0@gmail.com>.
37221 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37224         decoding ACE if AI_CANONIDN.
37226 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37228         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37230 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37232         * version.h (RELEASE): Bump for 2.13 release.
37233         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37235         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37237         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37238         MADV_NOHUGEPAGE.
37239         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37240         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37241         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37242         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37243         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37244         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37246         * posix/getconf.c: Update copyright year.
37247         * catgets/gencat.c: Likewise.
37248         * csu/version.c: Likewise.
37249         * debug/catchsegv.sh: Likewise.
37250         * debug/xtrace.sh: Likewise.
37251         * elf/ldconfig.c: Likewise.
37252         * elf/ldd.bash.in: Likewise.
37253         * elf/sprof.c (print_version): Likewise.
37254         * iconv/iconv_prog.c: Likewise.
37255         * iconv/iconvconfig.c: Likewise.
37256         * locale/programs/locale.c: Likewise.
37257         * locale/programs/localedef.c: Likewise.
37258         * malloc/memusage.sh: Likewise.
37259         * malloc/mtrace.pl: Likewise.
37260         * nscd/nscd.c (print_version): Likewise.
37261         * nss/getent.c: Likewise.
37263         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37264         PF_CAIF, and PF_ALG.
37265         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37267 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37269         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37270         (modules-names): Use them.
37271         (ifunc-test-modules, ifunc-pie-tests): Define.
37272         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37273         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37274         (test-extras): Likewise.
37275         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37276         $(compile-command.c).
37277         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37278         (all-built-dso): Define.
37279         (check-textrel.out, check-execstack.out): Depend on it.
37281         * configure.in: Don't override --enable-multi-arch.
37283 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37285         [BZ #6812]
37286         * nscd/hstcache.c (tryagain): Define.
37287         (cache_addhst): Return tryagain not notfound for temporary errors.
37288         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37289         failed.
37291 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37293         [BZ #10563]
37294         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37295         to make the syscall.
37296         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37298         [BZ #12378]
37299         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37300         and fall back to matching as normal character if the string ends before
37301         the matching ']' is found.  This is what POSIX requires.
37302         * posix/testfnm.c: Adjust test result.
37303         * posix/globtest.sh: Adjust test result.  Add new test.
37304         * posix/tst-fnmatch.input: Likewise.
37305         * posix/tst-fnmatch2.c: Add new test.
37307 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37309         * elf/Makefile (check-execstack): Revert last change.  Depend on
37310         check-execstack.h.
37311         (check-execstack.h): New target.
37312         (generated): Add check-execstack.h.
37313         * elf/check-execstack.c: Include "check-execstack.h".
37314         (main): Revert last change.
37315         (handle_file): Return zero if GNU_STACK is absent and
37316         DEFAULT_STACK_PERMS doesn't include PF_X.
37318 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37320         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37321         in child fails because the descriptor is already closed.
37322         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37323         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37324         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37326         [BZ #12397]
37327         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37328         syscall.
37330         [BZ #10484]
37331         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37332         temporary buffer used to handle multi lookups locally.
37333         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37335 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37337         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37338         loader is ld.so.
37340 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37342         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37343         alignment for SSE2.
37345 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37347         [BZ #12394]
37348         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37349         characters.  When rounding increased number of integer digits recompute
37350         number of groups.
37351         * stdio-common/tst-grouping.c: New file.
37352         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37354 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37356         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37357         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37359         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37360         void.
37361         * bits/select.h: Likewise.
37363 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37365         * po/ja.po: Update from translation team.
37367 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37369         [BZ #11155]
37370         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37371         implementation just like for lxstat, fxstatat, et al.
37373 2010-12-27  Jim Meyering  <meyering@redhat.com>
37375         [BZ #12348]
37376         * posix/regexec.c (build_trtable): Return failure indication upon
37377         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37379 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37381         [BZ #12201]
37382         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37383         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37384         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37385         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37387         [BZ #12207]
37388         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37390         [BZ #12204]
37391         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37392         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37394 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37396         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37397         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37398         script has SORT_BY_INIT_PRIORITY.
37399         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37400         NO_CTORS_DTORS_SECTIONS is defined.
37401         * elf/soinit.c: Likewise.
37402         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37403         NO_CTORS_DTORS_SECTIONS is defined.
37404         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37405         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37406         * sysdeps/sh/init-first.c: Likewise.
37407         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37409 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37411         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37412         always use the slow path.
37414 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37416         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37417         similar rule which adds the sysdep directories to the header search in
37418         order to pick up the correct platform stackinfo.h.
37419         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37420         perform test if it is, otherwise return successfully without testing.
37421         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37422         DEFAULT_STACK_PERMS define in stackinfo.h.
37423         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37424         defined in stackinfo.h.
37425         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37426         DEFAULT_STACK_PERMS defined in stackinfo.h.
37427         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37428         * sysdeps/ia64/stackinfo.h: Likewise.
37429         * sysdeps/s390/stackinfo.h: Likewise.
37430         * sysdeps/sh/stackinfo.h: Likewise.
37431         * sysdeps/sparc/stackinfo.h: Likewise.
37432         * sysdeps/x86_64/stackinfo.h: Likewise.
37433         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37434         PF_X for powerpc64.  Retain PF_X for powerpc32.
37436 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37438         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37439         accurately.
37440         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37441         GETDENTS_64BIT_ALIGNED.
37443 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37445         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37447 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37449         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37450         _GNU_SOURCE.
37452         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37453         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37454         Remove __restrict.
37455         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37456         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37458 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37460         [BZ #11655]
37461         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37462         are initialized.
37464 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37466         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37468 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37470         * po/it.po: Update from translation team.
37472 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37474         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37475         unused codes.
37477 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37479         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37481 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37483         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37484         specially.
37485         (gaih_getanswer_slice): Likewise.
37487 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37489         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37491 2010-05-31  Petr Baudis  <pasky@suse.cz>
37493         [BZ #11149]
37494         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37495         silently even in the chroot mode.
37497 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37499         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37500         last patch a bit.  Pretty printing
37502 2010-05-31  Petr Baudis <pasky@suse.cz>
37504         [BZ #10085]
37505         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37506         initialization of skip_initgroups_dyn.
37508 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37510         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37511         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37513 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37515         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37517 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37519         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37520         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37521         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37522         ($(objpfx)tst-fnmatch-mem): New rule.
37523         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37524         * posix/tst-fnmatch.c (main): Call mtrace.
37526 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37529         Support Intel processor model 6 and model 0x2c.
37531 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37533         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37534           signed comparison.
37536 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37538         [BZ #12205]
37539         * string/test-strncasecmp.c (check_result): New function.
37540         (do_one_test): Use it.
37541         (check1): New function.
37542         (test_main): Use it.
37543         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37544         Support strcasecmp and strncasecmp.
37546 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37548         [BZ #12194]
37549         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37550         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37552 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37554         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37555         IFUNC support.
37556         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37557         memset-x86-64.
37558         * sysdeps/x86_64/multiarch/bzero.S: New file.
37559         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37560         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37561         * sysdeps/x86_64/multiarch/memset.S: New file.
37562         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37564         Set bit_Prefer_SSE_for_memop for Intel processors.
37565         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37566         Define.
37567         (index_Prefer_SSE_for_memop): Define.
37568         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37570 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37572         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37573         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37575 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37577         [BZ #12191]
37578         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37579         (__x86_64_raw_data_cache_size_half): Likewise.
37580         (__x86_64_raw_shared_cache_size): Likewise.
37581         (__x86_64_raw_shared_cache_size_half): Likewise.
37583         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37584         (__x86_64_raw_data_cache_size_half): Likewise.
37585         (__x86_64_raw_shared_cache_size): Likewise.
37586         (__x86_64_raw_shared_cache_size_half): Likewise.
37587         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37588         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37589         and __x86_64_raw_shared_cache_size_half.  Round
37590         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37591         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37592         to multiple of 256 bytes.
37594 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37596         [BZ #12167]
37597         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37598         of inacessible symlinks.  Verify result of symlink before returning it.
37599         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37600         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37602 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37604         * math/math.h (isinf): Fix typo in comment.
37606 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37608         * po/da.po: Update from translation team.
37610 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37612         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37613         is added to the list.
37615 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37616             Ulrich Drepper  <drepper@gmail.com>
37618         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37619         the global list here.  Move code to...
37620         (_dl_add_to_namespace_list): ...here.  New function.
37621         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37622         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37623         * elf/dl-load.c (lose): Don't remove the element from the list.
37624         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37625         (_dl_map_object): Likewise.
37627 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37629         [BZ #12159]
37630         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37631         into all bytes of SSE register.
37632         Patch by Richard Li <richardpku@gmail.com>.
37634 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37636         [BZ #12140]
37637         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37638         perturbing.
37640 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37642         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37643         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37644         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37645         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37647         submachine.
37648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37650 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37652         * include/dlfcn.h (__RTLD_SECURE): Define.
37653         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37654         mode & __RTLD_SECURE instead.
37655         (open_path): Rename preloaded parameter to secure.
37656         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37657         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37658         * elf/dl-deps.c (openaux): Likewise.
37659         * elf/rtld.c (struct map_args): Remove is_preloaded.
37660         (map_doit): Don't use it.
37661         (dl_main): Likewise.
37662         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37663         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37665 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37667         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37668         (sysd-rules-targets): Remove duplicates.
37669         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37670         rtld-%.$o dependency.
37672 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37674         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37675         _dl_map_object do it.
37677 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37679         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37680         fast fma builtins, define the macros in the C99 standard.
37681         (FP_FAST_FMAF): Likewise.
37682         (FP_FAST_FMAL): Likewise.
37683         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37685         * bits/mathdef.h: Update copyright year.
37686         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37688 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37690         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37691         builtins, define the macros in the C99 standard.
37692         (FP_FAST_FMAF): Likewise.
37693         (FP_FAST_FMAL): Likewise.
37694         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37695         multiply/add.
37696         (FP_FAST_FMAF): Likewise.
37698 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37700         [BZ #3268]
37701         * math/libm-test.inc (fma_test): Some new testcases.
37702         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37703         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37704         y and infinite z.  Do multiplication by C already in long double.
37705         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37707         y and infinite z.  Do bitwise or of inexact bit into u.d.
37708         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37709         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37710         * sysdeps/i386/fpu/s_fma.S: Removed.
37711         * sysdeps/i386/fpu/s_fmal.S: Removed.
37713 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37715         [BZ #3268]
37716         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37717         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37718         computation is not scheduled after fetestexcept.  Fix value
37719         of minimum denormal long double.
37721 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37723         [BZ #3268]
37724         * math/libm-test.inc (fma_test): Add some more tests.
37725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37726         correctly.
37728 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37730         * scripts/data/localplt-s390-linux-gnu.data: New file.
37731         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37733 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37735         [BZ #3268]
37736         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37737         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37738         instead of dbl-64.
37739         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37740         inlines.
37741         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37743         if one of x and y is very large and the other is subnormal.
37744         * sysdeps/s390/fpu/s_fmaf.c: New file.
37745         * sysdeps/s390/fpu/s_fma.c: New file.
37746         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37747         * sysdeps/powerpc/fpu/s_fma.S: New file.
37748         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37749         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37750         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37752 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37754         [BZ #3268]
37755         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37756         fma tests.
37757         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37758         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37759         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37760         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37761         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37762         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37763         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37765 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37767         [BZ #12078]
37768         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37769         * posix/bug-regex31.input: Add test case.
37771 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37773         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37774         * posix/bug-regex31.input: New file.
37776         [BZ #12078]
37777         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37778         (parse_sub_exp): Fix last change, use postorder.
37780         * posix/bug-regex31.c: New file.
37781         * posix/Makefile: Add rules to build and run bug-regex31.
37783         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37785         [BZ #12078]
37786         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37788         [BZ #12108]
37789         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37790         to have entries in sys_siglist.
37792         [BZ #12093]
37793         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37794         be NULL.
37796 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37798         [BZ #3268]
37799         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37800         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37801         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37802         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37803         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37804         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37805         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37806         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37807         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37808         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37809         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37810         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37811         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37812         * math/ftestexcept.c (fetestexcept): Likewise.
37813         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37814         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37815         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37816         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37817         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37818         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37819         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37821 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37823         [BZ #12107]
37824         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37825         newline.
37827 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37829         * string/bug-strstr1.c: New file.
37830         * string/Makefile: Add rules to build and run bug-strstr1.
37832 2010-10-05  Eric Blake  <eblake@redhat.com>
37834         [BZ #12092]
37835         * string/str-two-way.h (two_way_long_needle): Always clear memory
37836         when skipping input due to the shift table.
37838 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37840         [BZ #12005]
37841         * malloc/mcheck.c: Handle large requests.
37843         [BZ #12077]
37844         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37845         for strncmp and strncasecmp.
37846         * string/stratcliff.c: Add tests for strcmp and strncmp.
37847         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37849 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37851         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37852         __set_fpscr.
37854 2010-09-30  Andreas Jaeger  <aj@suse.de>
37856         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37857         (CGROUP_SUPER_MAGIC): Define.
37858         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37859         Handle btrfs and cgroup file systems.
37860         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37861         Likewise.
37863 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37865         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37866         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37868 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37870         [BZ #12067]
37871         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37872         trying to locate the ELF header.
37874 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37876         [BZ #11611]
37877         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37878         Mask out sign-bit copies when constructing f_fsid.
37880 2010-09-24  Petr Baudis <pasky@suse.cz>
37882         * debug/stack_chk_fail_local.c: Add missing licence exception.
37883         * debug/warning-nop.c: Likewise.
37885 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37887         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37888         implementing getdents64 using getdents syscall, set d_type if
37889         __ASSUME_GETDENTS32_D_TYPE.
37891 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37893         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37894         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37896 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37898         [BZ #12037]
37899         * posix/unistd.h: Undo change of feature selection for ftruncate from
37900         2010-01-11.
37902 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37904         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37905         detection.
37907 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37909         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37910         fanotify_mark.
37911         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37913 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37915         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37916         variables after CHECK_SP call.
37917         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37919 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37920             Ulrich Drepper  <drepper@redhat.com>
37922         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37923         re-relocationg ld.so.
37924         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37925         _dl_init_paths call.
37926         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37927         here anymore.
37929 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37931         * resolv/res_init.c (__res_vinit): Count the default server we added.
37933 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37934             Ulrich Drepper  <drepper@redhat.com>
37936         [BZ #11968]
37937         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37938         (____longjmp_chk): Use %ebx for saving value across system call.
37939         Add unwind info.
37941 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37943         * manual/Makefile: Don't mix pattern rules with normal rules.
37945 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37947         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37948         operation.
37949         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37950         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37951         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37952         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37953         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37954         Likewise.
37956 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37958         [BZ #11979]
37959         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37960         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37962 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37964         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37965         * sysdeps/x86_64/addmul_1.S: Likewise.
37966         * sysdeps/x86_64/lshift.S: Likewise.
37967         * sysdeps/x86_64/mul_1.S: Likewise.
37968         * sysdeps/x86_64/rshift.S: Likewise.
37969         * sysdeps/x86_64/sub_n.S: Likewise.
37970         * sysdeps/x86_64/submul_1.S: Likewise.
37972 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37974         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37975         Define __sched_param instead of SCHED_* and sched_param when
37976         <bits/sched.h> is included with __need_schedparam defined.
37977         * bits/sched.h [__need_schedparam]
37978         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37979         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37980         (__defined_schedparam): Define to 1.
37981         (__sched_param): New structure, identical to sched_param.
37982         (__need_schedparam): Undefine.
37984 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37986         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37987         (epoll_create1): Declare.
37989         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37991 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37993         [BZ #7066]
37994         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37995         shifting retval into place.
37997 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37999         * nis/rpcsvc/nis.h: Update copyright notice.
38000         * nis/rpcsvc/nis.x: Likewise.
38001         * nis/rpcsvc/nis_callback.h: Likewise.
38002         * nis/rpcsvc/nis_callback.x: Likewise.
38003         * nis/rpcsvc/nis_object.x: Likewise.
38004         * nis/rpcsvc/nis_tags.h: Likewise.
38005         * nis/rpcsvc/yp.h: Likewise.
38006         * nis/rpcsvc/yp.x: Likewise.
38007         * nis/rpcsvc/ypupd.h: Likewise.
38008         * nis/yp_xdr.c: Likewise.
38009         * nis/ypupdate_xdr.c: Likewise.
38011         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38012         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38013         (pmap_getport): Use __libc_rpc_getport.
38014         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38015         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38016         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38018 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38021         fanotify_mark.
38023 2010-08-27  Roland McGrath  <roland@redhat.com>
38025         * sysdeps/i386/i686/multiarch/Makefile
38026         (CFLAGS-varshift.c): New variable.
38028 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38030         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38031         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38033         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38035         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38037 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38039         * sysdeps/x86_64/strlen.S: Unroll the loop.
38040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38041         strlen-sse2 strlen-sse2-bsf.
38042         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38043         __strlen_no_bsf if bit_Slow_BSF is set.
38044         (__strlen_sse42): Removed.
38045         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38046         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38048 2010-08-25  Roland McGrath  <roland@redhat.com>
38050         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38051         * sysdeps/x86_64/multiarch/varshift.c: New file.
38052         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38053         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38054         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38055         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38057 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38059         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38060         strlen-sse2 strlen-sse2-bsf.
38061         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38062         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38063         (__strlen_sse2): Removed.
38064         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38065         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38067         bit_Slow_BSF for Atom.
38068         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38069         (index_Slow_BSF): Define.
38070         (HAS_SLOW_BSF): Define.
38072 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38074         [BZ #10851]
38075         * resolv/res_init.c (__res_vinit): When no server address at all
38076         is given default to loopback.
38078 2010-08-24  Roland McGrath  <roland@redhat.com>
38080         * configure.in: Remove config-name.h generation.
38081         * configure: Regenerated.
38082         * config-name.in: File removed.
38083         * scripts/config-uname.sh: New file.
38084         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38085         ($(objdir)config-name.h): New target.
38087         * sunrpc/rpc_parse.h: Avoid nested comment.
38089 2010-08-24  Richard Henderson  <rth@redhat.com>
38090             Ulrich Drepper  <drepper@redhat.com>
38091             H.J. Lu  <hongjiu.lu@intel.com>
38093         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38095         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38096         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38097         _mm_alignr_epi8 with _mm_loadu_si128.
38098         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38099         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38100         (__m128i_shift_right): Removed.
38101         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38102         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38103         * sysdeps/x86_64/multiarch/varshift.h: New file.
38104         * sysdeps/x86_64/multiarch/varshift.S: New file.
38106 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38108         * configure.in: Move assembler checks to before sysdep dir checking.
38110 2010-08-20  Petr Baudis  <pasky@suse.cz>
38112         * LICENSES: Sync the sunrpc license.
38114 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38116         * sunrpc/auth_des.c: Update copyright notice once again.
38117         * sunrpc/auth_none.c: Likewise.
38118         * sunrpc/auth_unix.c: Likewise.
38119         * sunrpc/authdes_prot.c: Likewise.
38120         * sunrpc/authuxprot.c: Likewise.
38121         * sunrpc/bindrsvprt.c: Likewise.
38122         * sunrpc/clnt_gen.c: Likewise.
38123         * sunrpc/clnt_perr.c: Likewise.
38124         * sunrpc/clnt_raw.c: Likewise.
38125         * sunrpc/clnt_simp.c: Likewise.
38126         * sunrpc/clnt_tcp.c: Likewise.
38127         * sunrpc/clnt_udp.c: Likewise.
38128         * sunrpc/clnt_unix.c: Likewise.
38129         * sunrpc/des_crypt.c: Likewise.
38130         * sunrpc/des_soft.c: Likewise.
38131         * sunrpc/get_myaddr.c: Likewise.
38132         * sunrpc/getrpcport.c: Likewise.
38133         * sunrpc/key_call.c: Likewise.
38134         * sunrpc/key_prot.c: Likewise.
38135         * sunrpc/openchild.c: Likewise.
38136         * sunrpc/pm_getmaps.c: Likewise.
38137         * sunrpc/pm_getport.c: Likewise.
38138         * sunrpc/pmap_clnt.c: Likewise.
38139         * sunrpc/pmap_prot.c: Likewise.
38140         * sunrpc/pmap_prot2.c: Likewise.
38141         * sunrpc/pmap_rmt.c: Likewise.
38142         * sunrpc/rpc/auth.h: Likewise.
38143         * sunrpc/rpc/auth_unix.h: Likewise.
38144         * sunrpc/rpc/clnt.h: Likewise.
38145         * sunrpc/rpc/des_crypt.h: Likewise.
38146         * sunrpc/rpc/key_prot.h: Likewise.
38147         * sunrpc/rpc/netdb.h: Likewise.
38148         * sunrpc/rpc/pmap_clnt.h: Likewise.
38149         * sunrpc/rpc/pmap_prot.h: Likewise.
38150         * sunrpc/rpc/pmap_rmt.h: Likewise.
38151         * sunrpc/rpc/rpc.h: Likewise.
38152         * sunrpc/rpc/rpc_des.h: Likewise.
38153         * sunrpc/rpc/rpc_msg.h: Likewise.
38154         * sunrpc/rpc/svc.h: Likewise.
38155         * sunrpc/rpc/svc_auth.h: Likewise.
38156         * sunrpc/rpc/types.h: Likewise.
38157         * sunrpc/rpc/xdr.h: Likewise.
38158         * sunrpc/rpc_clntout.c: Likewise.
38159         * sunrpc/rpc_cmsg.c: Likewise.
38160         * sunrpc/rpc_common.c: Likewise.
38161         * sunrpc/rpc_cout.c: Likewise.
38162         * sunrpc/rpc_dtable.c: Likewise.
38163         * sunrpc/rpc_hout.c: Likewise.
38164         * sunrpc/rpc_main.c: Likewise.
38165         * sunrpc/rpc_parse.c: Likewise.
38166         * sunrpc/rpc_parse.h: Likewise.
38167         * sunrpc/rpc_prot.c: Likewise.
38168         * sunrpc/rpc_sample.c: Likewise.
38169         * sunrpc/rpc_scan.c: Likewise.
38170         * sunrpc/rpc_scan.h: Likewise.
38171         * sunrpc/rpc_svcout.c: Likewise.
38172         * sunrpc/rpc_tblout.c: Likewise.
38173         * sunrpc/rpc_util.c: Likewise.
38174         * sunrpc/rpc_util.h: Likewise.
38175         * sunrpc/rpcinfo.c: Likewise.
38176         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38177         * sunrpc/rpcsvc/key_prot.x: Likewise.
38178         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38179         * sunrpc/rpcsvc/mount.x: Likewise.
38180         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38181         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38182         * sunrpc/rpcsvc/rex.x: Likewise.
38183         * sunrpc/rpcsvc/rstat.x: Likewise.
38184         * sunrpc/rpcsvc/rusers.x: Likewise.
38185         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38186         * sunrpc/rpcsvc/spray.x: Likewise.
38187         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38188         * sunrpc/rtime.c: Likewise.
38189         * sunrpc/svc.c: Likewise.
38190         * sunrpc/svc_auth.c: Likewise.
38191         * sunrpc/svc_authux.c: Likewise.
38192         * sunrpc/svc_raw.c: Likewise.
38193         * sunrpc/svc_run.c: Likewise.
38194         * sunrpc/svc_simple.c: Likewise.
38195         * sunrpc/svc_tcp.c: Likewise.
38196         * sunrpc/svc_udp.c: Likewise.
38197         * sunrpc/svc_unix.c: Likewise.
38198         * sunrpc/svcauth_des.c: Likewise.
38199         * sunrpc/xcrypt.c: Likewise.
38200         * sunrpc/xdr.c: Likewise.
38201         * sunrpc/xdr_array.c: Likewise.
38202         * sunrpc/xdr_float.c: Likewise.
38203         * sunrpc/xdr_mem.c: Likewise.
38204         * sunrpc/xdr_rec.c: Likewise.
38205         * sunrpc/xdr_ref.c: Likewise.
38206         * sunrpc/xdr_sizeof.c: Likewise.
38207         * sunrpc/xdr_stdio.c: Likewise.
38209         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38210         handling.
38212 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38214         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38216 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38218         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38219         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38220         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38221         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38222         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38223         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38224         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38225         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38226         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38227         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38228         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38229         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38230         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38231         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38233 2010-07-26  Anton Blanchard  <anton@samba.org>
38235         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38236         * malloc/arena.c (heap_trim): Likewise.
38238 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38240         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38241         here.  Not...
38242         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38243         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38245 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38247         * sysdeps/i386/elf/Makefile: New file.
38249 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38251         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38252         from fanotify_init.
38253         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38254         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38256 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38258         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38259         of strncasecmp_l.
38260         * sysdeps/multiarch/strcmp.S: Likewise.
38262 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38264         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38265         strncase_l-nonascii.
38266         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38267         Add strncase_l-ssse3.
38268         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38269         * sysdeps/x86_64/strcmp.S: Likewise.
38270         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38271         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38272         * sysdeps/x86_64/strncase.S: New file.
38273         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38274         * sysdeps/x86_64/strncase_l.S: New file.
38275         * string/Makefile (strop-tests): Add strncasecmp.
38276         * string/test-strncasecmp.c: New file.
38278         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38279         warning.
38281         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38282         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38284 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38286         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38288 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38290         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38291         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38292         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38294 2010-05-01  Alan Modra  <amodra@gmail.com>
38296         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38297         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38298         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38299         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38300         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38301         tidying.  Don't tail-call __sigjmp_save for static lib.
38302         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38303         save location.
38304         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38305         (CALL_MCOUNT): Add eh info, and nop after bl.
38306         (TAIL_CALL_SYSCALL_ERROR): New macro.
38307         (PSEUDO_RET): Use it.
38308         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38309         Correct save location of integer regs and cr.
38310         (_dl_profile_resolve): Correct cr save location.  Delete nops
38311         after bl when SHARED.  Reduce cfi size a little by better
38312         placement of cfi directives.
38313         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38314         make a stack frame.  Instead use parm save area as a temp.
38315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38316         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38318         Don't make a stack frame for parent, use parm save area.
38319         Increase child stack frame to 112 bytes.  Don't save unused reg,
38320         and adjust reg usage.  Set up cfi on error recovery and
38321         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38323         (__makecontext): Add dummy nop after jump to exit.
38324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38325         Use correct parm save area and cr save, reduce stack frame.
38326         Correct cfi for possible PSEUDO_RET frame setup.
38327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38328         Branch to local label emitted by PSEUDO_RET rather than
38329         __syscall_error.
38331 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38333         [BZ #11904]
38334         * locale/programs/locale.c (print_assignment): New function.
38335         (show_locale_vars): Use it.
38337 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38339         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38340         field.
38341         (struct statfs64): Likewise.
38342         (_STATFS_F_FLAGS): Define.
38343         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38344         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38345         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38346         (ST_VALID): Define locally.
38347         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38348         __statvfs_getflags, use the provided value.
38349         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38350         __ASSUME_STATFS_F_FLAGS.
38352         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38354         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38355         Add sys/fanotify.h.
38356         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38357         fanotify_mask for GLIBC_2.13.
38358         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38359         fanotify_init and fanotify_mark.
38360         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38361         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38363         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38364         Add prlimit.
38365         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38366         prlimit64 for GLIBC_2.13.
38367         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38368         prlimit64.
38369         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38370         syscall.
38371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38372         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38373         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38374         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38375         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38376         add prlimit alias.
38377         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38379         [BZ #11903]
38380         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38381         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38383         * nss/Makefile: Add rules to build and run tst-nss-test1.
38384         * shlib-versions: Add entry for libnss_test1.
38385         * nss/nss_test1.c: New file.
38386         * nss/tst-nss-test1.c: New file.
38388         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38389         (__nss_configure_lookup): Set appropriate entry in
38390         __nss_configure_lookup to true.
38391         * nss/nsswitch.h: Define enum with indeces of databases in
38392         databases and __nss_database_custom arrays.  Declare
38393         __nss_database_custom.
38394         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38395         to avoid using nscd when custom rules are installed.
38396         * nss/getXXbyYY_r.c: Likewise.
38397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38399         * nss/nss_files/files-parse.c: Whitespace fixes.
38401 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38403         [BZ #11883]
38404         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38405         * posix/fnmatch_loop.c: Likewise.
38407 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38409         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38410         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38411         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38412         * Versions.def [GLIBC_2.13]: Add.
38414 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38416         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38417         Also fail if tpwd after pwuid call is NULL.
38419 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38421         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38422         when converting to ms.
38424 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38426         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38427         EOPNOTSUPP errors with ENOTTY.
38428         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38429         EOPNOTSUPP errors with ENOTTY.
38431 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38433         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38434         Add strcasecmp_l-ssse3.
38435         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38436         strcasecmp.
38437         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38438         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38439         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38441 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38443         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38445         * string/Makefile (strop-tests): Add strcasecmp.
38446         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38447         strcasecmp_l-nonascii.
38448         (gen-as-const-headers): Add locale-defines.sym.
38449         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38450         * sysdeps/x86_64/strcasecmp.S: New file.
38451         * sysdeps/x86_64/strcasecmp_l.S: New file.
38452         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38453         * sysdeps/x86_64/locale-defines.sym: New file.
38454         * string/test-strcasecmp.c: New file.
38456         * string/test-strcasestr.c: Test both ends of the range of characters.
38457         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38459 2010-07-29  Roland McGrath  <roland@redhat.com>
38461         [BZ #11856]
38462         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38464 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38466         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38467         for ld.so.
38469 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38471         * manual/memory.texi (Malloc Tunable Parameters): Document
38472         M_PERTURB.
38474 2010-07-26  Roland McGrath  <roland@redhat.com>
38476         [BZ #11840]
38477         * configure.in (-fgnu89-inline check): Set and substitute
38478         gnu89_inline, not libc_cv_gnu89_inline.
38479         * configure: Regenerated.
38480         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38482 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38484         * string/test-strnlen.c: New file.
38485         * string/Makefile (strop-tests): Add strnlen.
38486         * string/tester.c (test_strnlen): Add a few more test cases.
38487         * string/tst-strlen.c: Better error reporting.
38489         * sysdeps/x86_64/strnlen.S: New file.
38491 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38493         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38494         lower-latency instructions.
38496 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38498         * string/test-strcasestr.c: New file.
38499         * string/test-strstr.c: New file.
38500         * string/Makefile (strop-tests): Add strstr and strcasestr.
38501         * string/str-two-way.h: Don't undefine MAX.
38502         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38504 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38507         strcasestr-nonascii.
38508         (CFLAGS-strcasestr-nonascii.c): Define.
38509         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38510         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38511         Remove unused attribute.
38513 2010-07-20  Roland McGrath  <roland@redhat.com>
38515         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38516         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38517         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38518         like LD_HWCAP_MASK can disable hwcaps.
38520 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38522         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38524 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38526         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38527         call in strcasestr.
38528         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38529         __strcasestr_sse42_nonascii.
38530         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38531         strcasestr-nonascii.c.
38532         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38534 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38536         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38537         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38538         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38539         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38541 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38543         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38544         fcntl.
38546 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38548         [BZ #11577]
38549         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38550         dl_signal_cerror.
38552 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38554         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38555         _PC_PIPE_BUF using F_GETPIPE_SZ.
38557 2010-07-05  Roland McGrath  <roland@redhat.com>
38559         * manual/arith.texi (Rounding Functions): Fix rint description
38560         implicit in round description.
38562 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38564         * elf/Makefile: Fix linking for a few tests to make recent linker
38565         happy.
38567 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38569         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38570         $(common-objpfx)libc_nonshared.a.
38572 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38574         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38575         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38576         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38577         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38578         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38579         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38580         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38581         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38596         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38597         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38598         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38599         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38600         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38601         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38602         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38603         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38604         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38605         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38606         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38607         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38623 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38625         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38626         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38627         * string/memmove.c (memmove): Renamed to ...
38628         (MEMMOVE): ...this.  Default to memmove.
38629         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38630         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38631         (END_CHK): Define.
38632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38633         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38634         mempcpy-ssse3-back memmove-ssse3-back.
38635         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38636         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38637         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38638         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38639         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38640         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38641         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38642         * sysdeps/x86_64/multiarch/memmove.c: New file.
38643         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38644         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38645         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38646         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38647         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38648         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38649         Define.
38650         (index_Fast_Copy_Backward): Define.
38651         (HAS_ARCH_FEATURE): Define.
38652         (HAS_FAST_REP_STRING): Define.
38653         (HAS_FAST_COPY_BACKWARD): Define.
38655 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38657         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38658         Restore proper fallback handling.
38660 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38662         [BZ #11701]
38663         * posix/group_member.c (__group_member): Correct checking loop.
38665         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38666         OOM in getpwuid_r correctly.  Return error number when the caller
38667         should return, otherwise -1.
38668         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38669         call returning > 0 value.
38670         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38672 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38674         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38675         libc_nonshared.a from targets in modules-names.
38677 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38679         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38680         requires it.
38682 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38684         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38685         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38686         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38687         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38689 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38691         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38693 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38695         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38696         and F_GETPIPE_SZ.
38697         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38698         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38699         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38701         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38702         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38704 2010-06-14  Roland McGrath  <roland@redhat.com>
38706         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38708 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38710         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38711         __REDIRECT followed by __THROW.
38712         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38713         * posix/getopt.h (getopt): Likewise.
38715 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38717         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38718         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38719         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38720         in AT_FLAGS.
38721         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38722         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38724 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38726         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38728 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38730         [BZ #11640]
38731         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38732         Properly check family and model.
38734 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38736         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38738 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38740         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38742 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38744         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38745         symbol reference.
38747 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38749         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38750         symbol reference.
38752 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38754         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38755         and internal_recvmmsg.
38756         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38757         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38758         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38759         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38761         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38762         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38763         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38765 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38767         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38769 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38771         POWER7 optimizations.
38772         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38773         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38775 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38777         * version.h: Update for 2.13 development version.
38779 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38781         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38782         exceptions.  Return 0.
38784 2010-05-07  Roland McGrath  <roland@redhat.com>
38786         * elf/ldconfig.c (main): Add a const.
38788 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38790         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38791         (args_options): Add no-idn option.
38792         (ahosts_keys_int): Add idn_flags to ai_flags.
38793         (parse_option): Handle 'i' option to clear idn_flags.
38795         * malloc/malloc.c (_int_free): Possible race in the most recently
38796         added check.  Only act on the data if no current modification
38797         happened.
38799 See ChangeLog.17 for earlier changes.