Revert "BZ 16133 has been fixed (async signal safe TLS)."
[glibc.git] / ChangeLog
blobc579442ec5f2f022e8b1587a72aa731e1bbfd5ee
1 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
3         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5         * sysdeps/unix/sysv/linux/kernel-features.h
6         [__LINUX_KERNEL_VERSION >= 0x020621]
7         (__ASSUME_PROC_PID_TASK_COMM): Define.
9 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
13         Leonard and Allan McRae.
15 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
18         file
19         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20         New file
21         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
22         file.
23         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
24         file.
25         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26         New file.
27         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
28         file.
29         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
30         file.
31         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32         New file.
33         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34         New file.
35         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36         New file.
37         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38         New file.
39         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40         New file.
41         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42         New file.
44 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46         * nptl/shlib-versions: Change powerpc*le start to 2.17.
47         * shlib-versions: Likewise.
49 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
53         (abilist-pattern): New variable, set to %-le.abilist.
55         * Makerules (abilist-pattern): New variable.
56         (vpath): Use $(abilist-pattern) in place of %.abilist.
57         (check-abi-% pattern rule): Likewise.
58         (check-abi, update-abi): Likewise.
60 2014-02-04  Eric Wong  <normalperson@yhbt.net>
62         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64 2014-02-04  Eric Wong  <normalperson@yhbt.net>
66         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
70         * manual/startup.texi: Add next, previous, and top entries for
71         the `Program Arguments' and `Environment Variables' nodes.
73 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
75         * manual/macros.texi: Add comments before MTASC-safety macros.
77         * manual/users.texi: Document MTASC-safety properties.
79         * manual/threads.texi (pthread_key_create, pthread_key_delete,
80         pthread_getspecific, pthread_setspecific): Format with
81         @deftypefun, and add @safety note.
82         * manual/signal.texi: Move comments that analyze the above
83         functions to their home place.
85 2014-02-03  Allan McRae  <allan@archlinux.org>
87         * po/sl.po: Update Slovenian translation from translation project.
89 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
91         * manual/time.texi (timegm): Add missing blank after @c.
92         Reported by Joseph Myers <joseph@codesourcery.com>.
94 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
96         * manual/check-safety.sh: New.
97         * manual/Makefile ($(objpfx)stamp-summary): Run it.
99         * manual/terminal.texi: Document MTASC-safety properties.
101         * manual/filesys.texi: Document MTASC-safety properties.
103         * manual/errno.texi: Document MTASC-safety properties.
105         * manual/intro.texi: Document safety identifiers and
106         conditionals.
108         * manual/string.texi (wcstok): Fix prototype.
109         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
111         * manual/time.texi: Document MTASC-safety properties.
113         * manual/string.texi: Document MTASC-safety properties.
115         * manual/threads.texi: Document MTASC-safety properties.
117         * manual/stdio.texi: Document MTASC-safety properties.
119         * manual/syslog.texi: Document MTASC-safety properties.
121         * manual/sysinfo.texi: Document MTASC-safety properties.
123         * manual/startup.texi: Document MTASC-safety properties.
125         * manual/socket.texi: Document MTASC-safety properties.
127         * manual/signal.texi: Document MTASC-safety properties.
129 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
131         * manual/setjmp.texi: Document MTASC-safety properties.
133         * manual/search.texi: Document MTASC-safety properties.
135         * manual/resource.texi: Document MTASC-safety properties.
137         * manual/process.texi: Document MTASC-safety properties.
139         * manual/platform.texi: Document MTASC-safety properties.
141         * manual/pipe.texi: Document MTASC-safety properties.
143         * manual/pattern.texi: Document MTASC-safety properties.
145         * manual/message.texi: Document MTASC-safety properties.
147         [BZ #12751]
148         * manual/memory.texi: Document MTASC-safety properties.
150         * manual/math.texi: Document MTASC-safety properties.
152         * manual/locale.texi: Document MTASC-safety properties.
154         * manual/llio.texi: Document MTASC-safety properties.
156         * manual/libdl.texi: New.
158         * manual/lang.texi: Document MTASC-safety properties.
160         * manual/job.texi: Document MTASC-safety properties.
162         * manual/getopt.texi: Document MTASC-safety properties.
164         * manual/ctype.texi: Document MTASC-safety properties.
166 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
168         [BZ #16046]
169         * csu/libc-tls.c (static_map): Remove variable.
170         (__libc_setup_tls): Use main executable's link map for TLS data.
171         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
172         casing for LM_ID_BASE and GL(dl_nns).
173         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
174         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
175         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
176         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
177         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
178         member.
179         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
180         l_phnum members.
182 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
184         * manual/debug.texi: Document MTASC-safety properties.
186 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
188         [BZ #16510]
189         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
190         of __x86_64__ when disabling x87 inline functions.
192 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
194         * manual/charset.texi: Document MTASC-safety properties.
196         * manual/crypt.texi: Document MTASC-safety properties.
198         * manual/conf.texi: Document MTASC-safety properties.
200         * manual/arith.texi: Document MTASC-safety properties.
202         * manual/argp.texi: Document MTASC-safety properties.
204         * manual/macros.texi: Introduce macros to document multi
205         thread, asynchronous signal and asynchronous cancellation
206         safety properties.
207         * manual/intro.texi: Introduce the properties themselves.
209 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
211         * sysdeps/sh/sh4/Makefile: New file.
213 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
215         * math/gen-libm-test.pl ($srcdir): New variable.
216         ($auto_input): Use it.
218 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
220         [BZ #16506]
221         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
222         access beyond array bounds when parsing netgroups file.
224         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
225         the old buffer before realloc.
227 2014-01-27  Allan McRae  <allan@archlinux.org>
229         * po/fr.po: Update French translation from translation project.
231 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
233         * sysdeps/sh/libm-test-ulps: Regenerate.
235 2014-01-24  David S. Miller  <davem@davemloft.net>
237         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
239 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
241         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
242         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
244 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
246         [BZ #16474]
247         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
248         string pointers after reallocation.
250 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
252         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
253         __SH4A__ instead of __SH_FPU_ANY__.
255 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
257         * sysdeps/sh/fpu_control.h: New file.
258         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
259         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
260         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
261         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
262         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
263         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
264         * sysdeps/sh/sys/ucontext.h: Remove.
265         * sysdeps/sh/sys: Remove directory.
267 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
269         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
270         s390/sys/ucontext.h.
271         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
272         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
274 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
276         [BZ #15605]
277         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
279 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
281         [BZ#16431]
282         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
283         Adjust the vDSO correctly for internal calls.
284         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
286 2014-01-20  Allan McRae  <allan@archlinux.org>
288         * po/ca.po: Update Catalan translation from translation project.
290 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
292         * sysdeps/s390/sotruss-lib.c: New file.
294 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
296         [BZ#16430]
297         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
298         (__GI___gettimeofday): Alias for a different internal symbol to avoid
299         local calls issues by not having a PLT stub required for IFUNC calls.
300         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
302 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
304         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
305         * math/test-fpucw-static.c: Likewise.
307 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
309         [BZ #16453]
310         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
312 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
314         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
315         implementation for powerpc.
317 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
319         [BZ #14782]
320         * sysdeps/posix/system.c (__libc_system): Do not enable
321         asynchronous cancellation.
323 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
325         [BZ #16427]
326         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
327         handling only for numbers special also in the IEEE case.
329 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
331         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
333 2014-01-11  Allan McRae  <allan@archlinux.org>
335         * po/bg.po: Update Bulgarian translation from translation project.
337         * po/de.po: Update German translation from translation project.
339 2014-01-10  Roland McGrath  <roland@hack.frob.com>
341         * sysdeps/generic/gcc-compat.h: New file.
343 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
345         * benchtests/asin-inputs: Correct slow inputs.
346         * benchtests/acos-inputs: Likewise.
348 2014-01-10  Allan McRae  <allan@archlinux.org>
350         * po:sv.po: Update Swedish translation from translation project.
352         * po/vi.po: Update Vietnamese translation from translation project.
354         * po/eo.po: Update Esperanto translation from translation project.
356         * po/cs.po: Update Czech translation from translation project.
358         * po/nl.po: Update Dutch translation from translation project.
360         * po/pl.po: Update Polish translation from translation project.
362         * po/ru.po: Update Russian translation from translation project.
364         * po/uk.po: Update Ukrainian translation from translation project.
366 2014-01-08  Brooks Moses  <bmoses@google.com>
368         * elf/dl-load.c: Fix comment typo.
370 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
372         * po/header.pot: Rename to...
373         * po/pot.header: ... this.
374         * po/Makefile: Use pot.header.
376 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
377             Maxim Kuvyrkov  <maxim@kugelworks.com>
379         [BZ #16394]
380         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
381         SRC and DEST against LEN.
383 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
385         [BZ #16414]
386         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
387         implementation.
388         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
390 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
394 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
396         [BZ #16408]
397         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
398         for large positive arguments.
400 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
402         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
404         * math/auto-libm-test-in: Mark various tests with
405         xfail-rounding:ldbl-128ibm.
406         * math/auto-libm-test-out: Regenerated.
408         [BZ #16407]
409         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
410         Increase overflow threshold.
412 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
414         [BZ #14286]
415         * stdio-common/vfprintf.c: Check for integer overflow.
417 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
419         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
420         the first argument and return value of __tls_get_addr_internal.
422 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
424         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
425         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
427 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
429         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
430         * sysdeps/s390/rtld-global-offsets.sym: New file.
431         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
432         GLIBC_2.19 symbol.
433         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
434         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
435         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
436         ... this.
437         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
438         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
439         ... this.
440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
441         Regenerate.
442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
443         Regenerate.
444         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
445         halfs of GPRs for high_gprs contexts.
446         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
447         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
448         field.
449         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
450         uc_flags field.
451         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
452         64 bit versions:
453         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
454         for high GPRs (uc_high_gprs) and for future extensions
455         (__reserved).
456         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
457         for future extensions (__reserved).
458         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
459         64 bit versions:
460         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
461         SC_HIGHGPRS offset definition.
462         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
463         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
465 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
467         * Versions.def: Add GLIBC_2.19 for libpthread.
468         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
469         siglongjmp for libpthread with GLIBC_2.19 symver.
470         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
471         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
472         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
473         * sysdeps/s390/__longjmp.c: New file.
474         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
475         * sysdeps/s390/longjmp.c: New file.
476         * sysdeps/s390/setjmp.S: New file.
477         * sysdeps/s390/sigjmp.S: New file.
478         * sysdeps/s390/v1-longjmp.c: New file.
479         * sysdeps/s390/v1-setjmp.h: New file.
480         * sysdeps/s390/v1-sigjmp.c: New file.
481         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
482         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
483         GLIBC_2.19 version.
484         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
485         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
486         versioned symbols for ____longjmp_chk.
487         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
488         Likewise.
489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
490         Regenerate.
491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
492         Regenerate.
493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
494         Regenerate.
495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
496         Regenerate.
497         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
498         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
499         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
500         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
501         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
502         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
503         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
504         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
505         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
506         * sysdeps/s390/rtld-__longjmp.c: New file.
507         * sysdeps/s390/rtld-setjmp.S: New file.
509 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
511         [BZ #16400]
512         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
513         Return -__logl (x) for small positive arguments without evaluating
514         a polynomial.
516 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
518         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
519         Rename to ...
520         (__ptrace_peeksiginfo_args): ... this.
521         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
522         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
523         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
525 2014-01-06  Allan McRae  <allan@archlinux.org>
527         * inet/netinet/in.h: Fix typo in comment.
529 2014-01-05  Andreas Jaeger  <aj@suse.de>
531         * sysdeps/i386/fpu/libm-test-ulps: Update.
533 2014-01-05  Allan McRae  <allan@archlinux.org>
535         * po/libc.pot: Regenerated.
537         * malloc/memusagestat.c: Fix gettext call formatting.
539 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
541         * nscd/nscd.c: Improve usage() output.
543 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
545         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
546         * sysdeps/unix/sysv/linux/configure: Regenerated.
547         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
548         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
550 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
552         [BZ #16390]
553         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
554         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
556 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
558         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
559         extra tokens at end of #undef directive.
560         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
561         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
562         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
564 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
566         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
568         * math/auto-libm-test-in: Mark various tests with
569         xfail-rounding:ldbl-128ibm.
570         * math/auto-libm-test-out: Regenerated.
572 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
574         [BZ #16386]
575         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
576         numbers with subnormal high part when calculating exponent.
578         [BZ #16385]
579         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
580         fabs.
582         [BZ #16384]
583         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
584         M_LN2l.
585         (__ieee754_acoshl): Use __log1pl not __log1p.
587 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
589         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
590         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
591         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
592         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
593         Convert to GNU style.
594         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
595         mem2mem_check, mem2chunk_check, top_check, realloc_check,
596         memalign_check, __malloc_set_state): Likewise.
597         * malloc/mallocbug.c (main): Likewise.
598         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
599         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
600         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
601         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
602         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
603         * malloc/malloc.h: Likewise.
604         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
605         memalignhook, reallochook, mabort): Likewise.
606         * malloc/mcheck.h: Likewise.
607         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
608         mmap64, mremap, munmap, dest): Likewise.
609         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
610         * malloc/morecore.c (__default_morecore): Likewise.
611         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
612         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
613         _obstack_allocated_p, obstack_free, _obstack_memory_used,
614         print_and_abort): Likewise.
615         * malloc/obstack.h: Likewise.
616         * malloc/set-freeres.c (__libc_freeres): Likewise.
617         * malloc/tst-mallocstate.c (main): Likewise.
618         * malloc/tst-mtrace.c (main): Likewise.
619         * malloc/tst-realloc.c (do_test): Likewise.
621 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
623         [BZ #16366]
624         * nscd/netgroupcache.c (do_notfound): New function.
625         (addgetnetgrentX): Use it.
627         [BZ # 16365]
628         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
629         NSS_STATUS_NOTFOUND.
631 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
633         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
636 2014-01-01  Allan McRae  <allan@archlinux.org>
638         * scripts/update-copyrights: Update configure input file suffix.
640         * NEWS: Update copyright year.
641         * catgets/gencat.c: Likewise.
642         * csu/version.c: Likewise.
643         * debug/catchsegv.sh: Likewise.
644         * debug/pcprofiledump.c: Likewise.
645         * debug/xtrace.sh: Likewise.
646         * elf/ldconfig.c: Likewise.
647         * elf/ldd.bash.in: Likewise.
648         * elf/pldd.c: Likewise.
649         * elf/sotruss.ksh: Likewise.
650         * elf/sprof.c: Likewise.
651         * iconv/iconv_prog.c: Likewise.
652         * iconv/iconvconfig.c: Likewise.
653         * locale/programs/locale.c: Likewise.
654         * locale/programs/localedef.c: Likewise.
655         * login/programs/pt_chown.c: Likewise.
656         * malloc/memusage.sh: Likewise.
657         * malloc/memusagestat.c: Likewise.
658         * malloc/mtrace.pl: Likewise.
659         * manual/libc.texinfo: Likewise.
660         * nscd/nscd.c: Likewise.
661         * nss/getent.c: Likewise.
662         * nss/makedb.c: Likewise.
663         * posix/getconf.c: Likewise.
664         * scripts/test-installation.pl: Likewise.
666         * All files with FSF copyright notices: Update copyright dates
667         using scripts/update-copyrights.
668         * intl/plural.c: Regenerated.
669         * locale/programs/charmap-kw.h: Likewise.
670         * locale/programs/locfile-kw.h: Likewise.
672 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
674         * sysdeps/unix/sysv/linux/configure: Regenerated.
675         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
676         the linux/fanotify.h header.
677         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
678         HAVE_LINUX_FANOTIFY_H is defined.
680 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
682         * benchtests/cos-inputs: New inputs.
683         * benchtests/sin-inputs: Likewise.
685         * benchtests/atan-inputs: New inputs. Fix name of multiple
686         precision fallback inputs.
688         * benchtests/atanh-inputs: New inputs.
689         * benchtests/tanh-inputs: Likewise.
691         * benchtests/acosh-inputs: New inputs.
692         * benchtests/asinh-inputs: Likewise.
694         * benchtests/cosh-inputs: New inputs.
695         * benchtests/sinh-inputs: Likewise.
697         * benchtests/acos-inputs: Add more inputs.
698         * benchtests/asin-inputs: Likewise.
700 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
702         [BZ #16375]
703         * manual/arith.texi: Fix spelling.
704         * manual/charset.texi: Likewise.
705         * manual/errno.texi: Likewise.
706         * manual/filesys.texi: Likewise.
707         * manual/lang.texi: Likewise.
708         * manual/llio.texi: Likewise.
709         * manual/locale.texi: Likewise.
710         * manual/message.texi: Likewise.
711         * manual/resource.texi: Likewise.
712         * manual/search.texi: Likewise.
713         * manual/setjmp.texi: Likewise.
714         * manual/stdio.texi: Likewise.
715         * manual/string.texi: Likewise.
716         * manual/sysinfo.texi: Likewise.
717         * manual/time.texi: Likewise.
719 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
721         * po/sl.po: New file.
723 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
725         * .gitignore: Add core/.gdbinit/.gdb_history.
727 2013-12-27  Allan McRae  <allan@archlinux.org>
729         [BZ #16369]
730         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
731         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
733 2013-12-24  Brooks Moses  <bmoses@google.com>
735         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
736         all compilers that claim C++98 compliance, not just GCC.
737         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
738         Likewise.
740 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
742         * NEWS: Restore accidentally deleted bug-fix entries.
744 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
745             Ondřej Bílka  <neleai@seznam.cz>
747         [BZ #15073]
748         * malloc/malloc.c (_int_free): Perform sanity check only if we
749         have_lock.
751 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
753         [BZ #12986]
754         * manual/stdio.texi (String Input Conversions): Clarify that character
755         classes are not supported.
757 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
761 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
763         [BZ #16337]
764         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
765         Calculate results for small negative arguments directly rather
766         than using reflection formula with special underflow handling.
768         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
769         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
770         sysdeps/unix/bsd/bsd4.4/syscalls.list.
771         (fchflags): Likewise.
772         (revoke): Likewise.
773         (setlogin): Likewise.
774         (sigaltstack): Likewise.
775         (wait4): Likewise.
776         (sigblock): Remove.
777         (sigsetmask): Likewise.
778         (wait3): Likewise.
779         (waitpid): Likewise.
780         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
781         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
782         file.
783         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
784         * sysdeps/unix/bsd/Makefile: ... here.
785         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
786         * sysdeps/unix/bsd/Versions: ... here.
787         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
788         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
789         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
790         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
791         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
792         * sysdeps/unix/bsd/sigblock.c: ... here.
793         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
794         * sysdeps/unix/bsd/sigsetmask.c: ... here.
795         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
796         * sysdeps/unix/bsd/sigvec.c: ... here.
797         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
798         * sysdeps/unix/bsd/tcdrain.c: ... here.
799         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
800         * sysdeps/unix/bsd/tcgetattr.c: ... here.
801         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
802         * sysdeps/unix/bsd/tcsetattr.c: ... here.
803         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
804         * sysdeps/unix/bsd/wait.c: ... here.
805         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
806         * sysdeps/unix/bsd/wait3.c: ... here.
807         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
808         * sysdeps/unix/bsd/waitpid.c: ... here.
810 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
812         [BZ #16356]
813         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
814         round-to-nearest for [!USE_AS_EXPM1L].
815         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
816         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
817         more tests of exp and exp10.  Expect some exp10 tests to miss
818         exceptions or fail in directed rounding modes.
819         * math/auto-libm-test-out: Regenerated.
820         * math/libm-test.inc (exp10_tonearest_test_data): New array.
821         (exp10_test_tonearest): New function.
822         (exp10_towardzero_test_data): New array.
823         (exp10_test_towardzero): New function.
824         (exp10_downward_test_data): New array.
825         (exp10_test_downward): New function.
826         (exp10_upward_test_data): New array.
827         (exp10_test_upward): New function.
828         (main): Call the new functions.
829         * sysdeps/i386/fpu/libm-test-ulps: Update.
830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
832 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
834         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
835         asinh, atan, atan2, atanh, cbrt, cos and cosh.
836         * math/auto-libm-test-out: Regenerated.
837         * math/libm-test.inc (acosh_test_data): Add more tests.
838         (atanh_test_data): Likewise.
839         (ceil_test_data): Likewise.
840         (copysign_test_data): Likewise.
841         * sysdeps/i386/fpu/libm-test-ulps: Update.
842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
844         * timezone/checktab.awk: Update from tzcode 2013i.
845         * timezone/private.h: Likewise.
846         * timezone/scheck.c: Likewise.
847         * timezone/tzfile.h: Likewise.
848         * timezone/tzselect.ksh: Likewise.
849         * timezone/zdump.c: Likewise.
850         * timezone/zic.c: Likewise.
852         * math/auto-libm-test-in: Add tests of cpow.
853         * math/auto-libm-test-out: Regenerated.
854         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
855         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
856         mpc_cc_c.
857         (func_calc_desc): Add mpc_cc_c union field.
858         (test_functions): Add cpow.
859         (special_fill_2pi): New function.
860         (special_real_inputs): Add 2pi.
861         (calc_generic_results): Handle mpc_cc_c.
862         * sysdeps/i386/fpu/libm-test-ulps: Update.
863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
865         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
866         csqrt, ctan and ctanh.
867         * math/auto-libm-test-out: Regenerated.
868         * math/libm-test.inc (TEST_COND_x86_64): New macro.
869         (TEST_COND_x86): Likewise.
870         (ccos_test_data): Use AUTO_TESTS_c_c.
871         (ccosh_test_data): Likewise.
872         (cexp_test_data): Likewise.
873         (clog_test_data): Likewise.
874         (csqrt_test_data): Likewise.
875         (ctan_test_data): Likewise.
876         (ctan_tonearest_test_data): Likewise.
877         (ctan_towardzero_test_data): Likewise.
878         (ctan_downward_test_data): Likewise.
879         (ctan_upward_test_data): Likewise.
880         (ctanh_test_data): Likewise.
881         (ctanh_tonearest_test_data): Likewise.
882         (ctanh_towardzero_test_data): Likewise.
883         (ctanh_downward_test_data): Likewise.
884         (ctanh_upward_test_data): Likewise.
885         * math/gen-auto-libm-tests.c (func_calc_method): Add value
886         mpc_c_c.
887         (func_calc_desc): Add mpc_c_c union field.
888         (FUNC_mpc_c_c): New macro.
889         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
890         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
891         ctanh.
892         (special_fill_min_subnorm_p120): New function.
893         (special_real_inputs): Add min_subnorm_p120.
894         (calc_generic_results): Handle mpc_c_c.
895         * sysdeps/i386/fpu/libm-test-ulps: Update.
896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
898 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
900         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
901         do_sin_slow): New functions.
902         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
903         cslow2, csloww1, csloww2): Use the new functions.
905         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
906         Use M to change sign of result instead of X.  Assume X is
907         positive.
908         (csloww1): Likewise.
909         (__sin): Adjust.
910         (__cos): Adjust.
912         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
913         arguments A and DA.
914         (__sin): Adjust.
915         (__cos): Likewise.
917         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
918         (__cos): Likewise.
919         (sloww1): Don't adjust sign of DX.
920         (csloww1): Likewise.
921         (sloww2): Use X directly and don't adjust sign of DX.
922         (csloww2): Likewise.
924 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
926         * math/auto-libm-test-in: Add tests of cabs and carg.
927         * math/auto-libm-test-out: Regenerated.
928         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
929         (carg_test_data): Likewise.
930         * math/gen-auto-libm-tests.c (func_calc_method): Add value
931         mpc_c_f.
932         (func_calc_desc): Add mpc_c_f union field.
933         (test_functions): Add cabs and carg.
934         (calc_generic_results): Handle mpc_c_f.
936         * sysdeps/powerpc/powerpc32/libgcc-compat.S
937         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
938         as a macro and a compat symbol.
939         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
940         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
941         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
942         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
943         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
944         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
945         not use .hidden.
946         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
947         Likewise.
948         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
949         Likewise.
950         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
951         Likewise.
952         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
953         Likewise.
954         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
955         Likewise.
956         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
957         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
958         from GLIBC_2.3.2.
960 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
964 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
966         * manual/texinfo.tex: Update to version 2013-11-26.10 with
967         trailing whitespace removed.
968         * scripts/config.guess: Update to version 2013-11-29.
969         * scripts/config.sub: Update to version 2013-10-01.
971         * math/auto-libm-test-in: Add tests of sincos.
972         * math/auto-libm-test-out: Regenerated.
973         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
974         * math/gen-auto-libm-tests.c (func_calc_method): Add value
975         mpfr_f_11.
976         (func_calc_desc): Add mpfr_f_11 union field.
977         (test_functions): Add sincos.
978         (calc_generic_results): Handle mpfr_f_11.
979         * sysdeps/i386/fpu/libm-test-ulps: Update.
980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
982 2013-12-19  Andreas Schwab  <schwab@suse.de>
984         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
985         CALL_MCOUNT.
986         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
987         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
988         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
990 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
992         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
993         * sysdeps/i386/fpu/libm-test-ulps: Update.
994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
996         [BZ #16293]
997         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
998         round-to-nearest mode when using frndint.
999         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1000         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1001         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1002         Likewise.
1003         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1004         sinh test to fail.
1005         * math/auto-libm-test-out: Regenerated.
1006         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1007         (TEST_COND_x86): Likewise.
1008         (expm1_tonearest_test_data): New array.
1009         (expm1_test_tonearest): New function.
1010         (expm1_towardzero_test_data): New array.
1011         (expm1_test_towardzero): New function.
1012         (expm1_downward_test_data): New array.
1013         (expm1_test_downward): New function.
1014         (expm1_upward_test_data): New array.
1015         (expm1_test_upward): New function.
1016         (main): Run the new test functions.
1017         * sysdeps/i386/fpu/libm-test-ulps: Update.
1018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1020         * include/features.h: Update comment documenting feature test
1021         macros.  Mention _DEFAULT_SOURCE in comment.
1022         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1023         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1024         _BSD_SOURCE and _SVID_SOURCE.
1025         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1026         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1027         !_SVID_SOURCE]: Likewise.
1028         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1029         (__USE_POSIX_IMPLICITLY): Define.
1030         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1031         (_POSIX_SOURCE): Undefine and redefine.
1032         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1033         (_POSIX_C_SOURCE): Likewise.
1034         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1035         (Feature Test Macros): Update documentation of default features.
1037 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1039         * benchtests/Makefile: Add bench-strtok.
1040         * benchtests/bench-strtok.c: New file: strtok benchtest.
1042 2013-12-19  Allan McRae  <allan@archlinux.org>
1044         * manual/install.texi: Suppress menu for plain text output.
1045         * INSTALL: Regenerated.
1047 2013-12-18  Brooks Moses  <bmoses@google.com>
1049         [BZ #15846]
1050         * misc/getauxval.c: Include errno.h.
1051         (__getauxval): Set errno to ENOENT if the requested type is not
1052         found.
1053         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1054         don't declare with __attribute_const__.
1055         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1056         * manual/startup.texi: Document that getauxval sets errno.
1058 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1060         * math/auto-libm-test-in: Add tests of jn and yn.
1061         * math/auto-libm-test-out: Regenerated.
1062         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1063         (yn_test_data): Likewise.
1064         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1065         mpfr_if_f.
1066         (func_calc_desc): Add mpfr_if_f union field.
1067         (FUNC_mpfr_if_f): New macro.
1068         (test_functions): Add jn and yn.
1069         (calc_generic_results): Assert type of second input for
1070         mpfr_ff_f.  Handle mpfr_if_f.
1071         (output_for_one_input_case): Disable all checking for arguments
1072         fitting floating-point types in case of an integer argument.
1073         * sysdeps/i386/fpu/libm-test-ulps: Update.
1074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1077         Don't expect fegetround reference in libm.so.
1079 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1081         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1082         $(config-cflags-nofma).
1084 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1086         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1087         * math/auto-libm-test-out: Regenerated.
1089         [BZ #16338]
1090         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1091         to determine exponent and adjust argument to have exponent of -1.
1092         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1093         log2.
1094         * math/auto-libm-test-out: Regenerated.
1095         * sysdeps/i386/fpu/libm-test-ulps: Update.
1096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1098 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1100         * manual/probes.texi: Remove cases when per-thread arenas are
1101         disabled.
1103 2013-12-18  Andreas Schwab  <schwab@suse.de>
1105         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1106         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1107         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1108         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1109         * sysdeps/i386/i686/multiarch/Makefile: Update.
1110         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1112 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1114         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1115         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1117 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1119         Support TZ transition times < 00:00:00.
1120         This is needed for version-3 tz-format files; it supports time
1121         stamps past 2037 for America/Godthab (the only entry in the tz
1122         database for which this change is relevant).
1123         * manual/time.texi (TZ Variable): Document transition times
1124         from -167:59:59 through -00:00:01.
1125         * time/tzset.c (tz_rule): Time of day is now signed.
1126         (__tzset_parse_tz): Parse negative time of day.
1128         Document TZ transition times >= 25:00:00.
1129         * manual/time.texi (TZ Variable): Document transition times from
1130         25:00:00 through 167:59:59.  These are already supported, and this
1131         support will help with version-3 tz-format files.
1133         * manual/time.texi (TZ Variable): Modernize North America example
1134         to reflect current (i.e., 2007-and-later) daylight saving rules.
1136         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1138 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1140         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1141         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1142         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1143         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1144         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1145         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1146         * sysdeps/unix/bsd/clock.c: Likewise.
1147         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1148         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1149         * sysdeps/unix/bsd/init-posix.c: Likewise.
1150         * sysdeps/unix/bsd/poll.c: Likewise.
1151         * sysdeps/unix/bsd/ptsname.c: Likewise.
1152         * sysdeps/unix/bsd/seekdir.c: Likewise.
1153         * sysdeps/unix/bsd/setegid.c: Likewise.
1154         * sysdeps/unix/bsd/seteuid.c: Likewise.
1155         * sysdeps/unix/bsd/setgid.c: Likewise.
1156         * sysdeps/unix/bsd/setrgid.c: Likewise.
1157         * sysdeps/unix/bsd/setruid.c: Likewise.
1158         * sysdeps/unix/bsd/setsid.c: Likewise.
1159         * sysdeps/unix/bsd/setuid.c: Likewise.
1160         * sysdeps/unix/bsd/sigaction.c: Likewise.
1161         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1162         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1163         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1164         * sysdeps/unix/bsd/telldir.c: Likewise.
1165         * sysdeps/unix/bsd/times.c: Likewise.
1166         * sysdeps/unix/bsd/usleep.c: Likewise.
1168         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1169         ($(objpfx)libbsd-compat.a): Remove rule.
1171         * include/features.h (__FAVOR_BSD): Do not define.
1172         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1173         features conflicting with POSIX.
1174         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1175         (_BSD_SOURCE): Remove description of not being a subset of other
1176         feature test macros.
1177         * manual/job.texi (getpgrp): Do not document BSD version.
1178         (getpgid): Do not document by reference to BSD getpgrp.
1179         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1180         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1181         * signal/signal.h [__FAVOR_BSD]: Likewise.
1182         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1183         instead of making contents conditional on [__FAVOR_BSD].
1184         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1186 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1190 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1192         [BZ #16314]
1193         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1194         values below 2**-450, not 2**-500.
1195         * math/auto-libm-test-in: Don't allow spurious underflow from
1196         hypot.
1197         * math/auto-libm-test-out: Regenerated.
1199         [BZ #16316]
1200         [BZ #16330]
1201         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1202         values of ha and hb and sort them after adjusting subnormal
1203         arguments.
1204         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1205         Likewise.
1206         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1207         values of ea and eb and sort them after adjusting subnormal
1208         arguments.
1209         * math/auto-libm-test-in: Do not expect some hypot tests of
1210         subnormals to fail.  Add more hypot tests.
1211         * math/auto-libm-test-out: Regenerated.
1213 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1215         [BZ #13304]
1216         * sysdeps/sh/s_fma.c: New file.
1217         * sysdeps/sh/s_fmaf.c: New file.
1218         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1219         version.
1220         * sysdeps/sh/Implies: Add sh/soft-fp.
1222 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1224         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1225         level of indirection to members `objname', `errstring', `malloced'.
1226         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1227         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1228         it as the __longjmp argument (just pass 1 instead).
1229         (_dl_catch_error): Initialize C with argument pointers and address of
1230         volatile local ERRCODE rather than copying values out of C at return.
1232 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1234         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1235         * math/auto-libm-test-out: Regenerated.
1236         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1237         (hypot_test_data): Likewise.
1238         (pow_test_data): Likewise.
1239         (pow_tonearest_test_data): Likewise.
1240         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1241         mpfr_ff_f.
1242         (func_calc_desc): Add mpfr_ff_f union field.
1243         (FUNC_mpfr_ff_f): New macro.
1244         (test_functions): Add atan2, hypot and pow.
1245         (special_fill_min): New function.
1246         (special_fill_minus_min): Likewise.
1247         (special_fill_min_subnorm): Likewise.
1248         (special_fill_minus_min_subnorm): Likewise.
1249         (special_real_inputs): Add min, -min, min_subnorm and
1250         -min_subnorm.
1251         (calc_generic_results): Handle mpfr_ff_f.
1252         * sysdeps/i386/fpu/libm-test-ulps: Update.
1253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1255 2013-12-16  Will Newton  <will.newton@linaro.org>
1257         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1258         (Aligned Memory Blocks): Add documentation for aligned_alloc
1259         and suggest it as an alternative to posix_memalign.
1260         (Hooks for Malloc): Document __memalign_hook is also called
1261         for aligned_alloc.  (Summary of Malloc): Add summary for
1262         aligned alloc.  Document __memalign_hook is also called
1263         for aligned_alloc.
1265 2013-12-16  Will Newton  <will.newton@linaro.org>
1267         * manual/memory.texi (Malloc Examples): Clarify default
1268         alignment documentation.  Suggest posix_memalign rather
1269         than memalign or valloc.
1270         (Aligned Memory Blocks): Remove suggestion to use memalign
1271         or valloc.  Remove obsolete comment about BSD.
1272         Document memalign errno values and mark the function obsolete.
1273         Document posix_memalign returned error codes.  Mark valloc
1274         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1275         called for posix_memalign and valloc.
1276         (Summary of Malloc): Add posix_memalign to function summary.
1277         __memalign_hook is also called for posix_memalign and valloc.
1279 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1281         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1282         TAYLOR_SIN.
1283         (__sin): Adjust.
1284         (__cos): Likewise.
1285         (sloww): Use mynumber union.  Expand ternary operator into
1286         if-else statements.
1287         (cslow): use mynumber union.
1289 2013-12-16  Allan McRae  <allan@archlinux.org>
1291         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1292         * configure: Regenerated.
1294         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1296         [BZ #14120]
1297         * configure.ac: Added --enable-maintainer-mode. Check for
1298         autoconf when enabled.
1299         * configure: Regenerated.
1301         * nscd/nscd.service: New file.
1302         * nscd/nscd.tmpfiles: New file.
1304 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1306         [BZ #12100]
1307         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1308         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1309         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1310         (strstr): Add __strstr_sse2_unaligned ifunc.
1311         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1312         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1313         (strcasestr): Remove __strcasestr_sse42 ifunc.
1314         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1316         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1318 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1320         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1321         * sysdeps/sh/bits/fenv.h: ... here.
1322         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1324 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1326         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1328 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1330         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1331         hypotf multiarch implementations.
1332         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1333         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1334         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1335         multiarch hypot for PPC64.
1336         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1337         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1338         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1339         multiarch hypotf for PPC64.
1341 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1344         modff multiarch implementations.
1345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1348         multiarch modf for PPC64.
1349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1352         multiarch modff for PPC64.
1354 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1356         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1357         and logl multiarch implementations.
1358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1361         multiarch logb for PPC64.
1362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1365         multiarch logb for PPC64.
1366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1369         multiarch logb for PPC64.
1371 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1374         isinff multiarch implementation.
1375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1376         file.
1377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1379         multiarch isinf for PPC64.
1380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1381         file.
1382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1383         multiarch isinff for PPC64.
1385 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1388         finitef multiarch implementation.
1389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1390         file.
1391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1393         multiarch finite for PPC64.
1394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1395         file.
1396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1397         multiarch finitef for PPC64.
1399 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1401         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1402         lrint multiarch implementation.
1403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1404         file.
1405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1407         multiarch llrint for PPC64.
1408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1409         multiarch lrint for PPC64.
1411 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1414         copysignf multiarch implementation.
1415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1416         file.
1417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1418         file.
1419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1420         multiarch copysign for PPC64.
1421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1422         multiarch copysignf for PPC64.
1424 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1427         multiarch implementation.
1428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1429         file.
1430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1431         file.
1432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1433         file.
1434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1435         file.
1436         multiarch llround for PPC64.
1437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1438         multiarch trunc for PPC64.
1439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1440         multiarch truncf for PPC64.
1442 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1444         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1445         multiarch implementation.
1446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1447         file.
1448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1449         file.
1450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1451         file.
1452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1453         file.
1454         multiarch llround for PPC64.
1455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1456         multiarch round for PPC64.
1457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1458         multiarch roundf for PPC64.
1460 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1462         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1463         multiarch implementation.
1464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1465         file.
1466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1467         file.
1468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1469         file.
1470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1471         file.
1472         multiarch llround for PPC64.
1473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1474         multiarch floor for PPC64.
1475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1476         multiarch floorf for PPC64.
1478 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1480         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1481         multiarch implementation.
1482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1483         file.
1484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1485         file.
1486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1487         file.
1488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1489         file.
1490         multiarch llround for PPC64.
1491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1492         multiarch ceil for PPC64.
1493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1494         multiarch ceilf for PPC64.
1496 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1498         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1499         multiarch implementation.
1500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1501         file.
1502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1503         file.
1504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1505         file.
1506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1507         multiarch llround for PPC64.
1508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1509         multiarch lround for PPC64.
1511 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1514         multiarch implementation.
1515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1518         file.
1519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1522         multiarch isnan for PPC64.
1523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1524         multiarch isnanf for PPC64.
1526 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1528         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1529         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1530         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1531         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1532         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1535 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1537         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1538         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1539         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1540         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1542 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1545         multiarch implementations.
1546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1547         (__libc_ifunc_impl_list): Likewise.
1548         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1549         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1550         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1551         multiarch stpcpy for PPC64.
1553 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1556         multiarch implementations.
1557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1558         (__libc_ifunc_impl_list): Likewise.
1559         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1560         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1561         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1562         multiarch strcpy for PPC64.
1564 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1566         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1567         redefine function name.
1568         (_wordcopy_fwd_dest_aligned): Likewise.
1569         (_wordcopy_bwd_aligned): Likewise.
1570         (_wordcopy_bwd_dest_aligned): Likewise.
1571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1572         multiarch implementations.
1573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1574         (__libc_ifunc_impl_list): Likewise.
1575         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1576         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1577         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1578         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1579         multiarch wcscpy for PPC64.
1581 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1584         multiarch implementations.
1585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1586         (__libc_ifunc_impl_list): Likewise.
1587         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1588         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1589         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1590         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1591         multiarch wcscpy for PPC64.
1593 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1596         multiarch implementations.
1597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1598         (__libc_ifunc_impl_list): Likewise.
1599         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1600         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1601         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1602         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1603         multiarch wcsrchr for PPC64.
1605 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1608         multiarch implementations.
1609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1610         (__libc_ifunc_impl_list): Likewise.
1611         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1612         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1613         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1614         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1615         multiarch wcschr for PPC64.
1617 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1620         multiarch implementations.
1621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1622         (__libc_ifunc_impl_list): Likewise.
1623         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1624         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1625         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1626         multiarch strchrnul for PPC64.
1628 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1631         implementations.
1632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1633         (__libc_ifunc_impl_list): Likewise.
1634         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1635         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1636         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1637         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1638         strchr for PPC64.
1640 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1643         implementations.
1644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1645         (__libc_ifunc_impl_list): Likewise.
1646         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1647         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1648         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1649         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1650         strncmp for PPC64.
1652 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1655         multiarch implementations.
1656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1657         (__libc_ifunc_impl_list): Likewise.
1658         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1659         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1660         strncasecmp for PPC64.
1661         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1662         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1663         multiarch strncasecmp_l for PPC64.
1665 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1668         multiarch implementations.
1669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1670         (__libc_ifunc_impl_list): Likewise.
1671         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1672         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1673         multiarch strcasecmp for PPC64.
1674         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1675         file.
1676         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1677         multiarch strcasecmp_l for PPC64.
1679 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1682         implementations.
1683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1684         (__libc_ifunc_impl_list): Likewise.
1685         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1686         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1687         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1688         strnlen for PPC64.
1690 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1693         implementations.
1694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1695         (__libc_ifunc_impl_list): Likewise.
1696         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1697         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1698         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1699         strlen for PPC64.
1701 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1704         implementations.
1705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1706         (__libc_ifunc_impl_list): Likewise.
1707         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1708         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1709         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1710         rawmemrchr for PPC64.
1712 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1715         implementation.
1716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1717         (__libc_ifunc_impl_list): Likewise.
1718         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1719         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1720         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1721         memrchr for PPC64.
1723 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1726         implementation.
1727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1728         (__libc_ifunc_impl_list): Likewise.
1729         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1730         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1731         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1732         memchr for PPC64.
1734 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1737         implementation.
1738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1739         (__libc_ifunc_impl_list): Likewise.
1740         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1741         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1742         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1743         mempcpy for PPC64.
1745 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1747         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1748         avoid cretion of __bzero symbol.
1749         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1750         Likewise.
1751         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1752         Likewise.
1753         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1754         Likewise.
1755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1756         multiarch implementations.
1757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1758         (__libc_ifunc_impl_list): Likewise.
1759         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1760         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1761         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1762         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1763         bzero for PPC32.
1764         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1765         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1766         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1767         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1768         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1769         memset for PPC64.
1770         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1772 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1774         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1776         implementations.
1777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1778         (__libc_ifunc_impl_list): Likewise.
1779         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1780         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1781         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1782         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1783         memcmp for PPC64.
1785 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1788         multiarch for POWER/PPC64.
1789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1790         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1791         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1792         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1793         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1794         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1795         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1797         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1798         memcpy for PPC64.
1800 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1802         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1803         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1804         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1805         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1806         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1807         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1808         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1809         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1810         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1811         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1812         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1813         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1814         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1815         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1816         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1825 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1827         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1829 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1831         * benchtests/Makefile (bench): Add exp2 and log2.
1832         (LDLIBS-bench-exp2): Add -lm.
1833         (LDLIBS-bench-log2): Likewise.
1834         * benchtests/exp2-inputs: New inputs file.
1835         * benchtests/log2-inputs: New inputs file.
1836         * benchtests/log-inputs: Add new inputs.
1837         * benchtests/tan-inputs: Likewise.
1839 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1841         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1842         definition...
1843         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1844         csloww1, csloww2): ... from here.
1846         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1847         instead of structures.
1848         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1849         (POLYNOMIAL): Likewise.
1850         (TAYLOR_SLOW): Likewise.
1851         (__sin): Likewise.
1852         (__cos): Likewise.
1853         (slow1): Likewise.
1854         (slow2): Likewise.
1855         (sloww): Likewise.
1856         (sloww1); Likewise.
1857         (sloww2): Likewise.
1858         (bsloww1): Likewise.
1859         (bsloww2): Likewise.
1860         (cslow2): Likewise.
1861         (csloww): Likewise.
1862         (csloww1): Likewise.
1863         (csloww2): Likewise.
1865 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1867         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1868         (__malloc_assert, __libc_realloc, __libc_calloc,
1869         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1870         memcpy and memset.
1871         * malloc/hooks.c (realloc_check): Likewise.
1873 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1875         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1876         * malloc/arena.c: Remove PER_THREAD conditional.
1877         [!PER_THREAD]: Remove code.
1878         (ptmalloc_unlock_all2): Likewise.
1879         (ptmalloc_init): Likewise.
1880         (_int_new_arena): Likewise.
1881         (arena_get2): Likewise.
1882         * malloc/hooks.c (__malloc_get_state): Likewise.
1883         (__malloc_set_state): Likewise.
1884         * malloc/malloc.c: Likewise.
1885         (struct malloc_state): Likewise.
1886         (struct malloc_par): Likewise.
1887         (__libc_realloc): Likewise.
1888         (__libc_mallopt): Likewise.
1890 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1892         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1894 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1896         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1897         macro to a function.  Check for zero perturb_byte.
1898         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1900 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1902         * malloc/malloc.c: (force_reg): Remove.
1903         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1904         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1905         force_reg by atomic_forced_read.
1906         * malloc/arena.c (ptmalloc_init): Likewise.
1907         * malloc/hooks.c (top_check): Likewise.
1909 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1913 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1915         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1917 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1919         * math/auto-libm-test-in: Add tests of lgamma.
1920         * math/auto-libm-test-out: Regenerated.
1921         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1922         (M_LOG_2_SQRT_PIl): Likewise.
1923         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1924         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1925         mpfr_f_f1.
1926         (func_calc_desc): Add mpfr_f_f1 union field.
1927         (ARGS1): New macro.
1928         (ARGS2): Likewise.
1929         (ARGS3): Likewise.
1930         (ARGS4): Likewise.
1931         (RET1): Likewise.
1932         (RET2): Likewise.
1933         (CALC): Likewise.
1934         (FUNC): Likewise.
1935         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1936         (test_functions): Add lgamma.
1937         (calc_generic_results): Handle mpfr_f_f1.
1938         * sysdeps/i386/fpu/libm-test-ulps: Update.
1939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1941 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1943         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1944         __mpn_add_n for PowerPC64/POWER7.
1945         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1946         __mpn_sub_n for PowerPC64/POWER7.
1948 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1950         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1951         __mpn_addmul_1 for PowerPC64.
1952         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1953         __mpn_submul_1 for PowerPC64.
1954         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1955         for PowerPC64.
1956         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1957         for PowerPC64.
1959 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1961         [BZ #15089]
1962         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1964 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1966         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1968 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1970         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1971         add multiarch folders.
1972         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1973         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1974         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1975         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1976         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1977         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1978         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1979         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1980         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1981         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1982         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1990 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1993         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1995         New file.
1996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1997         New file.
1998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1999         multiarch __ieee754_hypot for PowerPC32.
2000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2001         New file.
2002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2003         New file.
2004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2005         multiarch __ieee754_hypotf for PowerPC32.
2007 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2009         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2010         long_double_symbol only if __logbl is defined.
2011         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2012         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2013         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2014         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2015         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2016         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2017         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2018         path for implementation.
2019         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2020         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2022         logb, and logbl multiarch implementations for PowerPC32.
2023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2024         file.
2025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2026         file.
2027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2028         multiarch logb for PowerPC32.
2029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2030         file.
2031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2032         file.
2033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2034         multiarch logbf for PowerPC32.
2035         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2037         file.
2038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2039         multiarch logbl implementation for PowerPC32.
2041 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2044         and modff multiarch implementations.
2045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2046         New file.
2047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2048         New file.
2049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2050         multiarch modf for PowerPC32.
2051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2052         New file.
2053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2054         New file.
2055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2056         multiarch modff for PowerPC32.
2058 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2061         and lrintf multiarch implementations.
2062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2063         New file.
2064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2065         New file.
2066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2067         multiarch lrint for PowerPC32.
2068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2069         file: multiarch lrintf for PowerPC32.
2071 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2074         and lroundf multiarch implementations.
2075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2076         New file.
2077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2078         New file.
2079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2080         New file.
2081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2082         multiarch lround for PowerPC32.
2083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2084         file: multiarch lroundf for PowerPC32.
2086 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2089         copysign and copysignf multiarch implementations.
2090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2091         New file.
2092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2093         New file.
2094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2095         file: multiarch copysign for PowerPC32.
2096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2097         file: multiarch copysignf for PowerPC32.
2099 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2102         and truncf multiarch implementations.
2103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2104         New file.
2105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2106         file.
2107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2108         multiarch trunc for PowerPC32.
2109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2110         New file.
2111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2112         New file.
2113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2114         multiarch truncf for PowerPC32.
2116 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2119         and roundf multiarch implementations.
2120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2121         New file.
2122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2123         file.
2124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2125         multiarch round for PowerPC32.
2126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2127         New file.
2128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2129         New file.
2130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2131         multiarch roundf for PowerPC32.
2133 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2136         and floorf multiarch implementations.
2137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2138         New file.
2139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2140         file.
2141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2142         multiarch floor for PowerPC32.
2143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2144         New file.
2145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2146         New file.
2147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2148         multiarch floorf for PowerPC32.
2150 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2153         and ceilf multiarch implementations.
2154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2155         New file.
2156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2157         file.
2158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2159         multiarch ceil for PowerPC32.
2160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2161         New file.
2162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2163         file.
2164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2165         multiarch ceilf for PowerPC32.
2167 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2169         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2170         is defined.
2171         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2172         FINITEF is defined.
2173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2174         and finitef multiarch implementations.
2175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2176         New file.
2177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2178         file.
2179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2180         multiarch finite for PowerPC32.
2181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2182         New file.
2183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2184         file: multiarch finitef for PowerPC32.
2186 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2189         and isinff multiarch implementations.
2190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2191         file.
2192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2193         file.
2194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2195         multiarch isinf for PowerPC32.
2196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2197         New file.
2198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2199         multiarch isinff for PowerPC32.
2201 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2203         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2204         alias when __isnan is defined.
2205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2206         and isnanf multiarch implementations.
2207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2208         file.
2209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2210         file.
2211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2212         file.
2213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2214         file.
2215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2216         multiarch isnan for PowerPC32.
2217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2218         New file.
2219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2220         New file.
2221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2222         multiarch isnanf for PowerPC32.
2224 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2227         and sqrtf multiarch implementations.
2228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2229         file.
2230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2231         file.
2232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2233         multiarch sqrt for PowerPC32.
2234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2235         file.
2236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2237         file.
2238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2239         multiarch sqrtf for PowerPC32.
2241 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2244         and llroundf multiarch implementations.
2245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2246         New file.
2247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2248         New file.
2249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2250         New file.
2251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2252         file: multiarch llround for PowerPC32.
2253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2254         file: multiarch llroundf for PowerPC32.
2256 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2259         multiarch PowerPC32 fpu implementations.
2260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2261         New file.
2262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2263         New file.
2264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2265         multiarch llrint for PowerPC32.
2266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2267         New file.
2268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2269         New file.
2270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2271         file.
2273 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2277 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2279         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2280         file.
2281         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2282         file.
2283         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2284         file.
2285         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2286         multiarch wordcopy for PPC32.
2287         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2288         wordcopy objects.
2289         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2290         (__libc_ifunc_impl_list): Likewise.
2291         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2292         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2293         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2294         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2295         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2296         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2298 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2300         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2301         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2302         file.
2303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2304         file.
2305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2306         file.
2307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2308         multiarch wcscpy for PPC32.
2309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2310         multiarch objects.
2311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2312         (__libc_ifunc_impl_list): Likewise.
2313         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2314         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2315         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2316         sysdeps/powerpc/power6/wcscpy.c.
2318 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2320         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2321         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2322         file.
2323         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2324         file.
2325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2326         file.
2327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2328         multiarch wcsrchr for PPC32.
2329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2330         multiarch objects.
2331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2332         (__libc_ifunc_impl_list): Likewise.
2333         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2334         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2335         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2336         sysdeps/powerpc/power6/wcsrchr.c.
2338 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2341         file.
2342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2343         file.
2344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2346         multiarch wcschr for PPc32.
2347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2348         multiarch objects.
2349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2350         (__libc_ifunc_impl_list): Likewise.
2351         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2352         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2353         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2354         sysdeps/powerpc/power6/wcschr.c.
2356 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2358         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2359         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2360         file.
2361         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2362         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2363         file: multiarch strchr for PPC32.
2364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2365         multiarch objects.
2366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2367         (__libc_ifunc_impl_list): Likewise.
2369 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2371         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2372         name.
2373         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2374         file.
2375         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2376         file.
2377         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2378         multiarch strchrnul for PPC32.
2379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2380         multiarch objects.
2381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2382         (__libc_ifunc_impl_list): Likewise.
2384 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2386         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2387         file.
2388         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2389         multiarch strncasecmp for PPC32.
2390         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2391         file.
2392         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2393         multiarch strncasecmp_l for PPC32.
2394         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2395         strncasecmp multiarch objects.
2396         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2397         (__libc_ifunc_impl_list): Likewise.
2399 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2401         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2402         file.
2403         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2404         multiarch strncasecmp for PPC32.
2405         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2406         New file.
2407         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2408         multiarch strcasecmp_l for PPC32.
2409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2410         multiarch objects.
2411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2412         (__libc_ifunc_impl_list): Likewise.
2414 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2416         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2417         file.
2418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2419         file.
2420         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2421         multiarch strncmp for PPC32.
2422         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2423         multiarch objects.
2424         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2425         (__libc_ifunc_impl_list): Likewise.
2427 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2429         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2430         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2431         file.
2432         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2433         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2435         multiarch objects.
2436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2437         (__libc_ifunc_impl_list): Likewise.
2439 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2441         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2442         file.
2443         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2444         file.
2445         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2447         multiarch objects.
2448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2449         (__libc_ifunc_impl_list): Likewise.
2451 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2453         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2454         file.
2455         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2456         file.
2457         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2458         multiarch rawmemchr for PPC32.
2459         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2460         multiarch objects.
2461         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2462         (__libc_ifunc_impl_list): Likewise.
2464 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2466         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2467         file.
2468         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2469         file.
2470         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2471         file: memrchr multiarch for PPC32.
2472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2473         multiarch objects.
2474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2475         (__libc_ifunc_impl_list): Likewise.
2477 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2479         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2480         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2481         file.
2482         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2483         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2484         multiarch memchr for PPC32.
2485         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2486         multiarch objects.
2487         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2488         (__libc_ifunc_impl_list): Likewise.
2490 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2492         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2493         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2494         file.
2495         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2496         file.
2497         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2498         file: multiarch mempcpy for PPC32.
2499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2500         multiarch objects.
2501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2502         (__libc_ifunc_impl_list): Likewise.
2504 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2506         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2507         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2508         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2509         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2510         multiarch bzero for PPC32.
2511         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2512         file.
2513         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2514         file.
2515         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2516         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2517         file: multiarch memset for PPC32.
2518         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2520         memset multiarch objects.
2521         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2522         (__libc_ifunc_impl_list): Likewise.
2524 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2526         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2527         file.
2528         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2529         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2530         memcmp for PPC32.
2531         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2532         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2533         multiarch objects.
2534         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2535         (__libc_ifunc_impl_list): Likewise.
2537 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2539         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2540         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2541         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2542         file.
2543         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2544         file.
2545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2546         file.
2547         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2548         multiarch memcpy for PPC32.
2549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2550         multiarch objects.
2551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2552         (__libc_ifunc_impl_list): Likewise.
2554 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2556         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2557         support multiarch for POWER/PPC32.
2558         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2559         Likewise.
2560         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2562         Implies file to make multiarch folder appers before the fpu and
2563         default folder for power4 configuration.
2565 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2567         * scripts/bench.pl: Append volatile keyword to type.
2569 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2571         * sysdeps/sh/sotruss-lib.c: New file.
2572         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2574 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2578 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2580         [BZ #6810]
2581         * math/w_tgamma.c: Include <errno.h>.
2582         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2583         * math/w_tgammaf.c: Include <errno.h>.
2584         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2585         * math/w_tgammal.c: Include <errno.h>.
2586         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2587         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2588         underflow.  Add more tgamma tests.
2589         * math/auto-libm-test-out: Regenerated.
2590         * sysdeps/i386/fpu/libm-test-ulps: Update.
2591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2593         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2594         sin, sinh, tan, tanh, tgamma, y0 and y1.
2595         * math/auto-libm-test-out: Regenerated.
2596         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2597         (TEST_COND_x86): Likewise.
2598         (M_E2l): Remove macro.
2599         (M_E3l): Likewise.
2600         (M_2_SQRT_PIl): Likewise.
2601         (M_SQRT_PIl): Likewise.
2602         (M_1_DIV_El): Likewise.
2603         (log_test_data): Use AUTO_TESTS_f_f.
2604         (log10_test_data): Likewise.
2605         (log1p_test_data): Likewise.
2606         (log2_test_data): Likewise.
2607         (sin_test_data): Likewise.
2608         (sin_tonearest_test_data): Likewise.
2609         (sin_towardzero_test_data): Likewise.
2610         (sin_downward_test_data): Likewise.
2611         (sin_upward_test_data): Likewise.
2612         (sinh_test_data): Likewise.
2613         (sinh_tonearest_test_data): Likewise.
2614         (sinh_towardzero_test_data): Likewise.
2615         (sinh_downward_test_data): Likewise.
2616         (sinh_upward_test_data): Likewise.
2617         (tan_test_data): Likewise.
2618         (tan_tonearest_test_data): Likewise.
2619         (tan_towardzero_test_data): Likewise.
2620         (tan_downward_test_data): Likewise.
2621         (tan_upward_test_data): Likewise.
2622         (tanh_test_data): Likewise.
2623         (tgamma_test_data): Likewise.
2624         (y0_test_data): Likewise.
2625         (y1_test_data): Likewise.
2626         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2627         (special_real_inputs): Add pi/4.
2628         * sysdeps/i386/fpu/libm-test-ulps: Update.
2629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2631 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2633         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2634         "longjmp_target" static probes.
2635         (__longjmp): Rename to __longjmp_symbol.
2636         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2637         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2638         on which longjmp to generate.
2639         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2640         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2641         probe.
2642         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2643         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2644         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2645         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2646         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2647         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2649         __longjmp_symbol based on which __longjmp to generate.
2650         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2651         probe.
2652         (setjmp): Rename to setjmp_symbol.
2653         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2654         (_setjmp): Rename to _setjmp_symbol.
2655         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2656         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2657         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2658         which setjmp to generate.
2659         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2660         "longjmp_target" static probes.
2662 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2664         * benchtests/README: Add note about output arguments.
2665         * benchtests/bench-sincos.c: Remove file.
2666         * benchtests/sincos-inputs: New file.
2667         * scripts/bench.pl: Identify output arguments and define
2668         static variables for them.
2670         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2672         [BZ #15941]
2673         * Makefile (INSTALL): Add install-plain.texi as the primary
2674         dependency.
2675         * manual/install-plain.texi: New file.
2676         * manual/install.texi: Include node directive only for
2677         non-plaintext output.
2679 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2681         * stdlib/longlong.h: Update from GCC.
2683         [BZ #6807]
2684         [BZ #15901]
2685         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2686         * math/w_j0f.c (y0f): Likewise.
2687         * math/w_j0l.c (__y0l): Likewise.
2688         * math/w_j1.c (y1): Likewise.
2689         * math/w_j1f.c (y1f): Likewise.
2690         * math/w_j1l.c (__y1l): Likewise
2691         * math/w_jn.c (yn): Likewise.
2692         * math/w_jnf.c (ynf): Likewise.
2693         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2694         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2695         value for Bessel function domain errors outside _SVID_ mode.
2696         Adjust sign of return value for yn (negative integer, 0).
2697         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2698         by zero in return for negative x and set sign appropriately for
2699         negative n.
2700         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2701         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2702         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2703         expectations in error cases.
2704         (y1_test_data): Likewise.
2705         (yn_test_data): Likewise.
2706         * sysdeps/i386/fpu/libm-test-ulps: Update.
2707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2709 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2711         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2712         "64" to "64-v1".  Add "64-v2".
2713         (abi-64-options): Rename to ...
2714         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2715         (abi-64-condition): Rename to ...
2716         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2717         (abi-64-ld-soname): Rename to ...
2718         (abi-64-v1-ld-soname): ... this.
2719         (abi-64-v2-options): Define.
2720         (abi-64-v2-condition): Likewise.
2721         (abi-64-v2-ld-soname): Likewise.
2722         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2723         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2728 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2729             Alan Modra  <amodra@gmail.com>
2731         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2732         New versions for use with the ELFv2 ABI.
2733         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2734         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2735         declaration.
2736         (struct La_ppc64v2_retval): Likewise.
2737         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2738         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2739         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2740         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2741         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2742         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2743         Do not save or restore CR.
2744         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2745         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2746         return values for ELFv2 ABI.  Fix location of FPR return registers.
2747         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2748         updated values for _CALL_ELF == 2.
2749         (La_regs, La_retval, int_retval): Likewise.
2751 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2753         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2754         (FRAME_MIN_SIZE_PARM): Likewise.
2755         (FRAME_BACKCHAIN): Likewise.
2756         (FRAME_CR_SAVE): Likewise.
2757         (FRAME_LR_SAVE): Likewise.
2758         (FRAME_TOC_SAVE): Likewise.
2759         (FRAME_PARM_SAVE): Likewise.
2760         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2761         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2762         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2763         (call_mcount_parm_offset): New macro.
2764         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2765         (PROF): Use symbolic stack frame offsets.
2766         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2767         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2768         Redefine in terms of FRAME_MIN_SIZE.
2769         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2770         (_dl_profile_resolve): Likewise.  Update comment.
2771         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2772         symbols stack frame offsets.
2773         (__sigsetjmp): Likewise.
2774         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2775         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2776         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2777         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2780         (FRAME_BACKCHAIN): Remove.
2781         (FRAME_CR_SAVE): Likewise.
2782         (FRAME_LR_SAVE): Likewise.
2783         (FRAME_COMPILER_DW): Likewise.
2784         (FRAME_LINKER_DW): Likewise.
2785         (FRAME_TOC_SAVE): Likewise.
2786         (FRAME_PARM_SAVE): Likewise.
2787         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2788         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2789         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2791         (CHECK_SP): Use symbolic stack frame offsets.
2792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2793         zone" instead of caller's parameter save area for temp storage.
2794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2795         Likewise.  Also, use symbolic stack frame offsets.
2796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2797         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2798         our own stack frame instead of the caller's.
2799         (__socket): Use symbolic stack frame offsets.
2801 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2802             Alan Modra  <amodra@gmail.com>
2804         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2805         Define.
2806         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2807         PPC64_LOCAL_ENTRY_OFFSET): Define.
2808         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2809         New function.
2810         (elf_machine_fixup_plt): Call it.
2811         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2812         reloc arguments.
2813         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2814         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2815         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2816         r2 before calling target.
2818 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2819             Alan Modra  <amodra@gmail.com>
2821         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2822         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2823         versions of macros to support ELFv2 ABI.
2824         (LOCALENTRY): New macro.
2825         (ENTRY, EALIGN): Use it.
2826         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2827         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2828         fall through into ENTRY entry point.
2829         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2830         Only define if _CALL_ELF != 2.
2832         (elf_machine_matches_host): Verify ABI version matches.
2833         (RTLD_START): Use LOCALENTRY.
2834         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2835         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2836         (PLT_ENTRY_WORDS): New macro.
2837         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2838         (elf_machine_runtime_setup): Support ELFv2 ABI.
2839         (elf_machine_fixup_plt): Likewise.
2840         (elf_machine_plt_conflict): Likewise.
2841         (resolve_ifunc): Likewise.
2842         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2843         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2844         Likewise.
2845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2846         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2848         (makecontext): Support ELFv2 ABI.
2849         * elf/elf.h (EF_PPC64_ABI): Define.
2851 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2853         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2854         New assembler macro.
2855         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2856         [ASSEMBLER] (ENTRY): ... but instead here ...
2857         [ASSEMBLER] (EALIGN): ... and here.
2858         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2859         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2860         [!ASSEMBLER] (ENTRY_2): Use it.
2861         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2862         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2863         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2864         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2865         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2867         Use PPC64_LOAD_FUNCPTR.
2869 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2871         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2873 2013-12-04  Alan Modra  <amodra@gmail.com>
2875         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2876         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2877         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2878         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2880         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2881         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2882         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2883         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2884         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2885         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2887 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2890         (__makecontext): Fix incorrect CFI when backtracing out of
2891         context created via makecontext.
2892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2893         (__setcontext): Fix incorrect CFI during switch to new context.
2894         (__novec_setcontext): Likewise.
2896 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2898         [BZ #4772]
2899         * time/strptime_l.c (__strptime_internal): Allow modifiers
2900         in strptime.
2901         * time/tst-strptime.c (day_tests): Add testcase.
2904 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2906         * scripts/bench.pl: Skip over blank lines.
2908 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2910         [BZ #926]
2911         * manual/time.texi (Calendar Time): Clarify what timezone functions
2912         use.
2914 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2918 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2920         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2921         implementation.
2922         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2923         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2924         * debug/memset_chk.c (__memset_chk): Likewise.
2925         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2926         * debug/strncpy_chk.c: Likewise.
2928 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2930         [BZ #15268]
2931         [BZ #15425]
2932         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2933         (__ieee754_exp): For possibly underflowing results, check size of
2934         result and force underflow exception if required.
2935         * math/auto-libm-test-in: Add more tests of exp.
2936         * math/auto-libm-test-out: Regenerated.
2937         * sysdeps/i386/fpu/libm-test-ulps: Update.
2938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2940         [BZ #16283]
2941         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2942         * math/w_exp2f.c (__exp2f): Likewise.
2943         * math/w_exp2l.c (__exp2l): Likewise.
2944         * math/auto-libm-test-in: Do not allow missing errno on exp2
2945         underflow.
2946         * math/auto-libm-test-out: Regenerated.
2948 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2950         [BZ #16274]
2951         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2952         handle filename validation.
2953         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2954         (do_open): Delete.
2956 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2958         [BZ #6786]
2959         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2960         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2961         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2962         <float.h>.
2963         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2964         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2965         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2966         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2967         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2968         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2969         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2970         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2971         Add more erfc tests.
2972         * math/auto-libm-test-out: Regenerated.
2973         * sysdeps/i386/fpu/libm-test-ulps: Update.
2974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2976         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2977         exp2, expm1, j0 and j1.
2978         * math/auto-libm-test-out: Regenerated.
2979         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2980         (erfc_test_data): Likewise.
2981         (exp_test_data): Likewise.
2982         (exp_tonearest_test_data): Likewise.
2983         (exp_towardzero_test_data): Likewise.
2984         (exp_downward_test_data): Likewise.
2985         (exp_upward_test_data): Likewise.
2986         (exp10_test_data): Likewise.
2987         (exp2_test_data): Likewise.
2988         (expm1_test_data): Likewise.
2989         (j0_test_data): Likewise.
2990         (j1_test_data): Likewise.
2991         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2992         (input_flag_type): Add flag_xfail_rounding.
2993         (input_flags): Add xfail-rounding.
2994         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2995         (output_for_one_input_case): Handle flag_xfail_rounding.
2996         * sysdeps/i386/fpu/libm-test-ulps: Update.
2997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2999 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3001         [BZ #16289]
3002         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3003         division by 0.
3005 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3007         [BZ #16195]
3008         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3009         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3010         (STAP_PROBE0): New macro.
3011         (STAP_PROBE1): Likewise.
3012         (STAP_PROBE2): Likewise.
3013         (STAP_PROBE3): Likewise.
3014         (STAP_PROBE4): Likewise.
3016 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3018         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3020 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3022         * benchtests/Makefile (bench): Add sqrt.
3023         (LDLIBS-bench-sqrt): New.
3024         * benchtests/sqrt-input: New.
3026 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3028         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3029         (GAIH_EAI): Likewise.
3030         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3031         (gaih_inet): Likewise.
3032         (getaddrinfo): Don't use GAIH_EAI.
3034         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3035         (struct gaih): Remove definition.
3037 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3039         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3040         Use HERRNOP directly.
3042 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3046 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3048         * math/gen-auto-libm-tests.c (test_functions): Add more
3049         single-argument functions.
3050         (special_fill_pi_2): New function.
3051         (special_fill_minus_pi_2): Likewise.
3052         (special_fill_pi_6): Likewise.
3053         (special_fill_minus_pi_6): Likewise.
3054         (special_fill_pi_3): Likewise.
3055         (special_fill_2pi_3): Likewise.
3056         (special_fill_e): Likewise.
3057         (special_fill_1_e): Likewise.
3058         (special_fill_e_minus_1): Likewise.
3059         (special_real_inputs): Add more special inputs.
3060         (output_for_one_input_case): Do not require ERANGE on underflow to
3061         zero if round-to-nearest result does not underflow to zero, unless
3062         exact results required.
3063         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3064         atan, atanh, cbrt, cos and cosh.
3065         * math/auto-libm-test-out: Regenerated.
3066         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3067         (acos_tonearest_test_data): Likewise.
3068         (acos_towardzero_test_data): Likewise.
3069         (acos_downward_test_data): Likewise.
3070         (acos_upward_test_data): Likewise.
3071         (acosh_test_data): Likewise.
3072         (asin_test_data): Likewise.
3073         (asin_tonearest_test_data): Likewise.
3074         (asin_towardzero_test_data): Likewise.
3075         (asin_upward_test_data): Likewise.
3076         (asinh_test_data): Likewise.
3077         (atan_test_data): Likewise.
3078         (atanh_test_data): Likewise.
3079         (cbrt_test_data): Likewise.
3080         (cos_test_data): Likewise.
3081         (cos_tonearest_test_data): Likewise.
3082         (cos_towardzero_test_data): Likewise.
3083         (cos_downward_test_data): Likewise.
3084         (cos_upward_test_data): Likewise.
3085         (cosh_test_data): Likewise.
3086         (cosh_tonearest_test_data): Likewise.
3087         (cosh_towardzero_test_data): Likewise.
3088         (cosh_downward_test_data): Likewise.
3089         (cosh_upward_test_data): Likewise.
3090         * sysdeps/i386/fpu/libm-test-ulps: Update.
3091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3093 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3095         [BZ #6787]
3096         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3097         * math/w_exp10f.c (__exp10f): Likewise.
3098         * math/w_exp10l.c (__exp10l): Likewise.
3099         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3100         errno settings in existing tests.
3102         [BZ #14032]
3103         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3104         precision control set to double precision.
3105         * sysdeps/i386/fpu/w_sqrt.c: New file.
3106         * math/auto-libm-test-in: Add more tests.
3107         * math/auto-libm-test-out: Update.
3109         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3110         (sqrt_test_tonearest): New function.
3111         (sqrt_towardzero_test_data): New variable.
3112         (sqrt_test_towardzero): New function.
3113         (sqrt_downward_test_data): New variable.
3114         (sqrt_test_downward): New function.
3115         (sqrt_upward_test_data): New variable.
3116         (sqrt_test_upward): New function.
3117         (main): Call the new functions.
3119         * math/gen-auto-libm-tests.c: New file.
3120         * math/auto-libm-test-in: Likewise.
3121         * math/auto-libm-test-out: New generated file.
3122         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3123         variables.
3124         (%beautify): Add generated representations of zero.
3125         (top level): Set $auto_input and call parse_auto_input.
3126         (beautify): Remove trailing "f" from hex float constants.
3127         (parse_args): Handle XFAIL_TEST.
3128         (convert_condition): New function.
3129         (or_value): Likewise.
3130         (or_cond_value): Likewise.
3131         (generate_testfile): Handle AUTO_TESTS_* lines.
3132         (parse_auto_input): New function.
3133         * math/libm-test.inc (XFAIL_TEST): New macro.
3134         (ERRNO_UNCHANGED): Update value.
3135         (ERRNO_EDOM): Likewise.
3136         (ERRNO_ERANGE): Likewise.
3137         (IGNORE_RESULT): Likewise.
3138         (TEST_COND_flt_32): New macro.
3139         (TEST_COND_dbl_64): Likewise.
3140         (TEST_COND_ldbl_96_intel): Likewise.
3141         (TEST_COND_ldbl_96_m68k): Likewise.
3142         (TEST_COND_ldbl_128): Likewise.
3143         (TEST_COND_ldbl_128ibm): Likewise.
3144         (TEST_COND_long32): Likewise.
3145         (TEST_COND_long64): Likewise.
3146         (TEST_COND_before_rounding): Likewise.
3147         (TEST_COND_after_rounding): Likewise.
3148         (enable_test): Handle XFAIL_TEST flag.
3149         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3150         with finite results.
3151         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3152         auto-libm-test-out.
3154 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3155             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3157         [BZ #16214]
3158         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3159         __tls_get_addr_internal instead of __tls_get_offset in order to
3160         avoid GOT pointer dependency.  Make rtld export
3161         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3162         __tls_get_addr since we are a __tls_get_offset platform.
3163         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3164         GOT pointer being set up before.
3165         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3167 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3169         * manual/math.texi (Errors in Math Functions): Document accuracy
3170         goals.
3172         [BZ #15004]
3173         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3174         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3175         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3176         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3177         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3178         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3179         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3180         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3181         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3182         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3183         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3184         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3185         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3186         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3187         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3188         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3190         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3191         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3192         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3193         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3194         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3195         Likewise.
3196         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3197         Likewise.
3198         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3199         Likewise.
3200         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3201         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3202         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3203         atomic-feupdateenv and flt-rounds.
3204         * sysdeps/powerpc/nofpu/Versions (libc): Add
3205         __atomic_feholdexcept, __atomic_feclearexcept,
3206         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3207         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3208         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3209         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3210         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3211         here.
3212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3213         Update.
3215         * manual/arith.texi (FP Exceptions): Document that exceptions may
3216         not be raised when matherr is used.
3217         (Math Error Reporting): Document overflow in directed rounding
3218         modes.  Document that errno may not be set when finite values are
3219         returned on overflow.  Document intent to set errno on underflow
3220         only for underflow to zero.
3222         [BZ #16271]
3223         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3224         round-to-nearest then adjust result for other rounding modes.
3225         * include/fenv.h (fegetround): Use libm_hidden_proto.
3226         * math/fegetround.c (fegetround): Use libm_hidden_def.
3227         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3228         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3229         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3230         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3231         Likewise.
3232         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3233         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3234         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3235         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3237 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3239         [BZ #16077]
3240         * nss/Versions (libnss_files): Add
3241         _nss_files_gethostbyname3_r.
3242         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3243         New function.
3244         (HOST_DB_LOOKUP): Remove macro.
3245         (_nss_files_gethostbyname_r): Implement function without the
3246         HOST_DB_LOOKUP macro.
3247         (_nss_files_gethostbyname2_r): Likewise.
3249 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3251         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3253 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3255         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3256         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3257         warning.
3259 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3261         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3262         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3263         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3264         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3265         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3266         __fe_nomask_env_priv and attribute_hidden.
3267         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3268         (libc_feupdateenv_test_ppc): Likewise.
3269         (libc_feresetround_ppc): Likewise.
3270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3271         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3272         compat_symbol macro.
3273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3274         (__fe_nomask_env): Likewise.
3275         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3277 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3279         * string/Makefile: Remove ifunc tests.
3280         * string/test-string.h: Define TEST_IFUNC.
3281         * string/test-bcopy-ifunc.c: Remove.
3282         * string/test-bzero-ifunc.c: Likewise.
3283         * string/test-memccpy-ifunc.c: Likewise.
3284         * string/test-memchr-ifunc.c: Likewise.
3285         * string/test-memcmp-ifunc.c: Likewise.
3286         * string/test-memcpy-ifunc.c: Likewise.
3287         * string/test-memmem-ifunc.c: Likewise.
3288         * string/test-memmove-ifunc.c: Likewise.
3289         * string/test-mempcpy-ifunc.c: Likewise.
3290         * string/test-memrchr-ifunc.c: Likewise.
3291         * string/test-memset-ifunc.c: Likewise.
3292         * string/test-rawmemchr-ifunc.c: Likewise.
3293         * string/test-stpcpy-ifunc.c: Likewise.
3294         * string/test-stpncpy-ifunc.c: Likewise.
3295         * string/test-strcasecmp-ifunc.c: Likewise.
3296         * string/test-strcasestr-ifunc.c: Likewise.
3297         * string/test-strcat-ifunc.c: Likewise.
3298         * string/test-strchr-ifunc.c: Likewise.
3299         * string/test-strchrnul-ifunc.c: Likewise.
3300         * string/test-strcmp-ifunc.c: Likewise.
3301         * string/test-strcpy-ifunc.c: Likewise.
3302         * string/test-strcspn-ifunc.c: Likewise.
3303         * string/test-strlen-ifunc.c: Likewise.
3304         * string/test-strncasecmp-ifunc.c: Likewise.
3305         * string/test-strncat-ifunc.c: Likewise.
3306         * string/test-strncmp-ifunc.c: Likewise.
3307         * string/test-strncpy-ifunc.c: Likewise.
3308         * string/test-strnlen-ifunc.c: Likewise.
3309         * string/test-strpbrk-ifunc.c: Likewise.
3310         * string/test-strrchr-ifunc.c: Likewise.
3311         * string/test-strspn-ifunc.c: Likewise.
3312         * string/test-strstr-ifunc.c: Likewise.
3314 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3316         * benchtests/Makefile: Remove ifunc tests.
3317         * benchtests/bench-string.h: Define TEST_IFUNC.
3318         * benchtests/bench-bcopy-ifunc.c: Remove.
3319         * benchtests/bench-bzero-ifunc.c: Likewise.
3320         * benchtests/bench-memccpy-ifunc.c: Likewise.
3321         * benchtests/bench-memchr-ifunc.c: Likewise.
3322         * benchtests/bench-memcmp-ifunc.c: Likewise.
3323         * benchtests/bench-memcpy-ifunc.c: Likewise.
3324         * benchtests/bench-memmem-ifunc.c: Likewise.
3325         * benchtests/bench-memmove-ifunc.c: Likewise.
3326         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3327         * benchtests/bench-memrchr-ifunc.c: Likewise.
3328         * benchtests/bench-memset-ifunc.c: Likewise.
3329         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3330         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3331         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3332         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3333         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3334         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3335         * benchtests/bench-strcat-ifunc.c: Likewise.
3336         * benchtests/bench-strchr-ifunc.c: Likewise.
3337         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3338         * benchtests/bench-strcmp-ifunc.c: Likewise.
3339         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3340         * benchtests/bench-strcpy-ifunc.c: Likewise.
3341         * benchtests/bench-strcspn-ifunc.c: Likewise.
3342         * benchtests/bench-strlen-ifunc.c: Likewise.
3343         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3344         * benchtests/bench-strncat-ifunc.c: Likewise.
3345         * benchtests/bench-strncmp-ifunc.c: Likewise.
3346         * benchtests/bench-strncpy-ifunc.c: Likewise.
3347         * benchtests/bench-strnlen-ifunc.c: Likewise.
3348         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3349         * benchtests/bench-strrchr-ifunc.c: Likewise.
3350         * benchtests/bench-strsep-ifunc.c: Likewise.
3351         * benchtests/bench-strspn-ifunc.c: Likewise.
3352         * benchtests/bench-strstr-ifunc.c: Likewise.
3354 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3356         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3358 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3360         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3361         * rt/aio.h: Likewise.
3362         * sysdeps/gnu/bits/utmp.h: Likewise.
3363         * sysdeps/gnu/bits/utmpx.h: Likewise.
3364         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3365         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3366         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3367         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3368         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3369         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3370         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3371         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3372         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3373         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3374         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3375         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3376         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3378         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3379         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3380         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3381         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3382         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3383         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3384         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3385         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3386         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3387         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3388         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3389         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3390         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3391         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3392         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3393         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3394         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3395         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3396         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3397         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3398         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3399         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3400         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3401         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3402         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3403         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3404         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3405         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3407 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3409         [BZ #16245]
3410         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3411         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3413 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3415         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3416         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3417         Likewise.
3419 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3422         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3423         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3424         (__fesetround): Remove define.
3425         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3426         rounding and exceptions handling.
3427         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3428         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3429         (__fe_nomask_env): Likewise.
3430         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3431         __fegetround instead of fegetround.
3432         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3433         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3435 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3437         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3438         it's there.
3440         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3442 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3444         [BZ #11157]
3445         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3446         (encrypt_r): Likewise.
3447         * malloc/obstack.h (obstack_free): Likewise.
3448         * posix/unistd.h (encrypt): Likewise.
3450 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3452         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3453         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3454         DL_CALL_DT_FINI() that call the functions directly.
3455         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3456         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3457         * elf/dl-fini.c: Likewise.
3459 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3461         * malloc/hooks.c (memalign_check): Add alignment rounding.
3462         * malloc/malloc.c (_mid_memalign): New function.
3463         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3464         Implement by calling _mid_memalign.
3465         * manual/probes.texi (Memory Allocation Probes): Remove
3466         memory_valloc_retry and memory_pvalloc_retry.
3468 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3470         * locale/programs/locarchive.c (open_archive): Add const
3471         qualifier to ARCHIVEFNAME and copy default fname to
3472         DEFAULT_FNAME.
3474         [BZ #15601]
3475         * libio/tst-widetext.input: Rename Oriya to Odia.
3476         * locale/iso-639.def: Likewise.
3478         * manual/probes.texi (Mathematical Function Probes): Add
3479         documentation for sin, cos, asin and acos probes.
3480         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3481         (__sin32): Add slowasin probe.
3482         (__cos32): Add slowacos probe.
3483         (__mpsin): Add slowsin probe.
3484         (__mpcos): Add slowcos probe.
3486 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3488         [BZ #15483]
3489         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3490         thread-local __sim_exceptions_thread and global
3491         __sim_exceptions_global.
3492         (__sim_disabled_exceptions): Change to thread-local
3493         __sim_disabled_exceptions_thread and global
3494         __sim_disabled_exceptions_global.
3495         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3496         and global __sim_round_mode_global.
3497         (__simulate_exceptions): Use thread-local floating-point state and
3498         set global state from it as needed.
3499         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3500         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3501         __sim_round_mode_thread.
3502         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3503         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3504         and global __sim_exceptions_global.
3505         (__sim_disabled_exceptions): Change to thread-local
3506         __sim_disabled_exceptions_thread and global
3507         __sim_disabled_exceptions_global.
3508         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3509         and global __sim_round_mode_global.
3510         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3511         (SIM_SET_GLOBAL): Likewise.
3512         * sysdeps/powerpc/soft-fp/sfp-machine.h
3513         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3514         __sim_round_mode_thread.
3515         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3516         __sim_disabled_exceptions_thread.
3517         (__sim_exceptions): Change to __sim_exceptions_thread.
3518         (__sim_disabled_exceptions): Change to
3519         __sim_disabled_exceptions_thread.
3520         (__sim_round_mode): Change to __sim_round_mode_thread.
3521         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3522         thread-local floating-point state and set global state from it as
3523         needed.
3524         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3525         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3526         (__sim_disabled_exceptions): Remove extern declaration.
3527         (feenableexcept): Use thread-local floating-point state and set
3528         global state from it as needed.
3529         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3530         extern declaration.
3531         (__sim_disabled_exceptions): Likewise.
3532         (__sim_round_mode): Likewise.
3533         (__fegetenv): Use thread-local floating-point state.
3534         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3535         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3536         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3537         floating-point state and set global state from it as needed.
3538         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3539         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3540         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3541         Likewise.
3542         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3543         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3544         Likewise.
3545         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3546         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3547         Use __sim_round_mode_thread.
3548         * math/test-fenv-tls.c: New file.
3549         * math/Makefile (tests): Add test-fenv-tls.
3550         ($(objpfx)test-fenv-tls): Depend on
3551         $(common-objpfx)nptl/libpthread.so.
3553 2013-11-19  Andreas Schwab  <schwab@suse.de>
3555         * locale/programs/locale.c (show_info): Decode wordarray elements.
3556         * locale/categories.def (LC_MONETARY): Add element for
3557         _NL_MONETARY_CRNCYSTR.
3558         * locale/C-monetary.c (conversion_rate): New variable.
3559         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3560         element.
3562 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3564         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3565         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3567 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3569         * elf/Makefile (tst-auxv): New test.
3570         * elf/tst-auxv.c: New
3571         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3573 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3575         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3576         (hidden_proto): Caller changed.
3577         (hidden_tls_proto): New macro.
3578         (libc_hidden_tls_proto): Likewise.
3579         (rtld_hidden_tls_proto): Likewise.
3580         (libm_hidden_tls_proto): Likewise.
3581         (libresolv_hidden_tls_proto): Likewise.
3582         (librt_hidden_tls_proto): Likewise.
3583         (libdl_hidden_tls_proto): Likewise.
3584         (libnss_files_hidden_tls_proto): Likewise.
3585         (libnsl_hidden_tls_proto): Likewise.
3586         (libnss_nisplus_hidden_tls_proto): Likewise.
3587         (libutil_hidden_tls_proto): Likewise.
3589 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3591         [BZ #10253]
3592         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3593         (decompose_rpath): Defer expansion to fillin_rpath.
3594         (_dl_init_paths): Pass linkmap to fillin_rpath.
3596 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3598         * benchtests/Makefile: Add strsep.
3599         * benchtests/bench-strsep.c: New file: strsep benchtest.
3600         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3602 2013-11-18  Andreas Schwab  <schwab@suse.de>
3604         * locale/programs/locale.c (show_info) [case byte]: Check for
3605         '\377' instead of '\177'.
3606         * locale/C-monetary.c (not_available): Always use "\377".
3607         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3608         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3609         detect unavailable sign_posn locale elements.
3610         * locale/localeconv.c (__localeconv): For grouping and
3611         mon_grouping handle "\177" and "\377" like no grouping.
3612         (INT_ELEM): New macro.  Use it to set all numeric members.
3613         * locale/programs/ld-monetary.c (monetary_read)
3614         <tok_mon_grouping>: Normalize single -1 to the empty string.
3615         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3616         Likewise.
3618 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3620         [BZ #16055]
3621         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3622         when we match (nil).
3623         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3625 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3627         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3628         (NO_TEST_INLINE): Update value.
3629         (ERRNO_UNCHANGED): Likewise.
3630         (ERRNO_EDOM): Likewise.
3631         (ERRNO_ERANGE): Likewise.
3632         (IGNORE_RESULT): Likewise.
3633         (check_float_internal): Check signs of NaN results if
3634         TEST_NAN_SIGN used.
3635         (check_complex): Pass TEST_NAN_SIGN flag through to second
3636         check_float_internal call.
3637         (copysign_test_data): Add tests with quiet NaNs as second
3638         argument.  Use TEST_NAN_SIGN.
3639         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3640         TEST_NAN_SIGN.
3641         (signbit_test_data): Add tests of quiet NaN argument.
3642         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3644         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3645         $ignore_result.
3646         (parse_args): Handle function results specified as IGNORE.
3647         * math/libm-test.inc (IGNORE_RESULT): New macro.
3648         (check_float_internal): Do not check numerical result if flag
3649         IGNORE_RESULT set.
3650         (check_complex): Pass through IGNORE_RESULT to second
3651         check_float_internal call.
3652         (check_int): Do not check numerical result if flag IGNORE_RESULT
3653         set.
3654         (check_long): Likewise.
3655         (check_bool): Likewise.
3656         (check_longlong): Likewise.
3657         (lrint_test_data): Add tests of infinite and NaN arguments.
3658         (lrint_tonearest_test_data): Likewise.
3659         (lrint_towardzero_test_data): Likewise.
3660         (lrint_downward_test_data): Likewise.
3661         (lrint_upward_test_data): Likewise.
3662         (llrint_test_data): Likewise.
3663         (llrint_tonearest_test_data): Likewise.
3664         (llrint_towardzero_test_data): Likewise.
3665         (llrint_downward_test_data): Likewise.
3666         (llrint_upward_test_data): Likewise.
3667         (lround_test_data): Likewise.
3668         (llround_test_data): Likewise.
3670         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3671         (ERRNO_UNCHANGED): Update value.
3672         (ERRNO_EDOM): Likewise.
3673         (ERRNO_ERANGE): Likewise.
3674         (NO_TEST_INLINE_FLOAT): New macro.
3675         (NO_TEST_INLINE_DOUBLE): Likewise.
3676         (enable_test): New function.
3677         (RUN_TEST_f_f): Check enable_test before running test.
3678         (RUN_TEST_2_f): Likewise.
3679         (RUN_TEST_fff_f): Likewise.
3680         (RUN_TEST_c_f): Likewise.
3681         (RUN_TEST_f_f1): Likewise.
3682         (RUN_TEST_fF_f1): Likewise.
3683         (RUN_TEST_fI_f1): Likewise.
3684         (RUN_TEST_ffI_f1): Likewise.
3685         (RUN_TEST_c_c): Likewise.
3686         (RUN_TEST_cc_c): Likewise.
3687         (RUN_TEST_f_i): Likewise.
3688         (RUN_TEST_f_i_tg): Likewise.
3689         (RUN_TEST_ff_i_tg): Likewise.
3690         (RUN_TEST_f_b): Likewise.
3691         (RUN_TEST_f_b_tg): Likewise.
3692         (RUN_TEST_f_l): Likewise.
3693         (RUN_TEST_f_L): Likewise.
3694         (RUN_TEST_fFF_11): Likewise.
3695         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3696         conditionals.
3697         (cosh_test_data): Likewise.
3698         (exp_test_data): Likewise.
3699         (expm1_test_data): Likewise.
3700         (hypot_test_data): Likewise.
3701         (pow_test_data): Likewise.
3702         (sinh_test_data): Likewise.
3703         (tanh_test_data): Likewise.
3704         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3705         flags argument.
3707         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3708         tests with quiet NaN input and output.
3709         (acosh_test_data): Likewise.
3710         (asin_test_data): Likewise.
3711         (asinh_test_data): Likewise.
3712         (atan_test_data): Likewise.
3713         (atanh_test_data): Likewise.
3714         (atan2_test_data): Likewise.
3715         (cbrt_test_data): Likewise.
3716         (cos_test_data): Likewise.
3717         (cosh_test_data): Likewise.
3718         (erf_test_data): Likewise.
3719         (erfc_test_data): Likewise.
3720         (exp_test_data): Likewise.
3721         (exp10_test_data): Likewise.
3722         (exp2_test_data): Likewise.
3723         (expm1_test_data): Likewise.
3724         (hypot_test_data): Likewise.
3725         (j0_test_data): Likewise.
3726         (j1_test_data): Likewise.
3727         (jn_test_data): Likewise.
3728         (lgamma_test_data): Likewise.
3729         (log_test_data): Likewise.
3730         (log10_test_data): Likewise.
3731         (log1p_test_data): Likewise.
3732         (log2_test_data): Likewise.
3733         (pow_test_data): Likewise.
3734         (scalb_test_data): Likewise.
3735         (sin_test_data): Likewise.
3736         (sincos_test_data): Likewise.
3737         (sinh_test_data): Likewise.
3738         (tan_test_data): Likewise.
3739         (tanh_test_data): Likewise.
3740         (tgamma_test_data): Likewise.
3741         (y0_test_data): Likewise.
3742         (y1_test_data): Likewise.
3743         (yn_test_data): Likewise.
3745         [BZ #16167]
3746         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3747         argument being NaN and avoid computations with second argument in
3748         that case.
3749         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3750         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3751         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3753 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3755         * locale/iso-639.def: Add Chitwani Tharu (the).
3757 2013-11-14  Andreas Schwab  <schwab@suse.de>
3759         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3760         word instead of empty string.
3762 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3765         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3767         (__fe_nomask_env): Likewise.
3769 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3771         * benchtests/bench-timing.h: Include time.h.
3773 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3775         [BZ #15997]
3776         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3777         to 3.4.0 for x32.
3778         * sysdeps/unix/sysv/linux/configure: Regenerated.
3780 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3782         [BZ #16151]
3783         * stdlib/strtod_l.c (round_and_return): Do not consider
3784         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3785         exponent one less than half the least subnormal exponent.
3786         * stdlib/test-strtod-round-data: Add more tests.
3787         * stdlib/tst-strtod-round.c (tests): Regenerated.
3789 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3791         [BZ #14143]
3792         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3793         (__fe_mask_env): Likewise.
3794         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3795         libm_hidden_proto and add function prototype.
3796         (__fe_mask_env): Add function prototype.
3797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3798         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3800         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3802         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3804 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3806         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3807         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3809 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3811         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3812         of htab_find_slot().
3814 2013-11-11  David S. Miller  <davem@davemloft.net>
3816         [BZ #16150]
3817         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3818         symbol in the non-vis3 case in static builds.
3819         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3820         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3821         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3822         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3824 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3826         [BZ #387]
3827         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3828         it is empty.
3830 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3832         * benchtests/Makefile: Add bench-strtod.
3833         * benchtests/bench-strtod.c: New file: strtod benchtest
3835 2013-11-11  Andreas Schwab  <schwab@suse.de>
3837         [BZ #16153]
3838         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3839         terminating NUL in key length.
3841 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3843         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3844         Add artificial ODP entry for vDSO symbol for PPC64.
3845         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3846         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3848 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3850         [BZ #15374]
3851         * nss/getent.c (services_keys): Recognize services starting with digit.
3853 2013-11-06  David S. Miller  <davem@davemloft.net>
3855         [BZ #15985]
3856         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3857         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3859 2013-11-06  Will Newton  <will.newton@linaro.org>
3861         * manual/memory.texi (Malloc Examples): Remove register
3862         keyword from examples.
3864 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3866         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3868 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3870         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3871         depending on [__GCC_IEC_559 > 0].
3872         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3873         depending on [__GCC_IEC_559_COMPLEX > 0].
3875 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3877         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3878         to iso-639.def.
3880 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3882         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3884 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3886         [BZ #16112]
3887         * malloc/malloc (malloc_info): Do not handle first bin as
3888         special case.
3890 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3892         * locale/iso-639.def: Add Central Nahuatl (nhn).
3894 2013-11-01  Bruno Haible  <bruno@clisp.org>
3896         [BZ #7003]
3897         * manual/math.texi (BSD Random): Specify range upper bound as
3898         in POSIX.
3900 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3902         * locale/iso-639.def: Add Meadow Mari (mhr).
3904 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3906         [BZ #14752], [BZ #15763]
3907         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3908         Validate name.
3909         * rt/tst_shm.c: Add test for escaping directory.
3911 2013-10-31  Andreas Schwab  <schwab@suse.de>
3913         [BZ #15917]
3914         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3915         followed by 'x' as part of digit sequence.
3916         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3918 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3920         [BZ #16037]
3921         * configure.ac: allow GNU Make 4.0 and greater.
3922         * configure: Regenerated.
3924 2013-10-30  Will Newton  <will.newton@linaro.org>
3926         [BZ #16038]
3927         * malloc/hooks.c (memalign_check): Limit alignment to the
3928         maximum representable power of two.
3929         * malloc/malloc.c (__libc_memalign): Likewise.
3930         * malloc/tst-memalign.c (do_test): Add test for very
3931         large alignment values.
3932         * malloc/tst-posix_memalign.c (do_test): Likewise.
3934 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3936         [BZ #11087]
3937         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3938         (munmap_chunk): Likewise.
3939         (mremap_chunk): Likewise.
3941 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3943         [BZ #15799]
3944         * stdlib/div.c (div): Remove obsolete code.
3945         * stdlib/ldiv.c (ldiv): Likewise.
3946         * stdlib/lldiv.c (lldiv): Likewise.
3948 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3950         [BZ #16071]
3951         * nss/nss_files/files-XXX.c (get_contents_ret): New
3952         enumerator.
3953         (get_contents): New function.
3954         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3956 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3958         * configure.in: Moved to ...
3959         * configure.ac: ... here. Change reference to configure.in
3960         to configure.ac.
3961         * sysdeps/arm/preconfigure.ac: ... here.
3962         configure.in to configure.ac.
3963         * sysdeps/gnu/configure.in: Moved to ...
3964         * sysdeps/gnu/configure.ac: ... here.
3965         * sysdeps/i386/configure.in: Moved to ...
3966         * sysdeps/i386/configure.ac: ... here.
3967         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3968         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3969         * sysdeps/mach/configure.in: Moved to ...
3970         * sysdeps/mach/configure.ac: ... here.
3971         * sysdeps/mach/hurd/configure.in: Moved to ...
3972         * sysdeps/mach/hurd/configure.ac: ... here.
3973         * sysdeps/powerpc/configure.in: Moved to ...
3974         * sysdeps/powerpc/configure.ac: ... here.
3975         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3976         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3977         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3978         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3979         * sysdeps/s390/s390-32/configure.in: Moved to ...
3980         * sysdeps/s390/s390-32/configure.ac: ... here.
3981         * sysdeps/s390/s390-64/configure.in: Moved to ...
3982         * sysdeps/s390/s390-64/configure.ac: ... here.
3983         * sysdeps/sh/configure.in: Moved to ...
3984         * sysdeps/sh/configure.ac: ... here.
3985         * sysdeps/sparc/configure.in: Moved to ...
3986         * sysdeps/sparc/configure.ac: ... here.
3987         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3988         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3989         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3990         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3991         * sysdeps/x86_64/configure.in: Moved to ...
3992         * sysdeps/x86_64/configure.ac: ... here.
3993         * sysdeps/x86_64/preconfigure.in: Moved to ...
3994         * sysdeps/x86_64/preconfigure.ac: ... here.
3995         * aclocal.m4: Change reference to configure.in to configure.ac.
3996         * config.h.in: Likewise.
3997         * manual/install.texi: Likewise.
3998         * manual/maint.texi: Likewise.
3999         * Makefile: Likewise.
4000         * malloc/Makefile: Likewise.
4001         * nscd/Makefile: Likewise.
4002         * Makeconfig: Change reference to configure.in and
4003         preconfigure.in to configure.ac and preconfigure.ac
4004         respectively.
4005         * INSTALL: Regenerated.
4006         * configure: Likewise.
4007         * sysdeps/gnu/configure: Likewise.
4008         * sysdeps/i386/configure: Likewise.
4009         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4010         * sysdeps/mach/configure: Likewise.
4011         * sysdeps/mach/hurd/configure: Likewise.
4012         * sysdeps/powerpc/configure: Likewise.
4013         * sysdeps/powerpc/powerpc32/configure: Likewise.
4014         * sysdeps/powerpc/powerpc64/configure: Likewise.
4015         * sysdeps/s390/s390-32/configure: Likewise.
4016         * sysdeps/s390/s390-64/configure: Likewise.
4017         * sysdeps/sh/configure: Likewise.
4018         * sysdeps/sparc/configure: Likewise.
4019         * sysdeps/unix/sysv/linux/configure: Likewise.
4020         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4021         * sysdeps/x86_64/configure: Likewise.
4022         * sysdeps/x86_64/preconfigure: Likewise.
4024 2013-10-29  Andreas Schwab  <schwab@suse.de>
4026         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4028 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4030         * benchtests/pow-inputs: Add new inputs.
4032         * benchtests/exp-inputs: Add new inputs.
4034         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4035         conditional check for return value.
4036         (__cos32): Likewise.
4038 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4040         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4041         to provide a boost for large inputs with word alignment.
4042         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4043         implementation based on optimized PPC64 strcpy.
4044         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4045         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4046         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4047         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4049 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4051         [BZ #2801]
4052         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4054 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4056         [BZ #14876]
4057         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4058         * time/tst-strptime.c (day_tests): Add testcase.
4060 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4062         [BZ #14029]
4063         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4065 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4067         [BZ #16074]
4068         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4069         MAP_FAILED on error.
4071 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4073         [BZ #16072]
4074         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4075         heap for large requests.
4077 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4079         [BZ #9954]
4080         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4081         result if the result has no associated interface.
4082         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4083         interface for all 127.X.Y.Z addresses.
4085 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4087         * locale/iso-639.def: Add Ligurian (lij)
4089 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4091         [BZ #15825]
4092         * sunrpc/rpc_main.c: Document rpcgen -5.
4094 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4096         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4098 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4100         [BZ #10278]
4101         * posix/glob.c: Match only directories when trailing slash is present.
4102         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4103         (main): Add testcase.
4105 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4107         [BZ #15670]
4108         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4110 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4112         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4113         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4114         AUTH_DES and cindex for FIPS 140-2.
4115         (DES Encryption): Add cindex FIPS 46-3.
4117         * locale/locarchive.h (struct locarhandle): Add fname.
4118         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4119         if an optional argument was specified to --list-archive,
4120         otherwise NULL.
4121         * locale/programs/locarchive.c (show_archive_content): Take new
4122         argument fname and pass it via ah.fname to open_archive.
4123         * locale/programs/localedef.h: Update decl.
4124         (open_archive): If AH->fname is non-null, open that file
4125         rather than the default file name, and don't ignore ENOENT.
4126         (create_archive): Set AH.fname to NULL.
4127         (delete_locales_from_archive): Likewise.
4128         (add_locales_to_archive): Likewise.
4129         * locale/programs/locfile.c (write_all_categories): Likewise.
4131 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4132             Aldy Hernandez  <aldyh@redhat.com>
4134         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4135         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4136         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4137         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4138         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4139         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4140         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4141         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4142         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4143         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4144         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4145         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4146         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4147         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4148         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4149         Likewise.
4150         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4151         Likewise.
4152         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4153         Likewise.
4154         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4155         Likewise.
4156         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4157         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4158         Likewise.
4159         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4160         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4161         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4162         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4163         Likewise.
4164         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4165         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4166         * sysdeps/powerpc/preconfigure: Likewise.
4167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4168         Likewise.
4169         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4170         Replace contents of file by #include of <fenv_libc.h>.
4171         * sysdeps/powerpc/soft-fp/sfp-machine.h
4172         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4173         and <sys/prctl.h>.
4174         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4175         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4176         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4177         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4178         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4179         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4181         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4182         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4183         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4184         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4185         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4187         Allow copysignl PLT reference to be missing.
4189 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4190             Joseph Myers  <joseph@codesourcery.com
4192         [BZ #15948]
4193         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4194         single character.
4195         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4197 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4199         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4200         * elf/tst-tls1.c: Likewise.
4201         * elf/tst-tls10.h: Likewise.
4202         * elf/tst-tls14.c: Likewise.
4203         * elf/tst-tls2.c: Likewise.
4204         * elf/tst-tls3.c: Likewise.
4205         * elf/tst-tls4.c: Likewise.
4206         * elf/tst-tls5.c: Likewise.
4207         * elf/tst-tls6.c: Likewise.
4208         * elf/tst-tls7.c: Likewise.
4209         * elf/tst-tls8.c: Likewise.
4210         * elf/tst-tls9.c: Likewise.
4211         * elf/tst-tlsmod1.c: Likewise.
4212         * elf/tst-tlsmod13.c: Likewise.
4213         * elf/tst-tlsmod13a.c: Likewise.
4214         * elf/tst-tlsmod14a.c: Likewise.
4215         * elf/tst-tlsmod16a.c: Likewise.
4216         * elf/tst-tlsmod16b.c: Likewise.
4217         * elf/tst-tlsmod2.c: Likewise.
4218         * elf/tst-tlsmod3.c: Likewise.
4219         * elf/tst-tlsmod4.c: Likewise.
4220         * elf/tst-tlsmod5.c: Likewise.
4221         * elf/tst-tlsmod6.c: Likewise.
4223 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4225         [BZ #12486]
4226         * malloc/malloc.c: remove checks for statistics.
4228 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4230         [BZ #15277]
4231         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4232         * inet/tst-network.c: Add testcase.
4234 2013-10-17  Andreas Schwab  <schwab@suse.de>
4236         [BZ #15218]
4237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4238         to determine canonical name.
4240 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4242         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4243         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4244         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4245         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4246         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4247         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4248         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4249         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4250         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4251         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4252         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4253         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4254         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4255         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4256         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4257         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4258         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4259         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4260         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4261         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4262         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4263         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4264         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4265         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4266         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4267         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4268         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4269         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4270         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4271         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4272         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4273         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4274         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4275         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4276         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4277         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4278         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4279         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4280         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4281         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4282         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4283         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4284         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4285         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4286         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4287         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4288         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4289         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4290         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4291         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4292         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4293         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4294         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4295         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4296         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4297         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4299         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4301 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4303         [BZ #16041]
4304         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4305         make result into a quiet NaN.
4307 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4309         * soft-fp/adddf3.c: Fix horizontal whitespace.
4310         * soft-fp/addsf3.c: Likewise.
4311         * soft-fp/addtf3.c: Likewise.
4312         * soft-fp/divdf3.c: Likewise.
4313         * soft-fp/divsf3.c: Likewise.
4314         * soft-fp/divtf3.c: Likewise.
4315         * soft-fp/double.h: Likewise.
4316         * soft-fp/eqdf2.c: Likewise.
4317         * soft-fp/eqsf2.c: Likewise.
4318         * soft-fp/eqtf2.c: Likewise.
4319         * soft-fp/extenddftf2.c: Likewise.
4320         * soft-fp/extended.h: Likewise.
4321         * soft-fp/extendsfdf2.c: Likewise.
4322         * soft-fp/extendsftf2.c: Likewise.
4323         * soft-fp/extendxftf2.c: Likewise.
4324         * soft-fp/fixdfdi.c: Likewise.
4325         * soft-fp/fixdfsi.c: Likewise.
4326         * soft-fp/fixdfti.c: Likewise.
4327         * soft-fp/fixsfdi.c: Likewise.
4328         * soft-fp/fixsfsi.c: Likewise.
4329         * soft-fp/fixsfti.c: Likewise.
4330         * soft-fp/fixtfdi.c: Likewise.
4331         * soft-fp/fixtfsi.c: Likewise.
4332         * soft-fp/fixtfti.c: Likewise.
4333         * soft-fp/fixunsdfdi.c: Likewise.
4334         * soft-fp/fixunsdfsi.c: Likewise.
4335         * soft-fp/fixunsdfti.c: Likewise.
4336         * soft-fp/fixunssfdi.c: Likewise.
4337         * soft-fp/fixunssfsi.c: Likewise.
4338         * soft-fp/fixunssfti.c: Likewise.
4339         * soft-fp/fixunstfdi.c: Likewise.
4340         * soft-fp/fixunstfsi.c: Likewise.
4341         * soft-fp/fixunstfti.c: Likewise.
4342         * soft-fp/floatdidf.c: Likewise.
4343         * soft-fp/floatdisf.c: Likewise.
4344         * soft-fp/floatditf.c: Likewise.
4345         * soft-fp/floatsidf.c: Likewise.
4346         * soft-fp/floatsisf.c: Likewise.
4347         * soft-fp/floatsitf.c: Likewise.
4348         * soft-fp/floattidf.c: Likewise.
4349         * soft-fp/floattisf.c: Likewise.
4350         * soft-fp/floattitf.c: Likewise.
4351         * soft-fp/floatundidf.c: Likewise.
4352         * soft-fp/floatundisf.c: Likewise.
4353         * soft-fp/floatunditf.c: Likewise.
4354         * soft-fp/floatunsidf.c: Likewise.
4355         * soft-fp/floatunsisf.c: Likewise.
4356         * soft-fp/floatunsitf.c: Likewise.
4357         * soft-fp/floatuntidf.c: Likewise.
4358         * soft-fp/floatuntisf.c: Likewise.
4359         * soft-fp/floatuntitf.c: Likewise.
4360         * soft-fp/fmadf4.c: Likewise.
4361         * soft-fp/fmasf4.c: Likewise.
4362         * soft-fp/fmatf4.c: Likewise.
4363         * soft-fp/gedf2.c: Likewise.
4364         * soft-fp/gesf2.c: Likewise.
4365         * soft-fp/getf2.c: Likewise.
4366         * soft-fp/ledf2.c: Likewise.
4367         * soft-fp/lesf2.c: Likewise.
4368         * soft-fp/letf2.c: Likewise.
4369         * soft-fp/muldf3.c: Likewise.
4370         * soft-fp/mulsf3.c: Likewise.
4371         * soft-fp/multf3.c: Likewise.
4372         * soft-fp/negdf2.c: Likewise.
4373         * soft-fp/negsf2.c: Likewise.
4374         * soft-fp/negtf2.c: Likewise.
4375         * soft-fp/op-1.h: Likewise.
4376         * soft-fp/op-2.h: Likewise.
4377         * soft-fp/op-4.h: Likewise.
4378         * soft-fp/op-8.h: Likewise.
4379         * soft-fp/op-common.h: Likewise.
4380         * soft-fp/quad.h: Likewise.
4381         * soft-fp/single.h: Likewise.
4382         * soft-fp/soft-fp.h: Likewise.
4383         * soft-fp/sqrtdf2.c: Likewise.
4384         * soft-fp/sqrtsf2.c: Likewise.
4385         * soft-fp/sqrttf2.c: Likewise.
4386         * soft-fp/subdf3.c: Likewise.
4387         * soft-fp/subsf3.c: Likewise.
4388         * soft-fp/subtf3.c: Likewise.
4389         * soft-fp/truncdfsf2.c: Likewise.
4390         * soft-fp/trunctfdf2.c: Likewise.
4391         * soft-fp/trunctfsf2.c: Likewise.
4392         * soft-fp/trunctfxf2.c: Likewise.
4393         * soft-fp/unorddf2.c: Likewise.
4394         * soft-fp/unordsf2.c: Likewise.
4395         * soft-fp/unordtf2.c: Likewise.
4397 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4399         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4400         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4402 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4404         * elf/dl-libc.c: Clear initfini list after freeing.
4406 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4408         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4409         * soft-fp/addsf3.c: Likewise.
4410         * soft-fp/addtf3.c: Likewise.
4411         * soft-fp/divdf3.c: Likewise.
4412         * soft-fp/divsf3.c: Likewise.
4413         * soft-fp/divtf3.c: Likewise.
4414         * soft-fp/double.h: Likewise.
4415         * soft-fp/eqdf2.c: Likewise.
4416         * soft-fp/eqsf2.c: Likewise.
4417         * soft-fp/eqtf2.c: Likewise.
4418         * soft-fp/extenddftf2.c: Likewise.
4419         * soft-fp/extended.h: Likewise.
4420         * soft-fp/extendsfdf2.c: Likewise.
4421         * soft-fp/extendsftf2.c: Likewise.
4422         * soft-fp/extendxftf2.c: Likewise.
4423         * soft-fp/fixdfdi.c: Likewise.
4424         * soft-fp/fixdfsi.c: Likewise.
4425         * soft-fp/fixdfti.c: Likewise.
4426         * soft-fp/fixsfdi.c: Likewise.
4427         * soft-fp/fixsfsi.c: Likewise.
4428         * soft-fp/fixsfti.c: Likewise.
4429         * soft-fp/fixtfdi.c: Likewise.
4430         * soft-fp/fixtfsi.c: Likewise.
4431         * soft-fp/fixtfti.c: Likewise.
4432         * soft-fp/fixunsdfdi.c: Likewise.
4433         * soft-fp/fixunsdfsi.c: Likewise.
4434         * soft-fp/fixunsdfti.c: Likewise.
4435         * soft-fp/fixunssfdi.c: Likewise.
4436         * soft-fp/fixunssfsi.c: Likewise.
4437         * soft-fp/fixunssfti.c: Likewise.
4438         * soft-fp/fixunstfdi.c: Likewise.
4439         * soft-fp/fixunstfsi.c: Likewise.
4440         * soft-fp/fixunstfti.c: Likewise.
4441         * soft-fp/floatdidf.c: Likewise.
4442         * soft-fp/floatdisf.c: Likewise.
4443         * soft-fp/floatditf.c: Likewise.
4444         * soft-fp/floatsidf.c: Likewise.
4445         * soft-fp/floatsisf.c: Likewise.
4446         * soft-fp/floatsitf.c: Likewise.
4447         * soft-fp/floattidf.c: Likewise.
4448         * soft-fp/floattisf.c: Likewise.
4449         * soft-fp/floattitf.c: Likewise.
4450         * soft-fp/floatundidf.c: Likewise.
4451         * soft-fp/floatundisf.c: Likewise.
4452         * soft-fp/floatunsidf.c: Likewise.
4453         * soft-fp/floatunsisf.c: Likewise.
4454         * soft-fp/floatuntidf.c: Likewise.
4455         * soft-fp/floatuntisf.c: Likewise.
4456         * soft-fp/floatuntitf.c: Likewise.
4457         * soft-fp/fmadf4.c: Likewise.
4458         * soft-fp/fmasf4.c: Likewise.
4459         * soft-fp/fmatf4.c: Likewise.
4460         * soft-fp/gedf2.c: Likewise.
4461         * soft-fp/gesf2.c: Likewise.
4462         * soft-fp/getf2.c: Likewise.
4463         * soft-fp/ledf2.c: Likewise.
4464         * soft-fp/lesf2.c: Likewise.
4465         * soft-fp/letf2.c: Likewise.
4466         * soft-fp/muldf3.c: Likewise.
4467         * soft-fp/mulsf3.c: Likewise.
4468         * soft-fp/multf3.c: Likewise.
4469         * soft-fp/negdf2.c: Likewise.
4470         * soft-fp/negsf2.c: Likewise.
4471         * soft-fp/negtf2.c: Likewise.
4472         * soft-fp/op-1.h: Likewise.
4473         * soft-fp/op-2.h: Likewise.
4474         * soft-fp/op-4.h: Likewise.
4475         * soft-fp/op-8.h: Likewise.
4476         * soft-fp/op-common.h: Likewise.
4477         * soft-fp/quad.h: Likewise.
4478         * soft-fp/single.h: Likewise.
4479         * soft-fp/soft-fp.h: Likewise.
4480         * soft-fp/sqrtdf2.c: Likewise.
4481         * soft-fp/sqrtsf2.c: Likewise.
4482         * soft-fp/sqrttf2.c: Likewise.
4483         * soft-fp/subdf3.c: Likewise.
4484         * soft-fp/subsf3.c: Likewise.
4485         * soft-fp/subtf3.c: Likewise.
4486         * soft-fp/truncdfsf2.c: Likewise.
4487         * soft-fp/trunctfdf2.c: Likewise.
4488         * soft-fp/trunctfsf2.c: Likewise.
4489         * soft-fp/trunctfxf2.c: Likewise.
4490         * soft-fp/unorddf2.c: Likewise.
4491         * soft-fp/unordsf2.c: Likewise.
4492         * soft-fp/unordtf2.c: Likewise.
4494 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4496         [BZ #15672]
4497         * misc/error.c (error_tail): Fix possible buffer overflow.
4499 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4501         [BZ #13028]
4502         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4503         address.
4505 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4507         [BZ #832]
4508         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4509         testing pipefail option.
4511 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4513         * soft-fp/double.h: Indent preprocessor directives inside #if.
4514         * soft-fp/extended.h: Likewise.
4515         * soft-fp/op-2.h: Likewise.
4516         * soft-fp/op-4.h: Likewise.
4517         * soft-fp/op-common.h: Likewise.
4518         * soft-fp/quad.h: Likewise.
4519         * soft-fp/single.h: Likewise.
4520         * soft-fp/soft-fp.h: Likewise.
4522 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4524         * iconv/iconv_prog.c: Fix typos.
4525         * stdio-common/psiginfo-data.h: Likewise.
4527 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4529         [BZ #15764]
4530         * locale/setlocale.c: Fix typo.
4532 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4534         [BZ #16036]
4535         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4536         signaling NaN arguments.
4537         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4538         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4540         [BZ #14910]
4541         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4542         unordered operands.
4543         * soft-fp/gesf2.c (__gesf2): Likewise.
4544         * soft-fp/getf2.c (__getf2): Likewise.
4545         * soft-fp/ledf2.c (__ledf2): Likewise.
4546         * soft-fp/lesf2.c (__lesf2): Likewise.
4547         * soft-fp/letf2.c (__letf2): Likewise.
4549         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4550         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4551         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4552         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4553         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4554         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4555         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4556         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4557         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4558         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4559         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4560         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4561         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4562         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4563         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4564         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4565         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4566         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4567         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4568         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4569         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4570         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4571         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4572         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4573         * soft-fp/floattidf.c (__floattidf): Likewise.
4574         * soft-fp/floattisf.c (__floattisf): Likewise.
4575         * soft-fp/floattitf.c (__floattitf): Likewise.
4576         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4577         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4578         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4579         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4580         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4581         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4582         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4583         * soft-fp/gesf2.c (__gesf2): Likewise.
4584         * soft-fp/getf2.c (__getf2): Likewise.
4585         * soft-fp/ledf2.c (__ledf2): Likewise.
4586         * soft-fp/lesf2.c (__lesf2): Likewise.
4587         * soft-fp/letf2.c (__letf2): Likewise.
4589         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4590         Undefine and redefine.
4591         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4592         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4593         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4594         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4595         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4596         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4597         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4598         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4599         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4600         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4601         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4602         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4603         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4604         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4605         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4607         [BZ #16032]
4608         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4609         without decrementing exponent if mantissa >= that for the
4610         denominator, not >.
4611         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4612         denominator, not >.  Decrement exponent in < case instead of
4613         incrementing in >= case.
4614         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4615         without decrementing exponent if mantissa >= that for the
4616         denominator, not >.
4618         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4619         computing saturated result for unsigned overflow.
4621 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4622             Jeff Law  <law@redhat.com>
4624         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4625         (atan2Mp): Add systemtap probe marker.
4626         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4627         (__ieee754_log): Add systemtap probe marker.
4628         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4629         (atanMp): Add systemtap probe marker.
4630         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4631         (tanMp): Add systemtap probe marker.
4632         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4633         (__slowexp): Add systemtap probe marker.
4634         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4635         (__slowpow): Add systemtap probe marker.
4636         * manual/probes.texi: Document probes.
4638 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4640         [BZ #15362]
4641         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4642         written.
4643         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4644         written.
4645         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4646         written to buffer but not flushed.
4647         * libio/iofwrite_u.c:  Likewise.
4648         * libio/iopadn.c:  Return bytes returned even if EOF was
4649         encountered.
4650         * libio/iowpadn.c:  Likewise.
4651         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4652         if _IO_padn does not write the whole buffer.
4653         [!COMPILE_WPRINTF] (PAD): Likewise.
4655 2013-10-10  David S. Miller  <davem@davemloft.net>
4657         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4658         directory block.
4660 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4662         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4663         instead of FSF address.
4664         * soft-fp/fixdfti.c: Likewise.
4665         * soft-fp/fixsfti.c: Likewise.
4666         * soft-fp/fixtfti.c: Likewise.
4667         * soft-fp/fixunsdfti.c: Likewise.
4668         * soft-fp/fixunssfti.c: Likewise.
4669         * soft-fp/fixunstfti.c: Likewise.
4670         * soft-fp/floattidf.c: Likewise.
4671         * soft-fp/floattisf.c: Likewise.
4672         * soft-fp/floattitf.c: Likewise.
4673         * soft-fp/floatuntidf.c: Likewise.
4674         * soft-fp/floatuntisf.c: Likewise.
4675         * soft-fp/floatuntitf.c: Likewise.
4676         * soft-fp/trunctfxf2.c: Likewise.
4678         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4679         * soft-fp/fixdfti.c: Likewise.
4680         * soft-fp/fixsfti.c: Likewise.
4681         * soft-fp/fixtfti.c: Likewise.
4682         * soft-fp/fixunsdfti.c: Likewise.
4683         * soft-fp/fixunssfti.c: Likewise.
4684         * soft-fp/fixunstfti.c: Likewise.
4685         * soft-fp/floattidf.c: Likewise.
4686         * soft-fp/floattisf.c: Likewise.
4687         * soft-fp/floattitf.c: Likewise.
4688         * soft-fp/floatuntidf.c: Likewise.
4689         * soft-fp/floatuntisf.c: Likewise.
4690         * soft-fp/floatuntitf.c: Likewise.
4691         * soft-fp/trunctfxf2.c: Likewise.
4693 2013-10-10  David S. Miller  <davem@davemloft.net>
4695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4697 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4699         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4700         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4701         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4702         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4703         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4704         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4705         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4707         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4708         for NaNs before doing comparisons on argument.
4709         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4710         Likewise.
4712 2013-10-10  Will Newton  <will.newton@linaro.org>
4714         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4715         passed to _int_memalign does not overflow.
4717 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4719         * scripts/bench.pl: Add include-sources directive.
4720         * benchtests/README: Update documentation.
4722 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4724         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4725         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4726         instead of FP_INIT_ROUNDMODE.
4727         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4728         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4730         [BZ #16034]
4731         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4732         copy class of input value.
4733         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4734         not handle exceptions.
4735         * soft-fp/negsf2.c (__negsf2): Likewise.
4736         * soft-fp/negtf2.c (__negtf2): Likewise.
4737         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4739 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4741         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4742         semicolon.  From Linux kernel.
4744 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4746         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4748 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4750         [BZ #156]
4751         * manual/socket.texi: Added statement about buffer
4752         for gethostbyname2_r.
4754 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4756         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4757         Use .p2align directive instead, throughout.
4758         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4759         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4760         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4761         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4762         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4763         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4764         * sysdeps/x86_64/strchr.S: Likewise.
4765         * sysdeps/x86_64/strrchr.S: Likewise.
4767 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4769         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4771         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4773         * sysdeps/generic/math_private.h (__mpsin1): Remove
4774         declaration.
4775         (__mpcos1): Likewise.
4776         (__mpsin): New argument __range_reduce.
4777         (__mpcos): Likewise.
4778         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4779         (slow): Use __mpsin and __mpcos.
4780         (slow1): Likewise.
4781         (slow2): Likewise.
4782         (sloww): Likewise.
4783         (sloww1): Likewise.
4784         (sloww2): Likewise.
4785         (bsloww): Likewise.
4786         (bsloww1): Likewise.
4787         (bsloww2): Likewise.
4788         (cslow2): Likewise.
4789         (csloww): Likewise.
4790         (csloww1): Likewise.
4791         (csloww2): Likewise.
4792         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4793         range_reduce.  Merge in __mpsin1.
4794         (__mpcos): Likewise.
4795         (__mpsin1): Remove.
4796         (__mpcos1): Likewise.
4798 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4800         * locale/loadlocale.c (_nl_intern_locale_data): Use
4801         LOCFILE_ALIGNED_P.
4802         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4803         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4804         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4805         obstack data is appropriately aligned.
4806         (obstack_int32_grow_fast): Likewise.
4807         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4808         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4809         (add_locale_uint32_array): Likewise.
4811 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4813         * benchtests/Makefile: Remove ARGLIST and RET variables.
4814         ($(objpfx)bench-%.c): Pass only function name to the script.
4815         * benchtests/README: Update documentation.
4816         * benchtests/acos-inputs: Add new directives.
4817         * benchtests/acosh-inputs: Likewise.
4818         * benchtests/asin-inputs: Likewise.
4819         * benchtests/asinh-inputs: Likewise.
4820         * benchtests/atan-inputs: Likewise.
4821         * benchtests/atanh-inputs: Likewise.
4822         * benchtests/cos-inputs: Likewise.
4823         * benchtests/cosh-inputs: Likewise.
4824         * benchtests/exp-inputs: Likewise.
4825         * benchtests/log-inputs: Likewise.
4826         * benchtests/pow-inputs: Likewise.
4827         * benchtests/rint-inputs: Likewise.
4828         * benchtests/sin-inputs: Likewise.
4829         * benchtests/sinh-inputs: Likewise.
4830         * benchtests/tan-inputs: Likewise.
4831         * benchtests/tanh-inputs: Likewise.
4832         * scripts/bench.pl: Add support for new directives.
4834 2013-10-07  Alan Modra  <amodra@gmail.com>
4836         * README: Fix careless merge.
4838 2013-10-05  Alan Modra  <amodra@gmail.com>
4840         * NEWS: Mention powerpc64le support and bugs fixed.
4841         * README: Both big-endian and little-endian powerpc64 supported.
4843 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4845         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4846         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4847         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4848         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4850 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4852         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4853         match prototype.
4855 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4857         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4858         Move -mhard-float appending from
4859         ports/sysdeps/powerpc/powerpc32/Makefile.
4860         [$(with-fp) = yes] (ASFLAGS): Likewise.
4861         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4862         * sysdeps/powerpc/nofpu: Move directory from
4863         ports/sysdeps/powerpc/nofpu.
4864         * sysdeps/powerpc/soft-fp: Move directory from
4865         ports/sysdeps/powerpc/soft-fp.
4866         * sysdeps/powerpc/powerpc32/405: Move directory from
4867         ports/sysdeps/powerpc/powerpc32/405.
4868         * sysdeps/powerpc/powerpc32/440: Move directory from
4869         ports/sysdeps/powerpc/powerpc32/440.
4870         * sysdeps/powerpc/powerpc32/464: Move directory from
4871         ports/sysdeps/powerpc/powerpc32/464.
4872         * sysdeps/powerpc/powerpc32/476: Move directory from
4873         ports/sysdeps/powerpc/powerpc32/476.
4874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4875         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4877         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4879         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4881         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4883         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4884         * README: Update for powerpc-*-linux-gnu software floating point
4885         support in libc.
4887         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4888         case to powerpc/powerpc32*.
4889         * sysdeps/unix/sysv/linux/configure: Regenerated.
4891         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4892         (_FPU_MASK_OM): Define as 0x04.
4893         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4895         0x00c10080.
4896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4897         0x0000003c.
4898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4901         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4902         getcontext_e500.
4903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4904         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4905         setcontext_e500.
4906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4907         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4908         and setcontext_e500.
4910 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4912         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4914 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4916         * manual/threads.texi (Default Thread Attributes): Fix typo.
4918 2013-10-04  Will Newton  <will.newton@linaro.org>
4920         * malloc/Makefile: Add tst-memalign.
4921         * malloc/tst-memalign.c: New file.
4923         * malloc/tst-posix_memalign.c: Add comments.
4924         (do_test): Add comments and call free on all potentially
4925         allocated pointers. Add space after cast.
4927         * malloc/tst-pvalloc.c: Add comments.
4928         (do_test): Add comments and call free on all potentially
4929         allocated pointers. Remove duplicate check for NULL pointer.
4930         Add space after cast.
4932         * malloc/tst-valloc.c: Add comments.
4933         (do_test): Add comments and call free on all potentially
4934         allocated pointers. Remove duplicate check for NULL pointer.
4935         Add space after cast.
4937 2013-10-04  Alan Modra  <amodra@gmail.com>
4939         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4940         Use stdint types in rather than __attribute__((mode())).
4941         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4943 2013-10-04  Alan Modra  <amodra@gmail.com>
4945         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4946         Correct handling of unaligned relocs for little-endian.
4947         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4949 2013-10-04  Alan Modra  <amodra@gmail.com>
4951         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4952         * configure: Regenerate.
4953         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4954         * shlib-versions: Likewise.
4956 2013-10-04  Alan Modra  <amodra@gmail.com>
4958         * string/tester.c (test_memrchr): Increment reported test cycle.
4960 2013-10-04  Alan Modra  <amodra@gmail.com>
4962         * string/test-memcpy.c (do_one_test): When reporting errors, print
4963         string address and don't overrun end of string.
4965 2013-10-04  Alan Modra  <amodra@gmail.com>
4967         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4968         insrdi.  Make better use of reg selection to speed exit slightly.
4969         Schedule entry path a little better.  Remove useless "are we done"
4970         checks on entry to main loop.  Handle wrapping around zero address.
4971         Correct main loop count.  Handle single left-over word from main
4972         loop inline rather than by using loop_small.  Remove extra word
4973         case in loop_small caused by wrong loop count.  Add little-endian
4974         support.
4975         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4976         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4977         cache hint.
4978         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4979         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4980         support.  Avoid rlwimi.
4981         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4983 2013-10-04  Alan Modra  <amodra@gmail.com>
4985         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4986         insrdi.  Formatting.
4987         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4988         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4989         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4990         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4991         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4992         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4994 2013-10-04  Alan Modra  <amodra@gmail.com>
4996         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4997         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4998         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4999         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5000         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5001         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5002         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5003         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5004         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5005         use of regs.  Use power7 mtocrf.  Tidy function tails.
5007 2013-10-04  Alan Modra  <amodra@gmail.com>
5009         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5010         Formatting.  Consistently use rXXX register defines or rN defines.
5011         Use early exit labels that avoid restoring unused non-volatile regs.
5012         Make cr field use more consistent with rWORDn compares.  Rename
5013         regs used as shift registers for unaligned loop, using rN defines
5014         for short lifetime/multiple use regs.
5015         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5016         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5017         addi 1,1,64 to pop stack frame.  Simplify return value code.
5018         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5020 2013-10-04  Alan Modra  <amodra@gmail.com>
5022         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5023         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5024         rather than rlwimi.
5025         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5026         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5027         little-endian support.  Correct typos.
5028         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5029         rather than rlwimi.
5030         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5031         in loop and entry code to keep "and." results.
5032         (strchr): Add little-endian support.  Comment.  Move cntlzd
5033         earlier in tail.
5034         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5036 2013-10-04  Alan Modra  <amodra@gmail.com>
5038         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5039         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5040         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5041         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5043 2013-10-04  Alan Modra  <amodra@gmail.com>
5045         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5046         (rTMP): Define as r11.
5047         (strcmp): Add little-endian support.  Optimise tail.
5048         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5049         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5050         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5051         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5052         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5053         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5054         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5056 2013-10-04  Alan Modra  <amodra@gmail.com>
5058         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5059         little-endian support.  Remove unnecessary "are we done" tests.
5060         Handle "s" wrapping around zero and extremely large "size".
5061         Correct main loop count.  Handle single left-over word from main
5062         loop inline rather than by using small_loop.  Correct comments.
5063         Delete "zero" tail, use "end_max" instead.
5064         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5066 2013-10-04  Alan Modra  <amodra@gmail.com>
5068         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5069         support.  Don't branch over align.
5070         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5071         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5072         support.  Rearrange tmp reg use to suit.  Comment.
5073         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5075 2013-10-04  Alan Modra  <amodra@gmail.com>
5077         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5079 2013-10-04  Alan Modra  <amodra@gmail.com>
5081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5082         conditional form of branch and link when obtaining pc.
5083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5085 2013-10-04  Alan Modra  <amodra@gmail.com>
5087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5088         HIWORD/LOWORD.
5089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5092 2013-10-04  Alan Modra  <amodra@gmail.com>
5094         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5095         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5096         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5097         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5098         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5099         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5100         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5101         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5102         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5103         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5105 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5106             Alistair Popple <alistair@ozlabs.au.ibm.com>
5107             Alan Modra <amodra@gmail.com>
5109         [BZ #15723]
5110         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5111         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5112         _dl_hwcap access for little-endian.
5113         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5114         destroy vmx regs when saving unaligned.
5115         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5116         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5117         destroy vmx regs when saving unaligned.
5119 2013-10-04  Alan Modra  <amodra@gmail.com>
5121         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5122         Don't use a union to pack hi/low value.
5124 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5126         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5127         for little-endian.
5128         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5129         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5130         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5131         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5132         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5134 2013-10-04  Alan Modra  <amodra@gmail.com>
5136         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5137         constants to usual value for .cst8 section, and remove redundant
5138         high address load.
5139         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5140         constant for 0x1p52.  Load little-endian words of double from
5141         correct stack offsets.
5143 2013-10-04  Alan Modra  <amodra@gmail.com>
5145         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5146         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5147         words of double from correct stack offsets.
5148         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5149         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5150         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5151         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5152         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5153         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5154         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5155         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5156         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5157         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5158         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5159         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5160         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5161         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5162         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5163         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5164         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5166 2013-10-04  Alan Modra  <amodra@gmail.com>
5168         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5169         64-bit int/double union.
5170         (_FPU_SETCW): Likewise.
5171         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5172         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5174 2013-10-04  Alan Modra  <amodra@gmail.com>
5176         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5177         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5179 2013-10-04  Alan Modra  <amodra@gmail.com>
5181         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5182         use vector int constants.
5183         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5185 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5187         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5188         array with long long.
5189         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5190         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5191         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5192         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5193         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5194         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5195         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5196         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5197         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5198         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5199         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5200         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5201         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5203 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5205         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5206         (__signbit): Likewise.  Correct for little-endian.
5207         (__signbitl): Call __signbit.
5208         (lrint): Correct for little-endian.
5209         (lrintf): Call lrint.
5211 2013-10-04  Alan Modra  <amodra@gmail.com>
5213         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5214         union 32-bit int array member with 64-bit int array.
5215         (t515, tm256): Double rather than long double.
5216         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5218 2013-10-04  Alan Modra  <amodra@gmail.com>
5220         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5221         Delete.
5222         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5223         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5224         version of math_ldbl.h.
5226 2013-10-04  Alan Modra  <amodra@gmail.com>
5228         [BZ #15734], [BZ #15735]
5229         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5230         all uses of ieee875 long double macros and unions.  Simplify test
5231         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5232         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5233         normalize after ldbl_extract_mantissa, and don't add hidden bit
5234         already handled.  Don't treat low word of ieee854 mantissa like
5235         low word of IBM long double and mask off bit when testing for
5236         zero.
5237         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5238         all uses of ieee875 long double macros and unions.  Simplify tests
5239         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5240         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5241         two1022, instead use their values.  Recognise that tests for large
5242         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5243         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5244         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5245         test for 0.0L and nan.  Correct negation.
5246         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5247         ieee875 long double macros and unions.  Correct output for large
5248         magnitude x.  Correct absolute value calculation.
5249         (__erfcl): Likewise.
5250         * math/libm-test.inc: Add tests for errors discovered in IBM long
5251         double versions of fmodl, remainderl, erfl and erfcl.
5253 2013-10-04  Alan Modra  <amodra@gmail.com>
5255         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5256         all uses of ieee854 long double macros and unions.  Simplify tests
5257         for long doubles that are fully specified by the high double.
5258         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5259         Likewise.
5260         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5261         Remove dead code too.
5262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5263         (__ieee754_ynl): Likewise.
5264         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5265         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5266         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5267         Remove dead code too.
5268         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5269         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5270         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5271         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5272         Simplify.
5273         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5274         Simplify.
5275         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5276         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5277         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5278         Comment on variable precision.
5279         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5280         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5281         Likewise.
5282         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5283         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5284         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5285         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5286         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5288 2013-10-04  Alan Modra  <amodra@gmail.com>
5290         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5291         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5292         all uses of ieee854 long double macros and unions.
5293         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5294         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5295         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5296         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5297         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5298         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5299         Likewise.
5300         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5301         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5302         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5303         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5304         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5305         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5306         Simplify sign and nan test too.
5307         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5308         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5309         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5310         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5311         Likewise.
5312         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5313         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5314         Likewise.
5315         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5316         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5317         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5318         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5319         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5322 2013-10-04  Alan Modra  <amodra@gmail.com>
5324         * stdio-common/printf_size.c (__printf_size): Don't use
5325         union ieee854_long_double in fpnum union.
5326         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5327         signbit macro to retrieve sign from long double.
5328         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5329         retrieve sign from long double.
5330         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5331         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5332         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5333         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5334         * math/test-misc.c (main): Don't use union ieee854_long_double.
5336 2013-10-04  Alan Modra  <amodra@gmail.com>
5338         [BZ #15680]
5339         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5340         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5341         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5342         calculation.  Remove unnecessary test for denormal exponent.
5343         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5344         Correct handling of denormals.  Avoid undefined shift behaviour.
5345         Correct normalisation of low mantissa when low double is denormal.
5346         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5347         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5348         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5349         Correct normalisation of low mantissa.  Test for overflow of high
5350         mantissa and normalise.
5351         (ldbl_nearbyint): Use more readable constant for two52.
5352         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5353         (__mpn_construct_long_double): Fix test for overflow of high
5354         mantissa and correct normalisation.  Avoid undefined shift.
5356 2013-10-04  Alan Modra  <amodra@gmail.com>
5358         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5359         (union ibm_extended_long_double): Define as an array of ieee754_double.
5360         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5361         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5362         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5363         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5364         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5365         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5366         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5367         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5368         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5369         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5370         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5372 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5374         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5375         page size instead of calling getpagesize.
5377         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5378         (LOCFILE_ALIGN_MASK): Likewise.
5379         (LOCFILE_ALIGN_UP): Likewise.
5380         (LOCFILE_ALIGNED_P): Likewise.
5381         * locale/programs/ld-collate.c (collate_output): Use the new
5382         macros instead of __alignof__ (int32_t).
5383         * locale/weight.h (findidx): Likewise.
5385 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5387         [BZ #431]
5388         * manual/string.texi: Fix strncat and wcsncat.
5390 2013-10-03  Brooks Moses  <bmoses@google.com>
5392         [BZ #15915]
5393         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5394         * Makerules: ...here, and adjust associated comments.
5396 2013-10-02  Will Newton  <will.newton@linaro.org>
5398         * malloc/Makefile: Add tst-pvalloc.
5399         * malloc/tst-pvalloc.c: New file.
5401 2013-10-02  Will Newton  <will.newton@linaro.org>
5403         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5404         improve test coverage.
5406 2013-10-02  Will Newton  <will.newton@linaro.org>
5408         * malloc/Makefile: Add tst-posix_memalign.
5409         * malloc/tst-posix_memalign.c: New file.
5411 2013-10-01  Eric Blake  <eblake@redhat.com>
5413         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5414         Use __THROWNL rather than __THROW on static functions.
5416 2013-09-30  Petr Machata  <pmachata@redhat.com>
5418         * elf/elf.h (R_AARCH64_ABS16): New macro.
5419         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5420         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5421         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5422         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5423         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5424         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5425         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5426         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5427         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5428         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5429         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5430         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5431         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5432         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5433         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5434         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5435         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5436         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5437         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5438         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5439         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5440         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5441         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5442         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5443         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5444         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5445         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5446         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5447         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5448         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5449         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5450         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5451         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5452         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5453         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5454         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5455         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5456         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5457         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5458         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5459         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5460         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5461         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5462         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5463         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5464         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5465         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5466         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5467         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5468         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5469         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5470         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5471         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5472         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5473         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5474         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5475         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5476         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5477         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5478         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5479         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5480         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5481         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5482         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5483         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5484         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5485         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5486         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5487         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5488         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5489         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5490         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5491         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5492         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5493         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5494         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5495         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5496         (R_AARCH64_TLSDESC_LDR): Likewise.
5497         (R_AARCH64_TLSDESC_ADD): Likewise.
5498         (R_AARCH64_TLSDESC_CALL): Likewise.
5500 2013-09-30  Andreas Schwab  <schwab@suse.de>
5502         [BZ #15048]
5503         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5504         the nss database lookup.
5505         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5508 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5510         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5512 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5514         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5515         ${Bash-specific parameter/pattern/string} parameter expansion.
5516         * sysdeps/unix/make-syscalls.sh: Likewise.
5518 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5520         * sysdeps/sh/stackguard-macros.h: New file.
5522 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5526         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5527         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5528         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5529         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5531 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5533         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5534         Fix thread ID register.
5536 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5538         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5539         [POSIX || UNIX98]: Require rather than permitting all symbols from
5540         <time.h>.
5541         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5542         element of struct sched_param.
5543         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5544         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5545         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5546         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5547         constant.
5549 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5551         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5552         argument calculation.
5554 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5556         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5557         Expect macro.
5558         [POSIX] (pthread_attr_t): Do not require type.
5559         [POSIX] (pthread_cond_t): Likewise.
5560         [POSIX] (pthread_condattr_t): Likewise.
5561         [POSIX] (pthread_key_t): Likewise.
5562         [POSIX] (pthread_mutex_t): Likewise.
5563         [POSIX] (pthread_mutexattr_t): Likewise.
5564         [POSIX] (pthread_once_t): Likewise.
5565         [POSIX] (pthread_t): Likewise.
5566         [POSIX-based standards] (pthread_atfork): Expect function.
5568 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5569             Richard Sandiford  <richard@codesourcery.com>
5571         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5572         (swap_endianness_p): New extern variable.
5573         (set_big_endian): New inline function.
5574         (maybe_swap_uint32): Likewise.
5575         (maybe_swap_uint32_array): Likewise.
5576         (maybe_swap_uint32_obstack): Likewise.
5577         * locale/programs/locfile.c: Include <stdbool.h>.
5578         (swap_endianness_p): New variable.
5579         (add_locale_uint32): Call maybe_swap_uint32.
5580         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5581         (write_locale_data): Call maybe_swap_uint32_array.
5582         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5583         maybe_swap_uint32.
5584         (obstack_int32_grow_fast): Likewise.
5585         (output_weightwc): Call maybe_swap_uint32_obstack.
5586         (collate_output): Likewise.
5587         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5588         (OPT_LITTLE_ENDIAN): Likewise.
5589         (options): Add --little-endian and --big-endian options.
5590         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5591         * locale/programs/locarchive.c: Include "locfile.h".
5592         (GET): New macro.
5593         (SET): Likewise.
5594         (INC): Likewise.
5595         (create_archive): Use the new macros to access fields of
5596         structures directly mapped from or written to locale archives.
5597         (oldlocrecentcmp): Likewise.
5598         (enlarge_archive): Likewise.
5599         (insert_name): Likewise.
5600         (add_alias): Likewise.
5601         (add_locale): Likewise.
5602         (delete_locales_from_archive): Likewise.
5603         (show_archive_content): Likewise.
5604         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5605         locale data.
5607 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5609         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5610         http://www.gnu.org/doc/freemanuals.texi.
5611         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5613 2013-09-24  Will Newton  <will.newton@linaro.org>
5615         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5616         macro.
5618 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5620         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5621         unsigned char.
5623 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5625         * manual/threads.texi (POSIX Threads): Fix a typo.
5627 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5629         [BZ #14547]
5630         * string/tst-strcoll-overflow.c: New test case.
5631         * string/Makefile (xtests): Add tst-strcoll-overflow.
5632         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5633         cache if string sizes may cause integer overflow.
5635         [BZ #14547]
5636         * string/strcoll_l.c (coll_seq): New members rule, idx,
5637         save_idx and back_us.
5638         (get_next_seq_nocache): New function.
5639         (do_compare_nocache): New function.
5640         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5641         when malloc fails.
5643 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5645         [BZ #15754]
5646         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5647         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5648         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5650         [BZ #15754]
5651         * elf/Makefile (tests): Add tst-ptrguard1.
5652         (tests-static): Add tst-ptrguard1-static.
5653         (tst-ptrguard1-ARGS): Define.
5654         (tst-ptrguard1-static-ARGS): Define.
5655         * elf/tst-ptrguard1.c: New file.
5656         * elf/tst-ptrguard1-static.c: New file.
5657         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5658         * sysdeps/i386/stackguard-macros.h: Likewise.
5659         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5660         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5661         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5662         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5663         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5664         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5666 2013-09-23  Hector Marco  <hecmargi@upv.es>
5667             Ismael Ripoll  <iripoll@disca.upv.es>
5668             Carlos O'Donell  <carlos@redhat.com>
5670         [BZ #15754]
5671         * sysdeps/generic/stackguard-macros.h: Define
5672         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5673         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5674         Define __pointer_chk_guard_local.
5675         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5676         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5678 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5680         [BZ #15859]
5681         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5683 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5685         * include/string.h (__ffs): Declare as hidden.
5686         * string/ffs.c (__ffs): Define as hidden.
5687         * sysdeps/i386/ffs.c (__ffs): Likewise.
5688         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5689         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5690         * sysdeps/s390/ffs.c (__ffs): Likewise.
5691         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5693 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5695         * NEWS: Mention malloc probes.
5697         * malloc/arena.c (new_heap): New memory_heap_new probe.
5698         (grow_heap): New memory_heap_more probe.
5699         (shrink_heap): New memory_heap_less probe.
5700         (heap_trim): New memory_heap_free probe.
5701         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5702         (systrim): New memory_sbrk_less probe.
5703         * manual/probes.texi: Document them.
5705         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5706         * manual/probes.texi: Document it.
5708         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5709         (__libc_realloc): Add memory_realloc_retry probe.
5710         (__libc_memalign): Add memory_memalign_retry probe.
5711         (__libc_valloc): Add memory_valloc_retry probe.
5712         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5713         (__libc_calloc): Add memory_calloc_retry probe.
5714         * manual/probes.texi: Document them.
5716         * malloc/arena.c (get_free_list): Add probe
5717         memory_arena_reuse_free_list.
5718         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5719         and memory_arena_reuse.
5720         (arena_get2) [!PER_THREAD]: Likewise.
5721         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5722         memory_arena_reuse_realloc.
5723         * manual/probes.texi: Document them.
5725         * malloc/malloc.c (__libc_free): Add
5726         memory_mallopt_free_dyn_thresholds probe.
5727         (__libc_mallopt): Add multiple memory_mallopt probes.
5728         * manual/probes.texi: Document them.
5730         * malloc/malloc.c: Include stap-probe.h.
5731         (__libc_mallopt): Add memory_mallopt probe.
5732         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5733         * manual/probes.texi: New.
5734         * manual/Makefile (chapters): Add probes.
5735         * manual/threads.texi: Set next node.
5737 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5739         [BZ #15963, #13985]
5740         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5741         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5742         Add `Chinese' to `nan' entry name.
5744 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5746         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5747         (POLYNOMIAL): Likewise.
5748         (TAYLOR_SINCOS): Likewise.
5749         (TAYLOR_SLOW): Likewise.
5750         (__sin): Use TAYLOR_SINCOS.
5751         (__cos): Likewise.
5752         (slow): Use TAYLOR_SLOW.
5753         (sloww): Likewise.
5754         (bsloww): Likewise.
5755         (csloww): Likewise.
5757 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5759         * stdlib/strtod_l.c: Fix buffer overrun.
5761 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5763         * benchtests/Makefile (bench): Add sincos.
5764         * benchtests/bench-sincos.c: New file.
5766         * math/libm-test.inc (cos_test_data): New test inputs.
5767         (sin_test_data): Likewise.
5769         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5770         macro.
5771         (__sin): Use it.
5772         (__cos): Likewise.
5773         (slow1): Likewise.
5774         (slow2): Likewise.
5775         (sloww1): Likewise.
5776         (sloww2): Likewise.
5777         (bsloww1): Likewise.
5778         (bsloww2): Likewise.
5779         (cslow2): Likewise.
5780         (csloww1): Likewise.
5781         (csloww2): Likewise.
5783         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5784         function.
5785         (__sin): Use it.
5786         (__cos): Likewise.
5788         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5789         gotos.
5790         (__cos): Likewise.
5792 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5794         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5795         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5796         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5797         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5798         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5799         * elf/cache.c (print_entry): Handle the new cache flags.
5801 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5802             Aldy Hernandez  <aldyh@redhat.com>
5804         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5805         Change condition to [_SOFT_FLOAT].
5806         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5818         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5821         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5822         declaration.
5824 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5826         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5827         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5828         (__longjmp): Use LOAD_GP to load saved GPRs.
5829         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5830         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5831         (__sigsetjmp): Use SAVE_GP to save GPRs.
5833         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5834         Do not append -msoft-float.
5835         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5837 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5839         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5841 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5843         [BZ #15966]
5844         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5845         (_FPU_GETCW): Use initial "__" on variable and field names but not
5846         on macro parameter name.
5847         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5848         parentheses around reference to macro parameter.
5850 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5852         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5853         prototype.
5854         (ctype_startup): Use uint32_t in cast and sizeof for
5855         ctype->charnames.
5857 2013-09-11  Jia Liu  <proljc@gmail.com>
5859         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5860         __daddr_t_defined.
5861         [__FreeBSD__]: Likewise.
5863 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5865         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5866         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5867         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5868         (strchr): Remove __strchr_sse42 ifunc selection.
5869         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5870         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5872 2013-09-11  Will Newton  <will.newton@linaro.org>
5874         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5875         parameter to RES. Remove hardcoded 1000 value.
5876         * benchtests/bench-skeleton.c (main): Pass RES parameter
5877         to TIMING_INIT and multiply result by 1000.
5879 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5883 2013-09-11  Andreas Schwab  <schwab@suse.de>
5885         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5886         if not defined.
5887         (O_TMPFILE) [__USE_GNU]: Define.
5888         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5889         Define.
5891 2013-09-11  Will Newton  <will.newton@linaro.org>
5893         [BZ #15857]
5894         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5895         does not overflow.
5897 2013-09-11  Will Newton  <will.newton@linaro.org>
5899         [BZ #15856]
5900         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5901         does not overflow.
5903 2013-09-11  Will Newton  <will.newton@linaro.org>
5905         [BZ #15855]
5906         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5907         does not overflow.
5909 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5911         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5912         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5913         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5914         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5915         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5917 2013-09-10  Allan McRae  <allan@archlinux.org>
5919         [BZ #15748]
5920         * manual/arith.texi (Parsing of Floats): Clarify
5921         cross-reference.
5923         [BZ #15849]
5924         * manual/install.texi (Running make install): Mention
5925         --enable-pt-chown.
5926         * INSTALL: Regenerated.
5928 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5930         * csu/init-first.c (_init): Remove the !SHARED condition around
5931         FPU control word initialization.
5932         * elf/dl-support.c (_dl_fpu_control): New variable.
5933         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5934         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5935         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5936         * math/test-fpucw-static.c: New file.
5937         * math/test-fpucw-ieee.c: New file.
5938         * math/test-fpucw-ieee-static.c: New file.
5939         * math/Makefile (tests): Add `test-fpucw-ieee' and
5940         `$(tests-static)'.
5941         (tests-static): New variable.
5942         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5943         dependency to...
5944         [($(build-shared),yes)]
5945         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5946         ... this.
5947         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5948         New dependency.
5950 2013-09-09  Allan McRae  <allan@archlinux.org>
5952         [BZ #15939]
5953         * manual/string.texi (Collation Functions): Fix typo in
5954         strcoll example.
5955         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5957         [BZ #15893]
5958         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5960         [BZ #15892]
5961         * libio/memstream.c (open_memstream): Fix memory leak.
5962         * libio/wmemstream.c (open_wmemstream): Likewise.
5964         [BZ #15895]
5965         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5967 2013-09-09  Will Newton  <will.newton@linaro.org>
5969         * malloc/Makefile: Add tst-realloc to tests.
5970         * malloc/tst-realloc.c: New file.
5972 2013-09-09  Allan McRae  <allan@archlinux.org>
5974         [BZ #15844]
5975         * COPYING: Update from GNU website to fix FSF address.
5976         * COPYING.LIB: Likewise.
5978 2013-09-06  David S. Miller  <davem@davemloft.net>
5980         * po/zh_TW.po: Update Chinese (traditional) translation from
5981         translation project.
5983 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5984             Joseph Myers  <joseph@codesourcery.com>
5986         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5987         "localeinfo.h".
5988         (obstack_chunk_alloc): New macro.
5989         (obstack_chunk_free): Likewise.
5990         (record_offset): New function.
5991         (init_locale_data): Likewise.
5992         (align_locale_data): Likewise.
5993         (add_locale_empty): Likewise.
5994         (add_locale_raw_data): Likewise.
5995         (add_locale_raw_obstack): Likewise.
5996         (add_locale_string): Likewise.
5997         (add_locale_wstring): Likewise.
5998         (add_locale_uint32): Likewise.
5999         (add_locale_uint32_array): Likewise.
6000         (add_locale_char): Likewise.
6001         (start_locale_structure): Likewise.
6002         (end_locale_structure): Likewise.
6003         (start_locale_prelude): Likewise.
6004         (end_locale_prelude): Likewise.
6005         (write_locale_data): Take locale_file structure rather than an
6006         iovec.
6007         * locale/programs/locfile.h: Include "obstack.h".
6008         (struct locale_file): Change to store locale file contents instead
6009         of header.
6010         (init_locale_data): New prototype.
6011         (align_locale_data): Likewise.
6012         (add_locale_empty): Likewise.
6013         (add_locale_raw_data): Likewise.
6014         (add_locale_raw_obstack): Likewise.
6015         (add_locale_string): Likewise.
6016         (add_locale_wstring): Likewise.
6017         (add_locale_uint32): Likewise.
6018         (add_locale_uint32_array): Likewise.
6019         (add_locale_char): Likewise.
6020         (start_locale_structure): Likewise.
6021         (end_locale_structure): Likewise.
6022         (start_locale_prelude): Likewise.
6023         (end_locale_prelude): Likewise.
6024         (write_locale_data): Update prototype.
6025         * locale/programs/3level.h (struct TABLE): Remove result field.
6026         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6027         Use new locale_file interface.
6028         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6029         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6030         * locale/programs/ld-address.c (address_output): Use new
6031         locale_file interface.
6032         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6033         NO_ADD_LOCALE.
6034         (collate_finish): Don't call collseq_table_finalize.
6035         (collate_output): Use new locale_file interface.
6036         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6037         in file.
6038         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6039         (TABLE): Move defines earlier in file.
6040         (ELEMENT): Likewise.
6041         (DEFAULT): Likewise.
6042         (wctrans_table_add): Move macro and inline function earlier in
6043         file.
6044         (struct wctype_table): Move type earlier in file.
6045         (add_locale_wctype_table): New static prototype.
6046         (struct locale_ctype_t): Use logical types instead of struct iovec
6047         pointers for members.
6048         (ctype_output): Use new locale_file interface.
6049         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6050         new locale_file interface.
6051         (allocate_arrays): Update for use of new locale_file interface.
6052         * locale/programs/ld-identification.c (identification_output): Use
6053         new locale_file interface.
6054         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6055         * locale/programs/ld-messages.c (messages_output): Likewise.
6056         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6057         * locale/programs/ld-name.c (name_output): Likewise.
6058         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6059         * locale/programs/ld-paper.c (paper_output): Likewise.
6060         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6061         * locale/programs/ld-time.c (time_output): Likewise.
6063 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6065         * benchtests/Makefile: Add memrchr benchmark.
6066         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6067         benchmark as memrchr.
6068         * benchtests/bench-memrchr-ifunc.c: New file.
6069         * benchtests/bench-memrchr.c: New file.
6071 2013-09-06   Will Newton  <will.newton@linaro.org>
6073         * benchtests/Makefile (string-bench): Add memcpy.
6075 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6076             Cong Wang  <amwang@redhat.com>
6078         [BZ #15850]
6079         * sysdeps/unix/sysv/linux/bits/in.h
6080         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6081         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6082         before __USE_KERNEL_IPV6_DEFS uses.
6083         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6084         IPPROTO_BEETPH.
6085         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6086         sockaddr_in6, or ipv6_mreq.
6088 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6090         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6091         memory access for final bytes in some large inputs.
6092         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6094 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6096         * string/test-memrchr.c: New file.
6097         * string/test-memrchr-ifunc.c: New file.
6098         * string/Makefile: Add new memrchr testcase.
6100 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6102         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6103         fanotify_init returns EPERM.
6105 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6107         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6108         errors.
6109         (top level): Treat second token from macro or constant entries for
6110         allowed headers as allowed.
6111         * include/complex.h: Condition internal declarations on
6112         [!_ISOMAC].
6113         * include/fenv.h: Condition include of <stdbool.h> and internal
6114         declarations on [!_ISOMAC].
6116 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6118         [BZ #15923]
6119         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6121 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6123         * configure.in (--enable-versioning): Remove configure option.
6124         (libc_cv_asm_symver_directive): Remove configure test.
6125         (libc_cv_ld_version_script_option): Likewise.
6126         (VERSIONING): Remove variable and AC_SUBST.
6127         (DO_VERSIONING): Remove AC_DEFINE.
6128         * configure: Regenerated.
6129         * config.h.in (DO_VERSIONING): Remove macro.
6130         * Makerules [$(versioning) = yes]: Change conditionals to
6131         [$(build-shared) = yes].
6132         * config.make.in (versioning): Remove variable.
6133         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6134         [$(build-shared) = yes].
6135         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6136         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6137         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6138         [$(build-shared) = yes].
6139         * extra-lib.mk [$(versioning) = yes]: Likewise.
6140         * hurd/Makefile [$(versioning) = yes]: Likewise.
6141         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6142         [SHARED].
6143         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6144         [SHARED].
6145         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6146         [SHARED && !NO_HIDDEN].
6147         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6148         [SHARED].
6149         [SHARED && DO_VERSIONING]: Likewise..
6150         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6151         [$(build-shared) = yes].
6152         * manual/install.texi (--disable-versioning): Remove
6153         documentation.
6154         * INSTALL: Regenerated.
6155         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6156         to [SHARED].
6157         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6158         [$(build-shared) = yes].
6159         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6160         * sysdeps/i386/i686/multiarch/strstr-c.c
6161         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6162         [SHARED && !NO_HIDDEN].
6163         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6164         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6165         * sysdeps/powerpc/powerpc32/dl-machine.c
6166         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6167         * sysdeps/powerpc/powerpc32/sysdep.h
6168         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6169         to [SHARED && PIC && !NO_HIDDEN].
6170         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6171         conditional to [SHARED].
6173 2013-09-04   Will Newton  <will.newton@linaro.org>
6175         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6176         * benchtests/bench-string.h: Include bench-timing.h instead
6177         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6178         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6179         call to HP_TIMING_DIFF_INIT.
6180         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6181         instead of hp-timing.h macros.
6182         * benchtests/bench-memchr.c: Likewise.
6183         * benchtests/bench-memcmp.c: Likewise.
6184         * benchtests/bench-memcpy.c: Likewise.
6185         * benchtests/bench-memmem.c: Likewise.
6186         * benchtests/bench-memmove.c: Likewise.
6187         * benchtests/bench-memset.c: Likewise.
6188         * benchtests/bench-rawmemchr.c: Likewise.
6189         * benchtests/bench-strcasecmp.c: Likewise.
6190         * benchtests/bench-strcasestr.c: Likewise.
6191         * benchtests/bench-strcat.c: Likewise.
6192         * benchtests/bench-strchr.c: Likewise.
6193         * benchtests/bench-strcmp.c: Likewise.
6194         * benchtests/bench-strcpy.c: Likewise.
6195         * benchtests/bench-strcpy_chk.c: Likewise.
6196         * benchtests/bench-strlen.c: Likewise.
6197         * benchtests/bench-strncasecmp.c: Likewise.
6198         * benchtests/bench-strncat.c: Likewise.
6199         * benchtests/bench-strncmp.c: Likewise.
6200         * benchtests/bench-strncpy.c: Likewise.
6201         * benchtests/bench-strnlen.c: Likewise.
6202         * benchtests/bench-strpbrk.c: Likewise.
6203         * benchtests/bench-strrchr.c: Likewise.
6204         * benchtests/bench-strspn.c: Likewise.
6205         * benchtests/bench-strstr.c: Likewise.
6207 2013-09-04  Will Newton  <will.newton@linaro.org>
6209         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6211 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6213         [BZ #15427]
6214         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6215         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6216         * math/libm-test.inc (lgamma_test_data): Add more tests.
6217         * sysdeps/i386/fpu/libm-test-ulps: Update.
6218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6220 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6222         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6224         Add ifunc.
6225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6226         Add strcmp-sse2-unaligned
6227         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6229 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6231         * Versions.def (libc): Add GLIBC_2.19.
6233 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6235         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6236         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6238 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6240         [BZ #14155]
6241         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6242         intermediate calculations in recurrence.
6243         (__ieee754_ynf): Likewise.
6244         * math/libm-test.inc (jn_test_data): Do not allow spurious
6245         underflow exception.  Add more tests.
6246         (yn_test_data): Add more tests.
6247         * sysdeps/i386/fpu/libm-test-ulps: Update.
6248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6250 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6252         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6254 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6256         * csu/init-first.c: Fix then/than typos.
6257         * locale/programs/ld-collate.c: Likewise.
6258         * locale/programs/linereader.h: Likewise.
6259         * manual/charset.texi: Likewise.
6260         * manual/filesys.texi: Likewise.
6261         * manual/stdio.texi: Likewise.
6262         * manual/string.texi: Likewise.
6263         * stdlib/fmtmsg.c: Likewise.
6264         * sysdeps/i386/stpncpy.S: Likewise.
6265         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6266         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6267         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6268         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6270 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6272         * elf/dl-open.c: Fix typos.
6273         * iconvdata/gbbig5.c: Likewise.
6274         * iconvdata/iso-2022-jp.c: Likewise.
6275         * iconv/gconv_int.h: Likewise.
6276         * iconv/loop.c: Likewise.
6277         * nis/rpcsvc/nis.h: Likewise.
6278         * resolv/ns_name.c: Likewise.
6279         * stdio-common/vfscanf.c: Likewise.
6280         * streams/stropts.h: Likewise.
6281         * sunrpc/rpc_thread.c: Likewise.
6282         * sysdeps/i386/strpbrk.S: Likewise.
6283         * sysdeps/ieee754/k_standard.c: Likewise.
6284         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6285         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6286         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6287         * sysdeps/mach/hurd/profil.c: Likewise.
6288         * sysdeps/s390/dl-procinfo.h: Likewise.
6289         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6290         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6291         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6292         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6293         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6295 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6297         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6300 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6302         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6303         aix specific files.
6304         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6305         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6306         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6307         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6308         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6309         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6310         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6311         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6313 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6314             Roland McGrath  <roland@hack.frob.com>
6316         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6317         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6319 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6321         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6322         __executable_start symbol instead of _start.
6324 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6326         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6327         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6328         Move macros to...
6329         * sysdeps/gnu/ldsodefs.h: ... this new file.
6331         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6332         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6333         instead of ELFOSABI_LINUX.
6335         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6336         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6337         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6338         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6339         Likewise.
6340         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6341         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6342         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6343         Likewise.
6344         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6345         (ibm_extended_long_double): Add ieee_nan member.
6346         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6347         (do_test): New function.
6349         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6350         TEST_TRUNC.
6351         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6352         functions, renamed from truncdfsf_test, trunctfsf_test,
6353         trunctfdf_test.
6354         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6355         functions.
6356         (do_test): Run all these.
6358 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6360         * argp/argp-help.c: Fix typos.
6361         * argp/argp-parse.c: Likewise.
6362         * debug/backtracesyms.c: Likewise.
6363         * elf/elf.h: Likewise.
6364         * malloc/malloc.c: Likewise.
6365         * nis/nis_print.c: Likewise.
6366         * resolv/res_comp.c: Likewise.
6367         * stdlib/stdlib.h: Likewise.
6368         * sunrpc/clnt_tcp.c: Likewise.
6369         * sunrpc/clnt_udp.c: Likewise.
6370         * sunrpc/clnt_unix.c: Likewise.
6371         * sysdeps/unix/bsd/ptsname.c: Likewise.
6372         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6373         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6375         Likewise.
6376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6377         Likewise.
6378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6379         Likewise.
6380         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6382 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6384         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6387 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6389         [BZ #15897]
6390         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6391         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6392         ($(objpfx)bug-dl-leaf): New rule.
6393         ($(objpfx)bug-dl-leaf.so): Likewise.
6394         ($(objpfx)bug-dl-leaf.out): Likewise.
6395         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6396         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6397         * dlfcn/bug-dl-leaf.c: New test.
6398         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6399         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6400         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6401         (dlclose): Likewise.
6402         (dlmopen): Likewise.
6404 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6406         * include/netdb.h [!_ISOMAC]:
6407         Don't include <tls.h>.
6408         (h_errno, __libc_h_errno): Move declaration and macros out of
6409         [_LIBC_REENTRANT].
6411         * include/resolv.h [_RESOLV_H_]:
6412         Don't include <tls.h>.
6413         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6414         * resolv/res_libc.c: Don't include <tls.h>.
6415         (_res): Use __attribute__ ((nocommon)) in place of
6416         __attribute__ ((section (".bss"))).
6418         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6419         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6421         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6423         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6424         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6426         * resolv/res_mkquery.c: Include <sys/time.h>.
6428         * inet/ifreq.c: Moved to ...
6429         * sysdeps/unix/ifreq.c: ... here.
6430         * inet/ifreq.c: New file, true stub version.
6432         * socket/sa_len.c: New file.
6433         * socket/Makefile (aux): Add it.
6434         * sysdeps/unix/sysv/linux/Makefile
6435         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6436         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6437         and #include <socket/sa_len.c>.
6438         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6439         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6441         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6442         * bits/socket.h: ... here.
6444         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6445         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6446         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6448 2013-08-27  Andreas Schwab  <schwab@suse.de>
6450         [BZ #15736]
6451         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6452         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6453         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6454         * string/test-strcasecmp.c (test_main): Run tests in several
6455         locales.
6456         * string/test-strncasecmp.c (test_main): Likewise.
6458         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6459         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6460         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6461         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6462         (__strncasecmp_ssse3) [PIC]: Likewise.
6464 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6466         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6468         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6469         instead of explicitly declaring xdecrypt.
6470         * nis/nss_nis/nis-publickey.c: Likewise.
6472 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6474         [BZ #15890]
6475         * nscd/aicache.c: Include res_hconf.h.
6476         (addhstaiX): Initialize res_hconf.
6478 2013-08-26  Andreas Schwab  <schwab@suse.de>
6480         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6481         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6483 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6485         * nscd/aicache.c (addhstaiX): Fix indentation.
6487 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6489         * configure.ac: Quote $build_pt_chown test.
6490         * configure: Regenerated.
6492 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6494         [BZ #15532]
6495         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6496         * math/s_cexpf.c (__cexpf): Likewise.
6497         * math/s_cexpl.c (__cexpl): Likewise.
6498         * math/libm-test.inc (cexp_test_data): Correct expected return
6499         value for NaN + i0.  Add another test.
6501 2013-08-22  David S. Miller  <davem@davemloft.net>
6503         * po/ca.po: Update Catalan translation from translation project.
6504         * po/uk.po: Add Ukrainian translations from translation project.
6506 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6508         [BZ #15797]
6509         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6510         is infinite, not alongside NaN test.
6511         * math/s_fdimf.c (__fdimf): Likewise.
6512         * math/s_fdiml.c (__fdiml): Likewise.
6513         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6514         errno is unchanged.
6516 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6518         * argp/argp-help.c: Fix typos.
6519         * crypt/speeds.c: Likewise.
6520         * csu/check_fds.c: Likewise.
6521         * elf/dl-load.c: Likewise.
6522         * elf/dl-open.c: Likewise.
6523         * elf/reldep3.c: Likewise.
6524         * elf/reldep.c: Likewise.
6525         * elf/sprof.c: Likewise.
6526         * iconv/iconv_charmap.c: Likewise.
6527         * iconv/skeleton.c: Likewise.
6528         * iconv/strtab.c: Likewise.
6529         * io/lockf64.c: Likewise.
6530         * libio/libioP.h: Likewise.
6531         * resolv/gai_notify.c: Likewise.
6532         * resolv/ns_name.c: Likewise.
6533         * resolv/ns_samedomain.c: Likewise.
6534         * resolv/res_send.c: Likewise.
6535         * stdlib/random.c: Likewise.
6536         * sunrpc/rpc/xdr.h: Likewise.
6537         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6538         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6539         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6540         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6541         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6542         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6543         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6544         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6545         * sysdeps/mach/hurd/check_fds.c: Likewise.
6546         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6547         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6548         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6549         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6550         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6551         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6552         * sysdeps/pthread/aio_notify.c: Likewise.
6553         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6554         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6555         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6556         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6557         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6559 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6561         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6562         version if bit_Slow_SSE4_2 is set.
6563         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6564         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6566 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6568         [BZ #15867]
6569         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6570         trampoline stack frame information.
6571         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6572         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6573         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6574         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6575         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6576         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6577         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6578         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6579         sa_flags value.
6580         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6581         interrupting a syscall and set with option SA_SIGINFO.
6583 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6585         [BZ #15531]
6586         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6587         argument is infinite.
6588         * math/s_cprojf.c (__cprojf): Likewise.
6589         * math/s_cprojl.c (__cprojl): Likewise.
6590         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6591         * math/libm-test.inc (cproj_test_data): Add more tests.
6593         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6595         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6596         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6597         size.  Use __ffs to determine corresponding shift.
6599 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6600             Roland McGrath  <roland@hack.frob.com>
6602         * Makefile (INSTALL): Remove trailing blank lines from output of
6603         makeinfo.
6605 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6607         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6608         Align 32 bit compat elf_greg to 8 bytes.
6610 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6612         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6614 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6616         * string/strcoll_l.c (coll_seq): New structure.
6617         (get_next_seq_cached): New function.
6618         (get_next_seq): New function.
6619         (do_compare): New function.
6620         (STRCOLL): Use GNU style definition.  Simplify implementation
6621         by using get_next_seq, get_next_seq_cached and do_compare.
6623 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6625         [BZ #14699]
6626         CVE-2013-4237
6627         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6628         member.
6629         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6630         member.
6631         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6632         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6633         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6634         conditional.
6635         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6636         GETDENTS_64BIT_ALIGNED.
6637         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6638         * manual/filesys.texi (Reading/Closing Directory): Document
6639         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6640         strongly.
6641         * manual/conf.texi (Limits for Files): Add portability note to
6642         NAME_MAX, PATH_MAX.
6643         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6645 2013-08-13  Andreas Schwab  <schwab@suse.de>
6647         [BZ #15749]
6648         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6649         of fabs.
6650         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6651         LDBL_MAX_EXP >= 16384]: Add tests for it.
6653 2013-08-12  David S. Miller  <davem@davemloft.net>
6655         * version.h (RELEASE): Set to "development".
6656         (VERSION): Set to "2.18.90".
6657         * NEWS: Add 2.19 section.
6659 2013-08-03  David S. Miller  <davem@davemloft.net>
6661         * po/ko.po: Update Korean translation from translation project.
6663 2013-08-01  David S. Miller  <davem@davemloft.net>
6665         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6666         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6667         Bilka.
6669 2013-07-30  David S. Miller  <davem@davemloft.net>
6671         * po/fr.po: Update French translation from translation project.
6673 2013-07-28  David S. Miller  <davem@davemloft.net>
6675         * po/cs.po: Update Czech translation from translation project.
6677         * po/sv.po: Update Swedish translation from translation project.
6679 2013-07-27  David S. Miller  <davem@davemloft.net>
6681         * po/eo.po: Update Esperanto translation from translation project.
6683         * po/vi.po: Update Vietnamese translation from translation project.
6685         * po/de.po: Update German translation from translation project.
6687 2013-07-26  David S. Miller  <davem@davemloft.net>
6689         * po/bg.po: Update Bulgarian translation from translation project.
6691         * po/nl.po: Update Dutch translation from translation project.
6692         * po/pl.po: Update Polish translation from translation project.
6693         * po/ru.po: Update Russian translation from translation project.
6695 2013-07-24  David S. Miller  <davem@davemloft.net>
6697         * po/libc.pot: Update.
6699 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6701         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6702         variable page size.
6703         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6704         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6705         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6707 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6709         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6711 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6712             Andreas Schwab  <schwab@suse.de>
6713             Roland McGrath  <roland@hack.frob.com>
6714             Joseph Myers  <joseph@codesourcery.com>
6715             Carlos O'Donell  <carlos@redhat.com>
6717         [BZ #15755]
6718         * config.h.in: Define HAVE_PT_CHOWN.
6719         * config.make.in (build-pt-chown): New variable.
6720         * configure.in (--enable-pt_chown): New configure option.
6721         * configure: Regenerate.
6722         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6723         build-pt-chown is enabled.
6724         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6725         pt_chown to fix pty ownership.
6726         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6727         CLOSE_ALL_FDS.
6728         * manual/install.texi (Configuring and compiling): Mention
6729         --enable-pt_chown. Add @findex for grantpt.
6730         * INSTALL: Regenerate.
6732 2013-07-20  David S. Miller  <davem@davemloft.net>
6734         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6735         difference between 32-bit and 64-bit.
6737 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6739         [BZ #15711]
6740         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6741         Avoid system header dependency with -ffreestanding.
6742         ($(objpfx)bits/syscall%d): Likewise.
6744 2013-07-13  David S. Miller  <davem@davemloft.net>
6746         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6747         underflows from atanl/atan2l due to bug 15319.
6748         (casinh_test_data): Likewise.
6750 2013-07-07  David S. Miller  <davem@davemloft.net>
6752         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6754 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6756         * sysdeps/i386/fpu/libm-test-ulps: Update.
6757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6759 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6761         * configure.in (--enable-lock-elision): Fix message text.
6762         * INSTALL: Regenerate.
6763         * configure: Regenerate.
6765 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6769 2013-07-03  Andreas Jaeger  <aj@suse.de>
6771         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6772         define.
6773         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6774         (ptrace_peeksiginfo_args): Add.
6775         (__ptrace_peeksiginfo_flags): Add.
6776         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6777         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6778         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6780 2013-07-03  Allan McRae  <allan@archlinux.org>
6782         * sysdeps/i386/fpu/libm-test-ulps: Update.
6784 2013-07-02  David S. Miller  <davem@davemloft.net>
6786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6788 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6792 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6794         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6797 2013-07-02  Andi Kleen <ak@linux.intel.com>
6799         * config.h.in (ENABLE_LOCK_ELISION): Add.
6800         * configure.in (--enable-lock-elision): Add option.
6801         * manual/install.texi: Document --enable lock elision.
6802         * configure: Regenerate
6803         * INSTALL: Regenerate.
6805 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6807         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6808         SSE4.2 strcasecmp for libc.a.
6809         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6811 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6813         [BZ #13304]
6814         * soft-fp/op-common.h (_FP_FMA): New macro.
6815         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6816         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6817         (_FP_MUL_MEAT_1_imm): ... here.
6818         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6819         (_FP_MUL_MEAT_1_wide): ... here.
6820         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6821         (_FP_MUL_MEAT_1_hard): ... here.
6822         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6823         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6824         (_FP_MUL_MEAT_2_wide): ... here.
6825         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6826         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6827         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6828         (_FP_MUL_MEAT_2_gmp): ... here.
6829         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6830         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6831         (_FP_MUL_MEAT_4_wide): ... here.
6832         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6833         (_FP_MUL_MEAT_4_gmp): ... here.
6834         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6835         (_FP_WFRACBITS_DW_S): Likewise.
6836         (_FP_WFRACXBITS_DW_S): Likewise.
6837         (_FP_HIGHBIT_DW_S): Likewise.
6838         (FP_FMA_S): Likewise.
6839         (_FP_FRAC_HIGH_DW_S): Likewise.
6840         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6841         (_FP_WFRACBITS_DW_D): Likewise.
6842         (_FP_WFRACXBITS_DW_D): Likewise.
6843         (_FP_HIGHBIT_DW_D): Likewise.
6844         (FP_FMA_D): Likewise.
6845         (_FP_FRAC_HIGH_DW_D): Likewise.
6846         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6847         (_FP_WFRACBITS_DW_E): Likewise.
6848         (_FP_WFRACXBITS_DW_E): Likewise.
6849         (_FP_HIGHBIT_DW_E): Likewise.
6850         (FP_FMA_E): Likewise.
6851         (_FP_FRAC_HIGH_DW_E): Likewise.
6852         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6853         (_FP_WFRACBITS_DW_Q): Likewise.
6854         (_FP_WFRACXBITS_DW_Q): Likewise.
6855         (_FP_HIGHBIT_DW_Q): Likewise.
6856         (FP_FMA_Q): Likewise.
6857         (_FP_FRAC_HIGH_DW_Q): Likewise.
6858         * soft-fp/fmasf4.c: New file.
6859         * soft-fp/fmadf4.c: Likewise.
6860         * soft-fp/fmatf4.c: Likewise.
6862 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6865         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6866         Silvermont.
6867         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6868         macro.
6869         (index_Slow_SSE4_2): Likewise.
6870         (index_Prefer_PMINUB_for_stringop): Likewise.
6871         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6872         bit_Slow_SSE4_2 is set.
6873         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6874         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6876 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6878         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6879         rtld_global._dl_hwcap2.
6880         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6881         POWER8.
6882         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6883         POWER8 feature descriptions defined in _dl_hwcap2.
6884         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6885         string handling for POWER8 feature bits.
6886         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6887         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6888         _dl_powerpc_cap_flags.
6889         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6890         * sysdeps/powerpc/rtld-global-offsets.sym
6891         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6892         _dl_hwcap2 in the rtld_global_ro structure.
6894 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6896         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6897         hardware capabilities in support of AT_HWCAP2.
6898         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6899         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6900         GLRO(dl_hwcap2).
6901         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6902         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6903         explicitly the unknown a_type display mechanism is used.
6904         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6905         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6906         struct member.
6907         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6908         to macro prototype for AT_HWCAP2 support.
6909         * sysdeps/i386/dl-procinfo.h: Likewise.
6910         * sysdeps/s390/dl-procinfo.h: Likewise.
6911         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6912         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6913         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6914         return -1 for unknown a_type display fallback.
6915         * sysdeps/sparc/dl-procinfo.h: Likewise.
6916         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6917         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6919 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6921         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6922         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6924 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6926         [BZ #12492]
6927         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6928         mprotect making __stack_prot writable.
6930 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6931             Joseph Myers  <joseph@codesourcery.com>
6933         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6934         as being properly aligned.
6936 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6938         * dlfcn/modstatic5.c: New file.
6939         * dlfcn/tststatic5.c: New file.
6940         * dlfcn/Makefile (tests): Add tststatic5.
6941         (tests-static): Likewise.
6942         (modules-names): Add modstatic5.
6943         (tststatic5-ENV): New variable.
6944         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6946         [BZ #15022]
6947         * elf/dl-support.c (_dl_main_map): New variable.
6948         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6949         (_dl_nns, _dl_load_adds): Set to 1.
6950         (_dl_initial_searchlist): Refer to _dl_main_map.
6951         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6952         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6953         call to _dl_get_origin.
6954         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6955         around call_map.
6956         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6957         * dlfcn/modstatic3.c: New file.
6958         * dlfcn/tststatic3.c: New file.
6959         * dlfcn/tststatic4.c: New file.
6960         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6961         (tests-static): Likewise.
6962         (modules-names): Add modstatic3.
6963         (tststatic3-ENV, tststatic4-ENV): New variables.
6964         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6965         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6967 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6969         * configure.in (CC): Require GCC version 4.4 or later.
6970         * configure: Regenerated.
6971         * manual/install.texi (Tools for Compilation): Update GCC version
6972         requirement.
6973         * INSTALL: Regenerated.
6975 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6977         [BZ #15674]
6978         * string/test-memcmp.c (check2): New.
6979         (main): Call check2.
6981         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6983 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6985         [BZ #15022]
6986         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6987         over to...
6988         (dl_open_worker) [!SHARED]: ... here.
6990 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6992         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6994 2013-06-25  Richard Henderson  <rth@redhat.com>
6996         * locale/programs/locarchive.c: Include <libc-internal.h>
6998 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7000         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7001         trailing whitespace removed.
7003 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7005         [BZ #10283]
7006         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7007         * locale/programs/locarchive.c: Include libc-mmap.h.
7008         (prepare_address_space): Take two new outputs (the mmap base and len).
7009         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7010         values.
7011         (create_archive): Declare new mmap base and len values for
7012         prepare_address_space, and store the result in ah.
7013         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7014         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7015         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7016         Declare new mmap base and len values for
7017         prepare_address_space, and store the result in new_ah.
7018         (open_archive): Declare new mmap base and len values for
7019         prepare_address_space, and store the result in ah.
7020         (close_archive): If ah->mmap_base is not NULL, use that and
7021         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7022         * sysdeps/generic/libc-mmap.h: New file.
7024 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7026         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7027         (ALIGN_UP): Likewise.
7028         (PTR_ALIGN_DOWN): Likewise.
7029         (PTR_ALIGN_UP): Likewise.
7031 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7033         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7034         entry mapped to PPC_PLATFORM_POWER8.
7035         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7036         POWER8.
7037         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7038         (_dl_string_platform): Add case for exporting platform position for
7039         POWER8.
7040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7041         search path to sysdeps/powerpc/powerpc32/power8 directory.
7042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7043         search path to sysdeps/powerpc/powerpc64/power8 directory.
7044         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7045         power7 directories.
7046         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7047         power7 directories.
7049 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7051         * INSTALL: Regenerate.
7053         * nscd/connections.c (nscd_init): Fix comment.
7055 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7057         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7059         [BZ #15667]
7060         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7061         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7063 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7065         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7066         DL_DST_REQ_STATIC.
7067         (DL_DST_REQ_STATIC): Remove macro.
7069 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7071         [BZ #7006]
7072         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7073         with a shift of 0 bits.
7075 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7077         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7078         $(tststatic-ENV).
7080 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7082         [BZ #15655]
7083         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7085 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7087         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7088         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7089         accepts -fno-tree-loop-distribute-patterns.
7090         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7091         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7092         recursive call.
7093         * string/memset.c (memset): Likewise.
7094         * string/test-memmove.c (simple_memmove): Disable loop transformation
7095         to library calls.
7096         * string/test-memset.c (simple_memset): Likewise.
7097         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7098         * benchtests/bench-memset.c (simple_memset): Likewise.
7099         * configure: Regenerated.
7101 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7103         * math/test-misc.c (main): Ignore fesetround failure when failures
7104         of subsequent rounding tests would be ignored.
7106         [BZ #15654]
7107         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7108         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7109         * math/fegetenv.c (__fegetenv): Return 0.
7110         * math/fegetexcept.c (fegetexcept): Return 0.
7111         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7112         FE_TONEAREST.
7113         * math/feholdexcpt.c (feholdexcept): Return 0.
7114         * math/fesetenv.c (__fesetenv): Return 0.
7115         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7116         argument FE_TONEAREST.
7117         * math/feupdateenv.c (__feupdateenv): Return 0.
7118         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7120 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7122         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7123         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7124         ($(objpfx)rtld-%.os rules): Use them.
7126 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7128         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7129         fields.
7131 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7133         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7134         length of target pattern, then descending length of dependency pattern.
7135         * configure.in (AWK): Require gawk 3.1.2 or newer.
7136         * manual/install.texi (Tools for Compilation): Say that we do.
7137         * configure: Regenerated.
7139         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7140         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7141         * scripts/sysd-rules.awk: ... this new script.
7142         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7143         than a glob-style pattern.
7145 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7147         * math/test-misc.c (main): Do not treat incorrectly rounded
7148         conversions as failure unless ROUNDING_TESTS passes.
7150 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7152         [BZ #15631]
7153         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7154         restore exception state around main square root computation, then
7155         check for inexactness explicitly.
7157         * math/libm-test.inc (fma_test_data): Add another test.
7159 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7161         * manual/threads.texi (Non-POSIX Extensions): New document
7162         node.  Document pthread_getattr_default_np and
7163         pthread_setattr_default_np.
7165         * Versions.def (libpthread): Add GLIBC_2.18.
7166         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7168         Likewise.
7169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7170         Likewise.
7171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7172         Likewise.
7173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7174         Likewise.
7175         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7176         Likewise.
7177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7178         Likewise.
7179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7180         Likewise.
7181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7182         Likewise.
7183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7184         Likewise.
7186 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7189         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7191 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7192             H.J. Lu  <hjl.tools@gmail.com>
7194         [BZ #15627]
7195         * sysdeps/x86_64/rtld-memset.c: Remove file.
7196         * sysdeps/x86_64/rtld-memset.S: New file.
7198 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7200         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7201         (test_in_one_mode): Take arguments for whether the rounding mode
7202         is supported for each floating-point type.
7203         (do_test): Pass new arguments to test_in_one_mode using
7204         ROUNDING_TESTS.
7206 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7208         * posix/tst-waitid.c (do_test): Distinguish different instances of
7209         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7210         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7211         before entering the kernel for waitpid.
7213 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7215         * NEWS: Fix note on clock function precision.  Text by Roland
7216         McGrath.
7218 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7220         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7221         it into place only when and if the sanity check passes.
7223 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7225         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7226         output for whether conversion result is exact.  Take argument
7227         indicating whether type is IBM long double.
7228         (round_for_all): Change need_exact field to ibm_ld.
7229         * stdlib/tst-strtod-round.c (struct exactness): New type.
7230         (struct test): Change bool ld_ok field to struct exactness exact.
7231         (TEST): Update all definitions for change to field.
7232         (tests): Regenerate array contents.
7233         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7234         field value.  Check for IBM long double here.
7235         (do_test): Update calls to test_in_one_mode.
7237 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7239         [BZ #12515]
7240         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7241         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7243 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7245         [BZ #15605]
7246         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7247         generated by the compiler on loop optimizations.
7248         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7249         general definitions.
7251 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7253         * math/bug-nextafter.c: Include <math-tests.h>.
7254         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7255         the relevant type.
7256         * math/bug-nexttoward.c: Include <math-tests.h>.
7257         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7258         the relevant type.
7259         * math/test-misc.c: Include <math-tests.h>.
7260         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7261         the relevant type.
7263 2013-06-12  Andreas Jaeger  <aj@suse.de>
7265         * po/ia.po: Update Interlingua translation from translation
7266         project.
7268 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7270         * include/fenv.h: Include stdbool.h.
7271         (struct rm_ctx): New structure.
7272         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7273         Define macro.
7274         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7275         (SET_RESTORE_ROUNDF): Likewise.
7276         (SET_RESTORE_ROUNDL): Likewise.
7277         (SET_RESTORE_ROUND_NOEX): Likewise.
7278         (SET_RESTORE_ROUND_NOEXF): Likewise.
7279         (SET_RESTORE_ROUND_NOEXL): Likewise.
7280         (SET_RESTORE_ROUND_53BIT): Likewise.
7281         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7282         (libc_feresetround_noexf_ctx): Likewise.
7283         (libc_feresetround_noexl_ctx): Likewise.
7284         (libc_feholdsetround_53bit_ctx): Likewise.
7285         (libc_feresetround_53bit_ctx): Likewise.
7286         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7287         (libc_feholdexcept_setround_sse_ctx): New function.
7288         (libc_fesetenv_sse_ctx): Likewise.
7289         (libc_feupdateenv_sse_ctx): Likewise.
7290         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7291         (libc_feholdexcept_setround_387_ctx): Likewise.
7292         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7293         (libc_feholdsetround_387_prec_ctx): Likewise.
7294         (libc_feholdsetround_387_ctx): Likewise.
7295         (libc_feholdsetround_387_53bit_ctx): Likewise.
7296         (libc_feholdsetround_sse_ctx): Likewise.
7297         (libc_feresetround_sse_ctx): Likewise.
7298         (libc_feresetround_387_ctx): Likewise.
7299         (libc_feupdateenv_387_ctx): Likewise.
7300         (libc_feholdexcept_setroundf_ctx): Define macro.
7301         (libc_fesetenvf_ctx): Likewise.
7302         (libc_feupdateenvf_ctx): Likewise.
7303         (libc_feholdsetroundf_ctx): Likewise.
7304         (libc_feresetroundf_ctx): Likewise.
7305         (libc_feholdexcept_setround_ctx): Likewise.
7306         (libc_fesetenv_ctx): Likewise.
7307         (libc_feupdateenv_ctx): Likewise.
7308         (libc_feholdsetround_ctx): Likewise.
7309         (libc_feresetround_ctx): Likewise.
7310         (libc_feholdexcept_setroundl_ctx): Likewise.
7311         (libc_feupdateenvl_ctx): Likewise.
7312         (libc_feholdsetroundl_ctx): Likewise.
7313         (libc_feresetroundl_ctx): Likewise.
7314         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7315         (libc_feresetround_53bit_ctx): Likewise.
7317 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7319         * locale/iso-639.def: Convert to UTF-8.
7321 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7323         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7324         (EXCEPTION_TESTS_double): Likewise.
7325         (EXCEPTION_TESTS_long_double): Likewise.
7326         (EXCEPTION_TESTS): Likewise.
7327         * math/libm-test.inc (test_exceptions): Only test exceptions if
7328         EXCEPTION_TESTS (FLOAT).
7330 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7332         * benchtests/Makefile (string-bench): Add strcpy_chk and
7333         stpcpy_chk.
7334         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7335         * benchtests/bench-stpcpy_chk.c: New file.
7336         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7337         * benchtests/bench-strcpy_chk.c: New file.
7338         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7339         code.
7340         (do_test): Likewise.
7342 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7344         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7345         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7346         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7347         with tabs where appropriate.
7348         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7349         dl-procinfo.h.
7350         [PPC_PLATFORM_PPC440]: Likewise.
7351         [PPC_PLATFORM_PPC464]: Likewise.
7352         [PPC_PLATFORM_PPC476]: Likewise.
7353         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7354         ppc464, and ppc476 platform strings merging from ports/
7355         dl-procinfo.h.
7357 2013-06-11  Andreas Schwab  <schwab@suse.de>
7359         [BZ #14991]
7360         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7361         (from_ucs4_idx): Regenerate.
7362         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7363         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7364         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7365         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7366         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7367         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7368         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7369         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7370         from FROM_LOOP and TO_LOOP specific macros.
7371         (BODY): Handle combining characters.
7372         * iconvdata/BIG5HKSCS.irreversible: Update.
7373         * iconvdata/BIG5HKSCS.precomposed: New file.
7374         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7375         characters.
7376         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7378 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7380         * include/sys/time.h: Fix indentation and add copyright header.
7382         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7383         (do_test): Likewise.
7384         * string/test-memchr.c (do_one_test): Likewise.
7385         (do_test): Likewise.
7386         * string/test-memcmp.c (do_one_test): Likewise.
7387         (do_test): Likewise.
7388         * string/test-memcpy.c (do_one_test): Likewise.
7389         (do_test): Likewise.
7390         * string/test-memmem.c (do_one_test): Likewise.
7391         (do_test): Likewise.
7392         (do_random_tests): Likewise.
7393         * string/test-memmove.c (do_one_test): Likewise.
7394         (do_test): Likewise.
7395         * string/test-memset.c (do_one_test): Likewise.
7396         (do_test): Likewise.
7397         * string/test-rawmemchr.c (do_one_test): Likewise.
7398         (do_test): Likewise.
7399         * string/test-strcasecmp.c (do_one_test): Likewise.
7400         (do_test): Likewise.
7401         * string/test-strcasestr.c (do_one_test): Likewise.
7402         (do_test): Likewise.
7403         * string/test-strcat.c (do_one_test): Likewise.
7404         (do_test): Likewise.
7405         * string/test-strchr.c (do_one_test): Likewise.
7406         (do_test): Likewise.
7407         * string/test-strcmp.c (do_one_test): Likewise.
7408         (do_test): Likewise.
7409         * string/test-strcpy.c (do_one_test): Likewise.
7410         (do_test): Likewise.
7411         * string/test-string.h: Likewise.
7412         (test_init): Likewise.
7413         * string/test-strlen.c (do_one_test): Likewise.
7414         (do_test): Likewise.
7415         * string/test-strncasecmp.c (do_one_test): Likewise.
7416         (do_test): Likewise.
7417         * string/test-strncat.c (do_one_test): Likewise.
7418         (do_test): Likewise.
7419         * string/test-strncmp.c (do_one_test): Likewise.
7420         (do_test_limit): Likewise.
7421         (do_test): Likewise.
7422         * string/test-strncpy.c (do_one_test): Likewise.
7423         (do_test): Likewise.
7424         * string/test-strnlen.c (do_one_test): Likewise.
7425         (do_test): Likewise.
7426         * string/test-strpbrk.c (do_one_test): Likewise.
7427         (do_test): Likewise.
7428         * string/test-strrchr.c (do_one_test): Likewise.
7429         (do_test): Likewise.
7430         * string/test-strspn.c (do_one_test): Likewise.
7431         (do_test): Likewise.
7432         * string/test-strstr.c (do_one_test): Likewise.
7433         (do_test): Likewise.
7435         * benchtests/Makefile (string-bench): Add string benchmarks.
7436         * benchtests/bench-bcopy-ifunc.c: New file.
7437         * benchtests/bench-bcopy.c: New file.
7438         * benchtests/bench-bzero-ifunc.c: New file.
7439         * benchtests/bench-bzero.c: New file.
7440         * benchtests/bench-memccpy-ifunc.c: New file.
7441         * benchtests/bench-memccpy.c: New file.
7442         * benchtests/bench-memchr-ifunc.c: New file.
7443         * benchtests/bench-memchr.c: New file.
7444         * benchtests/bench-memcmp-ifunc.c: New file.
7445         * benchtests/bench-memcmp.c: New file.
7446         * benchtests/bench-memmem-ifunc.c: New file.
7447         * benchtests/bench-memmem.c: New file.
7448         * benchtests/bench-memmove-ifunc.c: New file.
7449         * benchtests/bench-memmove.c: New file.
7450         * benchtests/bench-mempcpy-ifunc.c: New file.
7451         * benchtests/bench-mempcpy.c: New file.
7452         * benchtests/bench-memset-ifunc.c: New file.
7453         * benchtests/bench-memset.c: New file.
7454         * benchtests/bench-rawmemchr-ifunc.c: New file.
7455         * benchtests/bench-rawmemchr.c: New file.
7456         * benchtests/bench-stpcpy-ifunc.c: New file.
7457         * benchtests/bench-stpcpy.c: New file.
7458         * benchtests/bench-stpncpy-ifunc.c: New file.
7459         * benchtests/bench-stpncpy.c: New file.
7460         * benchtests/bench-strcasecmp-ifunc.c: New file.
7461         * benchtests/bench-strcasecmp.c: New file.
7462         * benchtests/bench-strcasestr-ifunc.c: New file.
7463         * benchtests/bench-strcasestr.c: New file.
7464         * benchtests/bench-strcat-ifunc.c: New file.
7465         * benchtests/bench-strcat.c: New file.
7466         * benchtests/bench-strchr-ifunc.c: New file.
7467         * benchtests/bench-strchr.c: New file.
7468         * benchtests/bench-strchrnul-ifunc.c: New file.
7469         * benchtests/bench-strchrnul.c: New file.
7470         * benchtests/bench-strcmp-ifunc.c: New file.
7471         * benchtests/bench-strcmp.c: New file.
7472         * benchtests/bench-strcpy-ifunc.c: New file.
7473         * benchtests/bench-strcpy.c: New file.
7474         * benchtests/bench-strcspn-ifunc.c: New file.
7475         * benchtests/bench-strcspn.c: New file.
7476         * benchtests/bench-strlen-ifunc.c: New file.
7477         * benchtests/bench-strlen.c: New file.
7478         * benchtests/bench-strncasecmp-ifunc.c: New file.
7479         * benchtests/bench-strncasecmp.c: New file.
7480         * benchtests/bench-strncat-ifunc.c: New file.
7481         * benchtests/bench-strncat.c: New file.
7482         * benchtests/bench-strncmp-ifunc.c: New file.
7483         * benchtests/bench-strncmp.c: New file.
7484         * benchtests/bench-strncpy-ifunc.c: New file.
7485         * benchtests/bench-strncpy.c: New file.
7486         * benchtests/bench-strnlen-ifunc.c: New file.
7487         * benchtests/bench-strnlen.c: New file.
7488         * benchtests/bench-strpbrk-ifunc.c: New file.
7489         * benchtests/bench-strpbrk.c: New file.
7490         * benchtests/bench-strrchr-ifunc.c: New file.
7491         * benchtests/bench-strrchr.c: New file.
7492         * benchtests/bench-strspn-ifunc.c: New file.
7493         * benchtests/bench-strspn.c: New file.
7494         * benchtests/bench-strstr-ifunc.c: New file.
7495         * benchtests/bench-strstr.c: New file.
7497         * benchtests/Makefile: Disable parallel execution of targets.
7498         (string-bench): Add memcpy.
7499         (benchset): New variable to store a list of benchmark sets.
7500         (bench-func): Renamed from bench.
7501         (bench-set): New target.
7502         (bench): Depend on bench-func and bench-set.
7503         * benchtests/README: Add section on benchmark sets.
7504         * benchtests/bench-memcpy-ifunc.c: New file.
7505         * benchtests/bench-memcpy.c: New file.
7506         * benchtests/bench-string.h: New file.
7508 2013-06-11  Andreas Schwab  <schwab@suse.de>
7510         [BZ #15577]
7511         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7512         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7513         values in the triple.
7514         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7515         terminator in the group key.
7517 2013-06-11  Andreas Jaeger  <aj@suse.de>
7519         * po/zh_TW.po: Update Chinese (traditional) translation from
7520         translation project.
7522 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7524         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7525         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7526         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7527         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7528         (clock_getcpuclockid): Likewise.
7529         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7530         Add weak_alias and libc_hidden_def.
7531         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7532         * rt/clock_gettime.c (clock_gettime): Rename to
7533         __clock_gettime.  Add weak_alias and libc_hidden_def.
7534         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7535         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7536         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7537         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7538         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7539         Likewise.
7540         * rt/clock_settime.c (clock_settime): Rename to
7541         __clock_settime.  Add weak_alias and libc_hidden_def.
7542         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7544 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7546         * mach/err_boot.sub: Remove trailing whitespace.
7547         * mach/err_ipc.sub: Likewise.
7548         * mach/err_mach.sub: Likewise.
7550         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7551         (ROUNDING_TESTS_double): Likewise.
7552         (ROUNDING_TESTS_long_double): Likewise.
7553         (ROUNDING_TESTS): Likewise.
7554         * math/libm-test.inc: Include <math-tests.h>.
7555         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7556         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7557         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7558         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7560 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7562         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7563         of assigning.
7565 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7567         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7568         otherwise empty TRANS lines.
7569         * sysdeps/gnu/errlist.c: Regenerated.
7571         * catgets/gencat.c (error_print): Use (void) in function
7572         definition.
7573         * crypt/crypt_util.c (__init_des): Likewise.
7574         * crypt/speeds.c (Stop): Likewise.
7575         (main): Likewise.
7576         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7577         * inet/ruserpass.c (token): Likewise.
7578         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7579         * intl/localealias.c (extend_alias_table): Likewise.
7580         * intl/plural-exp.c (init_germanic_plural): Likewise.
7581         * libio/fcloseall.c (__fcloseall): Likewise.
7582         * libio/genops.c (_IO_flush_all): Likewise.
7583         (_IO_flush_all_linebuffered): Likewise.
7584         (_IO_cleanup): Likewise.
7585         (_IO_iter_begin): Likewise.
7586         (_IO_iter_end): Likewise.
7587         (_IO_list_lock): Likewise.
7588         (_IO_list_unlock): Likewise.
7589         (_IO_list_resetlock): Likewise.
7590         * libio/getchar.c (getchar): Likewise.
7591         * libio/getchar_u.c (getchar_unlocked): Likewise.
7592         * libio/getwchar.c (getwchar): Likewise.
7593         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7594         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7595         * login/getpt.c (__getpt): Likewise.
7596         * login/tst-utmp.c (main): Likewise.
7597         * malloc/hooks.c (__malloc_check_init): Likewise.
7598         * malloc/malloc.c (__malloc_stats): Likewise.
7599         * malloc/mtrace.c (tr_break): Likewise.
7600         (mtrace): Likewise.
7601         (muntrace): Likewise.
7602         * misc/fstab.c (endfsent): Likewise.
7603         * misc/getclktck.c (__getclktck): Likewise.
7604         * misc/getdtsz.c (__getdtablesize): Likewise.
7605         * misc/gethostid.c (gethostid): Likewise.
7606         * misc/getpagesize.c (__getpagesize): Likewise.
7607         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7608         (__get_nprocs): Likewise.
7609         (__get_phys_pages): Likewise.
7610         (__get_avphys_pages): Likewise.
7611         * misc/getttyent.c (getttyent): Likewise.
7612         (setttyent): Likewise.
7613         (endttyent): Likewise.
7614         * misc/getusershell.c (getusershell): Likewise.
7615         (endusershell): Likewise.
7616         (setusershell): Likewise.
7617         (initshells): Likewise.
7618         * misc/hsearch.c (__hdestroy): Likewise.
7619         * misc/sync.c (sync): Likewise.
7620         * misc/syslog.c (closelog_internal): Likewise.
7621         (closelog): Likewise.
7622         * misc/ttyslot.c (ttyslot): Likewise.
7623         * misc/vhangup.c (vhangup): Likewise.
7624         * posix/fork.c (__fork): Likewise.
7625         * posix/getegid.c (__getegid): Likewise.
7626         * posix/geteuid.c (__geteuid): Likewise.
7627         * posix/getgid.c (__getgid): Likewise.
7628         * posix/getpid.c (__getpid): Likewise.
7629         * posix/getppid.c (__getppid): Likewise.
7630         * posix/getuid.c (__getuid): Likewise.
7631         * posix/pause.c (pause): Likewise.
7632         * posix/setpgrp.c (setpgrp): Likewise.
7633         * posix/setsid.c (__setsid): Likewise.
7634         * posix/test-vfork.c (noop): Likewise.
7635         * resolv/gethnamaddr.c (_endhtent): Likewise.
7636         (_gethtent): Likewise.
7637         (ht_endhostent): Likewise.
7638         (gethostent): Likewise.
7639         (dns_service): Likewise.
7640         * stdlib/drand48.c (drand48): Likewise.
7641         * stdlib/lrand48.c (lrand48): Likewise.
7642         * stdlib/mrand48.c (mrand48): Likewise.
7643         * stdlib/rand.c (rand): Likewise.
7644         * stdlib/random.c (__random): Likewise.
7645         * stdlib/setenv.c (clearenv): Likewise.
7646         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7647         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7648         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7649         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7650         (__get_nprocs): Likewise.
7651         (__get_phys_pages): Likewise.
7652         (__get_avphys_pages): Likewise.
7653         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7654         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7655         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7656         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7657         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7658         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7659         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7660         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7661         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7662         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7663         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7664         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7665         * sysdeps/posix/clock.c (clock): Likewise.
7666         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7667         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7668         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7669         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7670         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7671         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7672         (__get_nprocs_conf): Likewise.
7673         (__get_phys_pages): Likewise.
7674         (__get_avphys_pages): Likewise.
7675         * time/clock.c (clock): Likewise.
7676         * time/tzset.c (__tzname_max): Likewise.
7678 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7680         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7681         (__bswap_32): Do not use "register".
7682         * crypt/crypt.c (_ufc_doit_r): Likewise.
7683         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7684         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7685         * gmon/gmon.c (__monstartup): Likewise.
7686         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7687         * hurd/hurdmalloc.c (more_memory): Likewise.
7688         (malloc): Likewise.
7689         (free): Likewise.
7690         (realloc): Likewise.
7691         (malloc_fork_prepare): Likewise.
7692         (malloc_fork_parent): Likewise.
7693         (malloc_fork_child): Likewise.
7694         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7695         (_svcauth_des): Likewise.
7696         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7697         * inet/inet_net.c (inet_network): Likewise.
7698         * inet/inet_netof.c (inet_netof): Likewise.
7699         * inet/rcmd.c (__validuser2_sa): Likewise.
7700         * io/fts.c (fts_open): Likewise.
7701         (fts_load): Likewise.
7702         (fts_close): Likewise.
7703         (fts_read): Likewise.
7704         (fts_children): Likewise.
7705         (fts_build): Likewise.
7706         (fts_stat): Likewise.
7707         (fts_sort): Likewise.
7708         (fts_alloc): Likewise.
7709         (fts_lfree): Likewise.
7710         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7711         (_IO_file_xsgetn): Likewise.
7712         (_IO_file_xsgetn_mmap): Likewise.
7713         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7714         (_IO_cookie_write): Likewise.
7715         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7716         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7717         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7718         * malloc/obstack.c (_obstack_begin): Likewise.
7719         (_obstack_begin_1): Likewise.
7720         (_obstack_newchunk): Likewise.
7721         (_obstack_allocated_p): Likewise.
7722         (obstack_free): Likewise.
7723         (_obstack_memory_used): Likewise.
7724         * misc/getttyent.c (getttynam): Likewise.
7725         (getttyent): Likewise.
7726         (skip): Likewise.
7727         (value): Likewise.
7728         * misc/getusershell.c (initshells): Likewise.
7729         * misc/syslog.c (__vsyslog_chk): Likewise.
7730         * misc/ttyslot.c (ttyslot): Likewise.
7731         * nis/nis_hash.c (__nis_hash): Likewise.
7732         * posix/fnmatch_loop.c (FCT): Likewise.
7733         * posix/getconf.c (print_all): Likewise.
7734         (main): Likewise.
7735         * posix/getopt.c (exchange): Likewise.
7736         * posix/glob.c (globfree): Likewise.
7737         (prefix_array): Likewise.
7738         (__glob_pattern_type): Likewise.
7739         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7740         (NS_GET32): Likewise.
7741         (NS_PUT16): Likewise.
7742         (NS_PUT32): Likewise.
7743         * resolv/gethnamaddr.c (getanswer): Likewise.
7744         (gethostbyname2): Likewise.
7745         (gethostbyaddr): Likewise.
7746         (_gethtent): Likewise.
7747         (_gethtbyname2): Likewise.
7748         (_gethtbyaddr): Likewise.
7749         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7750         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7751         * resolv/res_init.c (__res_vinit): Likewise.
7752         (net_mask): Likewise.
7753         * resolv/res_mkquery.c (outchar): Likewise.
7754         (PRINT): Likewise.
7755         * stdio-common/printf_fp.c (outchar): Likewise.
7756         (PRINT): Likewise.
7757         * stdio-common/printf_fphex.c (outchar): Likewise.
7758         (PRINT): Likewise.
7759         * stdio-common/printf_size.c (outchar): Likewise.
7760         (PRINT): Likewise.
7761         * stdio-common/test_rdwr.c (main): Likewise.
7762         * stdio-common/tfformat.c (matches): Likewise.
7763         * stdio-common/vfprintf.c (outchar): Likewise.
7764         (printf_unknown): Likewise.
7765         (buffered_vfprintf): Likewise.
7766         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7767         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7768         (ReadFile): Likewise.
7769         * stdlib/qsort.c (SWAP): Likewise.
7770         (_quicksort): Likewise.
7771         * stdlib/setenv.c (__add_to_environ): Likewise.
7772         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7773         * stdlib/strtol_l.c (__strtol_l): Likewise.
7774         * stdlib/tst-strtod.c (main): Likewise.
7775         * stdlib/tst-strtol.c (main): Likewise.
7776         * stdlib/tst-strtoll.c (main): Likewise.
7777         * string/bits/string2.h (__strcmp_cc): Likewise.
7778         (__strcmp_cg): Likewise.
7779         (__strcspn_c1): Likewise.
7780         (__strcspn_c2): Likewise.
7781         (__strcspn_c3): Likewise.
7782         (__strspn_c1): Likewise.
7783         (__strspn_c2): Likewise.
7784         (__strspn_c3): Likewise.
7785         (__strsep_1c): Likewise.
7786         (__strsep_2c): Likewise.
7787         (__strsep_3c): Likewise.
7788         * string/memccpy.c (__memccpy): Likewise.
7789         * string/stpcpy.c (__stpcpy): Likewise.
7790         * string/strcmp.c (strcmp): Likewise.
7791         * string/strrchr.c (strrchr): Likewise.
7792         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7793         Likewise.
7794         * sysdeps/mach/hurd/getcwd.c
7795         (_hurd_canonicalize_directory_name_internal): Likewise.
7796         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7797         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7798         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7799         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7800         Likewise, in both definitions.
7801         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7802         definitions.
7803         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7804         64] (__bswap_64): Likewise.
7805         * time/test_time.c (main): Likewise.
7806         * time/tzfile.c (__tzfile_read): Likewise.
7807         (__tzfile_compute): Likewise.
7808         * time/tzset.c (__tzset_parse_tz): Likewise.
7809         (tzset_internal): Likewise.
7810         (compute_change): Likewise.
7811         * wcsmbs/wcscat.c (__wcscat): Likewise.
7812         * wcsmbs/wcschr.c (wcschr): Likewise.
7813         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7814         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7815         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7816         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7817         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7818         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7819         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7820         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7821         * wcsmbs/wmemset.c (wmemset): Likewise.
7823 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7825         * scripts/config.guess: Update to version 2013-05-16.
7826         * scripts/config.sub: Update to version 2013-04-24.
7827         * scripts/install-sh: Update to version 2011-11-20.07.
7828         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7829         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7831 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7833         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7834         * elf/sln.c: Likewise.
7835         * hurd/hurd/ioctl.h: Likewise.
7836         * hurd/hurdmalloc.c: Likewise.
7837         * hurd/xattr.c: Likewise.
7838         * include/shlib-compat.h: Likewise.
7839         * inet/ruserpass.c: Likewise.
7840         * libio/iofgets_u.c: Likewise.
7841         * libio/iofgetws_u.c: Likewise.
7842         * locale/programs/ld-identification.c: Likewise.
7843         * locale/programs/ld-time.c: Likewise.
7844         * mach/msg-destroy.c: Likewise.
7845         * nss/nss_files/files-netgrp.c: Likewise.
7846         * resolv/res_data.c: Likewise.
7847         * soft-fp/op-1.h: Likewise.
7848         * soft-fp/op-2.h: Likewise.
7849         * soft-fp/op-4.h: Likewise.
7850         * soft-fp/op-common.h: Likewise.
7851         * stdio-common/printf_fphex.c: Likewise.
7852         * stdlib/strtod_l.c: Likewise.
7853         * sunrpc/rpc/clnt.h: Likewise.
7854         * sysdeps/generic/framestate.c: Likewise.
7855         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7856         * sysdeps/i386/bsd-setjmp.S: Likewise.
7857         * sysdeps/i386/__longjmp.S: Likewise.
7858         * sysdeps/i386/setjmp.S: Likewise.
7859         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7860         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7861         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7862         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7863         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7864         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7865         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7866         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7867         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7868         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7869         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7870         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7871         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7872         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7873         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7874         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7875         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7876         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7877         * sysdeps/ieee754/support.c: Likewise.
7878         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7879         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7880         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7881         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7882         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7883         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7884         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7885         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7886         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7887         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7888         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7889         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7890         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7891         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7892         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7893         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7894         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7897 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7899         * posix/transbug.c: Remove executable mode.
7901 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7903         * crypt/speeds.c: Remove trailing whitespace.
7904         * dlfcn/default.c: Likewise.
7905         * elf/ifuncdep2.c: Likewise.
7906         * elf/ifuncmain1.c: Likewise.
7907         * elf/ifuncmain1vis.c: Likewise.
7908         * elf/testobj.h: Likewise.
7909         * elf/tst-stackguard1.c: Likewise.
7910         * gmon/sys/gmon.h: Likewise.
7911         * hurd/hurdmsg.c: Likewise.
7912         * hurd/new-fd.c: Likewise.
7913         * hurd/ports-get.c: Likewise.
7914         * iconvdata/ibm1008_420.c: Likewise.
7915         * inet/tst-getni1.c: Likewise.
7916         * inet/tst-getni2.c: Likewise.
7917         * libio/ioungetc.c: Likewise.
7918         * libio/wfiledoalloc.c: Likewise.
7919         * manual/libm-err-tab.pl: Likewise.
7920         * math/w_dremf.c: Likewise.
7921         * misc/ftruncate.c: Likewise.
7922         * posix/bug-glob2.c: Likewise.
7923         * posix/tst-pcre.c: Likewise.
7924         * posix/wait4.c: Likewise.
7925         * resolv/README: Likewise.
7926         * resolv/res_debug.h: Likewise.
7927         * resolv/tst-inet_ntop.c: Likewise.
7928         * setjmp/bug269-setjmp.c: Likewise.
7929         * soft-fp/extended.h: Likewise.
7930         * soft-fp/op-1.h: Likewise.
7931         * soft-fp/op-2.h: Likewise.
7932         * soft-fp/op-4.h: Likewise.
7933         * soft-fp/op-8.h: Likewise.
7934         * soft-fp/testit.c: Likewise.
7935         * stdio-common/bug16.c: Likewise.
7936         * stdlib/random.c: Likewise.
7937         * sunrpc/rpcsvc/rquota.x: Likewise.
7938         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7939         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7940         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7941         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7942         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7943         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7944         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7945         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7946         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7947         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7948         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7949         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7950         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7951         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7952         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7953         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7954         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7955         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7956         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7957         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7958         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7959         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7960         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7961         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7962         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7963         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7964         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7965         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7966         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7967         * sysdeps/ieee754/s_lib_version.c: Likewise.
7968         * sysdeps/mach/hurd/check_fds.c: Likewise.
7969         * sysdeps/mach/hurd/getsockname.c: Likewise.
7970         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7971         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7972         * sysdeps/powerpc/bits/link.h: Likewise.
7973         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7974         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7975         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7976         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7977         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7978         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7979         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7980         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7981         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7982         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7983         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7984         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7985         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7986         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7987         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7988         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7989         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7990         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7991         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7992         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7993         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7994         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7995         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7996         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7997         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7998         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7999         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8000         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8001         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8002         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8003         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8004         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8005         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8006         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8007         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8008         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8009         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8010         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8011         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8012         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8013         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8014         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8015         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8016         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8017         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8018         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8019         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8020         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8021         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8022         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8023         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8025         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8026         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8027         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8028         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8029         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8030         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8031         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8032         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8033         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8034         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8035         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8036         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8037         * sysdeps/powerpc/sysdep.h: Likewise.
8038         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8039         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8040         * sysdeps/sh/dl-trampoline.S: Likewise.
8041         * sysdeps/sh/memset.S: Likewise.
8042         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8043         * sysdeps/sh/strlen.S: Likewise.
8044         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8045         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8046         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8047         * sysdeps/sparc/sparc32/rem.S: Likewise.
8048         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8049         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8050         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8051         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8052         * sysdeps/sparc/sparc32/urem.S: Likewise.
8053         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8054         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8055         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8056         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8057         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8058         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8059         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8060         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8061         * sysdeps/unix/bsd/times.c: Likewise.
8062         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8063         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8067         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8068         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8069         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8070         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8071         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8072         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8073         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8074         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8075         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8076         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8077         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8078         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8079         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8080         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8081         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8082         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8083         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8084         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8085         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8086         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8087         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8088         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8089         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8090         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8091         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8092         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8093         * sysdeps/x86_64/strcspn.S: Likewise.
8095 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8097         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8098         generated file.  Regenerate properly from gen-translit.pl.
8099         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8100         locale/C-translit.h.
8102 2013-06-05  Andreas Schwab  <schwab@suse.de>
8104         [BZ #15100]
8105         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8106         week as 6 instead of -1.
8107         * time/tst-strptime.c (day_tests): Add test case.
8109 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8111         * sysdeps/generic/math_private.h
8112         (libc_feholdexcept_setround_53bit): Replace with
8113         libc_feholdsetround_53bit.
8114         (libc_feupdateenv_53bit): Replace with
8115         libc_feresetround_53bit.
8116         (SET_RESTORE_ROUND_53BIT): Adjust.
8118 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8120         * string/test-strchrnul.c: Add copyright header.
8122         * posix/tst-getaddrinfo4.c: Increase test timeout.
8124 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8126         [BZ #15536]
8127         * math/libm-test.inc (MAX_EXP): Remove
8128         (MIN_EXP): Define.
8129         (ulp): Use MIN_EXP - MANT_DIG.
8130         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8132 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8134         * po/be.po: Revert last change.
8135         * po/zh_CN.po: Likewise.
8136         * po/header.pot: Likewise.
8138 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8140         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8141         link-libc-deps to empty as target-specific variable.
8142         * Makerules (link-libc-args): New variable.
8143         (libc-for-link): Likewise.
8144         (link-libc-deps): Likewise.
8145         (lib%.so): Depend on $(link-libc-deps).  Link with
8146         $(link-libc-args).
8147         (build-module): Link with $(link-libc-args).
8148         (build-module-asneeded): Likewise.
8149         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8150         list of objects.
8151         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8152         target-specific variable.
8153         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8154         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8155         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8156         libc.
8157         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8158         libc and ld.so.
8159         ($(objpfx)libpcprofile.so): Likewise.
8160         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8161         libc_nonshared.a.
8162         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8163         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8164         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8165         $(link-libc-deps).
8166         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8167         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8168         * login/Makefile ($(objpfx)libutil.so): Likewise.
8169         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8170         * math/Makefile ($(objpfx)libm.so): Likewise.
8171         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8172         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8173         variable instead of depending directly on libc.
8174         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8175         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8176         $(link-libc-deps).
8177         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8178         libc.
8179         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8180         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8181         ($(objpfx)libanl.so): Likewise.
8182         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8183         ld.so.
8184         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8185         $(link-libc-deps).
8186         * sysdeps/i386/fpu/Makefile: Remove file.
8187         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8188         ($(objpfx)libm.so): Remove dependency on ld.so.
8190 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8192         [BZ # 15553]
8193         * nis/yp_xdr.c (XDRMAXNAME): Define.
8194         (XDRMAXRECORD): Define.
8195         (xdr_domainname): Use XDRMAXNAME.
8196         (xdr_mapname): Likewise.
8197         (xdr_peername): Likewise.
8198         (xdr_keydat): Use XDRMAXRECORD.
8199         (xdr_valdat): Likewise.
8201 2013-05-30  Jeff Law  <law@redhat.com>
8203         [BZ #14256]
8204         * manual/errno.texi (ESTALE): Update to account for more than
8205         just NFS file systems.
8206         * sysdeps/gnu/errlist.c: Regenerated.
8208 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8210         [BZ #15465]
8211         * elf/Makefile (tests): Add tst-null-argv.
8212         (modules-names):  Add tst-null-argv-lib.
8213         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8214         (tst-null-argv-ENV): Set environment for tst-null-argv.
8215         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8216         (RTLD_PROGNAME): New macro.
8217         * elf/tst-null-argv.c: New test case.
8218         * elf/tst-null-argv-lib.c: Library for test case.
8219         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8220         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8221         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8222         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8223         * elf/dl-init.c (call_init): Likewise.
8224         (_dl_init): Likewise.
8225         * elf/dl-load.c (print_search_path): Likewise.
8226         (_dl_map_object): Likewise.
8227         * elf/dl-lookup.c (do_lookup_x): Likewise.
8228         (add_dependency): Likewise.
8229         (_dl_lookup_symbol_x): Likewise.
8230         (_dl_debug_bindings): Likewise.
8231         * elf/dl-open.c (_dl_show_scope): Likewise.
8232         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8233         * elf/dl-version.c (match_symbol): Likewise.
8234         (_dl_check_map_versions): Likewise.
8235         * elf/rtld.c (dl_main): Likewise.
8236         (print_unresolved): Use RTLD_PROGNAME.
8237         (print_missing_version): Likewise.
8238         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8239         (elf_machine_rela): Likewise.
8240         * sysdeps/powerpc/powerpc32/dl-machine.c
8241         (__process_machine_rela): Likewise.
8242         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8243         Likewise.
8244         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8245         Likewise.
8246         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8247         Likewise.
8248         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8249         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8250         Likewise.
8251         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8252         Likewise.
8253         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8255 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8257         * po/be.po: Add descriptive title.
8258         * po/zh_CN.po: Likewise.
8259         * po/header.pot: Likewise.
8261 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8263         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8264         error message.
8265         (enlarge_archive): Likewise.
8267 2013-05-28  Ben North  <ben@redfrontdoor.org>
8269         * manual/arith.texi (frexp): It is the magnitude of the return
8270         value which lies in [0.5, 1), not the return value itself.
8272 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8276 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8278         * stdio-common/bug26.c (main): Correct fscanf template.
8280         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8281         declare _dl_skip_args.
8283         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8284         Don't declare.
8286         * manual/platform.texi: Add missing @end deftypefun.
8288 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8290         [BZ #15529]
8291         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8292         bit of mantissa of 2^16382.
8293         * math/libm-test.inc (hypot_test_data): Add more tests.
8295         * math/libm-test.inc: Add drem and pow10 to list of tested
8296         functions.
8297         (pow10_test): New function.
8298         (drem_test): Likewise.
8299         (drem_test_tonearest): Likewise.
8300         (drem_test_towardzero): Likewise.
8301         (drem_test_downward): Likewise.
8302         (drem_test_upward): Likewise.
8303         (main): Call the new functions.
8305         * math/libm-test.inc (finite_test_data): Remove.
8306         (finite_test): Run tests from isfinite_test_data.
8307         (gamma_test_data): Remove.
8308         (gamma_test): Run tests from lgamma_test_data.
8309         * sysdeps/i386/fpu/libm-test-ulps: Update.
8310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8312 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8314         * manual/platform.texi: Add PowerPC PPR function set documentation.
8315         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8316         implementation.
8318 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8320         * math/libm-test.inc (MAX_EXP): Define.
8321         (ULPDIFF): Define.
8322         (ulp): New function.
8323         (check_float_internal): Use ULPDIFF.
8324         (cpow_test): Disable failing test.
8325         (check_ulp): Test ulp() implemetnation.
8326         (main): Call check_ulp before starting tests.
8328 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8330         * math/gen-libm-test.pl (generate_testfile): Do not handle
8331         START_DATA and END_DATA.
8332         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8333         END_DATA.
8334         (acos_tonearest_test_data): Likewise.
8335         (acos_towardzero_test_data): Likewise.
8336         (acos_downward_test_data): Likewise.
8337         (acos_upward_test_data): Likewise.
8338         (acosh_test_data): Likewise.
8339         (asin_test_data): Likewise.
8340         (asin_tonearest_test_data): Likewise.
8341         (asin_towardzero_test_data): Likewise.
8342         (asin_downward_test_data): Likewise.
8343         (asin_upward_test_data): Likewise.
8344         (asinh_test_data): Likewise.
8345         (atan_test_data): Likewise.
8346         (atanh_test_data): Likewise.
8347         (atan2_test_data): Likewise.
8348         (cabs_test_data): Likewise.
8349         (cacos_test_data): Likewise.
8350         (cacosh_test_data): Likewise.
8351         (carg_test_data): Likewise.
8352         (casin_test_data): Likewise.
8353         (casinh_test_data): Likewise.
8354         (catan_test_data): Likewise.
8355         (catanh_test_data): Likewise.
8356         (cbrt_test_data): Likewise.
8357         (ccos_test_data): Likewise.
8358         (ccosh_test_data): Likewise.
8359         (ceil_test_data): Likewise.
8360         (cexp_test_data): Likewise.
8361         (cimag_test_data): Likewise.
8362         (clog_test_data): Likewise.
8363         (clog10_test_data): Likewise.
8364         (conj_test_data): Likewise.
8365         (copysign_test_data): Likewise.
8366         (cos_test_data): Likewise.
8367         (cos_tonearest_test_data): Likewise.
8368         (cos_towardzero_test_data): Likewise.
8369         (cos_downward_test_data): Likewise.
8370         (cos_upward_test_data): Likewise.
8371         (cosh_test_data): Likewise.
8372         (cosh_tonearest_test_data): Likewise.
8373         (cosh_towardzero_test_data): Likewise.
8374         (cosh_downward_test_data): Likewise.
8375         (cosh_upward_test_data): Likewise.
8376         (cpow_test_data): Likewise.
8377         (cproj_test_data): Likewise.
8378         (creal_test_data): Likewise.
8379         (csin_test_data): Likewise.
8380         (csinh_test_data): Likewise.
8381         (csqrt_test_data): Likewise.
8382         (ctan_test_data): Likewise.
8383         (ctan_tonearest_test_data): Likewise.
8384         (ctan_towardzero_test_data): Likewise.
8385         (ctan_downward_test_data): Likewise.
8386         (ctan_upward_test_data): Likewise.
8387         (ctanh_test_data): Likewise.
8388         (ctanh_tonearest_test_data): Likewise.
8389         (ctanh_towardzero_test_data): Likewise.
8390         (ctanh_downward_test_data): Likewise.
8391         (ctanh_upward_test_data): Likewise.
8392         (erf_test_data): Likewise.
8393         (erfc_test_data): Likewise.
8394         (exp_test_data): Likewise.
8395         (exp_tonearest_test_data): Likewise.
8396         (exp_towardzero_test_data): Likewise.
8397         (exp_downward_test_data): Likewise.
8398         (exp_upward_test_data): Likewise.
8399         (exp10_test_data): Likewise.
8400         (exp2_test_data): Likewise.
8401         (expm1_test_data): Likewise.
8402         (fabs_test_data): Likewise.
8403         (fdim_test_data): Likewise.
8404         (finite_test_data): Likewise.
8405         (floor_test_data): Likewise.
8406         (fma_test_data): Likewise.
8407         (fma_towardzero_test_data): Likewise.
8408         (fma_downward_test_data): Likewise.
8409         (fma_upward_test_data): Likewise.
8410         (fmax_test_data): Likewise.
8411         (fmin_test_data): Likewise.
8412         (fmod_test_data): Likewise.
8413         (fpclassify_test_data): Likewise.
8414         (frexp_test_data): Likewise.
8415         (gamma_test_data): Likewise.
8416         (hypot_test_data): Likewise.
8417         (ilogb_test_data): Likewise.
8418         (isfinite_test_data): Likewise.
8419         (isgreater_test_data): Likewise.
8420         (isgreaterequal_test_data): Likewise.
8421         (isinf_test_data): Likewise.
8422         (isless_test_data): Likewise.
8423         (islessequal_test_data): Likewise.
8424         (islessgreater_test_data): Likewise.
8425         (isnan_test_data): Likewise.
8426         (isnormal_test_data): Likewise.
8427         (issignaling_test_data): Likewise.
8428         (isunordered_test_data): Likewise.
8429         (j0_test_data): Likewise.
8430         (j1_test_data): Likewise.
8431         (jn_test_data): Likewise.
8432         (ldexp_test_data): Likewise.
8433         (lgamma_test_data): Likewise.
8434         (lrint_test_data): Likewise.
8435         (lrint_tonearest_test_data): Likewise.
8436         (lrint_towardzero_test_data): Likewise.
8437         (lrint_downward_test_data): Likewise.
8438         (lrint_upward_test_data): Likewise.
8439         (llrint_test_data): Likewise.
8440         (llrint_tonearest_test_data): Likewise.
8441         (llrint_towardzero_test_data): Likewise.
8442         (llrint_downward_test_data): Likewise.
8443         (llrint_upward_test_data): Likewise.
8444         (log_test_data): Likewise.
8445         (log10_test_data): Likewise.
8446         (log1p_test_data): Likewise.
8447         (log2_test_data): Likewise.
8448         (logb_test_data): Likewise.
8449         (logb_downward_test_data): Likewise.
8450         (lround_test_data): Likewise.
8451         (llround_test_data): Likewise.
8452         (modf_test_data): Likewise.
8453         (nearbyint_test_data): Likewise.
8454         (nextafter_test_data): Likewise.
8455         (nexttoward_test_data): Likewise.
8456         (pow_test_data): Likewise.
8457         (pow_tonearest_test_data): Likewise.
8458         (pow_towardzero_test_data): Likewise.
8459         (pow_downward_test_data): Likewise.
8460         (pow_upward_test_data): Likewise.
8461         (remainder_test_data): Likewise.
8462         (remainder_tonearest_test_data): Likewise.
8463         (remainder_towardzero_test_data): Likewise.
8464         (remainder_downward_test_data): Likewise.
8465         (remainder_upward_test_data): Likewise.
8466         (remquo_test_data): Likewise.
8467         (rint_test_data): Likewise.
8468         (rint_tonearest_test_data): Likewise.
8469         (rint_towardzero_test_data): Likewise.
8470         (rint_downward_test_data): Likewise.
8471         (rint_upward_test_data): Likewise.
8472         (round_test_data): Likewise.
8473         (scalb_test_data): Likewise.
8474         (scalbn_test_data): Likewise.
8475         (scalbln_test_data): Likewise.
8476         (signbit_test_data): Likewise.
8477         (sin_test_data): Likewise.
8478         (sin_tonearest_test_data): Likewise.
8479         (sin_towardzero_test_data): Likewise.
8480         (sin_downward_test_data): Likewise.
8481         (sin_upward_test_data): Likewise.
8482         (sincos_test_data): Likewise.
8483         (sinh_test_data): Likewise.
8484         (sinh_tonearest_test_data): Likewise.
8485         (sinh_towardzero_test_data): Likewise.
8486         (sinh_downward_test_data): Likewise.
8487         (sinh_upward_test_data): Likewise.
8488         (sqrt_test_data): Likewise.
8489         (tan_test_data): Likewise.
8490         (tan_tonearest_test_data): Likewise.
8491         (tan_towardzero_test_data): Likewise.
8492         (tan_downward_test_data): Likewise.
8493         (tan_upward_test_data): Likewise.
8494         (tanh_test_data): Likewise.
8495         (tgamma_test_data): Likewise.
8496         (trunc_test_data): Likewise.
8497         (y0_test_data): Likewise.
8498         (y1_test_data): Likewise.
8499         (yn_test_data): Likewise.
8500         (significand_test_data): Likewise.
8502         * math/gen-libm-test.pl (@functions): Remove variable.
8503         (generate_testfile): Don't handle START and END lines.
8504         * math/libm-test.inc (START): New macro.
8505         (END): Likewise.
8506         (END_COMPLEX): Likewise.
8507         (acos_test): Use END macro without arguments.
8508         (acos_test_tonearest): Likewise.
8509         (acos_test_towardzero): Likewise.
8510         (acos_test_downward): Likewise.
8511         (acos_test_upward): Likewise.
8512         (acosh_test): Likewise.
8513         (asin_test): Likewise.
8514         (asin_test_tonearest): Likewise.
8515         (asin_test_towardzero): Likewise.
8516         (asin_test_downward): Likewise.
8517         (asin_test_upward): Likewise.
8518         (asinh_test): Likewise.
8519         (atan_test): Likewise.
8520         (atanh_test): Likewise.
8521         (atan2_test): Likewise.
8522         (cabs_test): Likewise.
8523         (cacos_test): Use END_COMPLEX macro without arguments.
8524         (cacosh_test): Likewise.
8525         (carg_test): Use END macro without arguments.
8526         (casin_test): Use END_COMPLEX macro without arguments.
8527         (casinh_test): Likewise.
8528         (catan_test): Likewise.
8529         (catanh_test): Likewise.
8530         (cbrt_test): Use END macro without arguments.
8531         (ccos_test): Use END_COMPLEX macro without arguments.
8532         (ccosh_test): Likewise.
8533         (ceil_test): Use END macro without arguments.
8534         (cexp_test): Use END_COMPLEX macro without arguments.
8535         (cimag_test): Use END macro without arguments.
8536         (clog_test): Use END_COMPLEX macro without arguments.
8537         (clog10_test): Likewise.
8538         (conj_test): Likewise.
8539         (copysign_test): Use END macro without arguments.
8540         (cos_test): Likewise.
8541         (cos_test_tonearest): Likewise.
8542         (cos_test_towardzero): Likewise.
8543         (cos_test_downward): Likewise.
8544         (cos_test_upward): Likewise.
8545         (cosh_test): Likewise.
8546         (cosh_test_tonearest): Likewise.
8547         (cosh_test_towardzero): Likewise.
8548         (cosh_test_downward): Likewise.
8549         (cosh_test_upward): Likewise.
8550         (cpow_test): Use END_COMPLEX macro without arguments.
8551         (cproj_test): Likewise.
8552         (creal_test): Use END macro without arguments.
8553         (csin_test): Use END_COMPLEX macro without arguments.
8554         (csinh_test): Likewise.
8555         (csqrt_test): Likewise.
8556         (ctan_test): Likewise.
8557         (ctan_test_tonearest): Likewise.
8558         (ctan_test_towardzero): Likewise.
8559         (ctan_test_downward): Likewise.
8560         (ctan_test_upward): Likewise.
8561         (ctanh_test): Likewise.
8562         (ctanh_test_tonearest): Likewise.
8563         (ctanh_test_towardzero): Likewise.
8564         (ctanh_test_downward): Likewise.
8565         (ctanh_test_upward): Likewise.
8566         (erf_test): Use END macro without arguments.
8567         (erfc_test): Likewise.
8568         (exp_test): Likewise.
8569         (exp_test_tonearest): Likewise.
8570         (exp_test_towardzero): Likewise.
8571         (exp_test_downward): Likewise.
8572         (exp_test_upward): Likewise.
8573         (exp10_test): Likewise.
8574         (exp2_test): Likewise.
8575         (expm1_test): Likewise.
8576         (fabs_test): Likewise.
8577         (fdim_test): Likewise.
8578         (finite_test): Likewise.
8579         (floor_test): Likewise.
8580         (fma_test): Likewise.
8581         (fma_test_towardzero): Likewise.
8582         (fma_test_downward): Likewise.
8583         (fma_test_upward): Likewise.
8584         (fmax_test): Likewise.
8585         (fmin_test): Likewise.
8586         (fmod_test): Likewise.
8587         (fpclassify_test): Likewise.
8588         (frexp_test): Likewise.
8589         (gamma_test): Likewise.
8590         (hypot_test): Likewise.
8591         (ilogb_test): Likewise.
8592         (isfinite_test): Likewise.
8593         (isgreater_test): Likewise.
8594         (isgreaterequal_test): Likewise.
8595         (isinf_test): Likewise.
8596         (isless_test): Likewise.
8597         (islessequal_test): Likewise.
8598         (islessgreater_test): Likewise.
8599         (isnan_test): Likewise.
8600         (isnormal_test): Likewise.
8601         (issignaling_test): Likewise.
8602         (isunordered_test): Likewise.
8603         (j0_test): Likewise.
8604         (j1_test): Likewise.
8605         (jn_test): Likewise.
8606         (ldexp_test): Likewise.
8607         (lgamma_test): Likewise.
8608         (lrint_test): Likewise.
8609         (lrint_test_tonearest): Likewise.
8610         (lrint_test_towardzero): Likewise.
8611         (lrint_test_downward): Likewise.
8612         (lrint_test_upward): Likewise.
8613         (llrint_test): Likewise.
8614         (llrint_test_tonearest): Likewise.
8615         (llrint_test_towardzero): Likewise.
8616         (llrint_test_downward): Likewise.
8617         (llrint_test_upward): Likewise.
8618         (log_test): Likewise.
8619         (log10_test): Likewise.
8620         (log1p_test): Likewise.
8621         (log2_test): Likewise.
8622         (logb_test): Likewise.
8623         (logb_test_downward): Likewise.
8624         (lround_test): Likewise.
8625         (llround_test): Likewise.
8626         (modf_test): Likewise.
8627         (nearbyint_test): Likewise.
8628         (nextafter_test): Likewise.
8629         (nexttoward_test): Likewise.
8630         (pow_test): Likewise.
8631         (pow_test_tonearest): Likewise.
8632         (pow_test_towardzero): Likewise.
8633         (pow_test_downward): Likewise.
8634         (pow_test_upward): Likewise.
8635         (remainder_test): Likewise.
8636         (remainder_test_tonearest): Likewise.
8637         (remainder_test_towardzero): Likewise.
8638         (remainder_test_downward): Likewise.
8639         (remainder_test_upward): Likewise.
8640         (remquo_test): Likewise.
8641         (rint_test): Likewise.
8642         (rint_test_tonearest): Likewise.
8643         (rint_test_towardzero): Likewise.
8644         (rint_test_downward): Likewise.
8645         (rint_test_upward): Likewise.
8646         (round_test): Likewise.
8647         (scalb_test): Likewise.
8648         (scalbn_test): Likewise.
8649         (scalbln_test): Likewise.
8650         (signbit_test): Likewise.
8651         (sin_test): Likewise.
8652         (sin_test_tonearest): Likewise.
8653         (sin_test_towardzero): Likewise.
8654         (sin_test_downward): Likewise.
8655         (sin_test_upward): Likewise.
8656         (sincos_test): Likewise.
8657         (sinh_test): Likewise.
8658         (sinh_test_tonearest): Likewise.
8659         (sinh_test_towardzero): Likewise.
8660         (sinh_test_downward): Likewise.
8661         (sinh_test_upward): Likewise.
8662         (sqrt_test): Likewise.
8663         (tan_test): Likewise.
8664         (tan_test_tonearest): Likewise.
8665         (tan_test_towardzero): Likewise.
8666         (tan_test_downward): Likewise.
8667         (tan_test_upward): Likewise.
8668         (tanh_test): Likewise.
8669         (tgamma_test): Likewise.
8670         (trunc_test): Likewise.
8671         (y0_test): Likewise.
8672         (y1_test): Likewise.
8673         (yn_test): Likewise.
8674         (significand_test): Likewise.
8676 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8678         [BZ #15381]
8679         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8681 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8683         [BZ #14894]
8684         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8685         __ppc_mdoio and __ppc_mdoom.
8686         * manual/platform.texi: Document new functions __ppc_yield,
8687         __ppc_mdoio and __ppc_mdoom.
8689 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8691         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8692         (main): Mention "tls" pseudo-hwcap is legacy.
8693         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8695 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8697         * math/gen-libm-test.pl (parse_args): Output only string of
8698         arguments as text for test name, not full call or descriptions of
8699         tests for extra outputs.
8700         (generate_testfile): Do not pass function name to parse_args.
8701         Generate this_func variable from START.
8702         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8703         field to arg_str.
8704         (struct test_ff_f_data): Likewise.
8705         (test_ff_f_data_nexttoward): Likewise.
8706         (struct test_fi_f_data): Likewise.
8707         (struct test_fl_f_data): Likewise.
8708         (struct test_if_f_data): Likewise.
8709         (struct test_fff_f_data): Likewise.
8710         (struct test_c_f_data): Likewise.
8711         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8712         (struct test_fF_f1_data): Likewise.
8713         (struct test_ffI_f1_data): Likewise.
8714         (struct test_c_c_data): Rename test_name field to arg_str.
8715         (struct test_cc_c_data): Likewise.
8716         (struct test_f_i_data): Likewise.
8717         (struct test_ff_i_data): Likewise.
8718         (struct test_f_l_data): Likewise.
8719         (struct test_f_L_data): Likewise.
8720         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8721         and extra2_name.
8722         (COMMON_TEST_SETUP): New macro.
8723         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8724         (COMMON_TEST_CLEANUP): Likewise.
8725         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8726         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8727         macros.
8728         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8729         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8730         macros.
8731         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8732         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8733         cleanup macros.
8734         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8735         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8736         macros.
8737         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8738         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8739         macros.
8740         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8741         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8742         cleanup macros.
8743         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8744         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8745         cleanup macros.
8746         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8747         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8748         cleanup macros.
8749         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8750         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8751         macros.
8752         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8753         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8754         macros.
8755         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8756         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8757         macros.
8758         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8759         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8760         cleanup macros.
8761         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8762         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8763         cleanup macros.
8764         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8765         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8766         macros.
8767         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8768         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8769         cleanup macros.
8770         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8771         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8772         macros.
8773         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8774         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8775         macros.
8776         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8777         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8778         cleanup macros.
8779         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8781 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8783         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8784         to _sifields.sigfault.
8785         (si_addr_lsb): Define new macro.
8786         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8787         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8788         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8790 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8792         [BZ #15441]
8793         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8794         returns -1.
8795         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8796         null return -1.
8797         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8798         loading the domain.
8800 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8802         * math/gen-libm-test.pl (parse_args): Do not include expected
8803         result in test name.
8804         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8805         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8806         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8807         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8808         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8811 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8813         * benchtests/Makefile: Sort function entries.
8815         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8816         tanh, asinh, acosh, atanh.
8817         * benchtests/acos-inputs: New file.
8818         * benchtests/acosh-inputs: New file.
8819         * benchtests/asin-inputs: New file.
8820         * benchtests/asinh-inputs: New file.
8821         * benchtests/atanh-inputs: New file.
8822         * benchtests/cosh-inputs: New file.
8823         * benchtests/log-inputs: New file.
8824         * benchtests/sinh-inputs: New file.
8825         * benchtests/tanh-inputs: New file.
8827 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8829         [BZ #15339]
8830         * posix/tst-getaddrinfo4.c: New test.
8831         * posix/Makefile (tests): Add it.
8833 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8835         [BZ #15339]
8836         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8837         when no services were used.
8838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8839         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8841 2013-05-21  Andreas Schwab  <schwab@suse.de>
8843         [BZ #15014]
8844         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8845         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8846         successful.
8847         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8848         redundant variable declarations and reallocation of buffer when
8849         parsing as IPv6 address.  Always set NSS status when called from
8850         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8851         buffer too small.  Correct computation of needed size.
8852         * nss/Makefile (tests): Add test-digits-dots.
8853         * nss/test-digits-dots.c: New test.
8855 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8857         * benchtests/Makefile: Remove instructions for adding
8858         benchmark tests.
8859         * benchtests/README: New file to explain how to execute and
8860         enhance the benchmark tests.
8862 2013-05-21  Andreas Schwab  <schwab@suse.de>
8864         [BZ #15493]
8865         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8866         * setjmp/tst-sigsetjmp.c: New test.
8868 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8870         * sysdeps/x86_64/memset.S (memset): New implementation.
8871         (__bzero): Likewise.
8872         (__memset_tail): New function.
8874 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8876         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8877         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8878         __memcpy_sse2_unaligned ifunc selection.
8879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8880         Add memcpy-sse2-unaligned.S.
8881         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8882         Add: __memcpy_sse2_unaligned.
8884 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8886         [BZ #15490]
8887         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8888         math_force_eval before restoring floating-point envrionment.
8889         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8890         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8891         Likewise.
8892         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8893         <math_private.h>.
8894         (__nearbyintl): Use math_force_eval before restoring
8895         floating-point environment.
8896         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8898         * math/gen-libm-test.pl (special_functions): Remove.
8899         (parse_args): Don't handle TEST_extra.  Handle functions with no
8900         return value.
8901         * math/libm-test.inc (struct test_sincos_data): Replace with
8902         struct test_fFF_11_data.
8903         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8904         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8905         (sincos_test_data): Change element type to struct
8906         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8907         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8908         RUN_TEST_LOOP_sincos.
8909         * math/README.libm-test: Don't mention special handling of
8910         individual functions.
8911         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8912         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8913         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8914         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8915         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8918         * math/gen-libm-test.pl (get_variable): Remove function.
8919         (parse_args): Don't show pointer parameters to call in test
8920         names.  Use "extra output N" in test names for extra outputs
8921         rather than naming variables.
8923 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8925         [BZ #15488]
8926         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8927         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8928         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8929         double tests.
8930         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8931         disable.
8932         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8933         check_long_double.
8935         * math/gen-libm-test.pl (@tests): Remove variable.
8936         ($count): Likewise.
8937         (new_test): Remove function.
8938         (show_exceptions): New function.
8939         (special_functions): Use show_exceptions instead of new_test.
8940         (parse_args): Likewise.
8941         (generate_testfile): Pass only function name in generated call to
8942         print_max_error or print_complex_max_error.
8943         (get_ulps): Do not handle complex tests specially.
8944         (output_test): Rename to ...
8945         (get_all_ulps_for_test): ... this.  Return a string rather than
8946         printing to a file.  Require ulps to be present.
8947         (output_ulps): Generate arrays rather than #defines.
8948         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8949         (struct ulp_data): New type.
8950         (BUILD_COMPLEX_ULP): Remove macro.
8951         (compare_ulp_data): New function.
8952         (find_ulps): Likewise.
8953         (find_test_ulps): Likewise.
8954         (find_function_ulps): Likewise.
8955         (find_complex_function_ulps): Likewise.
8956         (print_max_error): Determine allowed ulps using
8957         find_function_ulps.
8958         (print_complex_max_error): Determine allowed ulps using
8959         find_complex_function_ulps.
8960         (check_float_internal): Determine max ulps using find_test_ulps.
8961         (check_float): Do not take max_ulp parameter.  Update call to
8962         check_float_internal.
8963         (check_complex): Likewise.
8964         (check_int): Do not take max_ulp parameter.
8965         (check_long): Likewise.
8966         (check_bool): Likewise.
8967         (check_longlong): Likewise.
8968         (struct test_f_f_data): Remove max_ulp field.
8969         (struct test_ff_f_data): Likewise.
8970         (struct test_ff_f_data_nexttoward): Likewise.
8971         (struct test_fi_f_data): Likewise.
8972         (struct test_fl_f_data): Likewise.
8973         (struct test_if_f_data): Likewise.
8974         (struct test_fff_f_data): Likewise.
8975         (struct test_c_f_data): Likewise.
8976         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8977         (struct test_fF_f1_data): Likewise.
8978         (struct test_ffI_f1_data): Likewise.
8979         (struct test_c_c_data): Remove max_ulp field.
8980         (struct test_cc_c_data): Likewise.
8981         (struct test_f_i_data): Likewise.
8982         (struct test_ff_i_data): Likewise.
8983         (struct test_f_l_data): Likewise.
8984         (struct test_f_L_data): Likewise.
8985         (struct test_sincos_data): Likewise.
8986         (RUN_TEST_f_f): Do not handle ulps.
8987         (RUN_TEST_LOOP_f_f): Likewise.
8988         (RUN_TEST_2_f): Likewise.
8989         (RUN_TEST_LOOP_2_f): Likewise.
8990         (RUN_TEST_fff_f): Likewise.
8991         (RUN_TEST_LOOP_fff_f): Likewise.
8992         (RUN_TEST_c_f): Likewise.
8993         (RUN_TEST_LOOP_c_f): Likewise.
8994         (RUN_TEST_f_f1): Likewise.
8995         (RUN_TEST_LOOP_f_f1): Likewise.
8996         (RUN_TEST_fF_f1): Likewise.
8997         (RUN_TEST_LOOP_fF_f1): Likewise.
8998         (RUN_TEST_fI_f1): Likewise.
8999         (RUN_TEST_LOOP_fI_f1): Likewise.
9000         (RUN_TEST_ffI_f1): Likewise.
9001         (RUN_TEST_LOOP_ffI_f1): Likewise.
9002         (RUN_TEST_c_c): Likewise.
9003         (RUN_TEST_LOOP_c_c): Likewise.
9004         (RUN_TEST_cc_c): Likewise.
9005         (RUN_TEST_LOOP_cc_c): Likewise.
9006         (RUN_TEST_f_i): Likewise.
9007         (RUN_TEST_LOOP_f_i): Likewise.
9008         (RUN_TEST_f_i_tg): Likewise.
9009         (RUN_TEST_LOOP_f_i_tg): Likewise.
9010         (RUN_TEST_ff_i_tg): Likewise.
9011         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9012         (RUN_TEST_f_b): Likewise.
9013         (RUN_TEST_LOOP_f_b): Likewise.
9014         (RUN_TEST_f_b_tg): Likewise.
9015         (RUN_TEST_LOOP_f_b_tg): Likewise.
9016         (RUN_TEST_f_l): Likewise.
9017         (RUN_TEST_LOOP_f_l): Likewise.
9018         (RUN_TEST_f_L): Likewise.
9019         (RUN_TEST_LOOP_f_L): Likewise.
9020         (RUN_TEST_sincos): Likewise.
9021         (RUN_TEST_LOOP_sincos): Likewise.
9023 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9025         [BZ #15480]
9026         [BZ #15485]
9027         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9028         main case of finite arguments, set rounding mode to FE_TONEAREST
9029         and discard exceptions.
9030         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9031         exceptions.
9032         (remainder_tonearest_test_data): New variable.
9033         (remainder_test_tonearest): New function.
9034         (remainder_towardzero_test_data): New variable.
9035         (remainder_test_towardzero): New function.
9036         (remainder_downward_test_data): New variable.
9037         (remainder_test_downward): New function.
9038         (remainder_upward_test_data): New variable.
9039         (remainder_test_upward): New function.
9040         (main): Call the new test functions.
9042         * math/libm-test.inc (struct test_f_f1_data): Remove field
9043         extra_init.
9044         (struct test_fF_f1_data): Likewise.
9045         (struct test_ffI_f1_data): Likewise.
9046         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9047         based on value of EXTRA_EXPECTED.
9048         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9049         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9050         EXTRA_VAR based on value of EXTRA_EXPECTED.
9051         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9052         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9053         EXTRA_VAR based on value of EXTRA_EXPECTED.
9054         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9055         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9056         EXTRA_VAR based on value of EXTRA_EXPECTED.
9057         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9058         * math/gen-libm-test.pl (parse_args): Don't output initializers
9059         for extra output values.
9061         * math/libm-test.inc (check_int): Expect result to be exactly
9062         equal to expected value and do not handle ulps.
9063         (check_long): Likewise.
9064         (check_longlong): Likewise.
9066         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9067         exceptions.
9068         (cimag_test_data): Likewise.
9069         (conj_test_data): Likewise.
9070         (copysign_test_data): Likewise.
9071         (cproj_test_data): Likewise.
9072         (creal_test_data): Likewise.
9073         (fabs_test_data): Likewise.
9074         (fdim_test_data): Likewise.
9075         (finite_test_data): Likewise.
9076         (floor_test_data): Likewise.
9077         (fmax_test_data): Likewise.
9078         (fmin_test_data): Likewise.
9079         (fmod_test_data): Likewise.
9080         (fpclassify_test_data): Likewise.
9081         (frexp_test_data): Likewise.
9082         (ilogb_test_data): Likewise.
9083         (isfinite_test_data): Likewise.
9084         (isgreater_test_data): Likewise.
9085         (isgreaterequal_test_data): Likewise.
9086         (isinf_test_data): Likewise.
9087         (isless_test_data): Likewise.
9088         (islessequal_test_data): Likewise.
9089         (islessgreater_test_data): Likewise.
9090         (isnan_test_data): Likewise.
9091         (isnormal_test_data): Likewise.
9092         (issignaling_test_data): Likewise.
9093         (isunordered_test_data): Likewise.
9094         (ldexp_test_data): Likewise.
9095         (lrint_test_data): Likewise.
9096         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9097         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9098         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9099         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9100         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9101         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9102         test input.
9103         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9104         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9105         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9106         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9107         that test input.
9108         (lrint_downward_test_data): Test for "inexact" exceptions.
9109         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9110         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9111         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9112         test input.
9113         (lrint_upward_test_data): Test for "inexact" exceptions.
9114         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9115         test input.
9116         (llrint_test_data): Test for "inexact" exceptions.
9117         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9118         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9119         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9120         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9121         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9122         (llrint_downward_test_data): Test for "inexact" exceptions.
9123         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9124         (llrint_upward_test_data): Test for "inexact" exceptions.
9125         (logb_test_data): Likewise.
9126         (logb_downward_test_data): Likewise.
9127         (nextafter_test_data): Likewise.
9128         (nexttoward_test_data): Likewise.
9129         (remainder_test_data): Likewise.
9130         (remquo_test_data): Likewise.
9131         (scalbn_test_data): Likewise.
9132         (scalbln_test_data): Likewise.
9133         (signbit_test_data): Likewise.
9134         (sqrt_test_data): Likewise.
9135         (significand_test_data): Likewise.
9137 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9139         [BZ #15424]
9140         * benchtests/bench-modf.c (struct args): Mark arg0 as
9141         volatile.
9142         * scripts/bench.pl: Mark members of struct args as volatile.
9144 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9146         [BZ # 15497]
9147         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9148         negative infinity on POWER6 or lower.
9149         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9151 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9153         [BZ #15442]
9154         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9155         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9156         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9157         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9158         (_FP_SETQNAN): New macro.
9159         (_FP_SETQNAN_SEMIRAW): Likewise.
9160         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9161         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9162         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9163         (FP_EXTEND): Use _FP_FRAC_SNANP.
9164         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9165         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9166         into account.
9167         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9168         New macro.
9169         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9170         Likewise.
9172 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9174         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9175         with DIVIDE_BY_ZERO_EXCEPTION.
9176         (gamma_test_data): Likewise.
9177         (lgamma_test_data): Likewise.
9178         (log_test_data): Likewise.
9179         (log10_test_data): Likewise.
9180         (log2_test_data): Likewise.
9181         (tgamma_test_data): Likewise.
9183         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9184         (acos_test_tonearest): Likewise.
9185         (acos_test_towardzero): Likewise.
9186         (acos_test_downward): Likewise.
9187         (acos_test_upward): Likewise.
9188         (acosh_test): Likewise.
9189         (asin_test): Likewise.
9190         (asin_test_tonearest): Likewise.
9191         (asin_test_towardzero): Likewise.
9192         (asin_test_downward): Likewise.
9193         (asin_test_upward): Likewise.
9194         (asinh_test): Likewise.
9195         (atan_test): Likewise.
9196         (atanh_test): Likewise.
9197         (atan2_test): Likewise.
9198         (cabs_test): Likewise.
9199         (cacos_test): Likewise.
9200         (cacosh_test): Likewise.
9201         (casin_test): Likewise.
9202         (casinh_test): Likewise.
9203         (catan_test): Likewise.
9204         (catanh_test): Likewise.
9205         (cbrt_test): Likewise.
9206         (ccos_test): Likewise.
9207         (ccosh_test): Likewise.
9208         (cexp_test): Likewise.
9209         (clog_test): Likewise.
9210         (clog10_test): Likewise.
9211         (cos_test): Likewise.
9212         (cos_test_tonearest): Likewise.
9213         (cos_test_towardzero): Likewise.
9214         (cos_test_downward): Likewise.
9215         (cos_test_upward): Likewise.
9216         (cosh_test): Likewise.
9217         (cosh_test_tonearest): Likewise.
9218         (cosh_test_towardzero): Likewise.
9219         (cosh_test_downward): Likewise.
9220         (cosh_test_upward): Likewise.
9221         (cpow_test): Likewise.
9222         (csin_test): Likewise.
9223         (csinh_test): Likewise.
9224         (csqrt_test): Likewise.
9225         (ctan_test): Likewise.
9226         (ctan_test_tonearest): Likewise.
9227         (ctan_test_towardzero): Likewise.
9228         (ctan_test_downward): Likewise.
9229         (ctan_test_upward): Likewise.
9230         (ctanh_test): Likewise.
9231         (ctanh_test_tonearest): Likewise.
9232         (ctanh_test_towardzero): Likewise.
9233         (ctanh_test_downward): Likewise.
9234         (ctanh_test_upward): Likewise.
9235         (erf_test): Likewise.
9236         (erfc_test): Likewise.
9237         (exp_test): Likewise.
9238         (exp_test_tonearest): Likewise.
9239         (exp_test_towardzero): Likewise.
9240         (exp_test_downward): Likewise.
9241         (exp_test_upward): Likewise.
9242         (exp10_test): Likewise.
9243         (exp2_test): Likewise.
9244         (expm1_test): Likewise.
9245         (fmod_test): Likewise.
9246         (gamma_test): Likewise.
9247         (hypot_test): Likewise.
9248         (j0_test): Likewise.
9249         (j1_test): Likewise.
9250         (jn_test): Likewise.
9251         (lgamma_test): Likewise.
9252         (log_test): Likewise.
9253         (log10_test): Likewise.
9254         (log1p_test): Likewise.
9255         (log2_test): Likewise.
9256         (logb_test_downward): Likewise.
9257         (pow_test): Likewise.
9258         (pow_test_tonearest): Likewise.
9259         (pow_test_towardzero): Likewise.
9260         (pow_test_downward): Likewise.
9261         (pow_test_upward): Likewise.
9262         (remainder_test): Likewise.
9263         (remquo_test): Likewise.
9264         (sin_test): Likewise.
9265         (sin_test_tonearest): Likewise.
9266         (sin_test_towardzero): Likewise.
9267         (sin_test_downward): Likewise.
9268         (sin_test_upward): Likewise.
9269         (sincos_test): Likewise.
9270         (sinh_test): Likewise.
9271         (sinh_test_tonearest): Likewise.
9272         (sinh_test_towardzero): Likewise.
9273         (sinh_test_downward): Likewise.
9274         (sinh_test_upward): Likewise.
9275         (sqrt_test): Likewise.
9276         (tan_test): Likewise.
9277         (tan_test_tonearest): Likewise.
9278         (tan_test_towardzero): Likewise.
9279         (tan_test_downward): Likewise.
9280         (tan_test_upward): Likewise.
9281         (tanh_test): Likewise.
9282         (tgamma_test): Likewise.
9283         (y0_test): Likewise.
9284         (y1_test): Likewise.
9285         (yn_test): Likewise.
9287         * math/gen-libm-test.pl (adjust_arg): Remove function.
9288         (special_function): Remove argument $in_func.  Only handle
9289         generating output for tables of tests, not inside functions.
9290         (parse_args): Likewise.
9291         (generate_testfile): Remove variable $in_func.  Update call to
9292         parse_args.
9293         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9294         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9295         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9296         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9297         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9298         (MAX_VALUE_INIT): Rename macro to max_value.
9299         (MIN_VALUE_INIT): Rename macro to min_value.
9300         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9301         (plus_zero): Remove variable.
9302         (minus_zero): Likewise.
9303         (plus_infty): Likewise.
9304         (minus_infty): Likewise.
9305         (qnan_value): Likewise.
9306         (max_value): Likewise.
9307         (min_value): Likewise.
9308         (min_subnorm_value): Likewise.
9310 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9312         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9313         uint64_t or uint32_t usage.
9314         * crypt/sha256-block.c: Likewise.
9315         * crypt/sha256-crypt.c: Likewise.
9316         * crypt/sha256.c: Likewise.
9317         * crypt/sha512-block.c: Likewise.
9318         * crypt/sha512-crypt.c: Likewise.
9319         * crypt/sha512.c: Likewise.
9320         * debug/backtrace-tst.c: Likewise.
9321         * debug/pcprofiledump.c: Likewise.
9322         * elf/cache.c: Likewise.
9323         * elf/dl-cache.c: Likewise.
9324         * elf/dl-misc.c: Likewise.
9325         * elf/dl-profile.c: Likewise.
9326         * elf/dl-support.c: Likewise.
9327         * elf/ldconfig.c: Likewise.
9328         * elf/sprof.c: Likewise.
9329         * iconv/dummy-repertoire.c: Likewise.
9330         * iconv/iconv_charmap.c: Likewise.
9331         * iconv/skeleton.c: Likewise.
9332         * iconvdata/8bit-generic.c: Likewise.
9333         * iconvdata/cp737.h: Likewise.
9334         * iconvdata/cp775.h: Likewise.
9335         * iconvdata/ibm1008.h: Likewise.
9336         * iconvdata/ibm1025.h: Likewise.
9337         * iconvdata/ibm1046.h: Likewise.
9338         * iconvdata/ibm1097.h: Likewise.
9339         * iconvdata/ibm1112.h: Likewise.
9340         * iconvdata/ibm1122.h: Likewise.
9341         * iconvdata/ibm1123.h: Likewise.
9342         * iconvdata/ibm1124.h: Likewise.
9343         * iconvdata/ibm1129.h: Likewise.
9344         * iconvdata/ibm1130.h: Likewise.
9345         * iconvdata/ibm1132.h: Likewise.
9346         * iconvdata/ibm1133.h: Likewise.
9347         * iconvdata/ibm1137.h: Likewise.
9348         * iconvdata/ibm1140.h: Likewise.
9349         * iconvdata/ibm1141.h: Likewise.
9350         * iconvdata/ibm1142.h: Likewise.
9351         * iconvdata/ibm1143.h: Likewise.
9352         * iconvdata/ibm1144.h: Likewise.
9353         * iconvdata/ibm1145.h: Likewise.
9354         * iconvdata/ibm1146.h: Likewise.
9355         * iconvdata/ibm1147.h: Likewise.
9356         * iconvdata/ibm1148.h: Likewise.
9357         * iconvdata/ibm1149.h: Likewise.
9358         * iconvdata/ibm1153.h: Likewise.
9359         * iconvdata/ibm1154.h: Likewise.
9360         * iconvdata/ibm1155.h: Likewise.
9361         * iconvdata/ibm1156.h: Likewise.
9362         * iconvdata/ibm1157.h: Likewise.
9363         * iconvdata/ibm1158.h: Likewise.
9364         * iconvdata/ibm1160.h: Likewise.
9365         * iconvdata/ibm1161.h: Likewise.
9366         * iconvdata/ibm1162.h: Likewise.
9367         * iconvdata/ibm1163.h: Likewise.
9368         * iconvdata/ibm1164.h: Likewise.
9369         * iconvdata/ibm1166.h: Likewise.
9370         * iconvdata/ibm1167.h: Likewise.
9371         * iconvdata/ibm12712.h: Likewise.
9372         * iconvdata/ibm1390.h: Likewise.
9373         * iconvdata/ibm1399.h: Likewise.
9374         * iconvdata/ibm16804.h: Likewise.
9375         * iconvdata/ibm4517.h: Likewise.
9376         * iconvdata/ibm4899.h: Likewise.
9377         * iconvdata/ibm4909.h: Likewise.
9378         * iconvdata/ibm4971.h: Likewise.
9379         * iconvdata/ibm5347.h: Likewise.
9380         * iconvdata/ibm803.h: Likewise.
9381         * iconvdata/ibm856.h: Likewise.
9382         * iconvdata/ibm901.h: Likewise.
9383         * iconvdata/ibm902.h: Likewise.
9384         * iconvdata/ibm9030.h: Likewise.
9385         * iconvdata/ibm9066.h: Likewise.
9386         * iconvdata/ibm921.h: Likewise.
9387         * iconvdata/ibm922.h: Likewise.
9388         * iconvdata/ibm9448.h: Likewise.
9389         * iconvdata/isiri-3342.h: Likewise.
9390         * iconvdata/jis0201.h: Likewise.
9391         * include/link.h: Likewise.
9392         * include/netdb.h: Likewise.
9393         * inet/check_native.c: Likewise.
9394         * inet/check_pf.c: Likewise.
9395         * inet/getipv4sourcefilter.c: Likewise.
9396         * inet/getnameinfo.c: Likewise.
9397         * inet/getsourcefilter.c: Likewise.
9398         * inet/htonl.c: Likewise.
9399         * inet/setipv4sourcefilter.c: Likewise.
9400         * inet/setsourcefilter.c: Likewise.
9401         * inet/test-inet6_opt.c: Likewise.
9402         * inet/tst-network.c: Likewise.
9403         * locale/C-collate.c: Likewise.
9404         * locale/C-ctype.c: Likewise.
9405         * locale/C-time.c: Likewise.
9406         * locale/C-translit.h: Likewise.
9407         * locale/loadarchive.c: Likewise.
9408         * locale/programs/3level.h: Likewise.
9409         * locale/programs/charmap.c: Likewise.
9410         * locale/programs/charmap.h: Likewise.
9411         * locale/programs/ld-address.c: Likewise.
9412         * locale/programs/ld-collate.c: Likewise.
9413         * locale/programs/ld-ctype.c: Likewise.
9414         * locale/programs/ld-identification.c: Likewise.
9415         * locale/programs/ld-measurement.c: Likewise.
9416         * locale/programs/ld-messages.c: Likewise.
9417         * locale/programs/ld-monetary.c: Likewise.
9418         * locale/programs/ld-name.c: Likewise.
9419         * locale/programs/ld-numeric.c: Likewise.
9420         * locale/programs/ld-paper.c: Likewise.
9421         * locale/programs/ld-telephone.c: Likewise.
9422         * locale/programs/ld-time.c: Likewise.
9423         * locale/programs/linereader.c: Likewise.
9424         * locale/programs/locale.c: Likewise.
9425         * locale/programs/locarchive.c: Likewise.
9426         * locale/programs/locfile.h: Likewise.
9427         * locale/programs/repertoire.c: Likewise.
9428         * locale/programs/simple-hash.c: Likewise.
9429         * locale/programs/simple-hash.h: Likewise.
9430         * malloc/memusage.c: Likewise.
9431         * malloc/memusagestat.c: Likewise.
9432         * nis/nis_defaults.c: Likewise.
9433         * nis/nis_hash.c: Likewise.
9434         * nis/nis_print.c: Likewise.
9435         * nis/nis_xdr.c: Likewise.
9436         * nscd/connections.c: Likewise.
9437         * nscd/hstcache.c: Likewise.
9438         * nscd/nscd_gethst_r.c: Likewise.
9439         * nscd/nscd_getserv_r.c: Likewise.
9440         * nscd/nscd_helper.c: Likewise.
9441         * nscd/servicescache.c: Likewise.
9442         * nss/makedb.c: Likewise.
9443         * nss/nss_db/db-XXX.c: Likewise.
9444         * nss/nss_db/db-initgroups.c: Likewise.
9445         * nss/nss_db/db-netgrp.c: Likewise.
9446         * nss/nss_files/files-network.c: Likewise.
9447         * nss/nss_files/files-parse.c: Likewise.
9448         * posix/bug-regex5.c: Likewise.
9449         * posix/fnmatch_loop.c: Likewise.
9450         * posix/regcomp.c: Likewise.
9451         * posix/regexec.c: Likewise.
9452         * posix/tst-rfc3484-2.c: Likewise.
9453         * posix/tst-rfc3484-3.c: Likewise.
9454         * posix/tst-rfc3484.c: Likewise.
9455         * resolv/nss_dns/dns-canon.c: Likewise.
9456         * resolv/nss_dns/dns-network.c: Likewise.
9457         * resolv/res_init.c: Likewise.
9458         * resolv/res_mkquery.c: Likewise.
9459         * resolv/tst-aton.c: Likewise.
9460         * stdlib/cxa_atexit.c: Likewise.
9461         * stdlib/cxa_finalize.c: Likewise.
9462         * stdlib/gen-fpioconst.c: Likewise.
9463         * stdlib/strtol_l.c: Likewise.
9464         * string/tst-endian.c: Likewise.
9465         * sunrpc/auth_des.c: Likewise.
9466         * sunrpc/clnt_udp.c: Likewise.
9467         * sunrpc/rtime.c: Likewise.
9468         * sunrpc/svcauth_des.c: Likewise.
9469         * sunrpc/xdr.c: Likewise.
9470         * sunrpc/xdr_intXX_t.c: Likewise.
9471         * sunrpc/xdr_rec.c: Likewise.
9472         * sysdeps/generic/ldconfig.h: Likewise.
9473         * sysdeps/generic/ldsodefs.h: Likewise.
9474         * sysdeps/generic/memusage.h: Likewise.
9475         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9476         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9477         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9478         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9479         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9481         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9482         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9483         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9484         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9485         * sysdeps/posix/getaddrinfo.c: Likewise.
9486         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9487         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9488         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9489         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9490         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9491         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9492         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9493         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9494         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9495         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9496         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9497         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9498         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9499         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9500         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9501         * sysdeps/x86_64/dl-tls.h: Likewise.
9502         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9503         * time/alt_digit.c: Likewise.
9504         * time/era.c: Likewise.
9505         * wcsmbs/tst-c16c32-1.c: Likewise.
9507 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9509         * math/libm-test.inc (struct test_sincos_data): New type.
9510         (RUN_TEST_LOOP_sincos): New macro.
9511         (sincos_test_data): New variable.
9512         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9514 2013-05-16  Richard Henderson  <rth@redhat.com>
9516         * math/atest-exp2.c (LIMB64): New macro.
9517         (CONSTSZ): New macro.
9518         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9519         (hexdig): Move ...
9520         (print_mpn_fp): ... to function scope.
9521         (read_mpn_hex): Remove.
9522         (get_log2): Remove.
9523         (exp2_mpn): Use mp_log2.
9524         (main): Use mp_exp1.
9526 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9528         * math/libm-test.inc: Remove comment about not testing "inexact"
9529         exceptions.
9530         (INEXACT_EXCEPTION): New macro.
9531         (NO_INEXACT_EXCEPTION): Likewise.
9532         (INVALID_EXCEPTION_OK): Update value.
9533         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9534         (OVERFLOW_EXCEPTION_OK): Likewise.
9535         (UNDERFLOW_EXCEPTION_OK): Likewise.
9536         (IGNORE_ZERO_INF_SIGN): Likewise.
9537         (ERRNO_UNCHANGED): Likewise.
9538         (ERRNO_EDOM): Likewise.
9539         (ERRNO_ERANGE): Likewise.
9540         (test_exceptions): Handle testing "inexact" exceptions.
9541         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9542         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9543         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9544         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9545         INEXACT_EXCEPTION.
9546         (rint_towardzero_test_data): Likewise.
9547         (rint_downward_test_data): Likewise.
9548         (rint_upward_test_data): Likewise.
9550         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9551         with OVERFLOW_EXCEPTION.
9552         (exp10_test_data): Likewise.
9553         (exp2_test_data): Likewise.
9554         (expm1_test_data): Likewise.
9555         (lgamma_test_data): Likewise.
9556         (pow_test_data): Likewise.
9557         (tgamma_test_data): Likewise.
9558         (yn_test_data): Remove duplicate test of overflow.
9560         * math/libm-test.inc (struct test_cc_c_data): New type.
9561         (RUN_TEST_LOOP_cc_c): New macro.
9562         (cpow_test_data): New variable.
9563         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9565         * math/libm-test.inc (struct test_f_L_data): New type.
9566         (RUN_TEST_LOOP_f_L): New macro.
9567         (llrint_test_data): New variable.
9568         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9569         (llrint_tonearest_test_data): New variable.
9570         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9571         (llrint_towardzero_test_data): New variable.
9572         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9573         (llrint_downward_test_data): New variable.
9574         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9575         (llrint_upward_test_data): New variable.
9576         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9577         (llround_test_data): New variable.
9578         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9580 2013-05-13  Peter Collingbourne  <pcc@google.com>
9582         * math/atest-exp2.c (get_log2): Remove const attribute.
9584 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9586         * math/libm-test.inc (struct test_f_l_data): New type.
9587         (RUN_TEST_LOOP_f_l): New macro.
9588         (lrint_test_data): New variable.
9589         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9590         (lrint_tonearest_test_data): New variable.
9591         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9592         (lrint_towardzero_test_data): New variable.
9593         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9594         (lrint_downward_test_data): New variable.
9595         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9596         (lrint_upward_test_data): New variable.
9597         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9598         (lround_test_data): New variable.
9599         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9601 2013-05-15  Peter Collingbourne  <pcc@google.com>
9603         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9604         (EXTRACT_WORDS64) Use where appropriate.
9605         (INSERT_WORDS64) Likewise.
9607         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9608         constraints with x constraints.
9609         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9611         * malloc/obstack.c (_obstack_compat): Add initializer.
9613 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9615         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9616         si_trapno and add si_addr_lsb to _sifields.sigfault.
9617         (si_trapno): Remove macro.
9618         (si_addr_lsb): Define new macro.
9619         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9621 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9623         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9624         instead of TEST_f_l.
9625         (llrint_test_tonearest): Likewise.
9626         (llrint_test_towardzero): Likewise.
9627         (llrint_test_downward): Likewise.
9628         (llrint_test_upward): Likewise.
9629         (llround_test): Likewise.
9631         * math/libm-test.inc (struct test_f_i_data): Add comment.
9632         (RUN_TEST_LOOP_f_b): New macro.
9633         (RUN_TEST_LOOP_f_b_tg): Likewise.
9634         (finite_test_data): New variable.
9635         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9636         (isfinite_test_data): New variable.
9637         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9638         (isinf_test_data): New variable.
9639         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9640         (isnan_test_data): New variable.
9641         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9642         (isnormal_test_data): New variable.
9643         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9644         (issignaling_test_data): New variable.
9645         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9646         (signbit_test_data): New variable.
9647         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9649         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9650         with INVALID_EXCEPTION.
9651         (acosh_test_data): Likewise.
9652         (asin_test_data): Likewise.
9653         (atanh_test_data): Likewise.
9654         (fmod_test_data): Likewise.
9655         (log_test_data): Likewise.
9656         (log10_test_data): Likewise.
9657         (log2_test_data): Likewise.
9658         (pow_test_data): Likewise.
9659         (sqrt_test_data): Likewise.
9660         (y0_test_data): Likewise.
9661         (y1_test_data): Likewise.
9662         (yn_test_data): Likewise.
9664         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9665         function contents.
9667         * math/libm-test.inc (struct test_ff_i_data): New type.
9668         (RUN_TEST_LOOP_ff_i_tg): New macro.
9669         (isgreater_test_data): New variable.
9670         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9671         (isgreaterequal_test_data): New variable.
9672         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9673         (isless_test_data): New variable.
9674         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9675         (islessequal_test_data): New variable.
9676         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9677         (islessgreater_test_data): New variable.
9678         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9679         (isunordered_test_data): New variable.
9680         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9682 2013-05-14  David S. Miller  <davem@davemloft.net>
9684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9686 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9688         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9690         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9691         extra_test to int.
9692         (struct test_f_i_data): Change type of max_ulp to int.
9694         * math/libm-test.inc (test_ffI_f1_data): New type.
9695         (RUN_TEST_LOOP_ffI_f1): New macro.
9696         (remquo_test_data): New variable.
9697         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9699         * setjmp/tst-setjmp-fp.c: New file.
9700         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9701         (link-libm): New variable.
9702         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9704         * math/libm-test.inc (struct test_f_i_data): New type.
9705         (RUN_TEST_LOOP_f_i): New macro.
9706         (RUN_TEST_LOOP_f_i_tg): Likewise.
9707         (fpclassify_test_data): New variable.
9708         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9709         (ilogb_test_data): New variable.
9710         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9712         * math/libm-test.inc (scalbln_test): Correct function name in END
9713         call.
9715         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9716         (RUN_TEST_LOOP_fI_f1): New macro.
9717         (frexp_test_data): New variable.
9718         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9720         * math/libm-test.inc (struct test_fF_f1_data): New type.
9721         (RUN_TEST_LOOP_fF_f1): New macro.
9722         (modf_test_data): New variable.
9723         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9725         * math/libm-test.inc (struct test_f_f1_data): New type.
9726         (RUN_TEST_LOOP_f_f1): New macro.
9727         (gamma_test_data): New variable.
9728         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9729         (lgamma_test_data): New variable.
9730         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9732 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9734         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9735         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9736         (main): Comment "tls" pseudo-hwcap.
9738 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9740         * math/libm-test.inc (struct test_fl_f_data): New type.
9741         (RUN_TEST_LOOP_fl_f): New variable.
9742         (scalbln_test_data): New variable.
9743         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9745         * math/libm-test.inc (struct test_fi_f_data): New type.
9746         (RUN_TEST_LOOP_fi_f): New macro.
9747         (ldexp_test_data): New variable.
9748         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9749         (scalbn_test_data): New variable.
9750         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9752         * math/libm-test.inc (struct test_c_f_data): New type.
9753         (RUN_TEST_LOOP_c_f): New macro.
9754         (cabs_test_data): New variable.
9755         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9756         (carg_test_data): New variable.
9757         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9758         (cimag_test_data): New variable.
9759         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9760         (creal_test_data): New variable.
9761         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9763         * math/libm-test.inc (struct test_if_f_data): New type.
9764         (RUN_TEST_LOOP_if_f): New macro.
9765         (jn_test_data): New variable.
9766         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9767         (yn_test_data): New variable.
9768         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9770         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9772 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9774         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9775         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9777 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9779         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9780         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9781         (bench-deps): Add bench-timing.h.
9782         * benchtests-bench-skeleton.c: Include bench-timing.h.
9783         (main): Use TIMING_* macros instead of clock_gettime.
9784         * benchtests/bench-timing.h: New file.
9786         [BZ #14582]
9787         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9788         Renamed from _LIB_VERSION.
9789         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9791 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9793         * math/libm-test.inc (struct test_fff_f_data): New type.
9794         (RUN_TEST_LOOP_fff_f): New macro.
9795         (fma_test_data): New variable.
9796         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9797         (fma_towardzero_test_data): New variable.
9798         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9799         (fma_downward_test_data): New variable.
9800         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9801         (fma_upward_test_data): New variable.
9802         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9804         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9805         (struct test_c_c_data): New type.
9806         (RUN_TEST_LOOP_c_c): New macro.
9807         (cacos_test_data): New variable.
9808         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9809         (cacosh_test_data): New variable.
9810         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9811         (casin_test_data): New variable.
9812         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9813         (casinh_test_data): New variable.
9814         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9815         (catan_test_data): New variable.
9816         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9817         (catanh_test_data): New variable.
9818         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9819         (ccos_test_data): New variable.
9820         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9821         (ccosh_test_data): New variable.
9822         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9823         (cexp_test_data): New variable.
9824         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9825         (clog_test_data): New variable.
9826         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9827         (clog10_test_data): New variable.
9828         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9829         (conj_test_data): New variable.
9830         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9831         (cproj_test_data): New variable.
9832         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9833         (csin_test_data): New variable.
9834         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9835         (csinh_test_data): New variable.
9836         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9837         (csqrt_test_data): New variable.
9838         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9839         (ctan_test_data): New variable.
9840         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9841         (ctan_tonearest_test_data): New variable.
9842         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9843         (ctan_towardzero_test_data): New variable.
9844         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9845         (ctan_downward_test_data): New variable.
9846         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9847         (ctan_upward_test_data): New variable.
9848         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9849         (ctanh_test_data): New variable.
9850         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9851         (ctanh_tonearest_test_data): New variable.
9852         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9853         (ctanh_towardzero_test_data): New variable.
9854         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9855         (ctanh_downward_test_data): New variable.
9856         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9857         (ctanh_upward_test_data): New variable.
9858         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9859         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9860         of BUILD_COMPLEX.
9862         * math/libm-test.inc (struct test_ff_f_data): New type.
9863         (struct test_ff_f_data_nexttoward): Likewise.
9864         (RUN_TEST_LOOP_2_f): New macro.
9865         (RUN_TEST_LOOP_ff_f): Likewise.
9866         (atan2_test_data): New variable.
9867         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9868         (copysign_test_data): New variable.
9869         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9870         (fdim_test_data): New variable.
9871         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9872         (fmax_test_data): New variable.
9873         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9874         (fmin_test_data): New variable.
9875         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9876         (fmod_test_data): New variable.
9877         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9878         (hypot_test_data): New variable.
9879         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9880         (nextafter_test_data): New variable.
9881         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9882         (nexttoward_test_data): New variable.
9883         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9884         (pow_test_data): New variable.
9885         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9886         (pow_tonearest_test_data): New variable.
9887         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9888         (pow_towardzero_test_data): New variable.
9889         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9890         (pow_downward_test_data): New variable.
9891         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9892         (pow_upward_test_data): New variable.
9893         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9894         (remainder_test_data): New variable.
9895         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9896         (scalb_test_data): New variable.
9897         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9898         * sysdeps/i386/fpu/libm-test-ulps: Update.
9900 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9902         * math/libm-test.inc (fma_test): Use max_value instead of local
9903         variable fltmax.
9904         (nextafter_test): Likewise.
9906         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9907         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9908         (acos_downward_test_data): New variable.
9909         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9910         (acos_upward_test_data): New variable.
9911         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9912         (acosh_test_data): New variable.
9913         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9914         (asin_test_data): New variable.
9915         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9916         (asin_tonearest_test_data): New variable.
9917         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9918         (asin_towardzero_test_data): New variable.
9919         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9920         (asin_downward_test_data): New variable.
9921         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9922         (asin_upward_test_data): New variable.
9923         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9924         (asinh_test_data): New variable.
9925         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9926         (atan_test_data): New variable.
9927         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9928         (atanh_test_data): New variable.
9929         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9930         (cbrt_test_data): New variable.
9931         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9932         (ceil_test_data): New variable.
9933         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9934         (cos_test_data): New variable.
9935         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9936         (cos_tonearest_test_data): New variable.
9937         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9938         (cos_towardzero_test_data): New variable.
9939         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9940         (cos_downward_test_data): New variable.
9941         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9942         (cos_upward_test_data): New variable.
9943         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9944         (cosh_test_data): New variable.
9945         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9946         (cosh_tonearest_test_data): New variable.
9947         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9948         (cosh_towardzero_test_data): New variable.
9949         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9950         (cosh_downward_test_data): New variable.
9951         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9952         (cosh_upward_test_data): New variable.
9953         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9954         (erf_test_data): New variable.
9955         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9956         (erfc_test_data): New variable.
9957         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9958         (exp_test_data): New variable.
9959         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9960         (exp_tonearest_test_data): New variable.
9961         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9962         (exp_towardzero_test_data): New variable.
9963         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9964         (exp_downward_test_data): New variable.
9965         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9966         (exp_upward_test_data): New variable.
9967         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9968         (exp10_test_data): New variable.
9969         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9970         (exp2_test_data): New variable.
9971         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9972         (expm1_test_data): New variable.
9973         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9974         (fabs_test_data): New variable.
9975         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9976         (floor_test_data): New variable.
9977         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9978         (j0_test_data): New variable.
9979         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9980         (j1_test_data): New variable.
9981         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9982         (log_test_data): New variable.
9983         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9984         (log10_test_data): New variable.
9985         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9986         (log1p_test_data): New variable.
9987         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9988         (log2_test_data): New variable.
9989         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9990         (logb_test_data): New variable.
9991         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9992         (logb_downward_test_data): New variable.
9993         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9994         (nearbyint_test_data): New variable.
9995         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9996         (rint_test_data): New variable.
9997         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9998         (rint_tonearest_test_data): New variable.
9999         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10000         (rint_towardzero_test_data): New variable.
10001         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10002         (rint_downward_test_data): New variable.
10003         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10004         (rint_upward_test_data): New variable.
10005         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10006         (round_test_data): New variable.
10007         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10008         (sin_test_data): New variable.
10009         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10010         (sin_tonearest_test_data): New variable.
10011         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10012         (sin_towardzero_test_data): New variable.
10013         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10014         (sin_downward_test_data): New variable.
10015         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10016         (sin_upward_test_data): New variable.
10017         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10018         (sinh_test_data): New variable.
10019         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10020         (sinh_tonearest_test_data): New variable.
10021         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10022         (sinh_towardzero_test_data): New variable.
10023         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10024         (sinh_downward_test_data): New variable.
10025         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10026         (sinh_upward_test_data): New variable.
10027         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10028         (sqrt_test_data): New variable.
10029         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10030         (tan_test_data): New variable.
10031         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10032         (tan_tonearest_test_data): New variable.
10033         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10034         (tan_towardzero_test_data): New variable.
10035         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10036         (tan_downward_test_data): New variable.
10037         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10038         (tan_upward_test_data): New variable.
10039         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10040         (tanh_test_data): New variable.
10041         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10042         (tgamma_test_data): New variable.
10043         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10044         (trunc_test_data): New variable.
10045         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10046         (y0_test_data): New variable.
10047         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10048         (y1_test_data): New variable.
10049         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10050         (significand_test_data): New variable.
10051         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10053 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10055         [BZ #12387]
10056         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10058 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10060         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10062 2013-05-10  Andreas Jaeger  <aj@suse.de>
10064         [BZ #15448]
10065         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10066         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10068 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10070         * math/gen-libm-test.pl (adjust_arg): New function.
10071         (special_functions): Handle generating output in both functions
10072         and arrays.
10073         (parse_args): Likewise.
10074         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10075         $in_func argument to parse_args.
10076         * math/libm-test.inc (struct test_f_f_data): New type.
10077         (IF_ROUND_INIT_): New macro.
10078         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10079         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10080         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10081         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10082         (ROUND_RESTORE_): Likewise.
10083         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10084         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10085         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10086         (ROUND_RESTORE_FE_UPWARD): Likewise.
10087         (RUN_TEST_LOOP_f_f): New macro.
10088         (acos_test_data): New variable.
10089         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10090         (acos_tonearest_test_data): New variable.
10091         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10093 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10095         * benchtests/bench-skeleton.c (startup): Fix coding style.
10097 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10099         [BZ #6809]
10100         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10101         negative infinity argument.
10102         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10103         negative infinity argument.
10104         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10105         negative infinity argument.
10106         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10107         domain errors.
10109 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10111         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10112         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10113         * iconv/iconv_prog.c (main): Likewise.
10114         * locale/programs/charmap-dir.c (charmap_readdir)
10115         (fopen_uncompressed): Likewise.
10116         * locale/programs/locfile.c (siblings_uncached)
10117         (write_locale_data): Use lstat64 instead of lstat.
10118         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10119         stat.
10121 2013-05-10  Andreas Jaeger  <aj@suse.de>
10123         [BZ #15395]
10124         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10125         localization.
10126         Include <locale.h>.
10128 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10130         * elf/dl-close.c (_dl_close_worker): Add comments.
10132 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10134         [BZ #15359]
10135         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10136         high part of pi/2.
10137         (__ieee754_rem_pio2l): Update comments.
10139         [BZ #15429]
10140         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10141         high part of pi/2.
10142         (__ieee754_rem_pio2l): Update comments.
10144         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10145         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10147         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10148         M_PI_4l.
10150         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10151         (M_PI_34_LOG10El): Likewise.
10152         (M_PI2_LOG10El): Likewise.
10153         (M_PI4_LOG10El): Likewise.
10154         (M_PI_LOG10El): Likewise.
10156 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10160 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10162         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10163         (MINUS_ZERO_INIT): Likewise.
10164         (PLUS_INFTY_INIT): Likewise.
10165         (MINUS_INFTY_INIT): Likewise.
10166         (QNAN_VALUE_INIT): Likewise.
10167         (MAX_VALUE_INIT): Likewise.
10168         (MIN_VALUE_INIT): Likewise.
10169         (MIN_SUBNORM_VALUE_INIT): Likewise.
10170         (plus_zero): Initialize with PLUS_ZERO_INIT.
10171         (minus_zero): Initialize with MINUS_ZERO_INIT.
10172         (plus_infty): Initialize with PLUS_INFTY_INIT.
10173         (minus_infty): Initialize with MINUS_INFTY_INIT.
10174         (qnan_value): Initialize with QNAN_VALUE_INIT.
10175         (max_value): Initialize with MAX_VALUE_INIT.
10176         (min_value): Initialize with MIN_VALUE_INIT.
10177         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10179         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10180         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10181         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10182         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10184         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10185         (RUN_TEST_2_f): Likewise.
10186         (RUN_TEST_ff_f): Likewise.
10187         (RUN_TEST_fi_f): Likewise.
10188         (RUN_TEST_fl_f): Likewise.
10189         (RUN_TEST_fff_f): Likewise.
10190         (RUN_TEST_c_f): Likewise.
10191         (RUN_TEST_f_f1): Likewise.
10192         (RUN_TEST_fF_f1): Likewise.
10193         (RUN_TEST_fI_f1): Likewise.
10194         (RUN_TEST_ffI_f1): Likewise.
10195         (RUN_TEST_c_c): Likewise.
10196         (RUN_TEST_cc_c): Likewise.
10197         (RUN_TEST_f_i): Likewise.
10198         (RUN_TEST_f_i_tg): Likewise.
10199         (RUN_TEST_ff_i_tg): Likewise.
10200         (RUN_TEST_f_b): Likewise.
10201         (RUN_TEST_f_b_tg): Likewise.
10202         (RUN_TEST_f_l): Likewise.
10203         (RUN_TEST_f_L): Likewise.
10204         (RUN_TEST_sincos): Likewise.
10205         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10206         whether to show exceptions.  Do not include ");\n" in return
10207         value.
10208         (special_functions): Output call to RUN_TEST_sincos instead of
10209         check_float calls.  Update calls to new_test.
10210         (parse_args): Output call to single RUN_TEST_* macro instead of
10211         check_* calls and other assignments.  Update calls to new_test.
10213         [BZ #2546]
10214         [BZ #2560]
10215         [BZ #5159]
10216         [BZ #15426]
10217         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10218         input to result for tgamma overflow.
10219         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10220         (gamma_coeff): New variable.
10221         (NCOEFF): New macro.
10222         (gamma_positive): New function.
10223         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10224         underflow here.  Use gamma_positive instead of exp (lgamma) for
10225         other arguments.
10226         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10227         (gamma_coeff): New variable.
10228         (NCOEFF): New macro.
10229         (gammaf_positive): New function.
10230         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10231         underflow here.  Use gamma_positive instead of exp (lgamma) for
10232         other arguments.
10233         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10234         (gamma_coeff): New variable.
10235         (NCOEFF): New macro.
10236         (gammal_positive): New function.
10237         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10238         underflow here.  Use gamma_positive instead of exp (lgamma) for
10239         other arguments.
10240         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10241         (gamma_coeff): New variable.
10242         (NCOEFF): New macro.
10243         (gammal_positive): New function.
10244         (__ieee754_gammal_r): Handle positive infinity, overflow and
10245         underflow here.  Handle NaN the same as positive infinity.  Remove
10246         check x < 0xffffffff for negative integers.  Use gamma_positive
10247         instead of exp (lgamma) for other arguments.
10248         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10249         (gamma_coeff): New variable.
10250         (NCOEFF): New macro.
10251         (gammal_positive): New function.
10252         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10253         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10254         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10255         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10256         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10257         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10258         * sysdeps/generic/math_private.h (__gamma_productf): New
10259         prototype.
10260         (__gamma_product): Likewise.
10261         (__gamma_productl): Likewise.
10262         * math/Makefile (libm-calls): Add gamma_product.
10263         * math/libm-test.inc (tgamma_test): Add more tests.
10264         * sysdeps/i386/fpu/libm-test-ulps: Update.
10265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10267 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10269         * benchtests/bench-skeleton.c (main): Preheat CPU.
10271 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10273         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10275 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10277         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10278         and _dl_skip_args_internal.
10280 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10282         * manual/message.texi (Message Translation): Talk about users.
10283         Message to key mapping impacts design.
10285 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10287         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10289         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10291         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10292         * sysdeps/wordsize-64/glob64.c: ... here.
10294         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10295         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10296         New macros.
10298         * debug/getlogin_r_chk.c: Moved to ...
10299         * login/getlogin_r_chk.c: ... here.
10300         * debug/Makefile (routines): Move getlogin_r_chk to ...
10301         * login/Makefile (routines): ... here.
10302         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10303         * login/Versions (libc: GLIBC_2.4): ... here.
10305         * io/poll.c (__poll): Renamed from poll.
10306         Add libc_hidden_def.
10307         (poll): Define as weak alias.
10309         * debug/ptsname_r_chk.c: Moved to ...
10310         * login/ptsname_r_chk.c: ... here.
10311         * debug/Makefile (routines): Move ptsname_r_chk to ...
10312         * login/Makefile (routines): ... here.
10313         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10314         * login/Versions (libc: GLIBC_2.4): ... here.
10316         * posix/getlogin.c: Moved to ...
10317         * login/getlogin.c: ... here.
10318         * posix/getlogin_r.c: Moved to ...
10319         * login/getlogin_r.c: ... here.
10320         * posix/getlogin_r.c: Moved to ...
10321         * login/getlogin_r.c: ... here.
10322         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10323         * login/Makefile (routines): ... here.
10324         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10325         * login/Versions (libc: GLIBC_2.0): ... here.
10327         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10328         (setrlimit): Define as weak alias.
10330         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10331         Call __ names for open, ftruncate, and close.
10332         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10333         (truncate): Define as weak alias.
10335 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10337         * math/gen-libm-test.pl (parse_args): Initialize x before each
10338         test of frexp, modf and remquo.
10340         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10341         test signgam value.
10343 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10345         [BZ #15418]
10346         [BZ #15419]
10347         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10348         internal tests.
10349         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10351 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10353         * elf/dl-writev.h: New file.
10354         * elf/dl-misc.c: Include it.
10355         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10356         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10358 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10360         * math/libm-test.inc (noXFails): Remove variable.
10361         (noXPasses): Likewise.
10362         (BUILD_COMPLEX_INT): Remove macro.
10363         (print_screen): Remove xfail argument.
10364         (print_screen_max_error): Likewise.
10365         (update_stats): Likewise.
10366         (print_max_error): Likewise.  Update calls to other affected
10367         functions.
10368         (print_complex_max_error): Likewise.
10369         (test_single_exception): Update calls to print_screen.
10370         (test_single_errno): Likewise.
10371         (check_float_internal): Remove xfail argument.  Update calls to
10372         other affected functions.
10373         (check_float): Likewise.
10374         (check_complex): Likewise.
10375         (check_int): Likewise.
10376         (check_long): Likewise.
10377         (check_bool): Likewise.
10378         (check_longlong): Likewise.
10379         (main): Don't print noXFails and noXPasses.
10380         * math/gen-libm-test.pl (top level): Don't mention expected
10381         failure handling in comment.
10382         (new_test): Don't handle expected failures.
10383         (parse_args): Don't mention expected failure handling in comment.
10384         (generate_testfile): Don't handle expected failures.
10385         (parse_ulps): Likewise.
10386         (print_ulps_file): Likewise.
10387         (get_failure): Remove function.
10388         (output_test): Don't handle expected failures.
10389         * make/README.libm-test: Don't mention expected failure handling.
10391         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10392         (minus_zero): Likewise.
10393         (plus_infty): Likewise.
10394         (minus_infty): Likewise.
10395         (qnan_value): Likewise.
10396         (max_value): Likewise.
10397         (min_value): Likewise.
10398         (min_subnorm_value): Likewise.
10399         (initialize): Do not initialize those variables dynamically.
10401 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10403         * io/open.c (__open_2): Moved to ...
10404         * io/open_2.c: ... this new file.
10405         * io/open64.c (__open64_2): Moved to ...
10406         * io/open64_2.c: ... this new file.
10407         * io/openat.c (__openat_2): Moved to ...
10408         * io/openat_2.c: ... this new file.
10409         * io/openat64.c (__openat64_2): Moved to ...
10410         * io/openat64_2.c: ... this new file.
10411         * io/Makefile (routines): Add them.
10412         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10413         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10414         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10415         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10416         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10417         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10418         (__openat64): Add hidden_ver.
10419         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10420         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10422         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10423         Separately conditionalize setting of GLRO(dl_sysinfo) so
10424         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10425         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10427 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10429         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10430         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10431         definition.
10432         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10433         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10434         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10435         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10436         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10438 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10440         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10441         test signgam value.
10443         * math/libm-test.inc (hypot_test): Do not use
10444         IGNORE_ZERO_INF_SIGN.
10446 2013-05-03  Andreas Jaeger  <aj@suse.de>
10448         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10449         Linux 3.9.
10450         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10451         (PF_MAX): Adjust for VSOCK change.
10453 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10457 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10459         [BZ #15264]
10460         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10461         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10462         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10464 2013-05-02  David S. Miller  <davem@davemloft.net>
10466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10468 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10470         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10472 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10474         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10476 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10478         [BZ #14952]
10479         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10480         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10481         Use __attribute__ ((__gnu_inline__)).
10482         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10483         Don't use __attribute__ ((__gnu_inline__)).
10485 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10487         [BZ #15423]
10488         * math/s_catan.c (__catan): Handle small real or imaginary part of
10489         input specially to avoid spurious underflow.
10490         * math/s_catanf.c (__catanf): Likewise.
10491         * math/s_catanh.c (__catanh): Likewise.
10492         * math/s_catanhf.c (__catanhf): Likewise.
10493         * math/s_catanhl.c (__catanhl): Likewise.
10494         * math/s_catanl.c (__catanl): Likewise.
10495         * math/libm-test.inc (catan_test): Add more tests.
10496         (catanh_test): Likewise.
10497         * sysdeps/i386/fpu/libm-test-ulps: Update.
10498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10500 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10504 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10506         [BZ #15416]
10507         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10508         accurately for denominator in atan2.
10509         * math/s_catanf.c (__catanf): Likewise.
10510         * math/s_catanh.c (__catanh): Likewise.
10511         * math/s_catanhf.c (__catanhf): Likewise.
10512         * math/s_catanhl.c (__catanhl): Likewise.
10513         * math/s_catanl.c (__catanl): Likewise.
10514         * math/libm-test.inc (catan_test): Add more tests.
10515         (catanh_test): Likewise.
10516         * sysdeps/i386/fpu/libm-test-ulps: Update.
10517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10519 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10521         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10523         * benchtests/Makefile (bench): Remove slow benchmarks.
10524         * benchtests/atan-inputs: Add slow benchmark inputs.
10525         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10526         (BENCH_FUNC): Accept variant offset.
10527         (VARIANT): Define.
10528         * benchtests/bench-skeleton.c (main): Run benchmark for each
10529         variant.
10530         * benchtests/cos-inputs: Add slow benchmark inputs.
10531         * benchtests/exp-inputs: Likewise.
10532         * benchtests/pow-inputs: Likewise.
10533         * benchtests/sin-inputs: Likewise.
10534         * benchtests/slowatan-inputs: Remove.
10535         * benchtests/slowatan.c: Remove.
10536         * benchtests/slowcos-inputs: Remove.
10537         * benchtests/slowcos.c: Remove.
10538         * benchtests/slowexp-inputs: Remove.
10539         * benchtests/slowexp.c: Remove.
10540         * benchtests/slowpow-inputs: Remove.
10541         * benchtests/slowpow.c: Remove.
10542         * benchtests/slowsin-inputs: Remove.
10543         * benchtests/slowsin.c: Remove.
10544         * benchtests/slowtan-inputs: Remove.
10545         * benchtests/slowtan.c: Remove.
10546         * benchtests/tan-inputs: Add slow benchmark inputs.
10547         * scripts/bench.pl: Parse comments and directives.
10549         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10550         in CPPFLAGS.
10551         ($(objpfx)bench-%.c): Remove *-ITER.
10552         * benchtests/bench-modf.c: Remove definition of ITER.
10553         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10554         (main): Loop for DURATION seconds instead of fixed number of
10555         iterations.
10556         * scripts/bench.pl: Don't expect iterations in parameters.
10558 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10560         * io/fchdir.c (__fchdir): Renamed from fchdir.
10561         (fchdir): Define as weak alias.
10563 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10565         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10566         (ERRNO_EDOM): Likewise.
10567         (ERRNO_ERANGE): Likewise.
10568         (noErrnoTests): New variable.
10569         (init_max_error): Set errno to 0.
10570         (test_single_errno): New function.
10571         (test_errno): Likewise.
10572         (check_float_internal): Call test_errno.  Set errno to 0.
10573         (check_complex): Refer to errno tests in comment.
10574         (check_int): Call test_errno.  Set errno to 0.
10575         (check_long): Likewise.
10576         (check_bool): Likewise.
10577         (check_longlong): Likewise.
10578         (cos_test): Use ERRNO_* flags for errno tests instead of
10579         check_int.
10580         (expm1_test): Likewise.
10581         (fmod_test): Likewise.
10582         (ilogb_test): Likewise.
10583         (lgamma_test): Likewise.
10584         (pow_test): Likewise.
10585         (remainder_test): Likewise.
10586         (sin_test): Likewise.
10587         (tan_test): Likewise.
10588         (yn_test): Likewise.
10589         (initialize): Set errno to 0.
10590         (main): Print number of errno tests.
10591         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10593 2013-04-29  Andreas Jaeger  <aj@suse.de>
10595         [BZ #15084]
10596         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10597         and RES_USEVC.
10599         [BZ #15085]
10600         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10601         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10602         unimplemented.
10604         [BZ #15380]
10605         * stdlib/random.c (__initstate): Return NULL if
10606         __initstate fails.
10608         [BZ #15086]
10609         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10610         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10611         RES_SNGLKUPREOP.
10613 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10617 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10619         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10620         of individual tests.
10621         (casin_test): Likewise.
10622         (casinh_test): Likewise.
10624 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10626         [BZ #15409]
10627         * math/s_catan.c (__catan): Handle arguments with large real or
10628         imaginary part separately without squaring.
10629         * math/s_catanf.c (__catanf): Likewise.
10630         * math/s_catanh.c (__catanh): Likewise.
10631         * math/s_catanhf.c (__catanhf): Likewise.
10632         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10633         and redefine.
10634         (__catanhl): Handle arguments with large real or imaginary part
10635         separately without squaring.
10636         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10637         and redefine.
10638         (__catanl): Handle arguments with large real or imaginary part
10639         separately without squaring.
10640         * math/libm-test.inc (catan_test): Add more tests.
10641         (catanh_test): Likewise.
10642         * sysdeps/i386/fpu/libm-test-ulps: Update.
10643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10645 2013-04-27  Andreas Jaeger  <aj@suse.de>
10647         [BZ #15007]
10648         * stdlib/stdlib.h: Update guards for qecvt.
10649         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10650         <stdlib.h>.
10652 2013-04-27  Allan McRae  <allan@archlinux.org>
10654         * sysdeps/i386/fpu/libm-test-ulps: Update.
10656 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10658         [BZ #15406]
10659         * math/s_catan.c: Include <float.h>.
10660         (__catan): Ensure underflow exception occurs for underflowed
10661         result.
10662         * math/s_catanf.c: Include <float.h>.
10663         (__catanf): Ensure underflow exception occurs for underflowed
10664         result.
10665         * math/s_catanh.c: Include <float.h>.
10666         (__catanh): Ensure underflow exception occurs for underflowed
10667         result.
10668         * math/s_catanhf.c: Include <float.h>.
10669         (__catanhf): Ensure underflow exception occurs for underflowed
10670         result.
10671         * math/s_catanhl.c: Include <float.h>.
10672         (__catanhl): Ensure underflow exception occurs for underflowed
10673         result.
10674         * math/s_catanl.c: Include <float.h>.
10675         (__catanl): Ensure underflow exception occurs for underflowed
10676         result.
10677         * math/libm-test.inc (catan_test): Add more tests.
10678         (catanh_test): Likewise.
10680         [BZ #15405]
10681         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10682         underflowed result.
10683         * math/s_ccoshf.c (__ccoshf): Likewise.
10684         * math/s_ccoshl.c (__ccoshl): Likewise.
10685         * math/s_csin.c (__csin): Likewise.
10686         * math/s_csinf.c (__csinf): Likewise.
10687         * math/s_csinh.c (__csinh): Likewise.
10688         * math/s_csinhf.c (__csinhf): Likewise.
10689         * math/s_csinhl.c (__csinhl): Likewise.
10690         * math/s_csinl.c (__csinl): Likewise.
10691         * math/libm-test.inc (ccos_test): Add more tests.
10692         (ccosh_test): Likewise.
10693         (csin_test): Likewise.
10694         (csinh_test): Likewise.
10696 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10698         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10699         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10700         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10701         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10702         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10703         powerpc/power5+/fpu folders.
10704         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10707 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10711 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10713         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10714         additions to variable.
10715         [$(config-machine) = x86_64] (modules-names): Likewise.
10716         ($(objpfx)tst-audit3): Remove dependency.
10717         ($(objpfx)tst-audit3.out): Likewise.
10718         ($(objpfx)tst-audit4): Likewise.
10719         ($(objpfx)tst-audit4.out): Likewise.
10720         ($(objpfx)tst-audit5): Likewise.
10721         ($(objpfx)tst-audit5.out): Likewise.
10722         ($(objpfx)tst-audit6): Likewise.
10723         ($(objpfx)tst-audit6.out): Likewise.
10724         ($(objpfx)tst-audit7): Likewise.
10725         ($(objpfx)tst-audit7.out): Likewise.
10726         (tst-audit3-ENV): Remove variable.
10727         (tst-audit4-ENV): Likewise.
10728         (tst-audit5-ENV): Likewise.
10729         (tst-audit6-ENV): Likewise.
10730         (tst-audit7-ENV): Likewise.
10731         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10732         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10733         addition to variable.
10734         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10735         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10736         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10737         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10738         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10739         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10740         tst-audit3, tst-audit4 and tst-audit5.
10741         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10742         tst-audit6 and tst-audit7.
10743         [$(subdir) = elf] (modules-names): Add audit modules for those
10744         tests.
10745         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10746         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10747         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10748         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10749         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10750         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10751         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10752         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10753         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10754         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10755         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10756         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10757         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10758         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10759         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10760         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10761         Likewise.
10762         [$(subdir) = elf && $(config-cflags-avx) = yes]
10763         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10764         [$(subdir) = elf && $(config-cflags-avx) = yes]
10765         (CFLAGS-tst-auditmod4a.c): Likewise.
10766         [$(subdir) = elf && $(config-cflags-avx) = yes]
10767         (CFLAGS-tst-auditmod4b.c): Likewise.
10768         [$(subdir) = elf && $(config-cflags-avx) = yes]
10769         (CFLAGS-tst-auditmod6b.c): Likewise.
10770         [$(subdir) = elf && $(config-cflags-avx) = yes]
10771         (CFLAGS-tst-auditmod6c.c): Likewise.
10772         [$(subdir) = elf && $(config-cflags-avx) = yes]
10773         (CFLAGS-tst-auditmod7b.c): Likewise.
10774         * elf/tst-audit3.c: Move to ...
10775         * sysdeps/x86_64/tst-audit3.c: ... here.
10776         * elf/tst-audit4.c: Move to ...
10777         * sysdeps/x86_64/tst-audit4.c: ... here.
10778         * elf/tst-audit5.c: Move to ...
10779         * sysdeps/x86_64/tst-audit5.c: ... here.
10780         * elf/tst-audit6.c: Move to ...
10781         * sysdeps/x86_64/tst-audit6.c: ... here.
10782         * elf/tst-audit7.c: Move to ...
10783         * sysdeps/x86_64/tst-audit7.c: ... here.
10784         * elf/tst-auditmod3a.c: Move to ...
10785         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10786         * elf/tst-auditmod3b.c: Move to ...
10787         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10788         * elf/tst-auditmod4a.c: Move to ...
10789         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10790         * elf/tst-auditmod4b.c: Move to ...
10791         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10792         * elf/tst-auditmod5a.c: Move to ...
10793         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10794         * elf/tst-auditmod5b.c: Move to ...
10795         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10796         * elf/tst-auditmod6a.c: Move to ...
10797         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10798         * elf/tst-auditmod6b.c: Move to ...
10799         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10800         * elf/tst-auditmod6c.c: Move to ...
10801         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10802         * elf/tst-auditmod7a.c: Move to ...
10803         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10804         * elf/tst-auditmod7b.c: Move to ...
10805         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10807 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10809         [BZ #15366]
10810         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10811         define unconditionally.
10812         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10813         define unconditionally.
10814         (INT8_C, INT16_C, etc.): Likewise.
10816 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10818         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10819         __ehdr_start with hidden visibility.
10821         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10823 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10825         * math/libm-test.inc (cos_test): Use accurate hex constants.
10826         (sincost_test): Likewise.
10828 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10830         * math/libm-test.inc (catan_test): Add more tests.
10831         (catanh_test): Likewise.
10833         * math/s_catanf.c (__catanf): Use suffixed floating-point
10834         constants.
10835         * math/s_catanhf.c (__catanhf): Likewise.
10836         * math/s_catanhl.c (__catanhl): Likewise.
10837         * math/s_catanl.c (__catanl): Likewise.
10839         [BZ #15394]
10840         * math/s_catan.c (__catan): Calculate imaginary part of result
10841         with log1p not log unless computing log of number close to 0.
10842         * math/s_catanf.c (__catanf): Likewise.
10843         * math/s_catanl.c (__catanl): Likewise.
10844         * math/s_catanh.c (__catanh): Calculate real part of result with
10845         log1p not log unless computing log of number close to 0.
10846         * math/s_catanhf.c (__catanhf): Likewise.
10847         * math/s_catanhl.c (__catanhl): Likewise.
10848         * math/libm-test.inc (catan_test): Add more tests.
10849         (catanh_test): Likewise.
10850         * sysdeps/i386/fpu/libm-test-ulps: Update.
10851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10853 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10855         * benchtests/Makefile: Mention files in which fast and slow
10856         paths of math functions are implemented.
10858 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10860         * sysdeps/posix/timespec_get.c: New file.
10862 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10864         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10865         POWER.
10866         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10867         for POWER.
10868         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10869         powerpc/power5/fpu folders.
10870         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10871         * benchtests/Makefile: Add modf testcase.
10872         * benchtests/bench-modf.c: New file: Benchmark test for mo
10874 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10876         [BZ #14888]
10877         * time/Makefile (tests): Add tst-strptime-whitespace.
10878         * time/strptime_l.c (get_number): Use ISSPACE.
10879         (__strptime_internal): Likewise.
10880         * time/tst-strptime-whitespace.c: New test case.
10882 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10884         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10885         member.
10886         (_nss_files_init): Set it here.
10888 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10890         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10891         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10892         unsigned.
10894 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10896         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10898 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10900         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10901         size just once.
10903 2013-04-21  David S. Miller  <davem@davemloft.net>
10905         * po/ru.po: Update Russion translation from translation project.
10907 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10909         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10910         and setfsgid.
10912 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10914         * configure.in: Remove i386 configure warning. Remove i386 case.
10915         * configure: Regenerate.
10916         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10917         Add example to error message.
10918         * sysdeps/i386/configure: Regenerate.
10920 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10922         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10923         slowtan.
10924         * benchtests/cos-inputs: New file.
10925         * benchtests/slowcos-inputs: New file.
10926         * benchtests/slowcos.c: New file.
10927         * benchtests/slowtan-inputs: New file.
10928         * benchtests/slowtan.c: New file.
10929         * benchtests/tan-inputs: New file.
10931 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10933         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10934         considered kosher.
10936 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10938         * benchtests/Makefile: Include cppflags-iterator.mk to add
10939         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10941         * Makefile.in (bench-clean): New target.
10942         * benchtests/Makefile (bench-clean): Likewise.
10944 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10946         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10948 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10950         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10952 2013-04-15  Andreas Schwab  <schwab@suse.de>
10954         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10955         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10956         * nscd/pwdcache.c (cache_addpw): Likewise.
10957         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10958         more than recsize.
10960 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10962         * benchtests/Makefile (bench): Write all output to
10963         bench-out.tmp together.
10965 2013-04-15  Andreas Schwab  <schwab@suse.de>
10967         * nscd/nscd.c (main): Don't fork again after closing files.
10969 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10971         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10973         * benchtests/Rules (bench-deps): Collect dependencies into a
10974         single variable.  Add Makefile to dependencies.
10975         ($(objpfx)bench-%.c): Depend on bench-deps.
10977 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10978             Xavier Roche  <roche+kml2@exalead.com>
10980         [BZ #15361]
10981         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10982         just that it's a file descriptor.
10983         * manual/llio.texi (Synchronizing AIO Operations): Update description
10984         for EBADF error from aio_fsync.
10986 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10988         * Rules (bench): Move target definition...
10989         * benchtests/Makefile: ... here.
10991 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10993         * math/libm-test.inc (cos_test): Fix PI/2 test.
10994         (sincos_test): Likewise.
10995         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10996         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10998 2013-04-11  Andreas Schwab  <schwab@suse.de>
11000         [BZ #13988]
11001         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11002         accept exponent character only when digits were seen.
11003         * stdio-common/Makefile (tests): Add bug26.
11004         * stdio-common/bug26.c: New file.
11006         [BZ #14293]
11007         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11008         non-freeable.
11010 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11012         * Makeconfig (rtld-prefix): Define built linker prefix.
11013         * Rules (run-bench): Use it.
11014         * math/Makefile (run-regen-ulps): Likewise.
11016         * Rules (bench): Remove eval.
11018 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11019             Roland McGrath  <roland@hack.frob.com>
11020             Ondrej Bilka  <neleai@seznam.cz>
11022         [BZ #15346]
11023         * time/getdate.c: Include ctype.h and alloca.h.
11024         (__getdate_r): Trim leading and trailing spaces of input.
11025         * time/tst-getdate.c (tests): Add tests with leading and
11026         trailing spaces.
11028 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11030         [BZ #14280]
11031         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11032         when computing value.
11034 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11036         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11037         Use testrun.sh to run libm tests.
11039         [BZ #15309]
11040         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11042 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11044         [BZ #15264]
11045         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11047 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11049         * Makefile.in (regen-ulps): New target.
11050         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11051         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11052         [ifneq (no,$(PERL)] (regen-ulps): New target.
11053         [ifeq (no,$(PERL)] (regen-ulps): New target.
11054         * math/libm-test.inc (ulps_file_name): Define.
11055         (output_dir): New variable.
11056         (options): Add "output-dir" option.
11057         (parse_opt): Handle 'o' case.
11058         (main): If output_dir is non-NULL use it as a prefix
11059         otherwise use "".
11060         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11062 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11064         [BZ #10060, #10062]
11065         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11066         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11067         fail configure if __sync_val_compare_and_swap is not inlined.
11068         * sysdeps/i386/configure: Regenerate.
11069         * configure.in: Build for i686 when configured for i386.
11070         * configure: Regenerate.
11071         * README: Remove i386 reference.
11073 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11075         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11076         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11078 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11080         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11081         (lmsnanval): New variables.
11082         (F): Add conversion tests.
11083         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11084         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11086         * stdio-common/tstdiomisc.c (F): Properly collect individual
11087         tests' results.
11089         [BZ #14686, #15336]
11090         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11091         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11092         Instead, use input NaN values or generate a qNaN by arithmetic
11093         operation.  Also fix bugs to comply with the standard.
11094         * math/libm-test.inc (remainder_test): Add more tests.
11096         [BZ #15335, #15342]
11097         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11098         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11099         input NaN values or generate a qNaN by arithmetic operation.
11101         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11102         unreachable code.
11104         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11105         definitions.
11107 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11109         [BZ #14478]
11110         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11111         underflowed result.
11112         * math/s_cexpf.c (__cexpf): Likewise.
11113         * math/s_cexpl.c (__cexpl): Likewise.
11114         * math/libm-test.inc (cexp_test): Add more tests.
11116 2013-04-03  Andreas Schwab  <schwab@suse.de>
11118         [BZ #15330]
11119         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11120         order arrays from heap if bigger than alloca cutoff.
11122 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11124         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11125         (SNAN_TESTS_double): Refer to GCC PR56831.
11126         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11127         GCC PR56828.
11129 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11131         * Rules (bench): Move bench.out after the run is complete.
11133         * Rules (bench): Echo currently running benchmark.
11135         * benchtests/Makefile (bench): Add atan and slowatan.
11136         * benchtests/atan-inputs: New file.
11137         * benchtests/slowatan-inputs: New file.
11138         * benchtests/slowatan.c: New file.
11140         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11141         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11142         its value.
11144         [BZ #15305]
11145         * sysdeps/unix/sysv/linux/kernel-features.h
11146         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11147         __ASSUME_XFS_RESTRICTED_CHOWN.
11148         * sysdeps/unix/sysv/linux/pathconf.c
11149         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11150         Save and restore errno.
11152 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11154         [BZ #15327]
11155         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11156         arguments using __kernel_casinh.
11157         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11158         arguments using __kernel_casinhf.
11159         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11160         arguments using __kernel_casinhl.
11161         * math/libm-test.inc (cacosh_test): Add more tests.
11162         * sysdeps/i386/fpu/libm-test-ulps: Update.
11163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11165 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11167         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11168         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11170         * bench/Makefile (bench): Add sin and slowsin.
11171         * benchtests/sin-inputs: New file.
11172         * benchtests/slowsin-inputs: New file.
11173         * benchtests/slowsin.c: New file.
11175         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11176         (bench): Add slowexp and slowpow.
11177         (exp-ITER): Increase iterations.
11178         (pow-ITER): Likewise.
11179         * benchtests/exp-inputs: Change input.
11180         * benchtests/pow-inputs: Likewise.
11181         * benchtests/slowexp-inputs: New file.
11182         * benchtests/slowexp.c: New file.
11183         * benchtests/slowpow-inputs: New file.
11184         * benchtests/slowpow.c: New file.
11186 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11188         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11189         instructions.
11190         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11191         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11192         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11193         * benchtests/Makefile: Add rint benchtest.
11194         * benchtests/rint-inputs: Input for rint benchtest.
11196 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11198         * Versions.def (libm): Add GLIBC_2.18.
11199         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11200         hidden libm prototypes.
11201         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11202         * math/Makefile (libm-calls): Add s_issignaling.
11203         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11204         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11205         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11206         declaration.
11207         * math/math.h [__USE_GNU] (issignaling): New macro.
11208         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11209         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11210         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11211         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11212         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11213         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11214         * manual/arith.texi (issignaling): New section.
11215         * manual/libm-err-tab.pl (@all_functions): Update comment.
11216         * math/gen-libm-test.pl (parse_args): Apply special handling for
11217         issignaling.
11218         * math/libm-test.inc (print_float, issignaling_test): New
11219         functions.
11220         (check_float_internal): Add issignaling checks.
11221         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11222         default definition.
11223         * sysdeps/powerpc/math-tests.h: New file.
11224         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11225         tests.
11226         * math/test-snan.c (TEST_FUNC): Likewise.
11228 2013-03-30  David S. Miller  <davem@davemloft.net>
11230         * po/de.po: Update from translation team.
11232 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11234         [BZ #10357]
11235         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11236         imaginary part less than 1.0 and real part less than 0.5
11237         specially.
11238         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11239         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11240         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11241         (cacos_test): Add more tests.
11242         (casin_test): Likewise.
11243         (casinh_test): Likewise.
11244         * sysdeps/i386/fpu/libm-test-ulps: Update.
11245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11247 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11249         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11250         ONE with its value.
11252         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11253         (__pow_mp): Replace ONE and MONE with their values.
11254         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11255         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11256         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11257         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11258         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11259         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11261         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11263         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11264         (__pow_mp): Replace ZERO and MZERO with their values.
11265         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11266         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11267         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11268         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11269         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11270         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11271         (__sqr): Likewise.
11273         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11275         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11277 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11279         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11280         Declare with __attribute__ ((weak)).
11281         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11282         Call __call_tls_dtors only if it's not NULL.
11284 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11286         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11287         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11288         magic __ehdr_start linker symbol if it's defined.
11289         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11290         them up here if it was already done.
11292         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11293         (_dl_aux_init): Use const in cast when setting it.
11294         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11295         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11296         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11298         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11299         Declare them here.
11300         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11301         * csu/libc-tls.c: Nor here.
11302         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11304         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11305         (__libc_message): Never call vsyslog.
11307 2013-03-28  Alan Modra  <amodra@gmail.com>
11309         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11310         Define as empty.
11311         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11312         Likewise.
11314 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11316         [BZ #15214]
11317         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11318         underflow.
11319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11321 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11323         [BZ #15304]
11324         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11325         Don't add gid passed as argument.
11327         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11329 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11331         [BZ #15307]
11332         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11333         imaginary part between 1.0 and 1.5 and real part less than 0.5
11334         specially.
11335         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11336         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11337         * math/libm-test.inc (cacos_test): Add more tests.
11338         (casin_test): Likewise.
11339         (casinh_test): Likewise.
11340         * sysdeps/i386/fpu/libm-test-ulps: Update.
11341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11343 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11345         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11346         constants.
11347         (norm): Likewise.
11348         (denorm): Likewise.
11349         (__dbl_mp): Likewise.
11350         (add_magnitudes): Likewise.
11351         (sub_magnitudes): Likewise.
11352         (__add): Likewise.
11353         (__sub): Likewise.
11354         (__mul): Likewise.
11355         (__sqr): Likewise.
11356         (__inv): Likewise.
11357         (__dvd): Likewise.
11359         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11360         commented code.
11361         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11362         (__dubcos): Likewise.
11363         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11364         (__ieee754_acos): Likewise.
11365         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11366         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11367         (__exp1): Likewise.
11368         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11370         (log1): Likewise.
11371         (my_log2): Likewise.
11372         (checkint): Likewise.
11373         * sysdeps/ieee754/dbl-64/e_remainder.c
11374         (__ieee754_remainder): Likewise.
11375         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11377         (bsloww): Likewise.
11378         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11380         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11381         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11382         MANTISSA_STORE_T to store computations on mantissa.  Use
11383         macros for rounding and division.
11384         (denorm): Likewise.
11385         (__dbl_mp): Likewise.
11386         (add_magnitudes): Likewise.
11387         (sub_magnitudes): Likewise.
11388         (__mul): Likewise.
11389         (__sqr): Likewise.
11390         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11391         powers of two in terms of TWOPOW macro.
11392         (mp_no): Make type of mantissa as MANTISSA_T.
11393         [!RADIXI]: Define RADIXI.
11394         [!TWO52]: Define TWO52.
11395         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11397 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11399         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11400         llroundl symbol when building for PPC32.
11402 2013-03-24  Mark H Weaver  <mhw@netris.org>
11404         * manual/arith.texi (Normalization Functions): Fix prototypes for
11405         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11407 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11409         [BZ #13889]
11410         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11411         high value to check if expl overflow.
11412         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11413         to check for underflow and overflow.
11414         * math/libm-test.inc: Add exp test.
11416 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11418         [BZ #11120]
11419         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11420         with NOT_IN_libc.
11422 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11424         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11425         symbol.
11427 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11429         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11430         wrap blocks consisting of several statements.
11432         * sysdeps/generic/math-tests.h: New file.
11433         * sysdeps/i386/fpu/math-tests.h: Likewise.
11434         * math/test-snan.c: Include it.
11435         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11437 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11439         [BZ #15285]
11440         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11441         (__ieee754_j0l): Do not improve calculations using cos of twice
11442         input for inputs above LDBL_MAX / 2.0L.
11443         (__ieee754_y0l): Likewise.
11444         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11445         (__ieee754_j1l): Do not improve calculations using cos of twice
11446         input for inputs above LDBL_MAX / 2.0L.
11447         (__ieee754_y1l): Likewise.
11448         * math/libm-test.inc (j0_test): Add another test.
11449         (j1_test): Likewise.
11450         (y0_test): Likewise.
11451         (y1_test): Likewise.
11452         * sysdeps/i386/fpu/libm-test-ulps: Update.
11454 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11456         * Rules ($(objpfx)bench-%.c): Include code from a C source
11457         file.
11459 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11461         [BZ #15287]
11462         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11463         imaginary part 1.0 and real part less than 0.5 specially.
11464         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11465         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11466         * math/libm-test.inc (cacos_test): Add more tests.
11467         (casin_test): Likewise.
11468         (casinh_test): Likewise.
11469         * sysdeps/i386/fpu/libm-test-ulps: Update.
11470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11472 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11474         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11475         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11477 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11479         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11480         * config.make.in (config-cflags-sse4): Remove variable.
11481         (config-cflags-avx): Likewise.
11482         (config-cflags-sse2avx): Likewise.
11483         (config-cflags-novzeroupper): Likewise.
11484         (config-asflags-i686): Likewise.
11485         (have-mfma4): Likewise.
11486         (have-as-vis3): Likewise.
11487         (MIG): Likewise.
11488         * configure.in (MIG): Do not AC_SUBST.
11489         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11490         (libc_cv_cc_sse4): Do not AC_SUBST.
11491         (libc_cv_cc_avx): Likewise.
11492         (libc_cv_cc_sse2avx): Likewise.
11493         (libc_cv_cc_novzeroupper): Likewise.
11494         (libc_cv_cc_fma4): Likewise.
11495         (libc_cv_as_i686): Likewise.
11496         (libc_cv_sparc_as_vis3): Likewise.
11497         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11498         LIBC_CONFIG_VAR.
11499         (config-asflags-i686): Likewise.
11500         (config-cflags-avx): Likewise.
11501         (config-cflags-sse2avx): Likewise.
11502         (have-mfma4): Likewise.
11503         (config-cflags-novzeroupper): Likewise.
11504         * sysdeps/mach/configure.in (MIG): Likewise.
11505         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11506         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11507         LIBC_CONFIG_VAR.
11508         (config-cflags-avx): Likewise.
11509         (config-cflags-sse2avx): Likewise.
11510         (have-mfma4): Likewise.
11511         (config-cflags-novzeroupper): Likewise.
11512         * configure: Regenerated.
11513         * sysdeps/i386/configure: Likewise.
11514         * sysdeps/mach/configure: Likewise.
11515         * sysdeps/sparc/configure: Likewise.
11516         * sysdeps/x86_64/configure: Likewise.
11518 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11520         [BZ #14812]
11521         * locale/programs/localedef.c (options): Put N_ translation marker
11522         on argument names, not just descriptions.
11524 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11526         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11528 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11530         [BZ #14176]
11531         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11533 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11535         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11536         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11537         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11538         [!BEFORE_ABORT] (before_abort): New function.
11539         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11540         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11541         (writev_for_fatal): New function.
11542         (WRITEV_FOR_FATAL): New macro; call that.
11543         (backtrace_and_maps): New function.
11544         (BEFORE_ABORT): New macro; call that.
11545         (struct str_list): Type removed.
11546         (__libc_message, __libc_fatal): Functions removed.
11547         Include <sysdeps/posix/libc_fatal.c> instead.
11549 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11551         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11552         constants.
11553         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11554         double constants.
11556 2013-03-19  Andreas Schwab  <schwab@suse.de>
11558         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11559         * sysdeps/gnu/configure: Regenerate.
11561         * configure.in: Substitute libc_cv_rtlddir.
11562         * configure: Regenerate.
11563         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11564         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11565         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11566         * elf/Makefile (install-others, CFLAGS-interp.c)
11567         (ldso_install, common-ldd-rewrite): Likewise.
11568         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11569         $(inst_slibdir)/$(rtld-installed-name).
11570         * scripts/rellns-sh: Add -p option.
11571         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11572         for source.
11574 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11576         * manual/nptl.texi: Renamed to ...
11577         * manual/threads.texi: ... this.
11578         * manual/Makefile (chapters): Update.
11580 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11582         [BZ #14812]
11583         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11584         on argument names, not just descriptions.
11585         * malloc/memusagestat.c (options): Likewise.
11586         * nss/getent.c (options): Likewise.
11588 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11590         [BZ #14812]
11591         * iconv/iconv_prog.c (options): Put N_ translation marker
11592         on argument names, not just descriptions.
11593         * iconv/iconvconfig.c (options): Likewise.
11595 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11597         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11598         implementation which is faster on all x86_64 architectures.
11599         Tested on AMD, Intel Nehalem, SNB, IVB.
11600         * sysdeps/x86_64/strnlen.S: Likewise.
11602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11603         Remove all multiarch strlen and strnlen versions.
11604         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11605         Remove strlen and strnlen related parts.
11607         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11608         Inline strlen part.
11609         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11611         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11612         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11613         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11614         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11615         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11616         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11618 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11620         * manual/memory.texi (Malloc Tunable Parameters):
11621         Sort parameters alphabetically. Add comments for missing entries.
11623 2013-03-17  David S. Miller  <davem@davemloft.net>
11625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11627 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11629         [BZ #15283]
11630         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11631         for arguments at most half maximum finite value.
11632         * math/libm-test.inc (j0_test): Add more tests.
11633         (j1_test): Likewise.
11634         (y0_test): Likewise.
11635         (y1_test): Likewise.
11636         * sysdeps/i386/fpu/libm-test-ulps: Update.
11637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11639         [BZ #14155]
11640         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11641         1 / x and functions P and Q for arguments above 0x1p256L.
11642         (__ieee754_y0l): Likewise.
11643         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11644         (__ieee754_y1l): Likewise.
11645         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11646         (j1_test): Likewise.
11647         (y0_test): Likewise.
11648         (y1_test): Likewise.
11650 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11652         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11653         variable.
11655 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11657         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11658         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11659         zero since it's initialized to EXEC_PAGESIZE.
11661         * sysdeps/unix/sysv/linux/ldsodefs.h
11662         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11663         * sysdeps/generic/ldsodefs.h: ... here.
11665 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11667         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11669         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11670         math/test-snan.c.
11671         * math/test-snan.c: Renamed from
11672         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11673         * math/Makefile (tests): Add test-snan.
11674         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11675         test-powerpc-snan.
11677         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11678         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11679         functions.
11680         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11681         __builtin_nan family of functions.
11682         * math/libm-test.inc (initialize): Initialize qnan_value with
11683         __builtin_nan family of functions.
11684         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11685         Remove variables.
11686         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11687         Remove functions.
11688         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11689         storage class.  Initialize qNaN_var and sNaN_var with
11690         __builtin_nan and __builtin_nans families of functions,
11691         respectively.
11693         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11694         (sqrt_test): Remove duplicate test with qNaN input.
11695         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11696         (round_test, signbit_test, significand_test): Note missing +/-Inf
11697         as well as qNaN tests.
11699         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11700         qNaN_var.  Fix a few strings, too.
11701         * math/libm-test.inc (nan_value): Rename to qnan_value.
11702         * math/gen-libm-test.pl (%beautify): Adjust to that.
11703         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11704         * math/test-misc.c (main): Likewise.
11705         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11706         to __qnan_bytes, and __qnan_union, respectively.
11707         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11708         Likewise.
11709         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11710         and lqnanval, respectively.
11711         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11712         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11713         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11714         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11716         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11717         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11718         doubles.
11720         * math/test-misc.c (main): Fix copy'n'pastos.
11721         * misc/tst-efgcvt.c (special): Likewise.
11723         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11724         Remove declarations.
11726 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11728         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11729         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11730         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11731         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11733 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11735         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11736         macro to return vdso values correctly in IFUNC implementations.
11737         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11738         Optimization by using IFUNC.
11740 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11741             Richard Henderson  <rth@redhat.com>
11742             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11744         * Makefile.in (bench): New target.
11745         * NEWS: Mention the benchmark framework.
11746         * Rules (bench): Likewise.
11747         (binaries-bench): Generate binaries for functions to
11748         benchmark.
11749         * benchtests/Makefile: New makefile for benchmark tests.
11750         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11751         programs.
11752         * benchtests/exp-inputs: New input file for EXP function.
11753         * benchtests/pow-inputs: New input file for POW function.
11754         * scripts/bench.pl: New script to generate source files for
11755         benchmark programs.
11757 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11759         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11760         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11761         computations on mantissa.  Use macros for rounding and
11762         division.
11763         (denorm): Likewise.
11764         (__dbl_mp): Likewise.
11765         (add_magnitudes): Likewise.
11766         (sub_magnitudes): Likewise.
11767         (__mul): Likewise.
11768         (__sqr): Likewise.
11769         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11770         powers of two in terms of TWOPOW macro.
11771         (mp_no): Make type of mantissa as MANTISSA_T.
11772         [!RADIXI]: Define RADIXI.
11773         [!TWO52]: Define TWO52.
11774         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11776         * manual/nptl.texi (cindex): Modify threads to pthreads.
11778 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11780         * sysdeps/x86_64/preconfigure: Regenerated.
11782 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11784         [BZ #14155]
11785         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11786         0x1p28 and above.
11787         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11788         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11789         0x1p28 and above.
11790         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11791         * math/libm-test.inc (j0_test): Do not allow one spurious
11792         underflow exception.
11793         (y1_test): Likewise.
11795 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11797         * manual/Makefile (chapters): Add nptl.
11798         * manual/debug.texi (Debugging Support): Add link to Threads
11799         chapter.
11800         * manual/nptl.texi: New file.
11802         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11804 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11806         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11807         for non-NULL pointer before the memory validity test. Pointed
11808         out by Holger Brunck <holger.brunck@keymile.com>.
11810 2013-03-13  Andreas Schwab  <schwab@suse.de>
11812         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11813         instead of .os.
11815 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11817         * timezone/zic.c: Update from tzcode 2013b.
11819 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11821         * manual/install.texi (Configuring and compiling):
11822         Mention i686 and i586.
11823         * INSTALL: Regenerate.
11825 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11827         * sysdeps/init_array/elf-init.c: New file.
11828         * csu/elf-init.c
11829         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11830         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11832         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11833         __gmon_start__ as global, but as static with a .preinit_array pointer.
11834         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11835         * sysdeps/init_array/crti.S: New file, empty except for comments.
11836         * sysdeps/init_array/crtn.S: Likewise.
11838 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11840         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11841         definining bcopy.
11842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11843         Remove Prefer_SSE_for_memop.
11844         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11845         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11846         HAS_PREFER_SSE_FOR_MEMOP.
11847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11848         memset-x86-64.
11849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11850         Remove bzero, memset ifunc support.
11851         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11852         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11853         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11854         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11856 2013-03-11  Andreas Schwab  <schwab@suse.de>
11858         [BZ #15234]
11859         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11860         by SHLIB_COMPAT.
11861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11862         (GLIBC_2.16): Remove pthread_atfork.
11864 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11866         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11867         (ptestcases.h): Likewise.
11869 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11871         * Makeconfig ($(common-objpfx)config.status): Depend on
11872         sysdeps/*/preconfigure{,.in} too.
11874 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11876         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11877         (__free_hook): Use void * instead of __malloc_ptr_t.
11878         (__malloc_hook): Likewise.
11879         (__realloc_hook): Likewise.
11880         (__memalign_hook): Likewise.
11881         (__after_morecore_hook): Likewise.
11882         * malloc/arena.c (save_malloc_hook): Likewise.
11883         (save_free_hook): Likewise.
11884         * malloc/hooks.c (malloc_hook_ini): Likewise.
11885         (realloc_hook_ini): Likewise.
11886         (memalign_hook_ini): Likewise.
11887         * malloc/malloc.c (malloc_hook_ini): Likewise.
11888         (realloc_hook_ini): Likewise.
11889         (memalign_hook_ini): Likewise.
11890         (__free_hook): Likewise.
11891         (__malloc_hook): Likewise.
11892         (__realloc_hook): Likewise.
11893         (__memalign_hook): Likewise.
11894         (__libc_malloc): Likewise.
11895         (__libc_free): Likewise.
11896         (__libc_realloc): Likewise.
11897         (__libc_memalign): Likewise.
11898         (__libc_valloc): Likewise.
11899         (__libc_pvalloc): Likewise.
11900         (__libc_calloc): Likewise.
11901         (__posix_memalign): Likewise.
11902         * malloc/morecore.c (__sbrk): Likewise.
11903         (__default_morecore): Likewise.
11905         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11907         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11908         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11909         __malloc_ptrdiff_t.
11911         * malloc/malloc.h (__malloc_size_t): Remove macro.
11912         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11913         __malloc_size_t.
11914         (old_memalign_hook): Likewise.
11915         (old_realloc_hook): Likewise.
11916         (struct hdr): Likewise.
11917         (flood): Likewise.
11918         (mallochook): Likewise.
11919         (memalignhook): Likewise.
11920         (reallochook): Likewise.
11921         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11922         (tr_old_realloc_hook): Likewise.
11923         (tr_old_memalign_hook): Likewise.
11924         (tr_mallochook): Likewise.
11925         (tr_reallochook): Likewise.
11926         (tr_memalignhook): Likewise.
11928 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11931         default_ldbl_pack and using as default implementation.
11932         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11933         implementation.
11934         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11935         redundant definition.
11936         (ldbl_insert_mantissa): Likewise.
11937         (ldbl_canonicalize): Likewise.
11938         (ldbl_nearbyint): Likewise.
11939         (ldbl_pack): Rename to ldbl_pack_ppc.
11940         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11941         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11942         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11944 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11946         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11947         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11948         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11949         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11951         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11952         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11953         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11955 2013-03-07  Andreas Jaeger  <aj@suse.de>
11957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11958         bits/mman-linux.h.
11960 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11962         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11963         Include mpa.h and declare __MPEXP.
11964         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11965         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11966         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11967         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11968         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11969         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11970         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11972         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11973         (__slowpow): Use long double EXPL and LOGL functions to
11974         compute POW.
11975         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11976         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11977         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11978         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11979         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11980         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11983         intermediate variable to calculate exponent.
11984         (__sqr): Likewise.
11985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11986         Likewise.
11987         (__sqr): Likewise.
11989         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11990         [!NO__SQR]: Define __sqr.
11991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11992         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11993         sysdeps/ieee754/dbl-64/mpa.c.
11994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11996         [BZ #12723]
11997         * posix/Makefile (tests): Add tst-pathconf.
11998         * posix/tst-pathconf.c: New test case.
11999         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12000         _PC_PIPE_BUF.
12001         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12003 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12005         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12007 2013-03-06  Andreas Jaeger  <aj@suse.de>
12009         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12010         definition via __MAP_ANONYMOUS.
12012         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12013         it's not part of Linux headers.
12015         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12016         (MAP_HUGE_MASK): Define.
12018         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12019         Define.
12020         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12021         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12022         Define.
12023         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12024         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12025         Define.
12026         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12027         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12028         Define.
12029         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12031         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12032         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12033         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12034         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12035         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12036         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12038         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12039         Handle f2fs.
12041         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12042         Handle f2fs and efivarfs.
12044         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12045         f2fs.
12047         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12048         (EFIVARFS_MAGIC): Add.
12049         (F2FS_LINK_MAX): Add.
12051 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12053         * stdio-common/vfprintf.c: Replace __builtin_expect with
12054         __glibc_unlikely.
12056 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12058         [BZ #13550]
12059         * sysdeps/generic/bp-sym.h: Remove file.
12060         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12061         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12062         <bp-sym.h> and <bp-asm.h>.
12063         (__longjmp): Don't use BP_SYM.
12064         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12065         and <bp-asm.h>.
12066         (memcpy): Don't use BP_SYM.
12067         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12068         <bp-sym.h> and <bp-asm.h>.
12069         (memcpy): Don't use BP_SYM.
12070         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12071         <bp-asm.h>.
12072         (memcpy): Don't use BP_SYM.
12073         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12074         <bp-asm.h>.
12075         (memset): Don't use BP_SYM.
12076         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12077         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12078         (__bzero): Don't use BP_SYM.
12079         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12080         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12081         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12082         <bp-sym.h> and <bp-asm.h>.
12083         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12084         pointers.
12085         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12086         <bp-sym.h> and <bp-asm.h>.
12087         (memcpy): Don't use BP_SYM.
12088         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12089         <bp-sym.h> and <bp-asm.h>.
12090         (memset): Don't use BP_SYM.
12091         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12092         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12093         (__bzero): Don't use BP_SYM.
12094         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12095         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12096         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12097         <bp-sym.h> and <bp-asm.h>.
12098         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12099         pointers.
12100         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12101         <bp-sym.h> and <bp-asm.h>.
12102         (memcpy): Don't use BP_SYM.
12103         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12104         <bp-sym.h> and <bp-asm.h>.
12105         (memset): Don't use BP_SYM.
12106         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12107         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12108         (__bzero): Don't use BP_SYM.
12109         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12110         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12111         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12112         <bp-sym.h> and <bp-asm.h>.
12113         (__memchr): Don't use BP_SYM.
12114         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12115         <bp-sym.h> and <bp-asm.h>.
12116         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12117         pointers.
12118         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12119         <bp-sym.h> and <bp-asm.h>.
12120         (memcpy): Don't use BP_SYM.
12121         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12122         <bp-sym.h> and <bp-asm.h>.
12123         (__mempcpy): Don't use BP_SYM.
12124         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12125         <bp-sym.h> and <bp-asm.h>.
12126         (__memrchr): Don't use BP_SYM.
12127         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12128         <bp-sym.h> and <bp-asm.h>.
12129         (memset): Don't use BP_SYM.
12130         (__bzero): Likewise.
12131         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12132         <bp-sym.h> and <bp-asm.h>.
12133         (__rawmemchr): Don't use BP_SYM.
12134         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12135         <bp-sym.h> and <bp-asm.h>.
12136         (__STRCMP): Don't use BP_SYM.
12137         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12138         <bp-sym.h> and <bp-asm.h>.
12139         (strchr): Don't use BP_SYM.
12140         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12141         <bp-sym.h> and <bp-asm.h>.
12142         (__strchrnul): Don't use BP_SYM.
12143         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12144         <bp-sym.h> and <bp-asm.h>.
12145         (strlen): Don't use BP_SYM.
12146         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12147         <bp-sym.h> and <bp-asm.h>.
12148         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12149         pointers.
12150         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12151         <bp-sym.h> and <bp-asm.h>.
12152         (__strnlen): Don't use BP_SYM.
12153         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12154         <bp-sym.h> and <bp-asm.h>.
12155         (__GI__setjmp): Don't use BP_SYM.
12156         (_setjmp): Likewise.
12157         (__sigsetjmp): Likewise.
12158         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12159         (L(start_addresses)): Don't use BP_SYM.
12160         (_start): Likewise.
12161         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12162         <bp-asm.h>.
12163         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12164         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12165         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12166         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12167         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12168         <bp-asm.h>.
12169         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12170         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12171         about bounded pointers.
12172         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12173         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12174         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12175         <bp-asm.h>.
12176         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12177         about bounded pointers.  Remove GKM FIXME comments.
12178         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12179         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12180         <bp-asm.h>.
12181         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12182         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12183         Remove GKM FIXME comments.
12184         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12185         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12186         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12187         <bp-asm.h>.
12188         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12189         about bounded pointers.  Remove GKM FIXME comment.
12190         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12191         and <bp-asm.h>.
12192         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12193         pointers.
12194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12195         <bp-sym.h> and <bp-asm.h>.
12196         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12198         <bp-sym.h> and <bp-asm.h>.
12199         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12200         comment.
12202 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12204         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12205         call free(NULL).
12207 2013-03-05  David S. Miller  <davem@davemloft.net>
12209         * po/es.po: Update from translation team.
12211 2013-03-05  Andreas Jaeger  <aj@suse.de>
12213         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12214         <bits/mman-linux.h>.
12215         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12216         is fine.
12217         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12218         <bits/mman-linux.h> to end of file.
12219         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12220         is fine.
12221         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12222         <bits/mman-linux.h> to end of file.
12223         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12224         is fine.
12225         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12226         <bits/mman-linux.h> to end of file.
12228         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12229         (MCL_CURRENT, MCL_FUTURE): Define here.
12231 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12233         [BZ #15232]
12234         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12235         attribute_hidden.
12236         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12238 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12240         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12241         fourth parameter needed for rt_sigprocmask syscall.
12242         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12243         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12244         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12245         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12246         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12247         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12249 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12251         [BZ #13550]
12252         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12253         comment about bounded pointers.
12254         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12255         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12257 2013-03-04  Andreas Jaeger  <aj@suse.de>
12259         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12260         common definitions.
12262         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12263         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12264         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12265         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12266         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12267         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12269 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12271         [BZ #15055]
12272         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12273         __ieee754_sqrl instead of __sqrl.
12275 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12277         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12278         * sysdeps/powerpc/fpu_control.h: ... here.
12279         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12280         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12281         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12282         * sysdeps/powerpc/bits/mathinline.h: ... here.
12284 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12286         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12287         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12288         to just [NEED_DL_SYSINFO_DSO].
12289         * elf/dl-support.c: Likewise.
12290         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12291         * elf/rtld.c (dl_main): Likewise.
12292         * elf/setup-vdso.h (setup_vdso): Likewise.
12293         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12294         * sysdeps/unix/sysv/linux/dl-sysdep.c
12295         (_dl_discover_osversion): Likewise.
12297 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12299         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12300         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12302 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12304         * NEWS: Mention libm performance improvements and non-x86 PI
12305         futex support.
12307         * csu/libc-start.c (__pthread_initialize_minimal): Change
12308         function arguments.
12309         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12311 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12313         [BZ #13550]
12314         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12315         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12316         <bp-sym.h> and <bp-asm.h>.
12317         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12318         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12319         and <bp-asm.h>.
12320         (memcpy): Don't use BP_SYM.
12321         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12322         <bp-asm.h>.
12323         (__mpn_add_n): Don't use BP_SYM.
12324         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12325         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12326         and <bp-asm.h>.
12327         (__mpn_addmul_1): Don't use BP_SYM.
12328         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12329         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12330         <bp-sym.h>.
12331         (_setjmp): Don't use BP_SYM.
12332         (__novmx_setjmp): Likewise.
12333         (__GI__setjmp): Likewise.
12334         (__vmx_setjmp): Likewise.
12335         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12336         <bp-sym.h>.
12337         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12338         (__bzero): Don't use BP_SYM.
12339         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12340         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12341         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12342         <bp-sym.h> and <bp-asm.h>.
12343         (memcpy): Don't use BP_SYM.
12344         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12345         <bp-sym.h> and <bp-asm.h>.
12346         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12347         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12348         <bp-sym.h> and <bp-asm.h>.
12349         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12350         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12351         <bp-asm.h>.
12352         (__mpn_lshift): Don't use BP_SYM.
12353         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12354         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12355         <bp-asm.h>.
12356         (memset): Don't use BP_SYM.
12357         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12358         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12359         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12360         <bp-asm.h>.
12361         (__mpn_mul_1): Don't use BP_SYM.
12362         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12363         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12364         <bp-sym.h> and <bp-asm.h>.
12365         (memcmp): Don't use BP_SYM.
12366         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12367         <bp-sym.h> and <bp-asm.h>.
12368         (memcpy): Don't use BP_SYM.
12369         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12370         <bp-sym.h> and <bp-asm.h>.
12371         (memset): Don't use BP_SYM.
12372         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12373         <bp-sym.h> and <bp-asm.h>.
12374         (strncmp): Don't use BP_SYM.
12375         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12376         <bp-sym.h> and <bp-asm.h>.
12377         (memcpy): Don't use BP_SYM.
12378         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12379         <bp-sym.h> and <bp-asm.h>.
12380         (memset): Don't use BP_SYM.
12381         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12382         <bp-sym.h> and <bp-asm.h>.
12383         (__memchr): Don't use BP_SYM.
12384         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12385         <bp-sym.h> and <bp-asm.h>.
12386         (memcmp): Don't use BP_SYM.
12387         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12388         <bp-sym.h> and <bp-asm.h>.
12389         (memcpy): Don't use BP_SYM.
12390         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12391         <bp-sym.h> and <bp-asm.h>.
12392         (__mempcpy): Don't use BP_SYM.
12393         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12394         <bp-sym.h> and <bp-asm.h>.
12395         (__memrchr): Don't use BP_SYM.
12396         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12397         <bp-sym.h> and <bp-asm.h>.
12398         (memset): Don't use BP_SYM.
12399         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12400         <bp-sym.h> and <bp-asm.h>.
12401         (__rawmemchr): Don't use BP_SYM.
12402         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12403         <bp-sym.h> and <bp-asm.h>.
12404         (__STRCMP): Don't use BP_SYM.
12405         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12406         <bp-sym.h> and <bp-asm.h>.
12407         (strchr): Don't use BP_SYM.
12408         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12409         <bp-sym.h> and <bp-asm.h>.
12410         (__strchrnul): Don't use BP_SYM.
12411         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12412         <bp-sym.h> and <bp-asm.h>.
12413         (strlen): Don't use BP_SYM.
12414         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12415         <bp-sym.h> and <bp-asm.h>.
12416         (strncmp): Don't use BP_SYM.
12417         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12418         <bp-sym.h> and <bp-asm.h>.
12419         (__strnlen): Don't use BP_SYM.
12420         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12421         <bp-asm.h>.
12422         (__mpn_rshift): Don't use BP_SYM.
12423         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12424         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12425         <bp-sym.h> and <bp-asm.h>.
12426         (__sigsetjmp): Don't use BP_SYM.
12427         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12428         (L(start_addresses)): Don't use BP_SYM.
12429         (_start): Likewise.
12430         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12431         <bp-asm.h>.
12432         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12433         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12434         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12435         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12436         <bp-asm.h>.
12437         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12438         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12439         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12440         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12441         <bp-asm.h>.
12442         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12443         comments.
12444         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12445         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12446         <bp-asm.h>.
12447         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12448         FIXME comments.
12449         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12450         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12451         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12452         <bp-asm.h>.
12453         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12454         comment.
12455         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12456         and <bp-asm.h>.
12457         (strncmp): Don't use BP_SYM,
12458         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12459         <bp-asm.h>.
12460         (__mpn_sub_n): Don't use BP_SYM.
12461         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12462         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12463         and <bp-asm.h>.
12464         (__mpn_submul_1): Don't use BP_SYM.
12465         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12467         <bp-sym.h> and <bp-asm.h>.
12468         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12470         <bp-sym.h> and <bp-asm.h>.
12471         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12472         comment.
12474 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12476         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12477         Use ZK to minimize writes to Z.
12478         (sub_magnitudes): Simplify code a bit.
12479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12480         Use ZK to minimize writes to Z.
12481         (sub_magnitudes): Simplify code a bit.
12483 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12485         * csu/gmon-start.c: Add special exception to license text.
12487 2013-02-27  Richard Henderson  <rth@redhat.com>
12489         * scripts/config.guess: Update from config.git.
12490         * scripts/config.sub: Likewise.
12492 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12494         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12496         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12498         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12500         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12502         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12504 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12506         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12507         [$(build-shared = yes].
12509 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12511         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12512         (__mul): Reduce iterations for calculating mantissa.
12514         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12515         MPTWO.
12516         (__mpranred): Likewise.
12518         [BZ #15160]
12519         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12520         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12522 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12524         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12525         Define __attribute__.
12527 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12529         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12530         unused.
12531         * posix/regex_internal.h (__attribute): Remove.
12532         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12533         (re_string_context_at): Likewise.
12534         (bitset_not): Use __attribute__ and mark function as possibly
12535         unused.
12536         (bitset_merge): Likewise.
12537         (bitset_mask): Likewise.
12538         (re_string_char_size_at): Likewise.
12539         (re_string_wchar_at): Likewise.
12540         (re_string_elem_size_at): Likewise.
12542 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12544         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12545         code.
12546         (cc32): Likewise.
12548         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12549         (__acr): Likewise.
12550         (__cpy): Likewise.
12551         (norm): Likewise.
12552         (denorm): Likewise.
12553         (__dbl_mp): Likewise.
12554         (add_magnitudes): Likewise.
12555         (sub_magnitudes): Likewise.
12556         (__mul): Likewise.
12557         (__inv): Likewise.
12559         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12560         style.
12562         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12563         style.
12565         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12566         code.
12568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12569         up changes with default code.
12570         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12571         Likewise.
12573 2013-02-24  Allan McRae  <allan@archlinux.org>
12575         * manual/socket.texi (The Internet Namespace): Order menu items
12576         to match that in the file.
12578         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12579         node listing of the info page menu.
12581 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12583         [BZ #13550]
12584         * sysdeps/i386/bp-asm.h: Remove file.
12585         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12586         (PARMS): Do not use macros from bp-asm.h.
12587         (S1): Likewise.
12588         (S2): Likewise.
12589         (SIZE): Likewise.
12590         (__mpn_add_n): Do not use BP_SYM
12591         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12592         "bp-asm.h".
12593         (PARMS): Do not use macros from bp-asm.h.
12594         (S1): Likewise.
12595         (SIZE): Likewise.
12596         (__mpn_addmul_1): Do not use BP_SYM
12597         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12598         "bp-asm.h".
12599         (PARMS): Do not use macros from bp-asm.h.
12600         (SIGMSK): Likewise.
12601         (_setjmp): Likewise.  Do not use BP_SYM.
12602         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12603         "bp-asm.h".
12604         (PARMS): Do not use macros from bp-asm.h.
12605         (SIGMSK): Likewise.
12606         (setjmp): Likewise.  Do not use BP_SYM.
12607         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12608         "bp-asm.h".
12609         (PARMS): Do not use macros from bp-asm.h.
12610         (__frexp): Do not use BP_SYM.
12611         (frexp): Likewise.
12612         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12613         "bp-asm.h".
12614         (PARMS): Do not use macros from bp-asm.h.
12615         (__frexpf): Do not use BP_SYM.
12616         (frexpf): Likewise.
12617         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12618         "bp-asm.h".
12619         (PARMS): Do not use macros from bp-asm.h.
12620         (__frexpl): Do not use BP_SYM.
12621         (frexpl): Likewise.
12622         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12623         "bp-asm.h".
12624         (PARMS): Do not use macros from bp-asm.h.
12625         (__remquo): Do not use BP_SYM.
12626         (remquo): Likewise.
12627         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12628         "bp-asm.h".
12629         (PARMS): Do not use macros from bp-asm.h.
12630         (__remquof): Do not use BP_SYM.
12631         (remquof): Likewise.
12632         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12633         "bp-asm.h".
12634         (PARMS): Do not use macros from bp-asm.h.
12635         (__remquol): Do not use BP_SYM.
12636         (remquol): Likewise.
12637         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12638         "bp-asm.h".
12639         (PARMS): Do not use macros from bp-asm.h.
12640         (DEST): Likewise.
12641         (SRC): Likewise.
12642         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12643         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12644         "bp-asm.h".
12645         (PARMS): Do not use macros from bp-asm.h.
12646         (strlen): Do not use BP_SYM.
12647         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12648         "bp-asm.h".
12649         (PARMS): Do not use macros from bp-asm.h.
12650         (S1): Likewise.
12651         (S2): Likewise.
12652         (SIZE): Likewise.
12653         (__mpn_add_n): Do not use BP_SYM.
12654         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12655         "bp-asm.h".
12656         (PARMS): Do not use macros from bp-asm.h.
12657         (S1): Likewise.
12658         (SIZE): Likewise.
12659         (__mpn_addmul_1): Do not use BP_SYM.
12660         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12661         weak_alias.
12662         (bzero): Likewise.
12663         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12664         "bp-asm.h".
12665         (PARMS): Do not use macros from bp-asm.h.
12666         (S): Likewise.
12667         (SIZE): Likewise.
12668         (__mpn_lshift): Do not use BP_SYM.
12669         * sysdeps/i386/i586/memcpy.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         (LEN): Likewise.
12675         (memcpy): Likewise.  Do not use BP_SYM.
12676         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12677         libc_hidden_def and weak_alias.
12678         (mempcpy): Do not use BP_SYM in weak_alias.
12679         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12680         "bp-asm.h".
12681         (PARMS): Do not use macros from bp-asm.h.
12682         (DEST): Likewise.
12683         (LEN): Likewise.
12684         [!BZERO_P] (CHR): Likewise.
12685         (memset): Likewise.  Do not use BP_SYM.
12686         * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
12692         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12693         "bp-asm.h".
12694         (PARMS): Do not use macros from bp-asm.h.
12695         (S): Likewise.
12696         (SIZE): Likewise.
12697         (__mpn_rshift): Do not use BP_SYM.
12698         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12699         "bp-asm.h".
12700         (PARMS): Do not use macros from bp-asm.h.
12701         (STR): Likewise.
12702         (CHR): Likewise.
12703         (strchr): Likewise.  Do not use BP_SYM.
12704         (index): Do not use BP_SYM in weak_alias.
12705         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12706         "bp-asm.h".
12707         (PARMS): Do not use macros from bp-asm.h.
12708         (DEST): Likewise.
12709         (SRC): Likewise.
12710         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12711         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12712         "bp-asm.h".
12713         (PARMS): Do not use macros from bp-asm.h.
12714         (strlen): Do not use BP_SYM.
12715         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12716         "bp-asm.h".
12717         (PARMS): Do not use macros from bp-asm.h.
12718         (S1): Likewise.
12719         (S2): Likewise.
12720         (SIZE): Likewise.
12721         (__mpn_sub_n): Do not use BP_SYM.
12722         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12723         "bp-asm.h".
12724         (PARMS): Do not use macros from bp-asm.h.
12725         (S1): Likewise.
12726         (SIZE): Likewise.
12727         (__mpn_submul_1): Do not use BP_SYM.
12728         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12729         "bp-asm.h".
12730         (PARMS): Do not use macros from bp-asm.h.
12731         (S1): Likewise.
12732         (S2): Likewise.
12733         (SIZE): Likewise.
12734         (__mpn_add_n): Do not use BP_SYM.
12735         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12736         weak_alias.
12737         (bzero): Likewise.
12738         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12739         "bp-asm.h".
12740         (PARMS): Do not use macros from bp-asm.h.
12741         (BLK2): Likewise.
12742         (LEN): Likewise.
12743         (memcmp): Do not use BP_SYM.
12744         (bcmp): Do not use BP_SYM in weak_alias.
12745         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12746         "bp-asm.h".
12747         (PARMS): Do not use macros from bp-asm.h.
12748         (DEST): Likewise.
12749         (SRC): Likewise.
12750         (LEN): Likewise.
12751         (memcpy): Likewise.  Do not use BP_SYM.
12752         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12753         "bp-asm.h".
12754         (PARMS): Do not use macros from bp-asm.h.
12755         (DEST): Likewise.
12756         (SRC): Likewise.
12757         (LEN): Likewise.
12758         (memmove): Likewise.  Do not use BP_SYM.
12759         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12760         "bp-asm.h".
12761         (PARMS): Do not use macros from bp-asm.h.
12762         (DEST): Likewise.
12763         (SRC): Likewise.
12764         (LEN): Likewise.
12765         (__mempcpy): Likewise.  Do not use BP_SYM.
12766         (mempcpy): Do not use BP_SYM in weak_alias.
12767         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12768         "bp-asm.h".
12769         (PARMS): Do not use macros from bp-asm.h.
12770         (DEST): Likewise.
12771         (LEN): Likewise.
12772         [!BZERO_P] (CHR): Likewise.
12773         (memset): Likewise.  Do not use BP_SYM.
12774         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12775         "bp-asm.h".
12776         (PARMS): Do not use macros from bp-asm.h.
12777         (STR2): Likewise.
12778         (strcmp): Do not use BP_SYM.
12779         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12780         "bp-asm.h".
12781         (PARMS): Do not use macros from bp-asm.h.
12782         (STR): Likewise.
12783         (DELIM): Likewise.
12784         [USE_AS_STRTOK_R] (SAVE): Likewise.
12785         (FUNCTION): Likewise.  Do not use BP_SYM.
12786         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12787         aliases.
12788         (strtok_r): Likewise.
12789         (__GI___strtok_r): Likewise.
12790         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12791         (PARMS): Do not use macros from bp-asm.h.
12792         (S): Likewise.
12793         (SIZE): Likewise.
12794         (__mpn_lshift): Do not use BP_SYM.
12795         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12796         (PARMS): Do not use macros from bp-asm.h.
12797         (STR): Likewise.
12798         (CHR): Likewise.
12799         (__memchr): Do not use BP_SYM.
12800         (memchr): Do not use BP_SYM in weak_alias.
12801         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12802         (PARMS): Do not use macros from bp-asm.h.
12803         (BLK2): Likewise.
12804         (LEN): Likewise.
12805         (memcmp): Do not use BP_SYM.
12806         (bcmp): Do not use BP_SYM in weak_alias.
12807         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12808         (PARMS): Do not use macros from bp-asm.h.
12809         (S1): Likewise.
12810         (SIZE): Likewise.
12811         (__mpn_mul_1): Do not use BP_SYM.
12812         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12813         "bp-asm.h".
12814         (PARMS): Do not use macros from bp-asm.h.
12815         (STR): Likewise.
12816         (CHR): Likewise.
12817         (__rawmemchr): Do not use BP_SYM.
12818         (rawmemchr): Do not use BP_SYM in weak_alias.
12819         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12820         (PARMS): Do not use macros from bp-asm.h.
12821         (S): Likewise.
12822         (SIZE): Likewise.
12823         (__mpn_rshift): Do not use BP_SYM.
12824         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12825         (PARMS): Do not use macros from bp-asm.h.
12826         (SIGMSK): Likewise.
12827         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12828         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12829         (_start): Do not use BP_SYM.
12830         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12831         (PARMS): Do not use macros from bp-asm.h.
12832         (DEST): Likewise.
12833         (SRC): Likewise.
12834         (__stpcpy): Likewise.  Do not use BP_SYM.
12835         (stpcpy): Do not use BP_SYM in weak_alias.
12836         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12837         "bp-asm.h".
12838         (PARMS): Do not use macros from bp-asm.h.
12839         (DEST): Likewise.
12840         (SRC): Likewise.
12841         (LEN): Likewise.
12842         (__stpncpy): Likewise.  Do not use BP_SYM.
12843         (stpncpy): Do not use BP_SYM in weak_alias.
12844         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12845         (PARMS): Do not use macros from bp-asm.h.
12846         (STR): Likewise.
12847         (CHR): Likewise.
12848         (strchr): Likewise.  Do not use BP_SYM.
12849         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12850         "bp-asm.h".
12851         (PARMS): Do not use macros from bp-asm.h.
12852         (STR): Likewise.
12853         (CHR): Likewise.
12854         (__strchrnul): Likewise.  Do not use BP_SYM.
12855         (strchrnul): Do not use BP_SYM in weak_alias.
12856         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12857         "bp-asm.h".
12858         (PARMS): Do not use macros from bp-asm.h.
12859         (STOP): Likewise.
12860         (strcspn): Do not use BP_SYM.
12861         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12862         "bp-asm.h".
12863         (PARMS): Do not use macros from bp-asm.h.
12864         (STR): Likewise.
12865         (STOP): Likewise.
12866         (strpbrk): Likewise.  Do not use BP_SYM.
12867         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12868         "bp-asm.h".
12869         (PARMS): Do not use macros from bp-asm.h.
12870         (STR): Likewise.
12871         (CHR): Likewise.
12872         (strrchr): Likewise.  Do not use BP_SYM.
12873         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12874         (PARMS): Do not use macros from bp-asm.h.
12875         (SKIP): Likewise.
12876         (strspn): Do not use BP_SYM.
12877         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12878         (PARMS): Do not use macros from bp-asm.h.
12879         (STR): Likewise.
12880         (DELIM): Likewise.
12881         (SAVE): Likewise.
12882         (FUNCTION): Likewise.  Do not use BP_SYM.
12883         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12884         aliases.
12885         (strtok_r): Likewise.
12886         (__GI___strtok_r): Likewise.
12887         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12888         (PARMS): Do not use macros from bp-asm.h.
12889         (S1): Likewise.
12890         (S2): Likewise.
12891         (SIZE): Likewise.
12892         (__mpn_sub_n): Do not use BP_SYM.
12893         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12894         "bp-asm.h".
12895         (PARMS): Do not use macros from bp-asm.h.
12896         (S1): Likewise.
12897         (SIZE): Likewise.
12898         (__mpn_submul_1): Do not use BP_SYM.
12899         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12900         <bp-sym.h>.
12901         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12902         and <bp-asm.h>.
12903         (PARMS): Do not use macros from bp-asm.h.
12904         (FLAGS): Likewise.
12905         (PTID): Likewise.
12906         (TLS): Likewise.
12907         (CTID): Likewise.
12908         (__clone): Do not use BP_SYM.
12909         (clone): Do not use BP_SYM in weak_alias.
12910         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12911         and <bp-asm.h>.
12912         (PARMS): Do not use macros from bp-asm.h.
12913         (LEN): Likewise.
12914         (__mmap64): Do not use BP_SYM.
12915         (mmap64): Do not use BP_SYM in weak_alias.
12916         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12917         <bp-sym.h> and <bp-asm.h>.
12918         (PARMS): Do not use macros from bp-asm.h.
12919         (__posix_fadvise64_l64): Do not use BP_SYM.
12920         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12921         (PARMS): Do not use macros from bp-asm.h.
12922         (NSOPS): Likewise.
12923         (semtimedop): Do not use BP_SYM.
12924         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12925         and <bp-asm.h>.
12927 2013-02-21  Allan McRae  <allan@archlinux.org>
12929         * manual/message.texi (Charset conversion in gettext):
12930         Move @end statement to beginning of line.
12932 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12935         static.
12936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12937         Likewise.
12939         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12940         (denorm): Likewise.
12941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12944 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12946         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12947         tail-call to the resolved function if pltexit isn't needed.
12949 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12952         or Y being zero as being unlikely.
12953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12954         Likewise.
12956 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12958         * manual/nss.texi (System Databases and Name Service Switch):
12959         Remove frobnicate @pxref.
12961 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12963         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12964         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12966 2013-02-20  Petr Machata  <pmachata@redhat.com>
12968         * elf/elf.h (R_ARM_TARGET1): New macro.
12969         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12970         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12971         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12972         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12973         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12974         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12975         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12976         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12977         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12978         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12979         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12980         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12981         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12982         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12983         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12984         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12985         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12986         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12987         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12988         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12989         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12990         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12991         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12992         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12993         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12994         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12995         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12996         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12997         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12998         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12999         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13000         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13001         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13002         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13003         (R_ARM_THM_GOT_BREL12): Likewise.
13004         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13005         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13006         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13007         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13008         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13009         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13010         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13011         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13012         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13014 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13016         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13017         __attribute_used__ to __attribute__ ((unused)).
13019 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13021         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13022         powerpc mpa.c.
13023         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13024         comment formatting.
13025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13027 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13029         [BZ #13550]
13030         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13031         Remove macro.
13032         (ENTER): Remove both macro definitions.
13033         (LEAVE): Likewise.
13034         (CHECK_BOUNDS_LOW): Likewise.
13035         (CHECK_BOUNDS_HIGH): Likewise.
13036         (CHECK_BOUNDS_BOTH): Likewise.
13037         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13038         (RETURN_BOUNDED_POINTER): Likewise.
13039         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13040         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13041         (POP_ERRNO_LOCATION_RETURN): Likewise.
13042         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13043         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13044         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13045         macros.
13046         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13047         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13048         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13049         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13050         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13051         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13052         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13053         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13054         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13055         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13056         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13057         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13058         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13059         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13060         removed macros.
13061         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13062         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13063         macros.
13064         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13065         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13066         * sysdeps/i386/i586/memset.S (memset): Likewise.
13067         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13068         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13069         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13070         macros.
13071         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13072         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13073         Change uses of L(2) to L(out).
13074         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13075         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13076         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13077         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13078         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13079         removed macros.
13080         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13081         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13082         macros.
13083         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13084         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13085         (RETURN): Do not use macro LEAVE.
13086         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13087         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13088         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13089         * sysdeps/i386/i686/memset.S (memset): Likewise.
13090         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13091         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13092         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13093         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13094         Likewise.
13095         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13096         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13097         L(1_2) and L(1_3) into L(1).
13098         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13099         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13100         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13101         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13102         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13103         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13104         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13105         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13106         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13107         macros.
13108         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13109         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13110         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13111         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13112         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13113         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13114         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13115         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13116         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13117         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13118         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13119         * sysdeps/i386/strspn.S (strspn): Likewise.
13120         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13121         conditional code.
13122         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13123         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13124         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13125         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13126         L(1_3) into L(1_1).
13127         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13128         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13129         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13130         macros.
13131         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13133 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13135         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13136         macro.
13138 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13140         * math/atest-exp.c (exp_mpn): Remove ROUND.
13141         * math/atest-exp2.c (exp_mpn): Likewise.
13142         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13144         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13145         * stdlib/tst-tls-atexit-lib.c: Likewise.
13146         * stdlib/tst-tls-atexit.c: Likewise.
13148 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13150         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13151         and __attribute_alloc_size__.
13153 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13155         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13156         __attribute_alloc_size__.
13157         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13158         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13160 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13162         * include/programs/xmalloc.h: New file.
13163         * catgets/gencat.c: Include it.
13164         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13165         * elf/pldd.c: Likewise.
13166         * iconv/iconv_charmap.c: Likewise.
13167         * iconv/iconvconfig.c: Likewise.
13168         * iconv/strtab.c: Likewise.
13169         * locale/programs/locale.c: Likewise.
13170         * locale/programs/localedef.h: Likewise.
13171         * locale/programs/simple-hash.c: Likewise.
13172         * nscd/nscd.h: Likewise.
13173         * nss/makedb.c: Likewise.
13174         * sysdeps/generic/ldconfig.h: Likewise.
13176 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13178         * Versions.def: Add GLIBC_2.18.
13179         * include/link.h (struct link_map): New member l_tls_dtor_count.
13180         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13181         (__call_tls_dtors): Likewise.
13182         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13183         __cxa_thread_atexit_impl.
13184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13185         Likewise.
13186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13187         Likewise.
13188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13189         Likewise.
13190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13191         Likewise.
13192         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13194         Likewise.
13195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13196         Likewise.
13197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13199         Likewise.
13200         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13201         (tests): Add test case tst-tls-atexit.
13202         (modules-names): Add shared library for tst-tls-atexit.
13203         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13204         (GLIBC_PRIVATE): Add __call_tls_dtors.
13205         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13206         for libstdc++.
13207         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13208         * stdlib/tst-tls-atexit.c: New test case.
13209         * stdlib/tst-tls-atexit-lib.c: New test case.
13211         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13213         * elf/Versions (ld): Add _dl_find_dso_for_object.
13214         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13215         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13216         (dl_open_worker): Use _dl_find_dso_for_object.
13217         * elf/dl-sym.c (do_sym): Likewise.
13218         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13220 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13222         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13223         Syntactic changes only.
13224         (_dl_runtime_profile): Do a tail-call to the resolved function.
13226 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13228         [BZ #13550]
13229         * sysdeps/x86_64/bp-asm.h: Remove file.
13230         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13231         <bp-sym.h> and <bp-asm.h>.
13232         (__clone): Do not use BP_SYM.
13233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13234         <bp-sym.h> and <bp-asm.h>.
13235         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13236         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13237         "bp-asm.h".
13238         (_setjmp): Do not use BP_SYM.
13239         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13240         "bp-asm.h".
13241         (setjmp): Do not use BP_SYM.
13242         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13243         libc_hidden_def.
13244         (mempcpy): Do not use BP_SYM in weak_alias.
13245         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13246         "bp-asm.h".
13247         (strchr): Do not use BP_SYM.
13248         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13249         "bp-asm.h".
13250         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13251         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13252         (_start): Do not use BP_SYM.
13253         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13254         "bp-asm.h".
13255         (strcat): Do not use BP_SYM.
13256         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13257         "bp-asm.h".
13258         (STRCMP): Do not use BP_SYM.
13259         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13260         "bp-asm.h".
13261         (STRCPY): Do not use BP_SYM.
13262         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13263         "bp-asm.h".
13264         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13265         "bp-asm.h".
13266         (FUNCTION): Do not use BP_SYM.
13267         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13268         weak_alias.
13269         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13271 2013-02-17  Andreas Jaeger  <aj@suse.de>
13273         * time/Versions: Sort entries.
13274         * string/Versions: Likewise.
13275         * resolv/Versions: Likewise.
13276         * posix/Versions: Likewise.
13277         * iconv/Versions: Likewise.
13278         * elf/Versions: Likewise.
13279         * wcsmbs/Versions: Likewise.
13281 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13283         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13284         loop termination condition.
13286         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13287         variable to calculate EZ.
13288         (__sqr): Likewise.
13290         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13291         the lower precision input.
13293 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13295         [BZ #13550]
13296         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13297         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13298         (run-via-rtld-prefix): Do not handle %-bp tests.
13299         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13300         (all-object-suffixes): Remove .ob.
13301         (bppfx): Remove variable.
13302         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13303         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13304         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13305         [$(build-bounded) = yes] (libtype.ob): Likewise.
13306         * Makerules (elide-routines.ob): Remove variable.
13307         (do-tests-clean): Do not handle *-bp.out.
13308         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13309         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13310         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13311         (tests): Do not include $(tests-bp.out).
13312         (xtests): Do not include $(xtests-bp.out).
13313         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13314         [$(build-bounded) = yes] ($(addprefix
13315         $(objpfx),$(binaries-bounded))): Remove rule.
13316         ($(objpfx)%-bp.out): Remove rule.
13317         * config.make.in (build-bounded): Remove variable.
13318         * crypt/Makefile [$(build-bounded) = yes]
13319         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13320         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13321         append to variable.
13322         [$(build-bounded) = yes] (install-lib): Likewise.
13323         [$(build-bounded) = yes] (generated): Likewise.
13324         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13325         Remove rule.
13326         * intl/Makefile [$(build-bounded) = yes]
13327         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13328         * math/Makefile [$(build-bounded) = yes]
13329         ($(tests:%=$(objpfx)%-bp): Likewise.
13330         * misc/Makefile [$(build-bounded) = yes]
13331         ($(objpfx)tst-tsearch-bp): Likewise.
13332         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13333         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13334         Remove dependency.
13335         * string/Makefile (o-objects.ob): Remove variable.
13336         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13337         (CFLAGS-.ob): Remove variable.
13338         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13339         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13340         both definitions of variable.
13341         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13342         (ASFLAGS-.ob): Remove variable.
13344 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13346         [BZ #13550]
13347         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13348         Remove __BOUNDED_POINTERS__ from condition.
13349         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13350         * string/bits/string2.h [!__NO_STRING_INLINES &&
13351         !__BOUNDED_POINTERS__]: Likewise.
13352         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13353         Likewise.
13354         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13355         Remove conditional code.
13356         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13357         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13358         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13359         condition.
13361         [BZ #13550]
13362         * csu/libc-start.c: Do not include <bp-sym.h>.
13363         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13364         * elf/dl-open.c: Do not include <bp-sym.h>.
13365         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13366         * math/fegetenv.c: Do not include <bp-sym.h>.
13367         (fegetenv): Do not use BP_SYM in versioned symbols.
13368         * nptl/sysdeps/pthread/bits/libc-lockP.h
13369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13370         <bp-sym.h>.
13371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13372         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13374         (__pthread_mutex_destroy): Likewise.
13375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13376         (__pthread_mutex_lock): Likewise.
13377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13378         (__pthread_mutex_trylock): Likewise.
13379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13380         (__pthread_mutex_unlock): Likewise.
13381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13382         (__pthread_mutexattr_init): Likewise.
13383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13384         (__pthread_mutexattr_destroy): Likewise.
13385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13386         (__pthread_mutexattr_settype): Likewise.
13387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13388         (__pthread_rwlock_init): Likewise.
13389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13390         (__pthread_rwlock_destroy): Likewise.
13391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13392         (__pthread_rwlock_rdlock): Likewise.
13393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13394         (__pthread_rwlock_tryrdlock): Likewise.
13395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13396         (__pthread_rwlock_wrlock): Likewise.
13397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13398         (__pthread_rwlock_trywrlock): Likewise.
13399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13400         (__pthread_rwlock_unlock): Likewise.
13401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13402         (__pthread_key_create): Likewise.
13403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13404         (__pthread_setspecific): Likewise.
13405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13406         (__pthread_getspecific): Likewise.
13407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13408         Likewise.
13409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13410         (_pthread_cleanup_push_defer): Likewise.
13411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13412         (_pthread_cleanup_pop_restore): Likewise.
13413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13414         (pthread_setcancelstate): Likewise.
13415         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13416         <bp-sym.h>.
13417         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13418         (memchr): Do not use BP_SYM in weak_alias.
13419         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13420         (fegetenv): Do not use BP_SYM in versioned symbols.
13421         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13422         (fesetenv): Do not use BP_SYM in versioned symbols.
13423         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13424         (feupdateenv): Do not use BP_SYM in versioned symbols.
13425         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13426         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13427         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13428         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13429         (open64): Do not use BP_SYM in weak_alias.
13430         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13431         (fegetenv): Do not use BP_SYM in versioned symbols.
13432         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13433         (fesetenv): Do not use BP_SYM in versioned symbols.
13434         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13435         (feupdateenv): Do not use BP_SYM in versioned symbols.
13436         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13437         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13438         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13439         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13440         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13441         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13442         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13443         <bp-sym.h>.
13444         (__libc_start_main): Do not use BP_SYM.
13446 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13449         redundant return line.
13450         (norm): Likewise.
13451         (denorm): Likewise.
13452         (dbl_mp): Likewise.
13453         (sub_magnitudes): Likewise.
13454         (__add): Likewise.
13455         (__sub): Likewise.
13456         (__mul): Likewise.
13457         (__inv): Likewise.
13458         (__dvd): Likewise.
13459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13460         (norm): Likewise.
13461         (denorm): Likewise.
13462         (dbl_mp): Likewise.
13463         (sub_magnitudes): Likewise.
13464         (__add): Likewise.
13465         (__sub): Likewise.
13466         (__mul): Likewise.
13467         (__inv): Likewise.
13468         (__dvd): Likewise.
13470         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13471         instead of __mul.
13472         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13473         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13474         (cc32): Likewise.
13476         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13477         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13478         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13479         of __mul for squares.
13480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13481         function
13482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13483         Likewise.
13484         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13485         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13487 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13489         [BZ #13550]
13490         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13491         code.
13492         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13493         prototype or function definition.  Rename ubp_* variables and
13494         parameters.  Remove argv definitions conditional on
13495         [__BOUNDED_POINTERS__].
13496         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13497         * elf/dl-runtime.c (_dl_fixup): Likewise.
13498         * include/set-hooks.h (RUN_HOOK): Likewise.
13499         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13500         definition.
13501         * string/strcpy.c (strcpy): Do not use __unbounded.
13502         * sysdeps/generic/frame.h (struct layout): Likewise.
13503         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13504         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13505         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13506         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13507         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13508         (__backtrace): Likewise.
13509         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13510         use __ptrvalue.
13511         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13512         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13513         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13514         Likewise.
13515         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13516         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13517         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13518         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13519         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13520         Do not use __unbounded.
13521         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13522         Rename __unboundedrlimits parameter to rlimits in prototype.
13523         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13524         Do not use __unbounded.
13525         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13526         not use __ptrvalue.
13527         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13528         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13529         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13530         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13531         __ptrvalue or __unbounded.
13532         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13533         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13534         use __unbounded.
13535         (__new_msgctl): Do not use __ptrvalue.
13536         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13537         __unbounded.
13538         (__libc_msgrcv): Do not use __ptrvalue.
13539         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13540         startup_info): Do not use __unbounded.
13541         (__libc_start_main): Likewise.  Rename ubp_* variables and
13542         parameters.  Remove argv definitions conditional on
13543         [__BOUNDED_POINTERS__].
13544         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13545         __ptrvalue.
13546         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13547         use __unbounded.
13548         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13549         or __ptrvalue.
13550         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13551         use __unbounded.
13552         (__new_shmctl): Do not use __ptrvalue.
13553         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13554         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13555         Likewise.
13556         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13557         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13558         (__libc_sigaction): Likewise.
13559         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13560         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13561         Likewise.
13562         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13564 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13566         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13568         * string/mempcpy.c: Implement by calling memcpy.
13570 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13572         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13575         evaluation.
13577         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13578         values in the mantissa.
13580         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13581         minimize writes to Z.
13582         (sub_magnitudes): Simplify code a bit.
13584 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13586         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13587         from the message.  The linker prefixes all warnings with that already.
13589 2013-02-12  Andreas Schwab  <schwab@suse.de>
13591         [BZ #15078]
13592         * posix/regexec.c (extend_buffers): Add parameter min_len.
13593         (check_matching): Pass minimum needed length.
13594         (clean_state_log_if_needed): Likewise.
13595         (get_subexp): Likewise.
13596         * posix/Makefile (tests): Add bug-regex34.
13597         (bug-regex34-ENV): Define.
13598         * posix/bug-regex34.c: New file.
13600         [BZ #11561]
13601         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13602         elements compare against the byte sequence of it, not its name.
13603         * posix/Makefile (tests): Add bug-regex35.
13604         (bug-regex35-ENV): Define.
13605         * posix/bug-regex35.c: New file.
13607 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13609         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13610         comment.
13611         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13612         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13613         (CHECK_EOL): Add undef.
13615 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13617         * bits/stdlib-bsearch.h: New file.
13618         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13619         * stdlib/stdlib.h: Likewise.
13621 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13623         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13624         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13625         declaration.
13626         * manual/search.texi (Array Search Function): Add missing const in
13627         lfind prototype.
13628         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13629         declaration to use rlim_t.
13630         (Basic Scheduling Functions): Remove erroneous const from
13631         sched_getparam prototype.  Remove erroneous * from
13632         sched_get_priority_max and sched_get_priority_min prototypes.
13633         (Resource Usage): Fix summary @comment on vtimes to refer to
13634         sys/vtimes.h rather than vtimes.h.
13635         Add missing *s in vtimes prototype.
13636         (Limits on Resources): Fix ulimit prototype to return long int.
13637         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13638         prototypes to use long int rather than double.
13639         (BSD Random): Fix initstate and setstate to use char *, not void *.
13640         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13641         prototype to make second argument 'struct aiocb64 *const[]'.
13642         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13643         (Status of AIO Operations): Remove erroneous const in aio_return and
13644         aio_return64 prototypes.
13645         (Synchronizing I/O): Fix sync prototype to return void.
13646         * manual/startup.texi (Suboptions): Remove an erroneous const in
13647         getsubopt prototype.
13648         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13649         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13650         use size_t rather than int.
13651         (Scanning All Users): Likewise for getpwent_r.
13652         (Setting Groups): Add missing const to setgroups prototype.
13653         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13654         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13655         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13656         'const void *' rather than 'const char *'.
13657         (Host Address Functions): Likewise for inet_ntop.
13658         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13659         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13660         ssize_t for return value.
13661         (Sending Data): Likewise for send, sendto, sendmsg.
13662         (Socket Option Functions): Add a missing const in setsockopt prototype.
13663         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13664         use wchar_t for the argument.
13665         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13666         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13667         take no arguments.
13668         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13669         double/float/long double for second argument.
13670         Fix return types of significand, significandf, significandl.
13671         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13672         argument in fchmod prototype.
13673         (File Owner): Use uid_t and gid_t in fchown prototype.
13674         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13675         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13676         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13677         use 'const struct dirent **' as argument types to CMP function pointer
13678         argument.
13679         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13680         (File Times): Fix summary magic @comment for struct utimbuf and utime
13681         to refer to utime.h, not time.h.
13682         * manual/string.texi (Argz Functions): Add missing const in
13683         argz_extract and argz_next prototypes.
13684         (Finding Tokens in a String): Likewise for basename.
13685         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13686         (Copying and Concatenation): Fix typo in wmemmove prototype.
13687         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13688         (Signal Stack): Remove erroneous const in sigstack prototype.
13689         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13690         prototype.
13691         (Simple Calendar Time): Likewise for stime.
13692         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13693         prototype.
13694         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13695         say sys/sysctl.h instead.
13696         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13697         and vsyslog prototypes.
13699 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13701         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13702         Remove.
13704 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13706         * misc/sys/mman.h: Fix typo in mremap comment.
13708 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13710         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13711         the '\0' terminator.
13713 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13715         [BZ #13550]
13716         * debug/segfault.c: Don't include <bp-checks.h>.
13717         * sysdeps/generic/bp-checks.h: Remove file.
13718         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13719         (__GETDENTS): Don't use CHECK_N.
13720         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13721         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13722         (__getgroups): Don't use CHECK_N.
13723         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13724         (setgroups): Don't use CHECK_N.
13725         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13726         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13727         (__libc_msgrcv): Don't use CHECK_N.
13728         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13729         (__libc_msgsnd): Don't use CHECK_N.
13730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13731         <bp-checks.h>.
13732         (__libc_pread): Don't use CHECK_N.
13733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13734         include <bp-checks.h>.
13735         (__libc_pread64): Don't use CHECK_N.
13736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13737         include <bp-checks.h>.
13738         (__libc_pwrite): Don't use CHECK_N.
13739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13740         include <bp-checks.h>.
13741         (__libc_pwrite64): Don't use CHECK_N.
13742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13743         <bp-checks.h>.
13744         (__libc_pread): Don't use CHECK_N.
13745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13746         include <bp-checks.h>.
13747         (__libc_pread64): Don't use CHECK_N.
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13749         include <bp-checks.h>.
13750         (__libc_pwrite): Don't use CHECK_N.
13751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13752         include <bp-checks.h>.
13753         (__libc_pwrite64): Don't use CHECK_N.
13754         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13755         (do_pread): Don't use CHECK_N.
13756         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13757         (do_pread64): Don't use CHECK_N.
13758         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13759         (do_pwrite): Don't use CHECK_N.
13760         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13761         (do_pwrite64): Don't use CHECK_N.
13762         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13763         (__libc_readv): Don't use CHECK_N.
13764         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13765         (semop): Don't use CHECK_N.
13766         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13767         <bp-checks.h>.
13768         (semtimedop): Don't use CHECK_N.
13769         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13770         (__libc_pread): Don't use CHECK_N.
13771         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13772         <bp-checks.h>.
13773         (__libc_pread64): Don't use CHECK_N.
13774         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13775         <bp-checks.h>.
13776         (__libc_pwrite): Don't use CHECK_N.
13777         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13778         <bp-checks.h>.
13779         (__libc_pwrite64): Don't use CHECK_N.
13780         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13781         <bp-checks.h>.
13782         (__libc_msgrcv): Don't use CHECK_N.
13783         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13784         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13785         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13786         (__libc_writev): Don't use CHECK_N.
13788 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13790         * string/strcpy.c: Removed unused variable.
13792         * Makeconfig (+sysdep-includes): Define with := rather than =.
13793         Use an existing include/ subdir of each sysdeps dir before it.
13795 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13797         * nscd/connection.c (register_traced_file): Comment function.
13798         [HAVE_INOTIFY] (union __inev): Define.
13799         [HAVE_INOTIFY] (inotify_check_files): New function.
13800         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13801         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13802         clear_db_cache.
13803         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13805 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13807         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13808         loaded if not already and that a failure is permanent.
13810 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13812         [BZ #15006]
13813         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13814         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13816 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13818         [BZ #13550]
13819         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13820         (CHECK_1_NULL_OK): Likewise.
13821         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13822         (__fxstat): Do not use CHECK_1.
13823         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13824         <bp-checks.h>.
13825         (___fxstat64): Do not use CHECK_1.
13826         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13827         <bp-checks.h>.
13828         (__fxstatat): Do not use CHECK_1.
13829         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13830         <bp-checks.h>.
13831         (__fxstatat64): Do not use CHECK_1.
13832         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13833         <bp-checks.h>.
13834         (__fxstat): Do not use CHECK_1.
13835         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13836         <bp-checks.h>.
13837         (__fxstatat): Do not use CHECK_1.
13838         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13839         <bp-checks.h>.
13840         (__getresgid): Do not use CHECK_1.
13841         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13842         <bp-checks.h>.
13843         (__getresuid): Do not use CHECK_1.
13844         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13845         <bp-checks.h>.
13846         (__lxstat): Do not use CHECK_1.
13847         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13848         <bp-checks.h>.
13849         (__old_msgctl): Do not use CHECK_1.
13850         (__new_msgctl): Likewise.
13851         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13852         <bp-checks.h>.
13853         (__new_setrlimit): Do not use CHECK_1.
13854         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13855         <bp-checks.h>.
13856         (__old_shmctl): Do not use CHECK_1.
13857         (__new_shmctl): Likewise.
13858         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13859         <bp-checks.h>.
13860         (__xstat): Do not use CHECK_1.
13861         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13862         (__lxstat): Do not use CHECK_1.
13863         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13864         <bp-checks.h>.
13865         (___lxstat64): Do not use CHECK_1.
13866         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13867         (__old_msgctl): Do not use CHECK_1.
13868         (__new_msgctl): Likewise.
13869         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13870         <bp-checks.h>.
13871         (__gettimeofday): Do not use CHECK_1.
13872         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13873         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13874         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13875         <bp-checks.h>.
13876         (__gettimeofday): Do not use CHECK_1.
13877         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13878         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13879         (__new_shmctl): Do not use CHECK_1.
13880         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13881         <bp-checks.h>.
13882         (do_sigtimedwait): Do not use CHECK_1.
13883         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13884         <bp-checks.h>.
13885         (do_sigwaitinfo): Do not use CHECK_1.
13886         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13887         <bp-checks.h>.
13888         (msgctl): Do not use CHECK_1.
13889         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13890         <bp-checks.h>.
13891         (shmctl): Do not use CHECK_1.
13892         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13893         (ustat): Do not use CHECK_1.
13894         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13895         <bp-checks.h>.
13896         (__fxstat): Do not use CHECK_1.
13897         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13898         <bp-checks.h>.
13899         (__fxstatat): Do not use CHECK_1.
13900         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13901         <bp-checks.h>.
13902         (__lxstat): Do not use CHECK_1.
13903         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13904         <bp-checks.h>.
13905         (__xstat): Do not use CHECK_1.
13906         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13907         (__xstat): Do not use CHECK_1.
13908         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13909         (___xstat64): Do not use CHECK_1.
13911         [BZ #13550]
13912         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13913         definitions.
13914         (CHECK_BOUNDS_HIGH): Likewise.
13915         * string/strcpy.c: Do not include <bp-checks.h>.
13916         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13918 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13920         * nscd/nscd-client.h (__nscd_drop_map_ref):
13921         Add __attribute__ ((unused)).
13922         * nis/nss-nisplus.h (niserr2nss): Likewise.
13924         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13925         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13927         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13928         Remove inline keyword.
13929         * include/rounding-mode.h (round_away): Likewise.
13930         * libio/wfileops.c (adjust_wide_data): Likewise.
13931         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13932         (__m128i_strloadu_tolower): Likewise.
13933         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13934         (__m128i_strloadu_tolower): Likewise.
13935         * time/mktime.c (ydhms_diff): Likewise.
13936         * locale/elem-hash.h (elem_hash): Likewise.
13937         * locale/setlocale.c (setdata): Likewise.
13938         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13939         (re_string_wchar_at): Likewise.
13940         (bitset_not, bitset_merge, bitset_mask): Likewise.
13941         [!(__GNUC__ > 3)] (inline): Remove macro.
13942         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13943         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13944         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13945         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13946         * string/memcmp.c (memcmp_bytes): Likewise.
13947         * locale/programs/locarchive.c (compute_hashval): Likewise.
13948         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13949         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13950         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13951         * nss/getent.c (print_rpc, print_protocols): Likewise.
13952         (print_passwd, print_group, print_aliases): Likewise.
13953         * nis/nss-nisplus.h (niserr2nss): Likewise.
13954         * nscd/connections.c (restart_p): Likewise.
13955         Change return type to bool.
13957 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13959         * Makeconfig (all-Depend-files): Add existing
13960         $(sorted-subdirs:=/Depend) files.
13961         (all-subdirs): Remove nss.
13962         * sysdeps/unix/inet/Subdirs: Add it here instead.
13963         * hesiod/Depend: New file.
13965         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13966         instead of calling alloca.
13968         * io/lseek.c (__lseek): Rename to __libc_lseek.
13969         Define __lseek as an alias.
13971         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13973 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13975         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13976         else clause and remove check for non-standard endianness.
13978 2013-02-04  David S. Miller  <davem@davemloft.net>
13980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13982 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13984         [BZ #13550]
13985         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13986         (__ubp_memchr): Remove prototype.
13987         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13988         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13989         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13990         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13991         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13992         Remove alias.
13993         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13994         (__ubp_memchr): Likewise.
13995         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13996         (__ubp_memchr): Likewise.
13997         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13998         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13999         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14000         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14001         CHECK_STRING.
14002         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14003         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14004         (__getcwd): Do not use CHECK_STRING.
14005         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14006         <bp-checks.h>.
14007         (__real_chown): Do not use CHECK_STRING.
14008         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14009         <bp-checks.h>.
14010         (fchownat): Do not use CHECK_STRING.
14011         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14012         CHECK_STRING.
14013         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14014         <bp-checks.h>.
14015         (__lchown): Do not use CHECK_STRING.
14016         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14017         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14018         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14019         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14021         include <bp-checks.h>.
14022         (truncate64): Do not use CHECK_STRING.
14023         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14024         <bp-checks.h>.
14025         (__real_chown): Do not use CHECK_STRING.
14026         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14027         <bp-checks.h>.
14028         (__lchown): Do not use CHECK_STRING.
14029         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14030         <bp-checks.h>.
14031         (__chown): Do not use CHECK_STRING.
14032         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14033         <bp-checks.h>.
14034         (truncate64): Do not use CHECK_STRING.
14035         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14036         Likewise.
14037         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14038         (__xmknod): Do not use CHECK_STRING.
14039         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14040         <bp-checks.h>.
14041         (__xmknodat): Do not use CHECK_STRING.
14042         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14043         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14045 2013-02-04  Andreas Schwab  <schwab@suse.de>
14047         [BZ #14142]
14048         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14049         * include/netdb.h: Likewise for h_errno.
14050         * elf/tst-stackguard1.c: Include <tls.h>.
14052 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14054         * elf/link.h (struct link_map): Extend the l_addr comment.
14055         * include/link.h (struct link_map): Likewise.
14057 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14059         [BZ #13550]
14060         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14061         (BOUNDED_1): Remove macro.
14062         * debug/backtrace.c: Don't include <bp-checks.h>.
14063         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14064         (__backtrace): Likewise.
14065         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14066         <bp-checks.h>.
14067         (__backtrace): Don't use BOUNDED_1.
14068         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14069         <bp-checks.h>.
14070         (__backtrace): Don't use BOUNDED_1.
14071         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14072         (__backtrace): Don't use BOUNDED_1.
14073         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14074         (shmat): Don't use BOUNDED_N.
14076 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14078         [BZ #13550]
14079         * sysdeps/generic/bp-start.h: Remove file.
14080         * csu/libc-start.c: Don't include <bp-start.h>.
14081         (LIBC_START_MAIN): Set up __environ directly instead of using
14082         INIT_ARGV_and_ENVIRON.
14083         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14084         <bp-start.h>.
14086         [BZ #13550]
14087         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14088         definitions.
14089         (CHECK_FCNTL): Likewise.
14090         (CHECK_N_PAGES): Likewise.
14092         [BZ #13550]
14093         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14094         definitions.
14095         (CHECK_SIGSET_NULL_OK): Likewise.
14096         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14097         <bp-checks.h>.
14098         (sigpending): Don't use CHECK_SIGSET.
14099         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14100         <bp-checks.h>.
14101         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14102         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14103         <bp-checks.h>.
14104         (do_sigsuspend): Don't use CHECK_SIGSET.
14105         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14106         use CHECK_SIGSET.
14107         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14108         (do_sigwait): Don't use CHECK_SIGSET.
14109         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14110         use CHECK_SIGSET.
14111         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14112         include <bp-checks.h>.
14113         (sigpending): Don't use CHECK_SIGSET.
14114         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14115         include <bp-checks.h>.
14116         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14117         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14118         <bp-checks.h>.
14119         (sigpending): Don't use CHECK_SIGSET.
14120         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14121         <bp-checks.h>.
14122         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14124         [BZ #13550]
14125         * sysdeps/generic/bp-semctl.h: Remove file.
14126         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14127         <bp-checks.h> and <bp-semctl.h>.
14128         (__old_semctl): Don't use CHECK_SEMCTL.
14129         (__new_semctl): Likewise.
14130         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14131         and <bp-semctl.h>.
14132         (__old_semctl): Don't use CHECK_SEMCTL.
14133         (__new_semctl): Likewise.
14134         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14135         <bp-checks.h> and <bp-semctl.h>.
14136         (__old_semctl): Don't use CHECK_SEMCTL.
14137         (__new_semctl): Likewise.
14138         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14139         <bp-checks.h> and <bp-semctl.h>.
14140         (semctl): Don't use CHECK_SEMCTL.
14142         [BZ #13550]
14143         * Makerules (elide-bp-thunks): Remove variable.
14144         (elide-routines.oS): Don't use $(elide-bp-thunks).
14145         (elide-routines.os): Likewise.
14146         (elide-routines.o): Likewise.
14147         (elide-routines.op): Likewise.
14148         (elide-routines.og): Likewise.
14149         (objects): Don't use $(bp-thunks).
14150         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14151         include.
14152         (common-generated): Do not add s-proto-bp.d.
14153         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14154         (int): Likewise.
14155         (typ): Likewise.
14156         Do not generate makefile rules for bounded-pointer thunks.
14157         * sysdeps/generic/bp-thunks.h: Remove file.
14158         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14159         * sysdeps/unix/s-proto-bp.S: Likewise.
14161         [BZ #15062]
14162         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14163         parts of result separately when argument is not close to line from
14164         -i to i and one part of argument is small.
14165         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14166         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14167         * math/libm-test.inc (cacos_test): Add more tests.
14168         (casin_test): Likewise.
14169         (casinh_test): Likewise.
14170         * sysdeps/i386/fpu/libm-test-ulps: Update.
14171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14173 2013-01-31  David S. Miller  <davem@davemloft.net>
14175         * po/de.po: Update from translation team.
14177 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14179         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14181 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14183         * configure.in (_AC_PROG_CC_C89): New definition.
14184         * configure: Regenerate.
14186         * configure.in (AC_PROG_CPP): New definition.
14187         * configure: Regenerate.
14189 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14191         * debug/tst-backtrace.h: New file.
14192         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14193         (ret): Remove variable.
14194         (x): Likewise.
14195         (FAIL): Remove macro.
14196         (NO_INLINE): Likewise.
14197         (fn1): Use match function instead of strstr.
14198         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14199         (ret): Remove variable.
14200         (x): Likewise.
14201         (FAIL): Remove macro.
14202         (NO_INLINE): Likewise.
14203         (fn): Use match function instead of strstr.
14204         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14205         (ret): Remove variable.
14206         (x): Likewise.
14207         (FAIL): Remove macro.
14208         (NO_INLINE): Likewise.
14209         (handle_signal): Use match function instead of strstr.
14210         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14211         (ret): Remove variable.
14212         (x): Likewise.
14213         (FAIL): Remove macro.
14214         (NO_INLINE): Likewise.
14215         (handle_signal): Use match function instead of strstr.
14217 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14219         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14221 2013-01-23  David S. Miller  <davem@davemloft.net>
14223         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14224         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14225         argument of CAS if possible.
14226         * sysdeps/sparc/sparc64/bits/atomic.h
14227         (__arch_compare_and_exchange_val_32_acq): Likewise.
14228         (__arch_compare_and_exchange_val_64_acq): Likewise.
14230 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14232         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14233         * sysdeps/posix/ulimit.c: ... this.
14234         Include <limits.h>.
14235         * sysdeps/unix/bsd/ulimit.c: Remove file.
14237 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14239         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14240         (LDFLAGS-tst-array5): Likewise.
14242 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14244         [BZ #15036]
14245         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14246         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14247         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14248         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14250 2013-01-21  David S. Miller  <davem@davemloft.net>
14252         * sysdeps/sparc/backtrace.c: New file.
14253         * sysdeps/sparc/sparc32/backtrace.h: New file.
14254         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14255         * sysdeps/sparc/sparc64/backtrace.h: New file.
14256         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14257         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14258         -funwind-tables.
14260 2013-01-21  Andreas Schwab  <schwab@suse.de>
14262         [BZ #15020]
14263         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14264         closed its stdout.
14266 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14269         "mpa2.h".
14270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14272 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14273             Mark Mitchell  <mark@codesourcery.com>
14274             Tom de Vries  <tom@codesourcery.com>
14275             Paul Pluzhnikov  <ppluzhnikov@google.com>
14277         * debug/tst-backtrace2.c: New file.
14278         * debug/tst-backtrace3.c: Likewise.
14279         * debug/tst-backtrace4.c: Likewise.
14280         * debug/tst-backtrace5.c: Likewise.
14281         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14282         (CFLAGS-tst-backtrace3.c): Likewise.
14283         (CFLAGS-tst-backtrace4.c): Likewise.
14284         (CFLAGS-tst-backtrace5.c): Likewise.
14285         (LDFLAGS-tst-backtrace2): Likewise.
14286         (LDFLAGS-tst-backtrace3): Likewise.
14287         (LDFLAGS-tst-backtrace4): Likewise.
14288         (LDFLAGS-tst-backtrace5): Likewise.
14289         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14290         tst-backtrace4 and tst-backtrace5.
14292 2013-01-18  Anton Blanchard  <anton@samba.org>
14293             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14295         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14296         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14297         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14298         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14300         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14301         "+r" and remove output regs list as redundant.  Add explicit inline
14302         asm to specify register of return val to work around compiler codegen
14303         bug.  Remove (int) cast on return value.  Add return type parameter to
14304         use in macro so that this macro does not truncate return value for
14305         64-bit values.
14306         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14307         pass to INTERNAL_VSYSCALL_NCS.
14308         (INLINE_VSYSCALL): Add 'long int' as return type to
14309         INTERNAL_VSYSCALL_NCS macro invocation.
14310         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14311         INTERNAL_VSYSCALL_NCS macro invocation.
14312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14314 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14316         [BZ #14496]
14317         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14318         Fix application of SIMD FP exception mask.
14320         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14321         mp_no from a power of two.
14322         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14323         __mpexp_twomm1.  Use __pow_mp.
14325         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14326         multiplication.
14328 2013-01-17  David S. Miller  <davem@davemloft.net>
14330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14332 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14334         [BZ #15023]
14335         * include/complex.h: Condition contents on [!_COMPLEX_H].
14336         (__kernel_casinhf): New prototype.
14337         (__kernel_casinh): Likewise.
14338         (__kernel_casinhl): Likewise.
14339         * math/Makefile (libm_calls): Add k_casinh.
14340         * math/k_casinh.c: New file.
14341         * math/k_casinhf.c: Likewise.
14342         * math/k_casinhl.c: Likewise.
14343         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14344         finite nonzero arguments.
14345         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14346         finite nonzero arguments.
14347         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14348         finite nonzero arguments.
14349         * math/s_casinh.c: Do not include <float.h>.
14350         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14351         * math/s_casinhf.c: Do not include <float.h>.
14352         (__casinhf): Move code for finite nonzero arguments to
14353         k_casinhf.c.
14354         * math/s_casinhl.c: Do not include <float.h>.
14355         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14356         redefine.
14357         (__casinhl): Move code for finite nonzero arguments to
14358         k_casinhl.c.
14359         * math/libm-test.inc (cacos_test): Add more tests.
14360         * sysdeps/i386/fpu/libm-test-ulps: Update.
14361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14363 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14365         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14366         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14367         [!HAVE_MREMAP]: Remove [defined linux] case.
14368         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14370 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14372         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14374 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14376         * elf/elf.h (R_386_SIZE32): New relocation.
14377         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14378         R_386_SIZE32.
14379         (elf_machine_rela): Likewise.
14380         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14381         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14383 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14385         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14386         (FP_FAST_FMA): Do not define.
14387         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14388         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14389         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14390         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14391         !_SOFT_FLOAT]: Likewise.
14392         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14393         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14394         value.
14395         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14396         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14397         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14398         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14399         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14400         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14401         file.
14403 2013-01-16  Andreas Schwab  <schwab@suse.de>
14405         [BZ #14327]
14406         * include/stdlib.h (__mktemp): Add declaration.
14407         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14408         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14410 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14412         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14413         definitions.
14414         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14415         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14416         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14417         definitions here.
14418         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14419         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14420         definitions.
14421         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14422         and ONE.
14423         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14424         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14425         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14426         definitions.
14427         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14428         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14429         definitions.
14430         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14432         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14434 2013-01-15  David S. Miller  <davem@davemloft.net>
14436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14437         trunc{,f} to libm-sysdep_routes.
14438         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14440         file.
14441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14443         file.
14444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14445         file.
14446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14448         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14449         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14450         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14451         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14452         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14453         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14456         nearbyint{,f} to libm-sysdep_routes.
14457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14459         New file.
14460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14461         file.
14462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14463         New file.
14464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14465         file.
14466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14468         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14469         file.
14470         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14471         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14472         file.
14473         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14474         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14475         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14477         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14478         libc_feholdexcept and libc_fesetenv.
14480 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14482         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14484 2013-01-14  David S. Miller  <davem@davemloft.net>
14486         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14487         (SPARC_ASM_VIS2_IFUNC): Likewise.
14488         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14490         use of 'siam' instruction.
14491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14492         Likewise.
14493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14494         Likewise.
14495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14496         Likewise.
14497         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14499         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14502         file.
14503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14504         file.
14505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14506         file.
14507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14508         file.
14509         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14514         new VIS2 routines.
14515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14518         Likewise.
14519         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14524         routines to libm-sysdep_routines.
14525         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14528         fdim/fdimf to libm-sysdep_routines.
14529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14530         file.
14531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14533         file.
14534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14537         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14538         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14539         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14540         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14542 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14544         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14545         to optimize copies.
14547         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14552         local variable MPTWO.
14553         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14554         Likewise.
14556 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14558         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14559         GLOB_NOESCAPE.
14561 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14563         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14565 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14567         * manual/pattern.texi (glob_t): Document gl_flags.
14568         (glob64_t): Likewise.
14570 2013-01-11  David S. Miller  <davem@davemloft.net>
14572         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14573         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14574         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14575         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14576         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14577         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14578         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14579         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14580         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14581         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14582         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14583         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14584         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14586         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14587         sparc V9 rather than using V8 code.
14588         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14589         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14591         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14592         Move to...
14593         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14594         Here.
14596 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14598         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14599         not in the main loop.
14600         * configure: Regenerated.
14602 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14604         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14605         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14606         to just #else.
14607         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14608         [!__GLIBC_HAVE_LONG_LONG] case.
14609         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14610         condition to just #else.
14611         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14612         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14613         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14614         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14615         unconditional.
14616         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14617         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14618         #elif condition to just #else.
14619         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14620         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14621         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14622         #elif condition to just #else.
14624 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14626         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14627         (EF_MIPS_ARCH_64): Fix value.
14628         (EF_MIPS_ARCH_32R2): New.
14629         (EF_MIPS_ARCH_64R2): New.
14631 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14633         * Makeconfig (+link-pie-before-libc): New.
14634         (+link-pie-after-libc): Likewise.
14635         (+link-pie-tests): Likewise.
14636         (+link-pie): Rewritten.
14637         (link-before-libc): Remove $(config-LDFLAGS).
14638         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14639         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14640         (config-LDFLAGS): Renamed to ...
14641         (rtld-LDFLAGS): This.
14642         (rtld-tests-LDFLAGS): New macro.
14643         (link-libc-rpath-link): Likewise.
14644         (link-libc-tests-rpath-link): Likewise.
14645         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14646         (link-libc): Prepand $(link-libc-rpath-link).
14647         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14648         (test-program-prefix): New macro.
14649         (test-via-rtld-prefix): Likewise.
14650         (test-program-cmd): Likewise.
14651         (host-test-program-cmd): Likewise.
14652         * Makefile ($(common-objpfx)testrun.sh): Replace
14653         $(run-program-prefix) with $(test-program-prefix).
14654         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14655         $(rtld-LDFLAGS).
14656         ($(common-objpfx)shlib.lds): Likewise.
14657         (build-module-helper): Likewise.
14658         ($(common-objpfx)format.lds): Likewise.
14659         * Rules (binaries-pie-tests): New.
14660         (binaries-pie-notests): Likewise.
14661         (binaries-pie): Rewritten.
14662         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14663         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14664         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14665         (make-test-out): Replace $(host-built-program-cmd) with
14666         $(host-test-program-cmd).
14667         * config.make.in (build-hardcoded-path-in-tests): New variable.
14668         * configure.in (--enable-hardcoded-path-in-tests): New configure
14669         option.
14670         (hardcoded_path_in_tests): New AC_SUBST.
14671         * configure: Regenerated.
14672         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14673         $(built-program-cmd) with $(test-program-cmd).
14674         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14675         (test_program_cmd): This.
14676         * elf/Makefile ($(objpfx)order.out): Run test with
14677         $(test-program-prefix).
14678         ($(objpfx)order2.out): Likewise.
14679         ($(objpfx)tst-initorder.out): Likewise.
14680         ($(objpfx)tst-initorder2.out): Likewise.
14681         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14682         $(test-program-cmd).
14683         ($(objpfx)tst-array1-static.out): Likewise.
14684         ($(objpfx)tst-array2.out): Likewise.
14685         ($(objpfx)tst-array3.out): Likewise.
14686         ($(objpfx)tst-array4.out): Likewise.
14687         ($(objpfx)tst-array5.out): Likewise.
14688         ($(objpfx)tst-array5-static.out): Likewise.
14689         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14690         $(test-program-cmd).
14691         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14692         $(run-program-prefix) with $(test-program-prefix).
14693         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14694         (test_program_prefix): This.
14695         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14696         $(run-program-prefix) with $(test-program-prefix).
14697         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14698         (test_program_prefix): This.
14699         * iconvdata/tst-tables.sh: Likewise.
14700         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14701         $(run-program-prefix) with $(test-program-prefix).
14702         ($(objpfx)tst-translit.out): Likewise.
14703         ($(objpfx)tst-gettext2.out): Likewise.
14704         ($(objpfx)tst-gettext4.out): Likewise.
14705         ($(objpfx)tst-gettext6.out): Likewise.
14706         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14707         (test_program_prefix): This.
14708         * intl/tst-gettext2.sh: Likewise.
14709         * intl/tst-gettext4.sh  Likewise.
14710         * intl/tst-gettext6.sh: Likewise.
14711         * intl/tst-translit.sh: Likewise.
14712         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14713         with $(test-program-cmd).
14714         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14715         $(run-program-prefix) with $(test-program-prefix).
14716         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14717         (test_program_prefix): This.
14718         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14719         $(run-program-prefix) with $(test-program-prefix).
14720         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14721         (test_program_prefix): This.
14722         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14723         * posix/Makefile ($(objpfx)globtest.out): Replace
14724         $(run-via-rtld-prefix) and $(test-wrapper) with
14725         $(test-program-prefix) and $(test-via-rtld-prefix).
14726         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14727         $(test-program-prefix).
14728         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14729         $(host-test-program-cmd).
14730         (tst-spawn-ARGS): Likewise.
14731         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14732         $(test-program-prefix).
14733         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14734         (test_via_rtld_prefix): This.
14735         (test_wrapper): Renamed to ...
14736         (test_program_prefix): This.
14737         (run_program_prefix): Replaced by test_program_prefix.
14738         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14739         (test_program_prefix): This.
14740         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14741         with $(host-test-program-cmd).
14742         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14743         $(run-program-prefix) with $(test-program-prefix).
14744         ($(objpfx)tst-printf.out): Likewise.
14745         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14746         $(test-program-cmd).
14747         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14748         (test_program_prefix): This.
14749         * stdio-common/tst-unbputc.sh: Likewise.
14750         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14751         $(run-program-prefix) with $(test-program-prefix).
14752         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14753         (test_program_prefix): This.
14754         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14755         $(built-program-cmd) with $(test-program-cmd).
14757 2013-01-11  Andreas Jaeger  <aj@suse.de>
14759         [BZ #15003]
14760         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14761         value. Sync with Linux 3.7.
14763 2013-01-10  David S. Miller  <davem@davemloft.net>
14765         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14766         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14767         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14769 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14771         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14772         never set.
14773         * configure: Regenerated.
14775 2013-01-10  David S. Miller  <davem@davemloft.net>
14777         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14778         sparc V9 rather than using V8 code.
14779         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14780         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14782 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14784         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14785         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14786         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14787         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14788         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14789         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14790         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14791         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14792         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14793         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14794         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14795         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14796         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14797         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14798         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14799         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14800         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14801         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14802         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14803         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14804         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14805         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14806         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14807         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14808         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14809         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14810         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14812 2013-01-10  David S. Miller  <davem@davemloft.net>
14814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14816 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14818         * posix/Makefile (tests-static): New variable.
14819         (tests): Add $(tests-static).
14820         (tst-exec-static-ARGS): New variable.
14821         (tst-spawn-static-ARGS): Likewise.
14822         * posix/tst-exec-static.c: New file.
14823         * posix/tst-spawn-static.c: Likewise.
14824         * posix/tst-exec.c: Support run directly.
14825         * posix/tst-spawn.c: Likewise.
14827 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14829         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14830         long.
14831         * math/bits/mathcalls.h (llrint): Likewise.
14832         (llround): Likewise.
14833         * stdlib/stdlib.h (struct drand48_data): Likewise.
14834         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14835         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14836         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14837         Likewise.
14838         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14839         Likewise.
14840         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14841         (elf_greg_t): Likewise.
14842         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14843         (__jmp_buf): Likewise.
14844         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14845         definitions.
14846         (llrint): Likewise, for all definitions.
14847         (llrintl): Likewise.
14849         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14850         Remove [__GNUC__] condition.
14851         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14852         condition to just [__USE_ISOC99].
14853         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14855 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14857         [BZ #14200]
14858         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14859         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14860         defined.
14861         (_POSIX_V6_ILP32_OFF32): Likewise.
14862         (_XBS5_ILP32_OFF32): Likewise.
14863         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14864         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14866 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14868         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14871         doubles __mpexp_twomm1.  Adjust usage.
14872         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14873         Remove.
14875 2013-01-10  Andreas Schwab  <schwab@suse.de>
14877         [BZ #14964]
14878         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14879         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14881 2013-01-09  David S. Miller  <davem@davemloft.net>
14883         [BZ #15003]
14884         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14885         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14886         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14887         TCP_FASTOPEN): Define.
14888         (tcp_repair_opt): New structure.
14889         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14890         enum values.
14891         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14892         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14893         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14894         (tcp_cookie_transactions): New structure.
14896 2013-01-09  Anton Blanchard  <anton@samba.org>
14898         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14899         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14900         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14901         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14903 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14905         * include/features.h (__USE_ANSI): Remove.
14907 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14909         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14911         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14913 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14915         * sysdeps/s390/fpu/libm-test-ulps: Update.
14917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14919         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14920         (__acr): Likewise.
14921         (__cpy): Likewise.
14922         (norm): Likewise.
14923         (denorm): Likewise.
14924         (__mp_dbl): Likewise.
14925         (__dbl_mp): Likewise.
14926         (add_magnitudes): Likewise.
14927         (sub_magnitudes): Likewise.
14928         (__add): Likewise.
14929         (__sub): Likewise.
14930         (__mul): Likewise.
14931         (__inv): Likewise.
14932         (__dvd): Likewise.
14933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14934         (__acr): Likewise.
14935         (__cpy): Likewise.
14936         (norm): Likewise.
14937         (denorm): Likewise.
14938         (__mp_dbl): Likewise.
14939         (__dbl_mp): Likewise.
14940         (add_magnitudes): Likewise.
14941         (sub_magnitudes): Likewise.
14942         (__add): Likewise.
14943         (__sub): Likewise.
14944         (__mul): Likewise.
14945         (__inv): Likewise.
14946         (__dvd): Likewise.
14947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14948         (__acr): Likewise.
14949         (__cpy): Likewise.
14950         (norm): Likewise.
14951         (denorm): Likewise.
14952         (__mp_dbl): Likewise.
14953         (__dbl_mp): Likewise.
14954         (add_magnitudes): Likewise.
14955         (sub_magnitudes): Likewise.
14956         (__add): Likewise.
14957         (__sub): Likewise.
14958         (__mul): Likewise.
14959         (__inv): Likewise.
14960         (__dvd): Likewise.
14962 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14964         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14965         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14966         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14967         2 && __USE_EXTERN_INLINES]: Likewise.
14969 2013-01-08  Andreas Jaeger  <aj@suse.de>
14971         [BZ# 14985]
14972         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14973         Remove.
14974         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14975         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14977 2013-01-07  Anton Blanchard  <anton@samba.org>
14979         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14980         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14981         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14982         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14983         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14984         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14985         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14986         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14987         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14988         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14989         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14990         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14991         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14992         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14993         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14994         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14995         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14996         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14997         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14998         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14999         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15000         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15001         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15002         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15003         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15004         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15005         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15006         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15007         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15008         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15009         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15010         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15011         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15012         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15013         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15014         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15015         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15016         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15017         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15018         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15019         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15021         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15023 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15025         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15026         (__MALLOC_PMT): Likewise.
15027         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15028         [__GNUC__], only on [_LIBC].
15029         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15030         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15031         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15032         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15033         forward declaration.
15034         (realloc_hook_ini): Likewise.
15035         (memalign_hook_ini): Likewise.
15036         (__libc_memalign): Do not use __MALLOC_PMT in variable
15037         declaration.
15038         (__libc_valloc): Likewise.
15039         (__libc_pvalloc): Likewise.
15040         (__libc_calloc): Likewise.
15041         (__posix_memalign): Likewise.
15043         [BZ #14996]
15044         * math/s_casinh.c: Include <float.h>.
15045         (__casinh): Do not do computation with squaring and square root
15046         for large arguments.
15047         * math/s_casinhf.c: Include <float.h>.
15048         (__casinhf): Do not do computation with squaring and square root
15049         for large arguments.
15050         * math/s_casinhl.c: Include <float.h>.
15051         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15052         (__casinhl): Do not do computation with squaring and square root
15053         for large arguments.
15054         * math/libm-test.inc (casin_test): Add more tests.
15055         (casinh_test): Likewise.
15056         * sysdeps/i386/fpu/libm-test-ulps: Update.
15057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15059 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15061         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15062         (__x86_64_raw_data_cache_size): Likewise.
15063         (__x86_64_data_cache_size_half): Likewise.
15064         (__x86_64_raw_data_cache_size_half): Likewise.
15065         (__x86_64_shared_cache_size): Likewise.
15066         (__x86_64_raw_shared_cache_size): Likewise.
15067         (__x86_64_shared_cache_size_half): Likewise.
15068         (__x86_64_raw_shared_cache_size_half): Likewise.
15069         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15070         to ...
15071         (__x86_data_cache_size): This.
15072         (__x86_64_raw_data_cache_size): Renamed to ...
15073         (__x86_raw_data_cache_size): This.
15074         (__x86_64_data_cache_size_half): Renamed to ...
15075         (__x86_data_cache_size_half): This.
15076         (__x86_64_raw_data_cache_size_half): Renamed to ...
15077         (__x86_raw_data_cache_size_half): This.
15078         (__x86_64_shared_cache_size): Renamed to ...
15079         (__x86_shared_cache_size): This.
15080         (__x86_64_raw_shared_cache_size): Renamed to ...
15081         (__x86_raw_shared_cache_size): This.
15082         (__x86_64_shared_cache_size_half): Renamed to ...
15083         (__x86_shared_cache_size_half): This.
15084         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15085         (__x86_raw_shared_cache_size_half): This.
15086         * sysdeps/x86_64/memcpy.S: Updated.
15087         * sysdeps/x86_64/memset.S: Likewise.
15088         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15089         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15090         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15092 2013-01-04  David S. Miller  <davem@davemloft.net>
15094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15096 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15098         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15099         1 to avoid redefinition warning.
15100         (__USE_GNU): Don't define.
15101         (init_signaling_nan): Protoize.
15103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15105 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15107         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15108         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15109         (__cpymn): Likewise.
15110         (norm): Remove commented code.
15111         (denorm): Likewise.
15112         (__mp_dbl): Likewise.
15113         (__inv): Likewise.
15114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15115         (__cpymn): Likewise.
15116         (norm): Remove commented code.
15117         (denorm): Likewise.
15118         (__mp_dbl): Likewise.
15119         (__inv): Likewise.
15121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15122         mp_no value for 1.0 and 2.0.
15123         (norm): Use RADIXI instead of radixi.d.
15124         (denorm): Likewise.
15125         (__mul): Use 0.0 instead of zero.d.
15126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15127         mp_no value for 1.0 and 2.0.
15128         (norm): Use RADIXI instead of radixi.d.
15129         (denorm): Likewise.
15130         (__mul): Use 0.0 instead of zero.d.
15132 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15134         [BZ #14994]
15135         * math/s_casinh.c (__casinh): Reduce finite argument to first
15136         quadrant then set signs of results at the end.
15137         * math/s_casinhf.c (__casinhf): Likewise.
15138         * math/s_casinhl.c (__casinhl): Likewise.
15139         * math/libm-test.inc (casin_test): Add more tests.
15140         (casinh_test): Likewise.
15141         * sysdeps/i386/fpu/libm-test-ulps: Update.
15142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15144 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15146         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15148         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15150         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15151         declarations.
15152         (denorm): Likewise.
15153         (__mp_dbl): Likewise.
15154         (__inv): Likewise.
15156         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15157         and adjust the header comment.
15159         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15160         variable name from declaration.
15162 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15164         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15165         Initialize COMMON_CPUID_INDEX_7 element.
15166         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15167         (CPUID_RTM): Likewise.
15168         (HAS_RTM): Likewise.
15169         (COMMON_CPUID_INDEX_7): New enum.
15171 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15173         [BZ #14981]
15174         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15175         size is zero, record memory as freed.
15177 2013-01-03  Andreas Jaeger  <aj@suse.de>
15179         * po/ia.po: Add new Interlingua translation.
15181 2012-01-03  Allan McRae  <allan@archlinux.org>
15183         * locale/programs/localedef.c: Fix description of '--posix' flag.
15185 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15187         * NEWS: Update dates in second copyright notice.
15188         * README: Update copyright dates in example.
15189         * manual/libc.texinfo: Update copyright dates.
15190         * scripts/test-installation.pl: Update copyright date in --version
15191         output.
15193         * hurd/ctty-input.c: Fix copyright notice formatting.
15194         * hurd/ctty-output.c: Likewise.
15195         * hurd/dtable.c: Likewise.
15196         * hurd/hurd-raise.c: Likewise.
15197         * hurd/hurdprio.c: Likewise.
15198         * hurd/msgportdemux.c: Likewise.
15199         * misc/sys/file.h: Likewise.
15200         * misc/sys/ioctl.h: Likewise.
15201         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15202         * sysdeps/mach/hurd/chdir.c: Likewise.
15203         * sysdeps/mach/hurd/fchdir.c: Likewise.
15204         * sysdeps/mach/hurd/rename.c: Likewise.
15205         * sysdeps/mach/hurd/rmdir.c: Likewise.
15206         * sysdeps/mach/hurd/seekdir.c: Likewise.
15207         * sysdeps/mach/hurd/setsid.c: Likewise.
15208         * sysdeps/posix/wait3.c: Likewise.
15210         * All files with FSF copyright notices: Update copyright dates
15211         using scripts/update-copyrights.
15212         * intl/plural.c: Regenerated.
15213         * locale/programs/charmap-kw.h: Likewise.
15214         * locale/programs/locfile-kw.h: Likewise.
15216 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15218         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15219         four values.
15221         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15222         calculation loop and add branch prediction.
15224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15225         check access beyond bounds of m1np.
15227         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15228         MPTWO.
15229         (__inv): Remove local variable MPTWO to use the global
15230         constant.
15231         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15232         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15233         variable MPTWO.
15234         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15235         MP3HALFS static const.
15237 2013-01-01  David S. Miller  <davem@davemloft.net>
15239         * po/ca.po: Update from translation team.
15241 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15243         * scripts/update-copyrights: New file.
15244         * Makeconfig: Reformat copyright notice.
15245         * ctype/ctype.h: Likewise.
15246         * debug/swprintf_chk.c: Likewise.
15247         * elf/dl-cache.c: Likewise.
15248         * elf/dl-debug.c: Likewise.
15249         * elf/dl-object.c: Likewise.
15250         * grp/initgroups.c: Likewise.
15251         * hurd/Makefile: Likewise.
15252         * hurd/hurd/signal.h: Likewise.
15253         * hurd/hurdfault.c: Likewise.
15254         * hurd/hurdioctl.c: Likewise.
15255         * hurd/hurdlookup.c: Likewise.
15256         * hurd/intr-msg.c: Likewise.
15257         * iconv/gconv_open.c: Likewise.
15258         * libio/swprintf.c: Likewise.
15259         * locale/lc-ctype.c: Likewise.
15260         * locale/nl_langinfo.c: Likewise.
15261         * mach/Machrules: Likewise.
15262         * mach/Makefile: Likewise.
15263         * malloc/obstack.h: Likewise.
15264         * manual/Makefile: Likewise.
15265         * manual/tsort.awk: Likewise.
15266         * misc/bits/stab.def: Likewise.
15267         * nis/nis_print_group_entry.c: Likewise.
15268         * nis/nis_table.c: Likewise.
15269         * nis/nss_compat/compat-pwd.c: Likewise.
15270         * nis/nss_compat/compat-spwd.c: Likewise.
15271         * po/Makefile: Likewise.
15272         * posix/fnmatch.c: Likewise.
15273         * posix/regex.h: Likewise.
15274         * resolv/Makefile: Likewise.
15275         * resolv/nss_dns/dns-network.c: Likewise.
15276         * resolv/res_hconf.c: Likewise.
15277         * scripts/gen-sorted.awk: Likewise.
15278         * soft-fp/soft-fp.h: Likewise.
15279         * stdio-common/printf.h: Likewise.
15280         * stdlib/monetary.h: Likewise.
15281         * stdlib/random.c: Likewise.
15282         * stdlib/random_r.c: Likewise.
15283         * sysdeps/generic/Makefile: Likewise.
15284         * sysdeps/gnu/Makefile: Likewise.
15285         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15286         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15287         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15288         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15289         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15290         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15291         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15292         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15293         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15294         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15295         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15296         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15297         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15298         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15299         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15300         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15301         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15302         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15303         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15304         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15305         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15306         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15307         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15308         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15309         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15310         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15311         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15312         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15313         * sysdeps/mach/hurd/errnos.awk: Likewise.
15314         * sysdeps/mach/hurd/fork.c: Likewise.
15315         * sysdeps/mach/hurd/getcwd.c: Likewise.
15316         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15317         * sysdeps/mach/hurd/mmap.c: Likewise.
15318         * sysdeps/mach/hurd/utimes.c: Likewise.
15319         * sysdeps/mach/hurd/xmknod.c: Likewise.
15320         * sysdeps/posix/profil.c: Likewise.
15321         * sysdeps/posix/readdir_r.c: Likewise.
15322         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15323         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15324         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15325         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15326         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15327         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15328         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15329         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15331         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15332         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15333         * sysdeps/pthread/lio_listio.c: Likewise.
15334         * sysdeps/sparc/dl-procinfo.h: Likewise.
15335         * sysdeps/unix/i386/sysdep.S: Likewise.
15336         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15337         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15338         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15339         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15341         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15342         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15343         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15344         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15345         * sysdeps/wordsize-32/divdi3.c: Likewise.
15346         * time/sys/time.h: Likewise.
15347         * wcsmbs/Makefile: Likewise.
15349 2013-01-01  David S. Miller  <davem@davemloft.net>
15351         * po/fr.po: Update from translation team.
15353         * catgets/gencat.c: Update copyright year.
15354         * csu/version.c: Likewise.
15355         * debug/catchsegv.sh: Likewise.
15356         * debug/pcprofiledump.c: Likewise.
15357         * debug/xtrace.sh: Likewise.
15358         * elf/ldconfig.c: Likewise.
15359         * elf/ldd.bash.in: Likewise.
15360         * elf/pldd.c: Likewise.
15361         * elf/sotruss.ksh: Likewise.
15362         * elf/sprof.c: Likewise.
15363         * iconv/iconv_prog.c: Likewise.
15364         * iconv/iconvconfig.c: Likewise.
15365         * locale/programs/locale.c: Likewise.
15366         * locale/programs/localedef.c: Likewise.
15367         * login/programs/pt_chown.c: Likewise.
15368         * malloc/memusage.sh: Likewise.
15369         * malloc/memusagestat.c: Likewise.
15370         * malloc/mtrace.pl: Likewise.
15371         * nscd/nscd.c: Likewise.
15372         * nss/getent.c: Likewise.
15373         * nss/makedb.c: Likewise.
15374         * posix/getconf.c: Likewise.
15376 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15378         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15379         numbers.
15381 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15383         * math/bits/mathcalls.h (modf): Use __nonnull.
15385 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15387         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15388         (split): Use macro CN instead of the bare value.
15389         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15390         could be used.
15391         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15392         instead of the bare value.
15393         (power1): Likewise.
15395 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15397         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15398         __ATAN_TWOM.
15399         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15401         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15402         their values.
15403         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15404         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15405         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15406         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15408 2012-12-28  Andreas Jaeger  <aj@suse.de>
15410         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15411         values are from Linux 3.7.
15413         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15414         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15416 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15418         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15419         TRUE case.
15421         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15422         (norm): Likewise.
15423         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15424         variables with preprocessor constants.
15425         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15426         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15427         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15429 2012-12-27  Bruno Haible  <bruno@clisp.org>
15431         [BZ #14317]
15432         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15433         only if needed.
15435 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15438         and use variable directly.
15439         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15441         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15442         MPONE.
15443         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15444         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15445         variable MPONE.
15446         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15447         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15448         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15449         include directive.  Remove local variable MPONE.
15450         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15451         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15452         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15454 2012-12-25  David S. Miller  <davem@davemloft.net>
15456         * version.h (RELEASE): Set to "development".
15457         (VERSION): Set to "2.17.90".
15458         * NEWS: Add 2.18 section.
15460 2012-12-21  David S. Miller  <davem@davemloft.net>
15462         * po/hr.po: Update from translation team.
15464 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15466         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15468 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15470         * NEWS:  Mention new memcpy for MIPS.
15472 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15474         * manual/contrib.texi (Contributors): Spelling correction.
15476 2012-12-15  David S. Miller  <davem@davemloft.net>
15478         * po/ru.po: Update from translation team.
15480 2012-12-13  David S. Miller  <davem@davemloft.net>
15482         * NEWS: Mention IFUNC testsuite enhancements.
15484         * po/pl.po: Update from translation team.
15485         * po/bg.po: Likewise.
15487         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15488         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15490 2012-12-11  David S. Miller  <davem@davemloft.net>
15492         * po/sv.po: Update from translation team.
15494         * po/vi.po: Update from translation team.
15496         * po/cs.po: Update from translation team.
15498         * po/de.po: Update from translation team.
15499         * po/eo.po: Likewise.
15500         * po/nl.po: Likewise.
15502 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15504         [BZ #14246]
15505         * manual/argp.texi (Argp Helper Functions): Move node to follow
15506         Argp Parsing State.
15508         [BZ #14872]
15509         * manual/conf.texi (Limits on File System Capacity): Mention if
15510         terminating null is included in the max size.
15512 2012-12-10  Andreas Jaeger  <aj@suse.de>
15514         * po/cs.po: Update from translation team.
15516 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15518         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15519         void pointer and cast to uintptr_t.
15520         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15521         path.
15522         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15523         * sysdeps/s390/s390-64/memset.S: Likewise.
15525 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15527         [BZ #14833]
15528         * menual/message.texi (Message Translation): Fix typos.
15529         (Helper programs for gettext): Likewise.
15531 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15533         [BZ #14898]
15534         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15535         Change to -1.
15537 2012-12-07  David S. Miller  <davem@davemloft.net>
15539         * po/libc.pot: Update.
15541 2012-12-07  Richard Henderson  <rth@redhat.com>
15543         [BZ #10114]
15544         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15545         normal/normal case to before the switch.
15546         (_FP_DIV): Likewise.
15548 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15549             Mike Frysinger  <vapier@gentoo.org>
15551         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15552         check for __NR_fadvise64_64.
15554 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15556         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15557         0, not just to plain "0" as a statement.
15558         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15559         with cw.
15561 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15563         * NEWS: Use sourceware.org in Bugzilla URL.
15565 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15568         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15570         * stdio-common/tst-put-error.c (do_test): Add newline to the
15571         padded test to ensure flush.
15573 2012-12-05  Jeff Law  <law@redhat.com>
15575         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15577 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15579         * README: Don't refer to ports add-on as distributed separately.
15580         Mention AArch64 in list of systems supported in the ports add-on.
15582         * LICENSES: Add more non-FSF copyright and license notices.
15584         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15585         ((unused)).
15587         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15589         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15590         10000 as width of padded output.
15592 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15594         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15596         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15597         variable LX with __attribute__ ((unused)).
15598         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15599         Likewise.
15600         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15601         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15602         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15603         with __attribute__ ((unused)).
15605 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15607         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15609 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15611         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15612         (CFLAGS-nldbl-acos.c): New variable.
15613         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15614         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15615         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15616         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15617         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15618         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15619         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15620         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15621         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15622         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15623         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15624         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15625         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15626         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15627         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15628         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15629         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15630         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15631         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15632         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15633         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15634         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15635         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15636         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15637         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15638         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15639         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15640         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15641         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15642         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15643         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15644         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15645         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15646         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15647         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15648         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15649         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15650         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15651         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15652         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15653         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15654         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15655         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15656         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15657         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15658         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15659         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15660         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15661         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15662         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15663         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15664         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15665         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15666         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15667         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15668         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15669         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15670         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15671         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15672         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15673         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15674         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15675         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15676         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15677         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15678         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15679         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15680         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15681         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15682         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15683         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15684         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15685         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15686         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15687         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15688         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15689         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15690         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15691         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15692         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15693         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15694         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15695         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15696         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15697         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15698         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15699         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15700         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15701         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15702         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15703         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15704         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15705         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15706         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15707         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15708         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15709         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15712         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15714         [BZ #14914]
15715         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15716         whole low double instead of just low 47 bits when splitting values
15717         into two parts.
15719 2012-12-03  Allan McRae  <allan@archlinux.org>
15721         * manual/stdio.texi (Predefined Printf Handlers): Remove
15722         @hsep and @vsep usage.
15724 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15726         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15727         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15729 2012-12-03  Jeff Law  <law@redhat.com>
15731         * time/sys/time.h (settimeofday): Do not mark TV argument
15732         as __nonnull.
15734 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15736         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15737         when currently writing and seek to current position when not.
15738         * libio/Makefile (tests): Remove bug-fclose1.
15739         * libio/bug-fclose1.c: Delete.
15741 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15743         * manual/arith.texi (feenableexcept): Fix typo.
15744         (fedisableexcept): Likewise.
15746 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15748         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15749         second, differently-typed declaration, rather than a cast.
15751 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15753         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15754         * include/rpc/svc.h: ... here.
15756 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15758         [BZ #13013]
15759         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15760         depending n and resplen2 to catch cases where answer
15761         equals answerp2.
15763 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15765         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15766         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15768 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15770         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15772 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15774         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15776 2012-11-28  Jeff Law  <law@redhat.com>
15778         [BZ #13761]
15779         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15780         dataset_temporary.  Track alloca usage into alloca_used.
15781         If dataset is large allocate and release it via malloc/free.
15783 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15785         [BZ #14197]
15786         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15788 2012-11-28  David S. Miller  <davem@davemloft.net>
15790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15792 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15794         [BZ #14803]
15795         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15796         of pi/2 rounded to nearest to 64 bits.
15797         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15798         nearest to 64 bits.
15799         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15800         bits.
15802 2012-11-28  Jeff Law <law@redhat.com>
15803             Martin Osvald <mosvald@redhat.com>
15805         [BZ #14889]
15806         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15807         * sunrpc/svc.c: Include time.h.
15808         (__svc_accept_failed): New function.
15809         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15810         any reason other than EINTR, call __svc_accept_failed.
15811         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15812         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15814 2012-11-28  Andreas Schwab  <schwab@suse.de>
15816         * scripts/abilist.awk: Also handle indirect functions in .opd
15817         section.
15819 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15821         [BZ #13881]
15822         * sysdeps/x86/fpu/powl_helper.c: New file.
15823         * sysdeps/x86/fpu/Makefile: Likewise.
15824         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15825         (p3): New object.
15826         (__ieee754_powl): Use __powl_helper for finite arguments except
15827         integer exponents below 8.
15828         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15829         (p3): New object.
15830         (__ieee754_powl): Use __powl_helper for finite arguments except
15831         integer exponents below 8.
15832         * math/libm-test.inc (pow_test): Add more tests and enable some
15833         previously disabled tests.
15834         * sysdeps/i386/fpu/libm-test-ulps: Update.
15835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15837 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15838             Carlos O'Donell  <carlos_odonell@mentor.com>
15840         * nss/makedb.c (is_prime): Assert that input is odd and greater
15841         than 4.  Note that fact in a comment too.
15842         (next_prime): Add 4 to input.
15844 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15846         [BZ #11741]
15847         * libio/Makefile (tests): Add test case tst-fwrite-error.
15848         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15849         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15850         * libio/tst-fwrite-error.c: New test case.
15852 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15854         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15855         before casting to void *.
15856         * include/libc-internal.h (__pointer_type): New macro.
15857         (__integer_if_pointer_type_sub): Likewise.
15858         (__integer_if_pointer_type): Likewise.
15859         (cast_to_integer): Likewise.
15860         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15861         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15862         before casting to atomic64_t.
15863         (atomic_exchange_acq): Likewise.
15864         (__arch_exchange_and_add_body): Likewise.
15865         (__arch_add_body): Likewise.
15866         (atomic_add_negative): Likewise.
15867         (atomic_add_zero): Likewise.
15869 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15871         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15872         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15873         (add_fdes): Likewise.
15874         (linear_search_fdes): Likewise.
15875         (binary_search_unencoded_fdes): Likewise.
15877 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15879         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15881 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15883         * configure.in: Autodetect C++ header directories.
15884         * configure: Regenerated.
15886 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15888         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15890 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15894 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15896         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15897         LDBL_MANT_DIG == 106]: Disable some tests.
15898         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15899         Likewise.
15900         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15901         Likewise.
15903         [BZ #14871]
15904         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15905         input for small inputs.  Return +/- pi/2 for large inputs.
15906         * math/libm-test.inc (atan_test): Add more tests.
15908         * sysdeps/generic/unwind-dw2-fde-glibc.c
15909         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15910         __attribute__ ((unused)).
15912         [BZ #14645]
15913         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15914         x * y if x and y are nonzero and z is zero.
15916         [BZ #14811]
15917         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15918         nonzero exponents with absolute value below 0x1p-117 to +/-
15919         0x1p-117.
15921         [BZ #14869]
15922         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15923         up arguments below 2**-450, not just those below 2**-500.
15924         * math/libm-test.inc (hypot_test): Add another test.
15926         [BZ #14868]
15927         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15928         Return a+b for ratio over 2**120, not 2**60.
15929         * math/libm-test.inc (hypot_test): Add another test.
15931         * math/libm-test.inc (clog_test): Use
15932         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15933         (clog10_test): Likewise.
15935         [BZ #6778]
15936         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15938 2012-11-22  Andreas Schwab  <schwab@suse.de>
15940         * sysdeps/i386/fpu/libm-test-ulps: Update.
15942 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15944         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15945         printf output with newline.
15947 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15949         [BZ #14865]
15950         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15951         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15952         -z nodlopen, -z initfirst and -z execstack support.
15953         * configure: Regenerated.
15955         * elf/elf.h (DF_1_NODIRECT): New macro.
15956         (DF_1_IGNMULDEF): Likewise.
15957         (DF_1_NOKSYMS): Likewise.
15958         (DF_1_NOHDR): Likewise.
15959         (DF_1_EDITED): Likewise.
15960         (DF_1_NORELOC): Likewise.
15961         (DF_1_SYMINTPOSE): Likewise.
15962         (DF_1_GLOBAUDIT): Likewise.
15963         (DF_1_SINGLETON): Likewise.
15964         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15965         DT_1_SUPPORTED_MASK bits.
15966         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15968 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15970         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15972 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15974         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15975         macro.
15977         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15978         (sendmmsg): Move declarations...
15979         * socket/sys/socket.h: ... here.
15980         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15981         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15982         include it from...
15983         * socket/recvmmsg.c: ... this new file.
15984         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15985         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15986         definition of __sendmmsg hidden.
15987         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15988         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15989         Move ENOSYS stub into and include it from...
15990         * socket/sendmmsg.c: ... this new file.
15991         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15992         (sysdep_routines): Move recvmmsg and sendmmsg...
15993         * socket/Makefile (routines): ... here.
15994         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15995         (GLIBC_PRIVATE): Add __sendmmsg.
15996         * include/sys/socket.h (__sendmmsg): Add declarations.
15997         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15998         sendmmsg.
16000 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16002         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16003         variable I1 with __attribute__ ((unused)).
16004         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16006 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16008         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16009         DUMMY variables with __attribute__ ((unused)).
16011         * bits/byteswap.h: Include <bits/types.h>.
16012         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16014 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16016         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16017         string_t.  Do not manually set errno.
16018         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16019         length with __strnlen.  Make sure to both set errno and return it on
16020         failure.
16022 2012-11-19  David S. Miller  <davem@davemloft.net>
16024         With help from Joseph Myers.
16025         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16026         very large arguments properly.
16027         * math/libm-test.inc (atan_test): New tests.
16028         (atan2_test): New tests.
16029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16032 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16034         [BZ #14856]
16035         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16036         Define to 3.
16038         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16039         [POSIX] (EADDRNOTAVAIL): Likewise.
16040         [POSIX] (EAFNOSUPPORT): Likewise.
16041         [POSIX] (EALREADY): Likewise.
16042         [POSIX] (ECONNABORTED): Likewise.
16043         [POSIX] (ECONNREFUSED): Likewise.
16044         [POSIX] (ECONNRESET): Likewise.
16045         [POSIX] (EDESTADDRREQ): Likewise.
16046         [POSIX] (EDQUOT): Likewise.
16047         [POSIX] (EHOSTUNREACH): Likewise.
16048         [POSIX] (EIDRM): Likewise.
16049         [POSIX] (EISCONN): Likewise.
16050         [POSIX] (ELOOP): Likewise.
16051         [POSIX] (EMULTIHOP): Likewise.
16052         [POSIX] (ENETDOWN): Likewise.
16053         [POSIX] (ENETUNREACH): Likewise.
16054         [POSIX] (ENOBUFS): Likewise.
16055         [POSIX] (ENODATA): Likewise.
16056         [POSIX] (ENOLINK): Likewise.
16057         [POSIX] (ENOMSG): Likewise.
16058         [POSIX] (ENOPROTOOPT): Likewise.
16059         [POSIX] (ENOSR): Likewise.
16060         [POSIX] (ENOSTR): Likewise.
16061         [POSIX] (ENOTCONN): Likewise.
16062         [POSIX] (ENOTSOCK): Likewise.
16063         [POSIX] (EOPNOTSUPP): Likewise.
16064         [POSIX] (EOVERFLOW): Likewise.
16065         [POSIX] (EPROTO): Likewise.
16066         [POSIX] (EPROTONOSUPPORT): Likewise.
16067         [POSIX] (EPROTOTYPE): Likewise.
16068         [POSIX] (ESTALE): Likewise.
16069         [POSIX] (ETIME): Likewise.
16070         [POSIX] (ETXTBSY): Likewise.
16071         [POSIX] (EWOULDBLOCK): Likewise.
16072         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16073         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16074         [POSIX] (SEEK_CUR): Likewise.
16075         [POSIX] (SEEK_END): Likewise.
16076         [POSIX || UNIX98] (mode_t): Do not require.
16077         [POSIX] (off_t): Likewise.
16078         [POSIX] (pid_t): Likewise.
16079         [POSIX] (sys/stat.h): Do not allow header.
16080         [POSIX] (unistd.h): Likewise.
16081         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16082         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16083         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16084         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16085         require.
16086         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16087         sigevent): Specify elements.
16088         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16089         entry.
16090         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16091         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16093         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16094         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16095         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16096         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16097         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16098         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16099         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16100         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16101         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16102         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16103         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16104         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16105         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16106         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16107         Likewise.
16108         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16109         Likewise.
16110         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16111         Likewise.
16112         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16113         Likewise.
16114         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16115         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16116         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16117         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16118         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16119         Specify lower bound on value.
16120         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16121         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16122         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16123         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16124         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16125         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16126         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16127         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16128         value.
16129         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16130         as optional.
16131         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16132         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16133         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16134         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16135         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16136         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16137         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16138         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16139         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16140         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16141         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16142         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16143         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16144         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16145         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16146         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16147         entry.
16148         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16149         optional.
16150         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16151         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16152         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16153         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16154         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16155         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16156         Likewise.
16157         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16158         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16159         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16160         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16161         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16162         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16163         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16164         as optional.
16165         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16166         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16167         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16168         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16169         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16170         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16171         specify as optional.
16172         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16173         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16174         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16175         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16176         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16177         [XPG3] (NL_LANGMAX): Likewise.
16178         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16179         [POSIX || XPG3] (NL_NMAX): Likewise.
16180         [POSIX || XPG3] (NL_SETMAX): Likewise.
16181         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16182         [XPG3] (NZERO): Likewise.
16183         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16184         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16185         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16186         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16187         (REG_ERANGE): Expect.
16188         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16189         optional-constant.
16190         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16191         Use (void) in prototype.
16192         [POSIX] (*_t): Allow.
16193         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16194         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16195         (WRDE_BADVAL): Expect.
16197         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16198         expect.
16199         [XPG3 || XPG4] (O_RSYNC): Likewise.
16200         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16201         Likewise.
16202         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16203         [XPG3 || XPG4] (sigqueue): Likewise.
16204         [XPG3 || XPG4] (sigtimedwait): Likewise.
16205         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16206         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16207         [XPG3 || XPG4] (vsnprintf): Likewise.
16208         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16209         Likewise.
16210         [XPG3 || XPG4] (blksize_t): Likewise.
16211         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16212         Likewise.
16213         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16214         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16215         [XPG3 || XPG4] (struct itimerspec): Likewise.
16216         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16217         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16218         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16219         [XPG3 || XPG4] (clockid_t): Likewise.
16220         [XPG3 || XPG4] (timer_t): Likewise.
16221         [XPG3 || XPG4] (clock_getres): Likewise.
16222         [XPG3 || XPG4] (clock_gettime): Likewise.
16223         [XPG3 || XPG4] (clock_settime): Likewise.
16224         [XPG3 || XPG4] (nanosleep): Likewise.
16225         [XPG3 || XPG4] (timer_create): Likewise.
16226         [XPG3 || XPG4] (timer_delete): Likewise.
16227         [XPG3 || XPG4] (timer_gettime): Likewise.
16228         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16229         [XPG3 || XPG4] (timer_settime): Likewise.
16230         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16231         [XPG3 || XPG4] (getlogin_r): Likewise.
16232         [XPG3 || XPG4] (pread): Likewise.
16233         [XPG3 || XPG4] (pthread_atfork): Likewise.
16234         [XPG3 || XPG4] (pwrite): Likewise.
16236         [BZ #14835]
16237         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16238         <bits/siginfo.h>.
16240 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16242         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16243         finalizing MALLSTREAM.
16245         * sysdeps/mach/hurd/syncfs.c: New file.
16247 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16249         [BZ #14719]
16250         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16251         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16252         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16253         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16254         (_nss_dns_gethostbyname4_r): Likewise.
16255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16256         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16258 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16260         [BZ #13763]
16261         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16263 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16265         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16266         * elf/cache.c (print_entry): Print ",AArch64" for
16267         FLAG_AARCH64_LIB64
16269         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16270         * elf/cache.c (print_entry): Print ",hard-float" for
16271         FLAG_ARM_LIBHF.
16273 2012-11-18  David S. Miller  <davem@davemloft.net>
16275         With help from Joseph Myers.
16276         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16277         cutoff to 2**-13.
16278         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16279         cutoff to 2**-25.
16280         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16281         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16282         small.
16283         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16284         * math/libm-test.inc (y0_test): New tests.
16285         (y1_test): New tests.
16286         * sysdeps/i386/fpu/libm-test-ulps: Update.
16287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16290 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16292         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16293         64-bit targets.
16294         * configure: Regenerated.
16296 2012-11-17  David S. Miller  <davem@davemloft.net>
16298         [BZ #14811]
16299         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16300         nonzero exponents with absolute value below 0x1p-128 to +/-
16301         0x1p-128.
16303 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16305         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16307         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16309         * posix/getconf-speclist.c: New file.
16310         * posix/posix-envs.def: Likewise.
16311         * posix/confstr.c (START_ENV_GROUP): New macro.
16312         (END_ENV_GROUP): Likewise.
16313         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16314         (KNOWN_PRESENT_ENV_STRING): Likewise.
16315         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16316         (UNKNOWN_ENVIRONMENT): Likewise.
16317         (confstr): Include posix-envs.def instead of handling
16318         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16319         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16320         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16321         (END_ENV_GROUP): Likewise.
16322         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16323         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16324         (UNKNOWN_ENVIRONMENT): Likewise.
16325         (__sysconf): Include posix-envs.def instead of handling associated
16326         cases directly here.
16327         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16328         preprocessing getconf-speclist.c rather than running getconf or
16329         generating empty file.
16331 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16333         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16335 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16337         [BZ #14672]
16338         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16340 2012-11-16  David S. Miller  <davem@davemloft.net>
16342         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16343         smaller than LDBL_EPSILON/2.0L, just return xm1.
16345 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16347         * elf/tst-array1.c (init): Set constructor priority to 1000.
16348         (fini): Set destructor priority to 1000.
16349         * elf/tst-array2dep.c: Likewise.
16351 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16353         [BZ #11741]
16354         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16355         (_IO_new_file_xsputn): Also return EOF if none of the input
16356         data was written when overflow failed.
16357         * libio/iopadn.c (_IO_padn): Likewise.
16358         * libio/iowpadn.c (_IO_wpadn): Likewise.
16359         * stdio-common/tst-put-error.c: Add copyright notice.
16360         (do_test): Add case for printing padded string.
16361         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16362         _IO_padn returned error.
16363         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16364         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16365         return EOF.
16367 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16369         * libio/libioP.h: Add comment note that the references to C++
16370         bits are now obsolete.
16372 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16374         * math/libm-test.inc (check_complex): Use asprintf.
16376 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16378         * debug/pcprofiledump.c (print_version): Update copyright year.
16379         * malloc/memusagestat.c (print_version): Likewise.
16381 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16383         [BZ #14831]
16384         * elf/Makefile (tests): Add tst-audit8.
16385         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16386         ($(objpfx)tst-audit8.out): New target.
16387         (tst-audit8-ENV): New variable.
16388         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16389         audit if l_reloc_result is NULL.
16390         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16391         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16392         * elf/tst-audit8.c: New file.
16394 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16396         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16397         * misc/Makefile (CFLAGS-select.c): Define.
16398         * posix/Makefile (CFLAGS-pause.c): Define.
16400 2012-11-13  David S. Miller  <davem@davemloft.net>
16402         * crypt/Makefile: Move test targets after toplevel Rules
16403         inclusion.  Grab any necessary sysdep routines when linking.
16404         * crypt/md5.c (md5_process_block): Remove define, we will always
16405         name it __md5_process_block.
16406         (md5_finish_ctx): Update md5_process_block call.
16407         (md5_stream): Likewise.
16408         (md5_process_bytes): Likewise.
16409         (md5_process_block): Rename to __md5_process_block and move to ...
16410         * crypt/md5-block.c: ... here.
16411         * crypt/sha256.c (sha256_process_block): Move to ...
16412         * crypt/sha256-block.c: ... here.
16413         * crypt/sha512.c (sha512_process_block): Move to ...
16414         * crypt/sha512-block.c: ... here.
16415         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16416         path.
16417         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16418         * sysdeps/sparc/sparc64/multiarch/Makefile
16419         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16420         crypt subdir.
16421         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16422         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16423         multiarch changes.
16424         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16425         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16426         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16427         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16428         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16429         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16430         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16431         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16432         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16433         file.
16434         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16435         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16436         file.
16437         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16439 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16441         * timezone/tzselect.ksh: Update from tzcode git revision
16442         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16443         * timezone/zdump.c: Likewise.
16444         * timezone/zic.c: Likewise.
16445         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16446         in TZVERSION setting, not $(PKGVERSION).
16447         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16448         REPORT_BUGS_TO settings.
16450         [BZ #14838]
16451         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16452         macro.
16454 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16456         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16457         detection to immediately after _FP_ROUND().
16458         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16459         bits are 0.
16461 2012-11-11  David S. Miller  <davem@davemloft.net>
16463         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16464         inttypes.h
16465         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16466         __close rather than their public counterparts.
16468 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16470         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16471         file.
16472         [UNIX98] (sem_timedwait): Do not expect.
16473         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16474         [XPG4 || UNIX98] (sockatmark): Do not expect.
16475         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16476         (clock_getcpuclockid): Do not expect.
16477         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16478         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16479         Do not expect.
16480         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16481         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16482         [UNIX98] (vwscanf): Likewise.
16483         [UNIX98] (vswscanf): Likewise.
16485 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16487         * timezone/version.h: Remove file.
16488         * timezone/README: Do not refer to version.h.
16489         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16490         $(objpfx)version.h.
16491         ($(objpfx)zdump.o): Likewise.
16492         ($(objpfx)version.h): New target.
16494         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16495         2012i.
16496         * timezone/README: Don't mention modification to tzselect.ksh.
16497         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16498         work on unmodified tzselect.ksh.  Substitute version numbers in
16499         tzselect.ksh.
16501         * Makefile (format-me): Remove.
16502         (INSTALL): Adjust indentation.  Use commands directly instead of
16503         using $(format-me).
16505         * aclocal.m4 (ACX_PKGVERSION): New macro.
16506         (ACX_BUGURL): Likewise.
16507         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16508         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16509         (REPORT_BUGS_TO): Likewise.
16510         * configure: Regenerated.
16511         * config.h.in (PKGVERSION): New macro.
16512         (REPORT_BUGS_TO): Likewise.
16513         * config.make.in (PKGVERSION): New variable.
16514         (PKGVERSION_TEXI): Likewise.
16515         (REPORT_BUGS_TO): Likewise.
16516         (REPORT_BUGS_TEXI): Likewise.
16517         * Makefile (format-me): Use -I$(common-objpfx)manual.
16518         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16519         ($(common-objpfx)manual/%): New target.
16520         (manual/%): Remove target.
16521         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16522         (print_version): Use PKGVERSION.
16523         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16524         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16525         and REPORT_BUGS_TO.
16526         ($(objpfx)xtrace): Likewise.
16527         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16528         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16529         (print_version): Use PKGVERSION.
16530         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16531         (do_version): Use PKGVERSION.
16532         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16533         REPORT_BUGS_TO.
16534         (common-ldd-rewrite): Likewise.
16535         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16536         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16537         (print_version): Use PKGVERSION.
16538         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16539         * elf/pldd.c (argp_program_bug_address): Remove variable.
16540         (more_help): New function.
16541         (argp): Use more_help.
16542         (print_version): Use PKGVERSION.
16543         * elf/sln.c (main): Use PKGVERSION.
16544         (usage): Use REPORT_BUGS_TO.
16545         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16546         (top level): Use PKGVERSION.
16547         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16548         (print_version): Use PKGVERSION.
16549         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16550         (print_version): Use PKGVERSION.
16551         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16552         (print_version): Use PKGVERSION.
16553         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16554         (print_version): Use PKGVERSION.
16555         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16556         (print_version): Use PKGVERSION.
16557         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16558         (print_version): Use PKGVERSION.
16559         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16560         and BUGURL.
16561         ($(objpfx)memusage): Likewise.
16562         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16563         (do_version): Use PKGVERSION.
16564         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16565         (print_version): Use PKGVERSION.
16566         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16567         ($PKGVERSION): New variable.
16568         ($REPORT_BUGS_TO): Likewise.
16569         (usage): Use $REPORT_BUGS_TO.
16570         (top level): Use $PKGVERSION.
16571         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16572         ($(objpfx)pkgvers.texi): New rule.
16573         ($(objpfx)stamp-pkgvers): Likewise.
16574         * manual/install.texi: Include pkgvers.texi.
16575         (--with-pkgversion): Document new configure option.
16576         (--with-bugurl): Likewise.
16577         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16578         than necessarily for this particular distribution.  Use
16579         REPORT_BUGS_TO for where to report bugs.
16580         * INSTALL: Regenerated.
16581         * manual/libc.texinfo: Include pkgvers.texi.
16582         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16583         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16584         (print_version): Use PKGVERSION.
16585         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16586         (print_version): Use PKGVERSION.
16587         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16588         (print_version): Use PKGVERSION.
16589         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16590         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16591         macro.
16592         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16593         (print_version): Use PKGVERSION.
16594         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16595         (print_version): Use PKGVERSION.
16596         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16597         and PKGVERSION.
16599         * timezone/checktab.awk: Update from tzcode 2012i.
16600         * timezone/ialloc.c: Likewise.
16601         * timezone/private.h: Likewise.
16602         * timezone/scheck.c: Likewise.
16603         * timezone/tzfile.h: Likewise.
16604         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16605         (TZVERSION): Hardcode tzcode version number.
16606         * timezone/zdump.c: Update from tzcode 2012i.
16607         * timezone/zic.c: Likewise.
16608         * timezone/version.h: New file.
16609         * timezone/README: Describe version.h.  Update upstream location.
16611         [BZ #14824]
16612         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16613         (mktemp): Enable declaration.
16614         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16615         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16616         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16617         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16618         Likewise.
16619         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16620         Likewise.
16621         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16622         Likewise.
16623         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16624         Likewise.
16625         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16626         Likewise.
16627         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16628         Likewise.
16630         [BZ #14821]
16631         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16632         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16633         for copies of such integer values.
16634         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16635         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16637 2012-11-09  Andreas Jaeger  <aj@suse.de>
16639         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16640         definitions and declarations that are provided by
16641         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16643 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16645         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16646         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16647         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16648         definition.
16650 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16652         * elf/elf.h: Update comment before AArch64 relocations.
16654 2012-11-07  David S. Miller  <davem@davemloft.net>
16656         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16657         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16658         (__start_context): Declare.
16659         (__makecontext_ret): Delete.
16660         (__makecontext): Hook up __start_context instead of
16661         __makecontext_ret.
16662         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16663         (sysdep_routines): Add __start_context when in stdlib.
16665 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16667         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16668         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16669         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16670         hardcoded "nm".
16671         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16672         (READELF): New variable.  Use it instead of hardcoded "readelf".
16674 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16676         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16677         * sysdeps/x86/Makefile: Here.
16678         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16679         * sysdeps/x86/tst-xmmymm.sh: This.
16681 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16683         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16684         expectations.
16685         [UNIX98] (pthread_barrier_t): Do not expect.
16686         [UNIX98] (pthread_barrierattr_t): Likewise.
16687         [UNIX98] (pthread_spinlock_t): Likewise.
16688         [UNIX98] (pthread_barrier_destroy): Likewise.
16689         [UNIX98] (pthread_barrier_init): Likewise.
16690         [UNIX98] (pthread_barrier_wait): Likewise.
16691         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16692         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16693         [UNIX98] (pthread_barrierattr_init): Likewise.
16694         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16695         [UNIX98] (pthread_getcpuclockid): Likewise.
16696         [UNIX98] (pthread_mutex_timedlock): Likewise.
16697         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16698         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16699         [UNIX98] (pthread_sigmask): Likewise.
16700         [UNIX98] (pthread_spin_destroy): Likewise.
16701         [UNIX98] (pthread_spin_init): Likewise.
16702         [UNIX98] (pthread_spin_lock): Likewise.
16703         [UNIX98] (pthread_spin_trylock): Likewise.
16704         [UNIX98] (pthread_spin_unlock): Likewise.
16705         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16706         Do not expect.
16707         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16708         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16709         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16710         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16711         [XPG3 || XPG4] (pthread_key_t): Likewise.
16712         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16713         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16714         [XPG3 || XPG4] (pthread_once_t): Likewise.
16715         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16716         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16717         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16718         [XPG3 || XPG4] (pthread_t): Likewise.
16720         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16721         not expect.
16722         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16724         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16725         Change function return type to int.
16727         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16728         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16729         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16730         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16731         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16732         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16733         [!POSIX] (posix_madvise): Likewise.
16734         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16735         && !UNIX98].
16736         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16737         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16738         (mode_t): Likewise.
16739         (posix_mem_offset): Likewise.
16740         (posix_typed_mem_get_info): Likewise.
16741         (posix_typed_mem_open): Likewise.
16743         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16744         Change condition to [XOPEN2K8].
16746         * conform/conformtest.pl: Preprocess allow-header data with -x c
16747         instead of from stdin.
16748         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16749         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16750         [C99-based standards] (cerfc): Likewise.
16751         [C99-based standards] (cexp2): Likewise.
16752         [C99-based standards] (cexpm1): Likewise.
16753         [C99-based standards] (clog10): Likewise.
16754         [C99-based standards] (clog1p): Likewise.
16755         [C99-based standards] (clog2): Likewise.
16756         [C99-based standards] (clgamma): Likewise.
16757         [C99-based standards] (ctgamma): Likewise.
16758         [C99-based standards] (cerff): Likewise.
16759         [C99-based standards] (cerfcf): Likewise.
16760         [C99-based standards] (cexp2f): Likewise.
16761         [C99-based standards] (cexpm1f): Likewise.
16762         [C99-based standards] (clog10f): Likewise.
16763         [C99-based standards] (clog1pf): Likewise.
16764         [C99-based standards] (clog2f): Likewise.
16765         [C99-based standards] (clgammaf): Likewise.
16766         [C99-based standards] (ctgammaf): Likewise.
16767         [C99-based standards] (cerfl): Likewise.
16768         [C99-based standards] (cerfcl): Likewise.
16769         [C99-based standards] (cexp2l): Likewise.
16770         [C99-based standards] (cexpm1l): Likewise.
16771         [C99-based standards] (clog10l): Likewise.
16772         [C99-based standards] (clog1pl): Likewise.
16773         [C99-based standards] (clog2l): Likewise.
16774         [C99-based standards] (clgammal): Likewise.
16775         [C99-based standards] (ctgammal): Likewise.
16776         * conform/data/inttypes.h-data [C99-based standards]: Include
16777         stdint.h-data.  Remove all expectations for stdint.h contents.
16778         [C99-based standards] (PRI*): Do not allow.
16779         [C99-based standards] (SCN*): Likewise.
16780         [C99-based standards] (*_t): Likewise.
16781         [C99-based-standards] (PRId8): Expect macro.
16782         [C99-based-standards] (PRIi8): Likewise.
16783         [C99-based-standards] (PRIo8): Likewise.
16784         [C99-based-standards] (PRIu8): Likewise.
16785         [C99-based-standards] (PRIx8): Likewise.
16786         [C99-based-standards] (PRIX8): Likewise.
16787         [C99-based-standards] (SCNd8): Likewise.
16788         [C99-based-standards] (SCNi8): Likewise.
16789         [C99-based-standards] (SCNo8): Likewise.
16790         [C99-based-standards] (SCNu8): Likewise.
16791         [C99-based-standards] (SCNx8): Likewise.
16792         [C99-based-standards] (PRIdLEAST8): Likewise.
16793         [C99-based-standards] (PRIiLEAST8): Likewise.
16794         [C99-based-standards] (PRIoLEAST8): Likewise.
16795         [C99-based-standards] (PRIuLEAST8): Likewise.
16796         [C99-based-standards] (PRIxLEAST8): Likewise.
16797         [C99-based-standards] (PRIXLEAST8): Likewise.
16798         [C99-based-standards] (SCNdLEAST8): Likewise.
16799         [C99-based-standards] (SCNiLEAST8): Likewise.
16800         [C99-based-standards] (SCNoLEAST8): Likewise.
16801         [C99-based-standards] (SCNuLEAST8): Likewise.
16802         [C99-based-standards] (SCNxLEAST8): Likewise.
16803         [C99-based-standards] (PRIdFAST8): Likewise.
16804         [C99-based-standards] (PRIiFAST8): Likewise.
16805         [C99-based-standards] (PRIoFAST8): Likewise.
16806         [C99-based-standards] (PRIuFAST8): Likewise.
16807         [C99-based-standards] (PRIxFAST8): Likewise.
16808         [C99-based-standards] (PRIXFAST8): Likewise.
16809         [C99-based-standards] (SCNdFAST8): Likewise.
16810         [C99-based-standards] (SCNiFAST8): Likewise.
16811         [C99-based-standards] (SCNoFAST8): Likewise.
16812         [C99-based-standards] (SCNuFAST8): Likewise.
16813         [C99-based-standards] (SCNxFAST8): Likewise.
16814         [C99-based-standards] (PRId16): Likewise.
16815         [C99-based-standards] (PRIi16): Likewise.
16816         [C99-based-standards] (PRIo16): Likewise.
16817         [C99-based-standards] (PRIu16): Likewise.
16818         [C99-based-standards] (PRIx16): Likewise.
16819         [C99-based-standards] (PRIX16): Likewise.
16820         [C99-based-standards] (SCNd16): Likewise.
16821         [C99-based-standards] (SCNi16): Likewise.
16822         [C99-based-standards] (SCNo16): Likewise.
16823         [C99-based-standards] (SCNu16): Likewise.
16824         [C99-based-standards] (SCNx16): Likewise.
16825         [C99-based-standards] (PRIdLEAST16): Likewise.
16826         [C99-based-standards] (PRIiLEAST16): Likewise.
16827         [C99-based-standards] (PRIoLEAST16): Likewise.
16828         [C99-based-standards] (PRIuLEAST16): Likewise.
16829         [C99-based-standards] (PRIxLEAST16): Likewise.
16830         [C99-based-standards] (PRIXLEAST16): Likewise.
16831         [C99-based-standards] (SCNdLEAST16): Likewise.
16832         [C99-based-standards] (SCNiLEAST16): Likewise.
16833         [C99-based-standards] (SCNoLEAST16): Likewise.
16834         [C99-based-standards] (SCNuLEAST16): Likewise.
16835         [C99-based-standards] (SCNxLEAST16): Likewise.
16836         [C99-based-standards] (PRIdFAST16): Likewise.
16837         [C99-based-standards] (PRIiFAST16): Likewise.
16838         [C99-based-standards] (PRIoFAST16): Likewise.
16839         [C99-based-standards] (PRIuFAST16): Likewise.
16840         [C99-based-standards] (PRIxFAST16): Likewise.
16841         [C99-based-standards] (PRIXFAST16): Likewise.
16842         [C99-based-standards] (SCNdFAST16): Likewise.
16843         [C99-based-standards] (SCNiFAST16): Likewise.
16844         [C99-based-standards] (SCNoFAST16): Likewise.
16845         [C99-based-standards] (SCNuFAST16): Likewise.
16846         [C99-based-standards] (SCNxFAST16): Likewise.
16847         [C99-based-standards] (PRId32): Likewise.
16848         [C99-based-standards] (PRIi32): Likewise.
16849         [C99-based-standards] (PRIo32): Likewise.
16850         [C99-based-standards] (PRIu32): Likewise.
16851         [C99-based-standards] (PRIx32): Likewise.
16852         [C99-based-standards] (PRIX32): Likewise.
16853         [C99-based-standards] (SCNd32): Likewise.
16854         [C99-based-standards] (SCNi32): Likewise.
16855         [C99-based-standards] (SCNo32): Likewise.
16856         [C99-based-standards] (SCNu32): Likewise.
16857         [C99-based-standards] (SCNx32): Likewise.
16858         [C99-based-standards] (PRIdLEAST32): Likewise.
16859         [C99-based-standards] (PRIiLEAST32): Likewise.
16860         [C99-based-standards] (PRIoLEAST32): Likewise.
16861         [C99-based-standards] (PRIuLEAST32): Likewise.
16862         [C99-based-standards] (PRIxLEAST32): Likewise.
16863         [C99-based-standards] (PRIXLEAST32): Likewise.
16864         [C99-based-standards] (SCNdLEAST32): Likewise.
16865         [C99-based-standards] (SCNiLEAST32): Likewise.
16866         [C99-based-standards] (SCNoLEAST32): Likewise.
16867         [C99-based-standards] (SCNuLEAST32): Likewise.
16868         [C99-based-standards] (SCNxLEAST32): Likewise.
16869         [C99-based-standards] (PRIdFAST32): Likewise.
16870         [C99-based-standards] (PRIiFAST32): Likewise.
16871         [C99-based-standards] (PRIoFAST32): Likewise.
16872         [C99-based-standards] (PRIuFAST32): Likewise.
16873         [C99-based-standards] (PRIxFAST32): Likewise.
16874         [C99-based-standards] (PRIXFAST32): Likewise.
16875         [C99-based-standards] (SCNdFAST32): Likewise.
16876         [C99-based-standards] (SCNiFAST32): Likewise.
16877         [C99-based-standards] (SCNoFAST32): Likewise.
16878         [C99-based-standards] (SCNuFAST32): Likewise.
16879         [C99-based-standards] (SCNxFAST32): Likewise.
16880         [C99-based-standards] (PRId64): Likewise.
16881         [C99-based-standards] (PRIi64): Likewise.
16882         [C99-based-standards] (PRIo64): Likewise.
16883         [C99-based-standards] (PRIu64): Likewise.
16884         [C99-based-standards] (PRIx64): Likewise.
16885         [C99-based-standards] (PRIX64): Likewise.
16886         [C99-based-standards] (SCNd64): Likewise.
16887         [C99-based-standards] (SCNi64): Likewise.
16888         [C99-based-standards] (SCNo64): Likewise.
16889         [C99-based-standards] (SCNu64): Likewise.
16890         [C99-based-standards] (SCNx64): Likewise.
16891         [C99-based-standards] (PRIdLEAST64): Likewise.
16892         [C99-based-standards] (PRIiLEAST64): Likewise.
16893         [C99-based-standards] (PRIoLEAST64): Likewise.
16894         [C99-based-standards] (PRIuLEAST64): Likewise.
16895         [C99-based-standards] (PRIxLEAST64): Likewise.
16896         [C99-based-standards] (PRIXLEAST64): Likewise.
16897         [C99-based-standards] (SCNdLEAST64): Likewise.
16898         [C99-based-standards] (SCNiLEAST64): Likewise.
16899         [C99-based-standards] (SCNoLEAST64): Likewise.
16900         [C99-based-standards] (SCNuLEAST64): Likewise.
16901         [C99-based-standards] (SCNxLEAST64): Likewise.
16902         [C99-based-standards] (PRIdFAST64): Likewise.
16903         [C99-based-standards] (PRIiFAST64): Likewise.
16904         [C99-based-standards] (PRIoFAST64): Likewise.
16905         [C99-based-standards] (PRIuFAST64): Likewise.
16906         [C99-based-standards] (PRIxFAST64): Likewise.
16907         [C99-based-standards] (PRIXFAST64): Likewise.
16908         [C99-based-standards] (SCNdFAST64): Likewise.
16909         [C99-based-standards] (SCNiFAST64): Likewise.
16910         [C99-based-standards] (SCNoFAST64): Likewise.
16911         [C99-based-standards] (SCNuFAST64): Likewise.
16912         [C99-based-standards] (SCNxFAST64): Likewise.
16913         [C99-based-standards] (PRIdMAX): Likewise.
16914         [C99-based-standards] (PRIiMAX): Likewise.
16915         [C99-based-standards] (PRIoMAX): Likewise.
16916         [C99-based-standards] (PRIuMAX): Likewise.
16917         [C99-based-standards] (PRIxMAX): Likewise.
16918         [C99-based-standards] (PRIXMAX): Likewise.
16919         [C99-based-standards] (SCNdMAX): Likewise.
16920         [C99-based-standards] (SCNiMAX): Likewise.
16921         [C99-based-standards] (SCNoMAX): Likewise.
16922         [C99-based-standards] (SCNuMAX): Likewise.
16923         [C99-based-standards] (SCNxMAX): Likewise.
16924         [C99-based-standards] (PRIdPTR): Likewise.
16925         [C99-based-standards] (PRIiPTR): Likewise.
16926         [C99-based-standards] (PRIoPTR): Likewise.
16927         [C99-based-standards] (PRIuPTR): Likewise.
16928         [C99-based-standards] (PRIxPTR): Likewise.
16929         [C99-based-standards] (PRIXPTR): Likewise.
16930         [C99-based-standards] (SCNdPTR): Likewise.
16931         [C99-based-standards] (SCNiPTR): Likewise.
16932         [C99-based-standards] (SCNoPTR): Likewise.
16933         [C99-based-standards] (SCNuPTR): Likewise.
16934         [C99-based-standards] (SCNxPTR): Likewise.
16935         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16936         allow.
16937         * conform/data/stdint.h-data: Update comments to clarify
16938         requirements.
16939         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16940         type.
16941         [C99-based standards] (INT8_MAX): Likewise.
16942         [C99-based standards] (INT16_MIN): Likewise.
16943         [C99-based standards] (INT16_MAX): Likewise.
16944         [C99-based standards] (INT32_MIN): Likewise.
16945         [C99-based standards] (INT32_MAX): Likewise.
16946         [C99-based standards] (INT64_MIN): Likewise.
16947         [C99-based standards] (INT64_MAX): Likewise.
16948         [C99-based standards] (UINT8_MAX): Likewise.
16949         [C99-based standards] (UINT16_MAX): Likewise.
16950         [C99-based standards] (UINT32_MAX): Likewise.
16951         [C99-based standards] (UINT64_MAX): Likewise.
16952         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16953         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16954         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16955         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16956         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16957         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16958         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16959         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16960         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16961         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16962         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16963         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16964         [C99-based standards] (INT_FAST8_MIN): Likewise.
16965         [C99-based standards] (INT_FAST8_MAX): Likewise.
16966         [C99-based standards] (INT_FAST16_MIN): Likewise.
16967         [C99-based standards] (INT_FAST16_MAX): Likewise.
16968         [C99-based standards] (INT_FAST32_MIN): Likewise.
16969         [C99-based standards] (INT_FAST32_MAX): Likewise.
16970         [C99-based standards] (INT_FAST64_MIN): Likewise.
16971         [C99-based standards] (INT_FAST64_MAX): Likewise.
16972         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16973         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16974         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16975         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16976         [C99-based standards] (INTPTR_MIN): Likewise.
16977         [C99-based standards] (INTPTR_MAX): Likewise.
16978         [C99-based standards] (UINTPTR_MAX): Likewise.
16979         [C99-based standards] (INTMAX_MIN): Likewise.
16980         [C99-based standards] (INTMAX_MAX): Likewise.
16981         [C99-based standards] (UINTMAX_MAX): Likewise.
16982         [C99-based standards] (PTRDIFF_MIN): Likewise.
16983         [C99-based standards] (PTRDIFF_MAX): Likewise.
16984         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16985         [C99-based standards] (SIZE_MAX): Likewise.
16986         [C99-based standards] (WCHAR_MAX): Likewise.
16987         [C99-based standards] (WINT_MAX): Likewise.
16988         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16989         constraint on value.
16990         [C99-based standards] (WCHAR_MIN): Likewise.
16991         [C99-based standards] (WINT_MIN): Likewise.
16992         [C99-based standards] (*_t): Allow.
16993         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16994         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16995         Include math.h-data and complex.h-data.  Remove all expectations
16996         of math.h and complex.h contents.
16997         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16998         at end of line.
16999         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17000         (struct tm): Expect tag.
17001         [C99-based-standards] (wcstof): Expect function.
17002         [C99-based-standards] (wcstold): Likewise.
17003         [C99-based-standards] (wcstoll): Likewise.
17004         [C99-based-standards] (wcstoull): Likewise.
17005         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17006         macro-int-constant.  Specify type.
17007         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17008         constraint on value.
17009         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17010         Specify type.
17011         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17012         Specify value.
17013         [ISO C standards]: Do not allow headers.
17014         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17015         wcs[abcdefghijklmnopqrstuvwxyz]*.
17016         [ISO C standards] (*_t): Do not allow.
17017         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17018         Expect function.
17019         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17020         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17021         Specify type.
17022         [ISO C standards]: Do not allow headers.
17023         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17024         is[abcdefghijklmnopqrstuvwxyz]*.
17025         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17026         to[abcdefghijklmnopqrstuvwxyz]*.
17027         [ISO C standards] (*_t): Do not allow.
17028         * conform/data/stdalign.h-data: New file.
17029         * conform/data/stdbool.h-data: Likewise.
17030         * conform/data/stdnoreturn.h-data: Likewise.
17032 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17034         [BZ #14815]
17035         * manual/filesys.texi (Directory Entries): Typo fix.
17036         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17038 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17040         * elf/elf.h (EM_AARCH64): New macro.
17041         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17042         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17043         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17044         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17045         (R_AARCH64_TLSDESC): Likewise.
17046         (NT_ARM_TLS): Likewise.
17047         (NT_ARM_HW_BREAK): Likewise.
17048         (NT_ARM_HW_WATCH): Likewise.
17050 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17052         [BZ #14811]
17053         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17054         (__ieee754_powl): Saturate nonzero exponents with absolute value
17055         below 0x1p-79 to +/- 0x1p-79.
17056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17057         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17058         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17059         nonzero exponents with absolute value below 0x1p-32 to +/-
17060         0x1p-32.
17061         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17062         (__ieee754_powl): Saturate nonzero exponents with absolute value
17063         below 0x1p-79 to +/- 0x1p-79.
17064         * math/libm-test.inc (pow_test): Add more tests.
17066 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17068         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17069         _dl_s390_cap_flags with kernel. Increase string length.
17070         (_dl_s390_platforms): Add z196 and zEC12.
17072 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17074         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17075         Change XOPEN21K to XOPEN2K.
17077 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17079         * string/memmove.c: Use memcpy when possible.
17081 2012-11-06  Andreas Jaeger  <aj@suse.de>
17083         * po/eo.po: Update from translation team.
17085 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17087         [BZ #14793]
17088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17089         exponent and small x and y exponents, scale x or y up.  Increase
17090         by 2 the exponent used in scaling up.
17091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17092         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17093         * math/libm-test.inc (fma_test): Add more tests.
17094         (fma_test_towardzero): Likewise.
17095         (fma_test_downward): Likewise.
17096         (fma_test_upward): Likewise.
17098 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17100         [BZ #14805]
17101         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17102         fenv_t *.
17104         [BZ #14801]
17105         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17106         namespace for names of struct fields.
17107         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17108         fenv_t fields.
17109         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17110         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17112 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17114         [BZ #3665]
17115         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17117 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17119         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17120         PTR_DEMANGLE.
17122         [BZ #5246]
17123         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17124         PTR_DEMANGLE.
17126 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17128         [BZ #14797]
17129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17130         definitely overflow as x * y not x * y + z.
17131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17132         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17133         * math/libm-test.inc (fma_test): Add more tests.
17134         (fma_test_towardzero): Likewise.
17135         (fma_test_downward): Likewise.
17136         (fma_test_upward): Likewise.
17138 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17140         [BZ #157]
17142         * include/stub-tag.h: Remove file.
17143         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17144         '#include' of it.
17145         * manual/maint.texi (Porting): Don't reference it.
17146         * Makerules ($(objpfx)stubs): Likewise.
17147         * dirent/closedir.c: Don't include <stub-tag.h>.
17148         * dirent/dirfd.c: Likewise.
17149         * dirent/fdopendir.c: Likewise.
17150         * dirent/getdents.c: Likewise.
17151         * dirent/getdents64.c: Likewise.
17152         * dirent/opendir.c: Likewise.
17153         * dirent/readdir.c: Likewise.
17154         * dirent/readdir64.c: Likewise.
17155         * dirent/readdir64_r.c: Likewise.
17156         * dirent/readdir_r.c: Likewise.
17157         * dirent/rewinddir.c: Likewise.
17158         * dirent/seekdir.c: Likewise.
17159         * dirent/telldir.c: Likewise.
17160         * gmon/profil.c: Likewise.
17161         * grp/setgroups.c: Likewise.
17162         * inet/if_index.c: Likewise.
17163         * io/access.c: Likewise.
17164         * io/chdir.c: Likewise.
17165         * io/chmod.c: Likewise.
17166         * io/chown.c: Likewise.
17167         * io/close.c: Likewise.
17168         * io/dup.c: Likewise.
17169         * io/dup2.c: Likewise.
17170         * io/dup3.c: Likewise.
17171         * io/euidaccess.c: Likewise.
17172         * io/faccessat.c: Likewise.
17173         * io/fchdir.c: Likewise.
17174         * io/fchmod.c: Likewise.
17175         * io/fchmodat.c: Likewise.
17176         * io/fchown.c: Likewise.
17177         * io/fchownat.c: Likewise.
17178         * io/fcntl.c: Likewise.
17179         * io/flock.c: Likewise.
17180         * io/fstatfs.c: Likewise.
17181         * io/fstatfs64.c: Likewise.
17182         * io/fstatvfs.c: Likewise.
17183         * io/fstatvfs64.c: Likewise.
17184         * io/futimens.c: Likewise.
17185         * io/fxstat.c: Likewise.
17186         * io/fxstat64.c: Likewise.
17187         * io/fxstatat.c: Likewise.
17188         * io/fxstatat64.c: Likewise.
17189         * io/getcwd.c: Likewise.
17190         * io/isatty.c: Likewise.
17191         * io/lchmod.c: Likewise.
17192         * io/lchown.c: Likewise.
17193         * io/link.c: Likewise.
17194         * io/linkat.c: Likewise.
17195         * io/lseek.c: Likewise.
17196         * io/lseek64.c: Likewise.
17197         * io/lxstat64.c: Likewise.
17198         * io/mkdir.c: Likewise.
17199         * io/mkdirat.c: Likewise.
17200         * io/mkfifo.c: Likewise.
17201         * io/mkfifoat.c: Likewise.
17202         * io/open.c: Likewise.
17203         * io/open64.c: Likewise.
17204         * io/openat.c: Likewise.
17205         * io/openat64.c: Likewise.
17206         * io/pipe.c: Likewise.
17207         * io/pipe2.c: Likewise.
17208         * io/poll.c: Likewise.
17209         * io/posix_fadvise.c: Likewise.
17210         * io/posix_fadvise64.c: Likewise.
17211         * io/posix_fallocate.c: Likewise.
17212         * io/posix_fallocate64.c: Likewise.
17213         * io/read.c: Likewise.
17214         * io/readlink.c: Likewise.
17215         * io/readlinkat.c: Likewise.
17216         * io/rmdir.c: Likewise.
17217         * io/sendfile.c: Likewise.
17218         * io/sendfile64.c: Likewise.
17219         * io/statfs.c: Likewise.
17220         * io/statfs64.c: Likewise.
17221         * io/statvfs.c: Likewise.
17222         * io/statvfs64.c: Likewise.
17223         * io/symlink.c: Likewise.
17224         * io/symlinkat.c: Likewise.
17225         * io/ttyname.c: Likewise.
17226         * io/ttyname_r.c: Likewise.
17227         * io/umask.c: Likewise.
17228         * io/unlink.c: Likewise.
17229         * io/unlinkat.c: Likewise.
17230         * io/utime.c: Likewise.
17231         * io/utimensat.c: Likewise.
17232         * io/write.c: Likewise.
17233         * io/xmknod.c: Likewise.
17234         * io/xmknodat.c: Likewise.
17235         * io/xstat.c: Likewise.
17236         * io/xstat64.c: Likewise.
17237         * login/getpt.c: Likewise.
17238         * login/grantpt.c: Likewise.
17239         * login/unlockpt.c: Likewise.
17240         * math/e_acoshl.c: Likewise.
17241         * math/e_acosl.c: Likewise.
17242         * math/e_asinl.c: Likewise.
17243         * math/e_atan2l.c: Likewise.
17244         * math/e_atanhl.c: Likewise.
17245         * math/e_coshl.c: Likewise.
17246         * math/e_expl.c: Likewise.
17247         * math/e_fmodl.c: Likewise.
17248         * math/e_gammal_r.c: Likewise.
17249         * math/e_hypotl.c: Likewise.
17250         * math/e_j0l.c: Likewise.
17251         * math/e_j1l.c: Likewise.
17252         * math/e_jnl.c: Likewise.
17253         * math/e_lgammal_r.c: Likewise.
17254         * math/e_log10l.c: Likewise.
17255         * math/e_log2l.c: Likewise.
17256         * math/e_logl.c: Likewise.
17257         * math/e_powl.c: Likewise.
17258         * math/e_rem_pio2l.c: Likewise.
17259         * math/e_sinhl.c: Likewise.
17260         * math/e_sqrtl.c: Likewise.
17261         * math/fclrexcpt.c: Likewise.
17262         * math/fedisblxcpt.c: Likewise.
17263         * math/feenablxcpt.c: Likewise.
17264         * math/fegetenv.c: Likewise.
17265         * math/fegetexcept.c: Likewise.
17266         * math/fegetround.c: Likewise.
17267         * math/feholdexcpt.c: Likewise.
17268         * math/fesetenv.c: Likewise.
17269         * math/fesetround.c: Likewise.
17270         * math/feupdateenv.c: Likewise.
17271         * math/fgetexcptflg.c: Likewise.
17272         * math/fraiseexcpt.c: Likewise.
17273         * math/fsetexcptflg.c: Likewise.
17274         * math/ftestexcept.c: Likewise.
17275         * math/k_cosl.c: Likewise.
17276         * math/k_rem_pio2l.c: Likewise.
17277         * math/k_sinl.c: Likewise.
17278         * math/k_tanl.c: Likewise.
17279         * math/s_asinhl.c: Likewise.
17280         * math/s_atanl.c: Likewise.
17281         * math/s_cbrtl.c: Likewise.
17282         * math/s_erfl.c: Likewise.
17283         * math/s_expm1l.c: Likewise.
17284         * math/s_log1pl.c: Likewise.
17285         * math/s_tanhl.c: Likewise.
17286         * misc/acct.c: Likewise.
17287         * misc/brk.c: Likewise.
17288         * misc/chflags.c: Likewise.
17289         * misc/chroot.c: Likewise.
17290         * misc/fchflags.c: Likewise.
17291         * misc/fgetxattr.c: Likewise.
17292         * misc/flistxattr.c: Likewise.
17293         * misc/fremovexattr.c: Likewise.
17294         * misc/fsetxattr.c: Likewise.
17295         * misc/fsync.c: Likewise.
17296         * misc/ftruncate.c: Likewise.
17297         * misc/futimes.c: Likewise.
17298         * misc/futimesat.c: Likewise.
17299         * misc/getdomain.c: Likewise.
17300         * misc/getdtsz.c: Likewise.
17301         * misc/gethostid.c: Likewise.
17302         * misc/gethostname.c: Likewise.
17303         * misc/getloadavg.c: Likewise.
17304         * misc/getpagesize.c: Likewise.
17305         * misc/getsysstats.c: Likewise.
17306         * misc/getxattr.c: Likewise.
17307         * misc/gtty.c: Likewise.
17308         * misc/ioctl.c: Likewise.
17309         * misc/lgetxattr.c: Likewise.
17310         * misc/listxattr.c: Likewise.
17311         * misc/llistxattr.c: Likewise.
17312         * misc/lremovexattr.c: Likewise.
17313         * misc/lsetxattr.c: Likewise.
17314         * misc/lutimes.c: Likewise.
17315         * misc/madvise.c: Likewise.
17316         * misc/mincore.c: Likewise.
17317         * misc/mlock.c: Likewise.
17318         * misc/mlockall.c: Likewise.
17319         * misc/mmap.c: Likewise.
17320         * misc/mprotect.c: Likewise.
17321         * misc/msync.c: Likewise.
17322         * misc/munlock.c: Likewise.
17323         * misc/munlockall.c: Likewise.
17324         * misc/munmap.c: Likewise.
17325         * misc/preadv.c: Likewise.
17326         * misc/preadv64.c: Likewise.
17327         * misc/ptrace.c: Likewise.
17328         * misc/pwritev.c: Likewise.
17329         * misc/pwritev64.c: Likewise.
17330         * misc/readv.c: Likewise.
17331         * misc/reboot.c: Likewise.
17332         * misc/remap_file_pages.c: Likewise.
17333         * misc/removexattr.c: Likewise.
17334         * misc/revoke.c: Likewise.
17335         * misc/select.c: Likewise.
17336         * misc/setdomain.c: Likewise.
17337         * misc/setegid.c: Likewise.
17338         * misc/seteuid.c: Likewise.
17339         * misc/sethostid.c: Likewise.
17340         * misc/sethostname.c: Likewise.
17341         * misc/setregid.c: Likewise.
17342         * misc/setreuid.c: Likewise.
17343         * misc/setxattr.c: Likewise.
17344         * misc/sstk.c: Likewise.
17345         * misc/stty.c: Likewise.
17346         * misc/swapoff.c: Likewise.
17347         * misc/swapon.c: Likewise.
17348         * misc/sync.c: Likewise.
17349         * misc/syncfs.c: Likewise.
17350         * misc/syscall.c: Likewise.
17351         * misc/truncate.c: Likewise.
17352         * misc/ualarm.c: Likewise.
17353         * misc/usleep.c: Likewise.
17354         * misc/ustat.c: Likewise.
17355         * misc/utimes.c: Likewise.
17356         * misc/vhangup.c: Likewise.
17357         * misc/writev.c: Likewise.
17358         * posix/_exit.c: Likewise.
17359         * posix/alarm.c: Likewise.
17360         * posix/execve.c: Likewise.
17361         * posix/fexecve.c: Likewise.
17362         * posix/fork.c: Likewise.
17363         * posix/fpathconf.c: Likewise.
17364         * posix/getaddrinfo.c: Likewise.
17365         * posix/getegid.c: Likewise.
17366         * posix/geteuid.c: Likewise.
17367         * posix/getgid.c: Likewise.
17368         * posix/getgroups.c: Likewise.
17369         * posix/getlogin.c: Likewise.
17370         * posix/getlogin_r.c: Likewise.
17371         * posix/getpgid.c: Likewise.
17372         * posix/getpid.c: Likewise.
17373         * posix/getppid.c: Likewise.
17374         * posix/getresgid.c: Likewise.
17375         * posix/getresuid.c: Likewise.
17376         * posix/getsid.c: Likewise.
17377         * posix/getuid.c: Likewise.
17378         * posix/glob64.c: Likewise.
17379         * posix/nanosleep.c: Likewise.
17380         * posix/pathconf.c: Likewise.
17381         * posix/pause.c: Likewise.
17382         * posix/posix_madvise.c: Likewise.
17383         * posix/pread.c: Likewise.
17384         * posix/pread64.c: Likewise.
17385         * posix/pwrite.c: Likewise.
17386         * posix/pwrite64.c: Likewise.
17387         * posix/sched_getaffinity.c: Likewise.
17388         * posix/sched_getp.c: Likewise.
17389         * posix/sched_gets.c: Likewise.
17390         * posix/sched_primax.c: Likewise.
17391         * posix/sched_primin.c: Likewise.
17392         * posix/sched_rr_gi.c: Likewise.
17393         * posix/sched_setaffinity.c: Likewise.
17394         * posix/sched_setp.c: Likewise.
17395         * posix/sched_sets.c: Likewise.
17396         * posix/sched_yield.c: Likewise.
17397         * posix/setgid.c: Likewise.
17398         * posix/setlogin.c: Likewise.
17399         * posix/setpgid.c: Likewise.
17400         * posix/setresgid.c: Likewise.
17401         * posix/setresuid.c: Likewise.
17402         * posix/setsid.c: Likewise.
17403         * posix/setuid.c: Likewise.
17404         * posix/sleep.c: Likewise.
17405         * posix/spawni.c: Likewise.
17406         * posix/sysconf.c: Likewise.
17407         * posix/times.c: Likewise.
17408         * posix/wait.c: Likewise.
17409         * posix/wait3.c: Likewise.
17410         * posix/wait4.c: Likewise.
17411         * posix/waitpid.c: Likewise.
17412         * resolv/gai_sigqueue.c: Likewise.
17413         * resource/getpriority.c: Likewise.
17414         * resource/getrlimit.c: Likewise.
17415         * resource/getrusage.c: Likewise.
17416         * resource/nice.c: Likewise.
17417         * resource/setpriority.c: Likewise.
17418         * resource/setrlimit.c: Likewise.
17419         * resource/ulimit.c: Likewise.
17420         * rt/aio_cancel.c: Likewise.
17421         * rt/aio_fsync.c: Likewise.
17422         * rt/aio_read.c: Likewise.
17423         * rt/aio_sigqueue.c: Likewise.
17424         * rt/aio_suspend.c: Likewise.
17425         * rt/aio_write.c: Likewise.
17426         * rt/clock_getres.c: Likewise.
17427         * rt/clock_gettime.c: Likewise.
17428         * rt/clock_nanosleep.c: Likewise.
17429         * rt/clock_settime.c: Likewise.
17430         * rt/lio_listio.c: Likewise.
17431         * rt/mq_close.c: Likewise.
17432         * rt/mq_getattr.c: Likewise.
17433         * rt/mq_notify.c: Likewise.
17434         * rt/mq_open.c: Likewise.
17435         * rt/mq_receive.c: Likewise.
17436         * rt/mq_send.c: Likewise.
17437         * rt/mq_setattr.c: Likewise.
17438         * rt/mq_timedreceive.c: Likewise.
17439         * rt/mq_timedsend.c: Likewise.
17440         * rt/mq_unlink.c: Likewise.
17441         * rt/shm_open.c: Likewise.
17442         * rt/shm_unlink.c: Likewise.
17443         * rt/timer_create.c: Likewise.
17444         * rt/timer_delete.c: Likewise.
17445         * rt/timer_getoverr.c: Likewise.
17446         * rt/timer_gettime.c: Likewise.
17447         * rt/timer_settime.c: Likewise.
17448         * setjmp/__longjmp.c: Likewise.
17449         * setjmp/setjmp.c: Likewise.
17450         * signal/kill.c: Likewise.
17451         * signal/killpg.c: Likewise.
17452         * signal/raise.c: Likewise.
17453         * signal/sigaction.c: Likewise.
17454         * signal/sigaltstack.c: Likewise.
17455         * signal/sigblock.c: Likewise.
17456         * signal/sigignore.c: Likewise.
17457         * signal/sigintr.c: Likewise.
17458         * signal/signal.c: Likewise.
17459         * signal/sigpause.c: Likewise.
17460         * signal/sigpending.c: Likewise.
17461         * signal/sigqueue.c: Likewise.
17462         * signal/sigreturn.c: Likewise.
17463         * signal/sigset.c: Likewise.
17464         * signal/sigsetmask.c: Likewise.
17465         * signal/sigstack.c: Likewise.
17466         * signal/sigsuspend.c: Likewise.
17467         * signal/sigtimedwait.c: Likewise.
17468         * signal/sigvec.c: Likewise.
17469         * signal/sigwait.c: Likewise.
17470         * signal/sigwaitinfo.c: Likewise.
17471         * signal/sysv_signal.c: Likewise.
17472         * socket/accept.c: Likewise.
17473         * socket/accept4.c: Likewise.
17474         * socket/bind.c: Likewise.
17475         * socket/connect.c: Likewise.
17476         * socket/getpeername.c: Likewise.
17477         * socket/getsockname.c: Likewise.
17478         * socket/getsockopt.c: Likewise.
17479         * socket/isfdtype.c: Likewise.
17480         * socket/listen.c: Likewise.
17481         * socket/recv.c: Likewise.
17482         * socket/recvfrom.c: Likewise.
17483         * socket/recvmsg.c: Likewise.
17484         * socket/send.c: Likewise.
17485         * socket/sendmsg.c: Likewise.
17486         * socket/sendto.c: Likewise.
17487         * socket/setsockopt.c: Likewise.
17488         * socket/shutdown.c: Likewise.
17489         * socket/sockatmark.c: Likewise.
17490         * socket/socket.c: Likewise.
17491         * socket/socketpair.c: Likewise.
17492         * stdio-common/ctermid.c: Likewise.
17493         * stdio-common/cuserid.c: Likewise.
17494         * stdio-common/remove.c: Likewise.
17495         * stdio-common/rename.c: Likewise.
17496         * stdio-common/renameat.c: Likewise.
17497         * stdio-common/tempname.c: Likewise.
17498         * stdlib/getcontext.c: Likewise.
17499         * stdlib/makecontext.c: Likewise.
17500         * stdlib/setcontext.c: Likewise.
17501         * stdlib/swapcontext.c: Likewise.
17502         * stdlib/system.c: Likewise.
17503         * streams/fattach.c: Likewise.
17504         * streams/fdetach.c: Likewise.
17505         * streams/getmsg.c: Likewise.
17506         * streams/getpmsg.c: Likewise.
17507         * streams/putmsg.c: Likewise.
17508         * streams/putpmsg.c: Likewise.
17509         * sysdeps/unix/bsd/getpt.c: Likewise.
17510         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17511         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17512         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17514         Likewise.
17515         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17516         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17517         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17518         * sysvipc/msgctl.c: Likewise.
17519         * sysvipc/msgget.c: Likewise.
17520         * sysvipc/msgrcv.c: Likewise.
17521         * sysvipc/msgsnd.c: Likewise.
17522         * sysvipc/semctl.c: Likewise.
17523         * sysvipc/semget.c: Likewise.
17524         * sysvipc/semop.c: Likewise.
17525         * sysvipc/semtimedop.c: Likewise.
17526         * sysvipc/shmat.c: Likewise.
17527         * sysvipc/shmctl.c: Likewise.
17528         * sysvipc/shmdt.c: Likewise.
17529         * sysvipc/shmget.c: Likewise.
17530         * termios/tcdrain.c: Likewise.
17531         * termios/tcflow.c: Likewise.
17532         * termios/tcflush.c: Likewise.
17533         * termios/tcgetattr.c: Likewise.
17534         * termios/tcgetpgrp.c: Likewise.
17535         * termios/tcsendbrk.c: Likewise.
17536         * termios/tcsetattr.c: Likewise.
17537         * termios/tcsetpgrp.c: Likewise.
17538         * time/adjtime.c: Likewise.
17539         * time/clock.c: Likewise.
17540         * time/getitimer.c: Likewise.
17541         * time/gettimeofday.c: Likewise.
17542         * time/setitimer.c: Likewise.
17543         * time/settimeofday.c: Likewise.
17544         * time/stime.c: Likewise.
17545         * time/time.c: Likewise.
17547 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17549         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17550         /usr/old/bin.
17552         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17553         instead of spaces.
17554         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17556 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17558         [BZ #14796]
17559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17560         FE_TONEAREST before applying Dekker multiplication and Knuth
17561         addition.  Clear inexact exceptions and check for exact zero
17562         results afterwards.
17563         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17564         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17565         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17566         * math/libm-test.inc (fma_test): Add more tests.
17567         (fma_test_towardzero): Likewise.
17568         (fma_test_downward): Likewise.
17569         (fma_test_upward): Likewise.
17570         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17571         function.
17572         (libc_fesetround): New macro.
17573         (libc_fesetroundf): Likewise.
17574         (libc_fesetroundl): Likewise.
17575         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17576         function.
17577         (libc_fesetround_387): Likewise.
17578         (libc_fesetroundf): New macro.
17579         (libc_fesetround): Likewise.
17580         (libc_fesetroundl): Likewise.
17581         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17582         function.
17583         (libc_fesetroundf): New macro.
17584         (libc_fesetround): Likewise.
17585         (libc_fesetroundl): Likewise.
17586         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17587         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17588         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17589         libm_hidden_ver.
17590         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17591         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17592         libm_hidden_def.
17593         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17594         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17595         libm_hidden_ver.
17596         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17597         libm_hidden_def.
17599         [BZ #3439]
17600         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17601         integer constant usable in #if and use that to give value to enum
17602         constant.
17603         (FE_DIVBYZERO): Likewise.
17604         (FE_UNDERFLOW): Likewise.
17605         (FE_OVERFLOW): Likewise.
17606         (FE_INVALID): Likewise.
17607         (FE_INVALID_SNAN): Likewise.
17608         (FE_INVALID_ISI): Likewise.
17609         (FE_INVALID_IDI): Likewise.
17610         (FE_INVALID_ZDZ): Likewise.
17611         (FE_INVALID_IMZ): Likewise.
17612         (FE_INVALID_COMPARE): Likewise.
17613         (FE_INVALID_SOFTWARE): Likewise.
17614         (FE_INVALID_SQRT): Likewise.
17615         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17616         (FE_TONEAREST): Likewise.
17617         (FE_TOWARDZERO): Likewise.
17618         (FE_UPWARD): Likewise.
17619         (FE_DOWNWARD): Likewise.
17620         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17621         (FE_DIVBYZERO): Likewise.
17622         (FE_OVERFLOW): Likewise.
17623         (FE_UNDERFLOW): Likewise.
17624         (FE_INEXACT): Likewise.
17625         (FE_TONEAREST): Likewise.
17626         (FE_DOWNWARD): Likewise.
17627         (FE_UPWARD): Likewise.
17628         (FE_TOWARDZERO): Likewise.
17629         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17630         (FE_UNDERFLOW): Likewise.
17631         (FE_OVERFLOW): Likewise.
17632         (FE_DIVBYZERO): Likewise.
17633         (FE_INVALID): Likewise.
17634         (FE_TONEAREST): Likewise.
17635         (FE_TOWARDZERO): Likewise.
17636         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17637         (FE_OVERFLOW): Likewise.
17638         (FE_UNDERFLOW): Likewise.
17639         (FE_DIVBYZERO): Likewise.
17640         (FE_INEXACT): Likewise.
17641         (FE_TONEAREST): Likewise.
17642         (FE_TOWARDZERO): Likewise.
17643         (FE_UPWARD): Likewise.
17644         (FE_DOWNWARD): Likewise.
17645         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17646         (FE_DIVBYZERO): Likewise.
17647         (FE_OVERFLOW): Likewise.
17648         (FE_UNDERFLOW): Likewise.
17649         (FE_INEXACT): Likewise.
17650         (FE_TONEAREST): Likewise.
17651         (FE_DOWNWARD): Likewise.
17652         (FE_UPWARD): Likewise.
17653         (FE_TOWARDZERO): Likewise.
17655 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17657         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17659 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17661         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17662         commands.  Quote $PWD.
17663         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17664         -x" by "export".
17665         (remove_newlines): Remove.
17667 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17669         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17670         * stdlib/stdlib.h (atof): Moved to ...
17671         * include/bits/stdlib-float.h: Here.  New file.
17672         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17673         * stdlib/bits/stdlib-float.h: New file.
17674         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17675         -mno-sse -mno-mmx.
17676         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17677         <xmmintrin.h>.
17679 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17681         * conform/conformtest.pl (@headers): Add fenv.h.
17682         * conform/data/fenv.h-data: New file.
17683         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17684         include of <math/fenv.h>.
17686         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17687         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17688         && !UNIX98].  Enables tests for XOPEN2K8.
17689         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17690         POSIX2008]: Likewise.
17692         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17693         (struct rusage): Do not expect type or its members.
17695         [BZ #3439]
17696         * math/math.h (FP_NAN): Define macro to integer constant usable in
17697         #if and use that to give value to enum constant.
17698         (FP_INFINITE): Likewise.
17699         (FP_ZERO): Likewise.
17700         (FP_SUBNORMAL): Likewise.
17701         (FP_NORMAL): Likewise.
17703 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17705         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17706         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17707         arguments.
17709 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17711         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17712         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17713         autoconf-time if not.
17714         * configure.in: Remove AC_PREREQ.
17716 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17718         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17719         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17720         of the internal implementation.
17722 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17724         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17725         except include of <misc/sys/syslog.h>.
17727 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17730         function returns with a NULL context exit with zero.
17732 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17734         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17736 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17738         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17739         (run_program_cmd): This.
17740         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17741         (tst_langinfo): New variable.  Use it.
17743 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17745         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17746         floating point opcodes.
17748 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17750         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17751         variable.
17753         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17755         * sysdeps/mach/hurd/powerpc: Remove directory.
17756         * sysdeps/mach/powerpc: Likewise.
17758 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17760         * scripts/check-local-headers.sh: Ignore c++ headers.
17762 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17764         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17765         __libc_cleanup_region_start argument.
17767 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17769         [BZ #14784]
17770         [BZ #14785]
17771         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17772         x * y using scaling, not as x * y + z.
17773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17774         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17775         * math/libm-test.inc (fma_test): Add more tests.
17776         (fma_test_towardzero): Likewise.
17777         (fma_test_downward): Likewise.
17778         (fma_test_upward): Likewise.
17780 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17782         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17784 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17786         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17787         New variable.
17789 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17791         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17793 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17796         Fix sort order.
17797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17798         Likewise.
17800 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17803         Fix the order of the list for glibc 2.17.
17804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17805         Likewise.
17807 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17811 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17813         [BZ #14610]
17814         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17815         for low part of x being zero before using __atanl (y).
17816         * math/libm-test.inc (atan2_test): Add another test.
17818         * manual/install.texi (Configuring and compiling): Document
17819         general use of test-wrapper and test-wrapper-env.
17820         * INSTALL: Regenerated.
17822         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17823         (__fma): Do not extract and scale down low bits on after-rounding
17824         systems when result rounded to normal precision would have normal
17825         exponent.
17826         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17827         (__fmal): Do not extract and scale down low bits on after-rounding
17828         systems when result rounded to normal precision would have normal
17829         exponent.
17830         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17831         (__fmal): Do not extract and scale down low bits on after-rounding
17832         systems when result rounded to normal precision would have normal
17833         exponent.
17834         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17835         macro.
17836         (fma_test): Add more tests.
17837         (fma_test_towardzero): Likewise.
17838         (fma_test_downward): Likewise.
17839         (fma_test_upward): Likewise.
17841 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17843         * sysdeps/i386/tininess.h: Renamed to ...
17844         * sysdeps/x86/tininess.h: This.
17845         * sysdeps/x86_64/tininess.h: Removed.
17847 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17849         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17850         input.  Use $(build-program-cmd).
17851         ($(objpfx)tst-array1-static.out): Likewise.
17852         ($(objpfx)tst-array2.out): Likewise.
17853         ($(objpfx)tst-array3.out): Likewise.
17854         ($(objpfx)tst-array4.out): Likewise.
17855         ($(objpfx)tst-array5.out): Likewise.
17856         ($(objpfx)tst-array5-static.out): Likewise.
17858 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17860         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17861         if defined.
17863         * nss/nsswitch.h (nss_interface_function): Provide new
17864         macro for use with NSS functions.
17865         * grp/initgroups.c: Use new macro.
17866         * nss/getXXbyYY.c: Likewise.
17867         * nss/getXXbyYY_r.c: Likewise.
17868         * nss/getXXent.c: Likewise.
17869         * nss/getXXent_r.c: Likewise.
17870         * sysdeps/posix/getaddrinfo.c: Likewise.
17872 2012-10-30  Andreas Jaeger  <aj@suse.de>
17874         * po/ru.po: Update Russion translation from translation project.
17876 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17878         [BZ #14152]
17879         [BZ #14783]
17880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17881         result and shift together with sticky bit instead of replicating
17882         round-to-nearest rounding.
17883         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17885         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17886         missing underflow exceptions.
17887         (fma_test_towardzero): Add more tests.
17888         (fma_test_downward): Likewise.
17889         (fma_test_upward): Likewise.
17891         [BZ #14047]
17892         * sysdeps/generic/tininess.h: New file.
17893         * sysdeps/i386/tininess.h: Likewise.
17894         * sysdeps/sh/tininess.h: Likewise.
17895         * sysdeps/x86_64/tininess.h: Likewise.
17896         * stdlib/tst-strtod-underflow.c: Likewise.
17897         * stdlib/tst-tininess.c: Likewise.
17898         * stdlib/strtod_l.c: Include <tininess.h>.
17899         (round_and_return): Do not set errno for exact underflow cases.
17900         Force an underflow exception when setting errno for underflow.
17901         Determine underflow based on rounding to normal precision if
17902         TININESS_AFTER_ROUNDING.
17903         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17904         ERANGE for exact underflow cases.
17905         * stdlib/Makefile (tests): Add tst-tininess and
17906         tst-strtod-underflow.
17907         ($(objpfx)tst-tininess): Use $(link-libm).
17908         ($(objpfx)tst-strtod-underflow): Likewise.
17910 2012-10-30  Andreas Jaeger  <aj@suse.de>
17912         [BZ#14767]
17913         * elf/Makefile (tests): Remove conditional for have-initfini-array
17914         since this is now always required and the variable does not exist
17915         anymore.
17916         (tests-static): Likewise.
17917         (modules-names): Likewise.
17919         * po/eo.po: Add Esperanto translation from translation project.
17921         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17922         merged with constructor/destructor.
17923         (init_array): Likewise.
17924         * elf/tst-array2dep.c (fini_array): Likewise.
17925         (init_array): Likewise.
17927 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17929         * manual/message.texi: Delete @cartouche tags.
17931 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17933         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17934         EOPNOTSUPP.
17935         * sysdeps/mach/hurd/fsync.c: Likewise.
17937         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17938         [_POSIX_REALTIME_SIGNALS]: Change condition to
17939         [_POSIX_REALTIME_SIGNALS > 0].
17941 2012-10-27  Andreas Jaeger  <aj@suse.de>
17943         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17944         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17946         [__WORDSIZE != 64]: Likewise.
17948 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17950         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17951         *  iconvdata/tst-tables.sh: Likewise.
17953 2012-10-25  David S. Miller  <davem@davemloft.net>
17955         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17956         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17957         of strtoull.
17959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17960         ifunc-impl-list.c
17961         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17962         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17963         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17964         file.
17966 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17968         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17969         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17970         __getdirentries.
17972 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17973             Jim Blandy  <jimb@codesourcery.com>
17975         * scripts/cross-test-ssh.sh: New file.
17976         * manual/install.texi (Configuring and compiling): Document use of
17977         cross-test-ssh.sh.
17978         * INSTALL: Regenerated.
17980 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17982         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17983         EOPNOTSUPP.
17985 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17987         * Makeconfig (run-program-prefix): Fix comment.
17989 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17990             Jim Blandy  <jimb@codesourcery.com>
17992         * Makeconfig (test-wrapper): New variable,
17993         (test-wrapper-env): Likewise.
17994         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17995         (run-built-tests): Define to yes.
17996         (run-program-prefix): Use $(test-wrapper).
17997         (built-program-cmd): Likewise.
17998         * Rules (make-test-out): Use $(test-wrapper-env) and
17999         $(host-built-program-cmd).
18000         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18001         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18002         tst-pathopt.sh.
18003         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18004         $(test-wrapper-env) to tst-rtld-load-self.sh.
18005         ($(objpfx)order2.out): Use $(test-wrapper).
18006         ($(objpfx)tst-initorder.out): Likewise.
18007         ($(objpfx)tst-initorder2.out): Likewise.
18008         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18009         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18010         (test_wrapper_env): New variable.  Use it to run ld.so.
18011         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18012         Use it to run ld.so.
18013         (test_wrapper_env): Likewise.
18014         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18015         $(test-wrapper) to run-iconv-test.sh.
18016         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18017         (ICONV): Use $test_wrapper.
18018         * posix/Makefile ($(objpfx)globtest.out): Pass
18019         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18020         globtest.sh, not $(run-program-prefix).
18021         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18022         (test_wrapper): Likewise.
18023         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18024         set together with run_via_rtld_prefix.
18025         (run_program_prefix): Define in terms of test_wrapper and
18026         run_via_rtld_prefix.
18028 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18030         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18031         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18032         Targets removed.
18034         [BZ #14743]
18035         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18036         Declare __clock_getres, __clock_gettime, __clock_settime,
18037         __clock_nanosleep, and __clock_getcpuclockid.
18038         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18039         Remove librt_hidden_def (clock_gettime).
18040         * sysdeps/unix/clock_gettime.c: Likewise.
18041         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18042         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18043         * rt/clock_getres.c: Define __clock_getres as an alias.
18044         * sysdeps/posix/clock_getres.c: Likewise.
18045         * rt/clock_settime.c: Define __clock_settime as an alias.
18046         * sysdeps/unix/clock_settime.c: Likewise.
18047         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18048         * sysdeps/unix/clock_nanosleep.c: Likewise.
18049         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18050         * rt/clock-compat.c: New file.
18051         * rt/Makefile (librt-routines): Add clock-compat and move
18052         $(clock-routines) to ...
18053         (routines): ... here, new variable.
18054         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18055         Don't add get_clockfreq here.
18056         * rt/Versions (libc: GLIBC_2.17): New version set.
18057         Add clock_* symbols here.
18058         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18059         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18060         (GLIBC_2.17): Add clock_* symbols.
18061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18063         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18065         Likewise.
18066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18067         Likewise.
18068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18072         * NEWS: Mention the move.
18074         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18075         Use __open, __read, __close rather than their public counterparts.
18076         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18077         (__get_clockfreq_via_cpuinfo): Likewise.
18078         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18079         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18081         * config.h.in (HAVE_IFUNC): New #undef.
18082         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18083         was successful.
18084         * configure: Regenerated.
18086 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18088         * configure.in: Move READELF check to start of file.
18089         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18090         libc_cv_asm_gnu_indirect_function in the process.
18091         * configure: Regenerated.
18093 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18095         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18096         send the output to /dev/null.
18097         (libc_cv_cc_with_libunwind): Likewise.
18098         (libc_cv_as_noexecstack): Likewise.
18099         * configure: Regenerate.
18101 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18103         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18105         * posix/globtest.sh (TMPDIR): Do not set.
18106         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18107         (testout): Likewise.
18109 2012-10-24  Andreas Jaeger  <aj@suse.de>
18111         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18112         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18113         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18114         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18115         posix_fadvise64, posix_fallocate64.
18117         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18118         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18119         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18120         Likewise.
18121         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18122         Likewise.
18123         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18125         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18126         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18127         <bits/fcntl-linux.h>.
18128         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18130         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18131         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18132         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18133         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18134         [__WORDSIZE != 64]: Likewise.
18136 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18138         * Makeconfig (run-built-tests): New variable.
18139         * Rules [$(cross-compiling) = yes]: Change condition to
18140         [$(run-built-tests) = no].
18141         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18142         to [$(run-built-tests) = yes].
18143         * elf/Makefile [$(cross-compiling) = no]: Likewise
18144         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18145         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18146         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18147         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18148         * io/Makefile [$(cross-compiling) = no]: Likewise.
18149         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18150         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18151         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18152         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18153         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18154         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18155         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18156         * string/Makefile [$(cross-compiling) = no]: Likewise.
18158         * posix/Makefile ($(objpfx)globtest.out): Pass
18159         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18160         $(rtld-installed-name).
18161         * posix/globtest.sh (elf_objpfx): Remove variable.
18162         (rtld_installed_name): Likewise.
18163         (library_path): Likewise.
18164         (run_program_prefix): New variable.  Use for running globtest
18165         binary.
18167 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18168             Joseph Myers  <joseph@codesourcery.com>
18170         * Makeconfig (host-built-program-cmd): New variable.
18171         * elf/Makefile (tst-stackguard1-ARGS): Use
18172         $(host-built-program-cmd).
18173         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18174         (tst-spawn-ARGS): Likewise.
18175         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18177 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18178             Jim Blandy  <jimb@codesourcery.com>
18180         * Makeconfig (run-via-rtld-prefix): New variable.
18181         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18182         (built-program-cmd): Likewise.
18184 2012-10-22  Andreas Jaeger  <aj@suse.de>
18186         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18187         __O_RSYNC if it exists, otherwise to O_SYNC.
18189 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18190             Joseph Myers  <joseph@codesourcery.com>
18192         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18193         /dev/null.
18194         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18195         from /dev/null
18196         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18197         /dev/null.
18199 2012-10-22  Andreas Jaeger  <aj@suse.de>
18201         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18202         Define always.
18203         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18206         bits/fcntl-linux.h.
18208         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18209         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18211         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18212         to __O_LARGEFILE.
18213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18214         to __O_LARGEFILE.
18216 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18217             Joseph Myers  <joseph@codesourcery.com>
18219         * config.make.in (NM): New variable.
18221 2012-10-21  Andreas Jaeger  <aj@suse.de>
18223         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18224         definitions and declarations that are provided by
18225         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18227 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18229         [BZ #14683]
18230         * elf/Makefile (tests-static): Add tst-leaks1-static.
18231         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18232         ($(objpfx)tst-leaks1-static): New rule.
18233         ($(objpfx)tst-leaks1-static-mem): Likewise.
18234         (tst-leaks1-static-ENV): New macro.
18235         * elf/dl-open.c (dl_open_worker): Check the main application
18236         only if SHARED is defined.
18237         * elf/tst-leaks1-static.c: New file.
18239 2012-10-20  Andreas Jaeger  <aj@suse.de>
18241         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18242         generic values for Linux.
18243         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18244         and declarations that are provided by <bits/fcntl-linux.h> and
18245         include <bits/fcntl-linux.h>.
18246         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18247         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18249 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18251         * io/fcntl.h: Move include of <bits/types.h> to the top and
18252         include it unconditionally.
18254 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18256         * wcsmbs/Makefile (tests-ifunc): New variable.
18257         (tests): Add $(tests-ifunc).
18258         * wcsmbs/test-wcschr-ifunc.c: New file.
18259         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18260         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18261         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18262         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18263         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18265         * string/Makefile (tests-ifunc): New variable.
18266         (tests): Add $(tests-ifunc).
18267         * string/test-memccpy.c (TEST_NAME): New macro.
18268         * string/test-memchr.c (TEST_NAME): Likewise.
18269         * string/test-memcmp.c (TEST_NAME): Likewise.
18270         * string/test-memcpy.c (TEST_NAME): Likewise.
18271         * string/test-memmem.c (TEST_NAME): Likewise.
18272         * string/test-memmove.c (TEST_NAME): Likewise.
18273         * string/test-memset.c (TEST_NAME): Likewise.
18274         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18275         * string/test-stpcpy.c (TEST_NAME): Likewise.
18276         * string/test-stpncpy.c (TEST_NAME): Likewise.
18277         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18278         * string/test-strcasestr.c (TEST_NAME): Likewise.
18279         * string/test-strcat.c (TEST_NAME): Likewise.
18280         * string/test-strchr.c (TEST_NAME): Likewise.
18281         * string/test-strcmp.c(TEST_NAME): Likewise.
18282         * string/test-strcpy.c (TEST_NAME): Likewise.
18283         * string/test-strcspn.c (TEST_NAME): Likewise.
18284         * string/test-strlen.c (TEST_NAME): Likewise.
18285         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18286         * string/test-strncmp.c (TEST_NAME): Likewise.
18287         * string/test-strncpy.c (TEST_NAME): Likewise.
18288         * string/test-strnlen.c (TEST_NAME): Likewise.
18289         * string/test-strpbrk.c (TEST_NAME): Likewise.
18290         * string/test-strrchr.c (TEST_NAME): Likewise.
18291         * string/test-strspn.c (TEST_NAME): Likewise.
18292         * string/test-strstr.c (TEST_NAME): Likewise.
18293         * string/test-bcopy-ifunc.c: New file.
18294         * string/test-bzero-ifunc.c: Likewise.
18295         * string/test-memccpy-ifunc.c: Likewise.
18296         * string/test-memchr-ifunc.c: Likewise.
18297         * string/test-memcmp-ifunc.c: Likewise.
18298         * string/test-memcpy-ifunc.c: Likewise.
18299         * string/test-memmem-ifunc.c: Likewise.
18300         * string/test-memmove-ifunc.c: Likewise.
18301         * string/test-mempcpy-ifunc.c: Likewise.
18302         * string/test-memset-ifunc.c: Likewise.
18303         * string/test-rawmemchr-ifunc.c: Likewise.
18304         * string/test-stpcpy-ifunc.c: Likewise.
18305         * string/test-stpncpy-ifunc.c: Likewise.
18306         * string/test-strcasecmp-ifunc.c: Likewise.
18307         * string/test-strcasestr-ifunc.c: Likewise.
18308         * string/test-strcat-ifunc.c: Likewise.
18309         * string/test-strchr-ifunc.c: Likewise.
18310         * string/test-strchrnul-ifunc.c: Likewise.
18311         * string/test-strcmp-ifunc.c: Likewise.
18312         * string/test-strcpy-ifunc.c: Likewise.
18313         * string/test-strcspn-ifunc.c: Likewise.
18314         * string/test-strlen-ifunc.c: Likewise.
18315         * string/test-strncasecmp-ifunc.c: Likewise.
18316         * string/test-strncat-ifunc.c: Likewise.
18317         * string/test-strncmp-ifunc.c: Likewise.
18318         * string/test-strncpy-ifunc.c: Likewise.
18319         * string/test-strnlen-ifunc.c: Likewise.
18320         * string/test-strpbrk-ifunc.c: Likewise.
18321         * string/test-strrchr-ifunc.c: Likewise.
18322         * string/test-strspn-ifunc.c: Likewise.
18323         * string/test-strstr-ifunc.c: Likewise.
18325         * debug/Makefile (tests-ifunc): New variable.
18326         (tests): Add $(tests-ifunc).
18327         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18328         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18329         * debug/test-stpcpy_chk-ifunc.c: New file.
18330         * debug/test-strcpy_chk-ifunc.c: Likewise.
18332 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18334         [BZ #13601]
18335         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18336         header is not read in.
18338 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18340         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18341         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18342         directly.  Pass built executable to script as
18343         $(built-program-cmd).
18344         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18345         $testprogram without using LD_LIBRARY_PATH and $ldso.
18347         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18348         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18349         $(rtld-installed-name).
18350         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18351         (rtld_installed_name): Likewise.
18352         (library_path): Likewise.
18353         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18354         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18355         $(run-program-prefix) to tst-tables.sh.
18356         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18357         it to run tst-table-from and tst-table-to.
18358         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18359         Pass it to tst-table.sh.
18360         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18361         $(run-program-prefix) to tst-gettext.sh.
18362         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18363         tst-translit.sh.
18364         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18365         tst-gettext2.sh.
18366         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18367         to run tst-gettext.
18368         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18369         to run tst-gettext2.
18370         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18371         to run tst-translit.
18372         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18373         $(run-program-prefix) to tst-mtrace.sh.
18374         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18375         to run tst-mtrace.
18376         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18377         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18378         $(rtld-installed-name).
18379         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18380         (rtld_installed_name): Likewise.
18381         (run_program_prefix): New variable.  Use it to run wordexp-test.
18383         * Makeconfig (ARCH): Remove all definitions.
18384         (machine): Likewise.
18385         [ARCH]: Remove conditional code.
18386         [!objdir]: Give error.
18387         [!objdir] (objpfx): Remove.
18388         [!objdir] (common-objpfx): Likewise.
18389         [!objdir] (common-objdir): Likewise.
18390         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18391         AC_CONFIG_FILES call.
18392         * configure: Regenerated.
18394         [BZ #13888]
18395         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18396         or TMPDIR.
18397         (testout): Likewise.
18399         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18400         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18401         $(rtld-installed-name).
18402         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18403         (rtld_installed_name): Likwise.
18404         (runit): Remove function.
18405         (run_getconf): New variable,  Use it for running getconf binary.
18407 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18409         [BZ #14716]
18410         * string/test-memmem.c (check_result): New function.
18411         (do_one_test): Use it.
18412         (check1): New function.
18413         (test_main): Use it.
18415 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18417         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18419 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18421         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18422         (_G_LSEEK64): Likewise.
18423         (_G_MMAP64): Likewise.
18424         (_G_FSTAT64): Likewise.
18425         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18426         (_G_LSEEK64): Likewise.
18427         (_G_MMAP64): Likewise.
18428         (_G_FSTAT64): Likewise.
18429         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18430         unconditional.  Call __mmap64 directly.
18431         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18432         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18433         __lseek64 directly.
18434         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18435         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18436         __mmap64 directly.
18437         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18438         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18439         __lseek64 directly.
18440         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18441         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18442         __lseek64 directly.
18443         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18444         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18445         __lseek64 directly.
18446         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18447         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18448         __fxstat64 directly.
18449         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18450         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18451         unconditional.
18452         (freopen64) [!_G_OPEN64]: Remove conditional code.
18453         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18454         unconditional.
18455         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18456         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18457         unconditional.
18458         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18459         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18460         unconditional.
18461         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18462         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18463         unconditional.
18464         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18465         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18466         unconditional.
18467         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18468         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18469         unconditional.
18470         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18471         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18472         unconditional.
18473         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18475 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18477         [BZ #12140]
18478         * manual/memory.texi (Malloc Tunable Parameters): Add note
18479         about free list pointers overwriting some perturb bytes.
18480         Wording suggested by Roland McGrath.
18482 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18484         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18485         (lgamma_test): Likewise.
18486         (tgamma_test): Likewise.
18488 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18490         [BZ #14700]
18491         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18492         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18494 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18496         * NEWS: Mention BZ #14716.
18497         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18498         when removing AVAILABLE1_USES_J macro.
18500 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18502         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18503         (__bswap_64): __uint64_t for unsigned 64-bit int.
18505 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18507         * include/string.h (memmem): Declare libc hidden alias.
18508         * string/memmem.c (memmem): Define libc hidden alias.
18509         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18510         __read, __close instead of open, read, close.
18512 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18515         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18516         global and hidden.
18517         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18518         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18519         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18520         Likewise.
18521         (__rawmemchr_sse2): Likewise.
18522         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18523         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18524         (__strchr_sse2): Likewise.
18525         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18526         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18527         (__strcasecmp_sse2): Likewise.
18528         (__strncasecmp_sse2): Likewise.
18529         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18530         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18531         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18532         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18533         (__strrchr_sse2): Likewise.
18534         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18535         ifunc-impl-list.c.
18536         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18537         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18538         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18539         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18540         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18541         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18542         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18543         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18544         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18545         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18546         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18547         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18548         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18549         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18550         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18551         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18552         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18553         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18554         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18555         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18556         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18557         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18558         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18559         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18560         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18561         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18562         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18563         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18564         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18565         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18567         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18568         global and hidden.
18569         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18570         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18571         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18572         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18573         Likewise.
18574         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18575         Likewise.
18576         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18577         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18578         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18579         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18580         ifunc-impl-list.c.
18581         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18582         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18583         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18584         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18585         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18586         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18587         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18588         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18589         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18590         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18591         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18592         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18593         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18594         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18595         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18596         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18597         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18598         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18599         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18600         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18601         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18602         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18603         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18604         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18605         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18606         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18607         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18608         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18609         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18610         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18611         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18612         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18613         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18614         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18615         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18616         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18617         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18618         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18619         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18620         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18621         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18623         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18624         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18625         * include/ifunc-impl-list.h: New file.
18626         * misc/ifunc-impl-list.c: Likewise.
18627         * misc/Makefile (routines): Add ifunc-impl-list.
18628         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18629         * string/test-string.h: Include <ifunc-impl-list.h>.
18630         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18631         impl_array): New variables.
18632         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18633         are defined.
18634         (test_init): Call __libc_ifunc_impl_list to initialize
18635         func_list if TEST_IFUNC and TEST_NAME are defined.
18637         * string/Makefile (strop-tests): Add bcopy and bzero.
18638         * string/test-bcopy.c: New file.
18639         * string/test-bzero.c: Likewise.
18640         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18641         defined.
18642         * string/test-memset.c: Support bzero test if TEST_BZERO is
18643         defined.
18644         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18645         __libc_memmove.
18646         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18647         __libc_memset.
18648         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18649         of memset.
18651 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18653         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18654         * configure: Regenerated.
18656         * Makeconfig (+link-static-before-libc): Don't include
18657         $(link-static-libc).
18659         * libio/libio.h (_IO_pos_t): Remove.
18661 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18663         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18664         McGrath.
18666 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18668         * crypt/crypt-entry.c: Include fips-private.h.
18669         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18670         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18671         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18672         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18674 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18676         * crypt/crypt-private.h: Include stdbool.h.
18677         (_ufc_setup_salt_r): Return bool.
18678         * crypt/crypt-entry.c: Include errno.h.
18679         (__crypt_r): Return NULL with EINVAL for bad salt.
18680         * crypt/crypt_util.c (bad_for_salt): New.
18681         (_ufc_setup_salt_r): Check that salt is long enough and within
18682         the specified alphabet.
18683         * crypt/badsalttest.c: New file.
18684         * crypt/Makefile (tests): Add it.
18685         ($(objpfx)badsalttest): New.
18687 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18689         * NEWS: Add entry for BZ #14602.
18691 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18693         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18694         type-generic.
18695         * math/libm-test.inc: Update comment listing what functions and
18696         macros are tested.
18697         (isgreater_test): New function.
18698         (isgreaterequal_test): Likewise.
18699         (isless_test): Likewise.
18700         (islessequal_test): Likewise.
18701         (islessgreater_test): Likewise.
18702         (isunordered_test): Likewise.
18703         (main): Call the new functions.
18705 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18707         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18708         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18709         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18710         * sysdeps/i386/configure: Regenerated.
18711         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18712         * sysdeps/mach/configure: Regenerated.
18713         * sysdeps/mach/hurd/configure: Regenerated.
18714         * sysdeps/powerpc/configure: Regenerated.
18715         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18716         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18717         * sysdeps/s390/s390-32/configure: Regenerated.
18718         * sysdeps/s390/s390-64/configure: Regenerated.
18719         * sysdeps/sh/configure: Regenerated.
18720         * sysdeps/sparc/configure: Regenerated.
18721         * sysdeps/unix/sysv/linux/configure: Regenerated.
18722         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18723         * sysdeps/x86_64/configure: Regenerated.
18725         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18726         defined.  Don't check if MAP is NULL.
18728 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18730         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18731         (_G_stat64): Likewise.
18732         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18733         (_G_stat64): Likewise.
18734         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18735         instead of struct _G_stat64.
18736         * libio/fileops.c (mmap_remap_check): Likewise.
18737         (decide_maybe_mmap): Likewise.
18738         (_IO_new_file_seekoff): Likewise.
18739         (_IO_file_stat): Likewise.
18740         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18741         _G_off64_t.
18742         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18743         instead of struct _G_stat64.
18744         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18746 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18748         [BZ #14602]
18749         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18750         Replace with ...
18751         (CHECK_EOL): New macro.
18752         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18753         CHECK_EOL.
18754         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18755         Replace with CHECK_EOL.
18756         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18757         Replace with CHECK_EOL.
18759 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18761         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18762         type-generic.
18763         * math/libm-test.inc: Update comment listing what functions and
18764         macros are tested.
18765         (finite_test): New function.
18766         (isinf_test): Likewise.
18767         (isnan_test): Likewise.
18768         (fpclassify_test): Test subnormal input.
18769         (isfinite_test): Likewise.
18770         (isnormal_test): Likewise.
18771         (main): Call the new functions.
18773 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18775         [BZ #14660]
18776         * Makerules (%.dynsym): Force C locale when running
18777         $(OBJDUMP) --dynamic-syms.
18779 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18781         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18782         <stdint.h>.
18784 2012-10-06  David S. Miller  <davem@davemloft.net>
18786         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18787         upper 32-bits of the length value in %o2 since we use branch-on-register
18788         tests which consider the entire 64-bit register.
18790 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18792         * string/test-strstr.c (check2): Add a test for page boundary.
18794 2012-10-05  David S. Miller  <davem@davemloft.net>
18796         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18797         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18798         file.
18799         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18800         sysdep_routines.
18801         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18802         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18803         and bzero when HWCAP_SPARC_CRYPTO is present.
18805 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18807         [BZ #14602]
18808         * string/test-strstr.c (check2): New function.
18809         (test_main): Call check2.
18811         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18812         and bug-strchr1.
18813         * string/bug-strcasestr1.c (do_test): Moved to ...
18814         * string/test-strcasestr.c (check1): Here.  New function.
18815         (do_one_test): Break out result checking code into ...
18816         (check_result): This.  New function.
18817         (do_one_test): Call check_result.
18818         (test_main): Call check1.
18819         * string/bug-strchr1.c (do_test): Moved to ...
18820         * string/test-strchr.c (check1): Here.  New function.
18821         (do_one_test): Break out result checking code into ...
18822         (check_result): This.  New function.
18823         (do_one_test): Call check_result.
18824         (test_main): Call check1.
18825         * string/bug-strstr1.c (main): Moved to ...
18826         * string/test-strstr.c (check1): Here.  New function.
18827         (do_one_test): Break out result checking code into ...
18828         (check_result): This.  New function.
18829         (do_one_test): Call check_result.
18830         (test_main): Call check1.
18831         * string/bug-strcasestr1.c: Removed.
18832         * string/bug-strchr1.c: Likewise.
18833         * string/bug-strstr1.c: Likewise.
18835         * elf/Makefile (dl-routines): Add hwcaps.
18836         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18837         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18838         (_dl_important_hwcaps): Moved to ...
18839         * elf/dl-hwcaps.c: Here.  New file.
18840         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18842         [BZ #14557]
18843         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18844         if IS_IN_rtld isn't defined.
18846         * elf/dl-support.c (_dl_sysinfo_map): New.
18847         Include "get-dynamic-info.h" and "setup-vdso.h".
18848         (_dl_non_dynamic_init): Call setup_vdso.
18849         * elf/dynamic-link.h: Don't include <assert.h>.
18850         (elf_get_dynamic_info): Moved to ...
18851         * elf/get-dynamic-info.h: Here.  New file.
18852         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18853         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18854         * elf/setup-vdso.h: Here.  New file.
18855         * elf/rtld.c: Include "setup-vdso.h".
18856         (dl_main): Call setup_vdso.
18858 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18860         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18861         creal in comment listing functions tested.  List finite, isinf,
18862         isnan, isless, islessequal, isgreater, isgreaterequal,
18863         islessgreater, isunordered, lgamma_r and pow10 as functions and
18864         macros not tested.  Mention which functions not tested are aliases
18865         for other functions.  Fix typo.  Note that signs of NaNs are not
18866         tested.
18868         * scripts/config.guess: Update from config.git.
18869         * scripts/config.sub: Likewise.
18871 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18873         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18874         * misc/madvise.c (madvise): Renamed to __madvise.
18875         Make madvise a weak alias.
18876         * include/sys/mman.h: Declare __madvise.
18877         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18878         * sysdeps/unix/syscalls.list
18879         (madvise): Make __madvise the strong name, and madvise a weak alias.
18880         * sysdeps/unix/sysv/linux/syscalls.list
18881         (madvise, mmap): Remove redundant entries.
18882         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18883         * malloc/malloc.c (mtrim): Likewise.
18884         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18886 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18888         * sysdeps/mach/hurd/dl-cache.c: File removed.
18889         * config.h.in (USE_LDCONFIG): New #undef.
18890         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18891         * configure: Regenerated.
18892         * elf/Makefile (dl-routines): Add dl-cache only under
18893         [$(use-ldconfig) = yes].
18894         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18895         cache on [USE_LDCONFIG].
18896         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18897         [USE_LDCONFIG].
18898         * elf/rtld.c (dl_main): Likewise.
18900 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18902         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18903         _SC_LEVEL4_CACHE_LINESIZE.
18905 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18907         * sysdeps/unix/bsd/confstr.h: File removed.
18909 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18911         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18912         sys/sdt-config.h.
18914 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18916         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18917         Make 'mapoff' field ElfW(Off) rather than off_t.
18919 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18921         * nscd/Makefile: Remove nscd-cflags and all its users.
18922         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18923         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18925         [BZ #10631]
18926         * malloc.c (malloc_printerr): Clarify error message.
18928 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18930         [BZ #14648]
18931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18932         Set bit_FMA_Usable if FMA is supported.
18933         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18934         macro.
18935         (bit_FMA4_Usable): Updated.
18936         (index_FMA_Usable): New macro.
18937         (CPUID_FMA): Likewise
18938         (HAS_FMA): Defined with bit_FMA_Usable.
18940 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18942         * bits/types.h (__swblk_t): Type removed.
18943         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18944         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18945         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18946         (__SWBLK_T_TYPE): Likewise.
18947         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18948         (__SWBLK_T_TYPE): Likewise.
18949         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18950         (__SWBLK_T_TYPE): Likewise.
18951         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18952         (__SWBLK_T_TYPE): Likewise.
18954 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18955             Honza Horak <hhorak@redhat.com>
18957         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18958         (xdr_mapname): Use YPMAXMAP as maxsize.
18959         (xdr_peername): Use YPMAXPEER as maxsize.
18960         (xdr_keydat): Use YPAXRECORD as maxsize.
18961         (xdr_valdat): Use YPMAXRECORD as maxsize.
18963 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18965         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18967         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18968         * csu/init-first.c: ... here.
18969         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18970         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18971         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18972         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18973         * sysdeps/i386/init-first.c: File removed.
18974         * sysdeps/sh/init-first.c: File removed.
18976 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18978         [BZ #14645]
18979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18980         if x * y might underflow to zero and z is zero.
18981         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18982         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18983         * math/libm-test.inc (min_subnorm_value): New variable.
18984         (fma_test): Add more tests.
18985         (fma_test_towardzero): Likewise.
18986         (fma_test_downward): Likewise
18987         (fma_test_upward): Likewise.
18988         (initialize): Set min_subnorm_value.
18990 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18992         [BZ #14638]
18993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18994         0 + 0.
18995         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18996         mode for addition resulting in exact zero.
18997         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18998         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18999         exact 0 + 0.
19000         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19001         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19002         * math/libm-test.inc (fma_test): Add more tests.
19003         (fma_test_towardzero): New function.
19004         (fma_test_downward): Likewise.
19005         (fma_test_upward): Likewise.
19006         (main): Call the new functions.
19008 2012-09-28  David S. Miller  <davem@davemloft.net>
19010         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19012 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19014         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19015         instead of SIGALRM.
19017         * sysdeps/gnu/_G_config.h: Moved to ...
19018         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19019         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19020         * sysdeps/generic/_G_config.h: ... here.
19022         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19024         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19026         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19027         Conditionalize target on [libnss_test1.so-version].
19029         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19031         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19032         (elfobjdir): Move out of conditionals.
19034         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19035         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19036         (__nss_lookup_function): Conditionalize label remove_from_tree on
19037         [!DO_STATIC_NSS || SHARED], matching its only use.
19039 2012-09-28  David S. Miller  <davem@davemloft.net>
19041         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19042         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19043         file.
19044         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19045         sysdep_routines.
19046         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19047         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19048         when HWCAP_SPARC_CRYPTO is present.
19050 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19052         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19054 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19056         [BZ #6530]
19057         * stdio-common/vfprintf.c (process_string_arg): Revert
19058         2000-07-22 change.
19060 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19062         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19063         for testcase.
19064         * stdio-common/tst-sprintf.c: Include <locale.h>
19065         (main): Test sprintf's handling of incomplete multibyte
19066         characters.
19068 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19070         * elf/dl-runtime.c (VERSYMIDX): Removed.
19071         * elf/dl-version.c (VERSYMIDX): Likewise.
19072         * elf/do-rel.h (VERSYMIDX): Likewise.
19073         (VALIDX): Likewise.
19074         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19075         * elf/rtld.c (VALIDX): Likewise.
19076         (ADDRIDX): Likewise.
19077         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19078         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19079         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19080         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19081         (VALIDX): Likewise.
19082         (ADDRIDX): Likewise.
19084 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19086         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19088 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19090         [BZ #11438]
19091         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19092         to global scope.
19093         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19094         addresses are in the same scope as 192.0.2/24.
19095         * posix/gai.conf: Document new scope table defaults.
19097 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19099         [BZ #5298]
19100         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19101         for ftell.  Compute offsets from write pointers instead.
19102         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19104 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19106         [BZ #14543]
19107         * libio/Makefile (tests): New test case tst-fseek.
19108         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19109         combination works in wide mode.
19110         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19111         state when the external buffer state changes.
19113 2012-09-27  David S. Miller  <davem@davemloft.net>
19115         [BZ #14376]
19116         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19117         pass reloc->r_addend in as the 'high' argument to
19118         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19122 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19124         * rt/tst-aio2.c: Include <pthread.h>.
19125         * rt/tst-aio3.c: Likewise.
19127 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19129         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19131 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19133         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19134         contents on [SHARED].
19136 2012-09-26  Marek Polacek  <polacek@redhat.com>
19138         [BZ #14530]
19139         [BZ #13741]
19140         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19141         for C++ and GCC <4.3 as well as for non GCC compilers.
19143 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19147 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19149         * Makefile.in (all, install): Declare with .PHONY.
19150         Reported by Michael Hope <michael.hope@linaro.org>.
19152 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19154         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19155         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19156         system header.
19157         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19158         Likewise.
19159         (sydep_routines): Add the new and the internal functions.
19160         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19161         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19163         (GLIBC_2.17): Add the new function.
19164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19165         (GLIBC_2.17): Likewise.
19166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19167         (GLIBC_2.17): Likewise.
19168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19169         (GLIBC_2.17): Likewise.
19170         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19172 2012-09-25  Alan Modra  <amodra@gmail.com>
19174         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19175         Add release barrier before setting once_control to say
19176         initialisation is done.  Add hints on lwarx.  Use macro in
19177         place of isync.
19178         (clear_once_control): Add release barrier.
19180 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19182         [BZ #13629]
19183         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19184         specially.
19185         * math/s_clog10.c (__clog10): Likewise.
19186         * math/s_clog10f.c (__clog10f): Likewise.
19187         * math/s_clog10l.c (__clog10l): Likewise.
19188         * math/s_clogf.c (__clogf): Likewise.
19189         * math/s_clogl.c (__clogl): Likewise.
19190         * math/Makefile (libm-calls): Add x2y2m1.
19191         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19192         (__x2y2m1): Likewise.
19193         (__x2y2m1l): Likewise.
19194         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19195         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19196         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19197         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19198         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19199         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19200         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19201         * sysdeps/i386/fpu/libm-test-ulps: Update.
19202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19204         [BZ #14621]
19205         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19206         int as type of variable DEPTH.
19207         (glob): Use size_t instead of int as type of variables NEWCOUNT
19208         and OLD_PATHC.
19210 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19212         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19213         Add s_sincosf-sse2.
19214         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19215         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19216         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19217         macros for using routine as __sincosf_ia32.
19218         Use macro for function declaration and weak_alias.
19219         * sysdeps/i386/fpu/libm-test-ulps: Update.
19221         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19224         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19225         subnormal argument.
19226         * math/s_cexpf.c (__cexpf): Likewise.
19227         * math/s_csinf.c (__csinf): Likewise.
19228         * math/s_csinhf.c (__csinhf): Likewise.
19229         * math/s_ctanf.c (__ctanf): Likewise.
19230         * math/s_ctanhf.c (__ctanhf): Likewise.
19231         * math/s_ccosh.c (__ccoshf): Likewise.
19232         * math/s_cexp.c (__cexpl): Likewise.
19233         * math/s_csin.c (__csin): Likewise.
19234         * math/s_csinh.c (__csinh): Likewise.
19235         * math/s_ctan.c (__ctan): Likewise.
19236         * math/s_ctanh.c (ctanh): Likewise.
19237         * math/s_ccoshl.c (__ccoshl): Likewise.
19238         * math/s_cexpl.c (__cexpl): Likewise.
19239         * math/s_csinl.c (__csinl): Likewise.
19240         * math/s_csinhl.c (__csinhl): Likewise.
19241         * math/s_ctanl.c (__ctanl): Likewise.
19242         * math/s_ctanhl.c (__ctanhl): Likewise.
19244 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19246         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19247         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19248         (_IO_off_t): Define to __off_t, not _G_off_t.
19249         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19250         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19251         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19252         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19253         type of __dummy and __dummy2 fields.
19254         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19255         (_G_ssize_t): Likewise.
19256         (_G_off_t): Likewise.
19257         (_G_pid_t): Likewise.
19258         (_G_uid_t): Likewise.
19259         (_G_wchar_t): Likewise.
19260         (_G_wint_t): Likewise.
19261         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19262         (_G_ssize_t): Likewise.
19263         (_G_off_t): Likewise.
19264         (_G_pid_t): Likewise.
19265         (_G_uid_t): Likewise.
19266         (_G_wchar_t): Likewise.
19267         (_G_wint_t): Likewise.
19268         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19269         (_G_ssize_t): Likewise.
19270         (_G_off_t): Likewise.
19271         (_G_pid_t): Likewise.
19272         (_G_uid_t): Likewise.
19273         (_G_wchar_t): Likewise.
19274         (_G_wint_t): Likewise.
19276 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19278         * malloc/arena.c: Include malloc-sysdep.h.
19279         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19280         is sufficient to shrink the heap or an unmap is needed.
19281         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19282         new function check_may_shrink_heap.
19283         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19284         new function check_may_shrink_heap.
19286 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19288         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19289         comments.
19291 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19293         * catgets/test-gencat.sh: Add "set -e".
19294         * elf/tst-pathopt.sh: Likewise.
19295         * grp/tst_fgetgrent.sh: Likewise.
19296         * iconvdata/run-iconv-test.sh: Likewise.
19297         * intl/tst-gettext.sh: Likewise.
19298         * intl/tst-gettext2.sh: Likewise.
19299         * intl/tst-gettext4.sh: Likewise.
19300         * intl/tst-gettext6.sh: Likewise.
19301         * intl/tst-translit.sh: Likewise.
19302         * io/ftwtest-sh: Likewise.
19303         * libio/test-freopen.sh: Likewise.
19304         * malloc/tst-mtrace.sh: Likewise.
19305         * posix/globtest.sh: Likewise.
19306         * posix/tst-getconf.sh: Likewise.
19307         * posix/wordexp-tst.sh: Likewise.
19308         * stdio-common/tst-printf.sh: Likewise.
19309         * stdio-common/tst-unbputc.sh: Likewise.
19310         * stdlib/tst-fmtmsg.sh: Likewise.
19311         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19312         * catgets/Makefile: Do not specify -e option when running
19313         testsuite shell scripts.
19314         * elf/Makefile: Likewise.
19315         * grp/Makefile: Likewise.
19316         * iconvdata/Makefile: Likewise.
19317         * intl/Makefile: Likewise.
19318         * io/Makefile: Likewise.
19319         * libio/Makefile: Likewise.
19320         * malloc/Makefile: Likewise.
19321         * posix/Makefile: Likewise.
19322         * stdio-common/Makefile: Likewise.
19323         * stdlib/Makefile: Likewise.
19324         * sysdeps/x86_64/Makefile: Likewise.
19326         * io/ftwtest-sh: Add copyright header.
19327         * posix/globtest.sh: Likewise.
19328         * posix/tst-getconf.sh: Likewise.
19329         * posix/wordexp-tst.sh: Likewise.
19330         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19332 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19334         [BZ #13679]
19335         * Makeconfig (+link): Defined as $(+link-static) if
19336         $(build-shared) isn't yes.
19337         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19338         isn't yes.
19339         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19341         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19343         [BZ #14562]
19344         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19345         new chunk size with MALLOC_ALIGN_MASK.
19347 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19349         [BZ #5044]
19350         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19351         <rounding-mode.h>.
19352         (__printf_fphex): Determine rounding using get_rounding_mode and
19353         round_away.
19354         * stdio-common/tst-printf-round.c (struct hex_test): New
19355         structure.
19356         (hex_tests): New variable.
19357         (test_hex_in_one_mode): New function.
19358         (do_test): Also run tests for hex float output.
19360 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19362         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19363         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19364         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19365         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19366         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19367         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19368         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19369         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19371 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19373         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19374         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19375         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19376         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19378 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19380         [BZ #14579]
19381         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19382         mode only.
19383         * elf/tst-rtld-load-self.sh: New test.
19384         * elf/Makefile: Run it.
19386 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19388         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19389         (tst-writev-ENV): Remove.
19390         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19392 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19394         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19396 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19398         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19399         unconditional.
19400         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19401         Likewise.
19402         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19403         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19404         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19405         Likewise.
19407 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19409         [BZ #14587]
19410         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19411         * config.make.in (have-cpp-asm-debuginfo): Removed.
19412         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19413         * configure: Regenerated.
19415 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19417         [BZ #5044]
19418         * stdio-common/printf_fp.c: Include <stdbool.h> and
19419         <rounding-mode.h>.
19420         (___printf_fp): Determine rounding using get_rounding_mode and
19421         round_away.
19422         * stdio-common/tst-printf-round.c: New file.
19423         * stdio-common/Makefile (tests): Add tst-printf-round.
19424         (link-libm): New variable.
19425         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19427 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19429         [BZ #14576]
19430         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19431         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19432         Likewise.
19433         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19434         Likewise.
19436 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19438         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19439         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19440         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19441         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19443 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19445         [BZ #14518]
19446         * include/rounding-mode.h: New file.
19447         * sysdeps/generic/get-rounding-mode.h: Likewise.
19448         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19449         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19450         (MAX_VALUE): New macro.
19451         (MIN_VALUE): Likewise.
19452         (overflow_value): New function.
19453         (underflow_value): Likewise.
19454         (round_and_return): Use overflow_value and underflow_value to
19455         determine return values in overflow and underflow cases.  Use
19456         round_away to determine rounding depending on rounding mode.
19457         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19458         determine return values in overflow and underflow cases.
19459         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19460         (struct test_results): New structure.
19461         (struct test): Use struct test_results to store expected results
19462         for all rounding modes.
19463         (TEST): Include expected results for all rounding modes.
19464         (test_in_one_mode): New function.
19465         (do_test): Use test_in_one_mode to compute and check results.
19466         Check results for all rounding modes.
19467         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19468         $(link-libm).
19470 2012-12-09  Allan McRae  <allan@archlinux.org>
19472         * sysdeps/i386/fpu/libm-test-ulps: Update
19474 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19476         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19477         (_G_int32_t): Likewise.
19478         (_G_uint16_t): Likewise.
19479         (_G_uint32_t): Likewise.
19480         (_G_HAVE_BOOL): Likewise.
19481         (_G_HAVE_ATEXIT): Likewise.
19482         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19483         (_G_HAVE_IO_FILE_OPEN): Likewise.
19484         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19485         (_G_int32_t): Likewise.
19486         (_G_uint16_t): Likewise.
19487         (_G_uint32_t): Likewise.
19488         (_G_HAVE_BOOL): Likewise.
19489         (_G_HAVE_ATEXIT): Likewise.
19490         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19491         (_G_HAVE_IO_FILE_OPEN): Likewise.
19492         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19493         (_G_int32_t): Likewise.
19494         (_G_uint16_t): Likewise.
19495         (_G_uint32_t): Likewise.
19496         (_G_HAVE_BOOL): Likewise.
19497         (_G_HAVE_ATEXIT): Likewise.
19498         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19499         (_G_HAVE_IO_FILE_OPEN): Likewise.
19501 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19503         * csu/libc-tls.c: Update copyright years.
19505 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19507         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19508         [!_G_USING_THUNKS]: Remove conditional code.
19509         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19510         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19512         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19513         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19514         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19515         (_G_VTABLE_LABEL_PREFIX): Likewise.
19516         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19517         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19518         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19519         (_G_VTABLE_LABEL_PREFIX): Likewise.
19520         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19521         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19522         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19523         (_G_VTABLE_LABEL_PREFIX): Likewise.
19524         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19526 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19528         * libio/Makefile: Include ../Makeconfig before tests.
19529         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19530         only if $(build-shared) is yes.
19532         * iconv/gconv_db.c: Update copyright years.
19534 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19536         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19537         unwind info if defined PIC. Fix special cases description.
19538         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19540         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19541         DP_HI_MASK entry.
19542         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19544 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19546         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19548         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19549         is NULL.
19551         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19552         (LDLIBS-tst-chk4): This.
19553         (LDFLAGS-tst-chk5): Renamed to ...
19554         (LDLIBS-tst-chk5): This.
19555         (LDFLAGS-tst-chk6): Renamed to ...
19556         (LDLIBS-tst-chk6): This.
19557         (LDFLAGS-tst-lfschk4): Renamed to ...
19558         (LDLIBS-tst-lfschk4): This.
19559         (LDFLAGS-tst-lfschk5): Renamed to ...
19560         (LDLIBS-tst-lfschk5): This.
19561         (LDFLAGS-tst-lfschk6): Renamed to ...
19562         (LDLIBS-tst-lfschk6): This.
19564         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19565         on $(common-objpfx)soversions.mk.
19567 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19569         [BZ #10014]
19570         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19571         example host name.
19573 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19575         * malloc/arena.c (arena_get_retry): New function that gets
19576         another arena for the caller to try its request on.
19577         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19578         current arena cannot fulfill the request.
19579         (__libc_memalign): Likewise.
19580         (__libc_memalign): Likewise.
19581         (__libc_pvalloc): Likewise.
19582         (__libc_calloc): Likewise.
19584 2012-09-05  John Tobey  <john.tobey@gmail.com>
19586         [BZ #13542]
19587         * manual/arith.texi (Operations on Complex): Fix description
19588         of carg branch cut.
19590 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19592         [BZ #10014]
19593         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19594         host name.
19596         [BZ #10038]
19597         * manual/memory.texi (Memory): Make order of menu items match
19598         order of sections.
19600 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19602         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19603         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19604         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19606 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19608         * csu/libc-tls.c (static_dtv): Renamed to ...
19609         (_dl_static_dtv): This.  Make it global.
19610         (_dl_initial_dtv): Removed.
19611         (__libc_setup_tls): Updated.
19612         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19613         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19614         DL_INITIAL_DTV.
19616 2012-09-06  Petr Machata  <pmachata@redhat.com>
19618         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19619         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19620         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19621         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19623 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19625         [BZ #14545]
19626         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19627         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19628         freeing dtv[-1].
19630 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19632         [BZ #14544]
19633         * Makeconfig (link-static-before-libc): Replace $(+prector)
19634         with $(+prectorT).
19635         (link-static-after-libc): Replace $(+postctor) with
19636         $(+postctorT).
19637         (link-bounded): Replace $(+prector)/$(+postctor) with
19638         $(+prectorT)/$(+postctorT).
19639         (+prectorT): New macro.
19640         (+postctorT): Likewise.
19642 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19644         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19645         (round_str): Handle values above the maximum for IBM long double
19646         as inexact.
19647         * stdlib/tst-strtod-round.c (tests): Regenerated.
19649 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19651         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19652         assembler flag.
19653         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19654         zarch_nohighgprs around the zarch optimized routines.
19655         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19656         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19657         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19658         for zarch.
19660 2012-09-05  David S. Miller  <davem@davemloft.net>
19662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19664         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19665         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19666         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19667         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19668         entries.
19670 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19672         * malloc/arena.c: Fold copyright years.
19673         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19675 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19677         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19679 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19681         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19683 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19685         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19686         change internal state upon failure.
19688 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19690         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19691         * malloc/memusage.c (mmap): Likewise.
19692         (mmap64, mremap): Likewise.  Adjust name in comment.
19694 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19696         * libio/fileops.c: Fix typos in comments.
19697         * libio/oldfileops.c: Likewise.
19698         * libio/wfileops.c: Likewise.
19700 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19702         [BZ #1349]
19703         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19704         (tst-malloc-usable-ENV): Set environment for test case.
19705         * malloc/hooks.c (malloc_check_get_size): New function to get
19706         requested size.
19707         * malloc/malloc.c (musable): Use malloc_check_get_size.
19708         * malloc/tst-malloc-usable.c: New test case.
19710 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19712         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19714 2012-09-05  Allan McRae  <allan@archlinux.org>
19716         [BZ #13966]
19717         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19718         determine header location.
19719         * configure: Regenerated.
19721 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19723         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19724         float format.
19725         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19726         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19727         format.
19728         (test): Regenerate.
19730 2012-09-04  David S. Miller  <davem@davemloft.net>
19732         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19733         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19734         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19736 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19738         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19739         failures.
19741         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19743 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19745         [BZ #9914]
19746         * libio/iogetdelim.c: Include <limits.h>.
19747         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19748         + len + 1 would overflow.
19750 2012-09-03  Andreas Jaeger  <aj@suse.de>
19752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19753         * sysdeps/i386/fpu/libm-test-ulps: Update.
19755 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19757         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19758         Add s_sinf-sse2, s_conf-sse2.
19760         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19761         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19762         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19763         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19765         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19766         for using routine as __sinf_ia32.
19767         Use macro for function declaration and weak_alias.
19768         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19769         for using routine as __cosf_ia32.
19770         Use macro for function declaration and weak_alias.
19772         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19773         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19775         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19776         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19777         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19779         * math/libm-test.inc (cos_test): Add more test cases.
19780         (sin_test): Likewise.
19781         (sincos_test): Likewise.
19783 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19785         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19786         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19787         hidden.
19788         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19790 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19792         [BZ #14538]
19793         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19794         first element of the GOT.
19795         (elf_machine_load_address): Return the difference between
19796         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19798 2012-09-01  Allan McRae  <allan@archlinux.org>
19800         [BZ #13412]
19801         * configure.in (AWK): Require gawk version 3.0 or later.
19802         * configure: Regenerated.
19804 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19806         * sysdeps/unix/sysv/linux/kernel-features.h
19807         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19808         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19809         [__NR_clock_getres]: Make code unconditional.
19810         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19811         (clock_getcpuclockid): Remove code left unreachable by removal of
19812         conditionals.
19813         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19814         code unconditional.
19815         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19816         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19817         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19818         Make code unconditional.
19819         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19820         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19821         * sysdeps/unix/sysv/linux/clock_settime.c
19822         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19823         conditional code.
19824         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19825         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19827 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19829         [BZ #14476]
19830         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19831         scripts/test-installation.pl.
19833         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19834         and $ld_so_version if it is set.
19836 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19838         [BZ #14516]
19839         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19840         failure if reading from procfs failed.
19841         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19843 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19845         * sysdeps/unix/sysv/linux/kernel-features.h
19846         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19847         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19848         Remove conditional code.
19849         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19850         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19851         Remove conditional code.
19852         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19853         * sysdeps/unix/sysv/linux/i386/fxstat.c
19854         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19855         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19856         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19857         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19858         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19859         * sysdeps/unix/sysv/linux/i386/lxstat.c
19860         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19861         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19862         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19863         Remove conditional code.
19864         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19865         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19866         Remove conditional code.
19867         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19868         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19869         <kernel-features.h>.
19870         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19871         Remove.
19872         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19873         Remove conditional code.
19874         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19875         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19876         Remove conditional.
19878 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19880         [BZ #5400]
19881         * NEWS: Add fixed bug number.
19883 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19885         [BZ #14519]
19886         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19887         underflowing exponent in case of negative sign.
19888         * stdlib/tst-strtod-round-data: Add more tests.
19889         * stdlib/tst-strtod-round.c (tests): Regenerated.
19891         [BZ #3479]
19892         * stdlib/strtod_l.c (NDIG): Remove.
19893         (HEXNDIG): Likewise.
19894         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19895         smallest representable value.
19896         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19897         lie within an exact representation of 1/2 ulp of the result.
19898         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19899         unconditionally.
19900         (TENS_P9_IDX): Define unconditionally.
19901         (TENS_P9_SIZE): Likewise.
19902         (TENS_P10_IDX): Likewise.
19903         (TENS_P10_SIZE): Likewise.
19904         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19905         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19906         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19907         entries for 10^2^13 and 10^2^14.
19908         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19909         (TENS_P13_IDX): Define.
19910         (TENS_P13_SIZE): Likewise.
19911         (TENS_P14_IDX): Likewise.
19912         (TENS_P14_SIZE): Likewise.
19913         (_fpioconst_pow10): Change array size to
19914         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19915         unconditional.
19916         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19917         1024]: Add entries for 10^2^13 and 10^2^14.
19918         [LAST_POW10 > _LAST_POW10]: Remove #error.
19919         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19920         (_fpioconst_pow10): Change array size to
19921         FPIOCONST_POW10_ARRAY_SIZE.
19922         * stdlib/gen-fpioconst.c: New file.
19923         * stdlib/gen-tst-strtod-round.c: Likewise.
19924         * stdlib/tst-strtod-round-data: Likewise.
19925         * stdlib/tst-strtod-round.c: Likewise.
19926         * stdlib/Makefile (tests): Add tst-strtod-round.
19928         [BZ #14459]
19929         * stdlib/strtod_l.c: Include <stdint.h>.
19930         (NDEBUG): Do not define.
19931         (round_and_return): Change EXPONENT parameter to type intmax_t.
19932         Rearrange calculations to avoid internal overflow possibilities.
19933         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19934         Rearrange calculations to avoid internal overflow possibilities.
19935         Assert that number fits inside MPNSIZE limbs.
19936         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19937         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19938         calculations and add assertions to avoid internal overflow
19939         possibilities.  Add casts to avoid signed/unsigned operations.
19940         * stdlib/tst-strtod-overflow.c: New file.
19941         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19943 2012-08-25  Marek Polacek  <polacek@redhat.com>
19945         * time/time.h: Fix some typos in comments.
19947 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19949         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19950         * posix/tst-rfc3484-2.c: Likewise.
19951         * posix/tst-rfc3484-3.c: Likewise.
19953 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19955         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19956         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19958 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19960         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19961         #include of fxstatat64.c.
19963 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19965         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19966         * shadow/getspent_r.c: Likewise.
19967         * shadow/getspnam.c: Likewise.
19968         * shadow/getspnam_r.c: Likewise.
19969         * gshadow/getsgent.c: Likewise.
19970         * gshadow/getsgent_r.c: Likewise.
19971         * gshadow/getsgnam.c: Likewise.
19972         * gshadow/getsgnam_r.c: Likewise.
19973         * inet/getnetbyad.c: Likewise.
19974         * inet/getnetbyad_r.c: Likewise.
19975         * inet/getnetbynm.c: Likewise.
19976         * inet/getnetbynm_r.c: Likewise.
19977         * inet/getnetent.c: Likewise.
19978         * inet/getnetent_r.c: Likewise.
19979         * inet/getproto.c: Likewise.
19980         * inet/getproto_r.c: Likewise.
19981         * inet/getprtent.c: Likewise.
19982         * inet/getprtent_r.c: Likewise.
19983         * inet/getprtname.c: Likewise.
19984         * inet/getprtname_r.c: Likewise.
19985         * inet/getrpcbyname.c: Likewise.
19986         * inet/getrpcbyname_r.c: Likewise.
19987         * inet/getrpcbynumber.c: Likewise.
19988         * inet/getrpcbynumber_r.c: Likewise.
19989         * inet/getrpcent.c: Likewise.
19990         * inet/getrpcent_r.c: Likewise.
19991         * inet/getaliasent.c: Likewise.
19992         * inet/getaliasent_r.c: Likewise.
19993         * inet/getaliasname.c: Likewise.
19994         * inet/getaliasname_r.c: Likewise.
19995         * nscd/getgrgid_r.c: Likewise.
19996         * nscd/getgrnam_r.c: Likewise.
19997         * nscd/gethstbyad_r.c: Likewise.
19998         * nscd/gethstbynm3_r.c: Likewise.
19999         * nscd/getpwnam_r.c: Likewise.
20000         * nscd/getpwuid_r.c: Likewise.
20001         * nscd/getsrvbynm_r.c: Likewise.
20002         * nscd/getsrvbypt_r.c: Likewise.
20003         * nscd/gai.c: Likewise.
20005         * configure.in (build_nscd): New substituted variable, set
20006         by --disable-build-nscd and defaults to $use_nscd.
20007         * configure: Regenerated.
20008         * config.make.in (build-nscd): New substituted variable.
20009         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20010         Change conditional to require [$(build-nscd) = yes] as well.
20011         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20013         [BZ# 13696]
20014         * configure.in (use_nscd): New substituted variable, set by
20015         --disable-nscd.  If enabled, define USE_NSCD.
20016         * configure: Regenerated.
20017         * config.h.in: Add USE_NSCD.
20018         * config.make.in (use-nscd): New substituted variable.
20019         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20020         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20021         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20022         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20023         (CFLAGS-getgrnam_r.c): Likewise.
20024         (CFLAGS-initgroups.c): Likewise.
20025         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20026         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20027         Variables removed.
20028         * inet/getnetgrent_r.c
20029         (nscd_setnetgrent): New function, broken out of ...
20030         (setnetgrent): ... here.  Call it.
20031         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20032         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20033         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20034         * nscd/Makefile (routines, aux): Move definitions after include of
20035         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20036         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20037         Conditionalize on [USE_NSCD].
20038         (is_nscd, nscd_init_cb): Likewise.
20039         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20040         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20041         * nss/nss_db/db-init.c: Likewise.
20042         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20043         [USE_NSCD].
20044         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20045         (make_request): Use it.
20046         (cache_valid_p): New function.
20047         (__check_pf): Use it.
20048         * NEWS: Add item for --disable-nscd.
20050 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20052         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20053         to support sed >= 4.2.1-20-ga9bf076.
20054         * configure: Regenerated.
20056 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20058         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20059         Conditionalize whole body on [IREL].
20061 2012-08-22  Jeff Law <law@redhat.com>
20063         [BZ #14505]
20064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20065         if the family is PF_UNSPEC.
20067 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20069         * Makerules (lib-version): Rename from V.
20070         (install-lib-nosubdir): Change V to lib-version.
20072 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20074         [BZ #14252]
20075         * powerpc32/power6/wcschr.c: New file.
20076         * powerpc32/power6/wcscpy.c: New file.
20077         * powerpc32/power6/wcsrchr.c: New file.
20078         * powerpc64/power6/wcschr.c: New file.
20079         * powerpc64/power6/wcscpy.c: New file.
20080         * powerpc64/power6/wcsrchr.c: New file.
20082 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20084         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20085         (two_way_short_needle): Use it.
20086         * string/strstr.c (AVAILABLE1_USES_J): Define.
20087         * string/strcasestr.c: Likewise.
20089         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20090         array references.
20091         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20093         [BZ #11607]
20094         * NEWS: Add an entry.
20095         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20096         define their defaults.
20097         (two_way_short_needle): Detect end-of-string on-the-fly.
20098         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20099         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20100         * string/bug-strcasestr1.c: New test.
20101         * string/Makefile: Run it.
20103 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20105         [BZ #11607]
20106         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20107         the first character.
20109 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20111         * csu/elf-init.c (__libc_csu_irel): Function removed.
20112         * csu/libc-start.c (apply_irel): New function.
20113         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20115 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20117         * sysdeps/unix/sysv/linux/kernel-features.h
20118         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20119         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20120         <kernel-features.h>.
20121         [__NR_fadvise64_64]: Make code unconditional.
20122         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20123         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20124         !__NR_fadvise64_64)]: Likewise.
20125         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20126         !__NR_fadvise64_64))]: Likewise.
20127         [__NR_fadvise64]: Make code unconditional.
20128         [!__NR_fadvise64]: Remove conditional code.
20129         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20130         <kernel-features.h>.
20131         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20132         unconditional.
20133         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20134         conditional code.
20135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20136         not include <kernel-features.h>.
20137         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20138         unconditional.
20139         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20140         conditional code.
20141         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20142         include <kernel-features.h>.
20143         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20144         unconditional.
20145         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20146         conditional code.
20148 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20150         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20151         slight instruction rearrangements per scrollpipe analysis.
20152         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20154 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20156         * manual/syslog.texi (syslog; vsyslog, closelog):
20157         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20158         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20160         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20161         DSOCAPS to match condition on defining it.
20163 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20165         * sysdeps/unix/sysv/linux/kernel-features.h
20166         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20168         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20169         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20171         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20172         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20174         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20175         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20177         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20178         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20180         * sysdeps/unix/sysv/linux/kernel-features.h
20181         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20182         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20183         unconditional.
20184         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20185         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20186         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20187         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20188         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20189         Make code unconditional.
20190         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20191         (__mmap64) [!__NR_mmap2]: Likewise.
20192         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20193         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20194         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20195         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20196         [__NR_mmap2]: Make code unconditional.
20197         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20198         (__mmap64) [!__NR_mmap2]: Likewise.
20200 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20202         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20204 2012-08-18  Andreas Jaeger  <aj@suse.de>
20206         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20208 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20210         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20211         * include/unistd.h (__have_sock_cloexec): Likewise.
20212         (__have_pipe2): Likewise.
20213         (__have_dup3): Likewise.
20215 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20217         [BZ #9685]
20218         * include/unistd.h (__have_pipe2): Change define into an extern int.
20219         (__have_dup3): Likewise.
20220         * socket/have_sock_cloexec.c: Include fcntl.h.
20221         (__have_pipe2): New variable.
20222         (__have_dup3): Likewise.
20224 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20226         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20228 2012-08-17  Marek Polacek  <polacek@redhat.com>
20230         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20231         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20233 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20235         * configure.in: Add AC_SUBST for sysheaders.
20236         * configure: Regenerated.
20237         * config.make.in (sysheaders): New substituted variable.
20239         * sysdeps/unix/mkfifo.c: Moved ...
20240         * sysdeps/posix/mkfifo.c: ... here.
20241         * sysdeps/unix/mkfifoat.c: Moved ...
20242         * sysdeps/posix/mkfifoat.c: ... here.
20244         * sysdeps/unix/utime.c: Moved ...
20245         * sysdeps/posix/utime.c: ... here.
20247         * sysdeps/unix/time.c: Moved ...
20248         * sysdeps/posix/time.c: ... here.
20249         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20250         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20252         * sysdeps/unix/nice.c: Moved ...
20253         * sysdeps/posix/nice.c: ... here.
20255         * sysdeps/unix/alarm.c: Moved ...
20256         * sysdeps/posix/alarm.c: ... here.
20258         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20260 2012-08-17  Jeff Law <law@redhat.com>
20262         * intl/Makefile (codeset_mo): New variable.
20263         ($(codeset_mo)): New target.
20264         (tst-codeset.out): Depend on that.  Remove explicit rule.
20265         (tst-gettext3.out, tst-gettext5.out): Likewise.
20266         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20267         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20268         * intl/tst-codeset.sh: Remove.
20269         * intl/tst-gettext3.sh: Likewise.
20270         * intl/tst-gettext5.sh: Likewise.
20272 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20274         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20275         * sysdeps/unix/syscalls.list: ... here.
20277         * sysdeps/posix/getaddrinfo.c
20278         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20279         (gaiconf_init, gaiconf_reload): Use them.
20280         [!_STATBUF_ST_NSEC]
20281         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20282         Define using time_t rather than struct timespec.
20284         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20285         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20286         Macros removed.
20287         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20288         [!NO_THREADS].
20289         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20290         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20291         Likewise.
20293         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20294         __libc_cleanup_push argument.
20296         * bits/param.h: New file.
20297         * misc/sys/param.h: New file.
20298         * include/sys/param.h: New file.
20299         * misc/Makefile (headers): Add bits/param.h.
20300         * sysdeps/generic/sys/param.h: File removed.
20301         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20302         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20303         * sysdeps/mach/hurd/bits/param.h: New file.
20304         * sysdeps/mach/hurd/sys/param.h: File removed.
20306         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20307         last change.
20309         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20310         [_IO_MTSAFE_IO].
20311         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20312         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20313         New macros.
20315         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20316         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20317         rather than -D_IO_MTSAFE_IO conditionally.
20318         * stdio-common/Makefile (CPPFLAGS): Likewise.
20319         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20320         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20321         Use $(libio-mtsafe).
20322         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20323         of -D_IO_MTSAFE_IO.
20324         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20325         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20326         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20327         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20328         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20329         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20330         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20331         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20332         (CFLAGS-fread_u_chk.c): Likewise.
20333         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20334         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20335         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20336         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20337         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20338         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20339         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20340         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20341         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20343         * libio/Makefile: Test [$(libc-reentrant) = yes]
20344         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20346         * Makeconfig
20347         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20348         * sysdeps/pthread/configure: File removed.
20349         * sysdeps/pthread/Makeconfig: New file.
20350         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20351         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20353 2012-08-16  Gary Benson  <gbenson@redhat.com>
20355         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20356         unmapping the first object in a namespace.
20358 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20360         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20361         (__internal_setnetgrent): ... this.  Add internal_function to
20362         definition.  Add libc_hidden_def.
20363         (setnetgrent): Update caller.
20364         (internal_endnetgrent): Renamed to ...
20365         (__internal_endnetgrent): ... this.  Add internal_function to
20366         definition.  Add libc_hidden_def.
20367         (endnetgrent): Update caller.
20368         (internal_getnetgrent_r): Renamed to ...
20369         (__internal_getnetgrent_r): ... this.  Add internal_function to
20370         definition.  Add libc_hidden_def.
20371         (__getnetgrent_r): Update caller.
20372         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20374 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20376         * stdlib/longlong.h: Update from GCC.
20378 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20380         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20381         on _QL, which is set by umul_ppmm but never used.
20382         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20383         variables, which are set by GMP macros but never used.
20384         * stdio-common/_itowa.c (_itowa): Likewise.
20385         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20386         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20388 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20390         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20391         struct La_sh_regs is not constant.
20392         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20393         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20394         and struct La_sparc64_regs are not constant.
20396 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20398         * sysdeps/unix/sysv/linux/kernel-features.h
20399         (__ASSUME_POSIX_TIMERS): Remove.
20400         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20401         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20402         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20403         Make code unconditional.
20404         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20405         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20406         Make code unconditional.
20407         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20408         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20409         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20410         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20411         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20412         Make code unconditional.
20413         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20414         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20415         (__libc_missing_posix_timers): Remove.
20417 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20419         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20420         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20422         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20424         * elf/dl-sym.c: Include <stdlib.h>.
20426         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20427         constants, which avoids warnings in 32-bit builds.
20429         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20430         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20432         * misc/lseek.c: File moved to ...
20433         * io/lseek.c: ... here.
20435         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20437         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20438         shifting LEN more than 31 bits at once.
20440 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20442         [BZ #14195]
20443         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20444         segmentation fault for a case of two empty input strings.
20445         * string/test-strncasecmp.c (check1): Renamed to...
20446         (bz12205): ...this.
20447         (bz14195): Add new testcase for two empty input strings and N > 0.
20448         (test_main): Call new testcase, adapt for renamed function.
20450 2012-08-15  Andreas Jaeger  <aj@suse.de>
20452         [BZ #14090]
20453         * crypt/md5test2.c: New test, based on test supplied by Serge
20454         Belyshev <belyshev@depni.sinp.msu.ru>.
20455         * crypt/Makefile (xtests): Add md5test-giant..
20456         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20458 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20460         [BZ #14090]
20461         * crypt/md5.c (md5_process_block): Don't assume the buffer
20462         length is less than 2**32.
20463         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20464         length is less than 2**64.
20466 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20468         * string/str-two-way.h: Include <sys/param.h>.
20469         (MAX): Macro removed.
20471         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20472         Move #define and #undef of memmove to just before and after
20473         including <string.h>.
20475         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20476         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20477         and after including <string.h>.  Move declarations of
20478         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20479         to before #include "string/memmove.c".
20481         * include/dirent.h: Declare __getdirentries.
20483         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20484         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20486 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20488         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20489         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20490         * sysdeps/i386/configure: Regenerated.
20491         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20492         STABS_CURRENT_FILE, and STABS_FUN.
20493         (END): Remove call to STABS_FUN_END.
20494         (STABS_CURRENT_FILE1): Delete.
20495         (STABS_CURRENT_FILE): Likewise.
20496         (STABS_FUN): Likewise.
20497         (STABS_FUN_END): Likewise.
20498         (STABS_FUN2): Likewise.
20499         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20500         * sysdeps/x86_64/configure: Regenerated.
20502 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20504         * elf/dl-open.c: Include <atomic.h>.
20505         * elf/dl-lookup.c: Likewise.
20507 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20509         * sysdeps/unix/sysv/linux/kernel-features.h
20510         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20511         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20512         unconditionally.
20513         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20514         unconditionally.
20515         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20516         condition on __ASSUME_CLONE_THREAD_FLAGS.
20518 2012-08-14  Andreas Jaeger  <aj@suse.de>
20520         * sysdeps/i386/fpu/libm-test-ulps: Update.
20522 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20524         * include/atomic.h (atomic_exchange_and_add): Split into ...
20525         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20526         New atomic macros.
20528 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20532 2012-08-13  Jeff Law <law@redhat.com>
20534         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20535         null byte in the output string.
20537 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20539         * sysdeps/unix/sysv/linux/kernel-features.h
20540         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20541         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20542         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20543         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20544         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20545         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20546         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20548 2012-08-09  Jeff Law <law@redhat.com>
20550         [BZ #13939]
20551         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20552         When avoid_arena is set, don't retry in the that arena.  Pick the
20553         next one, whatever it might be.
20554         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20555         (arena_lock): Pass in new parameter to arena_get2.
20556         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20557         arena_get2.
20558         (__libc_malloc): Unify retrying after main arena failure with
20559         __libc_memalign version.
20560         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20562 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20564         [BZ #14166]
20565         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20566         to __redirect_strstr.
20567         (__strstr_sse42): Use typeof __redirect_strstr.
20568         (__strstr_ia32): Likewise.
20569         (__libc_strstr): New prototype.
20570         (strstr): Renamed to ...
20571         (__libc_strstr): This.
20572         (strstr): New strong alias of __libc_strstr.
20573         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20574         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20575         __redirect_time.
20576         Include <time.h>.
20577         (__libc_time): New prototype.
20578         (time_ifunc): Replace time with __libc_time.
20579         (time): New strong alias and hidden definition of __libc_time.
20580         (__GI_time): Remove strong alias.
20581         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20582         Include <stddef.h>.
20583         (memmove): Redefined to __redirect_memmove.
20584         (__memmove_sse2): Use typeof __redirect_memmove.
20585         (__memmove_ssse3): Likewise.
20586         (__memmove_ssse3_back): Likewise.
20587         (__libc_memmove): New prototype.
20588         (memmove): Renamed to ...
20589         (__libc_memmove): This.
20590         (memmove): New strong alias of __libc_memmove.
20592 2012-08-08  Mark Salter  <msalter@redhat.com>
20594         * elf/elf.h
20595         (R_MN10300_TLS_GD): Define.
20596         (R_MN10300_TLS_LD): Likewise.
20597         (R_MN10300_TLS_LDO): Likewise.
20598         (R_MN10300_TLS_GOTIE): Likewise.
20599         (R_MN10300_TLS_IE): Likewise.
20600         (R_MN10300_TLS_LE): Likewise.
20601         (R_MN10300_TLS_DTPMOD): Likewise.
20602         (R_MN10300_TLS_DTPOFF): Likewise.
20603         (R_MN10300_TLS_TPOFF): Likewise.
20604         (R_MN10300_SYM_DIFF): Likewise.
20605         (R_MN10300_ALIGN): Likewise.
20606         (R_MN10300_NUM): Update.
20608 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20610         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20611         Remove.
20613 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20615         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20617         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20618         sysdeps/unix -> sysdeps/posix move.
20619         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20621 2012-08-07      Allan McRae     <allan@archlinux.org>
20623         [BZ #14303]
20624         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20625         (SUNOS_CPP): Likewise.
20626         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20627         not found.
20628         (open_input): Call CPP using execvp.
20630 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20632         * sysdeps/unix/sysv/linux/kernel-features.h
20633         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20634         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20635         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20636         (__ASSUME_WAITID_SYSCALL): Likewise.
20637         * sysdeps/unix/sysv/linux/dl-execstack.c
20638         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20639         code unconditional.
20640         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20641         conditional code.
20642         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20643         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20644         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20645         code.
20646         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20647         unconditional.
20648         [__ASSUME_WAITID_SYSCALL]: Likewise.
20649         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20651 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20653         * sysdeps/unix/closedir.c: Renamed to ...
20654         * sysdeps/posix/closedir.c: ... here.
20655         * sysdeps/unix/dirfd.c: Renamed to ...
20656         * sysdeps/posix/dirfd.c: ... here.
20657         * sysdeps/unix/dirstream.h: Renamed to ...
20658         * sysdeps/posix/dirstream.h: ... here.
20659         * sysdeps/unix/fdopendir.c: Renamed to ...
20660         * sysdeps/posix/fdopendir.c: ... here.
20661         * sysdeps/unix/opendir.c: Renamed to ...
20662         * sysdeps/posix/opendir.c: ... here.
20663         * sysdeps/unix/readdir.c: Renamed to ...
20664         * sysdeps/posix/readdir.c: ... here.
20665         * sysdeps/unix/readdir_r.c: Renamed to ...
20666         * sysdeps/posix/readdir_r.c: ... here.
20667         * sysdeps/unix/rewinddir.c: Renamed to ...
20668         * sysdeps/posix/rewinddir.c: ... here.
20669         * sysdeps/unix/seekdir.c: Renamed to ...
20670         * sysdeps/posix/seekdir.c: ... here.
20671         * sysdeps/unix/telldir.c: Renamed to ...
20672         * sysdeps/posix/telldir.c: ... here.
20673         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20674         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20675         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20676         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20678         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20679         * bits/fcntl.h: ... here.
20681         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20682         not 0.
20683         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20684         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20685         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20686         (struct flock): Move l_start, l_len to the beginning.
20687         Use __pid_t for l_pid.
20688         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20689         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20690         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20691         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20692         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20693         [__USE_LARGEFILE64] (struct flock64): New type.
20694         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20696         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20697         * bits/dirent.h: ... here.
20699         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20700         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20702 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20704         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20705         Change from 2.6.0 to 2.6.16.
20706         * sysdeps/unix/sysv/linux/configure: Regenerated.
20707         * sysdeps/unix/sysv/linux/kernel-features.h
20708         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20709         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20710         version.
20711         (__ASSUME_UTIMES): Likewise.
20712         (__ASSUME_CLONE_STOPPED): Remove.
20713         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20714         architectures, not kernel version.
20715         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20716         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20717         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20718         (__ASSUME_WAITID_SYSCALL): Likewise.
20719         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20720         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20721         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20722         refer to older versions.
20724 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20726         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20727         Define alphasort64 as an alias.
20728         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20729         Define versionsort64 as an alias.
20730         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20731         Define scandir64 as an alias.
20732         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20733         Define scandirat64 as an alias.
20734         * dirent/alphasort64.c (alphasort64):
20735         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20736         * dirent/versionsort64.c: Likewise.
20737         * dirent/scandir64.c: Likewise.
20738         * dirent/scandirat64.c: Likewise.
20739         * sysdeps/wordsize-64/alphasort.c: File removed.
20740         * sysdeps/wordsize-64/alphasort64.c: File removed.
20741         * sysdeps/wordsize-64/scandir.c: File removed.
20742         * sysdeps/wordsize-64/scandir64.c: File removed.
20743         * sysdeps/wordsize-64/scandirat.c: File removed.
20744         * sysdeps/wordsize-64/scandirat64.c: File removed.
20745         * sysdeps/wordsize-64/versionsort.c: File removed.
20746         * sysdeps/wordsize-64/versionsort64.c: File removed.
20747         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20748         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20749         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20750         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20751         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20752         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20753         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20754         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20756         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20757         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20758         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20759         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20760         [defined __arch64__ || defined __sparcv9]
20761         (__INO_T_MATCHES_INO64_T): New macro.
20762         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20763         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20764         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20765         * sysdeps/unix/sysv/linux/bits/dirent.h
20766         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20767         (_DIRENT_MATCHES_DIRENT64): New macro.
20769         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20770         Define lockf64 as an alias.
20771         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20772         Define fseeko64 as an alias.
20773         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20774         Define ftello64 as an alias.
20775         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20776         Define _IO_fgetpos64 and fgetpos64 as aliases.
20777         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20778         Define _IO_fsetpos64 and fsetpos64 as aliases.
20779         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20780         Conditionalize body on this.
20781         * libio/fseeko64.c: Likewise.
20782         * libio/ftello64.c: Likewise.
20783         * libio/iofgetpos64.c: Likewise.
20784         * libio/iofsetpos64.c: Likewise.
20785         * sysdeps/wordsize-64/lockf.c: File removed.
20786         * sysdeps/wordsize-64/lockf64.c: File removed.
20787         * sysdeps/wordsize-64/fseeko.c: File removed.
20788         * sysdeps/wordsize-64/fseeko64.c: File removed.
20789         * sysdeps/wordsize-64/ftello.c: File removed.
20790         * sysdeps/wordsize-64/ftello64.c: File removed.
20791         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20792         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20793         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20794         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20795         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20796         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20797         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20798         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20799         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20800         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20801         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20802         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20803         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20804         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20806         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20807         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20808         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20809         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20810         [defined __arch64__ || defined __sparcv9]
20811         (__OFF_T_MATCHES_OFF64_T): New macro.
20812         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20813         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20814         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20815         (__OFF_T_MATCHES_OFF64_T): New macro.
20817 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20819         * stdlib/secure-getenv.c (__secure_getenv): Replace
20820         GLIBC_2_16 with GLIBC_2_17.
20822 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20824         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20825         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20827 2012-08-03  David S. Miller  <davem@davemloft.net>
20829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20831 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20833         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20834         Remove.
20835         (__ASSUME_CORRECT_SI_PID): Likewise.
20836         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20837         (__ASSUME_TMPFS_NAME): Likewise.
20838         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20839         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20840         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20841         (HAVE_AUX_SECURE): Make definition unconditional.
20842         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20843         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20845 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20847         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20848         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20849         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20850         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20851         __eloop_threshold instead of SYMLOOP_MAX.
20853         * sysdeps/generic/eloop-threshold.h: New file.
20854         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20855         of MAXSYMLINKS.
20856         * elf/chroot_canon.c (chroot_canon): Likewise.
20858 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20860         [BZ #13717]
20861         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20862         Change to 2.6.0 everywhere.
20863         * sysdeps/unix/sysv/linux/configure: Regenerated.
20864         * sysdeps/unix/sysv/linux/kernel-features.h
20865         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20866         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20867         kernel versions.
20868         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20869         (__ASSUME_FUTEX_REQUEUE): Remove.
20870         (__ASSUME_STATFS64): Define unconditionally.
20871         (__ASSUME_AT_SECURE): Likewise.
20872         (__ASSUME_CORRECT_SI_PID): Likewise.
20873         (__ASSUME_TGKILL): Define without depending on kernel version for
20874         i386.
20875         (__ASSUME_UTIMES): Likewise.
20876         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20877         kernel version.
20878         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20879         (__ASSUME_TMPFS_NAME): Likewise.
20880         * README: Update reference to Linux kernel versions.
20882 2012-08-02  Marek Polacek  <polacek@redhat.com>
20884         [BZ# 14150]
20885         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20886         libc_cv_asm_type_prefix with %.
20887         * configure: Regenerated.
20888         * include/libc-symbols.h: Remove comment about
20889         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20890         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20891         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20892         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20893         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20894         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20895         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20896         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20897         * elf/tst-unique2mod1.c: Likewise.
20898         * elf/tst-unique1mod2.c: Likewise.
20899         * elf/tst-unique1mod1.c: Likewise.
20900         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20901         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20902         Replace ASM_TYPE_DIRECTIVE with .type.
20903         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20904         * sysdeps/i386/sysdep.h: Likewise.
20905         * sysdeps/x86_64/sysdep.h: Likewise.
20906         * sysdeps/sh/sysdep.h: Likewise.
20907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20908         Do not define ASM_TYPE_DIRECTIVE.
20909         * sysdeps/powerpc/sysdep.h: Likewise.
20910         * sysdeps/powerpc/powerpc32/sysdep.h:
20911         Replace ASM_TYPE_DIRECTIVE with .type.
20912         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20913         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20914         * sysdeps/i386/fpu/e_powf.S: Likewise.
20915         * sysdeps/i386/fpu/e_expl.S: Likewise.
20916         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20917         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20918         * sysdeps/i386/fpu/e_pow.S: Likewise.
20919         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20920         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20921         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20922         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20923         * sysdeps/i386/fpu/e_log2.S: Likewise.
20924         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20925         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20926         * sysdeps/i386/fpu/e_powl.S: Likewise.
20927         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20928         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20929         * sysdeps/i386/fpu/e_logl.S: Likewise.
20930         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20931         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20932         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20933         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20934         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20935         * sysdeps/i386/fpu/e_log.S: Likewise.
20936         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20937         * sysdeps/i386/fpu/e_logf.S: Likewise.
20938         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20939         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20940         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20941         * sysdeps/i386/fpu/e_log10.S: Likewise.
20942         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20943         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20944         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20945         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20946         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20947         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20948         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20949         * sysdeps/i386/i686/strtok.S: Likewise.
20950         * sysdeps/i386/i386-mcount.S: Likewise.
20951         * sysdeps/i386/strtok.S: Likewise.
20952         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20953         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20954         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20955         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20956         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20957         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20958         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20959         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20960         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20961         * sysdeps/x86_64/_mcount.S: Likewise.
20962         * sysdeps/x86_64/strtok.S: Likewise.
20963         * sysdeps/sh/_mcount.S: Likewise.
20965 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20967         * libio/iofopen.c: Include <fcntl.h>.
20968         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20969         (_IO_fopen64, fopen64): Define as aliases.
20970         * libio/iofopen64.c: Include <fcntl.h>.
20971         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20972         Conditionalize body on this.
20973         * sysdeps/wordsize-64/iofopen.c: File removed.
20974         * sysdeps/wordsize-64/iofopen64.c: File removed.
20976 2012-08-01  Marek Polacek  <polacek@redhat.com>
20978         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20979         Use dlfcn directly instead of a variable.
20980         (binfmt-subdir): Do not define.
20981         (dlfcn): Likewise.
20983 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20985         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20986         Remove all definitions.
20987         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20988         <kernel-features.h>.
20989         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20990         (miss_F_GETOWN_EX): Remove all definitions.
20991         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20992         macro definition.
20993         [!__ASSUME_FCNTL64]: Remove conditional code.
20994         [__ASSUME_FCNTL64]: Make code unconditional.
20995         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20996         <kernel-features.h>.
20997         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20998         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20999         (lockf64) [__NR_fcntl64]: Make code unconditional.
21000         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21002         * sysdeps/unix/sysv/linux/kernel-features.h
21003         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21004         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21005         Make code unconditional.
21006         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21007         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21009         [__NR_vfork]: Make code unconditional.
21010         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21011         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21013         [__NR_vfork]: Make code unconditional.
21014         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21015         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21017 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21019         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21020         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21022         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21023         Define mkstemp64 as an alias.
21024         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21025         Define mkstemps64 as an alias.
21026         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21027         Define mkostemp64 as an alias.
21028         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21029         Define mkostemps64 as an alias.
21030         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21031         Conditionalize body on this.
21032         * misc/mkostemp64.c: Likewise.
21033         * misc/mkostemps64.c: Likewise.
21034         * misc/mkstemps64.c: Likewise.
21035         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21036         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21037         * sysdeps/wordsize-64/mkostemp.c: File removed.
21038         * sysdeps/wordsize-64/mkstemp.c: File removed.
21039         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21040         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21041         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21042         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21044         [BZ #14138]
21045         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21046         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21047         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21048         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21050         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21051         compat_symbol macros from <shlib-compat.h> rather than the underlying
21052         default_symbol_version and symbol_version macros, so that DEFAULT
21053         lines in shlib-versions are respected.
21054         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21056 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21058         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21059         Declare with warn_unused_result.
21060         (setgid, setregid, setegid, setresgid): Likewise.
21061         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21062         Likewise.
21063         * WUR-REPORT: Remove set*id functions.
21065 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21067         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21069 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21071         [BZ #10191]
21072         * include/sys/socket.h (__libc_accept, __libc_accept4):
21073         Add attribute_hidden.
21074         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21076         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21077         use of PTR_MANGLE.
21078         * inet/getnetgrent_r.c (setup): Likewise.
21080         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21082 2012-07-31  David S. Miller  <davem@davemloft.net>
21084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21086 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21088         [BZ #13629]
21089         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21090         value between 1.0 and 2.0 and smaller part has absolute value less
21091         than 1.0.
21092         * math/s_clog10.c (__clog10): Likewise.
21093         * math/s_clog10f.c (__clog10f): Likewise.
21094         * math/s_clog10l.c (__clog10l): Likewise.
21095         * math/s_clogf.c (__clogf): Likewise.
21096         * math/s_clogl.c (__clogl): Likewise.
21097         * math/libm-test.inc (clog_test): Add more tests.
21098         (clog10_test): Likewise.
21099         * sysdeps/i386/fpu/libm-test-ulps: Update.
21100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21102 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21104         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21105         Exit with zero in case no suitable GID is found, and write a
21106         message to standard error.
21108 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21110         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21111         rather than to 1.
21112         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21113         (MAXPATHLEN): Removed.
21114         (NOGROUP, NODEV): New macros.
21115         (setbit, clrbit, isset, isclr): New macros.
21116         (howmany, roundup, powerof2): New macros.
21117         (DEV_BSIZE): New macro.
21119         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21120         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21122         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21123         definition on [!__NO_LONG_DOUBLE_MATH].
21125         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21126         PTR_MANGLE and PTR_DEMANGLE.
21128         * socket/accept4.c (accept4): Rename to __libc_accept4.
21129         Define accept4 as a weak alias.
21131         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21132         on [_DIRENT_HAVE_D_TYPE].
21133         * io/ftw.c (ftw_dir): Likewise.
21135         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21137         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21139         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21140         Use the BSD numbers rather than the arbitrary ones we had.
21141         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21142         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21143         (SIGXCPU, SIGXFSZ): New macros.
21144         (_NSIG): Now 32.
21146         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21147         initializer on [_LIBC_REENTRANT].
21149         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21150         definitions inside [_POSIX_MAPPED_FILES].
21152         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21154         * dirent/opendir.c: Include <fcntl.h>.
21156         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21157         (__libc_getspecific): Likewise.
21158         (__libc_key_create): Likewise.
21160         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21161         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21162         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21163         (tmpfile64): Define as alias.
21164         * sysdeps/wordsize-64/tmpfile.c: File removed.
21165         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21166         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21167         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21169         * stdio-common/vfscanf.c: Include <stdbool.h>.
21170         * nss/makedb.c: Likewise.
21171         * stdio-common/_i18n_number.h: Likewise.
21172         * argp/argp-help.c: Likewise.
21173         * posix/wordexp.c: Likewise.
21174         * sysdeps/posix/spawni.c: Likewise.
21175         * nss/nss_files/files-initgroups.c: Likewise.
21176         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21177         * nss/nss_files/files-initgroups.c: Likewise.
21178         * nss/nss_db/db-netgrp.c: Likewise.
21179         * nss/nss_db/db-initgroups.c: Likewise.
21180         * io/fchmodat.c: Include <sys/stat.h>.
21182         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21183         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21185         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21186         [HAVE_MMAP].
21188         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21189         Add multiple inclusion protection.
21191 2012-07-27  David S. Miller  <davem@davemloft.net>
21193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21195 2012-07-27  Gary Benson  <gbenson@redhat.com>
21197         [BZ #14298]
21198         * elf/rtld.c: Include <stap-probe.h>.
21199         (dl_main): Added static probes "init_start" and "init_complete".
21200         * elf/dl-load.c: Include <stap-probe.h>.
21201         (lose): Take new parameter "nsid".
21202         Added static probe "map_failed".
21203         (_dl_map_object_from_fd): Pass namespace id to lose.
21204         Added static probe "map_start".
21205         (open_verify): Pass namespace id to lose.
21206         * elf/dl-open.c: Include <stap-probe.h>.
21207         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21208         and "reloc_complete".
21209         * elf/dl-close.c: Include <stap-probe.h>.
21210         (_dl_close_worker): Added static probes "unmap_start" and
21211         "unmap_complete".
21212         * elf/rtld-debugger-interface.txt: New file documenting the above.
21214 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21216         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21217         rather than a string variable.
21218         * sunrpc/rpc_main.c (h_output): Likewise.
21219         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21221 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21223         * inet/check_native.c: New file.
21225 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21227         [BZ #13629]
21228         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21229         if larger part has absolute value 1.0.
21230         * math/s_clog10.c (__clog10): Likewise.
21231         * math/s_clog10f.c (__clog10f): Likewise.
21232         * math/s_clog10l.c (__clog10l): Likewise.
21233         * math/s_clogf.c (__clogf): Likewise.
21234         * math/s_clogl.c (__clogl): Likewise.
21235         * math/libm-test.inc (clog_test): Add more tests.
21236         (clog10_test): Likewise.
21237         * sysdeps/i386/fpu/libm-test-ulps: Update.
21238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21240         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21241         (pltexit): Likewise.
21242         (La_regs): Likewise.
21243         (La_retval): Likewise.
21244         (int_retval): Likewise.
21245         Update #error for removed macros to refer only to definitions in
21246         tst-audit.h.
21247         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21248         macro.
21249         (pltexit): Likewise.
21250         (La_regs): Likewise.
21251         (La_retval): Likewise.
21252         (int_retval): Likewise.
21253         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21254         macro.
21255         (pltexit): Likewise.
21256         (La_regs): Likewise.
21257         (La_retval): Likewise.
21258         (int_retval): Likewise.
21259         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21260         macro.
21261         (pltexit): Likewise.
21262         (La_regs): Likewise.
21263         (La_retval): Likewise.
21264         (int_retval): Likewise.
21265         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21266         macro.
21267         (pltexit): Likewise.
21268         (La_regs): Likewise.
21269         (La_retval): Likewise.
21270         (int_retval): Likewise.
21271         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21272         macro.
21273         (pltexit): Likewise.
21274         (La_regs): Likewise.
21275         (La_retval): Likewise.
21276         (int_retval): Likewise.
21277         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21278         macro.
21279         (pltexit): Likewise.
21280         (La_regs): Likewise.
21281         (La_retval): Likewise.
21282         (int_retval): Likewise.
21283         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21284         macro definitions in tst-audit.h.
21285         * sysdeps/i386/tst-audit.h: New file.
21286         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21287         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21288         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21289         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21290         * sysdeps/sh/tst-audit.h: Likewise.
21291         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21292         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21293         * sysdeps/x86_64/tst-audit.h: Likewise.
21295 2012-07-26  Andreas Jaeger  <aj@suse.de>
21297         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21298         ptrace.
21300         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21301         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21302         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21303         PTRACE_O_MASK.
21304         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21305         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21306         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21308         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21309         value.
21311         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21312         _sigsys.
21313         (si_call_addr, si_syscall, si_arch): Define new macro.
21314         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21315         _sigsys.
21316         (si_call_addr, si_syscall, si_arch): Define new marcro.
21317         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21318         _sigsys.
21319         (si_call_addr, si_syscall, si_arch): Define new macro.
21320         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21321         _sigsys.
21322         (si_call_addr, si_syscall, si_arch): Define new macro.
21324 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21326         [BZ #13717]
21327         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21328         Change to 2.4.21 where previously 2.4.1.
21329         * sysdeps/unix/sysv/linux/configure: Regenerated.
21330         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21331         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21332         Linux kernel version.
21333         (__ASSUME_STD_AUXV): Remove.
21334         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21335         kernel version.
21336         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21337         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21338         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21339         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21340         (__ASSUME_NETLINK_SUPPORT): Likewise.
21341         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21342         (__no_netlink_support): Remove conditional definition.
21343         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21344         Remove.
21345         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21346         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21347         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21348         (if_nameindex_ioctl): Remove.
21349         (if_nameindex_netlink): Do not handle __no_netlink_support.
21350         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21351         code.
21352         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21353         Remove conditional code.
21354         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21355         code.
21356         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21357         unconditional.
21358         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21359         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21360         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21361         Remove.
21362         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21363         [!__ASSUME_STD_AUXV]: Remove conditional code.
21364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21365         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21366         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21368         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21369         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21370         code.
21371         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21373         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21374         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21375         conditional code.
21376         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21378         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21379         code.
21380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21381         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21382         conditional code.
21383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21384         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21385         code unconditional.
21386         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21387         conditional code.
21388         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21389         unconditional.
21390         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21391         conditional code.
21392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21393         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21394         unconditional.
21395         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21396         conditional code.
21397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21398         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21399         code unconditional.
21400         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21401         conditional code.
21402         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21403         unconditional.
21404         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21405         conditional code.
21406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21407         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21408         code unconditional.
21409         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21410         conditional code.
21411         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21412         unconditional.
21413         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21414         conditional code.
21416 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21418         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21419         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21420         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21421         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21422         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21423         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21424         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21425         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21426         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21427         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21428         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21429         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21430         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21431         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21432         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21433         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21434         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21435         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21436         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21438         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21439         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21440         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21442 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21444         * Versions.def: Add GLIBC_2.17.
21445         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21446         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21447         Introduce __libc_secure_getenv.
21448         * stdlib/Versions (2.17): Add secure_getenv
21449         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21450         * stdlib/secure-getenv.c: Rename __secure_getenv to
21451         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21452         symbol __secure_getenv for GLIBC_2.0.
21453         * stdlib/tst-secure-getenv.c: New.
21454         * stdlib/Makefile (tests): Add testcase.
21455         * manual/startup.texi (Environment Access): Document
21456         secure_getenv.
21457         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21458         __libc_secure_getenv.
21459         * inet/ruserpass.c (ruserpass): Likewise.
21460         * malloc/mtrace.c (mtrace): Likewise.
21461         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21462         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21463         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21464         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21465         HAVE_SECURE_GETENV.
21466         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21467         __secure_getenv to __libc_secure_getenv.
21468         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21470         Likewise.
21471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21472         Likewise.
21473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21475         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21481 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21483         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21484         (struct La_i86_retval): Likewise.
21485         (struct La_x86_64_regs): Likewise.
21486         (struct La_x86_64_retval): Likewise.
21487         (struct La_x32_regs): Likewise.
21488         (struct La_x32_retval): Likewise.
21489         (struct La_ppc32_regs): Likewise.
21490         (struct La_ppc32_retval): Likewise.
21491         (struct La_ppc64_regs): Likewise.
21492         (struct La_ppc64_retval): Likewise.
21493         (struct La_sh_regs): Likewise.
21494         (struct La_sh_retval): Likewise.
21495         (struct La_s390_32_regs): Likewise.
21496         (struct La_s390_32_retval): Likewise.
21497         (struct La_s390_64_regs): Likewise.
21498         (struct La_s390_64_retval): Likewise.
21499         (struct La_sparc32_regs): Likewise.
21500         (struct La_sparc32_retval): Likewise.
21501         (struct La_sparc64_regs): Likewise.
21502         (struct La_sparc64_retval): Likewise.
21503         (struct audit_ifaces): Remove architecture-specific pltenter and
21504         pltexit members.
21505         * sysdeps/i386/ldsodefs.h: New file.
21506         * sysdeps/powerpc/ldsodefs.h: Likewise.
21507         * sysdeps/s390/ldsodefs.h: Likewise.
21508         * sysdeps/sh/ldsodefs.h: Likewise.
21509         * sysdeps/sparc/ldsodefs.h: Likewise.
21510         * sysdeps/x86_64/ldsodefs.h: Likewise.
21512 2012-07-25  Marek Polacek  <polacek@redhat.com>
21514         [BZ #6808]
21515         * math/libm-test.inc (yn_test): Add another test.
21516         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21517         to ERANGE when the result is +-Inf.
21518         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21519         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21520         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21521         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21523 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21525         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21526         equal to 0.
21527         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21528         clock_t.
21529         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21531 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21533         * configure.in <sysdeps resolving>: Correct printing
21534         Implies_before.
21535         * configure: Regenerate.
21537 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21539         * math/w_ilogb.c: Include <limits.h>.
21540         * math/w_ilogbl.c: Likewise.
21542 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21544         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21545         va_copy.  Document allowing for unavailable va_copy only as
21546         pre-C99 compatibility.
21547         * manual/string.texi (Copying and Concatenation): Use va_copy
21548         instead of __va_copy in concat example.
21550 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21552         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21553         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21554         it if not null.
21556         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21557         with O_NOLINK passed to __file_name_lookup.
21559         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21560         with O_NOLINK passed to __file_name_lookup.
21562         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21563         negative N or less than NGIDS.
21565         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21566         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21567         enough.  Use memcpy instead of strncpy.
21569 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21571         * elf/Makefile (check-data): Remove.
21572         (localplt.data): New vpath directive.
21573         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21574         instead of $(check-data).
21575         * scripts/data/localplt-generic.data: Move to ...
21576         * sysdeps/generic/localplt.data: ... here.
21577         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21578         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21579         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21581         ... here.
21582         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21584         ... here.
21585         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21587         ... here.
21588         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21590         ... here.
21591         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21593         ... here.
21594         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21596         ... here.
21598 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21600         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21601         PPC32 and PPC64 files.
21602         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21603         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21605 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21607         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21608         __makecontext_ret to ...
21609         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21610         ... here and call exit if uc_link is NULL.  New file.
21611         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21612         __makecontext_ret.S.
21613         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21614         __makecontext_ret to ...
21615         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21616         ... here and call exit if uc_link is NULL.  New file.
21617         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21618         __makecontext_ret.S.
21620 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21622         * elf/elf.h (R_390_IRELATIVE): New definition.
21623         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21624         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21625         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21626         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21627         (elf_machine_lazy_rel): Likewise.
21628         * sysdeps/s390/dl-irel.h: New file.
21629         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21630         * sysdeps/s390/s390-64/memset.S: New asm code.
21631         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21632         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21633         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21634         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21635         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21636         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21637         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21638         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21639         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21640         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21641         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21642         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21643         * sysdeps/s390/s390-32/memset.S: New asm code.
21644         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21646 2012-07-17  Marek Polacek  <polacek@redhat.com>
21648         [BZ #14349]
21649         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21650         * sysdeps/s390/s390-64/configure.in: Likewise.
21651         * sysdeps/sparc/configure.in: Likewise.
21652         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21653         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21654         * sysdeps/i386/configure.in: Likewise.
21655         * sysdeps/x86_64/configure.in: Likewise.
21656         * sysdeps/sh/configure.in: Likewise.
21657         * sysdeps/s390/s390-32/configure: Regenerated.
21658         * sysdeps/s390/s390-64/configure: Likewise.
21659         * sysdeps/x86_64/configure: Likewise.
21660         * sysdeps/sh/configure: Likewise.
21661         * sysdeps/powerpc/powerpc64/configure: Likewise.
21662         * sysdeps/powerpc/powerpc32/configure: Likewise.
21663         * sysdeps/sparc/configure: Likwise.
21664         * sysdeps/i386/configure: Likewise.
21666         * elf/dl-open.c: Comment fixes.
21668 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21670         * Makefile [CXX] (check-data): Remove.
21671         [CXX] (c++-types.data): New vpath directive.
21672         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21673         vpath.  Do not allow for C++ type data being missing.
21674         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21675         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21676         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21677         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21678         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21679         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21680         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21682         ... here.
21683         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21685         ... here.
21686         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21688         ... here.
21689         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21691         ... here.
21692         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21694         ... here.
21695         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21697         ... here.
21698         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21700         ... here.
21701         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21704         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21705         definitions to architecture-specific files.
21706         (TLS_IE): Likewise.
21707         (TLS_LD): Likewise.
21708         (TLS_GD): Likewise.
21709         * sysdeps/i386/tls-macros.h: New file.
21710         * sysdeps/powerpc/tls-macros.h: Likewise.
21711         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21712         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21713         * sysdeps/sh/tls-macros.h: Likewise.
21714         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21715         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21716         * sysdeps/x86_64/tls-macros.h: Likewise.
21718 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21720         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21721         zero value for regular exit case.
21723         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21724         (__start_context): Preserve zero value for regular exit case.
21726 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21727             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21729         * manual/setjmp.texi (setcontext): Clarify normal process
21730         termination when uc_link is the null pointer.
21731         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21732         exit call.
21734 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21736         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21737         preprocessor.  Test for each exception mask separately.
21739 2012-07-16  Andreas Jaeger  <aj@suse.de>
21741         * po/ru.po: Update from translation team.
21743 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21745         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21746         equal to 0.
21747         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21748         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21749         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21750         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21751         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21753 2012-07-13  Andreas Jaeger  <aj@suse.de>
21755         * po/fr.po: Update from translation team.
21757 2012-07-12  Marek Polacek  <polacek@redhat.com>
21759         [BZ #14173]
21760         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21761         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21762         loop condition.
21764 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21766         [BZ #13717]
21767         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21768         Change to 2.4.1 where previously 2.4.0.
21769         * sysdeps/unix/sysv/linux/configure: Regenerated.
21770         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21771         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21772         version.
21773         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21774         (__ASSUME_AT_CLKTCK): Remove.
21775         (__ASSUME_AT_PAGESIZE): Likewise.
21776         (__ASSUME_AT_XID): Likewise.
21777         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21778         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21779         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21780         unconditionally.
21781         (HAVE_AUX_PAGESIZE): Likewise.
21782         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21783         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21784         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21786 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21788         [BZ #14307]
21789         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21790         the temporary buffer used to invoke __gethostbyname2_r,
21791         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21792         host_data / struct gaih_addrtuple.
21793         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21794         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21795         header file nss/nsswitch.h.
21796         * nss/nsswitch.h (global scope): Add definition of implementation
21797         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21798         resolv/nss_dns/dns-host.c).
21800 2012-07-11  Andreas Jaeger  <aj@suse.de>
21802         * po/fr.po: Update from translation team.
21804         * po/sv.po: Update from translation team
21805         * po/fr.po: Another update from translation team.
21807 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21809         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21810         for subnormals or multiply small sinh result by itself.
21811         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21814 2012-07-11  David S. Miller  <davem@davemloft.net>
21816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21818 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21820         [BZ #14347]
21821         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21822         (INTERNAL_MARK): Shift it here.
21824 2012-07-10  Marek Polacek  <polacek@redhat.com>
21826         [BZ #14151]
21827         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21828         libc_cv_asm_global_directive with .globl.
21829         * configure: Regenerated.
21830         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21831         with .globl.
21832         * sysdeps/i386/configure: Regenerated.
21833         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21834         with .globl.
21835         * sysdeps/x86_64/configure: Regenerated.
21836         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21837         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21838         * elf/tst-unique2mod2.c: Likewise.
21839         * elf/tst-unique2mod1.c: Likewise.
21840         * elf/tst-unique1mod2.c: Likewise.
21841         * elf/tst-unique1mod1.c: Likewise.
21842         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21843         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21844         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21845         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21846         * sysdeps/mach/sysdep.h: Likewise.
21847         * sysdeps/i386/sysdep.h: Likewise.
21848         * sysdeps/i386/i386-mcount.S: Likewise.
21849         * sysdeps/x86_64/_mcount.S: Likewise.
21850         * sysdeps/x86_64/sysdep.h: Likewise.
21851         * sysdeps/sh/_mcount.S: Likewise.
21852         * sysdeps/sh/sysdep.h: Likewise.
21853         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21854         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21855         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21856         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21857         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21858         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21859         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21860         * locale/localeinfo.h: Likewise.
21861         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21862         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21864 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21866         [BZ #14336]
21867         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21868         system".
21869         * manual/message.texi (The Uniforum approach): Likewise.
21870         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21871         (glibc iconv Implementation): Likewise.
21873 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21875         [BZ #14337]
21876         * math/s_clog.c (__clog): Avoid scaling a value down where that
21877         could result in underflow.
21878         * math/s_clog10.c (__clog10): Likewise.
21879         * math/s_clog10f.c (__clog10f): Likewise.
21880         * math/s_clog10l.c (__clog10l): Likewise.
21881         * math/s_clogf.c (__clogf): Likewise.
21882         * math/s_clogl.c (__clogl): Likewise.
21883         * math/libm-test.inc (clog_test): Add more tests.
21884         (clog10_test): Likewise.
21885         * sysdeps/i386/fpu/libm-test-ulps: Update.
21886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21888 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21890         [BZ #14283]
21891         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21892         by 7 not 8 to examine high bit of fractional part.
21894         [BZ #14042]
21895         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21896         for call to __mcount_internal.
21897         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21898         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21899         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21901 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21903         [BZ #14154]
21904         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21905         approximation for values within 0x1p-13f of an odd multiple of
21906         pi/4.
21907         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21908         exception.  Add more tests.
21909         * sysdeps/i386/fpu/libm-test-ulps: Update.
21911         [BZ #6778]
21912         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21913         inputs and return -1 for them.  Do not check for +Inf in case not
21914         reachable for +Inf.
21915         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21916         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21917         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21918         and return -1 for them.  Do not check for +Inf in case not
21919         reachable for +Inf.
21920         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21921         define.
21922         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21923         and return -1 for them.  Do not check for +Inf in case not
21924         reachable for +Inf.
21925         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21926         spurious underflow.
21927         * sysdeps/i386/fpu/libm-test-ulps: Update.
21928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21930 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21932         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21934 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21936         [BZ #14157]
21937         [BZ #14331]
21938         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21939         could result in spurious underflow.  Scale down values above
21940         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21941         * math/s_csqrtf.c (__csqrtf): Likewise.
21942         * math/s_csqrtl.c (__csqrtl): Likewise.
21943         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21944         spurious underflow.
21945         * sysdeps/i386/fpu/libm-test-ulps: Update.
21946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21948 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21950         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21951         xopen-msg.sed.
21952         * catgets/xopen-msg.awk: New file.
21953         * catgets/xopen-msg.sed: Removed.
21955         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21956         po2text.sed.
21957         * intl/po2test.awk: New file.
21958         * intl/po2test.sed: Removed.
21960 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21962         [BZ #14328]
21963         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21964         or multiply small sinh result by itself.
21965         * math/s_ctanf.c (__ctanf): Likewise.
21966         * math/s_ctanh.c (__ctanh): Likewise.
21967         * math/s_ctanhf.c (__ctanhf): Likewise.
21968         * math/s_ctanhl.c (__ctanhl): Likewise.
21969         * math/s_ctanl.c (__ctanl): Likewise.
21970         * math/libm-test.inc (ctan_test_tonearest): New function.
21971         (ctan_test_towardzero): Likewise.
21972         (ctan_test_downward): Likewise.
21973         (ctan_test_upward): Likewise.
21974         (ctanh_test_tonearest): Likewise.
21975         (ctanh_test_towardzero): Likewise.
21976         (ctanh_test_downward): Likewise.
21977         (ctanh_test_upward): Likewise.
21978         (main): Call these new functions.
21979         * sysdeps/i386/fpu/libm-test-ulps: Update.
21980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21982 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21984         * .gitignore: Delete /ports entry.
21986 2012-07-03  Andreas Jaeger  <aj@suse.de>
21988         * po/bg.po: Update from translation team.
21989         * po/cs.po: Likewise.
21990         * po/de.po: Likewise.
21991         * po/hr.po: Likewise.
21992         * po/nl.pl: Likewise.
21993         * po/pl.po: Likewise.
21994         * po/vi.po: Likewise.
21996 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21998         * Makeconfig [!+link] (+link-before-libc): New variable.
21999         [!+link] (+link-after-libc): Likewise.
22000         [!+link] (+link-tests): Likewise.
22001         [!+link] (+link): Define in terms of $(+link-before-libc) and
22002         $(+link-after-libc).
22003         [!+link-static] (+link-static-before-libc): New variable.
22004         [!+link-static] (+link-static-after-libc): Likewise.
22005         [!+link-static] (+link-static-tests): Likewise.
22006         [!+link-static] (+link-static): Define in terms of
22007         $(+link-static-before-libc) and $(+link-static-after-libc).
22008         [build-shared] (link-libc-before-gnulib): New variable.
22009         [build-shared] (link-libc-tests): Likewise.
22010         [build-shared] (link-libc): Define in terms of
22011         $(link-libc-before-gnulib).
22012         [!build-shared] (link-libc-tests): New variable.
22013         (link-libc-static-tests): New variable.
22014         [!gnulib] (gnulib-arch): New variable.
22015         [!gnulib] (gnulib-tests): Likewise.
22016         [!gnulib] (static-gnulib-arch): Likewise.
22017         [!gnulib] (static-gnulib-tests): Likewise.
22018         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22019         Define with "=" instead of ":=".
22020         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22021         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22022         * Rules (binaries-all-notests): New variable.
22023         (binaries-all-tests): Likewise.
22024         (binaries-static-notests): Likewise.
22025         (binaries-static-tests): Likewise.
22026         (binaries-all): Define using $(binaries-all-notests) and
22027         $(binaries-all-tests).
22028         (binaries-static): Define using $(binaries-static-notests) and
22029         $(binaries-static-tests).
22030         (binaries-shared-tests): New variable.
22031         (binaries-shared-notests): Likewise.
22032         (binaries-shared): Remove variable.
22033         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22034         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22035         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22036         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22037         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22038         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22039         * elf/Makefile (sln-modules): New variable.
22040         (extra-objs): Add $(sln-modules:=.o).
22041         (ldconfig-modules): Add static-stubs.
22042         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22043         * elf/static-stubs.c: New file.
22045         [BZ #14283]
22046         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22047         by 7 not 8 to examine high bit of fractional part.  Use volatile
22048         variables when splitting into final array of floats if
22049         __FLT_EVAL_METHOD__ != 0.
22050         * math/libm-test.inc (cos_test): Add another test.
22051         (sin_test): Likewise.
22052         * sysdeps/i386/fpu/libm-test-ulps: Update.
22054         [BZ #14273]
22055         * math/libm-test.inc (cosh_test): Add more tests.
22057         * version.h (RELEASE): Set to "development".
22058         (VERSION): Set to "2.16.90".
22060 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22062         * NEWS: Update copyright. Remove last-updated date.
22063         Mention math library bug fixes and timezone data changes.
22064         * README: Mention GNU/Hurd, x32, and HPPA support status.
22066 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22068         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22070 2012-06-27  Andreas Jaeger  <aj@suse.de>
22072         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22074 2012-06-25  Andreas Jaeger  <aj@suse.de>
22076         * sysdeps/s390/fpu/libm-test-ulps: Update.
22078 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22079             Thomas Schwinge  <thomas@codesourcery.com>
22081         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22082         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22083         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22084         fanotify_mark.
22086 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22088         * sysdeps/mach/start.c: Remove file.
22089         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22090         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22091         * sysdeps/sh/init-first.c: Likewise.
22093         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22094         registers for frame unwinding purposes, add CFI directives.
22095         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22096         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22097         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22098         Likewise.
22100         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22101         __fortify_fail returning.
22102         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22104         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22105         sysdeps/sh/____longjmp_chk.S.
22106         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22107         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22108         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22109         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22111         * sysdeps/sh/abort-instr.h: New file.
22112         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22113         process in case exit returns.
22115         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22116         initialize the GOT register before use.
22118         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22119         calculation of ARGC > 4.
22121         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22122         meaningful names to some local labels.
22124 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22125             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22127         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22128         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22129         (__arch_compare_and_exchange_val_16_acq): Likewise.
22130         (__arch_compare_and_exchange_val_32_acq): Likewise.
22131         (atomic_exchange_and_add): Fix gUSA sequence.
22132         (atomic_add): Likewise.
22133         (atomic_add_negative): Likewise.
22134         (atomic_add_zero): Likewise.
22135         (atomic_bit_test_set): Likewise.
22137 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22139         [BZ #13579]
22140         * include/link.h (struct link_map): Add l_free_initfini.
22141         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22142         l_initfini.
22143         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22144         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22145         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22146         set.
22148 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22150         * configure.in: Use AC_LANG_SOURCE.
22151         * configure: Regenerate.
22153 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22155         * configure.in (libc_cv_localstatedir): New substituted variable.
22156         * configure: Regenerated.
22157         * config.make.in (localstatedir): New variable, substituted from
22158         libc_cv_localstatedir.
22159         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22160         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22161         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22162         * sysdeps/gnu/configure: Regenerated.
22164 2012-06-21  Jeff Law  <law@redhat.com>
22166         [BZ #14277]
22167         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22168         free.  Simplify list management for _LIBC case.
22170 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22172         [BZ #14273]
22173         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22174         Clear sign bit of 64-bit integer value before comparing against
22175         overflow value.
22177         * sysdeps/mach/configure: Regenerated.
22179 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22181         [BZ #14278]
22182         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22184 2012-06-21  Jeff Law  <law@redhat.com>
22186         [BZ #13882]
22187         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22188         uint16_t for elements in the "seen" array to avoid char overflows.
22189         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22190         * elf/dl-open.c (dl_open_worker): Likewise.
22192 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22194         * scripts/list-sources.sh: Scan PORTS for translations.
22195         * po/libc.pot: Regenerated.
22197 2012-06-21  Andreas Jaeger  <aj@suse.de>
22199         [BZ #12194]
22200         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22201         warning.
22202         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22203         * bits/byteswap-16.h (__bswap_16): Likewise.
22204         * bits/byteswap.h (__bswap_constant_16): Likewise.
22206 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22208         [BZ #14117]
22209         * sysdeps/i386/fpu_control.h: Removed.
22210         * sysdeps/x86_64/fpu_control.h: Moved to ...
22211         * sysdeps/x86/fpu_control.h: Here.
22213         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22214         (_FPU_SETCW): Likewise.
22216 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22218         [BZ #14117]
22219         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22220         * sysdeps/x86/fpu/bits/mathinline.h: This.
22221         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22223         [BZ #14050]
22224         [BZ #14117]
22225         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22226         functions if __x86_64__ is defined.
22228 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22230         * string/endian.h: Add !__ASSEMBLER__ condition for including
22231         conversion interfaces.
22233 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22235         [BZ #14241]
22236         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22237         of ABS(x) in calculating zero to negative powers other than odd
22238         integers.
22239         * math/libm-test.inc (pow_test): Add more tests.
22241 2012-06-15  Andreas Jaeger  <aj@suse.de>
22243         * manual/contrib.texi (Contributors): Update entry of Liubov
22244         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22245         Machado Filho.
22247 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22249         * string/string.h: Add __wur to GNU version of strerror_r.
22251 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22253         [BZ #14229]
22254         * string/Makefile (tests): Add tst-strtok_r.
22255         * string/tst-strtok_r.c: New file.
22256         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22257         RAX_LP/RDX_LP on SAVE_PTR.
22259 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22261         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22263 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22265         * libm_test.inc (csqrt_test): Allow more spurious underflow
22266         exceptions.
22267         (j0_test): Likewise.
22268         (j1_test): Likewise.
22269         (y0_test): Likewise.
22270         (y1_test): Likewise.
22272 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22274         * po/Makefile (libc.pot): Use UTF-8 charset.
22276 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22278         [BZ #14210]
22279         Suppress sign-conversion warning from FD_SET.
22280         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22281         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22282         not unsigned long int.
22283         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22285 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22287         [BZ #14050]
22288         [BZ #14117]
22289         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22290         __extern_always_inline instead of __extern_inline.
22291         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22292         (__signbit): Likewise.
22293         (__signbitl): Support C++ namespace.
22294         (lrintf): New inline function.
22295         (lrint): Likewise.
22296         (llrintf): Likewise.
22297         (llrint): Likewise.
22298         (fmaxf): Likewise.
22299         (fmax): Likewise.
22300         (fminf): Likewise.
22301         (fmin): Likewise.
22302         (rint): Likewise.
22303         (rintf): Likewise.
22304         (ceil): Likewise.
22305         (ceilf): Likewise.
22306         (floor): Likewise.
22307         (floorf): Likewise.
22308         (nearbyint): Likewise.
22309         (nearbyintf): Likewise.
22311 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22313         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22314         non-default versions.
22316 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22318         [BZ #14218]
22319         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22321 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22323         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22324         (FE_UPWARD, FE_DOWNWARD): Don't define.
22325         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22326         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22328         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22329         reading it.
22330         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22331         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22333 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22335         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22336         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22337         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22338         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22340 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22342         [BZ #14117]
22343         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22344         * sysdeps/i386/fpu/Implies: New file.
22345         * sysdeps/x86_64/fpu/Implies: Likewise.
22346         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22347         * sysdeps/x86/fpu/bits/fenv.h: This.
22349         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22350         __SSE_MATH__.
22352 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22354         [BZ #14134]
22355         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22356         character 0xffff that matches the last element of the
22357         conversion table.
22359 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22361         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22362         fmodl commit.
22364 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22366         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22367         values higher than 25.6283.
22369 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22371         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22372         subnormal exponent extraction and add some __builtin_expect.
22373         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22374         Fix for subnormal mantissa calculation.
22376 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22378         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22379         cpu2 is -1 and errno is not ENOSYS.
22381 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22383         [BZ #14117]
22384         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22385         * sysdeps/x86/bits/string.h: This.
22386         * sysdeps/x86_64/bits/string.h: Removed.
22388         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22389         if not compiling for x86-64, but compiling for >= i486.
22391         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22392         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22394         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22395         New macro from Linux kernel 3.4.0.
22396         (FP_XSTATE_MAGIC2): Likewise.
22397         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22398         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22399         (struct _fpx_sw_bytes): New struct.
22400         (struct _xsave_hdr): Likewise.
22401         (struct _ymmh_state): Likewise.
22402         (struct _xstate): Likewise.
22404         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22405         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22406         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22407         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22408         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22409         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22411         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22412         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22413         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22414         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22415         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22416         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22418 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22420         [BZ #13743]
22421         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22422         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22423         (sysdep_headers): Include sys/platform/ppc.h.
22424         * sysdeps/powerpc/test-gettimebase.c: Test for
22425         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22426         * manual/Makefile (appendices): Include platform.texi.
22427         * manual/contrib.texi (Contributors): Update @node pointers.
22428         * manual/maint.texi (Maintenance): Likewise.
22429         (Platform): New node.
22430         * manual/platform.texi: New file.  Document the new features.
22432 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22433             Jakub Jelinek  <jakub@redhat.com>
22435         [BZ #14188]
22436         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22437         where __builtin_expect is unavailable.
22439 2012-06-03  David S. Miller  <davem@davemloft.net>
22441         * stdlib/longlong.h: Updated from GCC.
22443 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22445         [BZ #14042]
22446         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22447         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22448         __mcount_internal.
22449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22450         (GLIBC_2.16): Likewise.
22452 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22454         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22456 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22459         (default-abi): New variable.
22460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22461         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22462         variable.
22463         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22464         Likewise.
22465         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22466         Likewise.
22467         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22468         Likewise.
22470         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22471         definition.  Document in comment.
22473 2012-06-01  David S. Miller  <davem@davemloft.net>
22475         * stdlib/longlong.h: Updated from GCC.
22477 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22479         [BZ #14117]
22480         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22481         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22482         sys/debugreg.h sys/io.h here.
22483         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22484         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22485         sys/io.h.
22486         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22487         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22488         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22489         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22490         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22491         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22493         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22494         Define only if __x86_64__ is defined.
22496 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22498         [BZ #14048]
22499         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22500         Use int64_t for variable i.
22501         * math/libm-test.inc (fmod_test): Add more tests.
22503         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22504         z computation is not scheduled after fetestexcept.
22505         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22506         Use math_force_eval instead of asm to ensure calculation scheduled
22507         before exception test.
22508         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22509         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22511 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22514         computation is not scheduled after fetestexcept.
22516 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22518         [BZ #14117]
22519         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22520         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22522 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22524         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22525         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22527 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22529         [BZ #14117]
22530         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22531         <bits/wordsize.h>.
22532         (__WCHAR_MIN): Support __WORDSIZE == 64.
22533         (__WCHAR_MAX): Likewise.
22535         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22536         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22538         [BZ #14183]
22539         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22540         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22542         [BZ #14117]
22543         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22544         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22546         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22547         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22549         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22550         Defined to 1 if __x86_64__ isn't defined.
22551         (_STAT_VER_LINUX_OLD): New.
22552         (st_atime): Remove duplicate.
22553         (st_mtime): Likewise.
22554         (st_ctime): Likewise.
22556 2012-05-31  David S. Miller  <davem@davemloft.net>
22558         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22559         entries.
22561 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22563         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22564         gen-libm-test.pl.
22566         [BZ #14132]
22567         * elf/dl-reloc.c: Include <_itoa.h>.
22568         (_dl_reloc_bad_type): Remove use of INTUSE.
22569         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22570         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22571         * stdio-common/psiginfo.c (psiginfo): Likewise.
22572         * stdio-common/psignal.c (psignal): Likewise.
22573         * string/strsignal.c (strsignal): Likewise.
22574         * include/signal.h (_sys_siglist): Declare hidden proto.
22575         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22576         INTVARDEF with libc_hidden_data_def.
22577         * stdio-common/itoa-udigits.c: Likewise.
22578         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22579         (_itoa_lower_digits_internal): Remove declaration.
22580         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22581         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22582         (_sys_sigabbrev_internal): Remove aliases.
22583         (_sys_siglist): Define hidden alias.
22585 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22588         bits/sysctl.h.
22590 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22592         [BZ #14117]
22593         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22594         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22596         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22597         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22598         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22599         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22600         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22601         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22603         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22604         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22605         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22607         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22608         with __addr.
22609         (insw): Likewise.
22610         (insl): Likewise.
22611         (outsb): Likewise.
22612         (outsw): Likewise.
22613         (outsl): Likewise.
22615         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22616         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22617         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22619         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22620         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22621         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22622         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22623         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22624         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22626         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22627         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22629         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22630         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22632         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22633         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22634         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22636         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22637         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22638         to ...
22639         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22641         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22642         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22643         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22645         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22646         for x86-64.
22647         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22649 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22651         * math/math.h (M_El): Use two more decimal places.
22652         (M_LOG2El): Likewise.
22653         (M_LOG10El): Likewise.
22654         (M_LN2l): Likewise.
22655         (M_LN10l): Likewise.
22656         (M_PIl): Likewise.
22657         (M_PI_2l): Likewise.
22658         (M_PI_4l): Likewise.
22659         (M_1_PIl): Likewise.
22660         (M_2_PIl): Likewise.
22661         (M_2_SQRTPIl): Likewise.
22662         (M_SQRT2l): Likewise.
22663         (M_SQRT1_2l): Likewise.
22665 2012-05-31  David S. Miller  <davem@davemloft.net>
22667         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22668         values between float registers.
22669         * sysdeps/sparc/sparc64/memset.S: Likewise.
22670         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22672 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22674         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22675         -D_FORTIFY_SOURCE=1.
22676         (CPPFLAGS-tst-longjmp_chk.c): Define.
22677         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22678         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22679         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22680         CFLAGS-tst-wchar-h.c.
22682 2012-05-31  Marek Polacek  <polacek@redhat.com>
22684         [BZ #14132]
22685         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22686         __endmntent_internal): Remove declaration.
22687         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22688         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22689         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22691 2012-05-30  David S. Miller  <davem@davemloft.net>
22693         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22694         (___Q_simulate_exceptions): Use real FP ops rather than writing
22695         into the %fsr.
22696         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22697         Likewise.
22699 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22701         [BZ #14117]
22702         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22703         * sysdeps/x86/bits/xtitypes.h: This.
22705         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22706         * sysdeps/x86/bits/wordsize.h: This.
22708         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22709         * sysdeps/x86/bits/huge_vall.h: This.
22711         * sysdeps/i386/bits/select.h: Removed.
22712         * sysdeps/x86_64/bits/select.h: Renamed to ...
22713         * sysdeps/x86/bits/select.h: This.
22715         * sysdeps/i386/bits/setjmp.h: Removed.
22716         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22717         * sysdeps/x86/bits/setjmp.h: This.
22719         * sysdeps/i386/bits/mathdef.h: Removed.
22720         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22721         * sysdeps/x86/bits/mathdef.h: This.
22723 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22725         [BZ #14132]
22726         * include/sys/socket.h (__connect_internal)
22727         (__libc_sa_len_internal): Remove declaration.
22728         (__connect, __libc_sa_len): Declare hidden_proto.
22729         (SA_LEN): Remove use of INTUSE.
22730         * socket/connect.c: Add libc_hidden_def.
22731         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22732         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22733         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22734         alias.
22735         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22736         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22737         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22738         of adding _internal alias.
22740 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22742         [BZ #14117]
22743         * sysdeps/i386/bits/link.h: Removed.
22744         * sysdeps/i386/bits/linkmap.h: Likewise.
22745         * sysdeps/x86_64/bits/link.h: Renamed to ...
22746         * sysdeps/x86/bits/link.h: This.
22747         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22748         * sysdeps/x86/bits/linkmap.h: This.
22750         * sysdeps/i386/bits/endian.h: Removed.
22751         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22752         * sysdeps/x86/bits/endian.h: This.
22754         * sysdeps/i386/bits/byteswap.h: Removed.
22755         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22756         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22757         * sysdeps/x86/bits/byteswap.h: This.
22758         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22759         * sysdeps/x86/bits/byteswap-16.h: This.
22760         * sysdeps/i386/Implies: Add x86.
22761         * sysdeps/x86_64/Implies: Likewise.
22763 2012-05-30  David S. Miller  <davem@davemloft.net>
22765         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22766         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22767         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22768         (FP_TRAPPING_EXCEPTIONS): Define.
22769         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22770         (FP_TRAPPING_EXCEPTIONS): Define.
22771         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22772         subnormals only when inexact has been signalled or underflow
22773         exceptions are enabled.
22774         (_FP_PACK_CANONICAL): Likewise.
22776 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22778         [BZ #14183]
22779         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22780         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22782 2012-05-30  Richard Henderson  <rth@twiddle.net>
22784         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22785         with #ifndef NOT_IN_libc.
22787         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22788         marked to avoid plt entry.
22790 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22792         [BZ #14112]
22793         * Makeconfig (default-abi): New macro.
22794         (abi-includes): Likewise.
22795         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22796         $(abi-$(default-abi)-lib-soname) for soname if defined.
22797         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22798         abi-variants.
22799         * Makefile (installed-stubs): Likewise.
22800         * include/stubs-biarch.h: Removed.
22801         * scripts/lib-names.awk: Only handle one library at a time.
22802         * scripts/soversions.awk: Remove WORDSIZE support.
22803         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22804         entries.
22805         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22806         Removed.
22807         (syscall-list-default-condition): Likewise.
22808         (syscall-list-default-condition): Likewise.
22809         (syscall-list-includes): Likewise.
22810         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22811         syscall-list-* with abi-*.  Handle undefined abi-variants.
22812         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22813         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22814         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22815         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22816         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22817         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22818         Removed.
22819         (syscall-list-32-options): Likewise.
22820         (syscall-list-32-condition): Likewise.
22821         (syscall-list-64-options): Likewise.
22822         (syscall-list-64-condition): Likewise.
22823         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22824         macro.
22825         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22826         Renamed to ...
22827         (abi-*): This.
22828         (abi-64-ld-soname): New macro.
22829         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22830         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22831         Renamed to ...
22832         (abi-*): This.
22833         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22834         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22836 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22838         * sysdeps/unix/sysv/linux/kernel-features.h
22839         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22840         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22841         include <kernel-features.h>.
22842         [!__NR_ftruncate64]: Remove conditional code.
22843         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22844         [__NR_ftruncate64]: Make code unconditional.
22845         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22846         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22847         include <kernel-features.h>.
22848         [!__NR_ftruncate64]: Remove conditional code.
22849         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22850         [__NR_ftruncate64]: Make code unconditional.
22851         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22853         include <kernel-features.h>.
22854         [!__NR_ftruncate64]: Remove conditional code.
22855         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22856         [__NR_ftruncate64]: Make code unconditional.
22857         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22859         include <kernel-features.h>.
22860         [!__NR_ftruncate64]: Remove conditional code.
22861         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22862         [__NR_ftruncate64]: Make code unconditional.
22863         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22865         * configure.in (libc_cv_fpie): Weaken to a compile test using
22866         LIBC_TRY_CC_OPTION.
22867         * configure: Regenerated.
22869 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22875         Refreshed.
22876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22882         Refreshed.
22884 2012-05-27  David S. Miller  <davem@davemloft.net>
22886         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22887         (___Q_zero): New.
22888         (__Q_simulate_exceptions): Return void.  Change to simulate
22889         exceptions by writing into the %fsr.
22890         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22891         (__Qp_handle_exceptions): Likewise.
22892         (numbers): Delete.
22893         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22894         __Qp_handle_exceptions.
22895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22896         __Qp_handle_exceptions.
22897         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22898         as unused and give dummy FP_RND_NEAREST initializer.
22899         (FP_INHIBIT_RESULTS): Define.
22900         (___Q_simulate_exceptions): Update declaration.
22901         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22902         formatting.
22903         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22904         as unused and give dummy FP_RND_NEAREST initializer.
22905         (__Qp_handle_exceptions): Update declaration.
22906         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22907         formatting.
22909 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22911         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22912         the temporary FPU control word.
22913         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22914         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22915         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22916         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22917         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22918         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22919         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22920         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22921         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22922         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22923         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22925 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22927         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22928         fields.
22930 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22932         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22933         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22934         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22935         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22936         Likewise.
22937         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22938         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22939         Likewise.
22941 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22943         * po/h.po: Update from translation team.
22945 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22947         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22949         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22950         handling of denormals.
22951         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22952         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22953         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22954         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22955         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22956         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22957         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22958         Likewise.
22960 2012-05-26  Marek Polacek  <polacek@redhat.com>
22962         [BZ #14152]
22963         * math/libm-test.inc (fma_test): Don't always expect underflow
22964         exception.
22966 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22968         [BZ #12416]
22969         * elf/tst-execstack.c: Include stackinfo.h.
22970         (do_test): Adjust test case to ensure that pthread_getattr_np
22971         behaviour remains the same after marking stack executable.
22973 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22975         * sysdeps/unix/sysv/linux/kernel-features.h
22976         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22977         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22978         kernel-features.h.
22979         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22980         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22981         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22982         kernel-features.h.
22983         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22984         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22986 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22988         * configure.in: Define the default includes to being none.
22989         * configure: Regenerated.
22991 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22993         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22994         * sysdeps/x86_64/setjmp.S: Likewise.
22995         * sysdeps/i386/bsd-setjmp.S: Likewise.
22996         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22997         * sysdeps/i386/setjmp.S: Likewise.
22998         * sysdeps/i386/__longjmp.S: Likewise.
22999         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23000         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23002         * include/stap-probe.h: New file.
23003         * configure.in: Handle --enable-systemtap.
23004         * configure: Regenerated.
23005         * config.h.in (USE_STAP_PROBE): New #undef.
23006         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23007         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23008         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23010 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23012         [BZ #13717]
23013         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23014         to 2.4.0 where earlier.
23015         * sysdeps/unix/sysv/linux/configure: Regenerated.
23016         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23017         <kernel-features.h>.
23018         [__ASSUME_32BITUIDS]: Make code unconditional.
23019         [!__ASSUME_32BITUIDS]: Remove conditional code.
23020         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23021         <kernel-features.h>.
23022         [__ASSUME_32BITUIDS]: Make code unconditional.
23023         [!__ASSUME_32BITUIDS]: Remove conditional code.
23024         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23025         [__ASSUME_32BITUIDS]: Make code unconditional.
23026         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23027         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23028         <kernel-features.h>.
23029         [__ASSUME_32BITUIDS]: Make code unconditional.
23030         [!__ASSUME_32BITUIDS]: Remove conditional code.
23031         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23032         <kernel-features.h>.
23033         [__ASSUME_32BITUIDS]: Make code unconditional.
23034         [!__ASSUME_32BITUIDS]: Remove conditional code.
23035         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23036         <kernel-features.h>.
23037         [__ASSUME_32BITUIDS]: Make code unconditional.
23038         [!__ASSUME_32BITUIDS]: Remove conditional code.
23039         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23040         <kernel-features.h>.
23041         [__ASSUME_32BITUIDS]: Make code unconditional.
23042         [!__ASSUME_32BITUIDS]: Remove conditional code.
23043         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23044         <kernel-features.h>.
23045         [__ASSUME_32BITUIDS]: Make code unconditional.
23046         [!__ASSUME_32BITUIDS]: Remove conditional code.
23047         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23048         <kernel-features.h>.
23049         [__ASSUME_32BITUIDS]: Make code unconditional.
23050         [!__ASSUME_32BITUIDS]: Remove conditional code.
23051         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23052         <kernel-features.h>.
23053         [__ASSUME_32BITUIDS]: Make code unconditional.
23054         [!__ASSUME_32BITUIDS]: Remove conditional code.
23055         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23056         <kernel-features.h>.
23057         [__ASSUME_32BITUIDS]: Make code unconditional.
23058         [!__ASSUME_32BITUIDS]: Remove conditional code.
23059         * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
23068         <kernel-features.h>.
23069         [__NR_setresgid] (__setresgid): Do not declare.
23070         [__ASSUME_32BITUIDS]: Make code unconditional.
23071         [!__ASSUME_32BITUIDS]: Remove conditional code.
23072         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23073         <kernel-features.h>.
23074         [__NR_setresuid] (__setresuid): Do not declare.
23075         [__ASSUME_32BITUIDS]: Make code unconditional.
23076         [!__ASSUME_32BITUIDS]: Remove conditional code.
23077         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23078         <kernel-features.h>.
23079         [__ASSUME_32BITUIDS]: Make code unconditional.
23080         [!__ASSUME_32BITUIDS]: Remove conditional code.
23081         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23082         <kernel-features.h>.
23083         [__ASSUME_32BITUIDS]: Make code unconditional.
23084         [!__ASSUME_32BITUIDS]: Remove conditional code.
23085         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23086         <kernel-features.h>.
23087         [__ASSUME_32BITUIDS]: Make code unconditional.
23088         [!__ASSUME_32BITUIDS]: Remove conditional code.
23089         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23090         <kernel-features.h>.
23091         [__ASSUME_32BITUIDS]: Make code unconditional.
23092         [!__ASSUME_32BITUIDS]: Remove conditional code.
23093         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23094         <kernel-features.h>.
23095         [__ASSUME_32BITUIDS]: Make code unconditional.
23096         [!__ASSUME_32BITUIDS]: Remove conditional code.
23097         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23098         <kernel-features.h>.
23099         [__ASSUME_32BITUIDS]: Make code unconditional.
23100         [!__ASSUME_32BITUIDS]: Remove conditional code.
23101         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23102         <kernel-features.h>.
23103         [__ASSUME_32BITUIDS]: Make code unconditional.
23104         [!__ASSUME_32BITUIDS]: Remove conditional code.
23105         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23106         <kernel-features.h>.
23107         [__ASSUME_32BITUIDS]: Make code unconditional.
23108         [!__ASSUME_32BITUIDS]: Remove conditional code.
23109         * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
23118         (__ASSUME_SETRESUID_SYSCALL): Remove.
23119         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23120         (__ASSUME_32BITUIDS): Likewise.
23121         (__ASSUME_LDT_WORKS): Likewise.
23122         (__ASSUME_O_DIRECTORY): Likewise.
23123         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23124         architecture but not kernel version.
23125         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23126         (__ASSUME_MMAP2_SYSCALL): Likewise.
23127         (__ASSUME_STAT64_SYSCALL): Likewise.
23128         (__ASSUME_IPC64): Likewise.
23129         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23130         <kernel-features.h>.
23131         [__ASSUME_32BITUIDS]: Make code unconditional.
23132         [!__ASSUME_32BITUIDS]: Remove conditional code.
23133         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23134         <kernel-features.h>.
23135         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23136         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23137         132096]: Remove conditional code.
23138         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23139         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23140         <kernel-features.h>.
23141         [__ASSUME_32BITUIDS]: Make code unconditional.
23142         [!__ASSUME_32BITUIDS]: Remove conditional code.
23143         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23144         <kernel-features.h>.
23145         [__ASSUME_32BITUIDS]: Make code unconditional.
23146         [!__ASSUME_32BITUIDS]: Remove conditional code.
23147         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23148         <kernel-features.h>.
23149         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23150         unconditional.
23151         (__setresgid): Do not declare.
23152         [__ASSUME_32BITUIDS]: Make code unconditional.
23153         [!__ASSUME_32BITUIDS]: Remove conditional code.
23154         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23155         <kernel-features.h>.
23156         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23157         unconditional.
23158         (__setresuid): Do not declare.
23159         [__ASSUME_32BITUIDS]: Make code unconditional.
23160         [!__ASSUME_32BITUIDS]: Remove conditional code.
23161         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23162         <kernel-features.h>.
23163         [__ASSUME_32BITUIDS]: Make code unconditional.
23164         [!__ASSUME_32BITUIDS]: Remove conditional code.
23165         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23166         <kernel-features.h>.
23167         [__ASSUME_32BITUIDS]: Make code unconditional.
23168         [!__ASSUME_32BITUIDS]: Remove conditional code.
23170 2012-05-25  Richard Henderson  <rth@twiddle.net>
23172         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23173         dl_hwcap to ifunc resolver.
23174         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23175         elf_ifunc_invoke.
23176         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23177         dl_hwcap to ifunc resolver.
23178         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23180 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23182         [BZ #14153]
23183         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23184         for |x| <= 2**-26, not 2**-57.
23185         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23186         exception.
23188 2012-05-24  Jeff Law  <law@redhat.com>
23190         * stdio-common/Makefile (tests): Add bug25.
23191         * stdio-common/bug25.c: New test.
23193 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23195         [BZ #13576]
23196         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23197         multiple of MALLOC_ALIGNMENT in size.
23198         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23200 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23202         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23203         Require >= 256.
23204         (FILENAME_MAX): Use macro-int-constant.
23205         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23206         (_IOFBF): Use macro-int-constant.
23207         (_IOLBF): Likewise.
23208         (_IONBF): Likewise.
23209         (SEEK_CUR): Likewise.
23210         (SEEK_END): Likewise.
23211         (SEEK_SET): Likewise.
23212         (TMP_MAX): Likewise.
23213         (EOF): Use macro-int-constant.  Require < 0.
23214         (NULL): Use macro-constant.  Require == 0.
23215         (stdin): Require type to be FILE *.
23216         (stdout): Likewise.
23217         (stderr): Likewise.
23218         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23219         macro-int-constant.
23220         (EXIT_SUCCESS): Likewise.
23221         (NULL): Use macro-constant.  Require == 0.
23222         (RAND_MAX): Use macro-int-constant.
23223         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23224         [C99-based standards] (strtof): Require function.
23225         [C99-based standards] (strtold): Likewise.
23226         [C99-based standards] (strtoll): Likewise.
23227         [C99-based standards] (strtoull): Likewise.
23228         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23229         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23230         [ISO || ISO99 || ISO11] (math.h): Likewise.
23231         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23232         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23235 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23237         [BZ #14132]
23238         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23239         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23240         * intl/dgettext.c (DCGETTEXT): Likewise.
23241         * intl/gettext.c (DCGETTEXT): Likewise.
23242         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23243         * posix/regex_internal.h (gettext): Likewise.
23244         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23245         Remove declaration.
23246         * include/argz.h (__argz_count_internal)
23247         (__argz_stringify_internal): Remove declaration.
23248         (__argz_count, __argz_stringify): Declare hidden proto.
23249         * intl/dcgettext.c: Remove use of INTDEF.
23250         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23251         * string/argz-stringify.c: Likewise.
23252         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23253         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23254         Declare hidden proto.
23255         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23256         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23257         Declare hidden proto.
23258         * include/stdio.h (__asprintf_internal): Don't declare.
23259         (__asprintf): Don't define as macro.  Declare hidden proto.
23260         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23261         (__fsetlocking): Declare hidden proto.
23262         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23263         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23264         hidden proto.
23265         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23266         (_IO_setlinebuf): Remove use of INTUSE.
23267         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23268         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23269         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23270         Remove declaration.
23271         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23272         (_IO_do_flush): Remove use of INTUSE.
23273         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23274         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23275         (_IO_adjust_column, _IO_least_wmarker)
23276         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23277         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23278         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23279         (_IO_default_doallocate, _IO_wdefault_doallocate)
23280         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23281         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23282         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23283         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23284         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23285         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23286         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23287         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23288         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23289         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23290         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23291         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23292         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23293         proto.
23294         (_IO_flush_all_internal, _IO_adjust_column_internal)
23295         (_IO_default_uflow_internal, _IO_default_finish_internal)
23296         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23297         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23298         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23299         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23300         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23301         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23302         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23303         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23304         (_IO_file_close_internal, _IO_file_close_it_internal)
23305         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23306         (_IO_file_init_internal, _IO_file_attach_internal)
23307         (_IO_file_fopen_internal, _IO_file_read_internal)
23308         (_IO_file_sync_internal, _IO_file_seek_internal)
23309         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23310         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23311         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23312         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23313         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23314         (_IO_list_all_internal, _IO_link_in_internal)
23315         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23316         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23317         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23318         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23319         (_IO_do_write_internal, _IO_padn_internal)
23320         (_IO_getline_info_internal, _IO_getline_internal)
23321         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23322         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23323         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23324         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23325         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23326         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23327         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23328         with libc_hidden_ver, remove use of INTUSE.
23329         * libio/genops.c: Likewise.
23330         * libio/freopen.c: Likewise.
23331         * libio/freopen64.c: Likewise.
23332         * libio/iofclose.c: Likewise.
23333         * libio/iofdopen.c: Likewise.
23334         * libio/iofflush.c: Likewise.
23335         * libio/iofflush_u.c: Likewise.
23336         * libio/iofgets.c: Likewise.
23337         * libio/iofgets_u.c: Likewise.
23338         * libio/iofopen.c: Likewise.
23339         * libio/iofopncook.c: Likewise.
23340         * libio/iofread.c: Likewise.
23341         * libio/iofread_u.c: Likewise.
23342         * libio/ioftell.c: Likewise.
23343         * libio/iofwrite.c: Likewise.
23344         * libio/iogetline.c: Likewise.
23345         * libio/iogets.c: Likewise.
23346         * libio/iogetwline.c: Likewise.
23347         * libio/iopadn.c: Likewise.
23348         * libio/iopopen.c: Likewise.
23349         * libio/ioseekoff.c: Likewise.
23350         * libio/ioseekpos.c: Likewise.
23351         * libio/iosetbuffer.c: Likewise.
23352         * libio/iosetvbuf.c: Likewise.
23353         * libio/ioungetc.c: Likewise.
23354         * libio/ioungetwc.c: Likewise.
23355         * libio/iovdprintf.c: Likewise.
23356         * libio/iovsprintf.c: Likewise.
23357         * libio/iovsscanf.c: Likewise.
23358         * libio/memstream.c: Likewise.
23359         * libio/obprintf.c: Likewise.
23360         * libio/oldfileops.c: Likewise.
23361         * libio/oldiofclose.c: Likewise.
23362         * libio/oldiofdopen.c: Likewise.
23363         * libio/oldiofopen.c: Likewise.
23364         * libio/oldiopopen.c: Likewise.
23365         * libio/oldstdfiles.c: Likewise.
23366         * libio/putc.c: Likewise.
23367         * libio/setbuf.c: Likewise.
23368         * libio/setlinebuf.c: Likewise.
23369         * libio/stdfiles.c: Likewise.
23370         * libio/strops.c: Likewise.
23371         * libio/vasprintf.c: Likewise.
23372         * libio/vscanf.c: Likewise.
23373         * libio/vsnprintf.c: Likewise.
23374         * libio/vswprintf.c: Likewise.
23375         * libio/wfiledoalloc.c: Likewise.
23376         * libio/wfileops.c: Likewise.
23377         * libio/wgenops.c: Likewise.
23378         * libio/wmemstream.c: Likewise.
23379         * libio/wstrops.c: Likewise.
23380         * libio/__fpurge.c: Likewise.
23381         * libio/__fsetlocking.c: Likewise.
23382         * assert/assert.c: Likewise.
23383         * debug/fgets_chk.c: Likewise.
23384         * debug/fgets_u_chk.c: Likewise.
23385         * debug/fread_chk.c: Likewise.
23386         * debug/fread_u_chk.c: Likewise.
23387         * debug/gets_chk.c: Likewise.
23388         * debug/obprintf_chk.c: Likewise.
23389         * debug/vasprintf_chk.c: Likewise.
23390         * debug/vdprintf_chk.c: Likewise.
23391         * debug/vsnprintf_chk.c: Likewise.
23392         * debug/vsprintf_chk.c: Likewise.
23393         * malloc/mtrace.c: Likewise.
23394         * misc/error.c: Likewise.
23395         * misc/syslog.c: Likewise.
23396         * stdio-common/asprintf.c: Likewise.
23397         * stdio-common/fxprintf.c: Likewise.
23398         * stdio-common/getw.c: Likewise.
23399         * stdio-common/isoc99_fscanf.c: Likewise.
23400         * stdio-common/isoc99_scanf.c: Likewise.
23401         * stdio-common/isoc99_vfscanf.c: Likewise.
23402         * stdio-common/isoc99_vscanf.c: Likewise.
23403         * stdio-common/isoc99_vsscanf.c: Likewise.
23404         * stdio-common/printf-prs.c: Likewise.
23405         * stdio-common/printf_fp.c: Likewise.
23406         * stdio-common/printf_fphex.c: Likewise.
23407         * stdio-common/printf_size.c: Likewise.
23408         * stdio-common/putw.c: Likewise.
23409         * stdio-common/scanf.c: Likewise.
23410         * stdio-common/sprintf.c: Likewise.
23411         * stdio-common/tmpfile.c: Likewise.
23412         * stdio-common/vfprintf.c: Likewise.
23413         * stdio-common/vfscanf.c: Likewise.
23414         * stdlib/strfmon_l.c: Likewise.
23415         * sunrpc/openchild.c: Likewise.
23416         * sunrpc/xdr_stdio.c: Likewise.
23417         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23418         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23420 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23422         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23424         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23425         in the third column, to generate for the shared library an IFUNC
23426         that uses _dl_vdso_vsym.
23427         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23428         * Makeconfig (object-suffixes-noshared): New variable.
23430         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23431         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23432         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23433         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23435         [BZ #14132]
23436         * include/sys/time.h (__gettimeofday): Remove macro.
23437         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23438         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23439         Remove INTDEF.
23440         (__gettimeofday): Add libc_hidden_def.
23441         (gettimeofday): Add libc_hidden_weak.
23442         * sysdeps/mach/gettimeofday.c: Likewise.
23443         * sysdeps/posix/gettimeofday.c: Likewise.
23444         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23445         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23446         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23447         (__gettimeofday_internal): Remove strong_alias.
23448         (__gettimeofday): Add libc_hidden_def.
23449         (gettimeofday): Add libc_hidden_weak.
23450         * sysdeps/unix/syscalls.list (gettimeofday):
23451         Remove __gettimeofday_internal alias.
23453 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23454             H.J. Lu  <hongjiu.lu@intel.com>
23456         [BZ #12495]
23457         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23458         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23459         (largebin_index_32_big): New.
23460         (largebin_index): Use it for 16-byte alignment.
23461         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23462         correction with front_misalign.
23464 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23468         Likewise.
23469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23470         Likewise.
23471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23472         Likewise.
23473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23474         Likewise.
23475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23476         Likewise.
23477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23478         Likewise.
23479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23480         Likewise.
23481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23482         Likewise.
23483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23484         Likewise.
23485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23486         Likewise.
23487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23488         Likewise.
23489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23490         Likewise.
23492         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23493         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23495 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23497         [BZ #10846]
23498         [BZ #14036]
23499         * math/libm-test.inc (exp_test): Add test from bug 14036.
23500         (pow_test): Add test from bug 10846.
23502         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23503         and other flags.
23504         (special_function): Do not include flags in test name.
23505         (parse_args): Likewise.
23506         * sysdeps/i386/fpu/libm-test-ulps: Update.
23507         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23508         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23509         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23512         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23513         exceptions.
23514         * math/libm-test.inc ("Philosophy"): Update comment about
23515         exception testing.
23516         (UNDERFLOW_EXCEPTION): New macro.
23517         (UNDERFLOW_EXCEPTION_OK): Likewise.
23518         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23519         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23520         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23521         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23522         (INVALID_EXCEPTION_OK): Update value.
23523         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23524         (OVERFLOW_EXCEPTION_OK): Likewise.
23525         (IGNORE_ZERO_INF_SIGN): Likewise.
23526         (test_exceptions): Handle underflow exceptions.
23527         (acos_test): Update for underflow exception expectations.
23528         (cexp_test): Likewise.
23529         (clog_test): Likewise.
23530         (clog10_test): Likewise.
23531         (csqrt_test): Likewise.
23532         (ctan_test): Likewise.
23533         (ctanh_test): Likewise.
23534         (exp_test): Likewise.
23535         (exp10_test): Likewise.
23536         (exp2_test): Likewise.
23537         (expm1_test): Likewise.
23538         (fma_test): Likewise.
23539         (j0_test): Likewise.
23540         (jn_test): Likewise.
23541         (nexttoward_test): Likewise.
23542         (pow_test): Likewise.
23543         (scalbn_test): Likewise.
23544         (scalbln_test): Likewise.
23545         (tan_test): Likewise.
23546         (y1_test): Likewise.
23547         * sysdeps/i386/fpu/libm-test-ulps: Update.
23548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23550 2012-05-23  David S. Miller  <davem@davemloft.net>
23552         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23553         (__libc_sigaction): Remove unused local variables.
23555 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23557         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23559 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23561         mktime: avoid signed integer overflow
23562         * time/mktime.c (__mktime_internal): Do not mishandle the case
23563         where diff == INT_MIN.
23565         mktime: simplify computation of average
23566         * time/mktime.c (ranged_convert): Use new time_t_avg function
23567         instead of rolling our own (probably-slower) code.
23569         mktime: do not assume signed right shift propagates sign bit
23570         * time/mktime.c (isdst_differ): New static function.
23571         (__mktime_internal): No need to normalize tm_isdst now.
23572         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23573         tm_isdst values.
23575         mktime: merge another wrapv change from gnulib
23576         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23577         from some compilers.
23579         mktime: remove incorrect attempt at unusual arithmetics
23580         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23581         The code didn't really work on such machines anyway.
23582         (TYPE_MINIMUM): Assume two's complement.
23583         (twos_complement_arithmetic): Verify that long_int and time_t
23584         are two's complement (or unsigned, in the latter case).
23586         mktime: check signed shifts on long_int and time_t, too
23587         * time/mktime.c (SHR): Check that shifts work as desired
23588         on the types long_int and time_t too, as SHR is used on
23589         such types.
23591         mktime: do not assume 'long' is wide enough
23592         * time/mktime.c (verify): Move decl up.
23593         (long_int): New type.
23594         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23595         to remove assumption in the code that 'long' is wide enough to
23596         store year values.  This assumption is not true on x32 and on
23597         some non-glibc platforms.
23599         mktime: merge wrapv change from gnulib
23600         * time/mktime.c (WRAPV): New macro.
23601         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23602         (guess_time_tm, __mktime_internal): Do not assume that signed
23603         integer overflow wraps around; modern compilers generate code
23604         where this assumption is no longer valid.
23606 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23608         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23609         Replace "jmp L(pseudo_end)" with "ret".
23610         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23611         Likewise.
23613 2012-05-23  Andreas Jaeger  <aj@suse.de>
23615         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23616         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23618 2012-05-23  Andreas Jaeger  <aj@suse.de>
23619             Maximilian Attems  <max@stro.at>
23621         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23622         New macros.
23624 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23626         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23627         code so that pseudo_end is just ret and the stack pointer is
23628         correct also for static library in error case.
23630 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23632         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23633         move to syscalls.list.
23634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23639         * manual/install.texi (Running make install): Do not mention Linux
23640         kernel version for which pt_chown is not needed.
23641         (Linux): Do not mention problems with nscd with 2.0 kernels.
23642         * INSTALL: Regenerated.
23644 2012-05-23  Andreas Jaeger  <aj@suse.de>
23646         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23647         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23648         macro.
23649         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23650         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23651         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23652         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23653         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23654         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23655         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23656         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23657         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23658         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23659         * sysdeps/unix/sysv/linux/bits/in.h
23660         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23662 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23664         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23665         (PREPARE_VERSION): Just use assert instead, it will be elided
23666         under [NDEBUG] anyway.
23668 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23670         * sysdeps/unix/sysv/linux/Makefile: Include
23671         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23672         (sysdep_routines): Remove sysctl.
23673         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23674         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23675         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23676         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23677         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23679 2012-05-22  Andreas Jaeger  <aj@suse.de>
23681         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23682         that pseudo_end is just ret and the stack pointer is correct also
23683         for static library in error case.
23685 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23687         [BZ #14122]
23688         * nss/nsswitch.c (defconfig_entries): New variable.
23689         (__nss_database_lookup): Don't leak defconfig entries.
23690         (nss_parse_service_list): Don't leak on error paths.
23691         (free_database_entries): New function.
23692         (free_defconfig): New function.
23693         (free_mem): Move common code to free_database_entries.
23695 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23697         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23698         Add arch_prctl.
23699         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23701         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23702         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23703         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23704         New macro.
23705         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23706         (INTERNAL_SYSCALL_TYPES): Likewise.
23707         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23708         (LOAD_REGS_TYPES_[1-6]): Likewise.
23709         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23710         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23712 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23714         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23715         copysignl for GLIBC_2_0.
23716         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23717         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23718         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23719         logbl for GLIBC_2_0.
23720         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23721         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23723 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23725         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23726         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23728         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23729         Use "neg %eax".
23731         * time/mktime.c: Update copyright years.
23733 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23735         mktime: merge comment-quoting-style change from gnulib
23736         * time/mktime.c: Quote 'like this' in comments.
23737         The GNU coding standards suggest that we no longer quote `like this',
23738         as "`" and "'" are typically rendered asymmetrically nowadays.
23739         The typical gnulib style is to quote 'like this' when quoting
23740         code, and "like this" when quoting English.
23742         * time/mktime.c (compile-command): Add "-I.".
23744         mktime: merge mktime-internal.h change from gnulib
23745         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23747         mktime: merge time_r change from gnulib
23748         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23750         mktime: merge DEBUG change from gnulib
23751         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23752         case system <time.h> has a #define.
23754         mktime: merge <sys/types.h> change from gnulib
23755         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23756         since <time.t> is now guaranteed to define time_t.
23758         mktime: merge HAVE_CONFIG_H change from gnulib
23759         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23761 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23763         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23764         Use "neg %eax".
23766         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23767         __rlim_t cast.
23768         (struct rusage): Use anonymous union to pad each field to
23769         __syscall_slong_t.
23771 2012-05-21  David S. Miller  <davem@davemloft.net>
23773         * Makefules (o-iterator): Remove .s cases.
23774         (compile-command.s): Delete.
23775         (COMPILE.s): Delete.
23776         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23778 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23780         * configure.in (libc_cv_predef_stack_protector): Only consider
23781         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23782         * configure: Regenerated.
23784 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23786         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23787         New macro.  Use R*LP on int and pointer.
23788         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23789         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23790         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23791         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23793         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23794         [__WORDSIZE_TIME64_COMPAT32] instead of
23795         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23796         (struct utmp): Likewise.
23797         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23798         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23799         Renamed to ...
23800         (__WORDSIZE_TIME64_COMPAT32): This.
23801         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23802         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23803         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23804         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23805         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23806         (__WORDSIZE_TIME64_COMPAT32): New macro.
23808 2012-05-21  Andreas Jaeger  <aj@suse.de>
23810         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23811         only if [SHARED]. Add prototype for __wcschr_ia32.
23813 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23815         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23816         of %rbp unmolested in the jmp_buf while mangling the low bits.
23817         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23818         unmolested high bits of %rbp while demangling the low bits.
23819         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23821 2012-05-21  Andreas Jaeger  <aj@suse.de>
23823         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23824         * sunrpc/svc_simple.c: Use it for registerrpc.
23825         * sunrpc/xcrypt.c: Use it for passwd2des.
23827         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23829 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23831         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23832         Don't define if [__SYSCALL_WORDSIZE != 32].
23833         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23834         New macro.
23836 2012-05-21  Bruno Haible  <bruno@clisp.org>
23837             Andreas Jaeger  <aj@suse.de>
23839         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23840         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23841         inptr and inend for must_buffer_ch.
23842         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23843         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23844         * stdio-common/Makefile (tests): Remove bug15.
23845         (bug15-ENV): Remove macro.
23846         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23847         anymore.
23849 2012-05-19  Andreas Jaeger  <aj@suse.de>
23850             Roland McGrath  <roland@hack.frob.com>
23852         * manual/contrib.texi: Completely rewritten. It contains now an
23853         alphabetical list of contributors and their contributions.
23855 2012-05-21  Richard Henderson  <rth@twiddle.net>
23857         * misc/getauxval.c (__getauxval): Use unsigned long int.
23858         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23859         (getauxval): Use unsigned long int.
23861 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23863         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23865 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23867         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23868         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23869         __alignof__ (long double).
23871 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23875 2012-05-20  Richard Henderson  <rth@twiddle.net>
23877         * misc/getauxval.c: New file.
23878         * misc/sys/auxv.h: New file.
23879         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23880         (routines): Add getauxval.
23881         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23882         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23883         * elf/dl-sysdep.c (_dl_auxv): Remove.
23884         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23885         * elf/dl-support.c (_dl_auxv): New variable.
23886         (_dl_aux_init): Initialize it.
23887         * manual/startup.texi (Auxiliary Vector): New node.
23888         * sysdeps/generic/bits/hwcap.h: New file.
23889         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23890         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23891         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23892         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23893         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23894         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23896         Update.
23897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23900         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23906 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23910 2012-05-19  David S. Miller  <davem@davemloft.net>
23912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23914 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23916         [BZ #14123]
23917         * math/s_ccosh.c: Include <float.h>
23918         (__ccosh): Avoid internal overflow calculating sinh and cosh
23919         values before multiplying by sin and cos values.
23920         * math/s_ccoshf.c: Likewise.
23921         * math/s_ccoshl.c: Likewise.
23922         * math/s_csin.c: Likewise.
23923         * math/s_csinf.c: Likewise.
23924         * math/s_csinl.c: Likewise.
23925         * math/s_csinh.c: Likewise.
23926         * math/s_csinhf.c: Likewise.
23927         * math/s_csinhl.c: Likewise.
23928         * math/libm-test.inc (ccos_test): Add more tests.
23929         (ccosh_test): Likewise.
23930         (csin_test): Likewise.
23931         (csinh_test): Likewise.
23932         * sysdeps/i386/fpu/libm-test-ulps: Update.
23933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23935 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23937         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23938         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23940         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23942 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23944         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23945         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23946         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23947         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23948         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23949         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23950         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23951         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23952         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23953         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23954         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23955         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23956         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23957         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23958         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23959         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23960         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23961         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23962         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23963         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23964         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23965         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23966         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23967         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23968         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23969         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23970         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23971         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23972         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23973         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23974         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23976 2012-05-18  Andreas Jaeger  <aj@suse.de>
23978         * csu/.gitignore: Delete.
23980 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23982         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23983         (timex): Use __syscall_slong_t.
23985 2012-05-18  Andreas Jaeger  <aj@suse.de>
23986             Carlos O'Donell  <carlos_odonell@mentor.com>
23988         * manual/install.texi (Configuring and compiling): Update
23989         description about files modified in the source directory.
23990         * INSTALL: Regenerated.
23992 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23994         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23995         value.  Use "or" to set return value to -1.
23996         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23997         negate return value.
23999 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24001         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24002         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24003         failure if the compiler has Graphite support disabled.
24004         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24005         Likewise.
24006         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24007         CFLAGS-memmove.c): Likewise.
24008         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24009         Likewise.
24011 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24013         * sysdeps/x86_64/x32/_itoa.h: New file.
24015         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24016         getdents system call only if kernel and user dirents have the
24017         same d_ino and d_off.
24019         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24020         LLONG_MAX != LONG_MAX.
24021         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24022         (_fitoa_word): Likewise.
24024         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24025         years.
24026         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24027         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24028         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24030         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24031         include <bits/wordsize.h>.  Check __x86_64__ instead of
24032         __WORDSIZE.
24033         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24034         if __x86_64__ is defined.  Use anonymous union on fpstate.
24036         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24037         anonymous union.
24039 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24041         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24042         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24043         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24044         Refer to _rtld_local_ro instead of _rtld_global_ro.
24045         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24046         Likewise.
24047         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24048         Likewise.
24049         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24050         Likewise.
24051         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24052         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24053         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24055         * sysdeps/powerpc/powerpc32/dl-machine.c
24056         (__elf_machine_runtime_setup) [PROF]: Don't reference
24057         _dl_prof_resolve.
24059 2012-05-18  Andreas Jaeger  <aj@suse.de>
24061         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24062         function only available for GCCs before 3.4 since GCC 3.4
24063         introduced a builtin.
24064         (lrint): Likewise.
24065         (llrintf): Likewise.
24066         (llrint): Likewise.
24067         (fmaxf): Likewise.
24068         (fmax): Likewise.
24069         (fminf): Likewise.
24070         (fmin): Likewise.
24071         (rint): Likewise.
24072         (rintf): Likewise.
24073         (nearbyint): Likewise.
24074         (nearbyintf): Likewise.
24075         (ceil): Likewise.
24076         (ceilf): Likewise.
24077         (floor): Likewise.
24078         (floorf): Likewise.
24080 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24082         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24083         on both fields and cast pointer to __syscall_ulong_t.
24085         * bits/types.h (__fsword_t): New type.
24086         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24087         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24088         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24089         (__FSWORD_T_TYPE): Likewise.
24090         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24091         (__FSWORD_T_TYPE): Likewise.
24092         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24093         (__FSWORD_T_TYPE): Likewise.
24094         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24095         (__FSWORD_T_TYPE): Likewise.
24096         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24097         __SWORD_TYPE with __fsword_t.
24098         (statfs64): Likewise.
24100 2012-05-17  David S. Miller  <davem@davemloft.net>
24102         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24104 2012-05-17  Andreas Jaeger  <aj@suse.de>
24106         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24107         warning.
24109 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24111         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24113 2012-05-17  Andreas Jaeger  <aj@suse.de>
24115         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24116         when it is used.
24118 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24120         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24122 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24124         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24125         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24127 2012-05-17  Andreas Jaeger  <aj@suse.de>
24128             Carlos O'Donell  <carlos_odonell@mentor.com>
24130         [BZ #14059]
24131         * sysdeps/x86_64/multiarch/init-arch.h
24132         (bit_YMM_Usable): Rename to...
24133         (bit_AVX_Usable): ... this.
24134         (bit_FMA4_Usable): New macro.
24135         (bit_XMM_state): New macro.
24136         (bit_YMM_state): New macro.
24137         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24138         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24139         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24140         (CPUID_OSXSAVE): New macro.
24141         (CPUID_AVX): New macro.
24142         (CPUID_FMA4): New macro.
24143         (index_YMM_Usable): Rename to...
24144         (index_AVX_Usable): ... this.
24145         (HAS_AVX): Use HAS_ARCH_FEATURE.
24146         (HAS_FMA4): Likewise.
24147         (HAS_YMM_USABLE): Remove.
24148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24149         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24150         are present.
24151         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24152         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24153         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24154         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24155         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24157 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24159         * math/libm-test.c: Support platforms without multiple rounding modes.
24160         * math/bug-nextafter.c: Support platforms without FP exceptions.
24161         * math/bug-nexttoward.c: Likewise.
24162         * math/test-fenv.c: Likewise.
24163         * math/test-misc.c: Likewise.
24164         * stdlib/bug-getcontext.c: Likewise.
24166 2012-05-17  Andreas Jaeger  <aj@suse.de>
24168         * manual/examples/search.c (critter_cmp): Change signature to
24169         avoid warnings.
24170         * manual/string.texi (Collation Functions): Likewise.
24172 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24174         * bits/types.h: Fold copyright years.
24175         * bits/typesizes.h: Likewise.
24176         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24177         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24178         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24179         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24180         * time/time.h: Likewise.
24182 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24184         [BZ #208]
24185         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24186         in instead of returning them.  Return void.
24187         (__libc_mallinfo): Accumulate over all arenas.
24188         (__malloc_stats): Adjust for change in int_mallinfo interface.
24190 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24192         [BZ #10375]
24193         * configure.in (NM): Add AC_CHECK_TOOL for it.
24194         (libc_extra_cflags): New substituted variable.
24195         Check for -fstack-protector being used implicitly.
24196         * configure: Regenerated.
24197         * config.make.in (config-extra-cflags): New variable,
24198         gets @libc_extra_cflags@.
24199         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24201         [BZ #10375]
24202         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24203         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24204         * configure: Regenerated.
24205         * config.make.in (CPPUNDEFS): New substituted variable.
24206         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24207         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24208         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24210 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24212         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24213         (mq_attr): Use __syscall_slong_t.
24215 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24217         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24218         Check __x86_64__ instead of __WORDSIZE.
24219         (_STAT_VER_LINUX): Likewise.
24220         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24221         __syscall_ulong_t and __syscall_slong_t.
24222         (stat64): Likewise.
24224 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24226         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24228 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24230         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24232 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24234         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24235         __syscall_ulong_t.
24237         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24238         include <bits/wordsize.h>.  Check __x86_64__ instead of
24239         __WORDSIZE.
24240         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24241         defined.
24242         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24244         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24245         include <bits/wordsize.h>.  Check __x86_64__ instead of
24246         __WORDSIZE.
24247         (user_regs_struct): Use "__extension__ unsigned long long"
24248         instead of "unsigned long" if __x86_64__ is defined.
24249         (user): Likewise.  Pad after pointer field if __ILP32__ is
24250         defined.
24252 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24254         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24255         versions 5 to 9.
24256         * configure: Regenerated.
24257         * manual/install.texi (texinfo): Increase version requirement to
24258         4.5 or later.
24259         * INSTALL: Regenerated.
24261         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24263 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24265         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24267         * sysdeps/x86_64/x32/ffs.c: New file.
24269         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24270         __syscall_ulong_t.
24271         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24272         defined.  Use __syscall_ulong_t.
24273         (shminfo): Use __syscall_ulong_t.
24274         (shm_info): Likewise.
24276         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24277         __syscall_ulong_t.
24279         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24280         <bits/wordsize.h>.
24281         (msgqnum_t): Use __syscall_ulong_t.
24282         (msglen_t): Likewise.
24283         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24284         __syscall_ulong_t.
24286         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24287         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24289         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24291         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24292         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24294         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24295         __syscall_slong_t.
24297         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24298         include <bits/wordsize.h>.  Check __x86_64__ instead of
24299         __WORDSIZE.
24301         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24302         "unsigned long long int" if __x86_64__ is defined.
24303         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24305         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24306         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24307         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24309         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24310         <stdint.h>.
24311         (GET_PC): Cast to uintptr_t first.
24312         (GET_FRAME): Likewise.
24313         (GET_STACK): Likewise.
24315         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24316         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24317         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24318         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24319         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24320         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24321         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24322         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24323         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24324         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24325         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24326         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24327         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24328         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24329         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24330         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24331         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24332         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24333         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24334         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24335         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24336         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24337         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24338         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24339         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24340         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24341         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24342         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24343         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24345 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24347         * Makerules (+depfiles): Also collect depfiles from .oS in
24348         $(extra-objs).
24349         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24350         .oS, $(libnldbl-routines)).
24352         * Makerules (native-compile-mkdep-flags): Define.
24353         * sunrpc/Makefile (extra-objs): Add $(addprefix
24354         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24355         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24356         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24357         calling $(make-target-directory).
24359 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24361         * bits/types.h (__snseconds_t): Removed.
24362         * time/time.h (struct timespec): Replace __snseconds_t with
24363         __syscall_slong_t.
24364         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24365         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24366         Likewise.
24367         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24368         (__SNSECONDS_T_TYPE): Likewise.
24369         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24370         (__SNSECONDS_T_TYPE): Likewise.
24371         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24372         (__SNSECONDS_T_TYPE): Likewise.
24374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24376         * sysdeps/mach/hurd/bits/typesizes.h
24377         (__SYSCALL_SLONG_TYPE): New macro.
24378         (__SYSCALL_ULONG_TYPE): Likewise.
24380 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24382         * bits/types.h (__syscall_slong_t): New type.
24383         (__syscall_ulong_t): Likewise.
24385         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24386         (__SYSCALL_ULONG_TYPE): Likewise.
24387         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24388         (__SYSCALL_SLONG_TYPE): Likewise.
24389         (__SYSCALL_ULONG_TYPE): Likewise.
24390         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24391         (__SYSCALL_SLONG_TYPE): Likewise.
24392         (__SYSCALL_ULONG_TYPE): Likewise.
24393         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24394         (__SYSCALL_SLONG_TYPE): Likewise.
24395         (__SYSCALL_ULONG_TYPE): Likewise.
24397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24399         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24400         Add sigaltstack-offsets.sym.
24401         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24402         <sigaltstack-offsets.h>.
24403         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24404         longjmp_msg pointer.
24405         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24406         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24407         signal stack.
24408         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24410 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24412         * elf/stackguard-macros.h: Remove file.
24413         * sysdeps/generic/stackguard-macros.h: New file.
24414         * sysdeps/i386/stackguard-macros.h: Likewise.
24415         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24416         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24417         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24418         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24419         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24420         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24421         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24422         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24423         <elf/stackguard-macros.h>.
24425         [BZ #14109]
24426         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24427         __aligned__ in attribute.
24428         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24429         (gregset_t): Likewise.
24431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24433         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24434         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24435         * sysdeps/x86_64/x32/Implies-after: New file.
24437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24439         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24440         and access return value for _dl_profile_fixup.  Use R10_LP to
24441         load frame size.
24443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24445         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24449         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24450         * sysdeps/x86_64/x32/sysdep.h: New file.
24452 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24454         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24455         * sysdeps/x86_64/setjmp.S: Likewise.
24457 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24459         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24460         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24461         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24462         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24463         remove unused global constant.
24465 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24467         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24468         include of <not-cancel.h>.
24470 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24472         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24474 2012-05-15  Jeff Law  <law@redhat.com>
24475             Andreas Jaeger  <aj@suse.de>
24477         [BZ #13594]
24478         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24479         out from...
24480         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24481         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24482         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24483         code changing __hst_map_handle.map.
24485 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24487         * configure.in (sysnames): Look for Implies-before and Implies-after
24488         files.
24489         * configure: Regenerated.
24491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24493         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24494         8-byte data alignment with LP_SIZE alignment.
24496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24498         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24499         into R10_LP.
24501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24503         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24507         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24508         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24509         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24510         Likewise.
24511         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24515         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24516         (stackinfo_sub_sp): Likewise.
24518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24520         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24521         RAX_LP.
24523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24525         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24526         into R*_LP.
24528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24530         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24531         sizes into R*_LP.
24533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24535         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24539         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24540         into R11_LP and load __x86_64_shared_cache_size_half into
24541         R8_LP.
24543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24545         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24546         R8_LP.
24548 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24550         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24551         logb for POWER7.
24552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24553         logbf for POWER7.
24554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24555         logbl for POWER7.
24556         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24557         powerpc32/power7/fpu/s_logb.c via #include.
24558         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24559         powerpc32/power7/fpu/s_logbf.c via #include.
24560         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24561         powerpc32/power7/fpu/s_logbl.c via #include.
24563 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24565         * README.libm: Remove file.
24567 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24569         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24570         count for x32.  Use R*_LP and omit operand-size suffix.
24572 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24574         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24575         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24576         * sysdeps/x86_64/x32/shlib-versions: New file.
24578 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24580         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24581         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24582         Use _dl_fatal_printf instead.
24584 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24586         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24587         set if not set by the user.  Do not allow for being unset.
24588         * sysdeps/unix/sysv/linux/configure: Regenerated.
24590 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24592         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24593         the `q' suffix from lea and replace .quad with ASM_ADDR.
24595 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24598         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24599         instead of $17.
24600         (PTR_DEMANGLE): Likewise.
24602 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24604         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24605         (LP_OP): Likewise.
24606         (ASM_ADDR): Likewise.
24607         (RAX_LP): Likewise.
24608         (RBP_LP): Likewise.
24609         (RBX_LP): Likewise.
24610         (RCX_LP): Likewise.
24611         (RDI_LP): Likewise.
24612         (RSI_LP): Likewise.
24613         (RSP_LP): Likewise.
24614         (R8_LP): Likewise.
24615         (R9_LP): Likewise.
24616         (R10_LP): Likewise.
24617         (R10_LP): Likewise.
24618         (R11_LP): Likewise.
24619         (R12_LP): Likewise.
24620         (R13_LP): Likewise.
24621         (R14_LP): Likewise.
24622         (R15_LP): Likewise.
24624 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24626         * sysdeps/x86_64/x32/dl-machine.h: New file.
24628 2012-05-14  Andreas Jaeger  <aj@suse.de>
24630         * manual/Makefile (subdir): Remove export of subdir.
24631         (all): Remove target.
24632         (.PHONY): Remove all from list.
24633         (mkinstalldirs): Remove.
24634         (.PHONY): Remove installdirs from list.
24635         ($(inst_infodir)/libc.info): Use make-target-directory.
24636         (installdirs): Remove.
24637         (subdir_%): Remove.
24638         (glibc-targets): Remove.
24639         (lib): Remove.
24640         (stubs): Remove.
24641         ($(objpfx)stubs ../po/manual.pot): Remove.
24642         ($(objpfx)stamp%): Remove.
24643         (make-target-directory): Remove.
24644         (subdir_install): Remove.
24645         (routines): Remove.
24646         (aux): Remove.
24647         (sources): Remove.
24648         (objects): Remove.
24649         (headers): Remove.
24651         [BZ #13750]
24652         * manual/.gitignore: Remove, it's not needed anymore.
24653         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24654         all files in it.
24655         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24656         directory.
24657         (texis): Renamed to $(objpfx)texis.
24658         (texis-path): New, contains path to generated files.
24659         (chapters.%): Use texis-path for complete path, add extra argument
24660         libc-texinfo.sh.
24661         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24662         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24663         (summary,texi, stamp-summary): Use complete path of
24664         files. Generate files in build dir.
24665         (dir-add.texi): Build in build dir.
24666         (libm-err.texi,stamp-libm-err): Likewise.
24667         (version.texi, stamp-version): Likewise.
24668         (.%c.texi): Likewise.
24669         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24670         (mostlyclean): Remove target.
24671         (realclean): Remove target.
24672         (generated): Add new variable with contents from mostlyclean and
24673         realclean, remove entries duplicated in common-mostlyclean, add
24674         stamp-libm-err and stamp-version.
24675         (generated-dirs): Add libc directory.
24676         ($(inst_infodir)/libc.info): Install files from build dir.
24678         * manual/install.texi (Configuring and compiling): Adjust since
24679         the info files are not part of the tar ball anymore.
24681 2012-05-14  Andreas Jaeger  <aj@suse.de>
24683         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24684         variable.
24686 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24688         [BZ #13717]
24689         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24690         to 2.2.0 where earlier.
24691         * sysdeps/unix/sysv/linux/configure: Regenerated.
24692         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24693         Remove conditional code.
24694         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24695         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24696         Remove conditional code.
24697         [!__NR_lchown]: Likewise.
24698         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24699         [__NR_lchown]: Likewise.
24700         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24701         comment referencing __ASSUME_LCHOWN_SYSCALL.
24702         * sysdeps/unix/sysv/linux/i386/sigaction.c
24703         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24704         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24705         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24706         Remove conditional code.
24707         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24708         (__protocol_available): Remove #if 0 code.
24709         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24710         conditional code.
24711         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24712         * sysdeps/unix/sysv/linux/kernel-features.h
24713         (__ASSUME_GETCWD_SYSCALL): Don't define.
24714         (__ASSUME_REALTIME_SIGNALS): Likewise.
24715         (__ASSUME_PREAD_SYSCALL): Likewise.
24716         (__ASSUME_PWRITE_SYSCALL): Likewise.
24717         (__ASSUME_POLL_SYSCALL): Likewise.
24718         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24719         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24720         non-SPARC.
24721         (__ASSUME_SIOCGIFNAME): Don't define.
24722         (__ASSUME_MSG_NOSIGNAL): Likewise.
24723         (__ASSUME_SENDFILE): Define unconditionally.
24724         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24725         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24726         conditional code.
24727         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24728         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24729         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24730         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24731         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24732         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24733         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24735         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24736         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24738         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24739         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24741         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24742         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24744         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24747         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24748         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24750         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24751         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24753         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24754         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24756         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24757         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24758         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24759         Remove conditional code.
24760         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24761         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24762         Remove conditional code.
24763         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24764         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24765         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24766         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24767         Remove conditional code.
24768         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24769         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24770         Remove conditional code.
24771         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24772         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24773         Remove conditional code.
24774         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24775         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24776         Remove conditional code.
24777         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24778         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24779         Remove conditional code.
24780         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24781         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24782         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24783         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24784         * sysdeps/unix/sysv/linux/sigaction.c
24785         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24786         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24787         * sysdeps/unix/sysv/linux/sigpending.c
24788         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24789         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24790         * sysdeps/unix/sysv/linux/sigprocmask.c
24791         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24792         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24793         * sysdeps/unix/sysv/linux/sigsuspend.c
24794         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24795         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24796         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24797         (__libc_missing_rt_sigs): Remove.
24798         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24799         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24800         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24801         Remove conditional code.
24802         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24803         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24804         return 1.
24805         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24806         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24807         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24808         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24810 2012-05-14  Andreas Jaeger  <aj@suse.de>
24812         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24813         it's not used in glibc.
24814         (__coshm1): Likewise.
24815         (__acosh1p): Likewise.
24816         (__sgn): Likewise.
24818         * manual/string.texi (Copying and Concatenation): Add missing
24819         variable in concat example.
24820         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24822 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24824         [BZ #14103]
24825         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24826         __builtin_clzl with __builtin_clzll.
24828 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24830         [BZ #14104]
24831         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24832         libc_freeres_ptr.
24834 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24836         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24837         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24838         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24839         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24841 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24843         * NEWS: Update ia64 info.
24845 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24847         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24848         used as bcopy.
24850 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24852         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24853         * sysdeps/unix/syscalls.list (dup3): Likewise.
24854         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24855         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24857 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24859         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24860         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24862 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24864         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24865         thread pointer.
24866         (TLS_IE): Use mov/add instead of movq/addq to load thread
24867         pointer.
24868         (TLS_GD_PREFIX): New.
24869         (TLS_GD): Use it.
24871 2012-05-11  David S. Miller  <davem@davemloft.net>
24873         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24874         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24875         (_FPU_SETCW): Likewise.
24877 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24879         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24880         is 32-byte aligned.
24882 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24884         [BZ #11837]
24885         * iconvdata/gb18030.c: Update tables.
24886         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24887         characters specially.
24888         (BODY for TO_LOOP): Add encoding of missing ranges.
24890 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24892         [BZ #13673]
24893         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24894         * sysdeps/mach/hurd/dup3.c: Likewise.
24895         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24896         * sysdeps/powerpc/memmove.c:: Likewise.
24898 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24900         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24901         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24903 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24905         * elf/elf.h (R_X86_64_RELATIVE64): New.
24906         (R_X86_64_NUM): Updated.
24907         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24908         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24909         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24910         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24911         tst-quad1pie tst-quad2pie
24912         (modules-names): Add tst-quadmod1 tst-quadmod2.
24913         ($(objpfx)tst-quad1): New dependency.
24914         ($(objpfx)tst-quad2): Likewise.
24915         ($(objpfx)tst-quad1pie): Likewise.
24916         ($(objpfx)tst-quad2pie): Likewise.
24917         * sysdeps/x86_64/tst-quad1.c: New file.
24918         * sysdeps/x86_64/tst-quad1pie.c: New file.
24919         * sysdeps/x86_64/tst-quad2.c: Likewise.
24920         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24921         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24922         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24923         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24924         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24926 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24928         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24929         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24930         * streams/stropts.h (t_scalar_t): Define type.
24932         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24933         (_PATH_PRESERVE): Set to "/var/lib".
24934         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24936         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24937         instead of int.
24939         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24940         if __dir_mkfile succeeded.
24942         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24943         checking for _hurd_dtablesize.  Unlock it right after having
24944         finished _hurd_dtable allocation.
24946 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24948         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24949         * sysdeps/mach/hurd/configure: Regenerated.
24950         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24951         special-casing to...
24952         * sysdeps/gnu/configure.in: ... this new file.
24953         * sysdeps/unix/sysv/linux/configure: Regenerated.
24954         * sysdeps/gnu/configure: New generated file.
24956         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24957         for Linux: use nsec instead of usec, as well as:
24958         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24959         members of type struct timespec.
24960         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24961         New macros.
24962         (struct stat64): Likewise.
24963         (_STATBUF_ST_NSEC): New macro.
24964         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24966         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24967         __strtoul_internal rather than strtoul.
24969 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24971         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24972         and reject them.
24974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24976         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24977         which preserves existing values.
24978         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24980 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24982         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24983         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24984         greater than FD_SETSIZE.
24986 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24988         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24989         allocated, call __vm_protect to finish enabling the existing space, and
24990         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24991         allocate the remainder.
24993 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24995         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24996         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24998 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25000         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25001         sysdeps/mach/hurd/readlink.c.
25003         * posix/tst-sysconf.c (posix_options): Only use
25004         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25005         _POSIX_SYNCHRONIZED_IO when they are defined
25006         * sysdeps/mach/hurd/bits/posix_opt.h:
25007         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25008         (_XOPEN_REALTIME): Undefine macro.
25009         (_XOPEN_REALTIME_THREADS): Undefine macro.
25010         (_XOPEN_SHM): Undefine macro.
25011         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25012         macro to -1.
25013         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25014         macro to -1.
25015         (_POSIX_ASYNC_IO): Undefine macro.
25016         (_POSIX_PRIORITIZED_IO): Undefine macro.
25017         (_POSIX_SPIN_LOCKS): Define macro to -1.
25019         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25020         SA_NODEFER, SA_RESETHAND.
25021         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25022         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25023         F_DUPFD_CLOEXEC.
25025 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25027         * elf/Makefile (pldd-modules): Define unconditionally.
25029 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25031         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25033 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25035         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25036         Return ENOENT when name is empty.
25037         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25041         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25043         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25045 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25047         Fix mlock in all cases except non-readable pages.
25048         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25049         instead of VM_PROT_ALL as parameter to __vm_wire function.
25051         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25052         (__mkdir): When path is `/', just fail with EEXIST.
25053         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25057         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25058         <sys/uio.h> (for writev).
25059         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25060         and <sys/param.h> (for MIN).
25062 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25064         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25065         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25066         if interrupted.
25068 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25070         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25071         Depend on against $(link-rpcuserlibs).
25073 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25075         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25076         (__libc_stack_end): Do not use attribute_relro.
25077         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25078         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25079         to libthread-provided value.
25080         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25081         attribute_relro.
25083 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25085         [BZ #3748]
25086         * bits/libc-lock.h (__libc_once_get): New macro.
25087         * sysdeps/mach/bits/libc-lock.h: Likewise.
25088         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25089         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25090         instead of using implementation details.
25092         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25093         * libio/freopen.c: Likewise.
25094         * libio/freopen64.c: Likewise.
25095         * misc/syslog.c: Likewise.
25096         * nscd/connections.c: Likewise.
25097         * nscd/netgroupcache.c: Likewise.
25098         * sysdeps/posix/getcwd.c: Likewise.
25100 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25102         * math/w_ilogbf.c: Add #include <limits.h>.
25104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25106         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25107         path instead of returning without unlocking.
25109         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25110         immediate-write ioctls.
25111         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25113 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25115         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25116         __builtin_frame_address instead of making assumptions about the
25117         location of the return address relative to DATA.  Force early load of
25118         the return address.
25119         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25120         __builtin_frame_address.
25122         dup3 for GNU Hurd.
25123         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25124         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25125         implement dup3 and do some further code clean-ups.
25126         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25127         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25129 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25131         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25133         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25134         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25135         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25136         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25137         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25138         d->port.lock.
25140         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25141         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25142         when handler == SIG_ERR, not when handler != SIG_ERR.
25144 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25146         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25147         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25148         definitions.
25150         accept4 for GNU Hurd.
25151         * include/sys/socket.h (__libc_accept4): New prototype.
25152         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25153         to implement __libc_accept4.
25154         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25155         __libc_accept4.
25156         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25158         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25159         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25160         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25161         signal-defines.sym.
25163 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25165         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25167 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25169         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25170         assertion on O_CLOEXEC flag.
25171         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25172         * hurd/intern-fd.c: Likewise.
25173         * hurd/port2fd.c: Likewise.
25175 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25177         [BZ #3906]
25178         * bits/in.h (IPV6_PKTINFO): Define new macro.
25179         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25181 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25183         [BZ #13954]
25184         [BZ #13955]
25185         [BZ #13956]
25186         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25187         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25188         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25189         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25190         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25191         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25192         * math/libm-test.inc (logb_test) : Additional logb tests.
25194 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25195             Andreas Jaeger  <aj@suse.de>
25197         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25198         * configure: Regenerated.
25199         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25200         * config.make.in (link-obsolete-rpc): New substituted variable.
25201         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25202         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25203         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25204         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25205         so that libc.a contains the symbols.
25206         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25207         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25208         * sunrpc/auth_none.c: Likewise.
25209         * sunrpc/auth_unix.c: Likewise.
25210         * sunrpc/authdes_prot.c: Likewise.
25211         * sunrpc/authuxprot.c: Likewise.
25212         * sunrpc/clnt_gen.c: Likewise.
25213         * sunrpc/clnt_perr.c: Likewise.
25214         * sunrpc/clnt_raw.c: Likewise.
25215         * sunrpc/clnt_simp.c: Likewise.
25216         * sunrpc/clnt_tcp.c: Likewise.
25217         * sunrpc/clnt_udp.c: Likewise.
25218         * sunrpc/clnt_unix.c: Likewise.
25219         * sunrpc/des_crypt.c: Likewise.
25220         * sunrpc/des_soft.c: Likewise.
25221         * sunrpc/get_myaddr.c: Likewise.
25222         * sunrpc/key_call.c: Likewise.
25223         * sunrpc/key_prot.c: Likewise.
25224         * sunrpc/netname.c: Likewise.
25225         * sunrpc/pm_getmaps.c: Likewise.
25226         * sunrpc/pm_getport.c: Likewise.
25227         * sunrpc/pmap_clnt.c: Likewise.
25228         * sunrpc/pmap_prot.c: Likewise.
25229         * sunrpc/pmap_prot2.c: Likewise.
25230         * sunrpc/pmap_rmt.c: Likewise.
25231         * sunrpc/publickey.c: Likewise.
25232         * sunrpc/rpc_cmsg.c: Likewise.
25233         * sunrpc/rpc_common.c: Likewise.
25234         * sunrpc/rpc_dtable.c: Likewise.
25235         * sunrpc/rpc_prot.c: Likewise.
25236         * sunrpc/rpc_thread.c: Likewise.
25237         * sunrpc/rtime.c: Likewise.
25238         * sunrpc/svc.c: Likewise.
25239         * sunrpc/svc_auth.c: Likewise.
25240         * sunrpc/svc_raw.c: Likewise.
25241         * sunrpc/svc_run.c: Likewise.
25242         * sunrpc/svc_tcp.c: Likewise.
25243         * sunrpc/svc_udp.c: Likewise.
25244         * sunrpc/svc_unix.c: Likewise.
25245         * sunrpc/svcauth_des.c: Likewise.
25246         * sunrpc/xcrypt.c: Likewise.
25247         * sunrpc/xdr.c: Likewise.
25248         * sunrpc/xdr_array.c: Likewise.
25249         * sunrpc/xdr_float.c: Likewise.
25250         * sunrpc/xdr_intXX_t.c: Likewise.
25251         * sunrpc/xdr_mem.c: Likewise.
25252         * sunrpc/xdr_rec.c: Likewise.
25253         * sunrpc/xdr_ref.c: Likewise.
25254         * sunrpc/xdr_sizeof.c: Likewise.
25255         * sunrpc/xdr_stdio.c: Likewise.
25257 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25259         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25260         change.  Update copyright years.
25262 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25264         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25266 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25267             Joseph Myers  <joseph@codesourcery.com>
25268             Paul Pluzhnikov  <ppluzhnikov@google.com>
25270         [BZ #14012]
25271         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25272         requiring rpcgen.
25273         [cross-compiling] (extra-libs): Likewise.
25274         [cross-compiling] (extra-libs-others): Likewise.
25275         [cross-compiling] (librpcsvc-routines): Likewise.
25276         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25277         [cross-compiling] (omit-deps): Likewise.
25278         (sunrpc-CPPFLAGS): New variable.
25279         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25280         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25281         (cross-rpcgen-objs): New variable.
25282         (extra-objs): Append $(cross-rpcgen-objs).
25283         ($(cross-rpcgen-objs)): New rule.
25284         ($(objpfx)cross-rpcgen): Likewise.
25285         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25286         comment.
25287         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25288         ($(objpfx)x%.stmp): Likewise.
25289         * sunrpc/proto.h [IS_IN_build] (_): Define.
25290         [IS_IN_build] (_libc_intl_domainname): Likewise.
25292 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25294         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25295         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25296         and R_X86_64_TPOFF64.
25298 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25300         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25301         sysdeps/unix/sysv/syscalls.list.
25302         (stime): Likewise.
25303         (utime): Likewise.
25304         * sysdeps/unix/sysv/syscalls.list: Remove file.
25306 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25308         [BZ #3440]
25309         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25310         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25311         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25312         (__LC_IDENTIFICATION): Make these macros useful in #if
25313         expressions, as required by C99.
25315 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25317         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25318         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25319         after this.
25321 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25323         * stdlib/longlong.h: Updated from GCC.
25325 2012-05-09  Andreas Jaeger  <aj@suse.de>
25327         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25328         default is first entry.
25329         (run_mode): Set type.
25330         (main): Remove informal message about syslog.
25331         (options): Fix typo.
25333         [BZ #14053]
25334         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25335         to asm.
25336         (lrint): Likewise.
25337         (llrintf): Likewise.
25338         (llrint): Likewise.
25339         (rint): Likewise.
25340         (rintf): Likewise.
25341         (nearbyint): Likewise.
25342         (nearbyintf): Likewise.
25344 2012-05-09  Andreas Jaeger  <aj@suse.de>
25345             Pedro Alves  <palves@redhat.com>
25347         * nscd/nscd.c (run_mode): Use enum.
25348         (main): Cleanup coding style issue.
25350 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25351             Andreas Jaeger  <aj@suse.de>
25353         * nscd/nscd.c (go_background): Replaced with...
25354         (run_mode): ... this.
25355         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25356         (options): Add -F --foreground.
25357         (main): Implement it.
25358         (parse_opt): Parse it.
25360 2012-05-09  Andreas Jaeger  <aj@suse.de>
25362         [BZ #14083]
25363         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25364         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25365         -Wconversion warning.
25366         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25367         Likewise.
25369 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25371         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25372         == 0.
25373         (LC_ALL): Use macro-int-constant.
25374         (LC_COLLATE): Likewise.
25375         (LC_CTYPE): Likewise.
25376         (LC_MESSAGES): Likewise.
25377         (LC_MONETARY): Likewise.
25378         (LC_NUMERIC): Likewise.
25379         (LC_TIME): Likewise.
25380         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25381         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25382         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25383         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25384         Specify type.
25385         [C99-based standards] (float_t): Expect type.
25386         [C99-based standards] (double_t): Expect type.
25387         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25388         type.
25389         [C99-based standards] (HUGE_VALL): Likewise.
25390         [C99-based standards] (INFINITY): Likewise.
25391         [C99-based standards] (NAN): Likewise.
25392         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25393         [C99-based standards] (FP_NAN): Likewise.
25394         [C99-based standards] (FP_NORMAL): Likewise.
25395         [C99-based standards] (FP_SUBNORMAL): Likewise.
25396         [C99-based standards] (FP_ZERO): Likewise.
25397         [C99-based standards] (FP_FAST_FMA): Use
25398         optional-macro-int-constant.  Specify type.  Require == 1.
25399         [C99-based standards] (FP_FAST_FMAF): Likewise.
25400         [C99-based standards] (FP_FAST_FMAL): Likewise.
25401         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25402         [C99-based standards] (FP_ILOGBNAN): Likewise.
25403         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25404         Specify type.
25405         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25406         [C99-based standards] (math_errhandling): Specify type.
25407         [ISO99 || ISO11] (signgam): Do not allow.
25408         [non-C99-based standards] (copysignf): Do not allow.
25409         [non-C99-based standards] (exp2f): Likewise.
25410         [non-C99-based standards] (log2f): Likewise.
25411         [non-C99-based standards] (modff): Allow.
25412         [non-C99-based standards] (erff): Do not allow.
25413         [non-C99-based standards] (erfcf): Likewise.
25414         [non-C99-based standards] (gammaf): Likewise.
25415         [non-C99-based standards] (hypotf): Likewise.
25416         [non-C99-based standards] (j0f): Likewise.
25417         [non-C99-based standards] (j1f): Likewise.
25418         [non-C99-based standards] (jnf): Likewise.
25419         [non-C99-based standards] (lgammaf): Likewise.
25420         [non-C99-based standards] (tgammaf): Likewise.
25421         [non-C99-based standards] (y0f): Likewise.
25422         [non-C99-based standards] (y1f): Likewise.
25423         [non-C99-based standards] (ynf): Likewise.
25424         [non-C99-based standards] (isnanf): Likewise.
25425         [non-C99-based standards] (acoshf): Likewise.
25426         [non-C99-based standards] (asinhf): Likewise.
25427         [non-C99-based standards] (atanhf): Likewise.
25428         [non-C99-based standards] (cbrtf): Likewise.
25429         [non-C99-based standards] (expm1f): Likewise.
25430         [non-C99-based standards] (ilogbf): Likewise.
25431         [non-C99-based standards] (log1pf): Likewise.
25432         [non-C99-based standards] (logbf): Likewise.
25433         [non-C99-based standards] (nextafterf): Likewise.
25434         [non-C99-based standards] (remainderf): Likewise.
25435         [non-C99-based standards] (rintf): Likewise.
25436         [non-C99-based standards] (scalbf): Likewise.
25437         [non-C99-based standards] (copysignl): Likewise.
25438         [non-C99-based standards] (exp2l): Likewise.
25439         [non-C99-based standards] (log2l): Likewise.
25440         [non-C99-based standards] (modfl): Allow.
25441         [non-C99-based standards] (erfl): Do not allow.
25442         [non-C99-based standards] (erfcl): Likewise.
25443         [non-C99-based standards] (gammal): Likewise.
25444         [non-C99-based standards] (hypotl): Likewise.
25445         [non-C99-based standards] (j0l): Likewise.
25446         [non-C99-based standards] (j1l): Likewise.
25447         [non-C99-based standards] (jnl): Likewise.
25448         [non-C99-based standards] (lgammal): Likewise.
25449         [non-C99-based standards] (tgammal): Likewise.
25450         [non-C99-based standards] (y0l): Likewise.
25451         [non-C99-based standards] (y1l): Likewise.
25452         [non-C99-based standards] (ynl): Likewise.
25453         [non-C99-based standards] (isnanl): Likewise.
25454         [non-C99-based standards] (acoshl): Likewise.
25455         [non-C99-based standards] (asinhl): Likewise.
25456         [non-C99-based standards] (atanhl): Likewise.
25457         [non-C99-based standards] (cbrtl): Likewise.
25458         [non-C99-based standards] (expm1l): Likewise.
25459         [non-C99-based standards] (ilogbl): Likewise.
25460         [non-C99-based standards] (log1pl): Likewise.
25461         [non-C99-based standards] (logbl): Likewise.
25462         [non-C99-based standards] (nextafterl): Likewise.
25463         [non-C99-based standards] (remainderl): Likewise.
25464         [non-C99-based standards] (rintl): Likewise.
25465         [non-C99-based standards] (scalbl): Likewise.
25466         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25467         [non-C99-based standards] (FP_*): Do not allow.
25468         [C99-based standards] (FP_*): Change to
25469         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25470         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25471         allow.
25472         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25473         (SIG_ERR): Likewise.
25474         [X/Open-based standards] (SIG_HOLD): Likewise.
25475         (SIG_IGN): Likewise.
25476         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25477         positive value.
25478         (SIGFPE): Likewise.
25479         (SIGILL): Likewise.
25480         (SIGINT): Likewise.
25481         (SIGSEGV): Likewise.
25482         (SIGTER): Likewise.
25483         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25484         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25485         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25486         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25487         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25488         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25489         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25490         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25491         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25492         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25493         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25494         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25495         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25496         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25497         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25498         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25499         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25500         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25501         [X/Open-based standards] (SIGTRAP): Likewise.
25502         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25503         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25504         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25505         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25506         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25507         allow.
25509 2012-05-08  Ian Wienand  <ianw@vmware.com>
25511         [BZ #14080]
25512         * time/tzset.c (__tzset_parse_tz): Update default rules for
25513         daylight time changes in the Energy Policy Act of 2005.
25515 2012-05-09  Andreas Jaeger  <aj@suse.de>
25517         [BZ #13983]
25518         * elf/ldconfig.c (parse_conf): Change string to make clear that
25519         ldconfig only issued a warning if ld.so.conf does not exist.
25521 2012-05-08  David S. Miller  <davem@davemloft.net>
25523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25524         movxtod instead of popping the value on the stack.
25526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25528 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25530         * config.h.in: Add HAVE_ARM_PCS_VFP.
25532 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25534         [BZ #13979]
25535         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25536         checking but the checks are disabled for any reason.
25538 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25540         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25541         and ELF64_R_TYPE with ELFW(R_TYPE).
25543 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25545         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25546         (ulimit): Likewise.
25548         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25549         (settimeofday): Likewise.
25551 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25553         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25554         a struct th_u2 inside the union, and move tu_block/tu_code into
25555         a new th_u3 union of tu_block/tu_code inside of that.  Move
25556         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25557         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25558         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25559         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25560         (th_stuff): Change to th_u1.tu_stuff.
25561         (th_data): Define.
25562         (th_msg): Change to th_u1.th_u2.tu_data.
25564 2012-05-07  David S. Miller  <davem@davemloft.net>
25566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25568         [BZ #14074]
25569         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25570         (SETUP_PIC_REG): Use it.
25571         (SETUP_PIC_REG_LEAF): Use it.
25573 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25575         [BZ #13885]
25576         [BZ #13923]
25577         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25578         USE_AS_EXPM1L.
25579         (EXPL_FINITE): Likewise.
25580         (FLDLOG): Likewise.
25581         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25582         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25583         e_expl.S.
25584         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25585         USE_AS_EXPM1L.
25586         (EXPL_FINITE): Likewise.
25587         (FLDLOG): Likewise.
25588         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25589         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25590         e_expl.S.
25591         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25592         test of -max_value argument for long double.
25593         * sysdeps/i386/fpu/libm-test-ulps: Update.
25594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25596 2012-05-06  David S. Miller  <davem@davemloft.net>
25598         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25599         quad soft-float symbols whose references which are compiler
25600         generated.
25601         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25603 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25605         [BZ #13884]
25606         [BZ #13914]
25607         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25608         USE_AS_EXP10L.
25609         (EXPL_FINITE): Likewise.
25610         (FLDLOG): Likewise.
25611         (c0): Likewise.
25612         (c1): Likewise.
25613         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25614         Adjust comments for base varying.
25615         (__expl_finite): Change alias to EXPL_FINITE.
25616         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25617         e_expl.S.
25618         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25619         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25620         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25621         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25622         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25623         USE_AS_EXP10L.
25624         (EXPL_FINITE): Likewise.
25625         (FLDLOG): Likewise.
25626         (c0): Likewise.
25627         (c1): Likewise.
25628         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25629         Adjust comments for base varying.
25630         (__expl_finite): Change alias to EXPL_FINITE.
25631         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25632         tests for bugs.
25633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25635         [BZ #14064]
25636         * math/libm-test.inc (check_float_internal): Correct ulp
25637         calculation for subnormal expected results.
25639 2012-05-06  Andreas Jaeger  <aj@suse.de>
25641         * Makeconfig (+math-flags): New, set to -frounding-math.
25642         (+cflags): Add +math-flags so that all of glibc gets compiled with
25643         it.
25645         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25647 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25649         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25650         Disable one test.
25652         [BZ #13787]
25653         [BZ #13922]
25654         [BZ #14036]
25655         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25656         (__ieee754_expl): Allow for and saturate large arguments.
25657         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25658         (u_threshold): Likewise.
25659         (__exp): Call __ieee754_exp before checking for overflow and
25660         underflow.
25661         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25662         (u_threshold): Likewise.
25663         (__expf): Call __ieee754_expf before checking for overflow and
25664         underflow.
25665         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25666         (u_threshold): Likewise.
25667         (__expl): Call __ieee754_expl before checking for overflow and
25668         underflow.
25669         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25670         (__ieee754_expl): Allow for and saturate large arguments.
25671         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25672         missing overflow exception on overflow.
25673         (expm1_test): Do not allow missing overflow exception on overflow.
25675         * sysdeps/i386/fpu/e_expl.c: Move to ...
25676         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25677         rather than using inline asm.
25678         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25679         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25680         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25682         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25683         (nice): Likewise.
25684         (poll): Likewise.
25685         (signal): Likewise.
25686         (time): Likewise.
25687         (times): Likewise.
25689 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25691         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25692         sysdeps/unix/common/syscalls.list.
25693         (fchmod): Likewise.
25694         (fchown): Likewise.
25695         (ftruncate): Likewise.
25696         (getrusage): Likewise.
25697         (gettimeofday): Likewise.
25698         (setpgid): Likewise.
25699         (setregid): Likewise.
25700         (setreuid): Likewise.
25701         (sigaction): Likewise.
25702         (truncate): Likewise.
25703         (vhangup): Likewise.
25704         * sysdeps/unix/common/syscalls.list: Remove file.
25705         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25706         * sysdeps/unix/sysv/linux/Implies: Likewise.
25708 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25710         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25712         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25713         Moved to ...
25714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25715         Here.
25716         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25717         to ...
25718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25719         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25720         to ...
25721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25722         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25723         to ...
25724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25725         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25726         to ...
25727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25728         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25729         to ...
25730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25731         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25732         to ...
25733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25734         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25735         to ...
25736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25737         Here.
25738         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25739         to ...
25740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25741         Here.
25742         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25743         to ...
25744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25745         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25746         Moved to ...
25747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25748         Here.
25749         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25750         to ...
25751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25753 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25755         * sysdeps/unix/common/bits/dirent.h: Remove file.
25756         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25758         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25759         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25760         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25761         * sysdeps/unix/bsd/isatty.c: Likewise.
25762         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25763         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25764         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25766 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25768         [BZ #13563]
25769         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25770         long double comparison inaccuracies.
25771         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25774 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25776         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25777         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25779 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25781         [BZ #14049]
25782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25783         nonzero digits before rounding a hex value.
25784         * stdlib/tst-strtod.c (tests): Add another test.
25786 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25788         * sysdeps/s390/fpu/libm-test-ulps: Update.
25790 2012-05-03  Andreas Jaeger  <aj@suse.de>
25792         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25793         does not get optimized out.
25794         (malloc_opt_barrier): New.
25796 2012-05-03  Andreas Jaeger  <aj@suse.de>
25797             Roland McGrath  <roland@hack.frob.com>
25799         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25800         intermediate file deletion.
25801         (generated): Add .symlist files.
25803 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25805         [BZ #13775]
25806         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25807         Redirect under this condition.
25808         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25809         [__USE_GNU] (__dprintf_chk): Not under this condition.
25810         [__USE_GNU] (__vdprintf_chk): Likewise.
25811         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25812         under this condition.
25813         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25814         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25815         [__USE_XOPEN2K8] (vdprintf): Likewise.
25816         [__USE_GNU] (__dprintf_chk): Not under this condition.
25817         [__USE_GNU] (__vdprintf_chk): Likewise.
25818         [__USE_GNU] (dprintf): Likewise.
25819         [__USE_GNU] (vdprintf): Likewise.
25821 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25823         * elf/Makefile (common-generated): Set this instead of generated for
25824         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25825         $(all-built-dso)-derived lists.
25827 2012-05-03  Andreas Jaeger  <aj@suse.de>
25829         * sysdeps/i386/fpu/libm-test-ulps: Update.
25831         * FAQ: Removed.
25832         * FAQ.in: Likewise.
25833         * scripts/gen-FAQ.pl: Likewise.
25834         * manual/install.texi (Installation): Point to online location of
25835         FAQ.
25836         * Makefile (files-for-dist): Remove FAQ.
25837         (FAQ): Remove.
25839 2012-05-02  Allan McRae  <allan@archlinux.org>
25841         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25842         (LDFLAGS-reldepmod5.so): Likewise.
25843         (LDFLAGS-reldep6mod1.so): Likewise.
25844         (LDFLAGS-reldep6mod4.so): Likewise.
25845         (LDFLAGS-reldep8mod3.so): Likewise.
25846         (LDFLAGS-unload4mod1.so): Likewise.
25847         (LDFLAGS-unload4mod2.so): Likewise.
25848         (LDFLAGS-tst-initorder): Likewise.
25849         (LDFLAGS-tst-initordera2.so): Likewise.
25850         (LDFLAGS-tst-initordera3.so): Likewise.
25851         (LDFLAGS-tst-initordera4.so): Likewise.
25852         (LDFLAGS-tst-initorderb2.so): Likewise.
25853         (LDFLAGS-noload): Likewise.
25854         (LDFLAGS-next): Likewise.
25855         (LDFLAGS-order2mod1.so): Likewise.
25856         (LDFLAGS-order2mod2.so): Likewise.
25857         (LDFLAGS-tst-initorder2): Likewise.
25858         (LDFLAGS-tst-initorder2a.so): Likewise.
25859         (LDFLAGS-tst-initorder2b.so): Likewise.
25860         (LDFLAGS-tst-initorder2c.so): Likewise.
25861         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25863 2012-05-02  David S. Miller  <davem@davemloft.net>
25865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25867 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25869         [BZ #14055]
25870         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25872 2012-05-02  Andreas Jaeger  <aj@suse.de>
25874         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25875         since we manipulate rounding mode.
25876         (CPPFLAGS-test-idouble.c): Likewise.
25877         (CPPFLAGS-test-ifloat.c): Likewise.
25878         (CFLAGS-test-ldouble.c): Likewise.
25879         (CFLAGS-test-double.c): Likewise.
25880         (CFLAGS-test-float.c): Likewise.
25881         (CFLAGS-test-misc.c): Likewise.
25882         (CFLAGS-test-test-fenv.c): Likewise.
25884 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25886         [BZ #2550]
25887         [BZ #2570]
25888         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25889         comparisons to determine direction to adjust input.
25891 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25893         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25894         output to the target.
25896         * scripts/localplt.awk: New file.
25897         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25898         (check-localplt-CFLAGS): Variable removed.
25899         ($(all-built-dso:=.jmprel)): New static pattern rule.
25900         (generated): Add those targets.
25901         (localplt-built-dso): New variable.
25902         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25904         * elf/check-localplt.c: File removed.
25906         * scripts/check-execstack.awk: New file.
25907         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25908         (check-execstack-CFLAGS): Variable removed.
25909         ($(objpfx)check-execstack.h): Target removed.
25910         ($(objpfx)execstack-default): New target.
25911         (generated): Add that instead of check-execstack.h.
25912         ($(all-built-dso:=.phdr)): New static pattern rule.
25913         (generated): Add those targets.
25914         * elf/check-execstack.c: File removed.
25916         * scripts/check-textrel.awk: New file.
25917         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25918         (check-textrel-CFLAGS): Variable removed.
25919         (all-built-dso): Use := to define.o
25920         ($(all-built-dso:=.dyn)): New static pattern rule.
25921         (generated): Add those targets.
25922         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25923         * config.make.in (READELF): New substituted variable.
25924         * elf/check-textrel.c: File removed.
25926 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25928         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25929         allow.
25930         * conform/data/ctype.h-data [C99-based standards] (isblank):
25931         Expect function.
25932         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25933         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25934         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25935         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25936         Specify type.  Require positive value.
25937         (EILSEQ): Likewise.
25938         (ERANGE): Likewise.
25939         [ISO || POSIX] (EILSEQ): Do not expect.
25940         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25941         Specify type.  Require positive value.
25942         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25943         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25944         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25945         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25946         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25947         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25948         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25949         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25950         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25951         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25952         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25953         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25954         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25955         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25956         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25957         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25958         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25959         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25960         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25961         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25962         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25963         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25964         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25965         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25966         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25967         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25968         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25969         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25970         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25971         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25972         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25973         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25974         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25975         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25976         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25977         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25978         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25979         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25980         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25981         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25982         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25983         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25984         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25985         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25986         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25987         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25988         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25989         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25990         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25991         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25992         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25993         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25994         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25995         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25996         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25997         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25998         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25999         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26000         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26001         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26002         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26003         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26004         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26005         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26006         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26007         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26008         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26009         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26010         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26011         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26012         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26013         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26014         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26015         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26016         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26017         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26018         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26019         Require >= 2.
26020         (FLT_ROUNDS): Expect as macro, not constant.
26021         (FLT_MANT_DIG): Use macro-int-constant.
26022         (DBL_MANT_DIG): Likewise.
26023         (LDBL_MANT_DIG): Likewise.
26024         (FLT_DIG): Likewise.
26025         (DBL_DIG): Likewise.
26026         (LDBL_DIG): Likewise.
26027         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26028         (DBL_MIN_EXP): Likewise.
26029         (LDBL_MIN_EXP): Likewise.
26030         (FLT_MAX_EXP): Use macro-int-constant.
26031         (DBL_MAX_EXP): Likewise.
26032         (LDBL_MAX_EXP): Likewise.
26033         (FLT_MAX_10_EXP): Likewise.
26034         (DBL_MAX_10_EXP): Likewise.
26035         (LDBL_MAX_10_EXP): Likewise.
26036         (FLT_MAX): Use macro-constant.
26037         (DBL_MAX): Likewise.
26038         (LDBL_MAX): Likewise.
26039         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26040         (DBL_EPSILON): Likewise.
26041         (LDBL_EPSILON): Likewise.
26042         (FLT_MIN): Likewise.
26043         (DBL_MIN): Likewise.
26044         (LDBL_MIN): Likewise.
26045         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26046         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26047         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26048         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26049         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26050         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26051         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26052         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26053         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26054         [ISO11] (FLT_TRUE_MIN): Likewise.
26055         [ISO11] (LDBL_TRUE_MIN): Likewise.
26056         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26057         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26058         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26059         (SCHAR_MAX): Likewise.
26060         (UCHAR_MAX): Likewise.
26061         (CHAR_MIN): Likewise.
26062         (CHAR_MAX): Likewise.
26063         (MB_LEN_MAX): Use macro-int-constant.
26064         (SHRT_MIN): Use macro-int-constant.  Specify type.
26065         (SHRT_MAX): Likewise.
26066         (USHRT_MAX): Likewise.
26067         (INT_MAX): Likewise.
26068         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26069         bound negative.
26070         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26071         bound with "U".
26072         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26073         bound with "L".
26074         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26075         bound negative.  Suffix upper bound with "L".
26076         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26077         bound with "UL".
26078         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26079         Specify type.
26080         [C99-based standards] (LLONG_MAX): Likewise.
26081         [C99-based standards] (ULLONG_MAX): Likewise.
26082         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26083         == 0.
26084         [ISO11] (max_align_t): Require type.
26085         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26087         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26088         from $CFLAGS, without defining away __attribute__ calls.
26089         (checknamespace): Use $CFLAGS_namespace.
26091         * conform/conformtest.pl (@keywords): Only include C99 keywords
26092         for standards based on C99 or C11.
26094         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26095         Disable tests.
26096         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26097         UNIX98]: Likewise.
26099         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26100         usability of symbols in #if.
26102         * conform/conformtest.pl: If macro or constant types start
26103         "promoted:", expect the symbol to be of the following type
26104         promoted by the integer promotions.
26106         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26107         in one place.  Also handle "macro-constant".
26109         * conform/conformtest.pl: Only accept expected macro values with
26110         "==".  Parse all "macro" lines in one place.
26111         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26113         * conform/conformtest.pl: Handle braced types on "constant" lines
26114         instead of handling "typed-constant".
26115         * conform/data/signal.h-data: Use "constant" instead of
26116         "typed-constant".
26118         * conform/conformtest.pl: Handle "optional-" at start of lines in
26119         one place rather than duplicating several cases.  Handle each
26120         format of "macro" line with initial "optional-".
26122         * conform/conformtest.pl: Only accept expected constant or
26123         optional-constant values with "==".  Parse all "constant" lines in
26124         one place.  Parse all "optional-constant" lines in one place.
26125         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26126         * conform/data/fmtmsg.h-data: Likewise.
26127         * conform/data/netinet/in.h-data: Likewise.
26128         * conform/data/tar.h-data: Likewise.
26129         * conform/data/limits.h-data: Use "==" form on "constant" and
26130         "optional-constant" lines.
26132         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26133         Use -std=c99 for XOPEN2K.
26134         (@knownproblems): Remove.
26135         (newtoken): Don't check %isknown.
26137         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26138         Do not expect macro.
26139         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26140         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26141         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26142         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26143         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26144         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26145         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26146         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26147         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26148         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26149         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26150         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26151         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26152         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26153         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26154         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26155         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26156         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26157         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26158         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26159         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26160         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26161         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26162         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26163         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26164         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26165         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26166         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26167         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26168         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26169         [XPG3] (acosh): Likewise.
26170         [XPG3] (asinh): Likewise.
26171         [XPG3] (atanh): Likewise.
26172         [XPG3] (cbrt): Likewise.
26173         [XPG3] (expm1): Likewise.
26174         [XPG3] (ilogb): Likewise.
26175         [XPG3] (log1p): Likewise.
26176         [XPG3] (logb): Likewise.
26177         [XPG3] (nextafter): Likewise.
26178         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26179         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26180         [XPG3] (remainder): Likewise.
26181         [XPG3] (rint): Likewise.
26182         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26183         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26184         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26185         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26186         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26187         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26188         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26189         [UNIX98 || XOPEN2K] (scalb): Expect.
26190         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26191         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26192         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26193         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26194         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26195         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26196         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26197         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26198         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26199         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26200         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26201         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26202         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26203         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26204         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26205         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26206         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26207         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26208         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26209         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26210         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26211         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26212         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26213         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26214         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26215         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26216         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26217         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26218         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26219         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26220         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26221         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26222         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26223         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26224         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26225         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26226         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26227         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26228         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26229         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26230         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26231         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26232         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26233         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26234         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26235         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26236         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26237         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26238         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26239         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26240         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26241         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26242         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26243         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26244         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26245         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26246         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26247         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26248         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26249         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26250         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26251         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26252         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26253         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26254         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26255         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26256         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26257         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26258         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26259         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26260         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26261         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26262         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26263         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26264         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26265         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26266         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26267         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26268         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26269         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26270         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26271         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26272         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26273         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26274         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26275         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26276         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26277         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26278         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26279         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26280         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26281         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26282         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26283         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26284         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26285         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26286         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26287         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26288         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26289         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26290         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26291         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26292         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26293         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26294         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26295         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26296         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26297         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26298         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26299         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26300         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26301         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26302         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26303         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26304         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26305         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26306         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26307         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26308         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26309         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26310         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26311         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26312         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26313         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26314         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26315         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26316         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26317         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26318         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26319         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26320         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26321         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26322         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26323         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26324         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26325         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26326         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26328         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26329         _XOPEN_SOURCE_EXTENDED for XPG4.
26331         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26333         * Makeconfig (localtime): Remove variable.
26334         (inst_localtime-file): Likewise.
26336 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26339         Update.
26340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26341         Update.
26342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26343         Update.
26344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26345         Update.
26346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26347         Update.
26348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26349         Update.
26350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26351         Update.
26352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26353         Update.
26354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26355         Update.
26357 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26359         [BZ #2550]
26360         [BZ #2570]
26361         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26362         comparisons to determine direction to adjust input.
26363         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26364         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26365         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26366         Likewise.
26367         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26368         Likewise.
26369         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26370         Likewise.
26371         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26372         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26373         Likewise.
26374         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26375         Likewise.
26376         * math/libm-test.inc (nexttoward_test): Add more tests.
26378 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26380         [BZ #14040]
26381         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26382         in version GLIBC_2.1, not GLIBC_2.0.
26383         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26384         Likewise.
26386 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26388         [BZ #13942]
26389         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26390         (1 - x) * (1 + x).
26391         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26392         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26393         * math/libm-test.inc (acos_test): Add more tests.
26394         (asin_test): Likewise.
26395         * sysdeps/i386/fpu/libm-test-ulps: Update.
26396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26398         [BZ #14034]
26399         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26400         of square root.
26401         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26402         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26403         * math/libm-test.inc (acos_test_tonearest): New function.
26404         (acos_test_towardzero): Likewise.
26405         (acos_test_downward): Likewise.
26406         (acos_test_upward): Likewise.
26407         (asin_test_tonearest): Likewise.
26408         (asin_test_towardzero): Likewise.
26409         (asin_test_downward): Likewise.
26410         (asin_test_upward): Likewise.
26411         (main): Call the new functions.
26412         * sysdeps/i386/fpu/libm-test-ulps: Update.
26413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26415         [BZ #13884]
26416         [BZ #13924]
26417         * math/e_exp10.c: Include <float.h>.
26418         (__ieee754_exp10): Handle underflow here rather than multiplying
26419         large negative argument by M_LN10.
26420         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26421         of __ieee754_expf.
26422         * math/e_exp10l.c: Include <float.h>.
26423         (__ieee754_exp10l): Handle underflow here rather than multiplying
26424         large negative argument by M_LN10l.
26425         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26426         spurious overflow exception on underflow.
26428 2012-04-29  Marek Polacek  <polacek@redhat.com>
26430         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26431         (__fortify_function): New macro.
26432         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26433         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26434         __extern_always_inline.
26435         * libio/bits/stdio2.h: Likewise.
26436         * libio/bits/stdio.h: Likewise.
26437         * string/string.h: Likewise.
26438         * string/bits/string3.h: Likewise.
26439         * include/stdio.h: Likewise.
26440         * stdlib/bits/stdlib.h: Likewise.
26441         * stdlib/stdlib.h: Likewise.
26442         * rt/bits/mqueue2.h: Likewise.
26443         * rt/mqueue.h: Likewise.
26444         * posix/bits/unistd.h: Likewise.
26445         * posix/unistd.h: Likewise.
26446         * io/bits/poll2.h: Likewise.
26447         * io/bits/fcntl2.h: Likewise.
26448         * io/fcntl.h: Likewise.
26449         * io/sys/poll.h: Likewise.
26450         * misc/bits/syslog.h: Likewise.
26451         * misc/bits/syslog-ldbl.h: Likewise.
26452         * misc/sys/syslog.h: Likewise.
26453         * socket/bits/socket2.h: Likewise.
26454         * socket/sys/socket.h: Likewise.
26455         * debug/tst-chk1.c: Likewise.
26456         * wcsmbs/bits/wchar2.h: Likewise.
26457         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26458         * wcsmbs/wchar.h: Likewise.
26460 2012-04-29  Andreas Jaeger  <aj@suse.de>
26462         * Makerules (tests): Remove enable-check-abi protection.
26463         (check-abi-warn): Remove.
26464         (check-abi-%): Remove check-abi-warn usage.
26466         * configure.in: Remove check-abi configure option.
26467         * configure: Regenerated.
26468         * config.make.in (enable-check-abi): Remove.
26470 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26472         [BZ #14033]
26473         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26474         double functions to double *_finite functions.
26476         [BZ #13941]
26477         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26478         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26479         LDBL_MIN_EXP.
26480         * stdio-common/Makefile (tests): Add tst-sprintf3.
26481         * stdio-common/tst-sprintf3.c: New file.
26483         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26484         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26486 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26488         * conform/conformtest.pl: Remove duplicate typed-constant
26489         handling.
26491 2012-04-28  David S. Miller  <davem@davemloft.net>
26493         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26494         (check-abi-%): Remove AWK script prerequisite and explicit
26495         abilist directory.
26496         (check-abi): Rewrite to just diff the symlist with the abilist.
26497         (config-tls, config-abi-config): Delete, no longer used.
26498         (update-abi-%): Remove AWK script and explicit abilist directory.
26499         (update-abi): Rewrite to simply compare and conditionally copy the
26500         symlist and the sysdep abilist file.  Remove update-abi-config
26501         checks.
26502         * abilist/ld.abilist: Remove.
26503         * abilist/libBrokenLocale.abilist: Remove.
26504         * abilist/libanl.abilist: Remove.
26505         * abilist/libcrypt.abilist: Remove.
26506         * abilist/libdl.abilist: Remove.
26507         * abilist/librt.abilist: Remove.
26508         * abilist/libthread_db.abilist: Remove.
26509         * abilist/libutil.abilist: Remove.
26510         * scripts/extract-abilist.awk: Remove.
26511         * scripts/merge-abilist.awk: Remove.
26512         * sysdeps/generic/libcidn.abilist: New file.
26513         * sysdeps/generic/libnss_compat.abilist: New file.
26514         * sysdeps/generic/libnss_db.abilist: New file.
26515         * sysdeps/generic/libnss_dns.abilist: New file.
26516         * sysdeps/generic/libnss_files.abilist: New file.
26517         * sysdeps/generic/libnss_hesiod.abilist: New file.
26518         * sysdeps/generic/libnss_nis.abilist: New file.
26519         * sysdeps/generic/libnss_nisplus.abilist: New file.
26520         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26521         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26522         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26523         file.
26524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26525         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26526         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26527         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26528         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26529         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26530         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26531         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26532         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26533         file.
26534         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26535         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26536         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26537         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26538         file.
26539         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26540         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26541         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26542         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26543         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26544         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26545         file.
26546         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26547         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26548         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26549         file.
26550         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26551         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26552         New file.
26553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26554         New file.
26555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26556         New file.
26557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26558         New file.
26559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26560         New file.
26561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26562         New file.
26563         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26564         New file.
26565         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26566         New file.
26567         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26568         New file.
26569         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26570         New file.
26571         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26572         New file.
26573         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26574         New file.
26575         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26576         New file.
26577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26578         file.
26579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26580         New file.
26581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26582         New file.
26583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26584         file.
26585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26586         New file.
26587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26588         New file.
26589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26590         file.
26591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26592         New file.
26593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26594         New file.
26595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26596         New file.
26597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26598         New file.
26599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26600         New file.
26601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26602         New file.
26603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26605         file.
26606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26607         New file.
26608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26609         file.
26610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26611         file.
26612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26613         file.
26614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26615         file.
26616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26617         file.
26618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26619         New file.
26620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26621         file.
26622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26623         file.
26624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26625         New file.
26626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26627         file.
26628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26630         file.
26631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26632         New file.
26633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26634         file.
26635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26636         file.
26637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26638         file.
26639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26640         file.
26641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26642         file.
26643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26644         New file.
26645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26646         file.
26647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26648         file.
26649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26650         New file.
26651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26652         file.
26653         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26654         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26655         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26656         file.
26657         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26658         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26659         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26660         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26661         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26662         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26663         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26664         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26665         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26666         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26669         file.
26670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26671         New file.
26672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26673         file.
26674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26675         file.
26676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26677         file.
26678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26679         file.
26680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26681         file.
26682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26683         New file.
26684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26685         New file.
26686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26687         file.
26688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26689         New file.
26690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26691         file.
26692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26694         file.
26695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26696         New file.
26697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26698         file.
26699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26700         file.
26701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26702         file.
26703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26704         file.
26705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26706         file.
26707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26708         New file.
26709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26710         New file.
26711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26712         file.
26713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26714         New file.
26715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26716         file.
26718 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26720         * conform/conformtest.pl: Fix typo in handling typed-constant from
26721         allow-header.
26723 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26725         * README: Cut down references to pre-2.6 Linux kernels and
26726         Linuxthreads.  Update lists of configurations in libc and ports
26727         and sort alphabetically.  Say "or newer" with Linux kernel version
26728         requirements.
26730         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26732 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26734         [BZ #887]
26735         * math/libm-test.inc (logb_test_downward): New test to expose
26736         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26737         rounding mode.
26739 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26741         [BZ #14027]
26742         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26743         to be done.
26744         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26745         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26747 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26749         * sysdeps/unix/i386/brk.S: Remove file.
26750         * sysdeps/unix/i386/dl-brk.S: Likewise.
26751         * sysdeps/unix/i386/pipe.S: Likewise.
26752         * sysdeps/unix/i386/sigreturn.S: Likewise.
26753         * sysdeps/unix/i386/syscall.S: Likewise.
26754         * sysdeps/unix/i386/vfork.S: Likewise.
26755         * sysdeps/unix/i386/wait.S: Likewise.
26757         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26758         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26760         * configure.in (arm*-none*): Do not allow without
26761         --enable-hacker-mode.
26762         (netbsd*): Remove case setting base_os.
26763         (386bsd*): Likewise.
26764         (freebsd*): Likewise.
26765         (bsdi*): Likewise.
26766         (osf*): Likewise.
26767         (sunos*): Likewise.
26768         (ultrix*): Likewise.
26769         (newsos*): Likewise.
26770         (dynix*): Likewise.
26771         (*bsd*): Likewise.
26772         (sysv*): Likewise.
26773         (isc*): Likewise.
26774         (esix*): Likewise.
26775         (sco*): Likewise.
26776         (minix*): Likewise.
26777         (irix4*): Likewise.
26778         (irix6*): Likewise.
26779         (solaris[2-9]*): Likewise.
26780         (none): Likewise.
26781         * configure: Regenerated.
26783 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26785         [BZ #11521]
26786         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26787         overflow or cancellation in calculating denominator.
26788         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26789         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26790         down expression to avoid unexpected rounding in newer GCCs.
26791         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26793 2012-04-26  David S. Miller  <davem@davemloft.net>
26795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26796         long-double compat symbols.
26797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26811 2012-04-25  David S. Miller  <davem@davemloft.net>
26813         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26814         HWCAP_* values only after the memory barriers have been defined.
26815         (atomic_full_barrier): Define.
26816         (atomic_read_barrier): Define.
26817         (atomic_write_barrier): Define.
26819 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26821         * shlib-versions: Add libgcc_s version information.
26822         * sysdeps/generic/libgcc_s.h: Remove.
26823         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26824         libgcc_s.h.
26825         * sysdeps/gnu/unwind-resume.c: Likewise.
26826         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26828 2012-04-25  David S. Miller  <davem@davemloft.net>
26830         * sysdeps/unix/sparc/brk.S: Delete.
26831         * sysdeps/unix/sparc/dl-brk.S: Delete.
26832         * sysdeps/unix/sparc/pipe.S: Delete.
26833         * sysdeps/unix/sparc/sysdep.S: Delete.
26834         * sysdeps/unix/sparc/sysdep.h: Delete.
26835         * sysdeps/unix/sparc/vfork.S: Delete.
26836         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26837         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26838         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26839         ret_ERRVAL, r0, r1, MOVE): Define.
26840         (JUMPTARGET): Remove.
26841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26842         sysdeps/unix/sparc/sysdep.h
26843         (ENTRY, END): Remove.
26844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26846 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26848         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26849         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26850         -DIS_IN_build.
26852         * timezone/README: Update upstream location and email address for
26853         tzcode and tzdata.
26854         * timezone/zdump.c: Update from tzcode 2012b.
26855         * timezone/zic.c: Likewise.
26857         * configure.in (libc_cv_as_needed): Remove test.
26858         * configure: Regenerated.
26859         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26860         conditional definition.
26861         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26862         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26863         * config.make.in (have-as-needed): Remove variable.
26865 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26866             Paul Pluzhnikov  <ppluzhnikov@google.com>
26868         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26869         strings correctly.
26871 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26873         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26874         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26875         * sysdeps/sh/strlen.S: Likewise.
26877 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26879         * sysdeps/unix/fork.S: Remove file.
26880         * sysdeps/unix/i386/fork.S: Likewise.
26881         * sysdeps/unix/sparc/fork.S: Likewise.
26883         * sysdeps/unix/system.c: Remove file.
26884         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26886         * sysdeps/unix/getegid.S: Remove file.
26887         * sysdeps/unix/geteuid.S: Likewise.
26889 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26891         * scripts/check-localplt.awk: New file.
26892         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26893         of diff.
26894         * scripts/data/localplt-generic.data: Add a comment.
26896         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26897         NODE when __dir_mkfile failed.
26898         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26899         Reported by Ludovic Courtès <ludo@gnu.org>.
26901 2012-04-24  Andreas Jaeger  <aj@suse.de>
26903         * Makerules (common-clean): Also remove gen-as-const-headers
26904         files.
26906 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26908         * Makerules (native-compile): Do not change working directory for
26909         build.  Use $(OUTPUT_OPTION) in command.
26910         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26912 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26914         [BZ #13886]
26915         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26916         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26917         * math/libm-test.inc (floor_test): Add more tests.
26918         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26920 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26922         * sysdeps/unix/getdents.c: Remove file.
26923         * sysdeps/unix/sysv/getdents.c: Likewise.
26924         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26926         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26927         sysdeps/unix/mman/syscalls.list.
26928         (mmap): Likewise.
26929         (mprotect): Likewise.
26930         (msync): Likewise.
26931         (munmap): Likewise.
26932         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26933         * sysdeps/unix/mman/syscalls.list: Remove.
26934         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26936         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26937         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26938         * configure: Regenerated.
26939         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26940         $(libgcc_s_suffix).
26941         * config.make.in (libgcc_s_suffix): Remove variable.
26943 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26945         * sysdeps/unix/sysv/gethostname.c: Move to ...
26946         * sysdeps/posix/gethostname.c: ... here.
26948         * sysdeps/unix/execve.S: Remove file.
26950         * sysdeps/unix/_exit.S: Remove file.
26952 2012-04-23  Andreas Jaeger  <aj@suse.de>
26954         [BZ #13739]
26955         * manual/Makefile: Remove make dist support, there's no
26956         need for a stand-alone documentation tar ball.
26957         (TEXI2DVI): Define always, it's not in Makeconfig.
26958         (dist): Removed.
26959         (tar-it): Removed.
26960         (edition): Removed.
26961         (glibc-doc-$(edition).tar): Removed
26962         (%.Z): Removed.
26963         (%.gz): Removed.
26964         (%.uu): Removed.
26965         (ETAGS): Remove, it's in Makeconfig.
26966         (move-if-change): Remove, it's in Makeconfig.
26968 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26970         [BZ #13970]
26971         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26972         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26973         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26974         (strtod_l, strtof_l, strtold_l): Remove __wur.
26975         It is not necessarily an error to ignore strtol's return value.
26976         One can reliably look at the stored endptr to decide whether
26977         the number had valid syntax.
26979 2012-04-21  Andreas Jaeger  <aj@suse.de>
26981         [BZ #13739]
26982         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26984 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26986         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26987         * sysdeps/unix/sysv/Versions: Remove file.
26989 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26991         [BZ #13927]
26992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26994 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26996         [BZ #7064]
26997         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26998         version from __vm86.
27000 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27002         * sysdeps/unix/common/lxstat.c: Remove file.
27003         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27005         * sysdeps/unix/sysv/Makefile: Remove file.
27007         * sysdeps/unix/sysv/direct.h: Remove file.
27009         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27010         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27011         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27012         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27013         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27014         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27015         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27017         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27019         * sysdeps/unix/xmknod.c: Remove file.
27020         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27022         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27024         * sysdeps/unix/sysv/i386/time.S: Remove file.
27026         * sysdeps/unix/fxstat.c: Remove file.
27027         * sysdeps/unix/xstat.c: Likewise.
27028         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27030         * sysdeps/unix/sysv/sigaction.c: Remove file.
27032         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27033         (sysdep_headers): Remove variable.
27034         [termio.h not in sysdep_headers] (generated): Likewise.
27035         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27036         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27037         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27038         * sysdeps/unix/sysv/tcflow.c: Likewise.
27039         * sysdeps/unix/sysv/tcflush.c: Likewise.
27040         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27041         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27042         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27043         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27044         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27046         * sysdeps/unix/siglist.c: Remove file.
27048         * sysdeps/unix/getppid.S: Remove file.
27050         * sysdeps/unix/mkdir.c: Remove file.
27051         * sysdeps/unix/rmdir.c: Likewise.
27053 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27055         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27056         ERR_MAX value.
27057         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27058         errlist-compat value.
27060 2012-04-18  David S. Miller  <davem@davemloft.net>
27062         * sysdeps/generic/memcopy.h (reg_char): Delete.
27063         * debug/strcat_chk.c: Use char, not reg_char.
27064         * debug/strcpy_chk.c: Likewise.
27065         * debug/strncat_chk.c: Likewise.
27066         * debug/strncpy_chk.c: Likewise.
27067         * string/memchr.c: Likewise.
27068         * string/memrchr.c: Likewise.
27069         * string/rawmemchr.c: Likewise.
27070         * string/strcat.c: Likewise.
27071         * string/strchr.c: Likewise.
27072         * string/strchrnul.c: Likewise.
27073         * string/strcmp.c: Likewise.
27074         * string/strcpy.c: Likewise.
27075         * string/strncat.c: Likewise.
27076         * string/strncmp.c: Likewise.
27077         * string/strncpy.c: Likewise.
27079 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27081         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27082         __builtin_memcopy is called when src and dest ranges are known to not
27083         overlap.
27085 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27087         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27088         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27089         fwd_align_merge macro call.
27090         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27091         bwd_align_merge macro call.
27092         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27094 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27096         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27097         bwd_align_merge macros.
27098         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27099         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27100         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27102 2012-04-18  David S. Miller  <davem@davemloft.net>
27104         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27106 2012-04-18  Andreas Jaeger  <aj@suse.de>
27108         [BZ# 6794]
27109         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27110         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27111         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27113         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27114         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27115         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27117         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27118         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27119         Adjust for changed ldbl-128 files.
27121         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27122         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27123         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27125 2012-04-17  David S. Miller  <davem@davemloft.net>
27127         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27129 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27131         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27132         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27133         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27134         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27135         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27136         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27138 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27140         [BZ #6794]
27141         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27142         * math/libm-test.inc: Add ilogb errno and exception tests.
27143         * math/w_ilogb.c: New file: ilogb wrapper.
27144         * math/w_ilogbf.c: New file: ilogbf wrapper.
27145         * math/w_ilogbl.c: New file: ilogbl wrapper.
27146         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27147         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27148         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27149         exception being thrown with 0.0 as argument.
27150         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27151         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27152         exception being thrown with 0.0 as argument.
27153         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27154         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27155         exception being thrown with 0.0 as argument.
27156         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27157         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27158         exception being thrown with 0.0 as argument.
27159         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27160         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27161         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27162         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27163         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27164         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27165         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27166         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27167         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27169 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27171         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27172         with altivec.
27174 2012-04-16  Marek Polacek  <polacek@redhat.com>
27176         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27178 2012-04-16  Marek Polacek  <polacek@redhat.com>
27180         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27181         operands of fdivp instruction.
27183 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27185         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27186         * elf/tst-auditmod3b.c: Likewise.
27187         * elf/tst-auditmod4b.c: Likewise.
27188         * elf/tst-auditmod5b.c: Likewise.
27189         * elf/tst-auditmod6b.c: Likewise.
27190         * elf/tst-auditmod6c.c: Likewise.
27191         * elf/tst-auditmod7b.c: Likewise.
27192         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27193         * sysdeps/x86_64/preconfigure.in: Likewise.
27194         * sysdeps/x86_64/preconfigure: Regenerated.
27196 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27198         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27199         __ILP32__.
27201 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27204         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27206 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27208         [BZ #13973]
27209         * locale/iso-639.def: Fix gl language name. Spotted by
27210         Yaron Shahrabani.
27212 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27214         [BZ #2074]
27215         * libio/libio.h (__io_write_fn): Update comment.
27217 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27219         [BZ #2074]
27220         * stdio.texi (Hook Functions): The user provided writer function
27221         is not allowed to return -1.
27223 2012-04-11  David S. Miller  <davem@davemloft.net>
27225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27227 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27229         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27230         Add a leading slash to rtkaio.
27232 2012-04-11  Jim Meyering  <meyering@redhat.com>
27234         [BZ #11959]
27235         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27236         It is not necessarily an error to ignore fwrite's return
27237         value.  One can reliably use ferror to test for errors after
27238         the fact.
27240 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27242         * bits/types.h (__snseconds_t): New type.
27243         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27245         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27246         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27247         (__SNSECONDS_T_TYPE): Likewise.
27248         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27249         (__SNSECONDS_T_TYPE): Likewise.
27250         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27251         (__SNSECONDS_T_TYPE): Likewise.
27253 2012-04-10  Andreas Jaeger  <aj@suse.de>
27255         [BZ #2636]
27256         * manual/time.texi (Processor Time): Return type of times is
27257         elapsed real time since an arbitrary point in the past.
27258         (CPU Time): Move CLK_TCK from here...
27259         (Processor Time): ...to here.  Correct description.
27260         * manual/conf.texi (Constants for Sysconf): Correct description of
27261         _SC_CLK_TCK.
27263 2012-04-10  David S. Miller  <davem@davemloft.net>
27265         [BZ #13967]
27266         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27267         where the is a gap between DT_REL(A) and DT_JMPREL.
27269 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27271         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27272         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27273         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27275 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27277         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27278         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27279         (dl_main): Handle --inhibit-cache.
27280         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27281         _dl_inhibit_cache.
27282         * elf/dl-load.c (_dl_map_object): Use it.
27283         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27285 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27287         [BZ #13872]
27288         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27289         (__ieee754_powl): Saturate large exponents rather than testing for
27290         overflow of y*log2(x).
27291         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27292         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27293         exceptions.
27295         [BZ #11521]
27296         * math/s_ctan.c: Include <float.h>.
27297         (__ctan): Avoid internal overflow or cancellation in calculating
27298         denominator.
27299         * math/s_ctanf.c: Likewise.
27300         * math/s_ctanl.c: Likewise.
27301         * math/s_ctanh.c: Likewise.
27302         * math/s_ctanhf.c: Likewise.
27303         * math/s_ctanhl.c: Likewise.
27304         * math/libm-test.inc (ctan_test): Add more tests.
27305         (ctanh_test): Likewise.
27306         * sysdeps/i386/fpu/libm-test-ulps: Update.
27307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27309 2012-04-09  Andreas Jaeger  <aj@suse.de>
27311         [BZ #6894]
27312         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27313         is an optional BSD extension.
27315         [BZ #10254]
27316         * manual/stdio.texi (Opening Streams): Document additional fopen
27317         parameters.
27319 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27321         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27322         %eax without telling the compiler.
27324 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27326         [BZ # 13963]
27327         * manual/install.texi: Use sourceware.org.
27329 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27331         [BZ #13873]
27332         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27333         (__ieee754_pow): Generate overflow and underflow using huge*huge
27334         and tiny*tiny rather than just returning constant infinity or zero
27335         for large exponents.
27336         * math/libm-test.inc (pow_test): Require overflow exceptions for
27337         applicable cases of large exponents.
27339         [BZ #706]
27340         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27341         (__ieee754_pow): Use iterative multiplication algorithm only for
27342         integer exponents with absolute value below 1024.  Check for odd
27343         integer exponents when using algorithm for real exponents.
27344         * math/libm-test.inc (pow_test): Add more tests.
27345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27347 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27349         [BZ #13705]
27350         * math/libm-test.inc (exp_test): Do not allow overflow exception
27351         on underflow test.
27353 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27355         [BZ #13705]
27356         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27357         instead of __kernel_standard_f.
27359 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27361         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27362         * sysdeps/x86_64/memset_chk.S: Likewise.
27364 2012-04-08  Andreas Jaeger  <aj@suse.de>
27366         [BZ #10153]
27367         * manual/startup.texi (Environment Access): Describe return value
27368         for putenv and setenv.
27370         [BZ #6895]
27371         * manual/filesys.texi (Directory Entries): Add description for
27372         DT_LNK.
27374         [BZ #6890]
27375         * manual/filesys.texi (Directory Entries): Clarify that it's file
27376         system not operating system in the description of DT_UNKNOWN.
27378         [BZ #6578]
27379         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27381 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27383         [BZ #6649]
27384         * manual/llio.texi (Opening and Closing Files): Add cross
27385         reference to explain mode argument.
27387 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27389         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27390         * sysdeps/x86_64/memset_chk.S: Likewise.
27392 2012-04-07  David S. Miller  <davem@davemloft.net>
27394         * elf/elf.h (R_SPARC_WDISP10): Define.
27395         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27396         R_SPARC_SIZE32.
27397         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27398         R_SPARC_SIZE64 and R_SPARC_H34.
27400 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27402         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27403         conditions and remove no longer applicable assertion.
27405 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27407         * bits/byteswap.h: Include <features.h>.
27408         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27409         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27411 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27413         * bits/byteswap.h (__bswap_16): Removed.
27414         Include <bits/byteswap-16.h> to get __bswap_16.
27415         * sysdeps/i386/bits/byteswap.h: Likewise.
27416         * sysdeps/s390/bits/byteswap.h: Likewise.
27417         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27418         * bits/byteswap-16.h: New file.
27419         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27420         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27421         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27422         * string/Makefile (headers): Add bits/byteswap-16.h.
27424 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27426         [BZ #13895]
27427         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27428         extra indirection.
27429         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27430         * nss/tst-nss-static.c: New.
27432 2012-04-06  Robert Millan  <rmh@gnu.org>
27434         [BZ #6486]
27435         * manual/llio.texi (File Position Primitive): lseek
27436         refers to WHENCE when it really means OFFSET.
27438 2012-04-06  Andreas Jaeger  <aj@suse.de>
27440         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27441         strncmp declarations.
27443         * abilist/libc.abilist: Add __poll and __ppoll.
27445 2012-04-05  David S. Miller  <davem@davemloft.net>
27447         * scripts/check-local-headers.sh: Accept a host triplet in the
27448         path matched by the exclude regexp.
27450         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27451         definition.
27452         * sysdeps/powerpc/powerpc32/dl-machine.h
27453         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27454         * sysdeps/s390/s390-32/dl-machine.h
27455         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27456         * sysdeps/sparc/sparc32/dl-machine.h
27457         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27458         * sysdeps/sparc/sparc64/dl-machine.h
27459         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27461         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27462         lazy binding.
27463         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27464         undefined symbol errors.
27466         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27467         DT_NEEDED entries.
27469 2012-04-05  Michael Matz  <matz@suse.de>
27471         [BZ #13592]
27472         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27474 2012-04-05  Andreas Jaeger  <aj@suse.de>
27476         [BZ #13908]
27477         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27478         comment.
27480 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27482         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27483         which ROUND is no valid rounding mode.
27485 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27487         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27488         read again.
27489         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27491 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27493         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27494         an exception using FPU order intentionally.
27496 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27498         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27499         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27500         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27501         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27503 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27505         [BZ #12340]
27506         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27507         EINVAL when BUFLEN is too smal.
27509 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27511         [BZ #13553]
27512         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27513         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27515 2012-04-03  Andreas Jaeger  <aj@suse.de>
27517         [BZ #13938]
27518         * manual/setjmp.texi (System V contexts): Fix sentence.
27520         [BZ #13926]
27521         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27522         New macro for this case.
27523         [!__GNUC__] (__bswap_64): New inline function for this case.
27524         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27525         * bits/byteswap.h: Likewise.
27526         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27527         ull, guard with __GLIBC_HAVE_LONG_LONG.
27529         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27530         __GLIBC_HAVE_LONG_LONG.
27532         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27533         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27535 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27537         [BZ #13691]
27538         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27539         inptr and inend, rather than using last_ch.
27541 2012-04-02  David S. Miller  <davem@davemloft.net>
27543         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27544         * stdio-common/printf-parse.h (read_int): Change return type to
27545         'int', return -1 on INT_MAX overflow.
27546         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27547         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27548         overflows INT_MAX.  Check for overflow of in-format-string precision
27549         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27550         SIZE_MAX not INT_MAX for integer overflow test.
27551         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27552         skip the construct in the format string but do not record anything.
27553         * stdio-common/bug22.c: Adjust to test both width/prevision
27554         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27555         explicitly for proper errno values.
27557 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27559         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27560         CHAR_MAX.
27561         * string/test-strcmp.c [! WIDE]: Likewise.
27562         * time/tst-mktime2.c: Likewise for INT_MAX.
27563         * string/test-string.h: #include <sys/param.h> for MIN.
27565         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27566         * sysdeps/i386/init-first.c (init): Likewise.
27567         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27568         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27569         * sysdeps/sh/init-first.c (init): Likewise.
27571 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27573         * po/ru.po: Update from translation team.
27574         * po/vi.po: Likewise.
27576 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27578         * resolv/nss_dns/dns-host.c: Merge copyright years.
27580 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27582         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27583         Optimize memcpy with prefetch if
27584         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27585         src, dst pointers have unequal 16 byte alignments.
27587 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27589         [BZ #13928]
27590         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27591         from a CNAME entry and return the minimum ttl for the query.
27592         (gaih_getanswer_slice): Likewise.
27594 2012-03-30  Jeff Law  <law@redhat.com>
27596         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27597         due to long keys.
27598         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27599         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27601         * resolv/nss_dns/dns-host.c: Update copyright year.
27603 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27605         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27606         requests to save a system call.  Fix check that all bytes are sent.
27608         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27609         comments for sendmmsg.
27611 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27613         [BZ #13691]
27614         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27615         with only 1 character between 0x0041 and 0x01b0.
27616         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27617         * wcsmbs/tst-mbsnrtowcs.c: New file.
27619 2012-03-29  David S. Miller  <davem@davemloft.net>
27621         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27622         small copies by hand.
27624 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27626         [BZ #13761]
27627         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27628         _nss_compat_initgroups_dyn): Fall back to malloc/free
27629         for large group memberships.
27631 2012-03-28  David S. Miller  <davem@davemloft.net>
27633         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27634         that branches into memcpy.
27635         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27636         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27637         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27638         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27639         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27640         bits.
27641         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27642         implementation too.
27643         * sysdeps/sparc/mempcpy.S: New file.
27645         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27646         the IFUNC routine in the libc case.
27647         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27649         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27650         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27651         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27652         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27653         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27654         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27655         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27656         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27658         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27659         loop to 256 bytes instead of 64 bytes and fix test signedness.
27661         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27662         * sysdeps/sparc/sparc32/Makefile: rather than here...
27663         * sysdeps/sparc/sparc64/Makefile: and here.
27665 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27667         * malloc/mallocbug.c: Avoid warnings about unused variables.
27669 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27671         [BZ #13760]
27672         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27673         in the right place. Discard and retry query if response is
27674         larger than input buffer size.
27676 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27678         [BZ #369]
27679         [BZ #2678]
27680         [BZ #3866]
27681         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27682         x for large integer exponent.
27683         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27684         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27685         sign of result as needed afterwards.
27686         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27687         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27688         result for underflowing pow the same as for overflow.
27689         (__kernel_standard_l): Handle powl overflow and underflow here
27690         rather than calling __kernel_standard.
27691         * math/libm-test.inc (pow_test): Add more tests.
27693         [BZ #3868]
27694         [BZ #13879]
27695         [BZ #13910]
27696         [BZ #13911]
27697         [BZ #13912]
27698         [BZ #13913]
27699         [BZ #13915]
27700         [BZ #13916]
27701         [BZ #13917]
27702         [BZ #13918]
27703         [BZ #13919]
27704         [BZ #13920]
27705         [BZ #13921]
27706         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27707         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27708         (__kernel_standard_l): New function.
27709         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27710         __kernel_standard.
27711         * math/w_acosl.c (__acosl): Likewise.
27712         * math/w_asinl.c (__asinl): Likewise.
27713         * math/w_atan2l.c (__atan2l): Likewise.
27714         * math/w_atanhl.c (__atanhl): Likewise.
27715         * math/w_coshl.c (__coshl): Likewise.
27716         * math/w_exp10l.c (__exp10l): Likewise.
27717         * math/w_exp2l.c (__exp2l): Likewise.
27718         * math/w_fmodl.c (__fmodl): Likewise.
27719         * math/w_hypotl.c (__hypotl): Likewise.
27720         * math/w_j0l.c (__j0l, __y0l): Likewise.
27721         * math/w_j1l.c (__j1l, __y1l): Likewise.
27722         * math/w_jnl.c (__jnl, __ynl): Likewise.
27723         * math/w_lgammal.c (__lgammal): Likewise.
27724         * math/w_log10l.c (__log10l): Likewise.
27725         * math/w_log2l.c (__log2l): Likewise.
27726         * math/w_logl.c (__logl): Likewise.
27727         * math/w_powl.c (__powl): Likewise.
27728         * math/w_remainderl.c (__remainderl): Likewise.
27729         * math/w_scalbl.c (sysv_scalbl): Likewise.
27730         * math/w_sinhl.c (__sinhl): Likewise.
27731         * math/w_sqrtl.c (__sqrtl): Likewise.
27732         * math/w_tgammal.c (__tgammal): Likewise.
27733         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27734         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27735         * math/libm-test.inc (acos_test): Add more tests.
27736         (acosh_test): Likewise.
27737         (asin_test): Likewise.
27738         (atanh_test): Likewise.
27739         (exp_test): Likewise.
27740         (exp10_test): Likewise.
27741         (exp2_test): Likewise.
27742         (expm1_test): Likewise.
27743         (lgamma_test): Likewise.
27744         (log_test): Likewise.
27745         (log10_test): Likewise.
27746         (log1p_test): Likewise.
27747         (log2_test): Likewise.
27748         (pow_test): Do not allow some spurious overflow exceptions.
27749         (sqrt_test): Add more tests.
27750         (tgamma_test): Likewise.
27751         (y0_test): Likewise.
27752         (y1_test): Likewise.
27753         (yn_test): Likewise.
27755 2012-03-27  Anton Blanchard  <anton@samba.org>
27757         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27758         MAP_HUGETLB.
27759         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27760         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27761         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27763 2012-03-27  David S. Miller  <davem@davemloft.net>
27765         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27767         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27768         have-as-vis3 check.
27770 2012-03-27  Andreas Jaeger  <aj@suse.de>
27772         * sysdeps/x86_64/elf/configure.in: Moved to ...
27773         * sysdeps/x86_64/configure.in: ... here.
27774         * sysdeps/x86_64/elf/start.S: Moved to ...
27775         * sysdeps/x86_64/start.S: ... here.
27776         * sysdeps/x86_64/elf/configure: Delete.
27778         * sysdeps/x86_64/configure.in: Merge contents from
27779         sysdeps/i386/configure.in (without i686 check).
27781         * sysdeps/i386/elf/Versions: Merge into ...
27782         * sysdeps/i386/Versions: ... this.
27783         * sysdeps/i386/elf/Versions: Delete file.
27784         * sysdeps/i386/elf/start.S: Moved to ...
27785         * sysdeps/i386/start.S: ...here.
27786         * sysdeps/i386/elf/configure.in: Merge into...
27787         * sysdeps/i386/configure.in: ...here.
27788         * sysdeps/i386/elf/configure.in: Delete file.
27789         * sysdeps/i386/elf/configure: Delete file.
27791         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27792         * debug/backtracesyms.c: ... here.
27793         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27794         * debug/backtracesymsfd.c: ... here.
27795         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27796         * sysdeps/generic/ifunc-sel.h: ... here.
27798         * sysdeps/unix/i386/start.c: Delete file.
27799         * sysdeps/unix/sparc/start.c: Delete file.
27800         * sysdeps/unix/start.c: Delete file.
27802         * sysdeps/sh/elf/configure.in: Moved to ...
27803         * sysdeps/sh/configure.in: ... here.
27804         * sysdeps/sh/elf/start.S: Moved to ...
27805         * sysdeps/sh/start.S: ... here.
27806         * sysdeps/sh/elf/configure: Delete file.
27808         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27809         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27810         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27811         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27812         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27813         * sysdeps/powerpc/powerpc64/start.S: here.
27814         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27815         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27816         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27817         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27818         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27820         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27821         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27822         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27823         * sysdeps/powerpc/powerpc32/start.S: ... here.
27824         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27825         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27826         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27828         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27829         * sysdeps/powerpc/ifunc-sel.h: ... here.
27830         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27831         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27833         * sysdeps/sparc/elf/configure.in: Moved to ...
27834         * sysdeps/sparc/configure.in: ... here.
27835         * sysdeps/sparc/elf/configure: Delete file.
27836         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27837         * sysdeps/sparc/sparc32/start.S: ... here.
27838         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27839         * sysdeps/sparc/sparc64/start.S: ... here.
27840         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27841         * sysdeps/sparc/sparc32/Makefile: ... this.
27842         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27843         * sysdeps/sparc/sparc64/Makefile: ... this.
27845         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27846         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27847         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27848         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27849         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27850         * sysdeps/s390/s390-32/setjmp.S: ... here.
27851         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27852         * sysdeps/s390/s390-32/configure.in: ... here.
27853         * sysdeps/s390/s390-32/elf/configure: Delete file.
27854         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27855         * sysdeps/s390/s390-32/start.S: ... here.
27857         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27858         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27859         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27860         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27861         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27862         * sysdeps/s390/s390-64/setjmp.S: ... here.
27863         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27864         * sysdeps/s390/s390-64/configure.in: ... here
27865         * sysdeps/s390/s390-64/elf/configure: Delete file.
27866         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27867         * sysdeps/s390/s390-64/start.S: ... here.
27868         * sysdeps/s390/s390-64/elf/configure: Delete.
27870         * configure.in: Remove support for elf directories in sysdeps.
27872         * configure: Regenerated.
27873         * sysdeps/i386/configure: Regenerated.
27874         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27875         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27876         * sysdeps/s390/s390-32/configure: Regenerated.
27877         * sysdeps/s390/s390-64/configure: Regenerated.
27878         * sysdeps/sh/configure: Regenerated.
27879         * sysdeps/sparc/configure: Regenerated.
27880         * sysdeps/x86_64/configure: Regenerated.
27882 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27886         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27887         denormal result into account.
27889 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27891         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27892         Reported by Allan McRae <allan@archlinux.org>.
27894 2012-03-23  Jeff Law  <law@redhat.com>
27896         * nss/getnssent.c (__nss_getent): Fix typo.
27898 2012-03-23  David S. Miller  <davem@davemloft.net>
27900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27902 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27904         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27905         to pad to uint64_t for each field.
27906         (dl_tls_index): Replace unsigned long with uint64_t.
27908 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27909         Paul Pluzhnikov  <ppluzhnikov@google.com>
27911         [BZ #6528]
27912         * grp/Makefile (otherlibs): Don't set it.
27913         * inet/Makefile (otherlibs): Likewise.
27914         * login/Makefile (otherlibs): Likewise.
27915         * nscd/Makefile (otherlibs): Likewise.
27916         * posix/Makefile (otherlibs): Likewise.
27917         * pwd/Makefile (otherlibs): Likewise.
27918         * rt/Makefile (otherlibs): Likewise.
27919         * sunrpc/Makefile (otherlibs): Likewise.
27920         * nss/Makefile (otherlibs): Likewise.
27921         Add libnss_files to routines and static-only-routines.
27922         ($(objpfx)getent): Remove rule.
27923         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27924         static-only-routines.
27926 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27928         [BZ #13892]
27929         * math/s_cexp.c: Include <float.h>.
27930         (__cexp): Handle exp result overflowing not necessarily
27931         overflowing both real and imaginary parts of result.
27932         * math/s_cexpf.c: Likewise.
27933         * math/s_cexpl.c: Likewise.
27934         * math/libm-test.inc (cexp_test): Add more tests.
27935         * sysdeps/i386/fpu/libm-test-ulps: Update.
27936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27938 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27940         * include/link.h (ELFW): New macro.
27941         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27942         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27944 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27946         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27947         with uint64_t.
27949 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27951         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27952         declaration.
27953         (struct La_x32_retval): Likewise.
27955 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27957         * sysdeps/x86_64/preconfigure.in: New file.
27958         * sysdeps/x86_64/preconfigure: New generated file.
27960 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27962         [BZ #13824]
27963         * math/e_exp2l.c: Include <float.h>.
27964         (__ieee754_exp2l): Handle overflow and underflow cases
27965         separately.  Only pass fractional part of argument to
27966         __ieee754_expl.
27967         * math/libm-test.inc (exp2_test): Add more tests.
27969         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27970         negating x to take absolute value.
27971         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27972         Likewise.
27973         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27974         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27975         Likewise.
27976         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27977         computing low part if x was negated.
27978         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27980 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27982         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27983         la_x32_gnu_pltexit.
27984         (pltexit): Cast int_retval to ptrdiff_t.
27985         * elf/tst-auditmod3b.c: Likewise.
27986         * elf/tst-auditmod4b.c: Likewise.
27987         * elf/tst-auditmod5b.c: Likewise.
27988         * elf/tst-auditmod6b.c: Likewise.
27989         * elf/tst-auditmod6c.c: Likewise.
27990         * elf/tst-auditmod7b.c: Likewise.
27992         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27993         and x32_gnu_pltexit.
27995         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27996         __ELF_NATIVE_CLASS.
27997         (La_x32_regs): New macro.
27998         (La_x32_retval): Likewise.
27999         (la_x32_gnu_pltenter): New function prototype.
28000         (la_x32_gnu_pltexit): Likewise.
28002 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28004         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28005         exponent.
28007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28009         * configure.in (libc_cv_cc_nofma): Check for option to disable
28010         generation of FMA instructions.
28011         * configure: Regenerate.
28012         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28013         * sysdeps/ieee754/dbl-64/Makefile: New file.
28014         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28015         Remove brandred-fma4.
28016         (CFLAGS-brandred-fma4.c): Remove.
28017         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28018         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28019         define.
28020         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28021         define.
28023 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28025         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28026         LLONG_MAX != LONG_MAX.
28027         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28028         (_fitoa_word): Likewise.
28029         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28030         LLONG_MAX != LONG_MAX.
28031         * stdio-common/_itowa.h: Include <_itoa.h>.
28032         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28033         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28034         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28035         only if not defined.
28036         (_ITOA_WORD_TYPE): Likewise.
28037         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28038         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28040 2012-03-21  David S. Miller  <davem@davemloft.net>
28042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28044 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28046         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28047         of x86_64 when setting libc_cv_slibdir, libdir and
28048         libc_cv_localedir.
28049         * sysdeps/unix/sysv/linux/configure: Regenerated.
28051 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28053         * manual/lang.texi (Old Varargs): Remove section.
28054         (How Variadic): Update menu.
28055         (va_start): Do not mention varargs.h.
28057 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28058             Joseph Myers  <joseph@codesourcery.com>
28060         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28061         link test.
28062         * configure: Regenerated.
28064 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28066         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28067         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28068         conformtest.pl
28070 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28072         * NOTES: Remove.
28073         * Makefile (files-for-dist): Remove NOTES.
28074         (NOTES): Remove rule.
28075         * README: Don't refer to NOTES.
28076         * manual/creature.texi: Don't include macros.texi.
28077         * manual/intro.texi (creature.texi): Remove comment referring to
28078         NOTES.
28080         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28081         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28082         * configure: Regenerated.
28083         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28084         LIBC_TRY_CC_OPTION.
28085         (libc_cv_as_i686): Likewise.
28086         (libc_cv_cc_avx): Likewise.
28087         (libc_cv_cc_sse2avx): Likewise.
28088         (libc_cv_cc_fma4): Likewise.
28089         (libc_cv_cc_novzeroupper): Likewise.
28090         * sysdeps/i386/configure: Regenerated.
28092         [BZ #13883]
28093         * sysdeps/i386/fpu/s_cexp.S: Remove.
28094         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28095         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28096         * math/libm-test.inc (cexp_test): Add more tests.
28097         * sysdeps/i386/fpu/libm-test-ulps: Update.
28098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28100 2012-03-21  Allan McRae  <allan@archlinux.org>
28102         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28104 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28106         [BZ #13871]
28107         * math/w_exp2.c: Do not include <float.h>.
28108         (o_threshold, u_threshold): Remove.
28109         (__exp2): Calculate result before checking finiteness and calling
28110         __kernel_standard.
28111         * math/w_exp2f.c: Likewise.
28112         * math/w_exp2l.c: Likewise.
28113         * math/libm-test.inc (exp2_test): Require overflow exception for
28114         1e6 input.
28116         [BZ #3866]
28117         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28118         range of signed 64-bit integers before using fistpll.  Remove
28119         checks for whether integers fit in mantissa bits.
28120         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28121         the range of signed 32-bit integers before using fistpl.  Remove
28122         checks for whether integers fit in mantissa bits.
28123         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28124         (__ieee754_powl): Test for y outside the range of signed 64-bit
28125         integers before using fistpll.  Reduce 64-bit values to 63-bit
28126         ones as needed.
28127         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28128         divide-by-zero is raised for zero to large negative powers.
28129         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28130         (__ieee754_powl): Test for y outside the range of signed 64-bit
28131         integers before using fistpll.  Reduce 64-bit values to 63-bit
28132         ones as needed.
28133         * math/libm-test.inc (pow_test): Add more tests.
28135 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28137         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28138         <stdio-common/_itoa.h>.
28139         * debug/segfault.c: Likewise.
28140         * elf/dl-cache.c: Likewise.
28141         * elf/dl-minimal.c: Likewise.
28142         * elf/dl-misc.c: Likewise.
28143         * elf/dl-sysdep.c: Likewise.
28144         * elf/dl-version.c: Likewise.
28145         * elf/rtld.c: Likewise.
28146         * hurd/hurdsock.c: Likewise.
28147         * hurd/lookup-retry.c: Likewise.
28148         * malloc/malloc.c: Likewise.
28149         * malloc/mtrace.c: Likewise.
28150         * nscd/nscd_getgr_r.c: Likewise.
28151         * nscd/nscd_getpw_r.c: Likewise.
28152         * nscd/nscd_getserv_r.c: Likewise.
28153         * posix/getopt_init.c: Likewise.
28154         * posix/wordexp.c: Likewise.
28155         * stdio-common/_itoa.c: Likewise.
28156         * stdio-common/printf_fphex.c: Likewise.
28157         * stdio-common/vfprintf.c: Likewise.
28158         * string/_strerror.c: Likewise.
28159         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28160         * sysdeps/i386/i686/hp-timing.h: Likewise.
28161         * sysdeps/mach/_strerror.c: Likewise.
28162         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28163         * sysdeps/mach/hurd/sethostid.c: Likewise.
28164         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28165         * sysdeps/mach/xpg-strerror.c: Likewise.
28166         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28167         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28168         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28169         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28170         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28171         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28172         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28173         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28174         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28175         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28176         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28177         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28178         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28179         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28180         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28181         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28182         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28183         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28184         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28185         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28186         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28188         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28190         * stdio-common/_itoa.h: Moved to ...
28191         * sysdeps/generic/_itoa.h: Here.
28193         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28195         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28196         instead of "_itoa.h" and "_itowa.h".
28197         * stdio-common/vfprintf.: Likewise.
28199 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28201         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28202         <bits/wordsize.h>.
28203         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28204         (__signbit): Likwise.
28205         (llrintf): Likwise.
28206         (llrint): Likwise.
28208 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28210         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28211         __WORDSIZE != 64.
28213 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28215         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28216         OVERFLOW_EXCEPTION_OK.
28217         * math/libm-test.inc ("Philosophy"): Update comment about
28218         exception testing.
28219         (OVERFLOW_EXCEPTION): Define.
28220         (OVERFLOW_EXCEPTION_OK): Likewise.
28221         (INVALID_EXCEPTION_OK): Renumber.
28222         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28223         (IGNORE_ZERO_INF_SIGN): Likewise.
28224         (test_exceptions): Handle FE_OVERFLOW.
28225         (exp10_test): Expect overflow exceptions.
28226         (exp2_test): Likewise.
28227         (expm1_test): Likewise.
28228         (nextafter_test): Likewise.
28229         (pow_test): Likewise.
28230         (scalbn_test): Likewise.
28231         (scalbln_test): Likewise.
28233 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28235         * sysdeps/x86_64/bits/atomic.h
28236         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28237         64bit integer.
28238         (atomic_exchange_acq): Likewise.
28239         (__arch_exchange_and_add_body): Likewise.
28240         (__arch_add_body): Likewise.
28241         (atomic_add_negative): Likewise.
28242         (atomic_add_zero): Likewise.
28244 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28246         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28247         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28249 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28251         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28252         Check __x86_64__ instead of __WORDSIZE.
28254 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28256         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28258 2012-03-19  David S. Miller  <davem@davemloft.net>
28260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28262         * sysdeps/sparc/fpu/fenv_private.h: New file.
28263         * sysdeps/sparc/fpu/math_private.h: Use it.
28264         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28265         Remove.
28266         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28267         (libc_feholdexcept_setroundl): Remove.
28268         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28269         Remove.
28270         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28271         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28273 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28275         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28276         int64_t instead of long int.
28277         (INSERT_WORDS64): Likwise.
28279 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28281         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28282         _Unwind_GetCFA return to _Unwind_Ptr first.
28284 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28286         [BZ #13629]
28287         * math/s_clog.c: Include <float.h>.
28288         (__clog): Scale large or subnormal inputs.
28289         * math/s_clogf.c: Likewise.
28290         * math/s_clogl.c: Likewise.
28291         * math/s_clog10.c: Include <float.h>.
28292         (M_LOG10_2): Define.
28293         (__clog10): Scale large or subnormal inputs.
28294         * math/s_clog10f.c: Likewise.
28295         * math/s_clog10l.c: Likewise.
28296         * math/libm-test.inc (clog_test): Add more tests.
28297         (clog10_test): Likewise.
28298         * sysdeps/i386/fpu/libm-test-ulps: Update.
28299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28301         [BZ #11451]
28302         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28303         x and y.
28304         * math/libm-test.inc (atan2_test): Add another test.
28306         * Makerules (common-objdir-compile): Remove.
28307         * sysdeps/unix/Makefile (config-generated): Do not add
28308         $(unix-generated) to variable.
28309         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28310         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28311         Remove rule.
28312         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28313         Likewise.
28314         [generic bits/local_lim.h] (before-compile): Do not append to
28315         variable.
28316         [generic bits/local_lim.h] (common-generated): Likewise.
28317         [generic sys/param.h] (before-compile): Do not append to variable.
28318         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28319         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28320         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28321         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28322         include.
28323         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28324         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28325         [generic sys/param.h] ($(addprefix
28326         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28327         [generic sys/param.h] (common-generated): Do not append to
28328         variable.
28329         [generic sys/param.h] (sysdep_headers): Likewise.
28330         [generic bits/errno.h] (before-compile): Do not append to
28331         variable.
28332         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28333         rule.
28334         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28335         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28336         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28337         [generic bits/errno.h] (common-generated): Do not append to
28338         variable.
28339         [generic bits/ioctls.h] (before-compile): Do not append to
28340         variable.
28341         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28342         rule.
28343         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28344         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28345         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28346         rule.
28347         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28348         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28349         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28350         [generic bits/ioctls.h] (common-generated): Do not append to
28351         variable.
28352         [generic sys/syscall.h] (syscall.h): Remove variable.
28353         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28354         rule.
28355         [generic sys/syscall.h] (before-compile): Do not append to
28356         variable.
28357         [generic sys/syscall.h] (common-generated): Likewise.
28358         * sysdeps/unix/errnos-tmpl.c: Remove file.
28359         * sysdeps/unix/errnos.awk: Likewise.
28360         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28361         * sysdeps/unix/ioctls.awk: Likewise.
28362         * sysdeps/unix/mk-local_lim.c: Likewise.
28363         * sysdeps/unix/snarf-ioctls: Likewise.
28365 2012-03-19  Richard Henderson  <rth@twiddle.net>
28367         * sysdeps/i386/fpu/fenv_private.h: New file.
28368         * sysdeps/i386/fpu/math_private.h: Use it.
28369         (math_opt_barrier, math_force_eval): Remove.
28370         (libc_feholdexcept_setround_53bit): Remove.
28371         (libc_feupdateenv_53bit): Remove.
28372         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28373         (math_opt_barrier, math_force_eval): Remove.
28374         (libc_feholdexcept): Remove.
28375         (libc_feholdexcept_setround): Remove.
28376         (libc_fetestexcept, libc_fesetenv): Remove.
28377         (libc_feupdateenv_test): Remove.
28378         (libc_feupdateenv, libc_feholdsetround): Remove.
28379         (libc_feresetround): Remove.
28381         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28382         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28384         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28385         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28386         (libc_feupdateenv_testl): New.
28387         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28388         (libc_feupdateenv_testf): New.
28389         (libc_feupdateenv): Use libc_feupdateenv_test.
28390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28391         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28393         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28394         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28395         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28396         (libc_feresetround_noex): New.
28397         (libc_feresetround_noexf): New.
28398         (libc_feresetround_noexl): New.
28399         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28400         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28401         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28402         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28403         SET_RESTORE_ROUND.
28404         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28405         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28406         (__cos): Likewise.
28407         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28409         SET_RESTORE_ROUND_NOEX.
28410         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28411         SET_RESTORE_ROUND_NOEXF.
28412         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28413         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28414         (libc_feholdsetroundf): New.
28415         (libc_feresetround, libc_feresetroundf): New.
28417         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28418         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28419         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28421         * sysdeps/generic/math_private.h: Include <fenv.h>.
28422         (default_libc_feholdexcept): New.
28423         (default_libc_feholdexcept_setround): New.
28424         (default_libc_fesetenv, default_libc_feupdateenv): New.
28425         (libc_feholdexcept): Only define if undefined.
28426         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28427         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28428         (libc_feholdexcept_setroundl): Likewise.
28429         (libc_feholdexcept_setround_53bit): Likewise.
28430         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28431         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28432         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28433         (libc_feupdateenv_53bit): Likewise.
28434         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28435         (libc_feholdexcept): Convert from macro to inline function.
28436         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28437         (libc_fesetenv, libc_feupdateenv): Likewise.
28439         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28440         not previously defined.
28441         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28442         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28443         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28444         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28445         * sysdeps/ieee754/flt-32/math_private.h: New file.
28446         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28447         math_private.h below SET_FLOAT_WORD.
28448         (__isnan, __isinf_ns, __finite): Remove.
28449         (__isnanf, __isinf_nsf, __finitef): Remove.
28451 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28455 2012-03-17  David S. Miller  <davem@davemloft.net>
28457         [BZ #6471]
28458         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28459         for 2.16.
28461 2012-03-16  David S. Miller  <davem@davemloft.net>
28463         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28464         warnings.
28466         [BZ #6471]
28467         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28468         properly.
28469         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28470         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28471         sysdep_routines when subdir is sysvipc.
28472         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28473         __getshmlba helper.
28475         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28477 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28479         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28480         [__LP64__].
28482 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28484         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28485         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28486         (__lround): Renamed to ...
28487         (__llround): This.  Replace long int with long long int.
28488         Define lround functions as aliases of llround functions.
28489         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28491 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28493         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28494         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28495         adresses to uintptr_t.  Replace "long int" and "unsigned long
28496         int" with "greg_t" on va_arg.
28498 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28500         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28501         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28503         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28504         Move e_machine check before EI_CLASS check.  Handle x32
28505         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28506         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28507         SKIP_EM_IA_64 and include
28508         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28510         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28511         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28512         (add_system_dir): New macro.
28514         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28515         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28517 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28519         [BZ #2551]
28520         [BZ #2552]
28521         [BZ #2553]
28522         [BZ #2554]
28523         [BZ #2562]
28524         [BZ #2563]
28525         [BZ #2565]
28526         [BZ #2566]
28527         [BZ #2576]
28528         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28529         (y0): Likewise.
28530         * math/w_j0f.c (j0f): Likewise.
28531         (y0f): Likewise.
28532         * math/w_j0l.c (__j0l): Likewise.
28533         (__y0l): Likewise.
28534         * math/w_j1.c (j1): Likewise.
28535         (y1): Likewise.
28536         * math/w_j1f.c (j1f): Likewise.
28537         (y1f): Likewise.
28538         * math/w_j1l.c (__j1l): Likewise.
28539         (__y1l): Likewise.
28540         * math/w_jn.c (jn): Likewise.
28541         (yn): Likewise.
28542         * math/w_jnf.c (jnf): Likewise.
28543         (ynf): Likewise.
28544         * math/w_jnl.c (__jnl): Likewise.
28545         (__ynl): Likewise.
28546         * math/libm-test.inc (j0_test): Add more tests.
28547         (j1_test): Likewise.
28548         (jn_test): Likewise.  Add trailing semicolon to existing test.
28549         (y0_test): Likewise.
28550         (y1_test): Likewise.
28551         * sysdeps/i386/fpu/libm-test-ulps: Update.
28552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28554         [BZ #13851]
28555         [BZ #13854]
28556         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28557         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28558         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28559         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28560         (__tanl): Set errno for infinite argument.
28561         * sysdeps/i386/fpu/mptan.c: Remove.
28562         * sysdeps/i386/fpu/s_tan.S: Likewise.
28563         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28564         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28565         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28566         * math/libm-test.inc (tan_test): Add more tests and enable more
28567         tests for double and long double.
28568         * sysdeps/i386/fpu/libm-test-ulps: Update.
28569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28571 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28573         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28574         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28576 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28578         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28579         * configure.in: Use it for both main tree and add-ons.
28580         * configure: Regenerated.
28582 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28584         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28586 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28588         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28589         in comment.
28591         [BZ #13851]
28592         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28593         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28594         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28595         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28596         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28597         infinite argument.
28598         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28599         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28600         != 0 for prec == 2.
28601         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28602         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28603         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28604         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28605         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28606         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28607         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28608         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28609         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28610         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28611         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28612         * math/libm-test.inc (cos_test): Add more tests and enable more
28613         tests for long double.
28614         (sin_test): Likewise.
28615         (sincos_test): Likewise.
28616         * sysdeps/i386/fpu/libm-test-ulps: Update.
28617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28619 2012-03-16  David S. Miller  <davem@davemloft.net>
28621         * sysdeps/sparc/fpu/math_private.h: New file.
28623 2012-03-15  David S. Miller  <davem@davemloft.net>
28625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28626         file.
28627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28629         file.
28630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28631         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28632         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28635         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28636         sysdep routines.
28637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28639         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28640         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28642         * sysdeps/sparc/sparc-ifunc.h: New file.
28643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28644         sparc-ifunc.h
28645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28647         Likewise.
28648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28649         Likewise.
28650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28654         Likewise.
28655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28660         Likewise.
28661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28662         Likewise.
28663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28667         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28668         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28669         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28670         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28672         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28677         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28678         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28679         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28681         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28682         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28683         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28684         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28685         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28686         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28688 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28690         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28691         scaling.
28692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28694 2012-03-15  Andreas Jaeger  <aj@suse.de>
28696         [BZ #13852]
28697         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28698         ieee754/flt-32 implementation for sin, cos and sincos.
28699         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28700         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28701         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28702         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28703         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28704         ieee754/flt-32 implementation for tan.
28706         * math/libm-test.inc (cos_test): Enable some large input tests for
28707         float as well
28708         (sin_test): Likewise.
28709         (sincos_test): Likewise.
28710         (tan_test): Add tests for large input.
28712         * sysdeps/i386/fpu/libm-test-ulps: Update.
28714 2012-03-15  Andreas Jaeger  <aj@suse.de>
28716         [BZ #13658]
28717         * math/libm-test.inc (cos_test): Add more test cases.
28718         (sin_test): Likewise.
28719         (sincos_test): Likewise.
28721 2012-03-15  Andreas Jaeger  <aj@suse.de>
28723         [BZ #13837]
28724         * math/libm-test.inc (cos_test): Add a test case for large input
28725         value.
28726         (sin_test): Likewise.
28727         (sincos_test): Likewise.
28729 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28730         Joseph Myers  <joseph@codesourcery.com>
28732         [BZ #13658]
28733         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28734         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28735         * sysdeps/i386/fpu/branred.c: Likewise.
28736         * sysdeps/i386/fpu/dosincos.c: Likewise.
28737         * sysdeps/i386/fpu/mpa.c: Likewise.
28738         * sysdeps/i386/fpu/s_cos.S: Likewise.
28739         * sysdeps/i386/fpu/s_sin.S: Likewise.
28740         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28741         * sysdeps/i386/fpu/sincos32.c: Likewise.
28743         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28744         Define.
28745         (libc_feupdateenv_53bit): Define.
28746         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28747         Define.
28748         (libc_feupdateenv_53bit): Define.
28750         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28751         53 bit (without extend i386 double precision).
28753         * math/libm-test.inc (sincos_test): Add tests for large input.
28754         (sin): Likewise.
28755         (cos): Likewise.
28757         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28759 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28763 2012-03-15  David S. Miller  <davem@davemloft.net>
28765         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28766         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28767         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28768         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28781         file.
28782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28784         file.
28785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28787         file.
28788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28790         file.
28791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28792         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28793         fmin/fmax sysdep routines.
28794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28796 2012-03-14  David S. Miller  <davem@davemloft.net>
28798         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28799         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28800         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28802         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28803         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28804         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28805         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28806         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28810         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28811         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28812         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28815         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28816         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28817         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28818         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28819         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28820         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28821         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28822         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28823         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28824         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28825         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28826         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28827         routines.
28828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28829         file.
28830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28832         file.
28833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28835         file.
28836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28838         file.
28839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28841         file.
28842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28844         file.
28845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28846         file.
28847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28848         file.
28849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28850         file.
28851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28852         New file.
28853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28854         file.
28855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28856         file.
28857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28859         file.
28860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28862         file.
28863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28865         file.
28866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28868         VIS3 routines.
28870         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28871         New file.
28873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28875         * sysdeps/sparc/configure.in: New file.
28876         * sysdeps/sparc/configure: Generate.
28877         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28878         * configure: Regenerate.
28879         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28880         * config.make.in (have-as-vis3): New.
28881         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28882         available use -Av9d instead of -Av9a.
28883         * sysdeps/sparc/sparc64/Makefile: Likewise.
28884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28886         New file.
28887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28888         file.
28889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28890         New file.
28891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28892         file.
28893         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28894         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28895         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28896         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28897         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28899         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28900         fzeros/fnegs to load 0x80000000 into a float register instead of
28901         using the stack.
28902         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28904 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28907         bits/syscall.h.
28908         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28909         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28910         ($(inst_includedir)/bits/syscall.h): Remove rule.
28911         ($(objpfx)bits/syscall.d): Include instead of
28912         $(objpfx)syscall-list.d.
28913         (generated): Change syscall-list.h and syscall-list.d to
28914         bits/syscall.h and bits/syscall.d.
28916 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28918         [BZ #13846]
28919         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28921 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28923         [BZ #13841]
28924         * math/s_csqrt.c: Include <float.h>.
28925         (__csqrt): Scale large or subnormal inputs.
28926         * math/s_csqrtf.c: Likewise.
28927         * math/s_csqrtl.c: Likewise.
28928         * math/libm-test.inc (csqrt_test): Add more tests.
28929         * sysdeps/i386/fpu/libm-test-ulps: Update.
28930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28932         [BZ #13840]
28933         * math/libm-test.inc (hypot_test): Add more tests.
28935 2012-03-13  David S. Miller  <davem@davemloft.net>
28937         [BZ #13840]
28938         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28939         double-precision for the calculation instead of scaling.
28941 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28943         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28944         manipulate bits before adding and subtracting TWO52[sx].
28945         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28946         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28947         Likewise.
28948         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28950 2012-03-13  David S. Miller  <davem@davemloft.net>
28952         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28953         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28954         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28955         rtld-global-offsets.h
28956         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28958         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28959         large parameters.
28961         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28963         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28964         'err' in the ifdef scope in which it is actually used.
28966         * nss/nss_db/db-init.c: Include string.h
28968 2012-03-12  David S. Miller  <davem@davemloft.net>
28970         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28971         masking out of the most significant byte of random value used.
28972         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28973         Fix coding style in previous change.
28975         * sysdeps/unix/sysv/linux/kernel-features.h
28976         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28977         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28978         expression.
28979         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28980         later.
28982 2012-03-11  David S. Miller  <davem@davemloft.net>
28984         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28985         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28986         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28987         for 'resultvar' otherwise things get truncated on 64-bit.
28989         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28990         Fix masking out of the most significant byte of random value used.
28992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28994 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28998 2012-03-09  David S. Miller  <davem@davemloft.net>
29000         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29001         variables with appropriate CPP guards.
29002         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29003         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29004         on resulting framesize and the management of the outregs buffer for pltexit.
29005         Preserve floating point return values across _dl_call_pltexit call.
29006         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29007         framesize and the management of the outregs buffer for pltexit.
29008         Preserve floating point return values across _dl_call_pltexit
29009         call.
29010         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29011         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29012         (print_exit): Fix format string for return register value.
29014 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29016         * sunrpc/Makefile (others): Add rpcgen.
29017         ($(objpfx)rpcgen): Remove special build rule and dependency on
29018         libc.
29019         * sunrpc/rpcgen.c: New file.
29021 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29023         [BZ #13673]
29024         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29025         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29026         * sysdeps/i386/crti.S: Likewise.
29027         * sysdeps/i386/crtn.S: Likewise.
29028         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29029         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29030         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29031         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29032         * sysdeps/sh/crti.S: Likewise.
29033         * sysdeps/sh/crtn.S: Likewise.
29034         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29036         [BZ #13673]
29037         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29038         with URL.
29039         * locale/programs/locfile-kw.gperf: Likewise.
29040         * locale/programs/charmap-kw.h: Regenerated.
29041         * locale/programs/locfile-kw.h: Likewise.
29043         [BZ #13673]
29044         * intl/plural.y: Replace FSF snail mail address with URL.
29045         * intl/plural.c: Regenerated.
29047 2012-03-09  Richard Henderson  <rth@twiddle.net>
29049         * include/math_private.h: Remove file.
29050         * math/math_private.h: Move file ...
29051         * sysdeps/generic/math_private.h: ... here.
29053         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29054         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29055         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29057         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29058         and <math_private.h>.
29059         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29060         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29061         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29062         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29063         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29064         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29065         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29066         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29067         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29068         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29069         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29070         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29071         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29072         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29073         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29074         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29075         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29076         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29077         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29078         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29079         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29080         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29081         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29082         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29083         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29084         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29085         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29086         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29087         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29088         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29089         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29090         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29091         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29092         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29093         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29094         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29095         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29096         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29097         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29098         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29099         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29100         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29101         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29102         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29103         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29104         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29105         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29106         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29107         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29108         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29109         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29110         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29111         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29112         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29113         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29114         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29115         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29116         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29117         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29118         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29119         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29120         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29121         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29122         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29123         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29124         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29125         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29126         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29127         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29128         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29129         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29130         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29131         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29132         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29133         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29134         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29135         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29136         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29137         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29138         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29139         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29140         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29141         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29142         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29143         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29144         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29145         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29146         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29147         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29148         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29149         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29150         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29151         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29152         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29153         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29154         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29155         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29156         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29157         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29158         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29159         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29160         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29161         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29162         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29163         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29164         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29165         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29166         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29167         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29168         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29169         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29170         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29171         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29172         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29173         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29174         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29175         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29176         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29177         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29178         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29179         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29180         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29181         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29182         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29183         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29184         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29185         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29186         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29187         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29188         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29189         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29190         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29191         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29192         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29193         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29194         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29195         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29196         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29197         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29198         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29199         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29200         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29201         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29202         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29203         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29204         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29205         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29206         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29207         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29208         * sysdeps/ieee754/k_standard.c: Likewise.
29209         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29210         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29211         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29212         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29213         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29214         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29215         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29216         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29217         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29218         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29219         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29220         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29221         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29222         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29223         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29224         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29225         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29226         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29227         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29228         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29229         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29230         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29231         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29232         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29233         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29234         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29235         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29236         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29237         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29238         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29239         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29240         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29241         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29242         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29243         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29244         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29245         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29246         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29247         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29248         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29249         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29250         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29251         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29252         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29253         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29254         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29255         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29256         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29257         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29258         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29259         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29260         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29261         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29262         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29263         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29264         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29265         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29266         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29267         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29268         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29269         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29270         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29271         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29272         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29273         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29274         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29275         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29276         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29277         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29278         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29279         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29280         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29281         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29282         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29283         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29284         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29285         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29286         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29287         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29288         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29289         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29290         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29291         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29292         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29293         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29294         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29295         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29296         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29297         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29298         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29299         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29300         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29301         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29302         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29303         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29304         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29305         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29306         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29307         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29308         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29309         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29310         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29311         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29312         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29313         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29314         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29315         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29316         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29317         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29318         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29319         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29320         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29321         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29322         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29323         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29324         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29325         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29326         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29327         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29328         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29329         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29330         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29331         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29332         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29333         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29334         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29335         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29336         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29337         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29338         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29339         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29340         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29341         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29342         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29343         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29344         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29345         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29346         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29347         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29348         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29349         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29350         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29351         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29352         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29353         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29354         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29355         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29356         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29357         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29358         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29359         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29360         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29361         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29362         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29363         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29364         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29365         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29366         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29367         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29368         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29369         * sysdeps/ieee754/s_lib_version.c: Likewise.
29370         * sysdeps/ieee754/s_matherr.c: Likewise.
29371         * sysdeps/ieee754/s_signgam.c: Likewise.
29372         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29373         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29374         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29375         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29376         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29377         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29378         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29379         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29380         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29381         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29382         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29383         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29384         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29385         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29386         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29387         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29388         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29389         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29390         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29391         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29392         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29394 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29396         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29397         * sunrpc/rpc_main.c: Likewise.
29398         * sunrpc/rpc_svcout.c: Likewise.
29400 2012-03-09  David S. Miller  <davem@davemloft.net>
29402         * include/math_private.h: New file.
29404 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29406         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29407         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29408         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29409         from <bits/socket_type.h>.
29410         (enum __socket_type): Don't define here.
29411         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29412         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29413         bits/socket_type.h.
29415         [BZ #13566]
29416         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29417         checking __USE_GNU.
29419         * Makerules ($(inst_includedir)/%.h): New rule.
29420         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29421         (install-others): Remove variable setting.
29422         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29424 2012-03-08  Richard Henderson  <rth@twiddle.net>
29426         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29427         from macro to inline function; merge with the
29428         !__LIBC_INTERNAL_MATH_INLINES version.
29429         (__ieee754_sqrtf): Likewise.
29431         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29432         to inline function.
29433         (__rintf, __floor, __floorf): Likewise.
29435         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29436         macro to inline function.
29437         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29439         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29440         not <math/math_private.h>.
29442 2012-03-08  David S. Miller  <davem@davemloft.net>
29444         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29445         copyright year.
29446         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29448 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29450         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29451         normalization.
29452         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29453         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29455 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29457         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29458         be defined individually, they must be defined as a block.  Define
29459         S for printing a string instead of hidint the different by using a
29460         macro for adding the 'l'.
29461         * stdio-common/tst-fphex-wide.c: Adjust.
29463 2012-03-07  Marek Polacek  <polacek@redhat.com>
29465         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29467 2012-03-08  Marek Polacek  <polacek@redhat.com>
29469         [BZ #13806]
29470         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29471         * stdio-common/tst-fphex.c: Define a few macros to make the
29472         test reusable.  Use them.
29473         * stdio-common/tst-fphex-wide.c: New file.
29475 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29477         [BZ #6911]
29478         * manual/macros.texi (gnusystems): New macro.
29479         (nongnusystems): Likewise.
29480         (gnulinuxhurdsystems): Likewise.
29481         (gnuhurdsystems): Likewise..
29482         (gnulinuxsystems): Likewise.
29483         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29484         variants of the GNU system, not "GNU system".
29485         * manual/conf.texi: Likewise.
29486         * manual/errno.texi: Likewise.  Update example of errno macro
29487         expansion.
29488         * manual/filesys.texi: Likewise.
29489         (getumask): Document as specific to GNU/Hurd.
29490         * manual/install.texi: Likewise.  Reword some references to
29491         GNU/Linux.
29492         * manual/intro.texi: Likewise.
29493         * manual/io.texi: Likewise.
29494         (File Name Portability): Detail which constraints are inapplicable
29495         to all GNU systems and which are only inapplicable to GNU/Hurd.
29496         * manual/job.texi: Likewise.
29497         * manual/llio.texi: Likewise.
29498         (O_NOCTTY): Document as present on GNU/Linux.
29499         * manual/maint.texi: Likewise.
29500         * manual/memory.texi: Likewise.
29501         * manual/pattern.texi: Likewise.
29502         * manual/pipe.texi: Likewise.
29503         * manual/process.texi: Likewise.
29504         * manual/resource.texi: Likewise.
29505         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29506         child on GNU/Hurd.
29507         * manual/setjmp.texi: Likewise.
29508         * manual/signal.texi: Likewise.
29509         * manual/startup.texi: Likewise.
29510         * manual/stdio.texi: Likewise.
29511         * manual/terminal.texi: Likewise.
29512         (ONLCR): Document as POSIX.
29513         (OXTABS): Document availability on GNU/Linux as XTABS.
29514         (ONOEOT): Document availability separately from other bits.
29515         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29516         * manual/time.texi: Likewise.
29517         * manual/users.texi: Likewise.
29518         * INSTALL: Regenerated.
29519         * sysdeps/gnu/errlist.c: Regenerated.
29521         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29522         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29523         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29524         puts.
29525         * configure: Regenerated.
29527 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29529         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29530         default includes instead of AC_HEADER_CHECK.
29531         * sysdeps/i386/configure: Regenerated.
29533         [BZ #10716]
29534         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29535         * math/s_cacoshf.c (__cacoshf): Likewise.
29536         * math/s_cacoshl.c (__cacoshl): Likewise.
29537         * math/s_casinh.c (__casinh): Set signs of result from argument.
29538         * math/s_casinhf.c (__casinhf): Likewise.
29539         * math/s_casinhl.c (__casinhl): Likewise.
29540         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29541         (casinh_test): Add more tests.
29542         * sysdeps/i386/fpu/libm-test-ulps: Update.
29543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29545 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29547         * po/zh_TW.po: Update from translation team.
29549         * login/Makefile (distribute): Remove variable.
29550         * catgets/Makefile: Likewise.
29551         * mach/Makefile: Likewise.
29552         * malloc/Makefile: Likewise.
29553         * misc/Makefile: Likewise.
29554         * iconv/Makefile: Likewise.
29555         * nscd/Makefile: Likewise.
29556         * hurd/Makefile: Likewise.
29557         * manual/Makefile: Likewise.
29558         * locale/Makefile: Likewise.
29559         * intl/Makefile: Likewise.
29560         * conform/Makefile: Likewise.
29561         * nss/Makefile: Likewise.
29562         * time/Makefile: Likewise.
29563         * soft-fp/Makefile: Likewise.
29564         * dirent/Makefile: Likewise.
29565         * gmon/Makefile: Likewise.
29566         * po/Makefile: Likewise.
29567         * rt/Makefile: Likewise.
29568         * socket/Makefile: Likewise.
29569         * math/Makefile: Likewise.
29570         * signal/Makefile: Likewise.
29571         * debug/Makefile: Likewise.
29572         * elf/Makefile: Likewise.
29573         * timezone/Makefile: Likewise.
29574         * stdlib/Makefile: Likewise.
29575         * iconvdata/Makefile: Likewise.
29576         * sunrpc/Makefile: Likewise.
29577         * io/Makefile: Likewise.
29578         * argp/Makefile: Likewise.
29579         * inet/Makefile: Likewise.
29580         * hesiod/Makefile: Likewise.
29581         * grp/Makefile: Likewise.
29582         * csu/Makefile: Likewise.
29583         * wctype/Makefile: Likewise.
29584         * crypt/Makefile: Likewise.
29585         * libio/Makefile: Likewise.
29586         * string/Makefile: Likewise.
29587         * nis/Makefile: Likewise.
29588         * resolv/Makefile: Likewise.
29589         * stdio-common/Makefile: Likewise.
29590         * wcsmbs/Makefile: Likewise.
29591         * dlfcn/Makefile: Likewise.
29592         * posix/Makefile: Likewise.
29594         [BZ #6959]
29595         * timezone/Makefile: Don't install timezone files, just the programs
29596         and scripts.
29598 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29600         * nss/databases.def: Add missing gshadow entry.
29602         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29604 2012-03-06  Marek Polacek  <polacek@redhat.com>
29606         [BZ #13726]
29607         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29608         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29609         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29610         * stdio-common/tst-long-dbl-fphex.c: New file.
29612 2012-03-06  David S. Miller  <davem@davemloft.net>
29614         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29615         (set_obp_int): New function.
29616         (get_obp_int): New function.
29617         (__get_clockfreq_via_dev_openprom): Likewise.
29618         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29619         Avoid unused variable warnings on 'val' and use builtin_expect.
29620         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29621         __builtin_expect.
29622         (INLINE_CLONE_SYSCALL): Likewise.
29624 2012-03-05  David S. Miller  <davem@davemloft.net>
29626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29628 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29632         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29633         only for |x| >= 40.
29634         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29636 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29638         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29639         Replace gettimeofday with __vdso_gettimeofday.
29641         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29642         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29643         __vdso_clock_gettime and __vdso_getcpu.
29645         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29646         time with __vdso_time.
29648 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29650         * manual/lang.texi (size_t): Note types to which size_t may be
29651         equivalent with the GNU C Library, but do not describe when
29652         differences between them are significant.
29654 2012-03-05  Andreas Jaeger  <aj@suse.de>
29656         * sysdeps/i386/fpu/libm-test-ulps: Update.
29658 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29660         [BZ #3976]
29661         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29662         (__ieee754_pow): Save and restore rounding mode and use
29663         round-to-nearest for main computations.
29664         * math/libm-test.inc (pow_test_tonearest): New function.
29665         (pow_test_towardzero): Likewise.
29666         (pow_test_downward): Likewise.
29667         (pow_test_upward): Likewise.
29668         (main): Call the new functions.
29669         * sysdeps/i386/fpu/libm-test-ulps: Update.
29670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29672         [BZ #3976]
29673         * math/libm-test.inc (cosh_test_tonearest): New function.
29674         (cosh_test_towardzero): Likewise.
29675         (cosh_test_downward): Likewise.
29676         (cosh_test_upward): Likewise.
29677         (sinh_test_tonearest): Likewise.
29678         (sinh_test_towardzero): Likewise.
29679         (sinh_test_downward): Likewise.
29680         (sinh_test_upward): Likewise.
29681         (main): Call the new functions.
29682         * sysdeps/i386/fpu/libm-test-ulps: Update.
29683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29685 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29687         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29688         default stack guard is set in last bytes.
29689         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29691 2012-03-05  Kees Cook  <keescook@chromium.org>
29693         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29695         [BZ #13656]
29696         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29697         possibly allocate from heap instead of stack.
29698         * stdio-common/bug-vfprintf-nargs.c: New file.
29699         * stdio-common/Makefile (tests): Add nargs overflow test.
29701 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29705 2012-03-03  Marek Polacek  <polacek@redhat.com>
29707         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29708         * math/math_private.h: Likewise.
29709         * stdlib/tst-strtod.c: Likewise.
29710         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29711         * sysdeps/x86_64/bits/atomic.h: Likewise.
29713 2012-03-02  David S. Miller  <davem@davemloft.net>
29715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29719         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29720         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29721         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29722         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29724 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29726         [BZ #13792]
29727         * manual/examples/README: New file, says the example source files
29728         can be used under GPL>=2.
29729         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29730         line containing just "*/".
29731         * manual/examples/add.c: Add copyright header (GPL>=2).
29732         * manual/examples/argp-ex1.c: Likewise.
29733         * manual/examples/argp-ex2.c: Likewise.
29734         * manual/examples/argp-ex3.c: Likewise.
29735         * manual/examples/argp-ex4.c: Likewise.
29736         * manual/examples/atexit.c: Likewise.
29737         * manual/examples/db.c: Likewise.
29738         * manual/examples/dir.c: Likewise.
29739         * manual/examples/dir2.c: Likewise.
29740         * manual/examples/execinfo.c: Likewise.
29741         * manual/examples/filecli.c: Likewise.
29742         * manual/examples/filesrv.c: Likewise.
29743         * manual/examples/fmtmsgexpl.c: Likewise.
29744         * manual/examples/genpass.c: Likewise.
29745         * manual/examples/inetcli.c: Likewise.
29746         * manual/examples/inetsrv.c: Likewise.
29747         * manual/examples/isockad.c: Likewise.
29748         * manual/examples/longopt.c: Likewise.
29749         * manual/examples/memopen.c: Likewise.
29750         * manual/examples/memstrm.c: Likewise.
29751         * manual/examples/mkfsock.c: Likewise.
29752         * manual/examples/mkisock.c: Likewise.
29753         * manual/examples/mygetpass.c: Likewise.
29754         * manual/examples/pipe.c: Likewise.
29755         * manual/examples/popen.c: Likewise.
29756         * manual/examples/rprintf.c: Likewise.
29757         * manual/examples/search.c: Likewise.
29758         * manual/examples/select.c: Likewise.
29759         * manual/examples/setjmp.c: Likewise.
29760         * manual/examples/sigh1.c: Likewise.
29761         * manual/examples/sigusr.c: Likewise.
29762         * manual/examples/stpcpy.c: Likewise.
29763         * manual/examples/strdupa.c: Likewise.
29764         * manual/examples/strftim.c: Likewise.
29765         * manual/examples/strncat.c: Likewise.
29766         * manual/examples/subopt.c: Likewise.
29767         * manual/examples/swapcontext.c: Likewise.
29768         * manual/examples/termios.c: Likewise.
29769         * manual/examples/testopt.c: Likewise.
29770         * manual/examples/testpass.c: Likewise.
29771         * manual/examples/timeval_subtract.c: Likewise.
29773         [BZ #13792]
29774         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29775         function to ...
29776         * manual/timeval_subtract.c.texi: ... here, new file.
29778 2012-03-02  David S. Miller  <davem@davemloft.net>
29780         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29782 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29784         [BZ #3976]
29785         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29786         (__sin): Save and restore rounding mode and use round-to-nearest
29787         for all computations.
29788         (__cos): Save and restore rounding mode and use round-to-nearest
29789         for all computations.
29790         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29791         <fenv.h>.
29792         (tan): Save and restore rounding mode and use round-to-nearest for
29793         all computations.
29794         * math/libm-test.inc (cos_test_tonearest): New function.
29795         (cos_test_towardzero): Likewise.
29796         (cos_test_downward): Likewise.
29797         (cos_test_upward): Likewise.
29798         (sin_test_tonearest): Likewise.
29799         (sin_test_towardzero): Likewise.
29800         (sin_test_downward): Likewise.
29801         (sin_test_upward): Likewise.
29802         (tan_test_tonearest): Likewise.
29803         (tan_test_towardzero): Likewise.
29804         (tan_test_downward): Likewise.
29805         (tan_test_upward): Likewise.
29806         (main): Call the new functions.
29807         * sysdeps/i386/fpu/libm-test-ulps: Update.
29808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29810         [BZ #10135]
29811         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29812         small n, then large n, before computing and testing k+n.
29813         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29814         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29815         Likewise.
29816         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29817         Likewise.
29818         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29819         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29820         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29821         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29822         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29823         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29824         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29825         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29826         * math/libm-test.inc (scalbn_test): Add more tests.
29827         (scalbln_test): Likewise.
29829         * manual/filesys.texi (mode_t): Describe constraints on size and
29830         signedness, not exact equivalence to a particular type.
29831         (ino_t): Likewise.
29832         (ino64_t): Likewise.
29833         (dev_t): Likewise.
29834         (nlink_t): Likewise.
29835         (blkcnt_t): Likewise.
29836         (blkcnt64_t): Likewise.
29837         * manual/llio.texi (off_t): Likewise.
29839         [BZ #3976]
29840         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29841         (__ieee754_exp): Save and restore rounding mode and use
29842         round-to-nearest for all computations.
29843         * math/libm-test.inc (exp_test_tonearest): New function.
29844         (exp_test_towardzero): Likewise.
29845         (exp_test_downward): Likewise.
29846         (exp_test_upward): Likewise.
29847         (main): Call the new functions.
29848         * sysdeps/i386/fpu/libm-test-ulps: Update.
29849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29851 2012-03-01  Chris Demetriou  <cgd@google.com>
29853         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29854         have predictable order.
29856 2012-03-01  David S. Miller  <davem@davemloft.net>
29858         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29860         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29861         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29862         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29863         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29865         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29866         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29867         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29869         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29870         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29871         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29872         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29873         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29877         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29878         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29879         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29881         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29882         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29883         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29884         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29885         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29886         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29887         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29888         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29889         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29890         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29891         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29892         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29893         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29894         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29895         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29896         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29897         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29898         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29899         * sysdeps/sparc/elf/configure: Regenerated.
29901 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29903         * configure.in (AS, LD): Require binutils 2.20 or later.
29904         * configure: Regenerated.
29905         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29906         as required minimum version.
29907         * INSTALL: Regenerated.
29909         [BZ #2541]
29910         [BZ #4108]
29911         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29912         before squaring exponent.
29913         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29914         bottom long double and 27 bits of top long double before squaring
29915         exponent.
29916         * math/libm-test.inc (erfc_test): Add more tests.
29917         * sysdeps/i386/fpu/libm-test-ulps: Update.
29918         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29921 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29923         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29924         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29925         containing bit-fields.
29926         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29927         * soft-fp/single.h (_FP_UNION_S): Likewise.
29928         * soft-fp/double.h (_FP_UNION_D): Likewise.
29930 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29932         [BZ #13786]
29933         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29934         not include ../strcmp.S.
29935         [USE_AS_STRNCASECMP_L]: Likewise.
29936         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29937         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29938         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29939         (__strncasecmp_l_ia32): Define as alias to
29940         __strncasecmp_l_nonascii.
29942         [BZ #5794]
29943         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29944         * sysdeps/i386/fpu/libm-test-ulps: Update.
29945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29947         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29950 2012-02-29  Jeff Law  <law@redhat.com>
29952         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29953         out of bounds read.
29955 2012-02-29  Marek Polacek  <polacek@redhat.com>
29957         [BZ #13706]
29958         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29959         * elf/Makefile: Add rules to run tst-unused-dep.out.
29961 2012-02-28  David S. Miller  <davem@davemloft.net>
29963         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29964         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29965         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29966         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29967         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29968         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29970 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29972         * math/libm-test.inc (llround_test): Move one test from
29973         lround_test.  Use TEST_f_L in moved test.
29974         (lround_test): Move misplaced test to llround_test.  Add testcase
29975         from bug 2561.
29977 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29979         * sysdeps/x86_64/fpu/e_expf.S: New file.
29980         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29982 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29984         [BZ #13637]
29985         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29986         of remain_len that may cause incomplete multi-byte character and
29987         false match.
29988         * posix/bug-regex33.c: New file.
29989         * posix/Makefile (tests): Add bug-regex33.
29991 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29993         * manual/macros.texi: New file.
29994         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29995         * manual/libc.texinfo: Include macros.texi.
29996         * manual/creatute.texi: Likewise.
29997         * manual/install.texi: Likewise.
29998         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29999         @glibcadj{} in references to the GNU C Library.
30000         * manual/charset.texi: Likewise.
30001         * manual/conf.texi: Likewise.
30002         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30003         when not using those macros.
30004         * manual/creature.texi: Likewise.
30005         * manual/crypt.texi: Likewise.
30006         * manual/errno.texi: Likewise.
30007         * manual/filesys.texi: Likewise.
30008         * manual/header.texi: Likewise.
30009         * manual/install.texi: Likewise.
30010         * manual/intro.texi: Likewise.
30011         * manual/io.texi: Likewise.
30012         * manual/job.texi: Likewise.
30013         * manual/lang.texi: Likewise.
30014         * manual/libc.texiinfo: Likewise.
30015         * manual/llio.texi: Likewise.
30016         * manual/locale.texi: Likewise.
30017         * manual/maint.texi: Likewise.
30018         * manual/math.texi: Likewise.
30019         * manual/memory.texi: Likewise.
30020         * manual/message.texi: Likewise.
30021         * manual/nss.texi: Likewise.
30022         * manual/pattern.texi: Likewise.
30023         * manual/process.texi: Likewise.
30024         * manual/resource.texi: Likewise.
30025         * manual/search.texi: Likewise.
30026         * manual/setjmp.texi: Likewise.
30027         * manual/signal.texi: Likewise.
30028         * manual/socket.texi: Likewise.
30029         * manual/startup.texi: Likewise.
30030         * manual/stdio.texi: Likewise.
30031         * manual/string.texi: Likewise.
30032         * manual/sysinfo.texi: Likewise.
30033         * manual/syslog.texi: Likewise.
30034         * manual/terminal.texi: Likewise.
30035         * manual/time.texi: Likewise.
30036         * manual/users.texi: Likewise.
30037         * INSTALL: Regenerated.
30038         * NOTES: Regenerated.
30039         * sysdeps/gnu/errlist.c: Regenerated.
30041 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30043         * include/dirent.h: Include <dirstream.h> before
30044         <dirent/dirent.h>.
30046 2012-02-28  David S. Miller  <davem@davemloft.net>
30048         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30049         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30050         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30051         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30053 2012-02-27  David S. Miller  <davem@davemloft.net>
30055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30057         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30058         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30061         frame pointer instead of stack pointer relative arg slot.
30062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30063         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30064         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30066 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30068         [BZ #3992]
30069         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30071 2012-02-27  David S. Miller  <davem@davemloft.net>
30073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30077         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30078         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30079         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30080         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30082 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30084         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30085         later.  Allow versions 5-9.
30086         * configure: Regenerated.
30087         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30088         required minimum version and 4.6 as recommended version.  Do not
30089         mention bugs in GCC 2.7 and 2.8.
30090         * INSTALL: Regenerated.
30092 2012-02-27  David S. Miller  <davem@davemloft.net>
30094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30098         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30099         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30100         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30101         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30103         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30104         manipulate bits before adding and subtracting TWO112[sx].
30105         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30107 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30109         [BZ #13775]
30110         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30111         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30112         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30113         being in POSIX, because they are in 1003.1-2008.
30115         * rt/tst-aio.c: Include <fcntl.h>.
30116         * rt/tst-aio7.c: Likewise.
30117         * rt/tst-aio64.c: Likewise.
30119         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30121 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30123         * manual/install.texi (--with-headers): Describe headers as
30124         interface headers, not private headers.
30125         (Specific advice for GNU/Linux systems): Describe use of headers
30126         from "make headers_install", not private headers from older
30127         kernels.
30128         * INSTALL: Regenerated.
30129         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30130         Change to 2.6.19.
30131         * sysdeps/unix/sysv/linux/configure: Regenerated.
30133         * manual/llio.texi (fclean): Remove documentation.
30135         * manual/Makefile (libc-texi-generated): New variable.  Include
30136         version.texi.
30137         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30138         $(libc-texi-generated), not duplicated list of files.
30139         (version.texi, stamp-version): New rules.
30140         (realclean): Remove $(libc-texi-generated), not individual files
30141         from that list.  Do not remove dir-add.texinfo.
30142         * manual/libc.texinfo: Comment out uses of edition numbers and
30143         references to printed manual.  Remove last-updated dates.
30144         (EDITION): Comment out.
30145         (ISBN): Likewise.
30146         (VERSION, UPDATED): Remove.
30147         (version.texi): Include.
30149 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30151         * sysdeps/posix/spawni.c: Include <signal.h>.
30152         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30153         * sysdeps/pthread/aio_fsync.c: Likewise.
30155 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30157         * conform/Makefile (tests): Run only when not cross-compiling and
30158         when fast-check is not defined.
30160         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30161         * conform/data/limits.h-data: Fixes for POSIX2008.
30162         * conform/run-conformtest.sh: Run all tests.
30163         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30164         headers.
30165         * include/bits/dlfcn.h: Likewise.
30166         * include/langinfo.h: Likewise.
30167         * include/monetary.h: Likewise.
30168         * include/sys/poll.h: Likewise.
30170         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30171         for __USE_GNU.
30172         * posix/spawn.h: Define __need_sigset_t.
30173         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30174         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30175         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30176         to get sigevent_t only.
30177         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30178         only for __USE_GNU.
30179         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30180         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30181         process_vm_writev only for __USE_GNU.
30182         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30184         * conform/Makefile: For now ignore errors from run-conformtest.
30185         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30186         POSIX to avoid namespace pollution.  Don't prepend headers.
30187         * conform/data/aio.h-data: Fixes for POSIX testing.
30188         * conform/data/fcntl.h-data: Likewise.
30189         * conform/data/glob.h-data: Likewise.
30190         * conform/data/grp.h-data: Likewise.
30191         * conform/data/pthread.h-data: Likewise.
30192         * conform/data/pwd.h-data: Likewise.
30193         * conform/data/signal.h-data: Likewise.
30194         * conform/data/spawn.h-data: Likewise.
30195         * conform/data/stdio.h-data: Likewise.
30196         * conform/data/stdlib.h-data: Likewise.
30197         * conform/data/stropts.h-data: Likewise.
30198         * conform/data/sys/mman.h-data: Likewise.
30199         * conform/data/sys/stat.h-data: Likewise.
30200         * conform/data/sys/types.h-data: Likewise.
30201         * conform/data/sys/wait.h-data: Likewise.
30202         * conform/data/time.h-data: Likewise.
30203         * conform/data/unistd.h-data: Likewise.
30204         * conform/data/utime.h-data: Likewise.
30206         * io/sys/stat.h: fchmod was always in POSIX.
30207         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30208         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30209         * rt/aio.h: Define __need_timespec before including <time.h>.
30210         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30211         struct.  Add forward declaration of pthread_attr_t and use it in
30212         sigevent.
30213         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30214         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30215         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30216         always remove CLK_TCK definition.
30218 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30220         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30222 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30224         * conform/run-conformtest.sh: New file.
30225         * conform/Makefile: Run run-conformtest for tests.
30226         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30227         support.
30229         * conform/data/uchar.h-data: New file.
30230         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30231         * conform/data/arpa/inet.h-data: Likewise.
30232         * conform/data/assert.h-data: Likewise.
30233         * conform/data/complex.h-data: Likewise.
30234         * conform/data/cpio.h-data: Likewise.
30235         * conform/data/ctype.h-data: Likewise.
30236         * conform/data/dirent.h-data: Likewise.
30237         * conform/data/dlfcn.h-data: Likewise.
30238         * conform/data/errno.h-data: Likewise.
30239         * conform/data/fcntl.h-data: Likewise.
30240         * conform/data/float.h-data: Likewise.
30241         * conform/data/fmtmsg.h-data: Likewise.
30242         * conform/data/fnmatch.h-data: Likewise.
30243         * conform/data/ftw.h-data: Likewise.
30244         * conform/data/glob.h-data: Likewise.
30245         * conform/data/grp.h-data: Likewise.
30246         * conform/data/iconv.h-data: Likewise.
30247         * conform/data/inttypes.h-data: Likewise.
30248         * conform/data/langinfo.h-data: Likewise.
30249         * conform/data/libgen.h-data: Likewise.
30250         * conform/data/limits.h-data: Likewise.
30251         * conform/data/locale.h-data: Likewise.
30252         * conform/data/math.h-data: Likewise.
30253         * conform/data/monetary.h-data: Likewise.
30254         * conform/data/mqueue.h-data: Likewise.
30255         * conform/data/ndbm.h-data: Likewise.
30256         * conform/data/net/if.h-data: Likewise.
30257         * conform/data/netdb.h-data: Likewise.
30258         * conform/data/netinet/in.h-data: Likewise.
30259         * conform/data/nl_types.h-data: Likewise.
30260         * conform/data/poll.h-data: Likewise.
30261         * conform/data/pthread.h-data: Likewise.
30262         * conform/data/pwd.h-data: Likewise.
30263         * conform/data/regex.h-data: Likewise.
30264         * conform/data/sched.h-data: Likewise.
30265         * conform/data/search.h-data: Likewise.
30266         * conform/data/semaphore.h-data: Likewise.
30267         * conform/data/setjmp.h-data: Likewise.
30268         * conform/data/signal.h-data: Likewise.
30269         * conform/data/spawn.h-data: Likewise.
30270         * conform/data/stdarg.h-data: Likewise.
30271         * conform/data/stdio.h-data: Likewise.
30272         * conform/data/stdlib.h-data: Likewise.
30273         * conform/data/string.h-data: Likewise.
30274         * conform/data/strings.h-data: Likewise.
30275         * conform/data/stropts.h-data: Likewise.
30276         * conform/data/sys/ipc.h-data: Likewise.
30277         * conform/data/sys/mman.h-data: Likewise.
30278         * conform/data/sys/msg.h-data: Likewise.
30279         * conform/data/sys/resource.h-data: Likewise.
30280         * conform/data/sys/select.h-data: Likewise.
30281         * conform/data/sys/sem.h-data: Likewise.
30282         * conform/data/sys/shm.h-data: Likewise.
30283         * conform/data/sys/socket.h-data: Likewise.
30284         * conform/data/sys/stat.h-data: Likewise.
30285         * conform/data/sys/statvfs.h-data: Likewise.
30286         * conform/data/sys/time.h-data: Likewise.
30287         * conform/data/sys/timeb.h-data: Likewise.
30288         * conform/data/sys/times.h-data: Likewise.
30289         * conform/data/sys/types.h-data: Likewise.
30290         * conform/data/sys/uio.h-data: Likewise.
30291         * conform/data/sys/un.h-data: Likewise.
30292         * conform/data/sys/utsname.h-data: Likewise.
30293         * conform/data/sys/wait.h-data: Likewise.
30294         * conform/data/syslog.h-data: Likewise.
30295         * conform/data/tar.h-data: Likewise.
30296         * conform/data/termios.h-data: Likewise.
30297         * conform/data/utime.h-data: Likewise.
30298         * conform/data/utmpx.h-data: Likewise.
30299         * conform/data/varargs.h-data: Likewise.
30300         * conform/data/wchar.h-data: Likewise.
30301         * conform/data/wctype.h-data: Likewise.
30302         * conform/data/wordexp.h-data: Likewise.
30304         * include/stropts.h: New file.
30305         * include/uchar.h: New file.
30306         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30307         * include/assert.h: Likewise.
30308         * include/ctype.h: Likewise.
30309         * include/dirent.h: Likewise.
30310         * include/dlfcn.h: Likewise.
30311         * include/fcntl.h: Likewise.
30312         * include/fnmatch.h: Likewise.
30313         * include/glob.h: Likewise.
30314         * include/grp.h: Likewise.
30315         * include/libio.h: Likewise.
30316         * include/locale.h: Likewise.
30317         * include/math.h: Likewise.
30318         * include/net/if.h: Likewise.
30319         * include/netdb.h: Likewise.
30320         * include/netinet/in.h: Likewise.
30321         * include/pthread.h: Likewise.
30322         * include/pwd.h: Likewise.
30323         * include/regex.h: Likewise.
30324         * include/sched.h: Likewise.
30325         * include/search.h: Likewise.
30326         * include/setjmp.h: Likewise.
30327         * include/signal.h: Likewise.
30328         * include/stdio.h: Likewise.
30329         * include/stdlib.h: Likewise.
30330         * include/string.h: Likewise.
30331         * include/sys/cdefs.h: Likewise.
30332         * include/sys/mman.h: Likewise.
30333         * include/sys/msg.h: Likewise.
30334         * include/sys/resource.h: Likewise.
30335         * include/sys/select.h: Likewise.
30336         * include/sys/socket.h: Likewise.
30337         * include/sys/stat.h: Likewise.
30338         * include/sys/statvfs.h: Likewise.
30339         * include/sys/time.h: Likewise.
30340         * include/sys/times.h: Likewise.
30341         * include/sys/uio.h: Likewise.
30342         * include/sys/utsname.h: Likewise.
30343         * include/sys/wait.h: Likewise.
30344         * include/termios.h: Likewise.
30345         * include/time.h: Likewise.
30346         * include/ulimit.h: Likewise.
30347         * include/unistd.h: Likewise.
30348         * include/utime.h: Likewise.
30349         * include/wchar.h: Likewise.
30350         * include/wctype.h: Likewise.
30351         * include/wordexp.h: Likewise.
30353         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30355         * time/time.h: TIME_UTC must be a macro.
30356         Make timespec_get available for ISO C11 only as well.
30358 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30360         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30361         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30363 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30365         * configure.in: Use -o not -a in test for unsupported multi-arch.
30367 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30369         * manual/texinfo.tex: Update to version 2012-01-19.16.
30371 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30373         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30375 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30377         [BZ #13738]
30378         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30379         * manual/fdl-1.3.texi: New file.
30380         * manual/fdl-1.1.texi: File removed.
30382         [BZ #13738]
30383         * manual/libc.texinfo (FDL_VERSION): New @set.
30384         Use it for mention of FDL in cover text.
30385         (Documentation License): Use it in @include file name.
30387 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30388             Roland McGrath  <roland@hack.frob.com>
30390         [BZ #5461]
30391         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30392         not LONG_LONG_MAX and LONG_LONG_MIN.
30393         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30394         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30395         name.
30396         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30398 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30400         [BZ #2547]
30401         [BZ #11365]
30402         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30403         manipulate bits before adding and subtracting TWO23[sx].
30404         * math/libm-test.inc (nearbyint_test): Add more tests.
30406 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30408         [BZ #2548]
30409         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30410         bits before adding and subtracting TWO23[sx].
30411         * math/libm-test.inc (rint_test): Add more tests.
30412         (rint_test_tonearest): Likewise.
30413         (rint_test_towardzero): Likewise.
30414         (rint_test_downward): Likewise.
30415         (rint_test_upward: Likewise.
30417 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30419         [BZ #10110]
30420         * include/stdc-predef.h: New file.  Extracted from features.h.
30421         * include/features.h: Include stdc-predef.h.
30422         * Makefile (headers): Add stdc-predef.h.
30423         * CONFORMANCE (Compiler limitations): Update.
30425 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30427         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30429 2012-02-21  David S. Miller  <davem@davemloft.net>
30431         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30432         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30434 2012-02-20  David S. Miller  <davem@davemloft.net>
30436         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30437         using a normal save/restore sequence, rather than allocating a
30438         dummy stack frame just to store a frame pointer and restore.
30439         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30441 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30443         * manual/install.texi: Fix stray word in line-wrapped comment.
30445 2012-02-20  David S. Miller  <davem@davemloft.net>
30447         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30448         both binutils and gcc support GOTDATA.
30450         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30451         "rd %pc" in the PIC register setup sequences.
30453         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30454         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30455         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30456         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30457         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30458         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30459         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30460         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30461         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30462         (SYSCALL_ERROR_HANDLER): Likewise.
30463         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30464         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30465         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30466         (SYSCALL_ERROR_HANDLER): Likewise.
30468         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30469         (HAVE_GCC_GOTDATA): New.
30470         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30471         relocation support in both binutils and gcc.
30472         * sysdeps/sparc/elf/configure: Regenerate.
30474         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30475         * sysdeps/sparc/sparc32/elf/configure: Delete.
30476         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30477         * sysdeps/sparc/sparc64/elf/configure: Delete.
30478         * sysdeps/sparc/elf/configure.in: New file.
30479         * sysdeps/sparc/elf/configure: Generate.
30481         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30482         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30483         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30484         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30485         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30487 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30489         * manual/install.texi: Do not mention specific glibc version
30490         numbers.
30491         * manual/libc.texinfo (VERSION, UPDATED): Update.
30492         (@copying): Use @copyright{} and range of years.
30494 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30496         [BZ #13695]
30497         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30498         [crti.S not in sysdirs] (generated): Do not append.
30499         [crti.S not in sysdirs] (omit-deps): Likewise.
30500         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30501         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30502         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30503         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30504         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30505         Likewise.
30506         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30507         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30508         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30509         * csu/defs.awk: Remove file.
30510         * sysdeps/generic/initfini.c: Likewise.
30511         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30512         variable.
30513         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30514         Likewise.
30516 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30518         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30519         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30520         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30521         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30522         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30523         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30524         <bits/epoll.h>.
30525         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30526         (__EPOLL_PACKED): Define to empty if not defined by
30527         <bits/epoll.h>.
30528         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30529         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30530         bits/epoll.h.
30532 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30534         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30535         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30536         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30537         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30538         <bits/timerfd.h>.
30539         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30540         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30541         bits/timerfd.h.
30543 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30545         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30546         in C locale.
30547         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30548         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30549         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30552 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30554         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30555         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30557 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30559         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30560         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30561         defined.
30562         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30563         Likewise.
30564         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30565         entry for 2.16.
30567 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30569         * math/w_acos.c: Use non-signaling floating-point comparisons.
30570         * math/w_acosf.c: Likewise.
30571         * math/w_acosh.c: Likewise.
30572         * math/w_acoshf.c: Likewise.
30573         * math/w_acoshl.c: Likewise.
30574         * math/w_acosl.c: Likewise.
30575         * math/w_asin.c: Likewise.
30576         * math/w_asinf.c: Likewise.
30577         * math/w_asinl.c: Likewise.
30578         * math/w_atanh.c: Likewise.
30579         * math/w_atanhf.c: Likewise.
30580         * math/w_atanhl.c: Likewise.
30581         * math/w_exp2.c: Likewise.
30582         * math/w_exp2f.c: Likewise.
30583         * math/w_exp2l.c: Likewise.
30584         * math/w_j0.c: Likewise.
30585         * math/w_j0f.c: Likewise.
30586         * math/w_j0l.c: Likewise.
30587         * math/w_j1.c: Likewise.
30588         * math/w_j1f.c: Likewise.
30589         * math/w_j1l.c: Likewise.
30590         * math/w_jn.c: Likewise.
30591         * math/w_jnf.c: Likewise.
30592         * math/w_log.c: Likewise.
30593         * math/w_log10.c: Likewise.
30594         * math/w_log10f.c: Likewise.
30595         * math/w_log10l.c: Likewise.
30596         * math/w_log2.c: Likewise.
30597         * math/w_log2f.c: Likewise.
30598         * math/w_log2l.c: Likewise.
30599         * math/w_logf.c: Likewise.
30600         * math/w_logl.c: Likewise.
30601         * math/w_sqrt.c: Likewise.
30602         * math/w_sqrtf.c: Likewise.
30603         * math/w_sqrtl.c: Likewise.
30604         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30605         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30606         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30607         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30608         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30610 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30612         [BZ #9739]
30613         * manual/string.texi (strnlen): Use correct parameter name in
30614         equivalent expression.
30616 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30618         [BZ #11174]
30619         * manual/users.texi (seteuid): Consistently use neweuid for
30620         argument name.
30622 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30624         [BZ #13704]
30625         * manual/nss.texi (Services in the NSS configuration): Correct
30626         list of services in example configuration file.
30628 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30630         [BZ #11322]
30631         * manual/arith.texi: Remove statements about negative zero
30632         behaving identically to zero.
30634 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30636         [BZ #5993]
30637         * manual/install.texi: Do not document upgrading from libc5.
30639 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30641         [BZ #4596]
30642         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30644 2012-02-18  David S. Miller  <davem@davemloft.net>
30646         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30647         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30648         %o7 across the call.
30649         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30650         instead.
30651         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30652         SETUP_PIC_REG_LEAF.
30653         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30654         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30655         * sysdeps/sparc/crtn.S: Likewise.
30657 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30659         * aout/Makefile: Remove.
30661 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30663         [BZ #13058]
30664         * manual/examples/argp-ex1.c (main): Format definition in GNU
30665         style.
30666         * manual/examples/argp-ex2.c (main): Likewise.
30667         * manual/examples/argp-ex3.c (main): Likewise.
30668         * manual/examples/argp-ex4.c (main): Likewise.
30669         * manual/examples/longopt.c (main): Use new-style prototype
30670         definition.
30671         * manual/examples/strncat.c (main): Specify return type and use
30672         (void) for arguments.
30673         * manual/examples/subopt.c (main): Use char **argv argument.
30675 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30677         [BZ #5077]
30678         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30679         rounding modes.
30681 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30683         [BZ #6907]
30684         * manual/string.texi (strchr): Change when strchrnul is
30685         recommended.
30687 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30689         [BZ #174]
30690         * manual/locale.texi (setlocale): Document LOCPATH.
30692 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30694         [BZ #10210]
30695         * manual/process.texi (execle): Move @dots{} before last argument.
30697 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30699         [BZ #12047]
30700         * manual/charset.texi (Generic Charset Conversion): Fix typo
30701         (LC_TYPE -> LC_CTYPE).
30703 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30705         [BZ #5805]
30706         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30707         (scalbnf): Likewise.
30708         (scalbnl): Likewise.
30709         (scalbln): Likewise.
30710         (scalblnf): Likewise.
30711         (scalblnl): Likewise.
30712         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30713         (vwarnx): Likewise.
30714         (verr): Likewise.
30715         (verrx): Likewise.
30716         * manual/filesys.texi (telldir): Use braces around return type.
30717         * manual/llio.texi (mmap): Add space after comma.
30718         (mmap64): Likewise.
30719         * manual/math.texi (jn): Use @var{} on parameter names.
30720         (jnf): Likewise.
30721         (jnl): Likewise.
30722         (yn): Likewise.
30723         (ynf): Likewise.
30724         (ynl): Likewise.
30725         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30726         line.
30727         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30728         "...".
30729         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30730         (sched_get_priority_max): Likewise.
30731         * manual/signal.texi (sigvec): Add space after comma.
30732         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30733         names.
30734         (if_indextoname): Likewise.
30735         (if_freenameindex): Likewise.
30736         (sendto): Use ',' instead of '.' in prototype.
30737         * manual/startup.texi (syscall): Use @dots{} instead of literal
30738         "...".
30739         * manual/stdio.texi (__fpending): Separate initial words of
30740         paragraph from @deftypefun line.
30741         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30742         "...".
30743         (vsyslog): Use @var{} on parameter names.
30744         * manual/terminal.texi (stty): Use @var{} on parameter names.
30745         * manual/users.texi (getutmp): Use @var{} on parameter names.
30746         (getutmpx): Likewise.
30748 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30750         [BZ #6884]
30751         * manual/stdio.texi (fopen): Fix typos in description of
30752         ",ccs=STRING".
30754 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30756         [BZ #4026]
30757         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30758         get clock_id definition.
30760 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30762         [BZ #4822]
30763         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30764         (madvise): Cast every argument to void on its own.
30766 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30768         [BZ #9902]
30769         * manual/startup.texi (Exit Status): Fix typo.
30771 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30773         [BZ #10140]
30774         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30775         * manual/examples/argp-ex2.c: Likewise.
30776         * manual/examples/argp-ex3.c: Likewise.
30778 2012-02-16  Richard Henderson  <rth@redhat.com>
30780         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30781         * sysdeps/s390/s390-32/initfini.c: Remove.
30782         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30783         * sysdeps/s390/s390-64/initfini.c: Remove.
30785 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30787         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30788         compiler output for sysdeps/generic/initfini.c.
30789         * sysdeps/sh/elf/initfini.c: Remove file.
30791 2012-02-16  David S. Miller  <davem@davemloft.net>
30793         [BZ #11494]
30794         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30796         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30797         * sysdeps/sparc/crti.S: New file.
30798         * sysdeps/sparc/crtn.S: New file.
30799         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30800         * sysdeps/sparc/sparc64/Makefile: Likewise.
30802 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30804         [BZ #3335]
30805         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30807 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30809         [BZ #4822]
30810         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30812         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30813         (write, read, close): Likewise.
30814         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30816 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30818         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30819         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30820         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30821         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30822         <bits/signalfd.h>.
30823         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30825         bits/signalfd.h.
30827 2012-02-14  Marek Polacek  <polacek@redhat.com>
30829         * sysdeps/x86_64/crti.S: New file.
30830         * sysdeps/x86_64/crtn.S: New file.
30831         * sysdeps/x86_64/elf/initfini.c: Remove file.
30833 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30835         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30836         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30837         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30838         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30839         <bits/inotify.h>.
30840         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30841         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30842         bits/inotify.h.
30844 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30846         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30847         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30848         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30849         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30850         <bits/eventfd.h>.
30851         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30852         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30853         bits/eventfd.h.
30855 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30857         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30858         __feraiseexcept instead of feraiseexcept.
30860         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30861         nanosleep invocations.
30862         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30863         strings, and add error checking for a nanosleep invocations.
30865 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30867         Replace FSF snail mail address with URLs, as per GNU coding standards.
30868         Most of the snail mail addresses were wrong anyway, and omitting
30869         them makes the source code easier to maintain.  Almost all of the
30870         changes are to license notices and to locale LC_IDENTIFICATION
30871         addresses, except for this one:
30872         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30873         not its snail mail address.
30875 2012-02-09  Richard Henderson  <rth@twiddle.net>
30877         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30878         of kernel-features.h.
30880         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30882 2012-02-08  Marek Polacek  <polacek@redhat.com>
30884         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30885         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30886         * sysdeps/gnu/_G_config.h: Likewise.
30887         * sysdeps/generic/_G_config.h: Likewise.
30889 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30891         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30892         tests.
30893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30895         * sysdeps/powerpc/powerpc32/crti.S: New file.
30896         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30897         * sysdeps/powerpc/powerpc64/crti.S: New file.
30898         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30900         * Makeconfig (have-initfini): Don't set.
30901         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30902         * configure.in (nopic_initfini): Don't substitute.
30903         * config.h.in (HAVE_INITFINI): Don't #undef.
30904         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30905         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30907 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30909         Support crti.S and crtn.S provided directly by architectures.
30910         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30911         [crti.S in sysdirs] (omit-deps): Likewise.
30912         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30913         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30914         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30915         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30916         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30917         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30918         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30919         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30920         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30921         compiler output for sysdeps/generic/initfini.c.
30922         * sysdeps/i386/elf/Makefile: Remove file.
30923         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30925 2012-02-07  Marek Polacek  <polacek@redhat.com>
30927         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30928         * sysdeps/gnu/_G_config.h: Likewise.
30929         * sysdeps/mach/hurd/_G_config.h: Likewise.
30931 2012-02-07  Marek Polacek  <polacek@redhat.com>
30933         * math/Makefile (tests): Add tst-CMPLX2.
30934         * math/tst-CMPLX2.c: New file.
30936 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30938         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30940         * math/libm-test.inc (jn_test): Add missing L suffix.
30942 2012-02-06  Marek Polacek  <polacek@redhat.com>
30944         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30945         * sysdeps/i386/fpu/e_powf.S: Likewise.
30946         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30947         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30948         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30949         * sysdeps/i386/fpu/e_pow.S: Likewise.
30950         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30951         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30952         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30953         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30954         * sysdeps/i386/fpu/e_log2.S: Likewise.
30955         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30956         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30957         * sysdeps/i386/fpu/e_powl.S: Likewise.
30958         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30959         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30960         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30961         * sysdeps/i386/fpu/e_logl.S: Likewise.
30962         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30963         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30964         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30965         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30966         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30967         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30968         * sysdeps/i386/fpu/e_log.S: Likewise.
30969         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30970         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30971         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30972         * sysdeps/i386/fpu/e_logf.S: Likewise.
30973         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30974         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30975         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30976         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30977         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30978         * sysdeps/i386/fpu/e_log10.S: Likewise.
30979         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30980         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30981         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30982         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30983         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30984         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30985         * sysdeps/i386/asm-syntax.h: Likewise.
30986         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30987         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30988         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30989         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30990         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30991         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30992         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30993         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30994         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30995         * sysdeps/powerpc/sysdep.h: Likewise.
30996         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30997         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30999 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31001         [BZ #411]
31002         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31004 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31006         * sysdeps/i386/sysdep.h: Include <features.h>.
31007         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31008         version.
31010 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31012         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31013         Define.
31014         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31015         LOAD_PIC_REG_STR.
31017 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31019         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31020         (SETUP_PIC_REG): Use GET_PC_THUNK.
31021         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31022         macro.
31024 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31026         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31027         for non-PIC compilation.
31028         (SETUP_PIC_REG): Add .p2align directive.
31029         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31030         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31031         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31032         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31033         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31034         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31035         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31036         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31037         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31038         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31039         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31040         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31041         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31042         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31043         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31044         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31045         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31046         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31047         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31048         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31049         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31050         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31051         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31052         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31053         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31054         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31055         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31056         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31057         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31058         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31059         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31060         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31061         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31062         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31063         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31064         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31065         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31066         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31067         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31068         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31069         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31071 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31073         * math/tst-CMPLX.c: Include <stdio.h>.
31075 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31077         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31078         float.
31079         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31080         * sysdeps/sparc/bits/mathdef.h: Likewise.
31082 2012-01-31  Marek Polacek  <polacek@redhat.com>
31084         * libio/libio.h: Don't define _PARAMS.
31085         * locale/programs/config.h: Don't define PARAMS.
31086         * stdlib/strtol_l.c: Likewise.
31087         (__strtol_l): Remove PARAMS from the prototype.
31089 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31091         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31092         names.  Just use the correct names.  Remove unnecessary wrapper
31093         functions.
31094         * malloc/arena.c: Likewise.
31095         * malloc/hooks.c: Likewise.
31097         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31098         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31099         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31101 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31103         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31104         into tail calls.
31105         (update_get_addr): New function.
31106         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31107         GET_ADDR_MODULE parameter.
31109 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31111         * crypt/cert.c: Remove __STDC__ conditionals.
31112         * crypt/crypt-entry.c: Likewise.
31113         * crypt/crypt_util.c: Likewise.
31114         * libio/filedoalloc.c: Likewise.
31115         * libio/fileops.c: Likewise.
31116         * libio/genops.c: Likewise.
31117         * libio/iofclose.c: Likewise.
31118         * libio/iofdopen.c: Likewise.
31119         * libio/iofopen.c: Likewise.
31120         * libio/iofopen64.c: Likewise.
31121         * libio/iogetdelim.c: Likewise.
31122         * libio/iopopen.c: Likewise.
31123         * libio/obprintf.c: Likewise.
31124         * libio/oldfileops.c: Likewise.
31125         * libio/oldiofclose.c: Likewise.
31126         * libio/oldiofdopen.c: Likewise.
31127         * libio/oldiofopen.c: Likewise.
31128         * libio/oldiopopen.c: Likewise.
31129         * libio/wfiledoalloc.c: Likewise.
31130         * libio/wgenops.c: Likewise.
31131         * locale/programs/xmalloc.c: Likewise.
31132         * misc/syslog.c: Likewise.
31133         * stdio-common/xbug.c: Likewise.
31134         * string/memchr.c: Likewise.
31135         * string/memcmp.c: Likewise.
31136         * string/memrchr.c: Likewise.
31137         * string/rawmemchr.c: Likewise.
31138         * sysdeps/posix/getcwd.c: Likewise.
31139         * time/strftime_l.c: Likewise.
31141 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31143         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31144         * config.make.in (config-cflags-sse2avx): Define.
31145         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31146         Fix typo.
31148 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31150         * scripts/config.guess: Update from upstream config git repository.
31151         * scripts/config.sub: Likewise.
31153 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31155         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31156         (EM_NUM): Update.
31157         (R_TILEPRO_*, R_TILEGX_*): New macros.
31159         * scripts/firstversions.awk: Fix bug in version range handling.
31161         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31163         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31165         * include/sys/epoll.h: New file.
31166         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31167         libc_hidden_def.
31169 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31171         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31172         Avoid unnecessary __WORDSIZE == 64 test.
31173         (fmaxf): Use VEX format if possible.
31174         (fmax): Likewise.
31175         (fminf): Likewise.
31176         (fmin): Likewise.
31178         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31179         * math/math_private.h: Remove libc_fegetround* and
31180         libc_fesetround*.
31181         * sysdeps/i386/configure.in: Check for -msse2avx.
31182         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31183         also if SSE2AVX is defined.
31184         Remove libc_fegetround* and libc_fesetround*.
31185         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31186         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31187         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31188         of HAS_YMM_USABLE.
31189         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31190         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31191         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31192         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31193         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31195         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31197 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31199         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31200         size is not set.
31201         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31203 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31205         [BZ #13618]
31206         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31207         relocation.
31208         * Makeconfig (libm): Define.
31209         * elf/Makefile: Add rules to build and run tst-relsort1.
31210         * elf/tst-relsort1.c: New file.
31211         * elf/tst-relsort1mod1.c: New file.
31212         * elf/tst-relsort1mod2.c: New file.
31214 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31216         * math/s_ldexp.c: Remove __STDC__ conditionals.
31217         * math/s_ldexpf.c: Likewise.
31218         * math/s_ldexpl.c: Likewise.
31219         * math/s_nextafter.c: Likewise.
31220         * math/s_nexttowardf.c: Likewise.
31221         * math/s_significand.c: Likewise.
31222         * math/s_significandf.c: Likewise.
31223         * math/s_significandl.c: Likewise.
31224         * math/w_jnl.c: Likewise.
31225         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31226         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31227         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31228         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31229         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31230         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31231         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31232         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31233         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31234         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31235         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31236         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31237         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31238         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31239         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31240         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31241         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31242         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31243         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31244         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31245         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31246         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31247         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31248         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31249         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31250         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31251         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31252         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31253         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31254         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31255         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31256         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31257         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31258         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31259         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31260         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31261         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31262         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31263         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31264         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31265         * sysdeps/ieee754/k_standard.c: Likewise.
31266         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31267         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31268         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31269         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31270         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31271         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31272         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31273         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31274         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31275         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31276         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31277         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31278         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31279         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31280         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31281         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31282         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31283         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31284         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31285         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31286         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31287         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31288         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31289         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31290         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31291         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31292         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31293         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31294         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31295         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31296         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31297         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31298         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31299         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31300         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31301         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31302         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31303         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31304         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31305         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31306         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31307         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31308         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31309         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31310         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31311         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31312         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31313         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31314         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31315         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31316         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31317         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31318         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31319         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31320         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31321         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31322         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31323         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31324         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31325         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31326         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31327         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31328         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31329         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31330         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31331         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31332         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31333         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31334         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31335         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31336         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31337         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31338         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31339         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31340         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31341         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31342         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31343         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31344         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31345         * sysdeps/ieee754/s_matherr.c: Likewise.
31346         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31347         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31348         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31349         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31351 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31353         * crypt/md5.h: Remove __STDC__ conditionals.
31354         * libio/libioP.h: Likewise.
31355         * locale/programs/config.h: Likewise.
31356         * sysdeps/generic/sysdep.h: Likewise.
31357         * sysdeps/i386/asm-syntax.h: Likewise.
31358         * sysdeps/s390/asm-syntax.h: Likewise.
31359         * sysdeps/unix/sysdep.h: Likewise.
31360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31363 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31365         * libio/libio.h: Remove __STDC__ conditionals.
31366         * malloc/obstack.h: Likewise.
31367         * math/complex.h: Likewise.
31368         * math/math.h: Likewise.
31369         * sysdeps/generic/_G_config.h: Likewise.
31370         * sysdeps/gnu/_G_config.h: Likewise.
31371         * sysdeps/mach/hurd/_G_config.h: Likewise.
31372         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31373         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31374         * sysdeps/sparc/bits/mathdef.h: Likewise.
31376 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31378         [BZ #13583]
31379         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31380         Clean up HAS_* macros.
31381         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31382         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31383         possible.
31384         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31385         HAS_AVX.
31386         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31387         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31388         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31389         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31390         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31392 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31394         * elf/tst-unique3.cc (gets): Remove declaration.
31395         * elf/tst-unique3lib.cc (gets): Likewise.
31396         * elf/tst-unique3lib2.cc (gets): Likewise.
31397         * elf/tst-unique4.cc (gets): Likewise.
31399 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31401         * include/stdio.h: Add C++ protection.  Add gets declarations and
31402         definitions.
31403         * debug/tst-chk1.c: Don't declare gets here.
31404         * stdio-common/tst-gets.c: Likewise.
31406 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31408         * posix/glob: Remove directory.
31410 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31412         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31414 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31416         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31417         of the non-standard EPFNOSUPPORT.
31419 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31421         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31422         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31423         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31425 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31427         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31429 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31431         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31432         transient errors.
31433         * nscd/grpcache.c (cache_addgr): Likewise.
31434         * nscd/hstcache.c (cache_addhst): Likewise.
31435         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31436         * nscd/pwdcache.c (cache_addpw): Likewise.
31437         * nscd/servicescache.c (cache_addserv): Likewise.
31439 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31441         * malloc/malloc.c: Various cleanups.
31442         * malloc/hooks.c: Likewise.
31444         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31445         * stdlib/bug-fmtmsg1.c: New file.
31447         * stdlib/fmtmsg.c (init): Add missing unlock.
31448         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31450 2012-01-12  Marek Polacek  <polacek@redhat.com>
31452         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31453         and _GNU_SOURCE.
31455 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31457         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31458         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31459         macro to ensure uniqueness of label name.
31460         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31461         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31463 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31465         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31467         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31468         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31469         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31470         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31472 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31474         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31476         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31477         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31478         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31480         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31482         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31483         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31484         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31485         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31487         * math/bits/math-finite.h: Add ldexp support.
31489 2012-01-10  Marek Polacek  <polacek@redhat.com>
31491         * locale/programs/localedef.h (show_archive_content): Add noreturn
31492         attribute.
31494 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31496         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31498 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31500         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31502         * io/Makefile (headers): Add bits/poll2.h.
31504 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31507         typo #include statement.
31509 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31511         * include/sys/cdefs.h: Define __attribute_alloc_size.
31512         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31513         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31514         * elf/pldd.c: Likewise.
31515         * iconv/iconv_charmap.c: Likewise.
31516         * iconv/iconvconfig.c: Likewise.
31517         * iconv/strtab.c: Likewise.
31518         * locale/programs/locale.c: Likewise.
31519         * locale/programs/localedef.h: Likewise.
31520         * locale/programs/simple-hash.c: Likewise.
31521         * nscd/nscd.h: Likewise.
31522         * nss/makedb.c: Likewise.
31523         * sysdeps/generic/ldconfig.h: Likewise.
31524         * locale/programs/localedef.c: Remove xmalloc prototype.
31525         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31527 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31529         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31530         appropriate.
31532 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31534         * math/Makefile (tests): Add tst-CMPLX.
31535         * math/tst-CMPLX.c: New file.
31537         * math/complex.h (CMPLXL): Fix typo.
31539         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31540         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31541         GLIBC_2.16.
31542         * debug/tst-chk1.c: Add poll and ppoll tests.
31543         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31544         * include/sys/poll.h: Add hidden proto for ppoll.
31545         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31546         * sysdeps/mach/hurd/ppoll.c: Likewise.
31547         * io/ppoll.c: Likewise.
31548         * debug/poll_chk.c: New file.
31549         * debug/ppoll_chk.c: New file.
31550         * include/bits/poll2.h: New file.
31551         * io/bits/poll2.h: New file.
31553         [BZ #1350]
31554         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31556         * configure.in: static is always set to yes.  Remove.
31557         * config.make.in: Don't set build-static.
31558         * Makeconfig: Remove use of build-static.
31559         * dlfcn/Makefile: Likewise.
31560         * elf/Makefile: Likewise.
31561         * math/Makefile: Likewise.
31562         * misc/Makefile: Likewise.
31563         * nptl/Makefile: Likewise.
31564         * sysdeps/mach/hurd/Makefile: Likewise.
31566         * configure.in: PWD_P is not used anymore.
31567         * config.make.in: Remove PWD_P entry.
31569         * configure.in: Remove last remnants of RANLIB.
31570         No need to check for signed size_t anymore.
31571         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31572         and IA-64.
31573         Remove __builtin_expect test because we require at least gcc 3.4.
31574         * aclocal.m4: Likewise.
31576         * wcsmbs/mbrtoc16.c: Implement using towc function.
31577         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31578         * wcsmbs/wcsmbsload.c: Likewise.
31579         * iconv/gconv_simple.c: Likewise.
31580         * iconv/gconv_int.h: Likewise.
31581         * iconv/gconv_builtin.h: Likewise.
31582         * iconv/iconv_prog.c: Remove CHAR16 handling.
31584         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31586         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31588         * configure.in: Remove --with-elf and --enable-bounded options.
31589         Dont set base_machine for ia64.  More non-ELF conditions removed.
31590         Remove testing and setting of leading underscore information.
31591         * config.make.in (build-bounded): Set to no.
31592         * config.h.in: Remove NO_UNDERSCORES entry.
31593         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31594         them.
31595         * csu/start.c: Remove !NO_UNDERSCORE code.
31596         * locale/localeinfo.h: Likewise.
31597         * sysdeps/generic/machine-gmon.h: Likewise.
31598         * sysdeps/generic/sysdep.h: Likewise.
31599         * sysdeps/i386/sysdep.h: Likewise.
31600         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31601         * sysdeps/mach/sysdep.h: Likewise.
31602         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31603         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31604         * sysdeps/sh/sysdep.h: Likewise.
31605         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31606         * sysdeps/unix/i386/sysdep.S: Likewise.
31607         * sysdeps/unix/sparc/start.c: Likewise.
31608         * sysdeps/unix/sparc/sysdep.S: Likewise.
31609         * sysdeps/unix/sparc/sysdep.h: Likewise.
31610         * sysdeps/unix/start.c: Likewise.
31611         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31612         * sysdeps/x86_64/sysdep.h: Likewise.
31614 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31616         [BZ #13553]
31617         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31618         for non-gcc.
31619         * argp/argp-fmtstream.h: Use const instead __const.
31620         * argp/argp.h: Likewise.
31621         * assert/assert.h: Likewise.
31622         * bits/fenv.h: Likewise.
31623         * bits/sched.h: Likewise.
31624         * bits/sigset.h: Likewise.
31625         * bits/sigthread.h: Likewise.
31626         * catgets/nl_types.h: Likewise.
31627         * conform/data/pthread.h-data: Likewise.
31628         * crypt/crypt-private.h: Likewise.
31629         * crypt/crypt.h: Likewise.
31630         * crypt/crypt_util.c: Likewise.
31631         * ctype/ctype.h: Likewise.
31632         * debug/execinfo.h: Likewise.
31633         * debug/mbsnrtowcs_chk.c: Likewise.
31634         * debug/mbsrtowcs_chk.c: Likewise.
31635         * debug/wcsnrtombs_chk.c: Likewise.
31636         * debug/wcsrtombs_chk.c: Likewise.
31637         * debug/wcstombs_chk.c: Likewise.
31638         * dirent/dirent.h: Likewise.
31639         * dlfcn/dlfcn.h: Likewise.
31640         * elf/neededtest4.c: Likewise.
31641         * grp/grp.h: Likewise.
31642         * gshadow/gshadow.h: Likewise.
31643         * iconv/gconv.h: Likewise.
31644         * iconv/gconv_int.h: Likewise.
31645         * iconv/gconv_simple.c: Likewise.
31646         * iconv/iconv.h: Likewise.
31647         * iconv/loop.c: Likewise.
31648         * iconv/skeleton.c: Likewise.
31649         * include/aio.h: Likewise.
31650         * include/aliases.h: Likewise.
31651         * include/argz.h: Likewise.
31652         * include/arpa/inet.h: Likewise.
31653         * include/assert.h: Likewise.
31654         * include/dirent.h: Likewise.
31655         * include/dlfcn.h: Likewise.
31656         * include/execinfo.h: Likewise.
31657         * include/fcntl.h: Likewise.
31658         * include/fenv.h: Likewise.
31659         * include/glob.h: Likewise.
31660         * include/grp.h: Likewise.
31661         * include/libintl.h: Likewise.
31662         * include/mntent.h: Likewise.
31663         * include/netdb.h: Likewise.
31664         * include/pwd.h: Likewise.
31665         * include/rpc/netdb.h: Likewise.
31666         * include/sched.h: Likewise.
31667         * include/search.h: Likewise.
31668         * include/shadow.h: Likewise.
31669         * include/signal.h: Likewise.
31670         * include/stdio.h: Likewise.
31671         * include/stdlib.h: Likewise.
31672         * include/string.h: Likewise.
31673         * include/sys/socket.h: Likewise.
31674         * include/sys/stat.h: Likewise.
31675         * include/sys/statfs.h: Likewise.
31676         * include/sys/statvfs.h: Likewise.
31677         * include/sys/syslog.h: Likewise.
31678         * include/sys/time.h: Likewise.
31679         * include/sys/uio.h: Likewise.
31680         * include/time.h: Likewise.
31681         * include/unistd.h: Likewise.
31682         * include/utmp.h: Likewise.
31683         * include/wchar.h: Likewise.
31684         * include/wctype.h: Likewise.
31685         * inet/aliases.h: Likewise.
31686         * inet/arpa/inet.h: Likewise.
31687         * inet/netinet/ether.h: Likewise.
31688         * inet/netinet/in.h: Likewise.
31689         * intl/libintl.h: Likewise.
31690         * io/bits/fcntl2.h: Likewise.
31691         * io/fcntl.h: Likewise.
31692         * io/ftw.h: Likewise.
31693         * io/sys/poll.h: Likewise.
31694         * io/sys/stat.h: Likewise.
31695         * io/sys/statfs.h: Likewise.
31696         * io/sys/statvfs.h: Likewise.
31697         * io/utime.h: Likewise.
31698         * libio/bits/stdio.h: Likewise.
31699         * libio/bits/stdio2.h: Likewise.
31700         * libio/libio.h: Likewise.
31701         * libio/libioP.h: Likewise.
31702         * libio/stdio.h: Likewise.
31703         * locale/lc-ctype.c: Likewise.
31704         * locale/locale.h: Likewise.
31705         * login/utmp.h: Likewise.
31706         * malloc/arena.c: Likewise.
31707         * malloc/malloc.c: Likewise.
31708         * malloc/malloc.h: Likewise.
31709         * malloc/mcheck.c: Likewise.
31710         * malloc/mtrace.c: Likewise.
31711         * math/bits/mathcalls.h: Likewise.
31712         * math/fenv.h: Likewise.
31713         * math/math_private.h: Likewise.
31714         * misc/bits/error.h: Likewise.
31715         * misc/bits/syslog.h: Likewise.
31716         * misc/err.h: Likewise.
31717         * misc/error.h: Likewise.
31718         * misc/fstab.h: Likewise.
31719         * misc/mntent.h: Likewise.
31720         * misc/regexp.h: Likewise.
31721         * misc/search.h: Likewise.
31722         * misc/sgtty.h: Likewise.
31723         * misc/sys/mman.h: Likewise.
31724         * misc/sys/syslog.h: Likewise.
31725         * misc/sys/uio.h: Likewise.
31726         * misc/sys/xattr.h: Likewise.
31727         * misc/ttyent.h: Likewise.
31728         * nis/rpcsvc/ypclnt.h: Likewise.
31729         * nss/nss.h: Likewise.
31730         * posix/bits/unistd.h: Likewise.
31731         * posix/fnmatch.h: Likewise.
31732         * posix/glob.h: Likewise.
31733         * posix/sched.h: Likewise.
31734         * posix/spawn.h: Likewise.
31735         * posix/sys/wait.h: Likewise.
31736         * posix/unistd.h: Likewise.
31737         * posix/wordexp.h: Likewise.
31738         * pwd/pwd.h: Likewise.
31739         * resolv/netdb.h: Likewise.
31740         * resource/sys/resource.h: Likewise.
31741         * rt/aio.h: Likewise.
31742         * rt/bits/mqueue2.h: Likewise.
31743         * rt/mqueue.h: Likewise.
31744         * shadow/shadow.h: Likewise.
31745         * signal/signal.h: Likewise.
31746         * socket/send.c: Likewise.
31747         * socket/sendto.c: Likewise.
31748         * socket/sys/socket.h: Likewise.
31749         * stdio-common/printf.h: Likewise.
31750         * stdlib/bits/stdlib.h: Likewise.
31751         * stdlib/fmtmsg.h: Likewise.
31752         * stdlib/monetary.h: Likewise.
31753         * stdlib/stdlib.h: Likewise.
31754         * stdlib/ucontext.h: Likewise.
31755         * streams/stropts.h: Likewise.
31756         * string/argz.h: Likewise.
31757         * string/bits/string2.h: Likewise.
31758         * string/string.h: Likewise.
31759         * string/strings.h: Likewise.
31760         * sunrpc/rpc/auth.h: Likewise.
31761         * sunrpc/rpc/auth_des.h: Likewise.
31762         * sunrpc/rpc/clnt.h: Likewise.
31763         * sunrpc/rpc/netdb.h: Likewise.
31764         * sunrpc/rpc/pmap_clnt.h: Likewise.
31765         * sunrpc/rpc/xdr.h: Likewise.
31766         * sysdeps/generic/inttypes.h: Likewise.
31767         * sysdeps/generic/net/if.h: Likewise.
31768         * sysdeps/generic/sys/swap.h: Likewise.
31769         * sysdeps/gnu/net/if.h: Likewise.
31770         * sysdeps/gnu/utmpx.h: Likewise.
31771         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31772         * sysdeps/i386/i486/bits/string.h: Likewise.
31773         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31774         * sysdeps/s390/bits/string.h: Likewise.
31775         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31776         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31777         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31778         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31779         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31780         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31781         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31782         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31783         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31784         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31785         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31786         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31787         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31788         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31789         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31790         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31791         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31792         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31793         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31794         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31795         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31796         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31797         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31798         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31799         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31800         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31801         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31802         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31803         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31804         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31805         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31806         * sysvipc/sys/ipc.h: Likewise.
31807         * sysvipc/sys/msg.h: Likewise.
31808         * sysvipc/sys/sem.h: Likewise.
31809         * sysvipc/sys/shm.h: Likewise.
31810         * termios/termios.h: Likewise.
31811         * time/sys/time.h: Likewise.
31812         * time/time.h: Likewise.
31813         * wcsmbs/bits/wchar2.h: Likewise.
31814         * wcsmbs/uchar.h: Likewise.
31815         * wcsmbs/wchar.h: Likewise.
31816         * wctype/wctype.h: Likewise.
31818         [BZ #13551]
31819         * Makeconfig: Remove all but ELF support including AIX support.
31820         * Makerules: Likewise.
31821         * config.h.in: Likewise.
31822         * config.make.in: Likewise.
31823         * configure: Likewise.
31824         * configure.in: Likewise.
31825         * csu/Makefile: Likewise.
31826         * csu/version.c: Likewise.
31827         * debug/Makefile: Likewise.
31828         * dlfcn/Makefile: Likewise.
31829         * elf/Makefile: Likewise.
31830         * extra-lib.mk: Likewise.
31831         * iconv/Makefile: Likewise.
31832         * include/libc-symbols.h: Likewise.
31833         * include/shlib-compat.h: Likewise.
31834         * resolv/Makefile: Likewise.
31835         * resolv/res_libc.c: Likewise.
31836         * rt/Makefile: Likewise.
31837         * sysdeps/i386/asm-syntax.h: Likewise.
31838         * sysdeps/i386/sysdep.h: Likewise.
31839         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31840         * sysdeps/mach/sysdep.h: Likewise.
31841         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31842         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31843         * sysdeps/s390/asm-syntax.h: Likewise.
31844         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31845         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31846         * sysdeps/sh/sysdep.h: Likewise.
31847         * sysdeps/unix/sparc/sysdep.h: Likewise.
31848         * sysdeps/wordsize-32/divdi3.c: Likewise.
31849         * sysdeps/x86_64/sysdep.h: Likewise.
31851         * argp/Versions: Remove _argp_unlock_xxx.
31853         [BZ #13559]
31854         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31855         * abilist/libBrokenLocale.abilist: Likewise.
31856         * abilist/libanl.abilist: Likewise.
31857         * abilist/libc.abilist: Likewise.
31858         * abilist/libcrypt.abilist: Likewise.
31859         * abilist/libdl.abilist: Likewise.
31860         * abilist/libm.abilist: Likewise.
31861         * abilist/libnsl.abilist: Likewise.
31862         * abilist/libpthread.abilist: Likewise.
31863         * abilist/libresolv.abilist: Likewise.
31864         * abilist/librt.abilist: Likewise.
31865         * abilist/libthread_db.abilist: Likewise.
31866         * abilist/libutil.abilist: Likewise.
31867         * abilist/libnss_db.abilist: New file.
31869         * scripts/abilist.awk: Add support for indirect functions.
31871         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31873         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31875         * shlib-versions: Remove entries for ports architectures.
31877         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31878         files in ports.
31879         * elf/stackguard-macros.h: Remove support for IA-64.
31880         * elf/tst-auditmod1.c: Likewise.
31881         * sysdeps/generic/ldsodefs.h: Likewise.
31883         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31884         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31885         configure files.
31887         [BZ #13552]
31888         * configure.in: Remove --enable-omitfp support.
31889         * FAQ.in: Adjust.
31890         * config.make.in: Likewise.
31891         * Makeconfig: Likewise.
31892         * manual/install.texi: Likewise.
31894         In case anyone cares, the IA-64 architecture could move to ports.
31895         * sysdeps/ia64/*: Removed.
31896         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31897         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31899         [BZ #13555]
31900         * configure.in: Remove entries for unsupported architectures.
31902         [BZ #13533]
31903         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31904         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31905         routines.
31906         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31907         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31908         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31909         fall back to using wcrtomb.
31910         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31911         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31912         renaming.
31913         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31914         * wcsmbs/tst-c16c32-1.c: New file.
31916         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31917         local variable.
31919         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31921         * elf/tst-unique3.cc: Add explicit declaration of gets.
31922         * elf/tst-unique3lib.cc: Likewise.
31923         * elf/tst-unique3lib2.cc: Likewise.
31924         * elf/tst-unique4.cc: Likewise.
31926         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31928 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31930         [BZ #13566]
31931         * assert/assert.h (static_assert): Don't define for C++.
31932         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31933         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31935 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31937         * iconv/loop.c (single loop): Fix assertion in storing of
31938         remaining bytes.
31940         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31942 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31944         * posix/getconf.c: Update copyright year.
31945         * nss/getent.c: Likewise.
31946         * nss/makedb.c: Likewise.
31947         * iconv/iconvconfig.c: Likewise.
31948         * iconv/iconv_prog.c: Likewise.
31949         * elf/ldconfig.c: Likewise.
31950         * elf/pldd.c: Likewise.
31951         * elf/sotruss.ksh: Likewise.
31952         * catgets/gencat.c: Likewise.
31953         * csu/version.c: Likewise.
31954         * elf/ldd.bash.in: Likewise.
31955         * elf/sprof.c (print_version): Likewise.
31956         * locale/programs/locale.c: Likewise.
31957         * locale/programs/localedef.c: Likewise.
31958         * login/programs/pt_chown.c: Likewise.
31959         * nscd/nscd.c (print_version): Likewise.
31960         * debug/xtrace.sh: Likewise.
31961         * malloc/memusage.sh: Likewise.
31962         * malloc/mtrace.pl: Likewise.
31963         * debug/catchsegv.sh: Likewise.
31965 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31967         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31968         pure attribute.
31970 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31972         [BZ #13533]
31973         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31974         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31975         transformations.
31976         * iconv/gconv_int.h: Likewise.
31977         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31978         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31979         from libc for GLIBC_2.16.
31980         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31981         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31982         * wcsmbs/uchar.h: Really define mbstate_t.
31983         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31984         * wcsmbs/c16rtomb.c: New file.
31985         * wcsmbs/mbrtoc16.c: New file.
31986         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31987         for C/POSIX locale.
31988         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31989         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31991         * wcsmbs/wchar.h: Add missing __restrict.
31993 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31995         [BZ #13532]
31996         * time/Makefile (routines): Add timespec_get.
31997         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31998         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31999         timespec for ISO C11.
32000         * time/timespec_get.c: New file.
32001         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32002         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32004         [BZ #13531]
32005         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32006         * stdlib/stdlib.h: Declare aligned_alloc.
32007         * Versions.def: Add GLIBC_2.16 for libc.
32008         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32010         [BZ 13527]
32011         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32012         ISO C11.
32014         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32015         code.
32017         [BZ #13528]
32018         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32020         [BZ #13529]
32021         * assert/assert.h (static_assert): Define.
32023         * version.h: Update for 2.16 development version.
32025         [BZ #13526]
32026         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32027         _ISOC11_SOURCE.
32029         * version.h (RELEASE): Bump for 2.15 release.
32030         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32032         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32033         Patch by Marek Polacek <mpolacek@redhat.com>.
32035         * bits/byteswap.h: Protect long long constants with __extension__.
32036         * sysdeps/i386/bits/byteswap.h: Likewise.
32037         * sysdeps/ia64/bits/byteswap.h: Likewise.
32038         * sysdeps/s390/bits/byteswap.h: Likewise.
32039         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32041 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32043         [BZ #13540]
32044         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32045         destination buffer.
32046         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32048 2011-12-23  Marek Polacek  <polacek@redhat.com>
32050         * elf/dl-addr.c (determine_info): Add inline keyword.
32051         * elf/tst-auditmod4b.c (check_avx): Likewise.
32052         * elf/tst-auditmod6b.c (check_avx): Likewise.
32053         * elf/tst-auditmod6c.c (check_avx): Likewise.
32054         * elf/tst-auditmod7b.c (check_avx): Likewise.
32056 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32058         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32059         !__SSE_MATH__.
32061 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32063         [BZ #13540]
32064         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32065         processing for last bytes.
32067 2011-08-06  Bruno Haible  <bruno@clisp.org>
32069         [BZ #13061]
32070         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32071         U+0385, not to U+1FEE.
32073         [BZ #13062]
32074         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32075         entry for U+00A5 U+0301.
32077 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32079         [BZ #13166]
32080         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32081         buffer for the output is too small.
32083         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32084         optimization.
32086         [BZ #13185]
32087         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32088         SSE flags if possible.
32090 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32092         [BZ #13540]
32093         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32094         processing for last bytes.
32096 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32098         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32099         (syscall-list-default-options, syscall-list-default-condition)
32100         (syscall-list-includes): Define.
32101         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32102         list of ABIs and options and #if conditions for each ABI.  Do not
32103         handle common syscalls between ABIs specially.
32104         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32105         Remove.
32106         (syscall-list-variants, syscall-list-32bit-options)
32107         (syscall-list-32bit-condition, syscall-list-64bit-options)
32108         (syscall-list-64bit-condition): Define.
32109         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32110         (syscall-list-variants, syscall-list-32bit-options)
32111         (syscall-list-32bit-condition, syscall-list-64bit-options)
32112         (syscall-list-64bit-condition): Define.
32113         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32114         Remove.
32115         (syscall-list-variants, syscall-list-32bit-options)
32116         (syscall-list-32bit-condition, syscall-list-64bit-options)
32117         (syscall-list-64bit-condition): Define.
32118         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32119         Remove.
32120         (syscall-list-variants, syscall-list-32bit-options)
32121         (syscall-list-32bit-condition, syscall-list-64bit-options)
32122         (syscall-list-64bit-condition): Define.
32124 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32126         * locale/iso-639.def: Add brx entry.
32128         [BZ #13328]
32129         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32130         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32132         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32133         __feraiseexcept_renamed.
32135 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32137         [BZ #13538]
32138         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32139         EPOLLET with unsigned values.
32140         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32141         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32143         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32144         to large cancellation.
32145         * math/s_cacoshf.c: Likewise.
32146         * math/s_cacoshl.c: Likewise.
32148 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32150         [BZ #13305]
32151         [BZ #12786]
32152         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32153         * math/s_cacoshf.c: Likewise.
32154         * math/s_cacoshl.c: Likewise.
32156 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32158         [BZ #13439]
32159         * iconv/gconv.h: Define __GCONV_SWAP.
32160         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32161         * iconvdata/utf-16.c: Likewise.
32162         * iconvdata/utf-32.c: Likewise.
32164 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32166         [BZ #13524]
32167         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32168         numerator after shifting it by one limb.
32170 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32172         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32173         under [__USE_EXTERN_INLINES].
32175 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32177         [BZ #13446]
32178         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32180 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32182         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32183         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32184         optimized code.
32185         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32186         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32187         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32188         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32189         for strncasecmp/strncasecmp_l compilation.
32190         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32191         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32193 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32195         [BZ #13484]
32196         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32197         of __asm__.
32199 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32201         [BZ #13506]
32202         * time/tzfile.c (__tzfile_read): Check values from file header.
32204 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32206         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32207         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32208         * powerpc/powerpc32/dl-start.S: Likewise.
32209         * powerpc/powerpc32/elf/start.S: Likewise.
32210         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32211         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32212         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32213         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32214         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32215         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32216         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32217         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32218         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32219         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32220         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32221         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32222         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32223         * powerpc/powerpc32/memset.S: Likewise.
32224         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32225         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32226         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32227         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32228         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32229         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32230         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32231         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32232         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32233         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32234         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32235         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32236         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32238 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32240         * math/libm-test.inc: Added more nearbyint tests.
32241         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32242         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32243         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32244         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32246 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32248         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32249         FD_CLOEXEC.
32251 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32253         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32254         Add wcscpy-ssse3 wcscpy-c.
32255         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32256         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32257         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32258         * sysdeps/x86_64/wcschr.S: New file.
32259         * sysdeps/x86_64/wcsrchr.S: New file.
32260         * string/test-strcmp.c: Remove checking of wcscmp function for
32261         wrong alignments.
32262         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32263         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32264         wcsrchr-sse2 wcsrchr-c.
32265         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32266         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32267         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32268         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32269         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32270         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32271         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32272         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32273         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32274         * wcsmbc/wcschr.c (WCSCHR): New macro.
32276 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32278         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32279         * wcsmbs/test-wcsrchr.c: New file.
32280         * string/test-strrchr.c: Add wcsrchr support.
32281         (WIDE): New macro.
32282         * wcsmbs/test-wcscpy.c: New file.
32283         * string/test-strcpy.c: Add wcscpy support.
32284         (WIDE): New macro.
32286 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32288         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32289         the inner loop.
32291 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32293         [BZ #13472]
32294         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32296 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32298         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32299         Minor optimizations.
32301         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32302         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32303         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32305 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32307         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32308         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32309         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32310         for gcc to avoid warnings.
32311         * inet/Makefile (tests): Add tst-checks.
32312         * inet/tst-checks.c: New file.
32314         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32315         warning.
32317         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32318         __wmemcmp_sse2.
32320         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32321         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32323         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32325 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32327         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32328         problem.
32330         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32332 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32334         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32335         conditional on GCC version.
32336         (__arch_compare_and_exchange_val_8_acq)
32337         (__arch_compare_and_exchange_val_16_acq)
32338         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32339         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32340         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32342 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32344         * sysdeps/sh/backtrace.c: New file.
32346 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32348         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32349         parenthesis.
32351 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32353         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32354         falling back to utime.
32356 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32358         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32359         expectations for float.
32361 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32363         * locale/weight.h (findidx): Add parameter len.
32364         * locale/weightwc.h (findidx): Likewise.
32365         * posix/fnmatch_loop.c (FCT): Adjust caller.
32366         * posix/regcomp.c (build_equiv_class): Likewise.
32367         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32368         * posix/regexec.c (check_node_accept_bytes): Likewise.
32369         * string/strcoll_l.c (STRCOLL): Likewise.
32370         * string/strxfrm_l.c (STRXFRM): Likewise.
32372 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32374         * Makefile.in: Remove CVSOPT handling.
32375         * configure.in: Remove use of AC_REVISION.
32376         * iconvdata/Makefile (distribute): No need to filter out CVS.
32377         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32378         handling.
32380 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32382         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32383         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32384         [USE_AS_STRNCASECMP_L]: Likewise.
32385         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32386         NO_TLS_DIRECT_SEG_REFS.
32387         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32388         Fix argument offsets for non-PIC.
32389         [USE_AS_STRNCASECMP_L]: Likewise.
32390         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32391         NO_TLS_DIRECT_SEG_REFS.
32393 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32395         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32396         O_CLOEXEC.
32397         * locale/loadlocale.c (_nl_load_locale): Likewise.
32399 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32401         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32402         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32403         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32404         (SYSCALL_GETTIME): Set errno on error.
32406         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32407         count references to noai6ai_cached.
32409 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32411         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32413         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32414         FD_CLOEXEC for /proc/self/maps.
32416         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32417         FD_CLOEXEC for /proc/meminfo.
32419         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32420         gai.conf.
32422         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32423         FD_CLOEXEC for given file.
32425         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32427         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32428         FD_CLOEXEC for /etc/hosts.
32429         (_gethtent): Likewise.
32431         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32433         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32434         cancellation and set FD_CLOEXEC for /etc/netgroup.
32436         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32437         reading /etc/publickey.
32439         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32440         allow cancellation when reading /etc/group.
32442         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32443         cancellation.
32444         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32446         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32447         when using data file.
32449         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32451         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32452         (write_nis_obj): Use "c" and "e" in fopen.
32454         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32456         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32458         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32460         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32462         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32463         locale.alias.
32465         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32467         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32469         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32471         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32472         file parsing and set FD_CLOEXEC.
32474 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32476         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32478 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32480         * malloc/arena.c (arena_get2): Don't call reused_arena when
32481         _int_new_arena failed.
32483 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32485         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32486         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32487         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32488         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32489         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32490         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32491         to compile strcasecmp and strncasecmp.
32492         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32493         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32495         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32497 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32499         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32500         locale-defines.sym to gen-as-const-headers.
32501         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32502         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32503         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32504         to compile strcasecmp and strncasecmp.
32505         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32506         strcasecmp_l and strncasecmp_l.
32507         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32508         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32509         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32510         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32511         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32512         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32513         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32514         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32515         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32516         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32517         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32519 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32521         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32522         result of SYSDEP_GETTIME_CPU to retval.
32523         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32524         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32526         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32527         variable.
32529         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32530         mantissa words.
32531         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32533         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32534         from unused variable.
32536         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32537         DWARF definitions.
32538         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32539         for assembling.
32541         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32542         over namespaces.
32544         * sunrpc/rpc_prot.c (rejected): Fix case value.
32546         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32547         unsigned long long int to avoid warnings in shift.
32549         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32550         of use of trans.
32551         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32552         variable tmp.
32554         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32555         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32556         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32558         * nis/nis_table.c (nis_list): Use variable of correct type for
32559         result of __follow_path call.
32561 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32563         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32564         of math functions ceil, trunc, floor, round, and sqrt, when
32565         avaliable on the platform.
32566         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32567         name clash.
32568         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32569         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32570         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32572 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32574         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32575         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32577 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32579         * include/unistd.h: Fix __readlink return type.
32580         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32582 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32584         * stdlib/ucontext.h: Undo last change for makecontext.
32586 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32588         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32590         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32591         * setjmp/setjmp.h: Mark functions as non-leaf.
32592         * setjmp/bits/setjmp2.h: Likewise.
32593         * stdlib/ucontext.h: Likewise.
32595 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32597         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32598         (reused_arena): Don't check arena limit.
32599         (arena_get2): Atomically check arena limit.
32601 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32603         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32604         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32606         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32607         instructions.
32609 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32611         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32612         handler when locking.
32614         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32615         Fix size of allocated buffer.
32617 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32619         [BZ #10103]
32620         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32621         declarations for long double functions.
32622         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32624         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32626 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32628         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32629         installed.
32631         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32632         is disabled.
32634 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32636         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32638 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32640         * include/alloca.h (stackinfo_alloca_round): Define.
32641         (extend_alloca): Use it.
32642         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32643         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32644         here.
32646         * scripts/check-local-headers.sh: Ignore libaudit.h.
32648         * nscd/Makefile (extra-objs): Make recursively expanded.
32650 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32652         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32653         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32655         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32656         * posix/tst-rfc3484-2.c: Likewise.
32657         * posix/tst-rfc3484-3.c: Likewise.
32659         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32660         process_vm_writev.
32661         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32662         process_vm_writev.
32663         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32664         process_vm_writev from libc using GLIBC_2.15 version.
32666         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32668 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32670         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32671         stack usage.
32673 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32675         [BZ #13367]
32676         * nss/getent.c (initgroups_keys): Show error message in case no group
32677         names are given.
32679         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32680         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32681         __bump_nl_timestamp.
32682         * nscd/connections (nscd_init): When host database is served open
32683         netlink socket and request notification about configuration changes.
32684         (main_loop_poll): Track netlink file descriptor and bump timestamp
32685         in case data becomes available.
32686         (main_loop_epoll): Likewise.
32687         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32688         (database_pers_head): Add extra_data fileds.
32689         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32690         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32691         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32692         Adjust caller.
32693         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32694         in6ai data, call __free_in6ai.
32695         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32696         Add -DHAVE_NETLINK.
32697         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32698         interface information.  Reuse previous data if netlink timestamp
32699         is not changed.
32700         (__bump_nl_timestamp): New function.
32701         (__free_in6ai): New function.
32703 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32705         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32706         close_not_cancel_no_status here.
32707         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32709 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32711         [BZ #13276]
32712         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32713         return value.
32715         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32716         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32717         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32719 2011-07-03  Andreas Jaeger  <aj@suse.de>
32721         [BZ #10709]
32722         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32723         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32724         * math/libm-test.inc (sin_test): Add test case.
32726 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32728         [BZ #13337]
32729         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32730         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32732         * elf/chroot_canon.c (chroot_canon): Cleanups.
32734         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32736         [BZ #13335]
32737         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32738         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32740         * string/test-strchr.c: Make usable for strchrnul testing.
32741         * string/test-strchrnul.c: New file.
32742         * string/Makefile (strop-tests): Add strchrnul.
32744         * po/it.po: Update from translation team.
32745         * po/es.po: Likewise.
32747 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32749         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32750         the three constants needed as parameters.  Drop the others.
32751         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32752         __m128i_strloadu_tolower.
32753         Create and initialize variable zero and use it in all the places
32754         where _mm_setzero_si128 was used.
32756         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32757         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32758         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32759         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32760         anymore.
32761         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32762         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32763         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32764         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32765         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32766         __mpranred, __mptan.
32767         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32768         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32769         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32770         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32771         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32772         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32773         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32774         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32775         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32777 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32779         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32780         redefine if SHARED.
32781         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32783         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32784         wide char related routines to wcsmbs subdir.
32786 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32788         [BZ #13344]
32789         * misc/sys/cdefs.h (__THROWNL): Define.
32790         * posix/unistd.h: Use __THREADNL instead of __THREAD
32791         for memory synchronization functions.
32793 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32795         [BZ #13349]
32796         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32797         doesn't exist.
32798         * manual/stdio.texi (Obstack Streams): Node removed.
32800 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32802         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32803         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32804         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32806         * math/math_private.h (math_force_eval): Allow non-addressable
32807         arguments.
32808         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32810 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32812         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32813         file is not needed.
32815         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32816         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32817         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32818         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32819         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32820         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32821         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32822         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32823         Add AVX variants.
32824         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32825         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32826         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32827         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32828         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32829         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32830         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32831         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32832         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32833         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32834         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32835         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32836         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32837         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32838         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32839         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32840         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32841         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32842         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32844         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32845         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32847         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32848         place.  Use VEX encoding when compiling for AVX.
32850 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32852         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32853         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32855         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32857 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32859         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32860         useless if() expression.
32861         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32862         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32863         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32864         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32865         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32866         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32867         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32868         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32869         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32870         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32871         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32872         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32873         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32874         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32875         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32876         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32877         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32878         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32879         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32881         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32883 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32885         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32886         condition.
32887         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32889 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32891         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32892         .text section.  Avoid duplicate constants.
32893         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32894         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32895         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32896         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32897         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32898         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32899         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32900         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32901         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32902         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32903         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32904         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32905         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32906         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32907         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32908         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32909         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32910         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32911         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32912         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32913         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32914         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32915         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32916         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32917         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32918         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32919         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32920         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32921         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32922         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32923         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32924         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32925         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32926         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32927         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32928         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32929         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32930         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32931         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32932         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32933         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32934         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32935         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32936         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32937         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32939 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32941         * sysdeps/x86_64/dla.h: Move to ...
32942         * sysdeps/x86_64/fpu/dla.h: ...here.
32943         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32944         situations.  Use __builtin_fma only for gcc 4.6 and up.
32946         * config.make.in: Add have-mfma4 entry.
32947         * configure.in: Substitute libc_cv_cc_fma4.
32948         * math/Makefile (dbl-only-routines): Add sincostab.
32949         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32950         Use __sincostab not sincos.
32951         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32952         name is a macro.
32953         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32954         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32955         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32956         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32957         using __copysign.
32958         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32959         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32960         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32961         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32962         and __inv.
32963         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32964         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32965         __copysign.
32966         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32967         define aliases when function name is a macro.
32968         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32969         sysdeps/ieee754/dbl-64/sincos.tbl.
32970         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32971         fma4-enabled routines.
32972         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32973         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32974         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32975         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32976         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32977         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32978         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32979         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32980         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32981         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32982         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32983         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32984         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32985         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32986         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32987         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32988         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32989         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32990         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32991         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32992         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32993         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32994         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32995         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32996         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32997         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32998         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32999         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33000         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33001         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33003         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33004         rename.
33005         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33006         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33007         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33008         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33009         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33010         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33011         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33012         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33014 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33016         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33018 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33020         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33022         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33023         prediction.
33024         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33026         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33027         Remove unused variable magic_bits.
33028         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33030         * string/strnlen.c: Define and use STRNLEN macro.
33031         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33032         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33033         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33034         * wcsmbs/wcslen.c: Define and use WCSLEN.
33035         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33036         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33037         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33038         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33039         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33040         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33041         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33043 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33046         strnlen-sse2-no-bsf.
33047         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33048         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33049         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33050         Add strnlen support.
33051         (USE_AS_STRNLEN): New macro.
33052         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33053         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33054         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33055         * sysdeps/x86_64/wcslen.S: New file.
33057 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33059         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33060         XMM-moves are used for copying on small sizes.
33062 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33064         * wcsmbs/Makefile (strop-tests): Add wcschr.
33065         * wcsmbs/test-wcschr.c: New file.
33066         * string/test-strchr.c: Update.
33067         Add wcschr support.
33068         (WIDE): New macro.
33070 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33072         * wcsmbs/Makefile (strop-tests): Add wcslen.
33073         * wcsmbs/test-wcslen.c: New file.
33074         * string/test-strlen.c: Update.
33075         Add wcslen support.
33076         (WIDE): New macro.
33078 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33080         * po/it.po: Update from translation team.
33082 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33084         * sysdeps/x86_64/wcscmp.S: Update.
33085         Fix wrong comparison semantics.
33086         wcscmp shall use signed comparison not unsigned.
33087         Don't use substraction to avoid overflow bug.
33088         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33089         * wcsmbc/wcscmp.c: Likewise.
33090         * string/test-strcmp.c: Likewise.
33091         Add new tests to check cases with negative values.
33093 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33095         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33096         * sysdeps/x86_64/dla.h: ...here.  New file.
33097         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33098         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33099         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33100         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33101         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33102         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33103         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33104         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33105         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33107 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33109         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33110         __ynl_finite aliases.
33112 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33116         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33117         define DLA_FMA.
33118         [DLA_FMA] (EMULV): Use DLA_FMA.
33119         [DLA_FMA] (MUL12): Use EMULV.
33120         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33121         that are not needed.
33122         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33123         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33124         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33125         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33126         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33127         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33128         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33130 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33132         * math/s_nan.c: Undef __nan.
33133         * math/s_nanf.c: Undef __nanf.
33134         * math/s_nanl.c: Undef __nanl.
33135         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33136         "math_private.h".
33138 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33140         * math/s_catan.c: Add branch predictions.
33141         * math/s_catanf.c: Likewise.
33142         * math/s_catanh.c: Likewise.
33143         * math/s_catanhf.c: Likewise.
33144         * math/s_catanhl.c: Likewise.
33145         * math/s_catanl.c: Likewise.
33146         * math/s_cexp.c: Likewise.
33147         * math/s_cexpf.c: Likewise.
33148         * math/s_cexpl.c: Likewise.
33149         * math/s_clog.c: Likewise.
33150         * math/s_clog10.c: Likewise.
33151         * math/s_clog10f.c: Likewise.
33152         * math/s_clog10l.c: Likewise.
33153         * math/s_clogf.c: Likewise.
33154         * math/s_clogl.c: Likewise.
33155         * math/s_csqrt.c: Likewise.
33156         * math/s_csqrtf.c: Likewise.
33157         * math/s_csqrtl.c: Likewise.
33158         * math/s_ctanf.c: Likewise.
33159         * math/s_ctanh.c: Likewise.
33160         * math/s_ctanhf.c: Likewise.
33161         * math/s_ctanhl.c: Likewise.
33162         * math/s_ctanl.c: Likewise.
33164         * math/math_private.h: Define __nan, __nanf, __nanl.
33165         * math/s_cacosh.c: Include <math_private.h>.
33166         * math/s_cacoshl.c: Likewise.
33167         * math/s_casinh.c: Likewise.
33168         * math/s_casinhf.c: Likewise.
33169         * math/s_casinhl.c: Likewise.
33170         * math/s_ccos.c: Rely entire on ccosh.
33171         * math/s_ccosf.c: Rely entire on ccoshf.
33172         * math/s_ccosl.c: Rely entirely on ccoshl.
33173         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33174         Remove tests for FE_INVALID.
33175         * math/s_ccoshf.c: Likewise.
33176         * math/s_ccoshl.c: Likewise.
33177         * math/s_csin.c: Likewise.
33178         * math/s_csinf.c: Likewise.
33179         * math/s_csinh.c Likewise.
33180         * math/s_csinhf.c: Likewise.
33181         * math/s_csinhl.c: Likewise.
33182         * math/s_csinl.c: Likewise.
33183         * math/s_ctan.c: Likewise.
33184         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33185         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33186         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33188 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33191         compilation problems.
33193         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33194         __builtin_expect.
33196 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33198         * sysdeps/i386/configure.in: Test for -mfma4 option.
33199         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33200         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33201         COMMON_CPUID_INDEX_80000001.
33202         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33203         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33204         use it if FMA3 is not supported.
33205         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33207         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33208         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33210 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33212         [BZ #12892]
33213         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33214         it would create a cycle with a link time dependency.
33216 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33218         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33219         instruction.
33220         * string/Makefile (strop-tests): Add rawmemchr.
33221         * string/test-rawmemchr.c: New file.
33223         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33224         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33225         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33226         when compiling str{,n}casecmp and when AVX is available.  Hook up
33227         new optimized code in initializers.
33229 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33231         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33232         __feraiseexcept instead of feraiseexcept.
33234 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33236         * math/math_private.h: Define defaults for libc_fetestexcept and
33237         libc_feupdateenv.
33238         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33239         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33240         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33241         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33242         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33243         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33244         libc_fetestexcept and libc_feupdateenv.
33246         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33247         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33248         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33249         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33250         libc_feholdexcept_setround.
33252         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33253         Add s_nearbyint-c and s_nearbyintf-c.
33254         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33255         nearbyintf inlines.
33256         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33257         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33258         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33259         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33261         * math/math_private.h: Define defaults for libc_fegetround,
33262         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33263         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33264         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33265         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33266         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33267         standard functions.
33268         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33269         Remove comments and hacks for old compiler versions.
33270         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33271         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33272         libc_feholdexceptl.
33274 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33276         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33277         (__feraiseexcept_renamed): Add __NTH.
33278         (feraiseexcept): Add __NTH.  Rename local variables to fix
33279         namespace violations.
33281 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33283         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33285         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33287         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33288         recently added interfaces.
33289         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33291         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33292         about macro parameter expansion.
33294         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33295         __NO_MATH_INLINES is defined.  Cleanups.
33297         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33298         and __floorf is target has SSE4.1.
33299         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33300         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33301         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33302         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33304         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33305         name.
33306         (floorf): Likewise.
33308         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33310 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33312         * misc/sys/cdefs.h: Fix last change.
33314         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33315         database lookup.
33317 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33319         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33321         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33322         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33323         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33324         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33325         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33326         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33327         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33328         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33329         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33330         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33331         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33332         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33333         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33334         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33335         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33336         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33337         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33338         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33339         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33340         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33341         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33342         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33344         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33345         ceil, ceilf, floor, floorf.
33347         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33348         Perform IRELATIVE relocations last.
33350         * elf/do-rel.h: Add another parameter nrelative, replacing the
33351         local variable with the same name.  Change name of the function
33352         to end in Rel or Rela (uppercase).
33353         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33354         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33355         elf_dynamic_do_##reloc function.
33357 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33359         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33360         is sufficient, at least on modern CPUs.
33362         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33364         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33365         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33367         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33368         __expl_finite.
33369         * math/bits/math-finite.h: Add entries for exp.
33370         * math/e_expl.c: Add __*_finite alias.
33371         * sysdeps/i386/fpu/e_exp.S: Likewise.
33372         * sysdeps/i386/fpu/e_expf.S: Likewise.
33373         * sysdeps/i386/fpu/e_expl.c: Likewise.
33374         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33375         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33376         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33378         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33379         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33380         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33382         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33383         is sufficient, at least on modern CPUs.
33385         * ctype/ctype-info.c (__ctype_init): Define.
33386         * include/ctype.h (__ctype_init): Declare.
33387         (__ctype_b_loc): The variable is always initialized.
33388         (__ctype_toupper_loc): Likewise.
33389         (__ctype_tolower_loc): Likewise.
33390         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33391         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33393 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33395         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33397         * configure.in: Also look in $cxxmachine/include for C++ system
33398         headers.
33400 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33402         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33403         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33404         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33405         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33406         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33407         (USE_AS_WMEMCMP): New macro.
33408         Fixing indents.
33409         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33410         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33411         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33412         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33413         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33414         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33415         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33416         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33417         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33418         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33419         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33420         (USE_AS_WMEMCMP): New macro.
33421         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33422         * sysdeps/string/test-memcmp.c: Update.
33423         Fix simple_wmemcmp.
33424         Add new tests.
33425         * wcsmbs/wmemcmp.c: Update.
33426         (WMEMCMP): New macro.
33427         Fix overflow bug.
33429 2011-10-12  Andreas Jaeger  <aj@suse.de>
33431         [BZ #13268]
33432         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33434 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33436         * libio/iofwide.c (do_length): Avoid warning.
33438         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33440 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33442         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33444         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33445         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33446         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33447         * sysdeps/i386/i686/fpu/e_log.S: New file.
33448         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33449         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33451         * ctype/ctype.h: Add support for inlined isXXX functions when
33452         compiling C++ code.
33454 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33456         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33458         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33460 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33462         [BZ #13291]
33463         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33465 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33467         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33468         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33469         feraiseexcept.
33471         * sysdeps/x86_64/memrchr.S: Check for zero size.
33473         * string/stratcliff.c: Add memrchr tests.
33475 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33477         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33478         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33479         rawmemchr-sse2 rawmemchr-sse2-bsf.
33480         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33481         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33482         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33483         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33484         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33485         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33486         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33487         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33488         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33489         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33490         * string/memrchr.c (MEMRCHR): New macro.
33492 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33494         Add integration with gcc's -ffinite-math-only and optimize wrapper
33495         functions in libm.
33496         * Versions.def: Define GLIBC_2.15 version for libm.
33497         * math/Makefile (headers): Add bits/math-finite.h.
33498         * math/bits/math-finite.h: New file.
33499         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33500         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33501         * math/e_acoshl.c: Add __*_finite alias.
33502         * math/e_acosl.c: Likewise.
33503         * math/e_asinl.c: Likewise.
33504         * math/e_atan2l.c: Likewise.
33505         * math/e_atanhl.c: Likewise.
33506         * math/e_coshl.c: Likewise.
33507         * math/e_exp10.c: Likewise.
33508         * math/e_exp10f.c: Likewise.
33509         * math/e_exp10l.c: Likewise.
33510         * math/e_exp2l.c: Likewise.
33511         * math/e_fmodl.c: Likewise.
33512         * math/e_gammal_r.c: Likewise.
33513         * math/e_hypotl.c: Likewise.
33514         * math/e_j0l.c: Likewise.
33515         * math/e_j1l.c: Likewise.
33516         * math/e_jnl.c: Likewise.
33517         * math/e_lgammal_r.c: Likewise.
33518         * math/e_log10l.c: Likewise.
33519         * math/e_log2l.c: Likewise.
33520         * math/e_logl.c: Likewise.
33521         * math/e_powl.c: Likewise.
33522         * math/e_sinhl.c: Likewise.
33523         * math/e_sqrtl.c: Likewise.
33524         * math/e_scalb.c: Completely rewritten and optimized.
33525         * math/e_scalbf.c: Likewise.
33526         * math/e_scalbl.c: Likewise.
33527         * math/w_acos.c: Likewise.
33528         * math/w_acosf.c: Likewise.
33529         * math/w_acosl.c: Likewise.
33530         * math/w_acosh.c: Likewise.
33531         * math/w_acoshf.c: Likewise.
33532         * math/w_acoshl.c: Likewise.
33533         * math/w_asin.c: Likewise.
33534         * math/w_asinf.c: Likewise.
33535         * math/w_asinl.c: Likewise.
33536         * math/w_atan2.c: Likewise.
33537         * math/w_atan2f.c: Likewise.
33538         * math/w_atan2l.c: Likewise.
33539         * math/w_atanh.c: Likewise.
33540         * math/w_atanhf.c: Likewise.
33541         * math/w_atanhl.c: Likewise.
33542         * math/w_exp10.c: Likewise.
33543         * math/w_exp10f.c: Likewise.
33544         * math/w_exp10l.c: Likewise.
33545         * math/w_fmod.c: Likewise.
33546         * math/w_fmodf.c: Likewise.
33547         * math/w_fmodl.c: Likewise.
33548         * math/w_j0.c: Likewise.
33549         * math/w_j0f.c: Likewise.
33550         * math/w_j0l.c: Likewise.
33551         * math/w_j1.c: Likewise.
33552         * math/w_j1f.c: Likewise.
33553         * math/w_j1l.c: Likewise.
33554         * math/w_jn.c: Likewise.
33555         * math/w_jnf.c: Likewise.
33556         * math/w_log.c: Likewise.
33557         * math/w_logf.c: Likewise.
33558         * math/w_logl.c: Likewise.
33559         * math/w_log10.c: Likewise.
33560         * math/w_log10f.c: Likewise.
33561         * math/w_log10l.c: Likewise.
33562         * math/w_log2.c: Likewise.
33563         * math/w_log2f.c: Likewise.
33564         * math/w_log2l.c: Likewise.
33565         * math/w_pow.c: Likewise.
33566         * math/w_powf.c: Likewise.
33567         * math/w_powl.c: Likewise.
33568         * math/w_remainder.c: Likewise.
33569         * math/w_remainderf.c: Likewise.
33570         * math/w_remainderl.c: Likewise.
33571         * math/w_scalb.c: Likewise.
33572         * math/w_scalbf.c: Likewise.
33573         * math/w_scalbl.c: Likewise.
33574         * math/w_sqrt.c: Likewise.
33575         * math/w_sqrtf.c: Likewise.
33576         * math/w_sqrtl.c: Likewise.
33577         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33578         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33579         used.
33580         * math/math_private.h: Declare __kernel_standard_f.
33581         * math/w_cosh.c: Remove cruft and optimize a bit.
33582         * math/w_coshf.c: Likewise.
33583         * math/w_coshl.c: Likewise.
33584         * math/w_exp2.c: Likewise.
33585         * math/w_exp2f.c: Likewise.
33586         * math/w_exp2l.c: Likewise.
33587         * math/w_hypot.c: Likewise.
33588         * math/w_hypotf.c: Likewise.
33589         * math/w_hypotl.c: Likewise.
33590         * math/w_lgamma.c: Likewise.
33591         * math/w_lgamma_r.c: Likewise.
33592         * math/w_lgammaf.c: Likewise.
33593         * math/w_lgammaf_r.c: Likewise.
33594         * math/w_lgammal.c: Likewise.
33595         * math/w_lgammal_r.c: Likewise.
33596         * math/w_sinh.c: Likewise.
33597         * math/w_sinhf.c: Likewise.
33598         * math/w_sinhl.c: Likewise.
33599         * math/w_tgamma.c: Likewise.
33600         * math/w_tgammaf.c: Likewise.
33601         * math/w_tgammal.c: Likewise.
33602         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33603         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33604         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33605         Minor optimizations.  Pretty printing.  Remove cruft.
33606         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33607         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33608         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33609         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33610         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33611         * sysdeps/i386/fpu/e_asin.S: Likewise.
33612         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33613         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33614         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33615         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33616         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33617         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33618         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33619         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33620         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33621         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33622         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33623         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33624         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33625         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33626         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33627         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33628         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33629         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33630         * sysdeps/i386/fpu/e_log.S: Likewise.
33631         * sysdeps/i386/fpu/e_log10.S: Likewise.
33632         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33633         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33634         * sysdeps/i386/fpu/e_log2.S: Likewise.
33635         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33636         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33637         * sysdeps/i386/fpu/e_logf.S: Likewise.
33638         * sysdeps/i386/fpu/e_logl.S: Likewise.
33639         * sysdeps/i386/fpu/e_pow.S: Likewise.
33640         * sysdeps/i386/fpu/e_powf.S: Likewise.
33641         * sysdeps/i386/fpu/e_powl.S: Likewise.
33642         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33643         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33644         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33645         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33646         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33647         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33648         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33649         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33650         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33651         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33652         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33653         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33654         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33655         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33656         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33657         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33658         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33659         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33660         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33661         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33662         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33664         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33665         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33666         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33667         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33668         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33669         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33670         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33671         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33672         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33673         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33674         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33675         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33676         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33677         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33678         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33679         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33680         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33681         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33682         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33683         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33684         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33685         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33686         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33687         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33688         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33689         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33690         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33691         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33692         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33693         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33694         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33695         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33696         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33697         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33698         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33699         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33700         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33701         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33702         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33703         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33704         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33705         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33706         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33707         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33708         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33709         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33710         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33711         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33712         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33713         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33714         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33715         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33716         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33717         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33718         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33719         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33720         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33721         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33722         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33723         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33724         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33725         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33726         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33727         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33728         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33729         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33730         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33731         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33732         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33733         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33734         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33735         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33736         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33737         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33738         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33739         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33740         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33741         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33742         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33743         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33744         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33745         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33746         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33747         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33748         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33749         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33750         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33751         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33752         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33753         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33754         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33755         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33756         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33757         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33758         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33759         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33760         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33761         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33762         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33763         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33764         (__isnanf): Likewise.
33765         (__isinf_ns): Likewise.
33766         (__isinf_nsf): Likewise.
33767         (__finite): Likewise.
33768         (__finitef): Likewise.
33769         (__ieee754_sqrt): Define as macro.
33770         (__ieee754_sqrtf): Define as macro.
33771         (__ieee754_sqrtl): Define as macro.
33772         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33773         inlined copy.
33774         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33775         __FINITE_MATH_ONLY__ consistent.
33776         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33778 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33780         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33781         of rawmemchr.
33783         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33785 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33787         * po/ja.po: Update from translation team.
33789 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33791         * locale/programs/locarchive.c (prepare_address_space): New function.
33792         (create_archive, enlarge_archive, open_archive): Use it.
33794         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33795         inside [SHARED], where it is used.
33797         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33799         * nss/getent.c (netgroup_keys): Remove unused variable.
33800         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33802 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33804         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33805         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33807         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33808         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33809         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33810         * math/Makefile (libm-calls): Add s_isinf_ns.
33811         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33812         * math/multc3.c: Likewise.
33813         * math/s_casin.c: Likewise.
33814         * math/s_casinf.c: Likewise.
33815         * math/s_casinl.c: Likewise.
33816         * math/s_ccos.c: Likewise.
33817         * math/s_ccosf.c: Likewise.
33818         * math/s_ccosl.c: Likewise.
33819         * math/s_ctan.c: Likewise.
33820         * math/s_ctanf.c: Likewise.
33821         * math/s_ctanh.c: Likewise.
33822         * math/s_ctanhf.c: Likewise.
33823         * math/s_ctanhl.c: Likewise.
33824         * math/s_ctanl.c: Likewise.
33825         * math/w_fmod.c: Likewise.
33826         * math/w_fmodf.c: Likewise.
33827         * math/w_fmodl.c: Likewise.
33828         * math/w_remainder.c: Likewise.
33829         * math/w_remainderf.c: Likewise.
33830         * math/w_remainderl.c: Likewise.
33831         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33832         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33833         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33834         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33835         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33836         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33837         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33838         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33840         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33841         of the number.
33842         * stdio-common/printf_fphex.c: Likewise.
33843         * stdio-common/printf_size.c: Likewise.
33845         * math/e_exp10.c: Include math_private.h using <...> not "...".
33846         * math/e_exp10f.c: Likewise.
33847         * math/e_exp10l.c: Likewise.
33848         * math/e_exp2l.c: Likewise.
33849         * math/e_j0l.c: Likewise.
33850         * math/e_j1l.c: Likewise.
33851         * math/e_jnl.c: Likewise.
33852         * math/e_lgammal_r.c: Likewise.
33853         * math/e_rem_pio2l.c: Likewise.
33854         * math/e_scalb.c: Likewise.
33855         * math/e_scalbf.c: Likewise.
33856         * math/e_scalbl.c: Likewise.
33857         * math/k_cosl.c: Likewise.
33858         * math/k_sinl.c: Likewise.
33859         * math/k_tanl.c: Likewise.
33860         * math/s_cacoshf.c: Likewise.
33861         * math/s_catan.c: Likewise.
33862         * math/s_catanf.c: Likewise.
33863         * math/s_catanh.c: Likewise.
33864         * math/s_catanhf.c: Likewise.
33865         * math/s_catanhl.c: Likewise.
33866         * math/s_catanl.c: Likewise.
33867         * math/s_ccosh.c: Likewise.
33868         * math/s_ccoshf.c: Likewise.
33869         * math/s_ccoshl.c: Likewise.
33870         * math/s_cexp.c: Likewise.
33871         * math/s_cexpf.c: Likewise.
33872         * math/s_cexpl.c: Likewise.
33873         * math/s_clog.c: Likewise.
33874         * math/s_clog10.c: Likewise.
33875         * math/s_clog10f.c: Likewise.
33876         * math/s_clog10l.c: Likewise.
33877         * math/s_clogf.c: Likewise.
33878         * math/s_clogl.c: Likewise.
33879         * math/s_csin.c: Likewise.
33880         * math/s_csinf.c: Likewise.
33881         * math/s_csinh.c: Likewise.
33882         * math/s_csinhf.c: Likewise.
33883         * math/s_csinhl.c: Likewise.
33884         * math/s_csinl.c: Likewise.
33885         * math/s_csqrt.c: Likewise.
33886         * math/s_csqrtf.c: Likewise.
33887         * math/s_csqrtl.c: Likewise.
33888         * math/s_ctan.c: Likewise.
33889         * math/s_ctanf.c: Likewise.
33890         * math/s_ctanh.c: Likewise.
33891         * math/s_ctanhf.c: Likewise.
33892         * math/s_ctanhl.c: Likewise.
33893         * math/s_ctanl.c: Likewise.
33894         * math/s_ldexp.c: Likewise.
33895         * math/s_ldexpf.c: Likewise.
33896         * math/s_ldexpl.c: Likewise.
33897         * math/s_significand.c: Likewise.
33898         * math/s_significandf.c: Likewise.
33899         * math/s_significandl.c: Likewise.
33900         * math/w_acos.c: Likewise.
33901         * math/w_acosf.c: Likewise.
33902         * math/w_acosh.c: Likewise.
33903         * math/w_acoshf.c: Likewise.
33904         * math/w_acoshl.c: Likewise.
33905         * math/w_acosl.c: Likewise.
33906         * math/w_asin.c: Likewise.
33907         * math/w_asinf.c: Likewise.
33908         * math/w_asinl.c: Likewise.
33909         * math/w_atan2.c: Likewise.
33910         * math/w_atan2f.c: Likewise.
33911         * math/w_atan2l.c: Likewise.
33912         * math/w_atanh.c: Likewise.
33913         * math/w_atanhf.c: Likewise.
33914         * math/w_atanhl.c: Likewise.
33915         * math/w_cosh.c: Likewise.
33916         * math/w_coshf.c: Likewise.
33917         * math/w_coshl.c: Likewise.
33918         * math/w_dremf.c: Likewise.
33919         * math/w_exp10.c: Likewise.
33920         * math/w_exp10f.c: Likewise.
33921         * math/w_exp10l.c: Likewise.
33922         * math/w_exp2.c: Likewise.
33923         * math/w_exp2f.c: Likewise.
33924         * math/w_fmod.c: Likewise.
33925         * math/w_fmodf.c: Likewise.
33926         * math/w_fmodl.c: Likewise.
33927         * math/w_hypot.c: Likewise.
33928         * math/w_hypotf.c: Likewise.
33929         * math/w_hypotl.c: Likewise.
33930         * math/w_j0.c: Likewise.
33931         * math/w_j0f.c: Likewise.
33932         * math/w_j0l.c: Likewise.
33933         * math/w_j1.c: Likewise.
33934         * math/w_j1f.c: Likewise.
33935         * math/w_j1l.c: Likewise.
33936         * math/w_jn.c: Likewise.
33937         * math/w_jnf.c: Likewise.
33938         * math/w_jnl.c: Likewise.
33939         * math/w_lgamma.c: Likewise.
33940         * math/w_lgamma_r.c: Likewise.
33941         * math/w_lgammaf.c: Likewise.
33942         * math/w_lgammaf_r.c: Likewise.
33943         * math/w_lgammal.c: Likewise.
33944         * math/w_lgammal_r.c: Likewise.
33945         * math/w_log.c: Likewise.
33946         * math/w_log10.c: Likewise.
33947         * math/w_log10f.c: Likewise.
33948         * math/w_log10l.c: Likewise.
33949         * math/w_log2.c: Likewise.
33950         * math/w_log2f.c: Likewise.
33951         * math/w_log2l.c: Likewise.
33952         * math/w_logf.c: Likewise.
33953         * math/w_logl.c: Likewise.
33954         * math/w_pow.c: Likewise.
33955         * math/w_powf.c: Likewise.
33956         * math/w_powl.c: Likewise.
33957         * math/w_remainder.c: Likewise.
33958         * math/w_remainderf.c: Likewise.
33959         * math/w_remainderl.c: Likewise.
33960         * math/w_scalb.c: Likewise.
33961         * math/w_scalbf.c: Likewise.
33962         * math/w_scalbl.c: Likewise.
33963         * math/w_sinh.c: Likewise.
33964         * math/w_sinhf.c: Likewise.
33965         * math/w_sinhl.c: Likewise.
33966         * math/w_sqrt.c: Likewise.
33967         * math/w_sqrtf.c: Likewise.
33968         * math/w_sqrtl.c: Likewise.
33969         * math/w_tgamma.c: Likewise.
33970         * math/w_tgammaf.c: Likewise.
33971         * math/w_tgammal.c: Likewise.
33973         * po/ja.po: Update from translation team.
33975 2011-09-29  Andreas Jaeger  <aj@suse.de>
33977         [BZ #13179]
33978         * sunrpc/netname.c (netname2host): Fix logic.
33980         [BZ #6779]
33981         [BZ #6783]
33982         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33983         correctly.
33984         * math/w_remainder.c (__remainder): Likewise.
33985         * math/w_remainderf.c (__remainderf): Likewise.
33986         * math/libm-test.inc (remainder_test): Add test cases.
33988 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33990         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33991         sdiv_qrnnd.
33993 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33995         * string/test-memcmp.c: Avoid unncessary #defines.
33996         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33998 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34000         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34001         Use new sse2 version for core i3 - i7 as it's faster
34002         than sse42 version.
34003         (bit_Prefer_PMINUB_for_stringop): New.
34004         * sysdeps/x86_64/rawmemchr.S: Update.
34005         Replace with faster SSE2 version.
34006         * sysdeps/x86_64/memrchr.S: New file.
34007         * sysdeps/x86_64/memchr.S: Update.
34008         Replace with faster SSE2 version.
34010 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34012         * elf/dl-load.c (lose): Add cast to avoid warning.
34014 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34016         * po/ca.po: Update from translation team.
34018         * inet/getnetgrent_r.c: Hook up nscd.
34019         * nscd/Makefile (routines): Add nscd_netgroup.
34020         (nscd-modules): Add netgroupcache.
34021         (CFLAGS-netgroupcache.c): Define.
34022         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34023         (cache_search): Add const to second parameter.
34024         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34025         INNETGR.
34026         (dbs): Add netgrdb entry.
34027         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34028         (verify_persistent_db): Handle netgrdb.
34029         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34030         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34031         GETFDNETGR.
34032         (netgroup_response_header): Define.
34033         (innetgroup_response_header): Define.
34034         (datahead): Add netgroup_response_header and innetgroup_response_header
34035         elements.
34036         * nscd/nscd.conf: Add entries for netgroup cache.
34037         * nscd/nscd.h (dbtype): Add netgrdb.
34038         (_PATH_NSCD_NETGROUP_DB): Define.
34039         (netgroup_iov_disabled): Declare.
34040         (xmalloc, xcalloc, xrealloc): Move declarations here.
34041         (cache_search): Adjust prototype.
34042         Add netgroup-related prototypes.
34043         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34044         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34045         (__nscd_innetgr): Declare.
34046         * nscd/selinux.c (perms): Use access_vector_t as element type and
34047         add netgroup-related initializers.
34048         * nscd/netgroupcache.c: New file.
34049         * nscd/nscd_netgroup.c: New file.
34050         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34051         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34052         For four parameters use innetgr.
34053         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34054         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34055         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34056         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34058         * nscd/connections.c (register_traced_file): Don't register file
34059         for disabled databases.
34061 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34063         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34065         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34066         from tree and freeing node.
34068 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34070         * nss/nsswitch.c (__nss_database_lookup): Handle
34071         nss_parse_service_list out of memory case.
34073 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34075         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34076         out of memory case.
34078 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34080         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34081         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34082         pass it down.
34083         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34084         elf_machine_rela, elf_machine_lazy_rel.
34085         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34086         (ELF_DYNAMIC_DO_REL): Likewise.
34087         (ELF_DYNAMIC_DO_RELA): Likewise.
34088         (ELF_DYNAMIC_RELOCATE): Likewise.
34089         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34090         to ELF_DYNAMIC_DO_REL.
34091         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34092         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34093         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34094         elf_machine_rela.
34095         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34096         skip_ifunc, don't call ifunc function if non-zero.
34097         (elf_machine_rela): Likewise.
34098         (elf_machine_lazy_rel): Likewise.
34099         (elf_machine_lazy_rela): Likewise.
34100         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34101         (elf_machine_lazy_rel): Likewise.
34102         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34103         Likewise.
34104         (elf_machine_lazy_rel): Likewise.
34105         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34106         Likewise.
34107         (elf_machine_lazy_rel): Likewise.
34108         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34109         (elf_machine_lazy_rel): Likewise.
34110         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34111         (elf_machine_lazy_rel): Likewise.
34112         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34113         (elf_machine_lazy_rel): Likewise.
34114         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34115         (elf_machine_lazy_rel): Likewise.
34116         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34117         (elf_machine_lazy_rel): Likewise.
34118         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34119         (elf_machine_lazy_rel): Likewise.
34121 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34123         * nss/nss_files/files-init.c (_nss_files_init): Use static
34124         initialization for all the *_traced_file variables.
34126 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34128         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34130 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34132         [BZ #13226]
34133         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34135 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34137         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34138         Reread the line before reparsing it.
34140 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34142         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34144 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34145             Maxim Kuvyrkov  <maxim@codesourcery.com>
34146             Joseph Myers  <joseph@codesourcery.com>
34148         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34149         if needed for __stack_chk_guard.
34151 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34153         * sysdeps/posix/spawni.c (script_execute): Always define it.
34154         It will be optimized away if unused.
34155         (maybe_script_execute): New function.
34156         (__spawni): Call it.
34158         * Makerules: Don't include tls.make.
34159         (config-tls): Always set to thread.
34160         * tls.make.c: File removed.
34162 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34164         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34165         * config.make.in (CPPFLAGS-config): New substituted variable.
34167 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34169         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34171         [BZ #13192]
34172         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34173         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34175 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34177         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34178         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34179         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34180         (CALL_FAIL): Likewise.
34181         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34182         (CALL_FAIL): Macro removed.
34183         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34185 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34187         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34188         for __FINITE_MATH_ONLY__ == 1.
34190 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34192         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34193         __ieee754_sqrt instead of sqrt.
34194         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34195         __ieee754_sqrtf instead of sqrtf.
34196         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34197         __floorf instead of floorf.
34198         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34199         __floorf, __truncf instead of floorf, truncf.
34201 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34203         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34205         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34206         __extern_always_inline.
34207         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34208         32-bit.
34210 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34212         * elf/rtld.c (dl_main): Also relocate in dependency order when
34213         doing symbol dependency testing.
34215 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34217         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34218         Always define `refsym'.
34220 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34222         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34223         (__FD_ELT): Renamed from __FDELT.
34224         * misc/bits/select2.h (__FD_ELT): Likewise.
34225         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34226         __FD_MASK instead of __FDELT, __FDMASK.
34227         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34228         Likewise.
34229         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34230         Likewise.
34232         * elf/Makefile (gen-ldd): Fix pattern.
34234         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34235         (init_tls): Likewise.
34237 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34239         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34241 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34243         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34244         `struct cmsghdr *' instead of `void *'.
34245         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34246         Likewise.
34248 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34250         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34251         if non-absolute.
34252         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34253         ldd_rewrite_script.
34255 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34257         * configure.in: Remove --with-tls option.
34258         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34259         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34260         out in case it is missing.
34261         * sysdeps/ia64/elf/configure.in: Likewise.
34262         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34263         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34264         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34265         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34266         * sysdeps/sh/elf/configure.in: Likewise.
34267         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34268         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34269         * sysdeps/x86_64/elf/configure.in: Likewise.
34270         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34271         * sysdeps/mach/hurd/tls.h: Likewise.
34273         [BZ #13067]
34274         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34276         [BZ #13090]
34277         * configure.in: Fix use of AC_INIT.
34279         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34281 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34283         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34284         __set_errno.
34285         * malloc/hooks.c: Likewise.
34287         [BZ #11929]
34288         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34289         variables statically.
34290         (narenas): Initialize.
34291         (list_lock): Initialize.
34292         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34293         initializtion of main_arena and list_lock.  Small cleanups.
34294         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34295         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34296         Add initializers to main_arena and mp_.
34297         (malloc_state): Remove pagesize member.  Change all users to use
34298         GLRO(dl_pagesize).
34300         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34301         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34302         is always initialized.
34304         * malloc/malloc.c: Removed unused configurations and dead code.
34305         * malloc/arena.c: Likewise.
34306         * malloc/hooks.c: Likewise.
34307         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34309         * include/tls.h: Removed.  USE___THREAD must always be defined.
34310         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34311         * elf/dl-libc.c: Likewise.
34312         * elf/dl-tsd.c: Likewise.
34313         * include/errno.h: Likewise.
34314         * include/netdb.h: Likewise.
34315         * include/resolv.h: Likewise.
34316         * inet/herrno-loc.c: Likewise.
34317         * inet/herrno.c: Likewise.
34318         * malloc/arena.c: Likewise.
34319         * malloc/hooks.c: Likewise.
34320         * malloc/malloc.c: Likewise.
34321         * resolv/res-state.c: Likewise.
34322         * resolv/res_libc.c: Likewise.
34323         * sysdeps/i386/dl-machine.h: Likewise.
34324         * sysdeps/ia64/dl-machine.h: Likewise.
34325         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34326         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34327         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34328         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34329         * sysdeps/sh/dl-machine.h: Likewise.
34330         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34331         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34332         * sysdeps/unix/i386/sysdep.S: Likewise.
34333         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34334         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34335         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34336         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34337         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34339         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34341         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34343         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34344         * sysdeps/x86_64/dl-machine.h: Likewise.
34345         * tls.make.c: Likewise.
34347         * configure.in: Remove --with-__thread option.  Make tests for
34348         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34349         tls_model attribute fail if no support is available.  Remove
34350         USE_IN_LIBIO.
34351         * Makeconfig: Adjust for dropped configure option.  All features are
34352         now mandatory.
34353         * Makerules: Likewise.
34354         * Versions.def: Likewise.
34355         * argp/argp-fmtstream.c: Likewise.
34356         * argp/argp-fmtstream.h: Likewise.
34357         * argp/argp-help.c: Likewise.
34358         * assert/assert.c: Likewise.
34359         * config.h.in: Likewise.
34360         * config.make.in: Likewise.
34361         * configure: Likewise.
34362         * configure.in: Likewise.
34363         * csu/Versions: Likewise.
34364         * csu/init.c: Likewise.
34365         * elf/tst-audit2.c: Likewise.
34366         * elf/tst-tls10.c: Likewise.
34367         * elf/tst-tls10.h: Likewise.
34368         * elf/tst-tls11.c: Likewise.
34369         * elf/tst-tls12.c: Likewise.
34370         * elf/tst-tls14.c: Likewise.
34371         * elf/tst-tlsmod11.c: Likewise.
34372         * elf/tst-tlsmod12.c: Likewise.
34373         * elf/tst-tlsmod13.c: Likewise.
34374         * elf/tst-tlsmod13a.c: Likewise.
34375         * elf/tst-tlsmod14a.c: Likewise.
34376         * elf/tst-tlsmod15b.c: Likewise.
34377         * elf/tst-tlsmod16a.c: Likewise.
34378         * elf/tst-tlsmod16b.c: Likewise.
34379         * elf/tst-tlsmod7.c: Likewise.
34380         * elf/tst-tlsmod8.c: Likewise.
34381         * elf/tst-tlsmod9.c: Likewise.
34382         * gmon/gmon.c: Likewise.
34383         * grp/fgetgrent_r.c: Likewise.
34384         * grp/putgrent.c: Likewise.
34385         * hurd/fopenport.c: Likewise.
34386         * include/libc-symbols.h: Likewise.
34387         * include/tls.h: Likewise.
34388         * intl/gettextP.h: Likewise.
34389         * intl/loadinfo.h: Likewise.
34390         * locale/global-locale.c: Likewise.
34391         * locale/localeinfo.h: Likewise.
34392         * mach/devstream.c: Likewise.
34393         * malloc/arena.c: Likewise.
34394         * malloc/set-freeres.c: Likewise.
34395         * misc/err.c: Likewise.
34396         * misc/getttyent.c: Likewise.
34397         * misc/mntent_r.c: Likewise.
34398         * posix/getopt.c: Likewise.
34399         * posix/wordexp.c: Likewise.
34400         * pwd/fgetpwent_r.c: Likewise.
34401         * resolv/Versions: Likewise.
34402         * resolv/res_hconf.c: Likewise.
34403         * shadow/fgetspent_r.c: Likewise.
34404         * shadow/putspent.c: Likewise.
34405         * stdio-common/printf_fphex.c: Likewise.
34406         * stdio-common/tmpfile.c: Likewise.
34407         * stdlib/abort.c: Likewise.
34408         * stdlib/fmtmsg.c: Likewise.
34409         * sunrpc/auth_unix.c: Likewise.
34410         * sunrpc/clnt_perr.c: Likewise.
34411         * sunrpc/clnt_tcp.c: Likewise.
34412         * sunrpc/clnt_udp.c: Likewise.
34413         * sunrpc/clnt_unix.c: Likewise.
34414         * sunrpc/openchild.c: Likewise.
34415         * sunrpc/svc_simple.c: Likewise.
34416         * sunrpc/svc_tcp.c: Likewise.
34417         * sunrpc/svc_udp.c: Likewise.
34418         * sunrpc/svc_unix.c: Likewise.
34419         * sunrpc/xdr.c: Likewise.
34420         * sunrpc/xdr_array.c: Likewise.
34421         * sunrpc/xdr_rec.c: Likewise.
34422         * sunrpc/xdr_ref.c: Likewise.
34423         * sunrpc/xdr_stdio.c: Likewise.
34425 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34427         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34429 2011-07-03  Andreas Jaeger  <aj@suse.de>
34431         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34432         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34433         regenerate with gen-libm-tests.pl.
34435 2010-05-12  Petr Baudis  <pasky@suse.cz>
34437         [BZ #11589]
34438         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34439         around j0() zero points by switching to j1().
34440         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34441         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34442         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34443         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34445 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34447         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34448         instead of 0.
34449         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34450         instead of 0.
34451         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34452         Patch in part by Pavel Roskin <proski@gnu.org>.
34454         [BZ #13138]
34455         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34456         realloc.
34457         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34458         Free memory block if necessary.
34460         [BZ #12847]
34461         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34462         be NULL.  Don't lock in this case.
34464 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34466         * elf/elf.h (ELFOSABI_GNU): New macro.
34467         (ELFOSABI_LINUX): Define to that.
34469 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34471         * string/strncat.c (strncat): Undef the symbol in case it has been
34472         defined in bits/string.h.
34474 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34476         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34478         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34479         link map.
34481 2011-08-17  Andreas Jaeger  <aj@suse.de>
34483         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34485 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34486             Ian Lance Taylor  <iant@google.com>
34488         * math/libm-test.inc (lround_test): New testcase.
34489         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34491 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34493         * Makefile: Remove support for automatic cvs check-ins.
34494         * Makerules: Likewise.
34495         * config.make.in: Likewise.
34496         * configure.in: Likewise.
34497         * intl/Makefile: Likewise.
34498         * locale/Makefile: Likewise.
34499         * po/Makefile: Likewise.
34500         * posix/Makefile: Likewise.
34501         * sysdeps/gnu/Makefile: Likewise.
34502         * sysdeps/mach/hurd/Makefile: Likewise.
34503         * sysdeps/sparc/sparc32/Makefile: Likewise.
34505         [BZ #13118]
34506         * posix/Makefile (bug-regex32-ENV): Define.
34507         Patch by John Stanley <jpsinthemix@verizon.net>.
34509         * misc/Makefile (headers): Add bits/select2.h.
34510         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34511         * misc/bits/select2.h: New file.
34512         * include/bits/select2.h: New file.
34513         * debug/Makefile (routines): Add fdelt_chk.
34514         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34515         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34516         FD_ISSET.
34517         * debug/fdelt_chk.c: New file.
34519         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34520         * wcsmbs/test-wmemcmp.c: Likewise.
34521         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34522         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34524 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34526         * string/Makefile (strop-tests): Add memcmp.
34527         * string/test-wmemcmp.c: New file.
34528         * string/test-memcmp.c: Add wmemcmp support.
34530 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34532         [BZ #13153]
34533         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34534         2011-07-19 change.
34536         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34537         garbage value in a __mach_port_mod_refs call in the cases of the
34538         task-self and thread-self ports.
34540 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34542         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34544 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34546         * elf/dl-load.c (lose): Check for non-null L.
34548 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34550         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34552         * elf/dl-libc.c (dlerror_run): Pass back error code from
34553         dl_catch_error.
34555         [BZ #13123]
34556         * elf/dl-load.c (lose): Free l_origin if it is valid.
34558         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34559         names.
34560         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34561         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34562         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34563         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34564         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34565         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34567 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34569         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34570         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34571         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34572         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34573         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34574         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34575         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34576         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34577         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34578         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34580 2011-08-15  Alan Modra  <amodra@gmail.com>
34582         [BZ #13092]
34583         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34584         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34585         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34586         ppc_mcount to static-only-routines.
34587         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34588         __mcount_internal.
34589         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34590         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34592 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34594         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34595         for finite and infinity parameters.
34597 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34599         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34600         and add nop instructions for throughput optimization.
34601         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34603 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34605         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34606         aligned copy for power7 with vector-scalar instructions.
34607         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34609 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34611         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34612         AVX check.
34614 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34616         [BZ #13144]
34617         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34618         last change.
34620 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34622         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34623         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34624         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34625         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34626         clock_gettime.
34628 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34630         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34631         Forgot to demangle the pointer.
34633         * sysdeps/i386/sysdep.h: Define atom_text_section.
34634         * sysdeps/x86_64/sysdep.h: Likewise.
34635         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34636         section with atom_text_section.
34637         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34638         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34639         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34640         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34641         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34643         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34644         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34645         already be defined.  Change to take two parameters and don't assign
34646         result to variable.  Adjust all users.
34647         Define INTERNAL_GETTIME if not already defined.
34648         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34649         call.
34650         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34651         HAVE_CLOCK_GETTIME_VSYSCALL.
34652         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34654         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34655         gettimeofday vsyscall, just use time.
34657 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34660         <errno.h>.
34662 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34664         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34665         syscall on x86-64.
34666         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34667         syscall.
34668         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34669         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34670         syscall if possible.
34672 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34674         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34675         e_ident.  Don't pass to find_mapsXX.
34676         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34678 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34681         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34682         * sysdeps/x86_64/multiarch/strchr.S: Update.
34683         Check bit_slow_BSF bit.
34684         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34685         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34686         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34688 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34690         [BZ #13134]
34691         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34692         before glibc 2.15.
34693         (tryshell): Define.
34694         (__spawni): Change last parameter to be flag.  Test
34695         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34696         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34697         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34698         * posix/spawni.c: Likewise.
34699         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34700         * posix/spawnp.c: Likewise.  Change normal version to use
34701         SPAWN_XFLAGS_USE_PATH.
34702         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34703         SPAWN_XFLAGS_TRY_SHELL.
34705         [BZ #13150]
34706         * posix/glob.h: Remove gcc 1.x support.
34708         [BZ #13068]
34709         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34711 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34713         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34714         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34715         strrchr-sse2-bsf
34716         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34717         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34718         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34719         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34720         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34721         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34723 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34725         * sysdeps/x86_64/wcscmp.S: New file.
34727         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34728         wcscmp-c wcscmp-sse2
34729         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34730         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34731         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34732         * wcsmbs/wcscmp.c: Allow renaming.
34734 2011-09-05  David S. Miller  <davem@davemloft.net>
34736         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34737         stack slot, rather than the struct return pointer slot.
34738         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34739         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34741         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34743 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34745         * po/ja.po: Update from translation team.
34747         [BZ #13144]
34748         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34749         kernel in 64-bit binaries.
34751 2011-09-01  David S. Miller  <davem@davemloft.net>
34753         * elf/elf.h (HWCAP_SPARC_*): Move to..
34754         * sysdeps/sparc/sysdep.h: this new file and add new values.
34755         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34756         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34757         _DL_HWCAP_COUNT to 24.
34758         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34759         entries.
34760         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34761         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34762         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34763         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34764         instead of magic constants.
34765         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34767 2011-08-31  David S. Miller  <davem@davemloft.net>
34769         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34770         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34771         Reimplement to do errno handling inline.
34772         (SYSCALL_ERROR_HANDLER): New macro.
34773         (__SYSCALL_STRING): Do not do errno handling in asm.
34774         (__CLONE_SYSCALL_STRING): Delete.
34775         (__INTERNAL_SYSCALL_STRING): Delete.
34776         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34777         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34778         (PSEUDO): Reimplement to do errno handling inline.
34779         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34780         (SYSCALL_ERROR_HANDLER): New macro.
34781         (__SYSCALL_STRING): Do not do errno handling in asm.
34782         (__CLONE_SYSCALL_STRING): Delete.
34783         (__INTERNAL_SYSCALL_STRING): Delete.
34784         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34785         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34786         i386.
34787         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34788         (inline_syscall*): Add 'err' argument.
34789         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34790         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34791         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34792         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34794         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34795         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34797 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34799         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34801 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34803         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34804         directive.
34806 2011-08-24  David S. Miller  <davem@davemloft.net>
34808         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34810 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34812         * elf/Makefile: Add rules to build and run unload8 test.
34813         * elf/unload8.c: New file.
34814         * elf/unload8mod1.c: New file.
34815         * elf/unload8mod1x.c: New file.
34816         * elf/unload8mod2.c: New file.
34817         * elf/unload8mod3.c: New file.
34819         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34820         it wasn't used.
34822 2011-08-23  David S. Miller  <davem@davemloft.net>
34824         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34825         subtract stack bias.
34826         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34827         %sp not %fp in calculations.
34828         (_JMPBUF_UNWINDS_ADJ): Likewise.
34830         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34831         (aio_suspend): Call it to force an exception region around the
34832         AIO_MISC_WAIT() invocation.
34834 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34836         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34837         backslash.
34839 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34841         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34842         protection macro.
34843         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34844         and <dl-machine.h>.
34845         (Elf64_FuncDesc): Remove.
34847 2011-08-22  David S. Miller  <davem@davemloft.net>
34849         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34850         sigaltstack check, add missing cfi directives.
34851         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34852         missing cfi directives, and sigaltstack handling.
34854 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34856         [BZ #11724]
34857         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34858         object is seen twice.
34859         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34861         * elf/Makefile (distribute): Add tst-initorder2.c.
34862         (tests): Add tst-initorder2.
34863         (modules-names): Add tst-initorder2a tst-initorder2b
34864         tst-initorder2c tst-initorder2d.  Add rules to build them.
34865         ($(objpfx)tst-initorder2.out): New rule.
34866         * elf/tst-initorder2.c: New file.
34867         * elf/tst-initorder2.exp: New file.
34869 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34871         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34873         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34874         dependencies back to end of function.
34876         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34877         $(elfobjdir)/ld.so.
34879 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34881         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34882         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34883         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34884         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34885         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34886         of __vdso_gettimeofday.
34887         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34888         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34889         attribute_hidden.
34890         (_libc_vdso_platform_setup): Remove initialization of
34891         __vdso_gettimeofday and __vdso_time.
34893 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34895         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34896         and fgetc_unlocked.
34897         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34898         getc_unlocked.
34900         * elf/dl-open.c (add_to_global): Report additions to the global scope
34901         for LD_DEBUG=scopes.
34902         (dl_open_worker): Also print scope of newly loaded dependencies.
34903         (_dl_show_scope): Indicate if there is no scope.
34905         [BZ #13114]
34906         * stdio-common/Makefile (tests): Add bug24.
34907         * stdio-common/bug24.c: New file.
34909 2011-08-19  Andreas Jaeger  <aj@suse.de>
34911         [BZ #13114]
34912         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34913         non-existant file when using close-on-exec mode.
34915 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34917         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34918         the very first instruction.
34920         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34921         the CFI state in the end.
34922         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34923         inclusion of dl-trampoline.h.
34924         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34926 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34928         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34929         expectations for long double.
34931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34932         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34934 2011-08-14  David S. Miller  <davem@davemloft.net>
34936         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34937         artificual limit depends upon the system page size.
34939 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34941         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34942         * resolv/Makefile: Define CFLAGS-libresolv.
34944 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34946         * nss/makedb.c (compute_tables): Make variables used in nested
34947         function static.
34949 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34951         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34952         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34953         if buffer was too small.
34955         * elf/pldd.c (main): Attach to all threads in the process.
34956         Rewrite /proc handling to use *at functions.
34958 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34960         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34961         specifies first scope to show.
34962         (dl_open_worker): Update callers.  Move printing scope of new
34963         object to before the relocation.
34964         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34965         * sysdeps/generic/ldsodefs.h: Update declaration.
34967         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34968         string for the scope number.
34970 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34972         * nscd/servicescache.c (cache_addserv): Make sure written is always
34973         initialized.
34975 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34977         * sysdeps/i386/i486/bits/atomic.h
34978         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34979         statement expression, so as to suppress "set but not used" warning.
34980         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34982         * string/strncat.c (STRNCAT): Use prototype definition.
34984         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34985         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34986         -Iprograms here.
34987         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34988         (localedef-modules): Add localedef.
34989         (locale-modules): Add locale.
34991         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34992         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34993         to avoid a warning.
34995 2011-08-14  David S. Miller  <davem@davemloft.net>
34997         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34998         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35000 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35002         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35003         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35004         * elf/rtld.c (dl_main): Set l_name of vDSO.
35005         Call _dl_show_scope when DL_DEBUG_SCOPES.
35006         (process_dl_debug): Recognize scopes flag and also set it for all.
35007         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35008         Declare _dl_show_scope.
35010         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35011         (do_dlopen): Pass caller_dlopen to dl_open.
35012         (__libc_dlopen_mode): Initialize caller_dlopen.
35014         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35015         of libc.  Make tolower call locale-independent.  Optimize a bit by
35016         using isdigit instead of isalnum.
35017         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35019 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35021         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35022         was a dependency or dynamically loaded.
35024 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35026         * intl/l10nflist.c: Allow architecture-specific pop function.
35027         * sysdeps/x86_64/l10nflist.c: New file.
35029         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35030         classification.
35032 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35034         * include/dirent.h: Add libc_hidden_proto for scandirat and
35035         scandirat64.  Don't declare __scandirat64.
35036         * dirent/scandirat.c: Add libc_hidden_def.
35037         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35038         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35040 2011-08-10  David S. Miller  <davem@davemloft.net>
35042         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35043         enum.
35044         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35045         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35046         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35048 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35050         * Versions.def [libc]: Add GLIBC_2.15.
35051         * dirent/Makefile (routines): Add scandirat and scandirat64.
35052         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35053         GLIBC_2.15.
35054         * dirent/dirent.h: Declare scandirat and scandirat64.
35055         * dirent/scandirat.c: New file.
35056         * dirent/scandirat64.c: New file.
35057         * sysdeps/wordsize-64/scandirat.c: New file.
35058         * sysdeps/wordsize-64/scandirat64.c: New file.
35059         * dirent/opendir.c: Define opendirat.
35060         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35061         using scandirat.
35062         * dirent/scandir64.c: Adjust for scandir.c change.
35063         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35064         __scandirat64, and __scandir_cancel_handler.
35065         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35066         additional parameter and use openat instead of open (outside of ld.so).
35067         Add new __opendir as wrapper around __opendirat.
35068         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35069         here without requiring old scandirat implementation.
35071 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35073         * dirent/scandir.c (cancel_handler): Renamed to
35074         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35075         defined.  Adjust users.
35076         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35077         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35079 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35081         * string/test-string.h (IMPL): Use __STRING to expand name and then
35082         stringify it.
35084         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35085         of cleanups.
35087 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35089         * string/Makefile: Update.
35090         (strop-tests): Append strncat.
35091         * string/test-wcscmp.c: New file.
35092         New comprehensive test for wcscmp.
35093         * string/test-strcmp.c: Update.
35094         (WIDE): New define.
35096 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35098         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35099         line.
35101 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35104         encoding to ACE if AI_IDN.
35106 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35108         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35109         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35111 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35113         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35114         Fix overflow bug in strncat.
35115         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35117         * string/test-strncat.c: Update.
35118         Add new tests for checking overflow bugs.
35120 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35122         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35123         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35124         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35125         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35126         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35127         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35128         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35129         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35130         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35132         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35133         (USE_AS_STRCAT): Define.
35134         Add strcat and strncat support.
35135         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35137 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35139         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35140         __n bigger than INT_MAX+1.
35141         (__strncmp_g): Likewise.
35143 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35145         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35146         * libio/stido.h: Likewise.
35148         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35149         (AF_NFC): Define.
35150         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35151         (AF_NFC): Define.
35153         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35154         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35155         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35156         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35157         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35159         [BZ #13021]
35160         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35161         installed.
35163         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35164         typo.
35165         (_dl_x86_64_save_sse): Likewise.
35167 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35170         OSXSAVE.
35171         (_dl_x86_64_save_sse): Likewise.
35173         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35175         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35177 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35179         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35180         change.
35181         (_dl_x86_64_save_sse): Use correct AVX check.
35183 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35185         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35186         bug in strncpy/strncat.
35187         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35189 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35191         * string/tester.c (test_strcat): Add tests for different alignments
35192         of source and destination.
35193         (test_strncat): Likewise.
35195 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35197         [BZ #12852]
35198         * posix/glob.c (glob): Check passed in values before using them in
35199         expressions to avoid some overflows.
35200         (glob_in_dir): Likewise.
35202         [BZ #13007]
35203         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35204         check for AVX enablement so that we don't crash with old kernels and
35205         new hardware.
35206         * elf/tst-audit4.c: Add same checks here.
35207         * elf/tst-audit6.c: Likewise.
35209         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35211 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35213         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35215 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35217         * po/cs.po: Update from translation team.
35218         * po/bg.po: Likewise.
35220 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35222         * misc/sys/cdefs.h: Add support for const attribute.
35223         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35224         to gnu_dev_{major,minor,makedev} functions.
35226 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35228         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35230 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35232         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35233         strlen results.
35235 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35237         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35238         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35239         register in order to avoid conflicts with the soft frame pointer
35240         being held in r11 when necessary.
35241         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35242         (INTERNAL_VSYSCALL_NCS): Likewise.
35244 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35246         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35247         * elf/dl-fini.c (_dl_fini): Adjust caller.
35248         * elf/dl-close.c (_dl_close_worker): Likewise.
35249         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35251 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35253         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35254         "aux_cache->nlibs < 0".
35256         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35257         in the reload-count case.
35259 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35262         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35263         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35264         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35265         * sysdeps/x86_64/multiarch/strcat.S: New file.
35266         * sysdeps/x86_64/multiarch/strncat.S: New file.
35267         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35268         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35269         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35270         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35271         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35272         (USE_AS_STRCAT): Define.
35273         Add strcat and strncat support.
35274         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35275         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35276         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35277         * string/strncat.c: Update.
35278         (USE_AS_STRNCAT): Define.
35279         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35280         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35281         and i7.
35282         * sysdeps/x86_64/multiarch/init-arch.h
35283         (bit_Prefer_PMINUB_for_stringop): New.
35284         (index_Prefer_PMINUB_for_stringop): Likewise.
35285         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35286         bit_Prefer_PMINUB_for_stringop.
35288 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35290         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35291         buffer64.
35292         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35293         of casting of buffer.
35294         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35295         buffer32 and buffer64.
35296         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35297         writes instead of casting of buffer.
35298         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35299         buffer32.
35300         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35301         casting of buffer.
35303 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35305         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35307 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35309         * nscd/nscd.c (termination_handler): Don't do anything for a database
35310         if it has not yet been initialized.
35312 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35314         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35316 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35318         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35320 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35322         * po/nl.po: Update from translation team.
35323         * po/sv.po: Likewise.
35325 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35327         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35328         now disallowed by GCC.
35330         * configure.in (use-default-link): Default to yes if a test -shared
35331         link meets our qualifications.
35332         * configure: Regenerated.
35334         * config.make.in (output-format): New variable.
35335         * configure.in: Check for ld --print-output-format support.
35336         * configure: Regenerated.
35337         * Makerules ($(common-objpfx)format.lds)
35338         [$(output-format) != unknown]: Just use $(output-format),
35339         instead of the linker-script munging.
35341 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35343         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35344         of $(common-objpfx)shlib.lds.
35345         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35347         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35348         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35350         * configure.in (-z relro check): Adjust test code to add a large
35351         writable data section after it.
35352         * configure: Regenerated.
35354 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35356         * configure.in (-z relro check): Fix test code to make the variable
35357         truly const.
35358         * configure: Regenerated.
35360 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35362         * nscd/nscd.h (struct traced_file): Define.
35363         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35364         elements.  Add traced_files.
35365         (inotify_fd): Declare.
35366         (register_traced_file): Declare.
35367         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35368         (inotify_fd): Export.
35369         (resolv_conf_descr): Remove.
35370         (nscd_init): Move inotify descriptor creation to main.
35371         Don't register files for notification here.
35372         (register_traced_file): New function.
35373         (invalidate_cache): Don't use reset_res to determine whether to call
35374         res_init, go through the list of registered files.
35375         (main_loop_poll): The inotify descriptors are now stored in the
35376         structures for the traced files.
35377         (main_loop_epoll): Likewise
35378         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35379         to __nss_disable_nscd.
35380         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35381         for a database anymore.  Check the records for all the registered
35382         files instead.
35383         * nss/Makefile (libnss_files-routines): Add files-init.
35384         (libnss_db-routines): Add db-init.
35385         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35386         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35387         * nss/nss_db/db-init.c: New file.
35388         * nss/nss_files/files-init.c: New file.
35389         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35390         __nss_lookup_function.
35391         (__nss_lookup_function): Call nss_load_library.
35392         (nss_load_all_libraries): New function.
35393         (__nss_disable_nscd): Take parameter with callback function for files
35394         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35395         used for the cached services.
35396         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35397         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35398         options for features to all the files in nscd.
35400         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35402 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35404         * csu/elf-init.c (__libc_csu_init): Comment typo.
35406 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35408         * po/pl.po: Update from translation team.
35409         * po/ja.po: Likewise.
35410         * po/ru.po: Likewise.
35411         * po/ko.po: Likewise.
35412         * po/fr.po: Likewise.
35414 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35416         * configure.in (.ctors/.dtors header and trailer check):
35417         Use an empirical test on a built program.
35418         * configure: Regenerated.
35420         * configure.in (-z relro check): Use an empirical test on a built DSO.
35421         Detect, but do not require, on ia64.
35422         * configure: Regenerated.
35424         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35425         Update tests that use readelf to use $READELF instead.
35426         * configure: Regenerated.
35428 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35430         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35431         if the result is not used.
35433 2011-07-05  Andreas Jaeger  <aj@suse.de>
35435         [BZ#9696]
35436         * stdlib/tst-strtod.c: Add testcase.
35438 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35440         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35441         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35442         The latter has a higher limit.  Take additional parameter to pass to
35443         the new function.
35444         (__pathconf): Pass file to __statfs_link_max.
35445         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35446         __statfs_link_max.
35447         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35448         __statfs_link_max.
35450         [BZ #12868]
35451         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35452         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35453         Handle Lustre.
35454         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35455         (__statfs_filesize_max): Likewise.
35456         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35458 2011-07-05  Andreas Jaeger  <aj@suse.de>
35460         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35462 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35464         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35465         `status' variable.
35466         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35467         Likewise.
35469 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35471         * Makefile (strop-tests): Add strncat.
35472         * string/test-strncat.c: New file.
35474 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35476         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35478 2011-06-21  Andreas Jaeger  <aj@suse.de>
35480         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35481         Copy rule from iconvdata/Makefile.
35483 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35485         [BZ #12922]
35486         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35487         but no long options are defined, just return 'W'.
35489 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35491         [BZ #9696]
35492         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35494 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35496         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35497         netgroups to read.
35498         (innetgr): Likewise.
35500 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35502         * config.make.in (install_root): Default to $(DESTDIR).
35504 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35506         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35508 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35510         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35512         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35513         containing directory rather than embedding absolute directory names.
35515         * scripts/check-local-headers.sh: Rewritten using awk.
35516         Match by word, not by line.  Print error messages for matches.
35517         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35519         * Makerules [shlib-lds-flags empty]:
35520         ($(common-objpfx)libc_pic.opts): New target.
35521         ($(common-objpfx)libc_pic.os.clean): New target.
35522         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35524         * config.make.in (OBJCOPY): New variable.
35525         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35526         * configure: Regenerated.
35528         * config.make.in (use-default-link): New variable.
35529         * configure.in (use_default_link): Grok --with-default-link to set it.
35530         * configure: Regenerated.
35531         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35532         (shlib-lds, shlib-lds-flags): Define to empty.
35534         * Makerules (shlib-lds): New variable.
35535         (shlib-lds-flags): New variable.
35536         (build-shlib, build-moduile, build-module-asneeded): Use it.
35537         ($(common-objpfx)libc.so): Use $(shlib-lds).
35538         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35539         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35541         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35542         DT_FLAGS/DT_FLAGS_1 with zero flags.
35544         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35545         linker script munging.
35547 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35549         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35550         as 128-bit value.
35551         * crypt/sha512.c (sha512_process_block): Perform total addition using
35552         128-bit if possible.
35553         (__sha512_finish_ctx): Likewise.
35554         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35555         as 64-bit value.
35556         * crypt/sha256.c (SWAP64): Define.
35557         (sha256_process_block): Perform total addition using 64-bit if
35558         possible.
35559         (__sha256_finish_ctx): Likewise.
35561 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35563         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35564         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35565         * nscd/hstcache.c (cache_addhst): Likewise.
35566         * nscd/grpcache.c (cache_addgr): Likewise.
35567         * nscd/aicache.c (addhstaiX): Likewise
35568         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35570 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35572         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35573         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35574         * nscd/hstcache.c (cache_addhst): Likewise.
35575         * nscd/grpcache.c (cache_addgr): Likewise.
35576         * nscd/aicache.c (addhstaiX): Likewise
35578 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35580         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35581         domain only when needed.
35583 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35586         is always restored.
35588 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35590         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35591         are re-adding the entry.
35592         * nscd/servicescache.c (cache_addserv): Likewise.
35594 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35596         * sysdeps/generic/dl-irel.h: fix protection against multiple
35597         inclusions.
35598         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35600 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35602         [BZ #12935]
35603         * malloc/memusage.sh: Fix quoting in message.
35604         * debug/xtrace.sh: Likewise.
35606         * configure.in: Remove support for --experimental-malloc option, make
35607         it the default.
35608         * config.make.in: Likewise.
35609         * malloc/Makefile: Likewise.
35611 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35613         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35614         two-byte characters.
35616 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35618         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35619         AC_CACHE_CHECK invocation.
35620         * configure: Regenerated.
35622         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35624 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35626         [BZ #12350]
35627         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35628         bit from old_res_options.
35630         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35632         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35633         value type for setfct.
35635 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35637         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35638         __gettimeofday instead of gettimeofday.
35640 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35642         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35644 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35646         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35648         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35649         info.
35651 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35653         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35654         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35655         strcpy-sse2-unaligned strncpy-sse2-unaligned
35656         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35657         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35658         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35659         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35660         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35661         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35662         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35663         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35664         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35665         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35666         (STRCPY): Support SSE2 and SSSE3 versions.
35668 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35670         [BZ #12874]
35671         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35672         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35673         kernels which artificially limit size of requests.
35675 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35677         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35678         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35679         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35680         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35681         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35682         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35683         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35684         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35685         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35686         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35687         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35688         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35689         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35690         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35691         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35692         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35693         Enable unaligned load optimization for Intel Core i3, i5 and i7
35694         processors.
35695         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35696         Define.
35697         (index_Fast_Unaligned_Load): Define.
35698         (HAS_FAST_UNALIGNED_LOAD): Define.
35700 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35702         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35704 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35706         [BZ #12907]
35707         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35708         until it is clear that the information is realy needed.
35709         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35711 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35715 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35717         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35718         /sys/devices/system/cpu/online if it is usable.
35720         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35721         reading the information from the /proc filesystem to once a second.
35723 2011-06-21  Andreas Jaeger  <aj@suse.de>
35725         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35726         NULL after inclusion of kernel headers.
35728 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35730         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35731         calls to internal_setent.
35733         [BZ #12885]
35734         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35735         addresses using gethostbyname4_r ignore IPv4 addresses.
35737         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35738         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35740         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35742 2011-06-20  David S. Miller  <davem@davemloft.net>
35744         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35745         inclusions.
35746         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35748         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35749         (elf_irel): Use it.
35750         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35751         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35752         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35753         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35754         * sysdeps/x86_64/dl-irel.h: Likewise.
35756         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35757         * elf/dl-sym.c: Likewise.
35759 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35761         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35762         need to dereference resplen2.
35764 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35766         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35768 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35770         * Makeconfig: Define vardbdir and inst_vardbdir.
35771         * nss/Makefile: Add rules to install db-Makefile.
35773         * nss/nss_db/db-XXX.c: Cleanup.
35775         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35776         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35777         GLIBC_PRIVATE.
35778         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35779         * nss/makedb.c: Implement -g option to specify that value strings
35780         are generated and should not be added to table iterated over for
35781         get*ent calls.
35782         * nss/nss_db/db-initgroups.c: New file.
35784         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35785         interface.
35787         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35788         (internal_getgrouplist): Adjust to name change.
35789         Update use_initgroups_entry if this is not the first call.
35790         * nss/databases.def: Add initgroups entry.
35792         * nss/makedb.c (compute_tables): Check result of multiple hash table
35793         sizes to minimize maximum chain length.
35795 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35797         * Versions.def: Add entry for libnss_db.
35798         * shlib-versions: Likewise.
35799         * nss/Makefile: Add rules to build libnss_db.
35800         * nss/Versions: Add libnss_db information.  Organize libnss_files
35801         entries better.
35802         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35803         makedb progra.  Some minor improvements to generate smaller files.
35804         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35805         here from...
35806         * nss/makedb.c: ...here.
35807         Improve database format to be smaller and require less memory at
35808         runtime.
35809         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35810         db anymore.
35811         * nss/nss_db/db-netgrp.c: Likewise.
35812         * nss/nss_db/db-open.c: Likewise.
35813         * nss/nss_files/flies-XXX.x: Adjust comments.
35814         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35815         * nss/nss_files/files-grp.c: Likewise.
35816         * nss/nss_files/files-hosts.c: Likewise.
35817         * nss/nss_files/files-network.c: Likewise.
35818         * nss/nss_files/files-proto.c: Likewise.
35819         * nss/nss_files/files-pwd.c: Likewise.
35820         * nss/nss_files/files-rpc.c: Likewise.
35821         * nss/nss_files/files-service.c: Likewise.
35822         * nss/nss_files/files-sgrp.c: Likewise.
35823         * nss/nss_files/files-spwd.c: Likewise.
35824         * nss/nss_db/db-alias.c: Removed.
35825         * nss/nss_db/dummy-db.h: Removed.
35827 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35829         * nss/makedb.c: Rewritten to not use database library.
35830         * nss/Makefile: Update to build new makedb program.
35832 2011-06-14  Andreas Jaeger  <aj@suse.de>
35834         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35835         memset declaration.
35837 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35840         tmpbuf.
35842 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35844         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35845         * elf/Makefile ($(objpfx)ld.so): Likewise.
35847         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35848         Don't list ld.so twice in dependencies.
35850         * posix/bug-regex31.c: Include <stdlib.h>.
35852         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35854         * nis/nss_compat/compat-spwd.c
35855         (getspent_next_nss_netgr): Remove unused variable.
35856         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35858         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35859         nonmembers" output to use the right array.
35861         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35863         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35865         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35866         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35867         * catgets/gencat.c (read_input_file): Likewise.
35868         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35870         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35871         variable definition inside #if's controlling its use.
35873         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35875         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35877         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35879         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35880         unreachable code.
35882         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35884         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35885         * configure: Regenerated.
35887         * Makerules: Revert last change.
35888         * elf/Makefile: Likewise.
35890 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35892         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35893         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35894         (reloc-link): Likewise.
35896 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35898         * elf/Makefile: Add rules to build pldd.
35899         * elf/pldd.c: New file.
35900         * elf/pldd-xx.c: New file.
35902 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35904         * version.h: Update for 2.15 development version.
35906 2011-06-07  David S. Miller  <davem@davemloft.net>
35908         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35909         ifuncs.
35910         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35911         elf_machine_lazy_rel): Likewise.
35912         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35913         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35914         elf_machine_lazy_rel): Likewise.
35915         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35916         dl_hwcap via passed in argument.
35917         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35918         Likewise.
35920 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35922         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35924 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35926         [BZ #12849]
35927         * manual/fdl-1.1.texi: New file, verbatim from:
35928         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35929         * manual/lgpl-2.1.texi: New file, verbatim from:
35930         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35931         * manual/Makefile (licenses): New variable, list those new file names.
35932         (texis): Use it.
35933         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35935         * manual/fdl.texi: File removed.
35936         * manual/lesser.texi: File removed.
35937         * manual/libc.texinfo (Copying, Documentation License):
35938         Use new @include file names, put @appendix directive before @include.
35940 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35942         [BZ #12841]
35943         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35944         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35945         (mq_open): Add __NTH.
35947 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35950         Assume Intel Core i3/i5/i7 processor if AVX is available.
35952 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35954         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35955         typo.
35957 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35959         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35960         memory.  Use alloca_account.  Fix memory leak when retrying.
35962 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35964         * version.h (RELEASE): Bump for 2.14 release.
35965         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35967         * config.make.in (RANLIB): Remove entry.
35969 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35971         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35972         (libc.pot): Work around missing support for .ksh extension in xgettext.
35974         [BZ #12684]
35975         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35976         if both request failed.
35977         (send_dg): In case of server errors clear resplen or *resplen2.
35979         [BZ #12454]
35980         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35981         when there are multiple maps.
35982         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35983         (_dl_fini): Remove test here.
35985         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35987 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35989         [BZ #12350]
35990         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35991         bit from old_res_options.
35992         (gaih_inet): Likewise.
35994         [BZ #11099]
35995         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35996         as signed.
35998         * resolv/res_init.c (res_setoptions): Make the code more compact.
36000         [BZ #11558]
36001         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36002         set RES_USEVC.
36004         [BZ #11634]
36005         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36007         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36009         [BZ #11781]
36010         * malloc/malloc.h: Declare malloc hook variables as volatile.
36012         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36013         in last patch.
36015         [BZ #11799]
36016         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36017         raise in the comment.
36018         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36019         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36020         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36022 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36024         [BZ #12811]
36025         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36026         grow the buffers more if it already has to be sufficient.
36027         (build_wcs_upper_buffer): Likewise.
36028         * posix/regexec.c (check_matching): Likewise.
36029         (clean_state_log_if_needed): Likewise.
36030         (extend_buffers): Don't enlarge buffers beyond size of the input
36031         buffer.
36032         Patches mostly by Emil Wojak <emil@wojak.eu>.
36033         * posix/bug-regex32.c: New file.
36034         * posix/Makefile (tests): Add bug-regex32.
36036         * locale/findlocale.c (_nl_find_locale): Return right away if
36037         _nl_explode_name failed.
36038         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36040         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36042         * debug/xtrace.sh: Unify messages.
36043         * malloc/memusage.sh: Likewise.
36045         [BZ #12813]
36046         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36047         time symbol from vDSO.  Substitute with vsyscall if not available.
36048         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36049         __vdso_time.
36051         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36052         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36053         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36054         Add sendmmsg and internal_sendmmsg.
36055         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36056         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36057         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36059         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36060         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36061         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36063 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36065         [BZ #12813]
36066         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36067         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36068         available.
36069         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36070         __vdso_getcpu.
36072         [BZ #12814]
36073         * iconvdata/Makefile (tests): Add bug-iconv9.
36074         * iconvdata/bug-iconv9.c: New file.
36076 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36078         [BZ #12814]
36079         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36081 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36083         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36084         (struct user_regs_struct): Change intcs field back to cs.
36086 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36088         * po/ja.po: Update from translation team.
36090 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36092         [BZ #12795]
36093         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36094         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36096 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36098         * stdlib/longlong.h: Update from GCC.
36100 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36102         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36103         parameter name.
36104         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36105         Add parameter name.
36106         (__sysconf): Pass it down.
36108 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36110         [BZ #12671]
36111         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36112         some situations.
36113         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36114         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36115         add in in __libc_use_alloca calls.  Adjust callers.
36116         (glob): Use malloc in some situations.
36118         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36119         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36120         pltexit.
36122 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36124         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36125         and CLOCK_BOOTTIME_ALARM.
36127         [BZ #12782]
36128         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36129         is returned.
36131         * string/_strerror.c (__strerror_r): Print negative errors as signed
36132         numbers.
36134         [BZ #12777]
36135         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36136         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36137         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36139         * configure.in: Fix typo in redirection and correct removal of test
36140         files in two cases.
36142         [BZ #12788]
36143         * locale/setlocale.c (new_composite_name): Fix test to check for
36144         identical name of all categories.
36146         [BZ #12792]
36147         * libio/filedoalloc.c (local_isatty): New function.
36148         (_IO_file_doallocate): Use local_isatty.
36149         * stdio-common/perror.c (perror): In case a new stream is used
36150         forward the stream error.
36151         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36152         error flag.
36154 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36156         [BZ #11869]
36157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36158         alloca.
36159         * include/alloca.h (extend_alloca_account): Define.
36161         [BZ #11857]
36162         * posix/regex.h: Fix comments with documentation of user-accessible
36163         fields after compilation and describe correct free'ing of pattern
36164         after re_compile_pattern.
36165         Patch by Reuben Thomas <rrt@sc3d.org>.
36167 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36169         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36170         and -mno-altivec to prevent the compiler from using Altivec and/or
36171         VSX instructions when the corresponding registers are not available.
36173 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36175         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36177 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36179         * libio/freopen.c (freopen): Use __dup2, not dup2.
36180         * libio/freopen64.c (freopen64): Likewise.
36182 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36184         [BZ #12775]
36185         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36186         * math/Makefile (tests): Add test-powl.
36187         (CFLAGS-test-powl.c): Define.
36188         * math/test-powl.c: New file.
36190 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36192         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36194 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36196         [BZ #11837]
36197         * iconvdata/gb18030.c: Update to GB18020-2005.
36199 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36201         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36202         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36203         Patch by Aharon Robbins <arnold@skeeve.com>.
36205         [BZ #11892]
36206         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36207         on the stack.
36209         [BZ #11895]
36210         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36211         through underflows.
36213         [BZ #12766]
36214         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36215         point to strings before performing equality test for error_one_per_line
36216         mode.
36218         [BZ #11697]
36219         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36221         [BZ #11820]
36222         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36223         (struct user_fpregs_struct): Avoid __uint*_t types.
36225         [BZ #6420]
36226         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36227         symbol info.  Use it instead of calling _dl_addr locally.
36228         (lock_and_info): New function.
36229         (tr_freehook): Call lock_and_info and pass symbol info as additional
36230         parameter to tr_where.
36231         (tr_mallochook): Likewise.
36232         (tr_reallochook): Likewise.
36233         (tr_memalignhook): Likewise.
36235         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36236         used and couldn't be at all thread-safe.
36238 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36240         * libio/freopen.c (freopen): Don't close old file descriptor
36241         before the new one is opened.  Instead dup the new file descriptor
36242         to the old one after the new stream is created.
36243         * libio/freopen64.c (freopen64): Likewise.
36244         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36245         * libio/fileops.c (_IO_new_file_close_it): Handle new
36246         _IO_FLAGS2_NOCLOSE flag.
36247         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36248         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36249         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36250         _IO_FLAGS2_NOCLOSE flag.
36251         * include/unistd.h: Add hidden_proto for dup3.
36252         Define __have_dup3.
36253         * io/dup3.c: Define hidden symbol.
36254         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36256         [BZ #7101]
36257         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36258         when an incomplete long option is used.
36259         * posix/tst-getopt_long1.c: New file.
36260         * posix/Makefile (tests): Add tst-getopt_long1.
36262         [BZ #10138]
36263         * scripts/config.guess: Update from autoconf-2.68.
36264         * scripts/config.sub: Likewise.
36266         [BZ #10157]
36267         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36268         tests into ...
36269         (has_cpuclock): ...this.  New function.
36270         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36271         macro here based on has_cpuclock code.
36273         [BZ #10149]
36274         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36275         First byte (not low byte) is now always NUL.
36276         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36278         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36279         Use non-cancelable interfaces.
36281         [BZ #9809]
36282         * locale/iso-639.def: Add entry for Sorani.
36284         [BZ #11901]
36285         * include/stdlib.h: Move include protection to the right place.
36286         Define abort_msg_s.  Declare __abort_msg with it.
36287         * stdlib/abort.c (__abort_msg): Adjust type.
36288         * assert/assert.c (__assert_fail_base): New function.  Majority
36289         of code from __assert_fail.  Allocate memory for __abort_msg with
36290         mmap.
36291         (__assert_fail): Now call __assert_fail_base.
36292         * assert/assert-perr.c: Remove bulk of implementation.  Use
36293         __assert_fail_base.
36294         * include/assert.hL Declare __assert_fail_base.
36295         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36296         mmap.
36297         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36299 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36301         [BZ #11952]
36302         [BZ #12453]
36303         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36304         until all modules are registered in the DTV.
36305         * elf/Makefile: Add rules to build and run tst-tls19.
36306         * elf/tst-tls19.c: New file.
36307         * elf/tst-tls19mod1.c: New file.
36308         * elf/tst-tls19mod2.c: New file.
36309         * elf/tst-tls19mod3.c: New file.
36310         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36312         [BZ #12083]
36313         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36314         correctly.
36316         [BZ #12601]
36317         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36318         two-byte sequence errors.
36319         * iconvdata/Makefile (tests): Add bug-iconv8.
36320         * iconvdata/bug-iconv8.c: New file.
36322         [BZ #12626]
36323         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36324         buf2 definition.
36326         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36328         [BZ #12432]
36329         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36330         (dummy_getcfa): New function.
36331         (init): Get _Unwind_GetCFA address, use dummy if not found.
36332         (backtrace_helper): In recursion check, also check whether CFA changes.
36333         (__backtrace): Completely initialize arg.
36335         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36336         storing incomplete byte sequence in state object.  Avoid testing for
36337         guaranteed too small input if we know there is enough data available.
36339 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36341         * Makeconfig (+link-pie): Indent.
36342         * Rules (binaries-pie): Define if $(have-fpie) and
36343         $(build-shared).
36344         (binaries-shared): Also filter out $(binaries-pie).
36345         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36346         * nscd/Makefile (others-pie): Add nscd.
36347         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36348         ($(objpfx)nscd): Remove command override.
36349         * login/Makefile (others-pie): Add pt_chown.
36350         ($(objpfx)pt_chown): Remove command override.
36351         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36352         remove command overrides.
36354 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36356         * libio/tst_putwc.c: Fix error messages.
36358         [BZ #12724]
36359         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36360         currently writing and seek to current position when not.
36361         * libio/Makefile (tests): Add bug-fclose1.
36362         * libio/bug-fclose1.c: New file.
36364 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36366         [BZ #12511]
36367         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36368         don't set DF_1_NODELETE here.
36369         (do_lookup_x): When entering new entry test for copy relocation
36370         and if necessary set DF_1_NODELETE flag.
36371         * elf/tst-unique4.cc: New file.
36372         * elf/tst-unique4.h: New file.
36373         * elf/tst-unique4lib.cc: New file.
36374         * elf/Makefile: Add rules to build and run tst-unique4.
36375         Patch by Piotr Bury <pbury@goahead.com>.
36377 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36379         [BZ #12052]
36380         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36382         [BZ #12625]
36383         * misc/mntent_r.c (addmntent): Flush the stream after the output
36385         [BZ #12393]
36386         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36387         (is_trusted_path_normalize): Skip initial colon.  Append slash
36388         to empty buffer.  Duplicate is_trusted_path code but allow
36389         constructed patch to be prefix.
36390         (is_dst): Allow $ORIGIN followed by /.
36391         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36392         Correct testing of result of is_trusted_path_normalize
36393         (decompose_rpath): Fix warning.
36395 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36397         [BZ #11257]
36398         * grp/initgroups.c (internal_getgrouplist): When we found the service
36399         list through the initgroups entry in nsswitch.conf do not always
36400         continue on a successful lookup.  Don't always use the
36401         __nss_group_database value if it is set.
36402         * nss/nsswitch.conf (initgroups): Change action for successful db
36403         lookup to continue for compatibility.
36405 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36407         [BZ #11532]
36408         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36409         and CP774 modules.
36410         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36411         and CP774 modules.
36412         * iconvdata/tst-tables.sh: Likewise.
36413         * iconvdata/cp770.c: New file.
36414         * iconvdata/cp771.c: New file.
36415         * iconvdata/cp772.c: New file.
36416         * iconvdata/cp773.c: New file.
36417         * iconvdata/cp774.c: New file.
36418         * iconvdata/testdata/CP770: New file.
36419         * iconvdata/testdata/CP770..UTF8: New file.
36420         * iconvdata/testdata/CP771: New file.
36421         * iconvdata/testdata/CP771..UTF8: New file.
36422         * iconvdata/testdata/CP772: New file.
36423         * iconvdata/testdata/CP772..UTF8: New file.
36424         * iconvdata/testdata/CP773: New file.
36425         * iconvdata/testdata/CP773..UTF8: New file.
36426         * iconvdata/testdata/CP774: New file.
36427         * iconvdata/testdata/CP774..UTF8: New file.
36429         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36430         END CHARMAP line.
36431         * iconvdata/gen-8bit-gap.sh: Likewise.
36432         * iconvdata/gen-8bit.sh: Likewise.
36434         * locale/iso-639.def: Add ary entry.
36436         [BZ #11258]
36437         * locale/C-translit.h.in: Add U20A1 transliteration.
36439         [BZ #12178]
36440         * locale/iso-639.def: Add wae entry.
36441         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36443         [BZ #12545]
36444         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36445         for n.
36447         [BZ #12711]
36448         * locale/C-translit.h.in: Add entry for U20B9.
36449         Patch by pravin.d.s@gmail.com.
36451 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36453         [BZ #12713]
36454         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36455         ENAMETOOLONG use generic getcwd.
36456         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36457         in rtld.  Use *stat64.
36458         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36459         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36460         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36461         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36462         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36463         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36464         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36465         __fstatat64 macros.
36466         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36467         * dirent/rewinddir.c: Add libc_hidden_def.
36468         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36469         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36471         * include/dirent.h (__alloc_dir): Add flags parameter.
36472         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36473         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36474         __alloc_dir.
36475         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36476         from fdopendir if O_CLOEXEC is already set.
36478 2011-03-15  Alan Modra  <amodra@gmail.com>
36480         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36481         l_tls_firstbyte_offset non-zero.  Save padding offset in
36482         l_tls_firstbyte_offset for later use.
36483         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36484         freeing static tls block.
36486 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36488         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36489         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36490         being defined by the kernel headers.
36492 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36494         [BZ #12734]
36495         * resolv/resolv.h: Define RES_NOTLDQUERY.
36496         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36497         no-tld-query and set RES_NOTLDQUERY.
36498         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36499         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36500         modern BIND to search name as TLD unless forbidden.
36502 2011-05-07  Petr Baudis  <pasky@suse.cz>
36503             Ulrich Drepper  <drepper@gmail.com>
36505         [BZ #12393]
36506         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36507         (is_trusted_path): ...to here.
36508         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36509         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36510         using is_trusted_path_normalize() in setuid scripts.
36512 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36514         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36515         __BEGIN/__END_DECLS.
36517 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36519         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36520         NSS_STATUS_NOTFOUND if no record was found.
36522 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36524         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36525         (headers-not-in-tirpc): Remove rpc/netdb.h
36526         * resolv/netdb.h: Revert last change.
36528 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36530         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36531         circular dependency between libgcc.a and libc.a.
36533 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36535         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36536         * nis/Makefile: Don't install rpcsvc/*.
36537         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36538         instead of <rpc/types.h>.
36539         (MAXHOSTNAMELEN): Define.
36541 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36543         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36545 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36547         [BZ #12714]
36548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36549         gethostbyname4_r when IPv6 results are possible.
36551 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36553         [BZ #12723]
36554         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36555         _PC_PIPE_BUF handling.
36557 2011-04-30  Bruno Haible  <bruno@clisp.org>
36559         [BZ #12717]
36560         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36561         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36562         to 'int'.
36563         * inet/getnameinfo.c (getnameinfo): Likewise.
36565 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36567         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36568         to groups setting in database lookup.
36569         * nss/nsswitch.conf: Add initgroups entry.
36571 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36573         [BZ #12685]
36574         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36575         mode string.
36576         Patch by Eric Blake <eblake@redhat.com>.
36578 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36580         * sunrpc/Makefile (need-export-routines): Add svc_run.
36581         (routines): Remove svc_run.
36582         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36583         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36584         * sunrpc/svc_run.c (svc_run): Likewise.
36585         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36587 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36589         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36590         problem in reallocation in last patch.
36592 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36594         * sunrpc/Makefile: Move inclusion of Rules.
36596 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36598         * nss/nss_files/files-initgroups.c: New file.
36599         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36600         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36601         _nss_files_initgroups_dyn.
36603 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36605         * elf/elf.h (R_ARM_IRELATIVE): Define.
36607 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36609         * po/ru.po: Update from translation team.
36611 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36613         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36614         dependencies.
36616 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36618         [BZ #12653]
36619         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36620         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36621         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36622         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36623         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36625 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36627         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36628         differing bytes.
36629         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36630         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36631         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36633 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36635         [BZ #12420]
36636         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36637         storing it.
36638         * stdlib/bug-getcontext.c: New file.
36639         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36641 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36643         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36644         instructions into .machine "z9-109".
36645         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36646         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36648 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36650         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36651         between environment variables and auxiliary vector.
36653 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36655         * Makefile: Add rules to build linkobj/libc.so.
36656         * include/libc-symbols.h: Define libc_hidden_nolink.
36657         * include/rpc/auth.h: Mark functions which are to be hidden.
36658         * include/rpc/auth_des.h: Likewise.
36659         * include/rpc/auth_unix.h: Likewise.
36660         * include/rpc/clnt.h: Likewise.
36661         * include/rpc/des_crypt.h: Likewise.
36662         * include/rpc/key_prot.h: Likewise.
36663         * include/rpc/pmap_clnt.h: Likewise.
36664         * include/rpc/pmap_prot.h: Likewise.
36665         * include/rpc/pmap_rmt.h: Likewise.
36666         * include/rpc/rpc_msg.h: Likewise.
36667         * include/rpc/svc.h: Likewise.
36668         * include/rpc/svc_auth.h: Likewise.
36669         * include/rpc/xdr.h: Likewise.
36670         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36671         * nss/Makefile: Likewise.
36672         * sunrpc/Makefile: Don't install headers.  Build library with normal
36673         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36674         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36675         for the compat linking library.  Remove use of INTDEF/INTUSE.
36676         * sunrpc/auth_none.c: Likewise.
36677         * sunrpc/auth_unix.c: Likewise.
36678         * sunrpc/authdes_prot.c: Likewise.
36679         * sunrpc/authuxprot.c: Likewise.
36680         * sunrpc/clnt_gen.c: Likewise.
36681         * sunrpc/clnt_perr.c: Likewise.
36682         * sunrpc/clnt_raw.c: Likewise.
36683         * sunrpc/clnt_simp.c: Likewise.
36684         * sunrpc/clnt_tcp.c: Likewise.
36685         * sunrpc/clnt_udp.c: Likewise.
36686         * sunrpc/clnt_unix.c: Likewise.
36687         * sunrpc/des_crypt.c: Likewise.
36688         * sunrpc/des_soft.c: Likewise.
36689         * sunrpc/get_myaddr.c: Likewise.
36690         * sunrpc/key_call.c: Likewise.
36691         * sunrpc/key_prot.c: Likewise.
36692         * sunrpc/netname.c: Likewise.
36693         * sunrpc/pm_getmaps.c: Likewise.
36694         * sunrpc/pm_getport.c: Likewise.
36695         * sunrpc/pmap_clnt.c: Likewise.
36696         * sunrpc/pmap_prot.c: Likewise.
36697         * sunrpc/pmap_prot2.c: Likewise.
36698         * sunrpc/pmap_rmt.c: Likewise.
36699         * sunrpc/publickey.c: Likewise.
36700         * sunrpc/rpc_cmsg.c: Likewise.
36701         * sunrpc/rpc_common.c: Likewise.
36702         * sunrpc/rpc_dtable.c: Likewise.
36703         * sunrpc/rpc_prot.c: Likewise.
36704         * sunrpc/rpc_thread.c: Likewise.
36705         * sunrpc/rtime.c: Likewise.
36706         * sunrpc/svc.c: Likewise.
36707         * sunrpc/svc_auth.c: Likewise.
36708         * sunrpc/svc_authux.c: Likewise.
36709         * sunrpc/svc_raw.c: Likewise.
36710         * sunrpc/svc_run.c: Likewise.
36711         * sunrpc/svc_simple.c: Likewise.
36712         * sunrpc/svc_tcp.c: Likewise.
36713         * sunrpc/svc_udp.c: Likewise.
36714         * sunrpc/svc_unix.c: Likewise.
36715         * sunrpc/svcauth_des.c: Likewise.
36716         * sunrpc/xcrypt.c: Likewise.
36717         * sunrpc/xdr.c: Likewise.
36718         * sunrpc/xdr_array.c: Likewise.
36719         * sunrpc/xdr_float.c: Likewise.
36720         * sunrpc/xdr_intXX_t.c: Likewise.
36721         * sunrpc/xdr_mem.c: Likewise.
36722         * sunrpc/xdr_rec.c: Likewise.
36723         * sunrpc/xdr_ref.c: Likewise.
36724         * sunrpc/xdr_sizeof.c: Likewise.
36725         * sunrpc/xdr_stdio.c: Likewise.
36727 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36729         [BZ #12650]
36730         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36731         * sysdeps/ia64/dl-tls.h: Likewise.
36732         * sysdeps/powerpc/dl-tls.h: Likewise.
36733         * sysdeps/s390/dl-tls.h: Likewise.
36734         * sysdeps/sh/dl-tls.h: Likewise.
36735         * sysdeps/sparc/dl-tls.h: Likewise.
36736         * sysdeps/x86_64/dl-tls.h: Likewise.
36737         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36739 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36741         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36742         rpath element also skip the following colon.
36743         (expand_dynamic_string_token): Add is_path parameter and pass
36744         down to DL_DST_REQUIRED and _dl_dst_substitute.
36745         (decompose_rpath): Call expand_dynamic_string_token with
36746         non-zero is_path.  Ignore empty rpaths.
36747         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36748         with zero is_path.
36750 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36753         Make cancelable.
36755 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36757         [BZ #12655]
36758         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36759         Patch by Filipe David Manana <fdmanana@apache.org>.
36761 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36763         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36764         Maintain aligned stack.
36765         (CHECK_RSP): Remove unused macro.
36767 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36769         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36770         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36772 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36774         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36776         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36778 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36780         [BZ #12518]
36781         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36782         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36783         * sysdeps/x86_64/memmove.c: New file.
36784         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36785         (memcpy): Renamed to ...
36786         (__new_memcpy): This.
36787         (memcpy): Provide GLIBC_2_14 memcpy.
36788         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36789         (memcpy): Provide GLIBC_2_2_5 memcpy.
36791 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36793         [BZ #12631]
36794         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36796 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36798         * misc/syncfs.c: New file.
36799         * misc/Makefile (routines): Add syncfs.
36800         * posix/unistd.h: Declare syncfs.
36801         * sysdeps/unix/syscalls.list: Add syncfs.
36803 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36805         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36806         open_by_handle_at.
36807         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36808         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36809         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36810         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36811         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36812         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36813         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36815 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36817         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36818         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36819         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36820         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36821         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36822         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36823         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36825         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36826         sync_file_range.c with -fexceptions.
36827         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36828         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36829         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36830         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36831         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36832         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36833         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36834         sync_file_range as cancellation point
36835         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36836         now a wrapper around __call_sync_file_range with cancellation handling.
36837         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36838         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36839         function name to __call_sync_file_range.
36840         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36841         Add call_sync_file_range.
36843 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36846         bits/timex.h.
36848 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36850         * iconv/iconv.h: Fix typo in comment.
36851         * io/fcntl.h: Likewise.
36852         * libio/stdio.h: Likewise.
36853         * posix/spawn.h: Likewise.
36854         * posix/unistd.h: Likewise.
36855         * stdlib/stdlib.h: Likewise.
36856         * time/time.h: Likewise.
36857         * wcsmbs/wchar.h: Likewise.
36859         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36860         open_by_handle): Add.
36861         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36862         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36863         Augment a few comments.
36864         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36865         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36866         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36867         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36868         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36869         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36870         open_by_handle.
36872         * io/fcntl.h (AT_EMPTY_PATH): Define.
36874 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36876         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36877         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36878         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36879         to...
36880         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36881         * Versions.def: Add GLIBC_2.14.
36882         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36883         Export.
36885 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36887         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36888         round counter.
36889         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36891 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36893         [BZ #12597]
36894         * string/test-strncmp.c (do_page_test): New function.
36895         (check2): Likewise.
36896         (test_main): Call check2.
36897         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36899 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36901         [BZ #12587]
36902         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36903         Handle cache information in CPU leaf 4.
36904         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36906 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36908         [BZ #12583]
36909         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36910         character representation.
36911         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36913 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36915         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36916         END(__isnan) to END(__isnanf) to match function entry point/label
36917         EALIGN(__isnanf,...).
36919 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36921         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36923 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36925         [BZ #12510]
36926         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36927         copy from the symbol referenced in the relocation to initialize the
36928         used variable.
36929         Patch by Piotr Bury <pbury@goahead.com>.
36930         * elf/Makefile: Add rules to build and tst-unique3.
36931         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36932         * elf/tst-unique3.cc: New file.
36933         * elf/tst-unique3.h: New file.
36934         * elf/tst-unique3lib.cc: New file.
36935         * elf/tst-unique3lib2.cc: New file.
36937         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36939 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36941         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36942         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36943         to _start.
36945 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36947         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36948         to-be-loaded object along a path to loader is ld.so.
36950 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36951             Ulrich Drepper  <drepper@gmail.com>
36953         * sysdeps/x86_64/memset.S: After aligning destination, code
36954         branches to different locations depending on the value of
36955         misalignment, when multiarch is enabled. Fix this.
36957 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36959         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36960         Set _x86_64_preferred_memory_instruction for AMD processsors.
36961         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36962         Set bit_Prefer_SSE_for_memop for AMD processors.
36964 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36966         * libio/fmemopen.c (fmemopen): Optimize a bit.
36968 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36970         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36972 2011-03-03  Roland McGrath  <roland@redhat.com>
36974         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36976 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36978         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36979         __bzero_ultra1 instead of __memset_ultra1.
36981 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36982             Ulrich Drepper  <drepper@gmail.com>
36984         [BZ #12509]
36985         * include/link.h (struct link_map): Add l_orig_initfini.
36986         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36987         returning unsuccessfully.
36988         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36989         close of a file loaded at startup, restore the original l_initfini
36990         list.
36991         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36992         list, store the pointer.
36993         * elf/Makefile ($(objpfx)noload-mem): New rule.
36994         (noload-ENV): Define.
36995         (tests): Add $(objpfx)noload-mem.
36996         * elf/noload.c: Include <memcheck.h>.
36997         (main): Call mtrace.  Close all opened handles.
36999 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37001         [BZ #12454]
37002         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37003         dependencies are missing.
37005 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37007         Fix __if_freereq crash: Unlike the generic version which uses free,
37008         Hurd needs munmap.
37009         * sysdeps/mach/hurd/ifreq.h: New file.
37011 2011-01-27  Petr Baudis  <pasky@suse.cz>
37012             Ulrich Drepper  <drepper@gmail.com>
37014         [BZ 12445]#
37015         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37016         to extend_alloca().
37017         * stdio-common/bug23.c: New file.
37018         * stdio-common/Makefile (tests): Add bug23.
37020 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37021             Ulrich Drepper  <drepper@gmail.com>
37023         [BZ #12489]
37024         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37025         before performing relro protection.  At old place add assertion
37026         to make sure nothing changed.
37028 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37029             Glauber de Oliveira Costa  <glommer@gmail.com>
37031         * elf/elf.h: Add new ARM TLS relocs.
37033 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37036         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37037         cast from r3.
37038         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37039         'tests' variable.
37040         * sysdeps/wordsize-64/tst-writev.c: New file.
37042 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37044         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37045         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37046         insns in _dl_start to prevent a TOC reference before relocs are
37047         resolved.
37049 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37051         [BZ #12469]
37052         * Makeconfig: Remove RANLIB definition.
37053         * Makerules: Don't use RANLIB.
37054         * aclocal.m4: Remove ranlib test.
37055         * configure.in: No need to check for ranlib.
37056         * elf/rtld-Rules: Don't use RANLIB.
37058 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37060         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37061         protection macro.
37062         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37063         inclusion protection macro.
37065         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37066         SIGRTMIN and SIGRTMAX and print information in that case only when
37067         SIGRTMIN is defined.
37069 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37071         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37072         arginfo fn returning -1.
37074         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37075         and thousands string is zero terminated.
37077 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37079         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37080         sysdeps/unix/sysv/linux/bits/socket.h.
37082 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37084         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37085         (__CPU_COUNT): Remove old macros.
37086         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37087         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37088         (__CPU_ALLOC, __CPU_FREE): Add macros.
37089         (__sched_cpualloc, __sched_cpufree): Add declarations.
37091 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37093         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37094         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37095         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37096         (readdhstai): Return value of addhstaiX call.
37097         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37098         (addgrbyX): Return value returned by cache_addgr.
37099         (readdgrbyname): Return value returned by addgrbyX.
37100         (readdgrbygid): Likewise.
37101         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37102         (addpwbyX): Return value returned by cache_addpw.
37103         (readdpwbyname): Return value returned by addhstbyX.
37104         (readdpwbyuid): Likewise.
37105         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37106         (addservbyX): Return value returned by cache_addserv.
37107         (readdservbyname): Return value returned by addservbyX:
37108         (readdservbyport): Likewise.
37109         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37110         (addhstbyX): Return value returned by cache_addhst.
37111         (readdhstbyname): Return value returned by addhstbyX.
37112         (readdhstbyaddr): Likewise.
37113         (readdhstbynamev6): Likewise.
37114         (readdhstbyaddrv6): Likewise.
37115         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37116         (readdinitgroups): Return value returned by addinitgroupsX.
37117         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37118         (prune_cache): Keep track of timeout value of re-added entries.
37119         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37120         * nscd/nscd.h: Adjust prototypes of readd* functions.
37122 2011-02-04  Roland McGrath  <roland@redhat.com>
37124         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37125         (nis_stats): Likewise.
37126         * nis/nis_modify.c (nis_modify): Likewise.
37127         * nis/nis_remove.c (nis_remove): Likewise.
37128         * nis/nis_add.c (nis_add): Likewise.
37130         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37132         * posix/fnmatch_loop.c: Add some consts.
37134         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37136 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37138         [BZ #12460]
37139         * config.make.in (config-cflags-novzeroupper): Define.
37140         * configure.in: Substitute libc_cv_cc_novzeroupper.
37141         * elf/Makefile (AVX-CFLAGS): Define.
37142         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37143         (CFLAGS-tst-auditmod4a.c): Likewise.
37144         (CFLAGS-tst-auditmod4b.c): Likewise.
37145         (CFLAGS-tst-auditmod6b.c): Likewise.
37146         (CFLAGS-tst-auditmod6c.c): Likewise.
37147         (CFLAGS-tst-auditmod7b.c): Likewise.
37148         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37150 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37152         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37153         function to the callback.
37154         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37156 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37158         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37159         of errno.
37161 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37163         [BZ #11724]
37164         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37165         of constructors.
37166         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37167         of destructors.
37168         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37170         [BZ #11724]
37171         * elf/Makefile: Add rules to build and run new test.
37172         * elf/tst-initorder.c: New file.
37173         * elf/tst-initorder.exp: New file.
37174         * elf/tst-initordera1.c: New file.
37175         * elf/tst-initordera2.c: New file.
37176         * elf/tst-initordera3.c: New file.
37177         * elf/tst-initordera4.c: New file.
37178         * elf/tst-initorderb1.c: New file.
37179         * elf/tst-initorderb2.c: New file.
37180         * elf/tst-order-a1.c: New file.
37181         * elf/tst-order-a2.c: New file.
37182         * elf/tst-order-a3.c: New file.
37183         * elf/tst-order-a4.c: New file.
37184         * elf/tst-order-b1.c: New file.
37185         * elf/tst-order-b2.c: New file.
37186         * elf/tst-order-main.c: New file.
37187         New test case by George Gensure <werkt0@gmail.com>.
37189 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37192         decoding ACE if AI_CANONIDN.
37194 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37196         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37198 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37200         * version.h (RELEASE): Bump for 2.13 release.
37201         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37203         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37205         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37206         MADV_NOHUGEPAGE.
37207         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37208         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37209         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37210         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37211         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37212         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37214         * posix/getconf.c: Update copyright year.
37215         * catgets/gencat.c: Likewise.
37216         * csu/version.c: Likewise.
37217         * debug/catchsegv.sh: Likewise.
37218         * debug/xtrace.sh: Likewise.
37219         * elf/ldconfig.c: Likewise.
37220         * elf/ldd.bash.in: Likewise.
37221         * elf/sprof.c (print_version): Likewise.
37222         * iconv/iconv_prog.c: Likewise.
37223         * iconv/iconvconfig.c: Likewise.
37224         * locale/programs/locale.c: Likewise.
37225         * locale/programs/localedef.c: Likewise.
37226         * malloc/memusage.sh: Likewise.
37227         * malloc/mtrace.pl: Likewise.
37228         * nscd/nscd.c (print_version): Likewise.
37229         * nss/getent.c: Likewise.
37231         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37232         PF_CAIF, and PF_ALG.
37233         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37235 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37237         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37238         (modules-names): Use them.
37239         (ifunc-test-modules, ifunc-pie-tests): Define.
37240         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37241         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37242         (test-extras): Likewise.
37243         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37244         $(compile-command.c).
37245         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37246         (all-built-dso): Define.
37247         (check-textrel.out, check-execstack.out): Depend on it.
37249         * configure.in: Don't override --enable-multi-arch.
37251 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37253         [BZ #6812]
37254         * nscd/hstcache.c (tryagain): Define.
37255         (cache_addhst): Return tryagain not notfound for temporary errors.
37256         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37257         failed.
37259 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37261         [BZ #10563]
37262         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37263         to make the syscall.
37264         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37266         [BZ #12378]
37267         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37268         and fall back to matching as normal character if the string ends before
37269         the matching ']' is found.  This is what POSIX requires.
37270         * posix/testfnm.c: Adjust test result.
37271         * posix/globtest.sh: Adjust test result.  Add new test.
37272         * posix/tst-fnmatch.input: Likewise.
37273         * posix/tst-fnmatch2.c: Add new test.
37275 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37277         * elf/Makefile (check-execstack): Revert last change.  Depend on
37278         check-execstack.h.
37279         (check-execstack.h): New target.
37280         (generated): Add check-execstack.h.
37281         * elf/check-execstack.c: Include "check-execstack.h".
37282         (main): Revert last change.
37283         (handle_file): Return zero if GNU_STACK is absent and
37284         DEFAULT_STACK_PERMS doesn't include PF_X.
37286 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37288         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37289         in child fails because the descriptor is already closed.
37290         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37291         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37292         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37294         [BZ #12397]
37295         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37296         syscall.
37298         [BZ #10484]
37299         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37300         temporary buffer used to handle multi lookups locally.
37301         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37303 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37305         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37306         loader is ld.so.
37308 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37310         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37311         alignment for SSE2.
37313 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37315         [BZ #12394]
37316         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37317         characters.  When rounding increased number of integer digits recompute
37318         number of groups.
37319         * stdio-common/tst-grouping.c: New file.
37320         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37322 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37324         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37325         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37327         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37328         void.
37329         * bits/select.h: Likewise.
37331 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37333         * po/ja.po: Update from translation team.
37335 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37337         [BZ #11155]
37338         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37339         implementation just like for lxstat, fxstatat, et al.
37341 2010-12-27  Jim Meyering  <meyering@redhat.com>
37343         [BZ #12348]
37344         * posix/regexec.c (build_trtable): Return failure indication upon
37345         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37347 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37349         [BZ #12201]
37350         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37351         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37352         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37353         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37355         [BZ #12207]
37356         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37358         [BZ #12204]
37359         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37360         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37362 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37364         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37365         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37366         script has SORT_BY_INIT_PRIORITY.
37367         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37368         NO_CTORS_DTORS_SECTIONS is defined.
37369         * elf/soinit.c: Likewise.
37370         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37371         NO_CTORS_DTORS_SECTIONS is defined.
37372         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37373         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37374         * sysdeps/sh/init-first.c: Likewise.
37375         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37377 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37379         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37380         always use the slow path.
37382 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37384         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37385         similar rule which adds the sysdep directories to the header search in
37386         order to pick up the correct platform stackinfo.h.
37387         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37388         perform test if it is, otherwise return successfully without testing.
37389         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37390         DEFAULT_STACK_PERMS define in stackinfo.h.
37391         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37392         defined in stackinfo.h.
37393         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37394         DEFAULT_STACK_PERMS defined in stackinfo.h.
37395         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37396         * sysdeps/ia64/stackinfo.h: Likewise.
37397         * sysdeps/s390/stackinfo.h: Likewise.
37398         * sysdeps/sh/stackinfo.h: Likewise.
37399         * sysdeps/sparc/stackinfo.h: Likewise.
37400         * sysdeps/x86_64/stackinfo.h: Likewise.
37401         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37402         PF_X for powerpc64.  Retain PF_X for powerpc32.
37404 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37406         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37407         accurately.
37408         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37409         GETDENTS_64BIT_ALIGNED.
37411 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37413         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37415 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37417         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37418         _GNU_SOURCE.
37420         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37421         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37422         Remove __restrict.
37423         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37424         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37426 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37428         [BZ #11655]
37429         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37430         are initialized.
37432 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37434         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37436 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37438         * po/it.po: Update from translation team.
37440 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37442         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37443         unused codes.
37445 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37447         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37449 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37451         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37452         specially.
37453         (gaih_getanswer_slice): Likewise.
37455 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37459 2010-05-31  Petr Baudis  <pasky@suse.cz>
37461         [BZ #11149]
37462         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37463         silently even in the chroot mode.
37465 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37467         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37468         last patch a bit.  Pretty printing
37470 2010-05-31  Petr Baudis <pasky@suse.cz>
37472         [BZ #10085]
37473         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37474         initialization of skip_initgroups_dyn.
37476 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37478         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37479         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37481 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37483         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37485 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37487         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37488         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37489         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37490         ($(objpfx)tst-fnmatch-mem): New rule.
37491         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37492         * posix/tst-fnmatch.c (main): Call mtrace.
37494 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37497         Support Intel processor model 6 and model 0x2c.
37499 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37501         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37502           signed comparison.
37504 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37506         [BZ #12205]
37507         * string/test-strncasecmp.c (check_result): New function.
37508         (do_one_test): Use it.
37509         (check1): New function.
37510         (test_main): Use it.
37511         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37512         Support strcasecmp and strncasecmp.
37514 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37516         [BZ #12194]
37517         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37518         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37520 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37522         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37523         IFUNC support.
37524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37525         memset-x86-64.
37526         * sysdeps/x86_64/multiarch/bzero.S: New file.
37527         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37528         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37529         * sysdeps/x86_64/multiarch/memset.S: New file.
37530         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37532         Set bit_Prefer_SSE_for_memop for Intel processors.
37533         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37534         Define.
37535         (index_Prefer_SSE_for_memop): Define.
37536         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37538 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37540         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37541         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37543 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37545         [BZ #12191]
37546         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37547         (__x86_64_raw_data_cache_size_half): Likewise.
37548         (__x86_64_raw_shared_cache_size): Likewise.
37549         (__x86_64_raw_shared_cache_size_half): Likewise.
37551         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37552         (__x86_64_raw_data_cache_size_half): Likewise.
37553         (__x86_64_raw_shared_cache_size): Likewise.
37554         (__x86_64_raw_shared_cache_size_half): Likewise.
37555         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37556         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37557         and __x86_64_raw_shared_cache_size_half.  Round
37558         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37559         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37560         to multiple of 256 bytes.
37562 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37564         [BZ #12167]
37565         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37566         of inacessible symlinks.  Verify result of symlink before returning it.
37567         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37568         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37570 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37572         * math/math.h (isinf): Fix typo in comment.
37574 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37576         * po/da.po: Update from translation team.
37578 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37580         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37581         is added to the list.
37583 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37584             Ulrich Drepper  <drepper@gmail.com>
37586         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37587         the global list here.  Move code to...
37588         (_dl_add_to_namespace_list): ...here.  New function.
37589         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37590         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37591         * elf/dl-load.c (lose): Don't remove the element from the list.
37592         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37593         (_dl_map_object): Likewise.
37595 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37597         [BZ #12159]
37598         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37599         into all bytes of SSE register.
37600         Patch by Richard Li <richardpku@gmail.com>.
37602 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37604         [BZ #12140]
37605         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37606         perturbing.
37608 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37610         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37611         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37612         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37613         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37615         submachine.
37616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37618 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37620         * include/dlfcn.h (__RTLD_SECURE): Define.
37621         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37622         mode & __RTLD_SECURE instead.
37623         (open_path): Rename preloaded parameter to secure.
37624         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37625         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37626         * elf/dl-deps.c (openaux): Likewise.
37627         * elf/rtld.c (struct map_args): Remove is_preloaded.
37628         (map_doit): Don't use it.
37629         (dl_main): Likewise.
37630         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37631         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37633 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37635         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37636         (sysd-rules-targets): Remove duplicates.
37637         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37638         rtld-%.$o dependency.
37640 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37642         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37643         _dl_map_object do it.
37645 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37647         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37648         fast fma builtins, define the macros in the C99 standard.
37649         (FP_FAST_FMAF): Likewise.
37650         (FP_FAST_FMAL): Likewise.
37651         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37653         * bits/mathdef.h: Update copyright year.
37654         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37656 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37658         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37659         builtins, define the macros in the C99 standard.
37660         (FP_FAST_FMAF): Likewise.
37661         (FP_FAST_FMAL): Likewise.
37662         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37663         multiply/add.
37664         (FP_FAST_FMAF): Likewise.
37666 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37668         [BZ #3268]
37669         * math/libm-test.inc (fma_test): Some new testcases.
37670         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37671         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37672         y and infinite z.  Do multiplication by C already in long double.
37673         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37674         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37675         y and infinite z.  Do bitwise or of inexact bit into u.d.
37676         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37677         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37678         * sysdeps/i386/fpu/s_fma.S: Removed.
37679         * sysdeps/i386/fpu/s_fmal.S: Removed.
37681 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37683         [BZ #3268]
37684         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37685         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37686         computation is not scheduled after fetestexcept.  Fix value
37687         of minimum denormal long double.
37689 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37691         [BZ #3268]
37692         * math/libm-test.inc (fma_test): Add some more tests.
37693         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37694         correctly.
37696 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37698         * scripts/data/localplt-s390-linux-gnu.data: New file.
37699         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37701 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37703         [BZ #3268]
37704         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37705         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37706         instead of dbl-64.
37707         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37708         inlines.
37709         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37710         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37711         if one of x and y is very large and the other is subnormal.
37712         * sysdeps/s390/fpu/s_fmaf.c: New file.
37713         * sysdeps/s390/fpu/s_fma.c: New file.
37714         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37715         * sysdeps/powerpc/fpu/s_fma.S: New file.
37716         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37717         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37718         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37720 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37722         [BZ #3268]
37723         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37724         fma tests.
37725         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37726         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37727         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37728         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37729         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37730         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37731         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37733 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37735         [BZ #12078]
37736         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37737         * posix/bug-regex31.input: Add test case.
37739 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37741         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37742         * posix/bug-regex31.input: New file.
37744         [BZ #12078]
37745         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37746         (parse_sub_exp): Fix last change, use postorder.
37748         * posix/bug-regex31.c: New file.
37749         * posix/Makefile: Add rules to build and run bug-regex31.
37751         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37753         [BZ #12078]
37754         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37756         [BZ #12108]
37757         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37758         to have entries in sys_siglist.
37760         [BZ #12093]
37761         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37762         be NULL.
37764 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37766         [BZ #3268]
37767         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37768         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37769         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37770         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37771         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37772         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37773         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37774         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37775         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37776         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37777         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37778         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37779         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37780         * math/ftestexcept.c (fetestexcept): Likewise.
37781         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37782         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37783         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37784         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37785         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37786         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37787         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37789 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37791         [BZ #12107]
37792         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37793         newline.
37795 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37797         * string/bug-strstr1.c: New file.
37798         * string/Makefile: Add rules to build and run bug-strstr1.
37800 2010-10-05  Eric Blake  <eblake@redhat.com>
37802         [BZ #12092]
37803         * string/str-two-way.h (two_way_long_needle): Always clear memory
37804         when skipping input due to the shift table.
37806 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37808         [BZ #12005]
37809         * malloc/mcheck.c: Handle large requests.
37811         [BZ #12077]
37812         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37813         for strncmp and strncasecmp.
37814         * string/stratcliff.c: Add tests for strcmp and strncmp.
37815         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37817 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37819         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37820         __set_fpscr.
37822 2010-09-30  Andreas Jaeger  <aj@suse.de>
37824         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37825         (CGROUP_SUPER_MAGIC): Define.
37826         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37827         Handle btrfs and cgroup file systems.
37828         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37829         Likewise.
37831 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37833         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37834         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37836 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37838         [BZ #12067]
37839         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37840         trying to locate the ELF header.
37842 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37844         [BZ #11611]
37845         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37846         Mask out sign-bit copies when constructing f_fsid.
37848 2010-09-24  Petr Baudis <pasky@suse.cz>
37850         * debug/stack_chk_fail_local.c: Add missing licence exception.
37851         * debug/warning-nop.c: Likewise.
37853 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37855         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37856         implementing getdents64 using getdents syscall, set d_type if
37857         __ASSUME_GETDENTS32_D_TYPE.
37859 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37861         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37862         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37864 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37866         [BZ #12037]
37867         * posix/unistd.h: Undo change of feature selection for ftruncate from
37868         2010-01-11.
37870 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37872         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37873         detection.
37875 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37877         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37878         fanotify_mark.
37879         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37881 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37883         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37884         variables after CHECK_SP call.
37885         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37887 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37888             Ulrich Drepper  <drepper@redhat.com>
37890         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37891         re-relocationg ld.so.
37892         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37893         _dl_init_paths call.
37894         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37895         here anymore.
37897 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37899         * resolv/res_init.c (__res_vinit): Count the default server we added.
37901 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37902             Ulrich Drepper  <drepper@redhat.com>
37904         [BZ #11968]
37905         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37906         (____longjmp_chk): Use %ebx for saving value across system call.
37907         Add unwind info.
37909 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37911         * manual/Makefile: Don't mix pattern rules with normal rules.
37913 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37915         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37916         operation.
37917         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37918         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37919         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37920         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37921         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37922         Likewise.
37924 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37926         [BZ #11979]
37927         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37928         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37930 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37932         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37933         * sysdeps/x86_64/addmul_1.S: Likewise.
37934         * sysdeps/x86_64/lshift.S: Likewise.
37935         * sysdeps/x86_64/mul_1.S: Likewise.
37936         * sysdeps/x86_64/rshift.S: Likewise.
37937         * sysdeps/x86_64/sub_n.S: Likewise.
37938         * sysdeps/x86_64/submul_1.S: Likewise.
37940 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37942         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37943         Define __sched_param instead of SCHED_* and sched_param when
37944         <bits/sched.h> is included with __need_schedparam defined.
37945         * bits/sched.h [__need_schedparam]
37946         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37947         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37948         (__defined_schedparam): Define to 1.
37949         (__sched_param): New structure, identical to sched_param.
37950         (__need_schedparam): Undefine.
37952 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37954         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37955         (epoll_create1): Declare.
37957         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37959 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37961         [BZ #7066]
37962         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37963         shifting retval into place.
37965 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37967         * nis/rpcsvc/nis.h: Update copyright notice.
37968         * nis/rpcsvc/nis.x: Likewise.
37969         * nis/rpcsvc/nis_callback.h: Likewise.
37970         * nis/rpcsvc/nis_callback.x: Likewise.
37971         * nis/rpcsvc/nis_object.x: Likewise.
37972         * nis/rpcsvc/nis_tags.h: Likewise.
37973         * nis/rpcsvc/yp.h: Likewise.
37974         * nis/rpcsvc/yp.x: Likewise.
37975         * nis/rpcsvc/ypupd.h: Likewise.
37976         * nis/yp_xdr.c: Likewise.
37977         * nis/ypupdate_xdr.c: Likewise.
37979         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37980         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37981         (pmap_getport): Use __libc_rpc_getport.
37982         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37983         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37984         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37986 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37989         fanotify_mark.
37991 2010-08-27  Roland McGrath  <roland@redhat.com>
37993         * sysdeps/i386/i686/multiarch/Makefile
37994         (CFLAGS-varshift.c): New variable.
37996 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37998         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37999         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38001         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38003         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38005 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38007         * sysdeps/x86_64/strlen.S: Unroll the loop.
38008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38009         strlen-sse2 strlen-sse2-bsf.
38010         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38011         __strlen_no_bsf if bit_Slow_BSF is set.
38012         (__strlen_sse42): Removed.
38013         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38014         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38016 2010-08-25  Roland McGrath  <roland@redhat.com>
38018         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38019         * sysdeps/x86_64/multiarch/varshift.c: New file.
38020         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38021         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38022         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38023         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38025 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38027         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38028         strlen-sse2 strlen-sse2-bsf.
38029         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38030         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38031         (__strlen_sse2): Removed.
38032         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38033         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38035         bit_Slow_BSF for Atom.
38036         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38037         (index_Slow_BSF): Define.
38038         (HAS_SLOW_BSF): Define.
38040 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38042         [BZ #10851]
38043         * resolv/res_init.c (__res_vinit): When no server address at all
38044         is given default to loopback.
38046 2010-08-24  Roland McGrath  <roland@redhat.com>
38048         * configure.in: Remove config-name.h generation.
38049         * configure: Regenerated.
38050         * config-name.in: File removed.
38051         * scripts/config-uname.sh: New file.
38052         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38053         ($(objdir)config-name.h): New target.
38055         * sunrpc/rpc_parse.h: Avoid nested comment.
38057 2010-08-24  Richard Henderson  <rth@redhat.com>
38058             Ulrich Drepper  <drepper@redhat.com>
38059             H.J. Lu  <hongjiu.lu@intel.com>
38061         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38063         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38064         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38065         _mm_alignr_epi8 with _mm_loadu_si128.
38066         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38067         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38068         (__m128i_shift_right): Removed.
38069         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38070         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38071         * sysdeps/x86_64/multiarch/varshift.h: New file.
38072         * sysdeps/x86_64/multiarch/varshift.S: New file.
38074 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38076         * configure.in: Move assembler checks to before sysdep dir checking.
38078 2010-08-20  Petr Baudis  <pasky@suse.cz>
38080         * LICENSES: Sync the sunrpc license.
38082 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38084         * sunrpc/auth_des.c: Update copyright notice once again.
38085         * sunrpc/auth_none.c: Likewise.
38086         * sunrpc/auth_unix.c: Likewise.
38087         * sunrpc/authdes_prot.c: Likewise.
38088         * sunrpc/authuxprot.c: Likewise.
38089         * sunrpc/bindrsvprt.c: Likewise.
38090         * sunrpc/clnt_gen.c: Likewise.
38091         * sunrpc/clnt_perr.c: Likewise.
38092         * sunrpc/clnt_raw.c: Likewise.
38093         * sunrpc/clnt_simp.c: Likewise.
38094         * sunrpc/clnt_tcp.c: Likewise.
38095         * sunrpc/clnt_udp.c: Likewise.
38096         * sunrpc/clnt_unix.c: Likewise.
38097         * sunrpc/des_crypt.c: Likewise.
38098         * sunrpc/des_soft.c: Likewise.
38099         * sunrpc/get_myaddr.c: Likewise.
38100         * sunrpc/getrpcport.c: Likewise.
38101         * sunrpc/key_call.c: Likewise.
38102         * sunrpc/key_prot.c: Likewise.
38103         * sunrpc/openchild.c: Likewise.
38104         * sunrpc/pm_getmaps.c: Likewise.
38105         * sunrpc/pm_getport.c: Likewise.
38106         * sunrpc/pmap_clnt.c: Likewise.
38107         * sunrpc/pmap_prot.c: Likewise.
38108         * sunrpc/pmap_prot2.c: Likewise.
38109         * sunrpc/pmap_rmt.c: Likewise.
38110         * sunrpc/rpc/auth.h: Likewise.
38111         * sunrpc/rpc/auth_unix.h: Likewise.
38112         * sunrpc/rpc/clnt.h: Likewise.
38113         * sunrpc/rpc/des_crypt.h: Likewise.
38114         * sunrpc/rpc/key_prot.h: Likewise.
38115         * sunrpc/rpc/netdb.h: Likewise.
38116         * sunrpc/rpc/pmap_clnt.h: Likewise.
38117         * sunrpc/rpc/pmap_prot.h: Likewise.
38118         * sunrpc/rpc/pmap_rmt.h: Likewise.
38119         * sunrpc/rpc/rpc.h: Likewise.
38120         * sunrpc/rpc/rpc_des.h: Likewise.
38121         * sunrpc/rpc/rpc_msg.h: Likewise.
38122         * sunrpc/rpc/svc.h: Likewise.
38123         * sunrpc/rpc/svc_auth.h: Likewise.
38124         * sunrpc/rpc/types.h: Likewise.
38125         * sunrpc/rpc/xdr.h: Likewise.
38126         * sunrpc/rpc_clntout.c: Likewise.
38127         * sunrpc/rpc_cmsg.c: Likewise.
38128         * sunrpc/rpc_common.c: Likewise.
38129         * sunrpc/rpc_cout.c: Likewise.
38130         * sunrpc/rpc_dtable.c: Likewise.
38131         * sunrpc/rpc_hout.c: Likewise.
38132         * sunrpc/rpc_main.c: Likewise.
38133         * sunrpc/rpc_parse.c: Likewise.
38134         * sunrpc/rpc_parse.h: Likewise.
38135         * sunrpc/rpc_prot.c: Likewise.
38136         * sunrpc/rpc_sample.c: Likewise.
38137         * sunrpc/rpc_scan.c: Likewise.
38138         * sunrpc/rpc_scan.h: Likewise.
38139         * sunrpc/rpc_svcout.c: Likewise.
38140         * sunrpc/rpc_tblout.c: Likewise.
38141         * sunrpc/rpc_util.c: Likewise.
38142         * sunrpc/rpc_util.h: Likewise.
38143         * sunrpc/rpcinfo.c: Likewise.
38144         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38145         * sunrpc/rpcsvc/key_prot.x: Likewise.
38146         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38147         * sunrpc/rpcsvc/mount.x: Likewise.
38148         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38149         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38150         * sunrpc/rpcsvc/rex.x: Likewise.
38151         * sunrpc/rpcsvc/rstat.x: Likewise.
38152         * sunrpc/rpcsvc/rusers.x: Likewise.
38153         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38154         * sunrpc/rpcsvc/spray.x: Likewise.
38155         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38156         * sunrpc/rtime.c: Likewise.
38157         * sunrpc/svc.c: Likewise.
38158         * sunrpc/svc_auth.c: Likewise.
38159         * sunrpc/svc_authux.c: Likewise.
38160         * sunrpc/svc_raw.c: Likewise.
38161         * sunrpc/svc_run.c: Likewise.
38162         * sunrpc/svc_simple.c: Likewise.
38163         * sunrpc/svc_tcp.c: Likewise.
38164         * sunrpc/svc_udp.c: Likewise.
38165         * sunrpc/svc_unix.c: Likewise.
38166         * sunrpc/svcauth_des.c: Likewise.
38167         * sunrpc/xcrypt.c: Likewise.
38168         * sunrpc/xdr.c: Likewise.
38169         * sunrpc/xdr_array.c: Likewise.
38170         * sunrpc/xdr_float.c: Likewise.
38171         * sunrpc/xdr_mem.c: Likewise.
38172         * sunrpc/xdr_rec.c: Likewise.
38173         * sunrpc/xdr_ref.c: Likewise.
38174         * sunrpc/xdr_sizeof.c: Likewise.
38175         * sunrpc/xdr_stdio.c: Likewise.
38177         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38178         handling.
38180 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38182         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38184 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38186         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38187         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38188         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38189         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38190         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38191         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38192         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38193         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38194         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38195         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38196         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38197         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38198         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38199         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38201 2010-07-26  Anton Blanchard  <anton@samba.org>
38203         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38204         * malloc/arena.c (heap_trim): Likewise.
38206 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38208         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38209         here.  Not...
38210         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38211         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38213 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38215         * sysdeps/i386/elf/Makefile: New file.
38217 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38219         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38220         from fanotify_init.
38221         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38222         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38224 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38226         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38227         of strncasecmp_l.
38228         * sysdeps/multiarch/strcmp.S: Likewise.
38230 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38232         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38233         strncase_l-nonascii.
38234         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38235         Add strncase_l-ssse3.
38236         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38237         * sysdeps/x86_64/strcmp.S: Likewise.
38238         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38239         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38240         * sysdeps/x86_64/strncase.S: New file.
38241         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38242         * sysdeps/x86_64/strncase_l.S: New file.
38243         * string/Makefile (strop-tests): Add strncasecmp.
38244         * string/test-strncasecmp.c: New file.
38246         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38247         warning.
38249         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38250         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38252 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38254         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38256 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38258         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38259         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38260         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38262 2010-05-01  Alan Modra  <amodra@gmail.com>
38264         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38265         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38266         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38267         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38268         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38269         tidying.  Don't tail-call __sigjmp_save for static lib.
38270         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38271         save location.
38272         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38273         (CALL_MCOUNT): Add eh info, and nop after bl.
38274         (TAIL_CALL_SYSCALL_ERROR): New macro.
38275         (PSEUDO_RET): Use it.
38276         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38277         Correct save location of integer regs and cr.
38278         (_dl_profile_resolve): Correct cr save location.  Delete nops
38279         after bl when SHARED.  Reduce cfi size a little by better
38280         placement of cfi directives.
38281         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38282         make a stack frame.  Instead use parm save area as a temp.
38283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38284         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38286         Don't make a stack frame for parent, use parm save area.
38287         Increase child stack frame to 112 bytes.  Don't save unused reg,
38288         and adjust reg usage.  Set up cfi on error recovery and
38289         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38291         (__makecontext): Add dummy nop after jump to exit.
38292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38293         Use correct parm save area and cr save, reduce stack frame.
38294         Correct cfi for possible PSEUDO_RET frame setup.
38295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38296         Branch to local label emitted by PSEUDO_RET rather than
38297         __syscall_error.
38299 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38301         [BZ #11904]
38302         * locale/programs/locale.c (print_assignment): New function.
38303         (show_locale_vars): Use it.
38305 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38307         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38308         field.
38309         (struct statfs64): Likewise.
38310         (_STATFS_F_FLAGS): Define.
38311         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38312         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38313         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38314         (ST_VALID): Define locally.
38315         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38316         __statvfs_getflags, use the provided value.
38317         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38318         __ASSUME_STATFS_F_FLAGS.
38320         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38322         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38323         Add sys/fanotify.h.
38324         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38325         fanotify_mask for GLIBC_2.13.
38326         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38327         fanotify_init and fanotify_mark.
38328         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38329         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38331         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38332         Add prlimit.
38333         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38334         prlimit64 for GLIBC_2.13.
38335         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38336         prlimit64.
38337         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38338         syscall.
38339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38340         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38341         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38342         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38343         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38344         add prlimit alias.
38345         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38347         [BZ #11903]
38348         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38349         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38351         * nss/Makefile: Add rules to build and run tst-nss-test1.
38352         * shlib-versions: Add entry for libnss_test1.
38353         * nss/nss_test1.c: New file.
38354         * nss/tst-nss-test1.c: New file.
38356         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38357         (__nss_configure_lookup): Set appropriate entry in
38358         __nss_configure_lookup to true.
38359         * nss/nsswitch.h: Define enum with indeces of databases in
38360         databases and __nss_database_custom arrays.  Declare
38361         __nss_database_custom.
38362         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38363         to avoid using nscd when custom rules are installed.
38364         * nss/getXXbyYY_r.c: Likewise.
38365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38367         * nss/nss_files/files-parse.c: Whitespace fixes.
38369 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38371         [BZ #11883]
38372         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38373         * posix/fnmatch_loop.c: Likewise.
38375 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38377         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38378         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38379         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38380         * Versions.def [GLIBC_2.13]: Add.
38382 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38384         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38385         Also fail if tpwd after pwuid call is NULL.
38387 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38389         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38390         when converting to ms.
38392 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38394         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38395         EOPNOTSUPP errors with ENOTTY.
38396         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38397         EOPNOTSUPP errors with ENOTTY.
38399 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38401         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38402         Add strcasecmp_l-ssse3.
38403         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38404         strcasecmp.
38405         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38406         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38407         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38409 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38411         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38413         * string/Makefile (strop-tests): Add strcasecmp.
38414         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38415         strcasecmp_l-nonascii.
38416         (gen-as-const-headers): Add locale-defines.sym.
38417         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38418         * sysdeps/x86_64/strcasecmp.S: New file.
38419         * sysdeps/x86_64/strcasecmp_l.S: New file.
38420         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38421         * sysdeps/x86_64/locale-defines.sym: New file.
38422         * string/test-strcasecmp.c: New file.
38424         * string/test-strcasestr.c: Test both ends of the range of characters.
38425         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38427 2010-07-29  Roland McGrath  <roland@redhat.com>
38429         [BZ #11856]
38430         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38432 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38434         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38435         for ld.so.
38437 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38439         * manual/memory.texi (Malloc Tunable Parameters): Document
38440         M_PERTURB.
38442 2010-07-26  Roland McGrath  <roland@redhat.com>
38444         [BZ #11840]
38445         * configure.in (-fgnu89-inline check): Set and substitute
38446         gnu89_inline, not libc_cv_gnu89_inline.
38447         * configure: Regenerated.
38448         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38450 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38452         * string/test-strnlen.c: New file.
38453         * string/Makefile (strop-tests): Add strnlen.
38454         * string/tester.c (test_strnlen): Add a few more test cases.
38455         * string/tst-strlen.c: Better error reporting.
38457         * sysdeps/x86_64/strnlen.S: New file.
38459 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38461         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38462         lower-latency instructions.
38464 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38466         * string/test-strcasestr.c: New file.
38467         * string/test-strstr.c: New file.
38468         * string/Makefile (strop-tests): Add strstr and strcasestr.
38469         * string/str-two-way.h: Don't undefine MAX.
38470         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38472 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38474         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38475         strcasestr-nonascii.
38476         (CFLAGS-strcasestr-nonascii.c): Define.
38477         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38478         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38479         Remove unused attribute.
38481 2010-07-20  Roland McGrath  <roland@redhat.com>
38483         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38484         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38485         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38486         like LD_HWCAP_MASK can disable hwcaps.
38488 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38490         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38492 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38494         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38495         call in strcasestr.
38496         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38497         __strcasestr_sse42_nonascii.
38498         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38499         strcasestr-nonascii.c.
38500         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38502 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38504         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38505         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38506         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38507         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38509 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38511         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38512         fcntl.
38514 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38516         [BZ #11577]
38517         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38518         dl_signal_cerror.
38520 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38522         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38523         _PC_PIPE_BUF using F_GETPIPE_SZ.
38525 2010-07-05  Roland McGrath  <roland@redhat.com>
38527         * manual/arith.texi (Rounding Functions): Fix rint description
38528         implicit in round description.
38530 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38532         * elf/Makefile: Fix linking for a few tests to make recent linker
38533         happy.
38535 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38537         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38538         $(common-objpfx)libc_nonshared.a.
38540 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38542         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38543         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38544         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38545         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38546         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38547         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38548         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38549         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38564         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38565         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38566         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38567         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38568         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38569         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38570         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38571         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38572         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38573         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38574         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38575         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38591 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38593         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38594         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38595         * string/memmove.c (memmove): Renamed to ...
38596         (MEMMOVE): ...this.  Default to memmove.
38597         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38598         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38599         (END_CHK): Define.
38600         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38601         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38602         mempcpy-ssse3-back memmove-ssse3-back.
38603         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38604         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38605         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38606         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38607         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38608         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38609         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38610         * sysdeps/x86_64/multiarch/memmove.c: New file.
38611         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38612         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38613         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38614         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38615         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38616         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38617         Define.
38618         (index_Fast_Copy_Backward): Define.
38619         (HAS_ARCH_FEATURE): Define.
38620         (HAS_FAST_REP_STRING): Define.
38621         (HAS_FAST_COPY_BACKWARD): Define.
38623 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38625         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38626         Restore proper fallback handling.
38628 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38630         [BZ #11701]
38631         * posix/group_member.c (__group_member): Correct checking loop.
38633         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38634         OOM in getpwuid_r correctly.  Return error number when the caller
38635         should return, otherwise -1.
38636         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38637         call returning > 0 value.
38638         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38640 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38642         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38643         libc_nonshared.a from targets in modules-names.
38645 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38647         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38648         requires it.
38650 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38652         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38653         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38654         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38655         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38657 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38659         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38661 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38663         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38664         and F_GETPIPE_SZ.
38665         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38666         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38667         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38668         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38669         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38670         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38672 2010-06-14  Roland McGrath  <roland@redhat.com>
38674         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38676 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38678         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38679         __REDIRECT followed by __THROW.
38680         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38681         * posix/getopt.h (getopt): Likewise.
38683 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38685         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38686         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38687         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38688         in AT_FLAGS.
38689         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38690         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38692 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38694         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38696 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38698         [BZ #11640]
38699         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38700         Properly check family and model.
38702 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38704         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38706 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38708         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38710 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38712         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38713         symbol reference.
38715 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38717         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38718         symbol reference.
38720 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38722         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38723         and internal_recvmmsg.
38724         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38725         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38726         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38727         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38729         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38730         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38731         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38733 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38735         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38737 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38739         POWER7 optimizations.
38740         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38741         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38743 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38745         * version.h: Update for 2.13 development version.
38747 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38749         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38750         exceptions.  Return 0.
38752 2010-05-07  Roland McGrath  <roland@redhat.com>
38754         * elf/ldconfig.c (main): Add a const.
38756 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38758         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38759         (args_options): Add no-idn option.
38760         (ahosts_keys_int): Add idn_flags to ai_flags.
38761         (parse_option): Handle 'i' option to clear idn_flags.
38763         * malloc/malloc.c (_int_free): Possible race in the most recently
38764         added check.  Only act on the data if no current modification
38765         happened.
38767 See ChangeLog.17 for earlier changes.